@dmsi/wedgekit-react 0.0.503 → 0.0.504
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-VOSQMHNF.js → chunk-U5V2IRZX.js} +4 -29
- package/dist/{chunk-S5ZJ3Q7P.js → chunk-VJVY6NPF.js} +3 -3
- package/dist/components/CalendarRange.cjs +75 -128
- package/dist/components/CalendarRange.js +1 -7
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +33 -86
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +1 -7
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +43 -96
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +1 -7
- package/dist/components/DataGrid/PinnedColumns.cjs +58 -111
- package/dist/components/DataGrid/PinnedColumns.js +1 -7
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +34 -87
- package/dist/components/DataGrid/TableBody/LoadingCell.js +1 -7
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +40 -93
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +1 -7
- package/dist/components/DataGrid/TableBody/index.cjs +55 -108
- package/dist/components/DataGrid/TableBody/index.js +1 -7
- package/dist/components/DataGrid/index.cjs +144 -197
- package/dist/components/DataGrid/index.js +1 -7
- package/dist/components/DataGrid/utils.cjs +34 -87
- package/dist/components/DataGrid/utils.js +1 -7
- package/dist/components/DateInput.cjs +94 -147
- package/dist/components/DateInput.js +1 -7
- package/dist/components/DateRangeInput.cjs +94 -147
- package/dist/components/DateRangeInput.js +1 -7
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +41 -94
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +1 -7
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +49 -102
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +1 -7
- package/dist/components/MobileDataGrid/index.cjs +868 -921
- package/dist/components/MobileDataGrid/index.js +1 -7
- package/dist/components/PDFViewer/PDFElement.cjs +5 -31
- package/dist/components/PDFViewer/PDFElement.js +2 -3
- package/dist/components/PDFViewer/PDFPage.cjs +3 -3
- package/dist/components/PDFViewer/PDFPage.js +1 -1
- package/dist/components/PDFViewer/index.cjs +5 -35
- package/dist/components/PDFViewer/index.js +111 -8
- package/dist/components/index.cjs +56 -402
- package/dist/components/index.js +1 -10
- package/package.json +1 -1
- package/src/components/PDFViewer/PDFElement.tsx +3 -38
- package/src/components/PDFViewer/PDFPage.tsx +2 -4
- package/src/components/PDFViewer/index.tsx +1 -9
- package/src/components/index.ts +0 -1
- package/dist/chunk-6XLESQ2U.js +0 -119
- /package/dist/{chunk-C2YTC2CN.js → chunk-JWVZOEF5.js} +0 -0
|
@@ -715,7 +715,7 @@ function Theme({
|
|
|
715
715
|
}
|
|
716
716
|
|
|
717
717
|
// src/components/MobileDataGrid/ColumnSelector/index.tsx
|
|
718
|
-
var
|
|
718
|
+
var import_react37 = require("react");
|
|
719
719
|
|
|
720
720
|
// src/components/DataGridCell.tsx
|
|
721
721
|
var import_sortable = require("@dnd-kit/sortable");
|
|
@@ -5829,68 +5829,15 @@ var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
|
5829
5829
|
var import_clsx36 = __toESM(require("clsx"), 1);
|
|
5830
5830
|
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5831
5831
|
|
|
5832
|
-
// src/components/
|
|
5833
|
-
var import_react35 = require("react");
|
|
5834
|
-
|
|
5835
|
-
// src/components/PDFViewer/PDFElement.tsx
|
|
5836
|
-
var import_react34 = require("react");
|
|
5837
|
-
|
|
5838
|
-
// src/components/Spinner.tsx
|
|
5839
|
-
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5840
|
-
var Spinner = ({ size = "small", testid }) => {
|
|
5841
|
-
const dimension = size === "large" ? 48 : 24;
|
|
5842
|
-
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
5843
|
-
"svg",
|
|
5844
|
-
{
|
|
5845
|
-
"data-testid": testid,
|
|
5846
|
-
width: dimension,
|
|
5847
|
-
height: dimension,
|
|
5848
|
-
viewBox: "0 0 24 24",
|
|
5849
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5850
|
-
fill: "#1D1E1E",
|
|
5851
|
-
className: "spinner",
|
|
5852
|
-
"aria-label": "Loading",
|
|
5853
|
-
children: [
|
|
5854
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
|
|
5855
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
|
|
5856
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
|
|
5857
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
|
|
5858
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
|
|
5859
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
|
|
5860
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
|
|
5861
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
|
|
5862
|
-
]
|
|
5863
|
-
}
|
|
5864
|
-
);
|
|
5865
|
-
};
|
|
5866
|
-
Spinner.displayName = "Spinner";
|
|
5867
|
-
|
|
5868
|
-
// src/components/PDFViewer/PDFPage.tsx
|
|
5832
|
+
// src/components/ListGroup.tsx
|
|
5869
5833
|
var import_react33 = require("react");
|
|
5870
|
-
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5871
|
-
|
|
5872
|
-
// src/components/PDFViewer/PDFElement.tsx
|
|
5873
5834
|
var import_clsx37 = __toESM(require("clsx"), 1);
|
|
5874
|
-
var
|
|
5875
|
-
|
|
5876
|
-
// src/components/PDFViewer/DownloadIcon.tsx
|
|
5877
|
-
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
5878
|
-
|
|
5879
|
-
// src/components/PDFViewer/PDFNavigation.tsx
|
|
5880
|
-
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
5881
|
-
|
|
5882
|
-
// src/components/PDFViewer/index.tsx
|
|
5883
|
-
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
5884
|
-
|
|
5885
|
-
// src/components/ListGroup.tsx
|
|
5886
|
-
var import_react36 = require("react");
|
|
5887
|
-
var import_clsx38 = __toESM(require("clsx"), 1);
|
|
5888
|
-
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
5835
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5889
5836
|
|
|
5890
5837
|
// src/components/Pagination.tsx
|
|
5891
|
-
var
|
|
5892
|
-
var
|
|
5893
|
-
var
|
|
5838
|
+
var import_react34 = require("react");
|
|
5839
|
+
var import_clsx38 = __toESM(require("clsx"), 1);
|
|
5840
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5894
5841
|
var Pagination = ({
|
|
5895
5842
|
totalPages,
|
|
5896
5843
|
currentPage,
|
|
@@ -5900,7 +5847,7 @@ var Pagination = ({
|
|
|
5900
5847
|
className,
|
|
5901
5848
|
disabled
|
|
5902
5849
|
}) => {
|
|
5903
|
-
const goTo = (0,
|
|
5850
|
+
const goTo = (0, import_react34.useCallback)(
|
|
5904
5851
|
(page) => {
|
|
5905
5852
|
if (disabled) return;
|
|
5906
5853
|
onPageChange(page);
|
|
@@ -5917,7 +5864,7 @@ var Pagination = ({
|
|
|
5917
5864
|
goTo(currentPage + 1);
|
|
5918
5865
|
}
|
|
5919
5866
|
};
|
|
5920
|
-
const pageTokens = (0,
|
|
5867
|
+
const pageTokens = (0, import_react34.useMemo)(() => {
|
|
5921
5868
|
if (totalPages <= 5) {
|
|
5922
5869
|
return Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
5923
5870
|
}
|
|
@@ -5954,7 +5901,7 @@ var Pagination = ({
|
|
|
5954
5901
|
return tokens;
|
|
5955
5902
|
}, [totalPages, currentPage]);
|
|
5956
5903
|
if (totalPages <= 1) return null;
|
|
5957
|
-
const buttonClass = (0,
|
|
5904
|
+
const buttonClass = (0, import_clsx38.default)(
|
|
5958
5905
|
"cursor-pointer disabled:cursor-default",
|
|
5959
5906
|
paddingUsingComponentGap,
|
|
5960
5907
|
"w-8 h-8",
|
|
@@ -5965,14 +5912,14 @@ var Pagination = ({
|
|
|
5965
5912
|
"focus:bg-background-grouped-secondary-normal focus:outline-0",
|
|
5966
5913
|
"disabled:bg-transparent disabled:text-text-action-primary-disabled"
|
|
5967
5914
|
);
|
|
5968
|
-
return /* @__PURE__ */ (0,
|
|
5915
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
5969
5916
|
"nav",
|
|
5970
5917
|
{
|
|
5971
5918
|
id,
|
|
5972
5919
|
"data-testid": testid,
|
|
5973
5920
|
"aria-label": "Pagination",
|
|
5974
5921
|
onKeyDown: handleKey,
|
|
5975
|
-
className: (0,
|
|
5922
|
+
className: (0, import_clsx38.default)(
|
|
5976
5923
|
"flex items-center",
|
|
5977
5924
|
"border border-border-primary-normal",
|
|
5978
5925
|
"bg-background-grouped-primary-normal",
|
|
@@ -5980,19 +5927,19 @@ var Pagination = ({
|
|
|
5980
5927
|
className
|
|
5981
5928
|
),
|
|
5982
5929
|
children: [
|
|
5983
|
-
/* @__PURE__ */ (0,
|
|
5930
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5984
5931
|
"button",
|
|
5985
5932
|
{
|
|
5986
5933
|
disabled: disabled || currentPage <= 1,
|
|
5987
5934
|
"aria-label": "Previous page",
|
|
5988
5935
|
onClick: () => goTo(currentPage - 1),
|
|
5989
|
-
className: (0,
|
|
5990
|
-
children: /* @__PURE__ */ (0,
|
|
5936
|
+
className: (0, import_clsx38.default)(buttonClass, "border-r-1 border-border-primary-normal"),
|
|
5937
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { name: "keyboard_arrow_left" })
|
|
5991
5938
|
}
|
|
5992
5939
|
),
|
|
5993
|
-
/* @__PURE__ */ (0,
|
|
5940
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("ul", { className: (0, import_clsx38.default)("flex items-center"), children: pageTokens.map((token, index) => {
|
|
5994
5941
|
if (token === "ellipsis") {
|
|
5995
|
-
return /* @__PURE__ */ (0,
|
|
5942
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5996
5943
|
"li",
|
|
5997
5944
|
{
|
|
5998
5945
|
className: "w-8 h-8 select-none text-text-action-primary-disabled",
|
|
@@ -6002,29 +5949,29 @@ var Pagination = ({
|
|
|
6002
5949
|
);
|
|
6003
5950
|
}
|
|
6004
5951
|
const selected = token === currentPage;
|
|
6005
|
-
return /* @__PURE__ */ (0,
|
|
5952
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
6006
5953
|
"button",
|
|
6007
5954
|
{
|
|
6008
5955
|
"aria-label": `Page ${token}`,
|
|
6009
5956
|
"aria-current": selected ? "page" : void 0,
|
|
6010
5957
|
disabled,
|
|
6011
5958
|
onClick: () => goTo(token),
|
|
6012
|
-
className: (0,
|
|
5959
|
+
className: (0, import_clsx38.default)(
|
|
6013
5960
|
buttonClass,
|
|
6014
5961
|
selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
|
|
6015
5962
|
),
|
|
6016
|
-
children: /* @__PURE__ */ (0,
|
|
5963
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Subheader, { align: "center", weight: "bold", children: token })
|
|
6017
5964
|
}
|
|
6018
5965
|
) }, token);
|
|
6019
5966
|
}) }),
|
|
6020
|
-
/* @__PURE__ */ (0,
|
|
5967
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
6021
5968
|
"button",
|
|
6022
5969
|
{
|
|
6023
5970
|
disabled: disabled || currentPage >= totalPages,
|
|
6024
5971
|
"aria-label": "Next page",
|
|
6025
5972
|
onClick: () => goTo(currentPage + 1),
|
|
6026
|
-
className: (0,
|
|
6027
|
-
children: /* @__PURE__ */ (0,
|
|
5973
|
+
className: (0, import_clsx38.default)(buttonClass, "border-l-1 border-border-primary-normal"),
|
|
5974
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { name: "keyboard_arrow_right" })
|
|
6028
5975
|
}
|
|
6029
5976
|
)
|
|
6030
5977
|
]
|
|
@@ -6034,29 +5981,29 @@ var Pagination = ({
|
|
|
6034
5981
|
Pagination.displayName = "Pagination";
|
|
6035
5982
|
|
|
6036
5983
|
// src/components/SkeletonParagraph.tsx
|
|
6037
|
-
var
|
|
5984
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6038
5985
|
|
|
6039
5986
|
// src/components/EmptyCartIcon.tsx
|
|
6040
|
-
var
|
|
5987
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6041
5988
|
|
|
6042
5989
|
// src/components/SearchResultImage/index.tsx
|
|
6043
|
-
var
|
|
6044
|
-
var
|
|
5990
|
+
var import_react35 = require("react");
|
|
5991
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6045
5992
|
|
|
6046
5993
|
// src/components/Alert.tsx
|
|
6047
|
-
var
|
|
6048
|
-
var
|
|
6049
|
-
var
|
|
5994
|
+
var import_clsx39 = __toESM(require("clsx"), 1);
|
|
5995
|
+
var import_react36 = require("react");
|
|
5996
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
6050
5997
|
|
|
6051
5998
|
// src/components/OrderCheckIcon.tsx
|
|
6052
|
-
var
|
|
5999
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
6053
6000
|
|
|
6054
6001
|
// src/components/MobileDataGrid/ColumnSelector/index.tsx
|
|
6055
|
-
var
|
|
6002
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
6056
6003
|
function ColumnSelector() {
|
|
6057
6004
|
const context = useGridContext();
|
|
6058
|
-
const ref = (0,
|
|
6059
|
-
const [show, setShow] = (0,
|
|
6005
|
+
const ref = (0, import_react37.useRef)(null);
|
|
6006
|
+
const [show, setShow] = (0, import_react37.useState)(false);
|
|
6060
6007
|
const {
|
|
6061
6008
|
columns,
|
|
6062
6009
|
id,
|
|
@@ -6067,13 +6014,13 @@ function ColumnSelector() {
|
|
|
6067
6014
|
resetColumnVisibility,
|
|
6068
6015
|
dispatch
|
|
6069
6016
|
} = context;
|
|
6070
|
-
const toggleColumnVisibility = (0,
|
|
6017
|
+
const toggleColumnVisibility = (0, import_react37.useCallback)(
|
|
6071
6018
|
(index, visible) => {
|
|
6072
6019
|
dispatch({ type: "UPDATE", index, payload: { meta: { visible } } });
|
|
6073
6020
|
},
|
|
6074
6021
|
[dispatch]
|
|
6075
6022
|
);
|
|
6076
|
-
return /* @__PURE__ */ (0,
|
|
6023
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
6077
6024
|
"div",
|
|
6078
6025
|
{
|
|
6079
6026
|
id: id ? `${id}-column-selector` : void 0,
|
|
@@ -6081,7 +6028,7 @@ function ColumnSelector() {
|
|
|
6081
6028
|
className: "text-text-secondary-normal border-l border-brand-200 p-mobile-container-padding",
|
|
6082
6029
|
ref,
|
|
6083
6030
|
children: [
|
|
6084
|
-
/* @__PURE__ */ (0,
|
|
6031
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6085
6032
|
Button,
|
|
6086
6033
|
{
|
|
6087
6034
|
id: id ? `${id}-button` : void 0,
|
|
@@ -6090,10 +6037,10 @@ function ColumnSelector() {
|
|
|
6090
6037
|
variant: "navigation",
|
|
6091
6038
|
iconOnly: true,
|
|
6092
6039
|
size: 24,
|
|
6093
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
6040
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { name: "tune" })
|
|
6094
6041
|
}
|
|
6095
6042
|
),
|
|
6096
|
-
/* @__PURE__ */ (0,
|
|
6043
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
6097
6044
|
Menu,
|
|
6098
6045
|
{
|
|
6099
6046
|
id: id ? `${id}-menu` : void 0,
|
|
@@ -6104,7 +6051,7 @@ function ColumnSelector() {
|
|
|
6104
6051
|
setShow,
|
|
6105
6052
|
calculateMinMaxHeight: true,
|
|
6106
6053
|
children: [
|
|
6107
|
-
/* @__PURE__ */ (0,
|
|
6054
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6108
6055
|
Button,
|
|
6109
6056
|
{
|
|
6110
6057
|
id: id ? `${id}-reset-button` : void 0,
|
|
@@ -6122,11 +6069,11 @@ function ColumnSelector() {
|
|
|
6122
6069
|
return (_a = x.meta) == null ? void 0 : _a.inVisibilityMenu;
|
|
6123
6070
|
}).map((column) => {
|
|
6124
6071
|
var _a, _b, _c;
|
|
6125
|
-
return /* @__PURE__ */ (0,
|
|
6072
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6126
6073
|
MenuOption,
|
|
6127
6074
|
{
|
|
6128
6075
|
testid: testid ? `${testid}-option-${column.id}` : void 0,
|
|
6129
|
-
children: /* @__PURE__ */ (0,
|
|
6076
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6130
6077
|
Checkbox,
|
|
6131
6078
|
{
|
|
6132
6079
|
id: id ? `${id}-checkbox-${column.id}` : void 0,
|
|
@@ -6156,7 +6103,7 @@ function ColumnSelector() {
|
|
|
6156
6103
|
}
|
|
6157
6104
|
|
|
6158
6105
|
// src/components/MobileDataGrid/MobileDataGridHeader.tsx
|
|
6159
|
-
var
|
|
6106
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
6160
6107
|
function MobileDataGridHeader({
|
|
6161
6108
|
header: Header,
|
|
6162
6109
|
enableColumnSelector,
|
|
@@ -6174,15 +6121,15 @@ function MobileDataGridHeader({
|
|
|
6174
6121
|
handleRowSelectAll
|
|
6175
6122
|
} = ctx;
|
|
6176
6123
|
if (typeof Header === "undefined" && !primaryKey) return null;
|
|
6177
|
-
if (typeof Header === "function") return /* @__PURE__ */ (0,
|
|
6124
|
+
if (typeof Header === "function") return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Header, __spreadValues({}, ctx));
|
|
6178
6125
|
if (typeof Header === "string" || primaryKey)
|
|
6179
|
-
return /* @__PURE__ */ (0,
|
|
6126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
6180
6127
|
"div",
|
|
6181
6128
|
{
|
|
6182
6129
|
id: id ? `${id}-header` : void 0,
|
|
6183
6130
|
"data-testid": testid ? `${testid}-header` : void 0,
|
|
6184
6131
|
className: "sticky top-0",
|
|
6185
|
-
children: /* @__PURE__ */ (0,
|
|
6132
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Theme, { theme: "brand", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
6186
6133
|
Stack,
|
|
6187
6134
|
{
|
|
6188
6135
|
horizontal: true,
|
|
@@ -6192,7 +6139,7 @@ function MobileDataGridHeader({
|
|
|
6192
6139
|
backgroundColor: "background-primary-normal",
|
|
6193
6140
|
style: { borderTopRightRadius: 4, borderTopLeftRadius: 4 },
|
|
6194
6141
|
children: [
|
|
6195
|
-
enableRowSelection && /* @__PURE__ */ (0,
|
|
6142
|
+
enableRowSelection && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "p-mobile-component-padding border-r border-brand-200 max-w-fit h-full", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
6196
6143
|
Checkbox,
|
|
6197
6144
|
{
|
|
6198
6145
|
id: id ? `${id}-select-all-checkbox` : void 0,
|
|
@@ -6202,7 +6149,7 @@ function MobileDataGridHeader({
|
|
|
6202
6149
|
onChange: handleRowSelectAll
|
|
6203
6150
|
}
|
|
6204
6151
|
) }),
|
|
6205
|
-
/* @__PURE__ */ (0,
|
|
6152
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
6206
6153
|
Stack,
|
|
6207
6154
|
{
|
|
6208
6155
|
horizontal: true,
|
|
@@ -6210,10 +6157,10 @@ function MobileDataGridHeader({
|
|
|
6210
6157
|
items: "center",
|
|
6211
6158
|
sizing: "component",
|
|
6212
6159
|
padding: true,
|
|
6213
|
-
children: /* @__PURE__ */ (0,
|
|
6160
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Heading3, { as: "span", color: "text-primary-normal", children: typeof Header === "string" ? Header : (_b = (_a = columns.find((col) => col.id === primaryKey)) == null ? void 0 : _a.header) == null ? void 0 : _b.toString() })
|
|
6214
6161
|
}
|
|
6215
6162
|
),
|
|
6216
|
-
enableColumnSelector && /* @__PURE__ */ (0,
|
|
6163
|
+
enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ColumnSelector, {})
|
|
6217
6164
|
]
|
|
6218
6165
|
}
|
|
6219
6166
|
) })
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MobileDataGridHeader
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-JWVZOEF5.js";
|
|
4
4
|
import "../../chunk-M7INAUAJ.js";
|
|
5
5
|
import "../../chunk-ELXVDRWS.js";
|
|
6
6
|
import "../../chunk-3UUCDNX3.js";
|
|
7
7
|
import "../../chunk-FJRYHJUV.js";
|
|
8
8
|
import "../../chunk-BQNPOGD5.js";
|
|
9
9
|
import "../../chunk-Y5GD2FJA.js";
|
|
10
|
-
import "../../chunk-6XLESQ2U.js";
|
|
11
|
-
import "../../chunk-VOSQMHNF.js";
|
|
12
|
-
import "../../chunk-YJGDVWTH.js";
|
|
13
|
-
import "../../chunk-S5ZJ3Q7P.js";
|
|
14
10
|
import "../../chunk-MBZ55T2D.js";
|
|
15
11
|
import "../../chunk-2IKT6IHB.js";
|
|
16
12
|
import "../../chunk-YCDDBSVU.js";
|
|
@@ -20,7 +16,6 @@ import "../../chunk-5YNEY3WO.js";
|
|
|
20
16
|
import "../../chunk-5IFPG6TS.js";
|
|
21
17
|
import "../../chunk-AJ5M6MVX.js";
|
|
22
18
|
import "../../chunk-UI7P5J5S.js";
|
|
23
|
-
import "../../chunk-56RPZLV7.js";
|
|
24
19
|
import "../../chunk-MDB26F6T.js";
|
|
25
20
|
import "../../chunk-AT4AWD6B.js";
|
|
26
21
|
import "../../chunk-EWGHVZL5.js";
|
|
@@ -36,7 +31,6 @@ import "../../chunk-CMMQTIVM.js";
|
|
|
36
31
|
import "../../chunk-AG43RS4Q.js";
|
|
37
32
|
import "../../chunk-AKJUBFJK.js";
|
|
38
33
|
import "../../chunk-SUSUNSVZ.js";
|
|
39
|
-
import "../../chunk-SBRRNFOP.js";
|
|
40
34
|
import "../../chunk-Y2GK27RX.js";
|
|
41
35
|
import "../../chunk-QVWYTQKL.js";
|
|
42
36
|
import "../../chunk-F6RZ7MUE.js";
|