@dmsi/wedgekit-react 0.0.864 → 0.0.865
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-3N34VVYD.js +154 -0
- package/dist/{chunk-57HL5K5I.js → chunk-4DPSNQCM.js} +1 -1
- package/dist/{chunk-BH4UKMXV.js → chunk-5NRKL5CJ.js} +3 -3
- package/dist/{chunk-A57PKP6Z.js → chunk-E7XBOMT4.js} +6 -6
- package/dist/{chunk-CJPGHBV5.js → chunk-EGECC3PQ.js} +1 -1
- package/dist/{chunk-ZL6NXIGS.js → chunk-HT57FLRW.js} +1 -1
- package/dist/{chunk-BXEE6VGQ.js → chunk-KLH67DTH.js} +6 -23
- package/dist/{chunk-C5DKGJ4E.js → chunk-KOKA2IJC.js} +4 -4
- package/dist/{chunk-IPQIZG7U.js → chunk-N36EJLRW.js} +1 -1
- package/dist/{chunk-RFF2EFBX.js → chunk-OM7QLLI2.js} +2 -2
- package/dist/{chunk-FXJ7C6RF.js → chunk-PE3EZP56.js} +1 -1
- package/dist/chunk-WVGXD7HT.js +19 -0
- package/dist/{chunk-7OLDYFKY.js → chunk-X3NDEFVA.js} +1 -1
- package/dist/chunk-YV5FS7NV.js +89 -0
- package/dist/chunk-Z2HPSFEQ.js +14 -0
- package/dist/{chunk-RTZO2OU7.js → chunk-Z7XANQ47.js} +1 -1
- package/dist/components/CalendarRange.cjs +65 -46
- package/dist/components/CalendarRange.css +13 -0
- package/dist/components/CalendarRange.js +17 -14
- package/dist/components/CompactImagesPreview.js +3 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +23 -4
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +13 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +17 -14
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +32 -13
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +13 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +17 -14
- package/dist/components/DataGrid/PinnedColumns.cjs +48 -29
- package/dist/components/DataGrid/PinnedColumns.css +13 -0
- package/dist/components/DataGrid/PinnedColumns.js +17 -14
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +24 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.css +13 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.js +17 -14
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +30 -11
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +13 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +17 -14
- package/dist/components/DataGrid/TableBody/index.cjs +45 -26
- package/dist/components/DataGrid/TableBody/index.css +13 -0
- package/dist/components/DataGrid/TableBody/index.js +17 -14
- package/dist/components/DataGrid/index.cjs +135 -116
- package/dist/components/DataGrid/index.css +13 -0
- package/dist/components/DataGrid/index.js +17 -14
- package/dist/components/DataGrid/utils.cjs +24 -5
- package/dist/components/DataGrid/utils.css +13 -0
- package/dist/components/DataGrid/utils.js +17 -14
- package/dist/components/DataGridCell.js +6 -5
- package/dist/components/DateInput.cjs +85 -66
- package/dist/components/DateInput.css +13 -0
- package/dist/components/DateInput.js +17 -14
- package/dist/components/DateRangeInput.cjs +84 -65
- package/dist/components/DateRangeInput.css +13 -0
- package/dist/components/DateRangeInput.js +17 -14
- package/dist/components/EmblaCarousel/ArrowButtons.cjs +147 -0
- package/dist/components/EmblaCarousel/ArrowButtons.js +9 -0
- package/dist/components/EmblaCarousel/SelectedSnapDisplay.cjs +38 -0
- package/dist/components/EmblaCarousel/SelectedSnapDisplay.js +7 -0
- package/dist/components/EmblaCarousel/index.cjs +266 -2
- package/dist/components/EmblaCarousel/index.js +4 -1
- package/dist/components/Menu.js +4 -3
- package/dist/components/MenuOption.js +3 -2
- package/dist/components/MobileDataGrid/ColumnList.css +13 -0
- package/dist/components/MobileDataGrid/ColumnList.js +1 -1
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +31 -12
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +13 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +17 -14
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +1 -1
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +39 -20
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +13 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +17 -14
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +1 -1
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +5 -4
- package/dist/components/MobileDataGrid/index.cjs +151 -132
- package/dist/components/MobileDataGrid/index.css +13 -0
- package/dist/components/MobileDataGrid/index.js +17 -14
- package/dist/components/Modal.js +3 -2
- package/dist/components/NestedMenu.js +3 -2
- package/dist/components/PDFViewer/DownloadIcon.js +4 -3
- package/dist/components/PDFViewer/index.js +5 -4
- package/dist/components/Password.js +3 -2
- package/dist/components/ProductImagePreview/index.js +4 -3
- package/dist/components/ProjectBar.js +2 -1
- package/dist/components/Stepper.js +3 -2
- package/dist/components/Tooltip.js +3 -2
- package/dist/components/index.cjs +222 -2
- package/dist/components/index.css +13 -0
- package/dist/components/index.js +17 -14
- package/dist/components/useMenuSystem.js +3 -2
- package/dist/hooks/index.js +5 -3
- package/dist/index.css +13 -0
- package/package.json +3 -3
- package/dist/chunk-SZ47M32R.js +0 -13
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadingCell
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-E7XBOMT4.js";
|
|
4
|
+
import "../../../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../../../chunk-M7INAUAJ.js";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-KOKA2IJC.js";
|
|
8
|
+
import "../../../chunk-MBZ55T2D.js";
|
|
8
9
|
import "../../../chunk-2IKT6IHB.js";
|
|
9
10
|
import "../../../chunk-YCDDBSVU.js";
|
|
10
11
|
import "../../../chunk-3X3Y4TMS.js";
|
|
11
12
|
import "../../../chunk-BQNPOGD5.js";
|
|
12
13
|
import "../../../chunk-Y5GD2FJA.js";
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-SZ47M32R.js";
|
|
14
|
+
import "../../../chunk-3N34VVYD.js";
|
|
15
15
|
import "../../../chunk-B4AE3DCA.js";
|
|
16
16
|
import "../../../chunk-FP3Y5JJN.js";
|
|
17
17
|
import "../../../chunk-5IFPG6TS.js";
|
|
18
|
-
import "../../../chunk-AJ5M6MVX.js";
|
|
19
18
|
import "../../../chunk-6EYMKEJ6.js";
|
|
19
|
+
import "../../../chunk-AJ5M6MVX.js";
|
|
20
|
+
import "../../../chunk-YV5FS7NV.js";
|
|
21
|
+
import "../../../chunk-Z2HPSFEQ.js";
|
|
20
22
|
import "../../../chunk-AT4AWD6B.js";
|
|
21
23
|
import "../../../chunk-EWGHVZL5.js";
|
|
22
24
|
import "../../../chunk-FZ2TEKOE.js";
|
|
@@ -24,8 +26,8 @@ import "../../../chunk-FESS4LWU.js";
|
|
|
24
26
|
import "../../../chunk-KBIEWFQS.js";
|
|
25
27
|
import "../../../chunk-NSZTJ5R4.js";
|
|
26
28
|
import "../../../chunk-LB7UT6F3.js";
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
+
import "../../../chunk-HT57FLRW.js";
|
|
30
|
+
import "../../../chunk-N36EJLRW.js";
|
|
29
31
|
import "../../../chunk-4RJKB7LC.js";
|
|
30
32
|
import "../../../chunk-UUKHQUSF.js";
|
|
31
33
|
import "../../../chunk-WVVEOCEH.js";
|
|
@@ -36,17 +38,18 @@ import "../../../chunk-UAMI54FE.js";
|
|
|
36
38
|
import "../../../chunk-SJZNVG4N.js";
|
|
37
39
|
import "../../../chunk-75USUR3I.js";
|
|
38
40
|
import "../../../chunk-BWPNXY7T.js";
|
|
39
|
-
import "../../../chunk-
|
|
40
|
-
import "../../../chunk-
|
|
41
|
-
import "../../../chunk-
|
|
42
|
-
import "../../../chunk-
|
|
41
|
+
import "../../../chunk-5NRKL5CJ.js";
|
|
42
|
+
import "../../../chunk-OM7QLLI2.js";
|
|
43
|
+
import "../../../chunk-PE3EZP56.js";
|
|
44
|
+
import "../../../chunk-X3NDEFVA.js";
|
|
43
45
|
import "../../../chunk-FHXCCVOG.js";
|
|
44
46
|
import "../../../chunk-7T5RGDCN.js";
|
|
45
47
|
import "../../../chunk-HXGJVYGQ.js";
|
|
46
48
|
import "../../../chunk-WVUIIBRR.js";
|
|
47
49
|
import "../../../chunk-M7WHWZ2J.js";
|
|
48
|
-
import "../../../chunk-
|
|
49
|
-
import "../../../chunk-
|
|
50
|
+
import "../../../chunk-EGECC3PQ.js";
|
|
51
|
+
import "../../../chunk-KLH67DTH.js";
|
|
52
|
+
import "../../../chunk-WVGXD7HT.js";
|
|
50
53
|
import "../../../chunk-VXWSAIB5.js";
|
|
51
54
|
import "../../../chunk-MMZTPVYB.js";
|
|
52
55
|
import "../../../chunk-5UH6QUFB.js";
|
|
@@ -62,9 +62,9 @@ __export(TableBodyRow_exports, {
|
|
|
62
62
|
TableBodyRow: () => TableBodyRow
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(TableBodyRow_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_clsx43 = __toESM(require("clsx"), 1);
|
|
66
66
|
var import_react_table3 = require("@tanstack/react-table");
|
|
67
|
-
var
|
|
67
|
+
var import_react43 = __toESM(require("react"), 1);
|
|
68
68
|
|
|
69
69
|
// src/components/DataGridCell.tsx
|
|
70
70
|
var import_sortable = require("@dnd-kit/sortable");
|
|
@@ -6008,11 +6008,30 @@ var import_react39 = require("react");
|
|
|
6008
6008
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6009
6009
|
|
|
6010
6010
|
// src/components/EmblaCarousel/index.tsx
|
|
6011
|
+
var import_react42 = require("react");
|
|
6011
6012
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
6013
|
+
|
|
6014
|
+
// src/components/EmblaCarousel/SelectedSnapDisplay.tsx
|
|
6012
6015
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6013
6016
|
|
|
6014
|
-
// src/components/
|
|
6017
|
+
// src/components/EmblaCarousel/useSelectedSnapDisplay.ts
|
|
6018
|
+
var import_react40 = require("react");
|
|
6019
|
+
|
|
6020
|
+
// src/components/EmblaCarousel/ArrowButtons.tsx
|
|
6021
|
+
var import_clsx42 = __toESM(require("clsx"), 1);
|
|
6015
6022
|
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6023
|
+
var arrowButtonStyles = (0, import_clsx42.default)(
|
|
6024
|
+
"appearance-none bg-transparent border cursor-pointer p-2 flex items-center justify-center size-9 rounded-full transition-colors duration-300 ease-in-out"
|
|
6025
|
+
);
|
|
6026
|
+
|
|
6027
|
+
// src/components/EmblaCarousel/usePrevNextButtons.ts
|
|
6028
|
+
var import_react41 = require("react");
|
|
6029
|
+
|
|
6030
|
+
// src/components/EmblaCarousel/index.tsx
|
|
6031
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6032
|
+
|
|
6033
|
+
// src/components/DataGrid/TableBody/TableBodyRow.tsx
|
|
6034
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6016
6035
|
var valueFormatters = {
|
|
6017
6036
|
date: (value) => typeof value === "string" ? formatDate(value) : "",
|
|
6018
6037
|
currency: (value) => formatCurrencyDisplay(value)
|
|
@@ -6049,10 +6068,10 @@ function TableBodyRow({
|
|
|
6049
6068
|
const isError = typeof row.original === "object" && row.original !== null && "rowState" in row.original && row.original.rowState === "error";
|
|
6050
6069
|
const CellElement = locked ? DataGridCell : DragAlongCell;
|
|
6051
6070
|
const isHovered = hoveredRowId === row.id;
|
|
6052
|
-
return /* @__PURE__ */ (0,
|
|
6071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
6053
6072
|
"tr",
|
|
6054
6073
|
{
|
|
6055
|
-
className: (0,
|
|
6074
|
+
className: (0, import_clsx43.default)(
|
|
6056
6075
|
"min-h-10",
|
|
6057
6076
|
"transition-colors",
|
|
6058
6077
|
showFilterRow && !disabled ? "even:bg-background-grouped-primary-normal odd:bg-background-grouped-secondary-normal" : "odd:bg-background-grouped-primary-normal even:bg-background-grouped-secondary-normal",
|
|
@@ -6073,7 +6092,7 @@ function TableBodyRow({
|
|
|
6073
6092
|
children: [
|
|
6074
6093
|
!locked && virtualPaddingLeft ? (
|
|
6075
6094
|
// fake empty column to the left for virtualization scroll padding
|
|
6076
|
-
/* @__PURE__ */ (0,
|
|
6095
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("td", { style: { display: "flex", width: virtualPaddingLeft } })
|
|
6077
6096
|
) : null,
|
|
6078
6097
|
columns.map((column) => {
|
|
6079
6098
|
var _a2, _b, _c, _d;
|
|
@@ -6084,17 +6103,17 @@ function TableBodyRow({
|
|
|
6084
6103
|
const cellFormat = (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.format;
|
|
6085
6104
|
const cellValue = cellFormat && isValueFormatterKey(cellFormat) ? valueFormatters[cellFormat](cell.getValue()) : cell.getValue();
|
|
6086
6105
|
const cellAlignment = (_c = (_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) != null ? _c : typeof cellValue === "number" ? "right" : "left";
|
|
6087
|
-
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0,
|
|
6106
|
+
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react43.default.Fragment, { children: (0, import_react_table3.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6088
6107
|
CellElement,
|
|
6089
6108
|
{
|
|
6090
6109
|
id: id ? `${id}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
6091
6110
|
testid: testid ? `${testid}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
6092
6111
|
cell,
|
|
6093
|
-
className: (0,
|
|
6112
|
+
className: (0, import_clsx43.default)({
|
|
6094
6113
|
"justify-start": cellAlignment === "left",
|
|
6095
6114
|
"justify-end": cellAlignment === "right"
|
|
6096
6115
|
}),
|
|
6097
|
-
children: /* @__PURE__ */ (0,
|
|
6116
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6098
6117
|
Tooltip,
|
|
6099
6118
|
{
|
|
6100
6119
|
id: id ? `${id}-tooltip-${cell.id}` : void 0,
|
|
@@ -6102,7 +6121,7 @@ function TableBodyRow({
|
|
|
6102
6121
|
showOnTruncation: true,
|
|
6103
6122
|
message: cellValue,
|
|
6104
6123
|
position: "bottom",
|
|
6105
|
-
children: /* @__PURE__ */ (0,
|
|
6124
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Paragraph, { addOverflow: true, tall: true, children: cellValue })
|
|
6106
6125
|
}
|
|
6107
6126
|
)
|
|
6108
6127
|
},
|
|
@@ -6111,7 +6130,7 @@ function TableBodyRow({
|
|
|
6111
6130
|
}),
|
|
6112
6131
|
!locked && virtualPaddingRight ? (
|
|
6113
6132
|
// fake empty column to the right for virtualization scroll padding
|
|
6114
|
-
/* @__PURE__ */ (0,
|
|
6133
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("td", { style: { display: "flex", width: virtualPaddingRight } })
|
|
6115
6134
|
) : null
|
|
6116
6135
|
]
|
|
6117
6136
|
},
|
|
@@ -759,6 +759,10 @@
|
|
|
759
759
|
width: calc(var(--spacing) * 6);
|
|
760
760
|
height: calc(var(--spacing) * 6);
|
|
761
761
|
}
|
|
762
|
+
.size-9 {
|
|
763
|
+
width: calc(var(--spacing) * 9);
|
|
764
|
+
height: calc(var(--spacing) * 9);
|
|
765
|
+
}
|
|
762
766
|
.\!h-4\.5 {
|
|
763
767
|
height: calc(var(--spacing) * 4.5) !important;
|
|
764
768
|
}
|
|
@@ -1063,6 +1067,9 @@
|
|
|
1063
1067
|
.\[appearance\:textfield\] {
|
|
1064
1068
|
appearance: textfield;
|
|
1065
1069
|
}
|
|
1070
|
+
.appearance-none {
|
|
1071
|
+
appearance: none;
|
|
1072
|
+
}
|
|
1066
1073
|
.grid-cols-1 {
|
|
1067
1074
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1068
1075
|
}
|
|
@@ -2122,6 +2129,9 @@
|
|
|
2122
2129
|
.pb-2 {
|
|
2123
2130
|
padding-bottom: calc(var(--spacing) * 2);
|
|
2124
2131
|
}
|
|
2132
|
+
.pb-3 {
|
|
2133
|
+
padding-bottom: calc(var(--spacing) * 3);
|
|
2134
|
+
}
|
|
2125
2135
|
.pb-mobile-component-padding {
|
|
2126
2136
|
padding-bottom: var(--spacing-mobile-component-padding);
|
|
2127
2137
|
}
|
|
@@ -2345,6 +2355,9 @@
|
|
|
2345
2355
|
.text-icon-on-action-secondary-normal {
|
|
2346
2356
|
color: var(--color-icon-on-action-secondary-normal);
|
|
2347
2357
|
}
|
|
2358
|
+
.text-icon-primary-disabled {
|
|
2359
|
+
color: var(--color-icon-primary-disabled);
|
|
2360
|
+
}
|
|
2348
2361
|
.text-icon-primary-normal {
|
|
2349
2362
|
color: var(--color-icon-primary-normal);
|
|
2350
2363
|
}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TableBodyRow
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-E7XBOMT4.js";
|
|
4
|
+
import "../../../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../../../chunk-M7INAUAJ.js";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-KOKA2IJC.js";
|
|
8
|
+
import "../../../chunk-MBZ55T2D.js";
|
|
8
9
|
import "../../../chunk-2IKT6IHB.js";
|
|
9
10
|
import "../../../chunk-YCDDBSVU.js";
|
|
10
11
|
import "../../../chunk-3X3Y4TMS.js";
|
|
11
12
|
import "../../../chunk-BQNPOGD5.js";
|
|
12
13
|
import "../../../chunk-Y5GD2FJA.js";
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-SZ47M32R.js";
|
|
14
|
+
import "../../../chunk-3N34VVYD.js";
|
|
15
15
|
import "../../../chunk-B4AE3DCA.js";
|
|
16
16
|
import "../../../chunk-FP3Y5JJN.js";
|
|
17
17
|
import "../../../chunk-5IFPG6TS.js";
|
|
18
|
-
import "../../../chunk-AJ5M6MVX.js";
|
|
19
18
|
import "../../../chunk-6EYMKEJ6.js";
|
|
19
|
+
import "../../../chunk-AJ5M6MVX.js";
|
|
20
|
+
import "../../../chunk-YV5FS7NV.js";
|
|
21
|
+
import "../../../chunk-Z2HPSFEQ.js";
|
|
20
22
|
import "../../../chunk-AT4AWD6B.js";
|
|
21
23
|
import "../../../chunk-EWGHVZL5.js";
|
|
22
24
|
import "../../../chunk-FZ2TEKOE.js";
|
|
@@ -24,8 +26,8 @@ import "../../../chunk-FESS4LWU.js";
|
|
|
24
26
|
import "../../../chunk-KBIEWFQS.js";
|
|
25
27
|
import "../../../chunk-NSZTJ5R4.js";
|
|
26
28
|
import "../../../chunk-LB7UT6F3.js";
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
+
import "../../../chunk-HT57FLRW.js";
|
|
30
|
+
import "../../../chunk-N36EJLRW.js";
|
|
29
31
|
import "../../../chunk-4RJKB7LC.js";
|
|
30
32
|
import "../../../chunk-UUKHQUSF.js";
|
|
31
33
|
import "../../../chunk-WVVEOCEH.js";
|
|
@@ -36,17 +38,18 @@ import "../../../chunk-UAMI54FE.js";
|
|
|
36
38
|
import "../../../chunk-SJZNVG4N.js";
|
|
37
39
|
import "../../../chunk-75USUR3I.js";
|
|
38
40
|
import "../../../chunk-BWPNXY7T.js";
|
|
39
|
-
import "../../../chunk-
|
|
40
|
-
import "../../../chunk-
|
|
41
|
-
import "../../../chunk-
|
|
42
|
-
import "../../../chunk-
|
|
41
|
+
import "../../../chunk-5NRKL5CJ.js";
|
|
42
|
+
import "../../../chunk-OM7QLLI2.js";
|
|
43
|
+
import "../../../chunk-PE3EZP56.js";
|
|
44
|
+
import "../../../chunk-X3NDEFVA.js";
|
|
43
45
|
import "../../../chunk-FHXCCVOG.js";
|
|
44
46
|
import "../../../chunk-7T5RGDCN.js";
|
|
45
47
|
import "../../../chunk-HXGJVYGQ.js";
|
|
46
48
|
import "../../../chunk-WVUIIBRR.js";
|
|
47
49
|
import "../../../chunk-M7WHWZ2J.js";
|
|
48
|
-
import "../../../chunk-
|
|
49
|
-
import "../../../chunk-
|
|
50
|
+
import "../../../chunk-EGECC3PQ.js";
|
|
51
|
+
import "../../../chunk-KLH67DTH.js";
|
|
52
|
+
import "../../../chunk-WVGXD7HT.js";
|
|
50
53
|
import "../../../chunk-VXWSAIB5.js";
|
|
51
54
|
import "../../../chunk-MMZTPVYB.js";
|
|
52
55
|
import "../../../chunk-5UH6QUFB.js";
|
|
@@ -5820,17 +5820,36 @@ var import_react39 = require("react");
|
|
|
5820
5820
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
5821
5821
|
|
|
5822
5822
|
// src/components/EmblaCarousel/index.tsx
|
|
5823
|
+
var import_react42 = require("react");
|
|
5823
5824
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
5825
|
+
|
|
5826
|
+
// src/components/EmblaCarousel/SelectedSnapDisplay.tsx
|
|
5824
5827
|
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
5825
5828
|
|
|
5829
|
+
// src/components/EmblaCarousel/useSelectedSnapDisplay.ts
|
|
5830
|
+
var import_react40 = require("react");
|
|
5831
|
+
|
|
5832
|
+
// src/components/EmblaCarousel/ArrowButtons.tsx
|
|
5833
|
+
var import_clsx41 = __toESM(require("clsx"), 1);
|
|
5834
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5835
|
+
var arrowButtonStyles = (0, import_clsx41.default)(
|
|
5836
|
+
"appearance-none bg-transparent border cursor-pointer p-2 flex items-center justify-center size-9 rounded-full transition-colors duration-300 ease-in-out"
|
|
5837
|
+
);
|
|
5838
|
+
|
|
5839
|
+
// src/components/EmblaCarousel/usePrevNextButtons.ts
|
|
5840
|
+
var import_react41 = require("react");
|
|
5841
|
+
|
|
5842
|
+
// src/components/EmblaCarousel/index.tsx
|
|
5843
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5844
|
+
|
|
5826
5845
|
// src/components/DataGrid/TableBody/index.tsx
|
|
5827
|
-
var
|
|
5846
|
+
var import_clsx43 = __toESM(require("clsx"), 1);
|
|
5828
5847
|
|
|
5829
5848
|
// src/components/DataGrid/TableBody/TableBodyRow.tsx
|
|
5830
|
-
var
|
|
5849
|
+
var import_clsx42 = __toESM(require("clsx"), 1);
|
|
5831
5850
|
var import_react_table3 = require("@tanstack/react-table");
|
|
5832
|
-
var
|
|
5833
|
-
var
|
|
5851
|
+
var import_react43 = __toESM(require("react"), 1);
|
|
5852
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5834
5853
|
var valueFormatters = {
|
|
5835
5854
|
date: (value) => typeof value === "string" ? formatDate(value) : "",
|
|
5836
5855
|
currency: (value) => formatCurrencyDisplay(value)
|
|
@@ -5867,10 +5886,10 @@ function TableBodyRow({
|
|
|
5867
5886
|
const isError = typeof row.original === "object" && row.original !== null && "rowState" in row.original && row.original.rowState === "error";
|
|
5868
5887
|
const CellElement = locked ? DataGridCell : DragAlongCell;
|
|
5869
5888
|
const isHovered = hoveredRowId === row.id;
|
|
5870
|
-
return /* @__PURE__ */ (0,
|
|
5889
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5871
5890
|
"tr",
|
|
5872
5891
|
{
|
|
5873
|
-
className: (0,
|
|
5892
|
+
className: (0, import_clsx42.default)(
|
|
5874
5893
|
"min-h-10",
|
|
5875
5894
|
"transition-colors",
|
|
5876
5895
|
showFilterRow && !disabled ? "even:bg-background-grouped-primary-normal odd:bg-background-grouped-secondary-normal" : "odd:bg-background-grouped-primary-normal even:bg-background-grouped-secondary-normal",
|
|
@@ -5891,7 +5910,7 @@ function TableBodyRow({
|
|
|
5891
5910
|
children: [
|
|
5892
5911
|
!locked && virtualPaddingLeft ? (
|
|
5893
5912
|
// fake empty column to the left for virtualization scroll padding
|
|
5894
|
-
/* @__PURE__ */ (0,
|
|
5913
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("td", { style: { display: "flex", width: virtualPaddingLeft } })
|
|
5895
5914
|
) : null,
|
|
5896
5915
|
columns.map((column) => {
|
|
5897
5916
|
var _a2, _b, _c, _d;
|
|
@@ -5902,17 +5921,17 @@ function TableBodyRow({
|
|
|
5902
5921
|
const cellFormat = (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.format;
|
|
5903
5922
|
const cellValue = cellFormat && isValueFormatterKey(cellFormat) ? valueFormatters[cellFormat](cell.getValue()) : cell.getValue();
|
|
5904
5923
|
const cellAlignment = (_c = (_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) != null ? _c : typeof cellValue === "number" ? "right" : "left";
|
|
5905
|
-
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0,
|
|
5924
|
+
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react43.default.Fragment, { children: (0, import_react_table3.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5906
5925
|
CellElement,
|
|
5907
5926
|
{
|
|
5908
5927
|
id: id ? `${id}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
5909
5928
|
testid: testid ? `${testid}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
5910
5929
|
cell,
|
|
5911
|
-
className: (0,
|
|
5930
|
+
className: (0, import_clsx42.default)({
|
|
5912
5931
|
"justify-start": cellAlignment === "left",
|
|
5913
5932
|
"justify-end": cellAlignment === "right"
|
|
5914
5933
|
}),
|
|
5915
|
-
children: /* @__PURE__ */ (0,
|
|
5934
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5916
5935
|
Tooltip,
|
|
5917
5936
|
{
|
|
5918
5937
|
id: id ? `${id}-tooltip-${cell.id}` : void 0,
|
|
@@ -5920,7 +5939,7 @@ function TableBodyRow({
|
|
|
5920
5939
|
showOnTruncation: true,
|
|
5921
5940
|
message: cellValue,
|
|
5922
5941
|
position: "bottom",
|
|
5923
|
-
children: /* @__PURE__ */ (0,
|
|
5942
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Paragraph, { addOverflow: true, tall: true, children: cellValue })
|
|
5924
5943
|
}
|
|
5925
5944
|
)
|
|
5926
5945
|
},
|
|
@@ -5929,7 +5948,7 @@ function TableBodyRow({
|
|
|
5929
5948
|
}),
|
|
5930
5949
|
!locked && virtualPaddingRight ? (
|
|
5931
5950
|
// fake empty column to the right for virtualization scroll padding
|
|
5932
|
-
/* @__PURE__ */ (0,
|
|
5951
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("td", { style: { display: "flex", width: virtualPaddingRight } })
|
|
5933
5952
|
) : null
|
|
5934
5953
|
]
|
|
5935
5954
|
},
|
|
@@ -5938,7 +5957,7 @@ function TableBodyRow({
|
|
|
5938
5957
|
}
|
|
5939
5958
|
|
|
5940
5959
|
// src/components/DataGrid/TableBody/LoadingCell.tsx
|
|
5941
|
-
var
|
|
5960
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
5942
5961
|
function LoadingCell({
|
|
5943
5962
|
id,
|
|
5944
5963
|
testid,
|
|
@@ -5946,16 +5965,16 @@ function LoadingCell({
|
|
|
5946
5965
|
}) {
|
|
5947
5966
|
const key = `loading-${column.id}`;
|
|
5948
5967
|
if (column.cell === "checkbox") {
|
|
5949
|
-
return /* @__PURE__ */ (0,
|
|
5968
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Checkbox, { id: id ? `${id}-${key}-checkbox` : void 0, testid: testid ? `${testid}-${key}-checkbox` : void 0, disabled: true }) }, key);
|
|
5950
5969
|
}
|
|
5951
5970
|
if (column.cell === "input") {
|
|
5952
|
-
return /* @__PURE__ */ (0,
|
|
5971
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5953
5972
|
DataGridCell,
|
|
5954
5973
|
{
|
|
5955
5974
|
id: id ? `${id}-${key}` : void 0,
|
|
5956
5975
|
testid: testid ? `${testid}-${key}` : void 0,
|
|
5957
5976
|
component: "input",
|
|
5958
|
-
children: /* @__PURE__ */ (0,
|
|
5977
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5959
5978
|
Input,
|
|
5960
5979
|
{
|
|
5961
5980
|
id: id ? `${id}-${key}-input` : void 0,
|
|
@@ -5969,11 +5988,11 @@ function LoadingCell({
|
|
|
5969
5988
|
key
|
|
5970
5989
|
);
|
|
5971
5990
|
}
|
|
5972
|
-
return /* @__PURE__ */ (0,
|
|
5991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "bg-linear-270 to-neutral-300/[24%] from-neutral-300/[12%] rounded-xs w-full max-w-25 h-6" }) }, key);
|
|
5973
5992
|
}
|
|
5974
5993
|
|
|
5975
5994
|
// src/components/DataGrid/TableBody/index.tsx
|
|
5976
|
-
var
|
|
5995
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
5977
5996
|
function TableBody({
|
|
5978
5997
|
id,
|
|
5979
5998
|
testid,
|
|
@@ -6011,10 +6030,10 @@ function TableBody({
|
|
|
6011
6030
|
} else {
|
|
6012
6031
|
headerGroups = table.getCenterHeaderGroups();
|
|
6013
6032
|
}
|
|
6014
|
-
return /* @__PURE__ */ (0,
|
|
6033
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
6015
6034
|
"tbody",
|
|
6016
6035
|
{
|
|
6017
|
-
className: (0,
|
|
6036
|
+
className: (0, import_clsx43.default)(locked ? "shadow-16" : ""),
|
|
6018
6037
|
style: {
|
|
6019
6038
|
display: "grid",
|
|
6020
6039
|
height: `${showFilterRow ? rowVirtualizer.getTotalSize() + 40 : rowVirtualizer.getTotalSize()}px`,
|
|
@@ -6023,7 +6042,7 @@ function TableBody({
|
|
|
6023
6042
|
// needed for absolute positioning of rows
|
|
6024
6043
|
},
|
|
6025
6044
|
children: [
|
|
6026
|
-
showFilterRow && /* @__PURE__ */ (0,
|
|
6045
|
+
showFilterRow && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6027
6046
|
"tr",
|
|
6028
6047
|
{
|
|
6029
6048
|
style: {
|
|
@@ -6039,7 +6058,7 @@ function TableBody({
|
|
|
6039
6058
|
children: headerGroups.flatMap(
|
|
6040
6059
|
(x) => x.headers.map((header) => {
|
|
6041
6060
|
var _a, _b, _c, _d, _e;
|
|
6042
|
-
return /* @__PURE__ */ (0,
|
|
6061
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6043
6062
|
CellElement,
|
|
6044
6063
|
{
|
|
6045
6064
|
id: id ? `${id}-filter-cell-${header.id}` : void 0,
|
|
@@ -6050,7 +6069,7 @@ function TableBody({
|
|
|
6050
6069
|
children: header.column.getCanFilter() && ((_e = (_c = (_b = header.column.columnDef.meta) == null ? void 0 : _b.filterRowCell) == null ? void 0 : _c.call(_b, {
|
|
6051
6070
|
header,
|
|
6052
6071
|
table
|
|
6053
|
-
})) != null ? _e : /* @__PURE__ */ (0,
|
|
6072
|
+
})) != null ? _e : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6054
6073
|
Search,
|
|
6055
6074
|
{
|
|
6056
6075
|
id: id ? `${id}-filter-search-${header.id}` : void 0,
|
|
@@ -6071,7 +6090,7 @@ function TableBody({
|
|
|
6071
6090
|
),
|
|
6072
6091
|
virtualRows.map((virtualRow) => {
|
|
6073
6092
|
const row = rows[virtualRow.index];
|
|
6074
|
-
return /* @__PURE__ */ (0,
|
|
6093
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6075
6094
|
TableBodyRow,
|
|
6076
6095
|
{
|
|
6077
6096
|
id,
|
|
@@ -6093,7 +6112,7 @@ function TableBody({
|
|
|
6093
6112
|
row.id
|
|
6094
6113
|
);
|
|
6095
6114
|
}),
|
|
6096
|
-
!pagination && isLoadingMore && hasMore && /* @__PURE__ */ (0,
|
|
6115
|
+
!pagination && isLoadingMore && hasMore && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6097
6116
|
"tr",
|
|
6098
6117
|
{
|
|
6099
6118
|
style: {
|
|
@@ -6103,7 +6122,7 @@ function TableBody({
|
|
|
6103
6122
|
transform: `translateY(${virtualRows[virtualRows.length - 1].start + 40}px)`
|
|
6104
6123
|
},
|
|
6105
6124
|
className: "odd:bg-background-grouped-primary-normal even:bg-background-grouped-secondary-normal",
|
|
6106
|
-
children: table.getAllLeafColumns().map((column) => /* @__PURE__ */ (0,
|
|
6125
|
+
children: table.getAllLeafColumns().map((column) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6107
6126
|
LoadingCell,
|
|
6108
6127
|
{
|
|
6109
6128
|
id,
|
|
@@ -759,6 +759,10 @@
|
|
|
759
759
|
width: calc(var(--spacing) * 6);
|
|
760
760
|
height: calc(var(--spacing) * 6);
|
|
761
761
|
}
|
|
762
|
+
.size-9 {
|
|
763
|
+
width: calc(var(--spacing) * 9);
|
|
764
|
+
height: calc(var(--spacing) * 9);
|
|
765
|
+
}
|
|
762
766
|
.\!h-4\.5 {
|
|
763
767
|
height: calc(var(--spacing) * 4.5) !important;
|
|
764
768
|
}
|
|
@@ -1063,6 +1067,9 @@
|
|
|
1063
1067
|
.\[appearance\:textfield\] {
|
|
1064
1068
|
appearance: textfield;
|
|
1065
1069
|
}
|
|
1070
|
+
.appearance-none {
|
|
1071
|
+
appearance: none;
|
|
1072
|
+
}
|
|
1066
1073
|
.grid-cols-1 {
|
|
1067
1074
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1068
1075
|
}
|
|
@@ -2122,6 +2129,9 @@
|
|
|
2122
2129
|
.pb-2 {
|
|
2123
2130
|
padding-bottom: calc(var(--spacing) * 2);
|
|
2124
2131
|
}
|
|
2132
|
+
.pb-3 {
|
|
2133
|
+
padding-bottom: calc(var(--spacing) * 3);
|
|
2134
|
+
}
|
|
2125
2135
|
.pb-mobile-component-padding {
|
|
2126
2136
|
padding-bottom: var(--spacing-mobile-component-padding);
|
|
2127
2137
|
}
|
|
@@ -2345,6 +2355,9 @@
|
|
|
2345
2355
|
.text-icon-on-action-secondary-normal {
|
|
2346
2356
|
color: var(--color-icon-on-action-secondary-normal);
|
|
2347
2357
|
}
|
|
2358
|
+
.text-icon-primary-disabled {
|
|
2359
|
+
color: var(--color-icon-primary-disabled);
|
|
2360
|
+
}
|
|
2348
2361
|
.text-icon-primary-normal {
|
|
2349
2362
|
color: var(--color-icon-primary-normal);
|
|
2350
2363
|
}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TableBody
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-E7XBOMT4.js";
|
|
4
|
+
import "../../../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../../../chunk-M7INAUAJ.js";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-KOKA2IJC.js";
|
|
8
|
+
import "../../../chunk-MBZ55T2D.js";
|
|
8
9
|
import "../../../chunk-2IKT6IHB.js";
|
|
9
10
|
import "../../../chunk-YCDDBSVU.js";
|
|
10
11
|
import "../../../chunk-3X3Y4TMS.js";
|
|
11
12
|
import "../../../chunk-BQNPOGD5.js";
|
|
12
13
|
import "../../../chunk-Y5GD2FJA.js";
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-SZ47M32R.js";
|
|
14
|
+
import "../../../chunk-3N34VVYD.js";
|
|
15
15
|
import "../../../chunk-B4AE3DCA.js";
|
|
16
16
|
import "../../../chunk-FP3Y5JJN.js";
|
|
17
17
|
import "../../../chunk-5IFPG6TS.js";
|
|
18
|
-
import "../../../chunk-AJ5M6MVX.js";
|
|
19
18
|
import "../../../chunk-6EYMKEJ6.js";
|
|
19
|
+
import "../../../chunk-AJ5M6MVX.js";
|
|
20
|
+
import "../../../chunk-YV5FS7NV.js";
|
|
21
|
+
import "../../../chunk-Z2HPSFEQ.js";
|
|
20
22
|
import "../../../chunk-AT4AWD6B.js";
|
|
21
23
|
import "../../../chunk-EWGHVZL5.js";
|
|
22
24
|
import "../../../chunk-FZ2TEKOE.js";
|
|
@@ -24,8 +26,8 @@ import "../../../chunk-FESS4LWU.js";
|
|
|
24
26
|
import "../../../chunk-KBIEWFQS.js";
|
|
25
27
|
import "../../../chunk-NSZTJ5R4.js";
|
|
26
28
|
import "../../../chunk-LB7UT6F3.js";
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
+
import "../../../chunk-HT57FLRW.js";
|
|
30
|
+
import "../../../chunk-N36EJLRW.js";
|
|
29
31
|
import "../../../chunk-4RJKB7LC.js";
|
|
30
32
|
import "../../../chunk-UUKHQUSF.js";
|
|
31
33
|
import "../../../chunk-WVVEOCEH.js";
|
|
@@ -36,17 +38,18 @@ import "../../../chunk-UAMI54FE.js";
|
|
|
36
38
|
import "../../../chunk-SJZNVG4N.js";
|
|
37
39
|
import "../../../chunk-75USUR3I.js";
|
|
38
40
|
import "../../../chunk-BWPNXY7T.js";
|
|
39
|
-
import "../../../chunk-
|
|
40
|
-
import "../../../chunk-
|
|
41
|
-
import "../../../chunk-
|
|
42
|
-
import "../../../chunk-
|
|
41
|
+
import "../../../chunk-5NRKL5CJ.js";
|
|
42
|
+
import "../../../chunk-OM7QLLI2.js";
|
|
43
|
+
import "../../../chunk-PE3EZP56.js";
|
|
44
|
+
import "../../../chunk-X3NDEFVA.js";
|
|
43
45
|
import "../../../chunk-FHXCCVOG.js";
|
|
44
46
|
import "../../../chunk-7T5RGDCN.js";
|
|
45
47
|
import "../../../chunk-HXGJVYGQ.js";
|
|
46
48
|
import "../../../chunk-WVUIIBRR.js";
|
|
47
49
|
import "../../../chunk-M7WHWZ2J.js";
|
|
48
|
-
import "../../../chunk-
|
|
49
|
-
import "../../../chunk-
|
|
50
|
+
import "../../../chunk-EGECC3PQ.js";
|
|
51
|
+
import "../../../chunk-KLH67DTH.js";
|
|
52
|
+
import "../../../chunk-WVGXD7HT.js";
|
|
50
53
|
import "../../../chunk-VXWSAIB5.js";
|
|
51
54
|
import "../../../chunk-MMZTPVYB.js";
|
|
52
55
|
import "../../../chunk-5UH6QUFB.js";
|