@dmsi/wedgekit-react 0.0.495 → 0.0.497
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-34VEVX5H.js +31 -0
- package/dist/{chunk-ETAEB3TA.js → chunk-L3BXRDLP.js} +8 -2
- package/dist/components/CalendarRange.cjs +28 -25
- package/dist/components/CalendarRange.css +21 -3
- package/dist/components/CalendarRange.js +9 -8
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +5 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +21 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +9 -8
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +12 -9
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +21 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +9 -8
- package/dist/components/DataGrid/PinnedColumns.cjs +23 -20
- package/dist/components/DataGrid/PinnedColumns.css +21 -3
- package/dist/components/DataGrid/PinnedColumns.js +9 -8
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +8 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.css +21 -3
- package/dist/components/DataGrid/TableBody/LoadingCell.js +9 -8
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +10 -7
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +21 -3
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +9 -8
- package/dist/components/DataGrid/TableBody/index.cjs +23 -20
- package/dist/components/DataGrid/TableBody/index.css +21 -3
- package/dist/components/DataGrid/TableBody/index.js +9 -8
- package/dist/components/DataGrid/index.cjs +83 -80
- package/dist/components/DataGrid/index.css +21 -3
- package/dist/components/DataGrid/index.js +9 -8
- package/dist/components/DataGrid/utils.cjs +6 -3
- package/dist/components/DataGrid/utils.css +21 -3
- package/dist/components/DataGrid/utils.js +9 -8
- package/dist/components/DateInput.cjs +34 -31
- package/dist/components/DateInput.css +21 -3
- package/dist/components/DateInput.js +9 -8
- package/dist/components/DateRangeInput.cjs +34 -31
- package/dist/components/DateRangeInput.css +21 -3
- package/dist/components/DateRangeInput.js +9 -8
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +11 -8
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +21 -3
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +9 -8
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +19 -16
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +21 -3
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +9 -8
- package/dist/components/MobileDataGrid/index.cjs +64 -61
- package/dist/components/MobileDataGrid/index.css +21 -3
- package/dist/components/MobileDataGrid/index.js +9 -8
- package/dist/components/OrderCheckIcon.cjs +67 -0
- package/dist/components/OrderCheckIcon.js +7 -0
- package/dist/components/PDFViewer/index.js +3 -3
- package/dist/components/ProductImagePreview/index.js +2 -2
- package/dist/components/SkeletonParagraph.cjs +8 -2
- package/dist/components/SkeletonParagraph.js +1 -1
- package/dist/components/index.cjs +33 -2
- package/dist/components/index.css +21 -3
- package/dist/components/index.js +13 -9
- package/dist/index.css +21 -3
- package/package.json +1 -1
- package/src/components/OrderCheckIcon.tsx +19 -0
- package/src/components/SkeletonParagraph.tsx +9 -1
- package/src/components/index.ts +1 -0
- package/src/index.css +4 -3
- package/dist/{chunk-TPBEID5X.js → chunk-3WCLGTYP.js} +3 -3
- package/dist/{chunk-2A7H5GVB.js → chunk-7LKGHCVT.js} +3 -3
- package/dist/{chunk-DYBJUTGK.js → chunk-XHQOTLG6.js} +3 -3
|
@@ -5531,6 +5531,9 @@ var import_clsx39 = __toESM(require("clsx"), 1);
|
|
|
5531
5531
|
var import_react37 = require("react");
|
|
5532
5532
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
5533
5533
|
|
|
5534
|
+
// src/components/OrderCheckIcon.tsx
|
|
5535
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
5536
|
+
|
|
5534
5537
|
// src/components/DataGrid/PinnedColumns.tsx
|
|
5535
5538
|
var import_clsx40 = __toESM(require("clsx"), 1);
|
|
5536
5539
|
var import_react40 = __toESM(require("react"), 1);
|
|
@@ -5540,7 +5543,7 @@ var import_react39 = require("react");
|
|
|
5540
5543
|
|
|
5541
5544
|
// src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
|
|
5542
5545
|
var import_react38 = require("react");
|
|
5543
|
-
var
|
|
5546
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5544
5547
|
function ColumnSelectorMenuOption({
|
|
5545
5548
|
id,
|
|
5546
5549
|
testid,
|
|
@@ -5549,7 +5552,7 @@ function ColumnSelectorMenuOption({
|
|
|
5549
5552
|
}) {
|
|
5550
5553
|
const [isVisible, setIsVisible] = (0, import_react38.useState)(column.getIsVisible());
|
|
5551
5554
|
const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
|
|
5552
|
-
return /* @__PURE__ */ (0,
|
|
5555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
5553
5556
|
Checkbox,
|
|
5554
5557
|
{
|
|
5555
5558
|
id: id ? `${id}-checkbox` : void 0,
|
|
@@ -5565,7 +5568,7 @@ function ColumnSelectorMenuOption({
|
|
|
5565
5568
|
}
|
|
5566
5569
|
|
|
5567
5570
|
// src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx
|
|
5568
|
-
var
|
|
5571
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5569
5572
|
function ColumnSelectorHeaderCell({
|
|
5570
5573
|
id,
|
|
5571
5574
|
testid,
|
|
@@ -5575,7 +5578,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5575
5578
|
}) {
|
|
5576
5579
|
const ref = (0, import_react39.useRef)(null);
|
|
5577
5580
|
const [show, setShow] = (0, import_react39.useState)(false);
|
|
5578
|
-
return /* @__PURE__ */ (0,
|
|
5581
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
5579
5582
|
DataGridCell,
|
|
5580
5583
|
{
|
|
5581
5584
|
id,
|
|
@@ -5585,7 +5588,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5585
5588
|
color: "text-secondary-normal",
|
|
5586
5589
|
ref,
|
|
5587
5590
|
children: [
|
|
5588
|
-
/* @__PURE__ */ (0,
|
|
5591
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
5589
5592
|
Button,
|
|
5590
5593
|
{
|
|
5591
5594
|
id: id ? `${id}-button` : void 0,
|
|
@@ -5593,10 +5596,10 @@ function ColumnSelectorHeaderCell({
|
|
|
5593
5596
|
onClick: () => setShow((prev) => !prev),
|
|
5594
5597
|
variant: "navigation",
|
|
5595
5598
|
iconOnly: true,
|
|
5596
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
5599
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { name: "tune" })
|
|
5597
5600
|
}
|
|
5598
5601
|
),
|
|
5599
|
-
/* @__PURE__ */ (0,
|
|
5602
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
5600
5603
|
Menu,
|
|
5601
5604
|
{
|
|
5602
5605
|
id: id ? `${id}-menu` : void 0,
|
|
@@ -5607,7 +5610,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5607
5610
|
setShow,
|
|
5608
5611
|
calculateMinMaxHeight: true,
|
|
5609
5612
|
children: [
|
|
5610
|
-
/* @__PURE__ */ (0,
|
|
5613
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
5611
5614
|
Button,
|
|
5612
5615
|
{
|
|
5613
5616
|
id: id ? `${id}-reset-button` : void 0,
|
|
@@ -5623,7 +5626,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5623
5626
|
table.getAllColumns().filter((x) => {
|
|
5624
5627
|
var _a;
|
|
5625
5628
|
return (_a = x.columnDef.meta) == null ? void 0 : _a.inVisibilityMenu;
|
|
5626
|
-
}).map((column) => /* @__PURE__ */ (0,
|
|
5629
|
+
}).map((column) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
5627
5630
|
ColumnSelectorMenuOption,
|
|
5628
5631
|
{
|
|
5629
5632
|
id: id ? `${id}-option-${column.id}` : void 0,
|
|
@@ -5642,7 +5645,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5642
5645
|
}
|
|
5643
5646
|
|
|
5644
5647
|
// src/components/DataGrid/PinnedColumns.tsx
|
|
5645
|
-
var
|
|
5648
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5646
5649
|
function PinnedColumns(_a) {
|
|
5647
5650
|
var _b = _a, {
|
|
5648
5651
|
id,
|
|
@@ -5674,7 +5677,7 @@ function PinnedColumns(_a) {
|
|
|
5674
5677
|
const pinnedTestId = testid ? `${pinDirection}-pinned-${testid}` : void 0;
|
|
5675
5678
|
const hasAnyHeaders = ((_a2 = headerGroups[0]) == null ? void 0 : _a2.headers.length) > 0;
|
|
5676
5679
|
if (!hasAnyHeaders && !enableColumnSelector) return;
|
|
5677
|
-
return /* @__PURE__ */ (0,
|
|
5680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5678
5681
|
"table",
|
|
5679
5682
|
{
|
|
5680
5683
|
className: (0, import_clsx40.default)(
|
|
@@ -5683,8 +5686,8 @@ function PinnedColumns(_a) {
|
|
|
5683
5686
|
),
|
|
5684
5687
|
"data-testid": pinnedTestId,
|
|
5685
5688
|
children: [
|
|
5686
|
-
/* @__PURE__ */ (0,
|
|
5687
|
-
return /* @__PURE__ */ (0,
|
|
5689
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("thead", { className: "sticky top-0 z-20 grid", children: headerGroups.map((headerGroup) => {
|
|
5690
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5688
5691
|
"tr",
|
|
5689
5692
|
{
|
|
5690
5693
|
"data-testid": pinnedTestId ? `${pinnedTestId}-header-row-${headerGroup.id}` : void 0,
|
|
@@ -5697,7 +5700,7 @@ function PinnedColumns(_a) {
|
|
|
5697
5700
|
}
|
|
5698
5701
|
if (typeof header.column.columnDef.header === "string") {
|
|
5699
5702
|
const customHeaderWidth = (_a3 = header.column.columnDef.meta) == null ? void 0 : _a3.headerWidth;
|
|
5700
|
-
return /* @__PURE__ */ (0,
|
|
5703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5701
5704
|
DataCellHeader,
|
|
5702
5705
|
{
|
|
5703
5706
|
locked: true,
|
|
@@ -5710,11 +5713,11 @@ function PinnedColumns(_a) {
|
|
|
5710
5713
|
"group"
|
|
5711
5714
|
),
|
|
5712
5715
|
children: [
|
|
5713
|
-
/* @__PURE__ */ (0,
|
|
5716
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Subheader, { tall: true, children: header.column.columnDef.header }),
|
|
5714
5717
|
getSortIcon(header.column.getIsSorted()),
|
|
5715
5718
|
!header.column.getIsSorted() && header.column.getCanSort() && getSortIcon(header.column.getNextSortingOrder(), true),
|
|
5716
|
-
header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0,
|
|
5717
|
-
!((_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.locked) && /* @__PURE__ */ (0,
|
|
5719
|
+
header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Subheader, { tall: true, children: header.column.getSortIndex() + 1 }),
|
|
5720
|
+
!((_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.locked) && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5718
5721
|
"div",
|
|
5719
5722
|
{
|
|
5720
5723
|
onDoubleClick: (e) => {
|
|
@@ -5737,7 +5740,7 @@ function PinnedColumns(_a) {
|
|
|
5737
5740
|
header.id
|
|
5738
5741
|
);
|
|
5739
5742
|
}
|
|
5740
|
-
return /* @__PURE__ */ (0,
|
|
5743
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react40.default.Fragment, { children: ((_c = header.column.columnDef.meta) == null ? void 0 : _c.checkbox) ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DataGridCell, { type: "header", component: "checkbox", locked: true, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5741
5744
|
Checkbox,
|
|
5742
5745
|
{
|
|
5743
5746
|
checked: allSelectedAcrossPages,
|
|
@@ -5749,7 +5752,7 @@ function PinnedColumns(_a) {
|
|
|
5749
5752
|
header.getContext()
|
|
5750
5753
|
) }, header.id);
|
|
5751
5754
|
}),
|
|
5752
|
-
enableColumnSelector && /* @__PURE__ */ (0,
|
|
5755
|
+
enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5753
5756
|
ColumnSelectorHeaderCell,
|
|
5754
5757
|
{
|
|
5755
5758
|
id: id ? `${id}-column-selector` : void 0,
|
|
@@ -5766,7 +5769,7 @@ function PinnedColumns(_a) {
|
|
|
5766
5769
|
headerGroup.id
|
|
5767
5770
|
);
|
|
5768
5771
|
}) }),
|
|
5769
|
-
/* @__PURE__ */ (0,
|
|
5772
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5770
5773
|
TableBody,
|
|
5771
5774
|
__spreadProps(__spreadValues({
|
|
5772
5775
|
testid: pinnedTestId
|
|
@@ -838,6 +838,12 @@
|
|
|
838
838
|
.\!w-20 {
|
|
839
839
|
width: calc(var(--spacing) * 20) !important;
|
|
840
840
|
}
|
|
841
|
+
.w-1\/2 {
|
|
842
|
+
width: calc(1/2 * 100%);
|
|
843
|
+
}
|
|
844
|
+
.w-1\/4 {
|
|
845
|
+
width: calc(1/4 * 100%);
|
|
846
|
+
}
|
|
841
847
|
.w-2\/3 {
|
|
842
848
|
width: calc(2/3 * 100%);
|
|
843
849
|
}
|
|
@@ -922,6 +928,9 @@
|
|
|
922
928
|
.min-w-0 {
|
|
923
929
|
min-width: calc(var(--spacing) * 0);
|
|
924
930
|
}
|
|
931
|
+
.min-w-10 {
|
|
932
|
+
min-width: calc(var(--spacing) * 10);
|
|
933
|
+
}
|
|
925
934
|
.min-w-20 {
|
|
926
935
|
min-width: calc(var(--spacing) * 20);
|
|
927
936
|
}
|
|
@@ -4678,6 +4687,7 @@
|
|
|
4678
4687
|
position: relative;
|
|
4679
4688
|
overflow: hidden;
|
|
4680
4689
|
background-color: #f7f7f7;
|
|
4690
|
+
opacity: 0.85;
|
|
4681
4691
|
}
|
|
4682
4692
|
.skeleton-paragraph::after {
|
|
4683
4693
|
content: "";
|
|
@@ -4687,9 +4697,17 @@
|
|
|
4687
4697
|
background-image:
|
|
4688
4698
|
linear-gradient(
|
|
4689
4699
|
90deg,
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4700
|
+
transparent 0%,
|
|
4701
|
+
color-mix(in srgb, #ffffff 60%, transparent) 50%,
|
|
4702
|
+
transparent 100%);
|
|
4703
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4704
|
+
background-image:
|
|
4705
|
+
linear-gradient(
|
|
4706
|
+
90deg,
|
|
4707
|
+
transparent 0%,
|
|
4708
|
+
color-mix(in srgb, var(--color-neutral-000) 60%, transparent) 50%,
|
|
4709
|
+
transparent 100%);
|
|
4710
|
+
}
|
|
4693
4711
|
animation: skeleton-shimmer 1.4s ease-in-out infinite;
|
|
4694
4712
|
}
|
|
4695
4713
|
@keyframes skeleton-shimmer {
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PinnedColumns
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-7LKGHCVT.js";
|
|
4
4
|
import "../../chunk-M7INAUAJ.js";
|
|
5
5
|
import "../../chunk-4Q7T4GJ2.js";
|
|
6
6
|
import "../../chunk-3DEYCNUE.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-XHQOTLG6.js";
|
|
8
|
+
import "../../chunk-BQNPOGD5.js";
|
|
8
9
|
import "../../chunk-Y5GD2FJA.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-3WCLGTYP.js";
|
|
11
|
+
import "../../chunk-YEZBNQZI.js";
|
|
10
12
|
import "../../chunk-B53XDCLO.js";
|
|
13
|
+
import "../../chunk-S5ZJ3Q7P.js";
|
|
11
14
|
import "../../chunk-MBZ55T2D.js";
|
|
12
15
|
import "../../chunk-2IKT6IHB.js";
|
|
13
16
|
import "../../chunk-YCDDBSVU.js";
|
|
14
17
|
import "../../chunk-3X3Y4TMS.js";
|
|
15
|
-
import "../../chunk-BQNPOGD5.js";
|
|
16
18
|
import "../../chunk-QMSPTD6L.js";
|
|
17
19
|
import "../../chunk-XIXQUEYC.js";
|
|
18
20
|
import "../../chunk-5IFPG6TS.js";
|
|
19
21
|
import "../../chunk-AJ5M6MVX.js";
|
|
20
22
|
import "../../chunk-KW6V7O3H.js";
|
|
21
23
|
import "../../chunk-JUFBGNWW.js";
|
|
22
|
-
import "../../chunk-
|
|
23
|
-
import "../../chunk-S5ZJ3Q7P.js";
|
|
24
|
+
import "../../chunk-7GHD74J3.js";
|
|
24
25
|
import "../../chunk-AT4AWD6B.js";
|
|
25
26
|
import "../../chunk-EWGHVZL5.js";
|
|
26
|
-
import "../../chunk-7GHD74J3.js";
|
|
27
27
|
import "../../chunk-7BVUTFZ5.js";
|
|
28
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-L3BXRDLP.js";
|
|
29
|
+
import "../../chunk-34VEVX5H.js";
|
|
29
30
|
import "../../chunk-GRGDX7JC.js";
|
|
30
31
|
import "../../chunk-HVNHTM3P.js";
|
|
31
32
|
import "../../chunk-X67L3NZI.js";
|
|
@@ -5748,8 +5748,11 @@ var import_clsx40 = __toESM(require("clsx"), 1);
|
|
|
5748
5748
|
var import_react40 = require("react");
|
|
5749
5749
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5750
5750
|
|
|
5751
|
-
// src/components/
|
|
5751
|
+
// src/components/OrderCheckIcon.tsx
|
|
5752
5752
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5753
|
+
|
|
5754
|
+
// src/components/DataGrid/TableBody/LoadingCell.tsx
|
|
5755
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5753
5756
|
function LoadingCell({
|
|
5754
5757
|
id,
|
|
5755
5758
|
testid,
|
|
@@ -5757,16 +5760,16 @@ function LoadingCell({
|
|
|
5757
5760
|
}) {
|
|
5758
5761
|
const key = `loading-${column.id}`;
|
|
5759
5762
|
if (column.cell === "checkbox") {
|
|
5760
|
-
return /* @__PURE__ */ (0,
|
|
5763
|
+
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);
|
|
5761
5764
|
}
|
|
5762
5765
|
if (column.cell === "input") {
|
|
5763
|
-
return /* @__PURE__ */ (0,
|
|
5766
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5764
5767
|
DataGridCell,
|
|
5765
5768
|
{
|
|
5766
5769
|
id: id ? `${id}-${key}` : void 0,
|
|
5767
5770
|
testid: testid ? `${testid}-${key}` : void 0,
|
|
5768
5771
|
component: "input",
|
|
5769
|
-
children: /* @__PURE__ */ (0,
|
|
5772
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5770
5773
|
Input,
|
|
5771
5774
|
{
|
|
5772
5775
|
id: id ? `${id}-${key}-input` : void 0,
|
|
@@ -5780,7 +5783,7 @@ function LoadingCell({
|
|
|
5780
5783
|
key
|
|
5781
5784
|
);
|
|
5782
5785
|
}
|
|
5783
|
-
return /* @__PURE__ */ (0,
|
|
5786
|
+
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);
|
|
5784
5787
|
}
|
|
5785
5788
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5786
5789
|
0 && (module.exports = {
|
|
@@ -838,6 +838,12 @@
|
|
|
838
838
|
.\!w-20 {
|
|
839
839
|
width: calc(var(--spacing) * 20) !important;
|
|
840
840
|
}
|
|
841
|
+
.w-1\/2 {
|
|
842
|
+
width: calc(1/2 * 100%);
|
|
843
|
+
}
|
|
844
|
+
.w-1\/4 {
|
|
845
|
+
width: calc(1/4 * 100%);
|
|
846
|
+
}
|
|
841
847
|
.w-2\/3 {
|
|
842
848
|
width: calc(2/3 * 100%);
|
|
843
849
|
}
|
|
@@ -922,6 +928,9 @@
|
|
|
922
928
|
.min-w-0 {
|
|
923
929
|
min-width: calc(var(--spacing) * 0);
|
|
924
930
|
}
|
|
931
|
+
.min-w-10 {
|
|
932
|
+
min-width: calc(var(--spacing) * 10);
|
|
933
|
+
}
|
|
925
934
|
.min-w-20 {
|
|
926
935
|
min-width: calc(var(--spacing) * 20);
|
|
927
936
|
}
|
|
@@ -4678,6 +4687,7 @@
|
|
|
4678
4687
|
position: relative;
|
|
4679
4688
|
overflow: hidden;
|
|
4680
4689
|
background-color: #f7f7f7;
|
|
4690
|
+
opacity: 0.85;
|
|
4681
4691
|
}
|
|
4682
4692
|
.skeleton-paragraph::after {
|
|
4683
4693
|
content: "";
|
|
@@ -4687,9 +4697,17 @@
|
|
|
4687
4697
|
background-image:
|
|
4688
4698
|
linear-gradient(
|
|
4689
4699
|
90deg,
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4700
|
+
transparent 0%,
|
|
4701
|
+
color-mix(in srgb, #ffffff 60%, transparent) 50%,
|
|
4702
|
+
transparent 100%);
|
|
4703
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4704
|
+
background-image:
|
|
4705
|
+
linear-gradient(
|
|
4706
|
+
90deg,
|
|
4707
|
+
transparent 0%,
|
|
4708
|
+
color-mix(in srgb, var(--color-neutral-000) 60%, transparent) 50%,
|
|
4709
|
+
transparent 100%);
|
|
4710
|
+
}
|
|
4693
4711
|
animation: skeleton-shimmer 1.4s ease-in-out infinite;
|
|
4694
4712
|
}
|
|
4695
4713
|
@keyframes skeleton-shimmer {
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadingCell
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-7LKGHCVT.js";
|
|
4
4
|
import "../../../chunk-M7INAUAJ.js";
|
|
5
5
|
import "../../../chunk-4Q7T4GJ2.js";
|
|
6
6
|
import "../../../chunk-3DEYCNUE.js";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-XHQOTLG6.js";
|
|
8
|
+
import "../../../chunk-BQNPOGD5.js";
|
|
8
9
|
import "../../../chunk-Y5GD2FJA.js";
|
|
9
|
-
import "../../../chunk-
|
|
10
|
+
import "../../../chunk-3WCLGTYP.js";
|
|
11
|
+
import "../../../chunk-YEZBNQZI.js";
|
|
10
12
|
import "../../../chunk-B53XDCLO.js";
|
|
13
|
+
import "../../../chunk-S5ZJ3Q7P.js";
|
|
11
14
|
import "../../../chunk-MBZ55T2D.js";
|
|
12
15
|
import "../../../chunk-2IKT6IHB.js";
|
|
13
16
|
import "../../../chunk-YCDDBSVU.js";
|
|
14
17
|
import "../../../chunk-3X3Y4TMS.js";
|
|
15
|
-
import "../../../chunk-BQNPOGD5.js";
|
|
16
18
|
import "../../../chunk-QMSPTD6L.js";
|
|
17
19
|
import "../../../chunk-XIXQUEYC.js";
|
|
18
20
|
import "../../../chunk-5IFPG6TS.js";
|
|
19
21
|
import "../../../chunk-AJ5M6MVX.js";
|
|
20
22
|
import "../../../chunk-KW6V7O3H.js";
|
|
21
23
|
import "../../../chunk-JUFBGNWW.js";
|
|
22
|
-
import "../../../chunk-
|
|
23
|
-
import "../../../chunk-S5ZJ3Q7P.js";
|
|
24
|
+
import "../../../chunk-7GHD74J3.js";
|
|
24
25
|
import "../../../chunk-AT4AWD6B.js";
|
|
25
26
|
import "../../../chunk-EWGHVZL5.js";
|
|
26
|
-
import "../../../chunk-7GHD74J3.js";
|
|
27
27
|
import "../../../chunk-7BVUTFZ5.js";
|
|
28
|
-
import "../../../chunk-
|
|
28
|
+
import "../../../chunk-L3BXRDLP.js";
|
|
29
|
+
import "../../../chunk-34VEVX5H.js";
|
|
29
30
|
import "../../../chunk-GRGDX7JC.js";
|
|
30
31
|
import "../../../chunk-HVNHTM3P.js";
|
|
31
32
|
import "../../../chunk-X67L3NZI.js";
|
|
@@ -5682,8 +5682,11 @@ var import_clsx39 = __toESM(require("clsx"), 1);
|
|
|
5682
5682
|
var import_react39 = require("react");
|
|
5683
5683
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5684
5684
|
|
|
5685
|
-
// src/components/
|
|
5685
|
+
// src/components/OrderCheckIcon.tsx
|
|
5686
5686
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5687
|
+
|
|
5688
|
+
// src/components/DataGrid/TableBody/TableBodyRow.tsx
|
|
5689
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5687
5690
|
var valueFormatters = {
|
|
5688
5691
|
date: (value) => typeof value === "string" ? formatDate(value) : "",
|
|
5689
5692
|
currency: (value) => formatCurrencyDisplay(value)
|
|
@@ -5716,7 +5719,7 @@ function TableBodyRow({
|
|
|
5716
5719
|
const columns = locked ? visibleCells : virtualColumns;
|
|
5717
5720
|
const isError = typeof row.original === "object" && row.original !== null && "rowState" in row.original && row.original.rowState === "error";
|
|
5718
5721
|
const CellElement = locked ? DataGridCell : DragAlongCell;
|
|
5719
|
-
return /* @__PURE__ */ (0,
|
|
5722
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5720
5723
|
"tr",
|
|
5721
5724
|
{
|
|
5722
5725
|
className: (0, import_clsx40.default)(
|
|
@@ -5737,7 +5740,7 @@ function TableBodyRow({
|
|
|
5737
5740
|
children: [
|
|
5738
5741
|
!locked && virtualPaddingLeft ? (
|
|
5739
5742
|
// fake empty column to the left for virtualization scroll padding
|
|
5740
|
-
/* @__PURE__ */ (0,
|
|
5743
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("td", { style: { display: "flex", width: virtualPaddingLeft } })
|
|
5741
5744
|
) : null,
|
|
5742
5745
|
columns.map((column) => {
|
|
5743
5746
|
var _a2, _b, _c, _d;
|
|
@@ -5748,7 +5751,7 @@ function TableBodyRow({
|
|
|
5748
5751
|
const cellFormat = (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.format;
|
|
5749
5752
|
const cellValue = cellFormat && isValueFormatterKey(cellFormat) ? valueFormatters[cellFormat](cell.getValue()) : cell.getValue();
|
|
5750
5753
|
const cellAlignment = (_c = (_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) != null ? _c : typeof cellValue === "number" ? "right" : "left";
|
|
5751
|
-
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0,
|
|
5754
|
+
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)(
|
|
5752
5755
|
CellElement,
|
|
5753
5756
|
{
|
|
5754
5757
|
id: id ? `${id}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
@@ -5758,7 +5761,7 @@ function TableBodyRow({
|
|
|
5758
5761
|
"justify-start": cellAlignment === "left",
|
|
5759
5762
|
"justify-end": cellAlignment === "right"
|
|
5760
5763
|
}),
|
|
5761
|
-
children: /* @__PURE__ */ (0,
|
|
5764
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5762
5765
|
Tooltip,
|
|
5763
5766
|
{
|
|
5764
5767
|
id: id ? `${id}-tooltip-${cell.id}` : void 0,
|
|
@@ -5766,7 +5769,7 @@ function TableBodyRow({
|
|
|
5766
5769
|
showOnTruncation: true,
|
|
5767
5770
|
message: cellValue,
|
|
5768
5771
|
position: "bottom",
|
|
5769
|
-
children: /* @__PURE__ */ (0,
|
|
5772
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Paragraph, { addOverflow: true, tall: true, children: cellValue })
|
|
5770
5773
|
}
|
|
5771
5774
|
)
|
|
5772
5775
|
},
|
|
@@ -5775,7 +5778,7 @@ function TableBodyRow({
|
|
|
5775
5778
|
}),
|
|
5776
5779
|
!locked && virtualPaddingRight ? (
|
|
5777
5780
|
// fake empty column to the right for virtualization scroll padding
|
|
5778
|
-
/* @__PURE__ */ (0,
|
|
5781
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("td", { style: { display: "flex", width: virtualPaddingRight } })
|
|
5779
5782
|
) : null
|
|
5780
5783
|
]
|
|
5781
5784
|
},
|
|
@@ -838,6 +838,12 @@
|
|
|
838
838
|
.\!w-20 {
|
|
839
839
|
width: calc(var(--spacing) * 20) !important;
|
|
840
840
|
}
|
|
841
|
+
.w-1\/2 {
|
|
842
|
+
width: calc(1/2 * 100%);
|
|
843
|
+
}
|
|
844
|
+
.w-1\/4 {
|
|
845
|
+
width: calc(1/4 * 100%);
|
|
846
|
+
}
|
|
841
847
|
.w-2\/3 {
|
|
842
848
|
width: calc(2/3 * 100%);
|
|
843
849
|
}
|
|
@@ -922,6 +928,9 @@
|
|
|
922
928
|
.min-w-0 {
|
|
923
929
|
min-width: calc(var(--spacing) * 0);
|
|
924
930
|
}
|
|
931
|
+
.min-w-10 {
|
|
932
|
+
min-width: calc(var(--spacing) * 10);
|
|
933
|
+
}
|
|
925
934
|
.min-w-20 {
|
|
926
935
|
min-width: calc(var(--spacing) * 20);
|
|
927
936
|
}
|
|
@@ -4678,6 +4687,7 @@
|
|
|
4678
4687
|
position: relative;
|
|
4679
4688
|
overflow: hidden;
|
|
4680
4689
|
background-color: #f7f7f7;
|
|
4690
|
+
opacity: 0.85;
|
|
4681
4691
|
}
|
|
4682
4692
|
.skeleton-paragraph::after {
|
|
4683
4693
|
content: "";
|
|
@@ -4687,9 +4697,17 @@
|
|
|
4687
4697
|
background-image:
|
|
4688
4698
|
linear-gradient(
|
|
4689
4699
|
90deg,
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4700
|
+
transparent 0%,
|
|
4701
|
+
color-mix(in srgb, #ffffff 60%, transparent) 50%,
|
|
4702
|
+
transparent 100%);
|
|
4703
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4704
|
+
background-image:
|
|
4705
|
+
linear-gradient(
|
|
4706
|
+
90deg,
|
|
4707
|
+
transparent 0%,
|
|
4708
|
+
color-mix(in srgb, var(--color-neutral-000) 60%, transparent) 50%,
|
|
4709
|
+
transparent 100%);
|
|
4710
|
+
}
|
|
4693
4711
|
animation: skeleton-shimmer 1.4s ease-in-out infinite;
|
|
4694
4712
|
}
|
|
4695
4713
|
@keyframes skeleton-shimmer {
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TableBodyRow
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-7LKGHCVT.js";
|
|
4
4
|
import "../../../chunk-M7INAUAJ.js";
|
|
5
5
|
import "../../../chunk-4Q7T4GJ2.js";
|
|
6
6
|
import "../../../chunk-3DEYCNUE.js";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-XHQOTLG6.js";
|
|
8
|
+
import "../../../chunk-BQNPOGD5.js";
|
|
8
9
|
import "../../../chunk-Y5GD2FJA.js";
|
|
9
|
-
import "../../../chunk-
|
|
10
|
+
import "../../../chunk-3WCLGTYP.js";
|
|
11
|
+
import "../../../chunk-YEZBNQZI.js";
|
|
10
12
|
import "../../../chunk-B53XDCLO.js";
|
|
13
|
+
import "../../../chunk-S5ZJ3Q7P.js";
|
|
11
14
|
import "../../../chunk-MBZ55T2D.js";
|
|
12
15
|
import "../../../chunk-2IKT6IHB.js";
|
|
13
16
|
import "../../../chunk-YCDDBSVU.js";
|
|
14
17
|
import "../../../chunk-3X3Y4TMS.js";
|
|
15
|
-
import "../../../chunk-BQNPOGD5.js";
|
|
16
18
|
import "../../../chunk-QMSPTD6L.js";
|
|
17
19
|
import "../../../chunk-XIXQUEYC.js";
|
|
18
20
|
import "../../../chunk-5IFPG6TS.js";
|
|
19
21
|
import "../../../chunk-AJ5M6MVX.js";
|
|
20
22
|
import "../../../chunk-KW6V7O3H.js";
|
|
21
23
|
import "../../../chunk-JUFBGNWW.js";
|
|
22
|
-
import "../../../chunk-
|
|
23
|
-
import "../../../chunk-S5ZJ3Q7P.js";
|
|
24
|
+
import "../../../chunk-7GHD74J3.js";
|
|
24
25
|
import "../../../chunk-AT4AWD6B.js";
|
|
25
26
|
import "../../../chunk-EWGHVZL5.js";
|
|
26
|
-
import "../../../chunk-7GHD74J3.js";
|
|
27
27
|
import "../../../chunk-7BVUTFZ5.js";
|
|
28
|
-
import "../../../chunk-
|
|
28
|
+
import "../../../chunk-L3BXRDLP.js";
|
|
29
|
+
import "../../../chunk-34VEVX5H.js";
|
|
29
30
|
import "../../../chunk-GRGDX7JC.js";
|
|
30
31
|
import "../../../chunk-HVNHTM3P.js";
|
|
31
32
|
import "../../../chunk-X67L3NZI.js";
|