@dmsi/wedgekit-react 0.0.414 → 0.0.415
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-7ULLUUVJ.js +61 -0
- package/dist/components/CalendarRange.cjs +39 -35
- package/dist/components/CalendarRange.css +9 -0
- package/dist/components/CalendarRange.js +6 -5
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +6 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +9 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +6 -5
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +13 -9
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +9 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +6 -5
- package/dist/components/DataGrid/PinnedColumns.cjs +27 -23
- package/dist/components/DataGrid/PinnedColumns.css +9 -0
- package/dist/components/DataGrid/PinnedColumns.js +6 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +9 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.css +9 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.js +6 -5
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +14 -10
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +9 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +6 -5
- package/dist/components/DataGrid/TableBody/index.cjs +29 -25
- package/dist/components/DataGrid/TableBody/index.css +9 -0
- package/dist/components/DataGrid/TableBody/index.js +6 -5
- package/dist/components/DataGrid/index.cjs +98 -94
- package/dist/components/DataGrid/index.css +9 -0
- package/dist/components/DataGrid/index.js +6 -5
- package/dist/components/DataGrid/utils.cjs +9 -5
- package/dist/components/DataGrid/utils.css +9 -0
- package/dist/components/DataGrid/utils.js +6 -5
- package/dist/components/DateInput.cjs +45 -41
- package/dist/components/DateInput.css +9 -0
- package/dist/components/DateInput.js +6 -5
- package/dist/components/DateRangeInput.cjs +45 -41
- package/dist/components/DateRangeInput.css +9 -0
- package/dist/components/DateRangeInput.js +6 -5
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +12 -8
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +9 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +6 -5
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +20 -16
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +9 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +6 -5
- package/dist/components/MobileDataGrid/index.cjs +103 -99
- package/dist/components/MobileDataGrid/index.css +9 -0
- package/dist/components/MobileDataGrid/index.js +6 -5
- package/dist/components/ProductImagePreview/index.js +2 -2
- package/dist/components/SimpleTable.cjs +485 -0
- package/dist/components/SimpleTable.js +10 -0
- package/dist/components/index.cjs +53 -0
- package/dist/components/index.css +9 -0
- package/dist/components/index.js +9 -5
- package/dist/index.css +9 -0
- package/package.json +1 -1
- package/src/components/SimpleTable.tsx +77 -0
- package/src/components/index.ts +1 -0
- package/dist/{chunk-OBY5EH47.js → chunk-BK7SPR6Y.js} +6 -6
- package/dist/{chunk-LZGYABCX.js → chunk-ZHZIIVJN.js} +3 -3
|
@@ -4403,6 +4403,10 @@ var import_react26 = require("react");
|
|
|
4403
4403
|
var import_clsx26 = __toESM(require("clsx"), 1);
|
|
4404
4404
|
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
4405
4405
|
|
|
4406
|
+
// src/components/SimpleTable.tsx
|
|
4407
|
+
var import_clsx27 = __toESM(require("clsx"), 1);
|
|
4408
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
4409
|
+
|
|
4406
4410
|
// src/components/MobileDataGrid/GridContextProvider/useGridContext.ts
|
|
4407
4411
|
var import_react28 = require("react");
|
|
4408
4412
|
|
|
@@ -4420,7 +4424,7 @@ function useGridContext() {
|
|
|
4420
4424
|
}
|
|
4421
4425
|
|
|
4422
4426
|
// src/components/MobileDataGrid/ColumnSelector/index.tsx
|
|
4423
|
-
var
|
|
4427
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
4424
4428
|
function ColumnSelector() {
|
|
4425
4429
|
const context = useGridContext();
|
|
4426
4430
|
const ref = (0, import_react29.useRef)(null);
|
|
@@ -4441,7 +4445,7 @@ function ColumnSelector() {
|
|
|
4441
4445
|
},
|
|
4442
4446
|
[dispatch]
|
|
4443
4447
|
);
|
|
4444
|
-
return /* @__PURE__ */ (0,
|
|
4448
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
4445
4449
|
"div",
|
|
4446
4450
|
{
|
|
4447
4451
|
id: id ? `${id}-column-selector` : void 0,
|
|
@@ -4449,7 +4453,7 @@ function ColumnSelector() {
|
|
|
4449
4453
|
className: "text-text-secondary-normal border-l border-brand-200 p-mobile-container-padding",
|
|
4450
4454
|
ref,
|
|
4451
4455
|
children: [
|
|
4452
|
-
/* @__PURE__ */ (0,
|
|
4456
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4453
4457
|
Button,
|
|
4454
4458
|
{
|
|
4455
4459
|
id: id ? `${id}-button` : void 0,
|
|
@@ -4458,10 +4462,10 @@ function ColumnSelector() {
|
|
|
4458
4462
|
variant: "navigation",
|
|
4459
4463
|
iconOnly: true,
|
|
4460
4464
|
size: 24,
|
|
4461
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
4465
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon, { name: "tune" })
|
|
4462
4466
|
}
|
|
4463
4467
|
),
|
|
4464
|
-
/* @__PURE__ */ (0,
|
|
4468
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
4465
4469
|
Menu,
|
|
4466
4470
|
{
|
|
4467
4471
|
id: id ? `${id}-menu` : void 0,
|
|
@@ -4472,7 +4476,7 @@ function ColumnSelector() {
|
|
|
4472
4476
|
setShow,
|
|
4473
4477
|
calculateMinMaxHeight: true,
|
|
4474
4478
|
children: [
|
|
4475
|
-
/* @__PURE__ */ (0,
|
|
4479
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4476
4480
|
Button,
|
|
4477
4481
|
{
|
|
4478
4482
|
id: id ? `${id}-reset-button` : void 0,
|
|
@@ -4490,11 +4494,11 @@ function ColumnSelector() {
|
|
|
4490
4494
|
return (_a = x.meta) == null ? void 0 : _a.inVisibilityMenu;
|
|
4491
4495
|
}).map((column) => {
|
|
4492
4496
|
var _a, _b, _c;
|
|
4493
|
-
return /* @__PURE__ */ (0,
|
|
4497
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4494
4498
|
MenuOption,
|
|
4495
4499
|
{
|
|
4496
4500
|
testid: testid ? `${testid}-option-${column.id}` : void 0,
|
|
4497
|
-
children: /* @__PURE__ */ (0,
|
|
4501
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4498
4502
|
Checkbox,
|
|
4499
4503
|
{
|
|
4500
4504
|
id: id ? `${id}-checkbox-${column.id}` : void 0,
|
|
@@ -4524,7 +4528,7 @@ function ColumnSelector() {
|
|
|
4524
4528
|
}
|
|
4525
4529
|
|
|
4526
4530
|
// src/components/MobileDataGrid/MobileDataGridHeader.tsx
|
|
4527
|
-
var
|
|
4531
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
4528
4532
|
function MobileDataGridHeader({
|
|
4529
4533
|
header: Header,
|
|
4530
4534
|
enableColumnSelector,
|
|
@@ -4542,15 +4546,15 @@ function MobileDataGridHeader({
|
|
|
4542
4546
|
handleRowSelectAll
|
|
4543
4547
|
} = ctx;
|
|
4544
4548
|
if (typeof Header === "undefined" && !primaryKey) return null;
|
|
4545
|
-
if (typeof Header === "function") return /* @__PURE__ */ (0,
|
|
4549
|
+
if (typeof Header === "function") return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Header, __spreadValues({}, ctx));
|
|
4546
4550
|
if (typeof Header === "string" || primaryKey)
|
|
4547
|
-
return /* @__PURE__ */ (0,
|
|
4551
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4548
4552
|
"div",
|
|
4549
4553
|
{
|
|
4550
4554
|
id: id ? `${id}-header` : void 0,
|
|
4551
4555
|
"data-testid": testid ? `${testid}-header` : void 0,
|
|
4552
4556
|
className: "sticky top-0",
|
|
4553
|
-
children: /* @__PURE__ */ (0,
|
|
4557
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Theme, { theme: "brand", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
4554
4558
|
Stack,
|
|
4555
4559
|
{
|
|
4556
4560
|
horizontal: true,
|
|
@@ -4559,7 +4563,7 @@ function MobileDataGridHeader({
|
|
|
4559
4563
|
justify: "between",
|
|
4560
4564
|
backgroundColor: "background-primary-normal",
|
|
4561
4565
|
children: [
|
|
4562
|
-
enableRowSelection && /* @__PURE__ */ (0,
|
|
4566
|
+
enableRowSelection && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "p-mobile-component-padding border-r border-brand-200 max-w-fit h-full", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4563
4567
|
Checkbox,
|
|
4564
4568
|
{
|
|
4565
4569
|
id: id ? `${id}-select-all-checkbox` : void 0,
|
|
@@ -4569,7 +4573,7 @@ function MobileDataGridHeader({
|
|
|
4569
4573
|
onChange: handleRowSelectAll
|
|
4570
4574
|
}
|
|
4571
4575
|
) }),
|
|
4572
|
-
/* @__PURE__ */ (0,
|
|
4576
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4573
4577
|
Stack,
|
|
4574
4578
|
{
|
|
4575
4579
|
horizontal: true,
|
|
@@ -4577,10 +4581,10 @@ function MobileDataGridHeader({
|
|
|
4577
4581
|
items: "center",
|
|
4578
4582
|
sizing: "component",
|
|
4579
4583
|
padding: true,
|
|
4580
|
-
children: /* @__PURE__ */ (0,
|
|
4584
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.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() })
|
|
4581
4585
|
}
|
|
4582
4586
|
),
|
|
4583
|
-
enableColumnSelector && /* @__PURE__ */ (0,
|
|
4587
|
+
enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ColumnSelector, {})
|
|
4584
4588
|
]
|
|
4585
4589
|
}
|
|
4586
4590
|
) })
|
|
@@ -4619,7 +4623,7 @@ function dataGridReducer(state, action) {
|
|
|
4619
4623
|
}
|
|
4620
4624
|
|
|
4621
4625
|
// src/components/MobileDataGrid/GridContextProvider/index.tsx
|
|
4622
|
-
var
|
|
4626
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
4623
4627
|
function GridContextProvider(props) {
|
|
4624
4628
|
const {
|
|
4625
4629
|
initialColumns,
|
|
@@ -4690,7 +4694,7 @@ function GridContextProvider(props) {
|
|
|
4690
4694
|
return ((_a = x.meta) == null ? void 0 : _a.visible) !== false;
|
|
4691
4695
|
}).slice(0, effectiveLimit);
|
|
4692
4696
|
}, [columns, numberOfColumnsToShow, primaryKey]);
|
|
4693
|
-
return /* @__PURE__ */ (0,
|
|
4697
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
4694
4698
|
GridContext.Provider,
|
|
4695
4699
|
{
|
|
4696
4700
|
value: {
|
|
@@ -4718,12 +4722,12 @@ function GridContextProvider(props) {
|
|
|
4718
4722
|
}
|
|
4719
4723
|
|
|
4720
4724
|
// src/components/Modal.tsx
|
|
4721
|
-
var
|
|
4725
|
+
var import_clsx32 = __toESM(require("clsx"), 1);
|
|
4722
4726
|
var import_react32 = require("react");
|
|
4723
4727
|
|
|
4724
4728
|
// src/components/ModalHeader.tsx
|
|
4725
|
-
var
|
|
4726
|
-
var
|
|
4729
|
+
var import_clsx28 = __toESM(require("clsx"), 1);
|
|
4730
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
4727
4731
|
var ModalHeader = ({
|
|
4728
4732
|
title,
|
|
4729
4733
|
hideCloseIcon,
|
|
@@ -4734,12 +4738,12 @@ var ModalHeader = ({
|
|
|
4734
4738
|
testid,
|
|
4735
4739
|
headerClassname
|
|
4736
4740
|
}) => {
|
|
4737
|
-
return /* @__PURE__ */ (0,
|
|
4741
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
4738
4742
|
"div",
|
|
4739
4743
|
{
|
|
4740
4744
|
id,
|
|
4741
4745
|
"data-testid": testid,
|
|
4742
|
-
className: (0,
|
|
4746
|
+
className: (0, import_clsx28.default)(
|
|
4743
4747
|
"flex justify-between items-center",
|
|
4744
4748
|
headerIconAlign === "center" && "justify-center",
|
|
4745
4749
|
headerIconAlign === "right" && "justify-end",
|
|
@@ -4749,9 +4753,9 @@ var ModalHeader = ({
|
|
|
4749
4753
|
headerClassname
|
|
4750
4754
|
),
|
|
4751
4755
|
children: [
|
|
4752
|
-
/* @__PURE__ */ (0,
|
|
4756
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: (0, import_clsx28.default)("flex items-center flex-1", layoutGroupGap), children: [
|
|
4753
4757
|
headerIcon,
|
|
4754
|
-
title && /* @__PURE__ */ (0,
|
|
4758
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
4755
4759
|
Heading2,
|
|
4756
4760
|
{
|
|
4757
4761
|
id: id ? `${id}-title` : void 0,
|
|
@@ -4761,7 +4765,7 @@ var ModalHeader = ({
|
|
|
4761
4765
|
}
|
|
4762
4766
|
)
|
|
4763
4767
|
] }),
|
|
4764
|
-
!hideCloseIcon && /* @__PURE__ */ (0,
|
|
4768
|
+
!hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
4765
4769
|
Button,
|
|
4766
4770
|
{
|
|
4767
4771
|
id: id ? `${id}-close-button` : void 0,
|
|
@@ -4769,7 +4773,7 @@ var ModalHeader = ({
|
|
|
4769
4773
|
iconOnly: true,
|
|
4770
4774
|
variant: "tertiary",
|
|
4771
4775
|
onClick: onClose,
|
|
4772
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
4776
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-brand-text-action-primary-normal desktop:text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { name: "close", size: 24 }) })
|
|
4773
4777
|
}
|
|
4774
4778
|
)
|
|
4775
4779
|
]
|
|
@@ -4779,20 +4783,20 @@ var ModalHeader = ({
|
|
|
4779
4783
|
ModalHeader.displayName = "ModalHeader";
|
|
4780
4784
|
|
|
4781
4785
|
// src/components/ModalContent.tsx
|
|
4782
|
-
var
|
|
4783
|
-
var
|
|
4786
|
+
var import_clsx29 = __toESM(require("clsx"), 1);
|
|
4787
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
4784
4788
|
function ModalContent({
|
|
4785
4789
|
fixedHeightScrolling,
|
|
4786
4790
|
children,
|
|
4787
4791
|
id,
|
|
4788
4792
|
testid
|
|
4789
4793
|
}) {
|
|
4790
|
-
return /* @__PURE__ */ (0,
|
|
4794
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
4791
4795
|
"div",
|
|
4792
4796
|
{
|
|
4793
4797
|
id,
|
|
4794
4798
|
"data-testid": testid,
|
|
4795
|
-
className: (0,
|
|
4799
|
+
className: (0, import_clsx29.default)(
|
|
4796
4800
|
"flex-grow desktop:flex-grow-0",
|
|
4797
4801
|
layoutPaddding,
|
|
4798
4802
|
fixedHeightScrolling && "overflow-auto"
|
|
@@ -4804,8 +4808,8 @@ function ModalContent({
|
|
|
4804
4808
|
ModalContent.displayName = "ModalContent";
|
|
4805
4809
|
|
|
4806
4810
|
// src/components/ModalButtons.tsx
|
|
4807
|
-
var
|
|
4808
|
-
var
|
|
4811
|
+
var import_clsx30 = __toESM(require("clsx"), 1);
|
|
4812
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
4809
4813
|
var ModalButtons = ({
|
|
4810
4814
|
onClose,
|
|
4811
4815
|
onContinue,
|
|
@@ -4813,36 +4817,36 @@ var ModalButtons = ({
|
|
|
4813
4817
|
id,
|
|
4814
4818
|
testid
|
|
4815
4819
|
}) => {
|
|
4816
|
-
return /* @__PURE__ */ (0,
|
|
4820
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
4817
4821
|
"div",
|
|
4818
4822
|
{
|
|
4819
4823
|
id,
|
|
4820
4824
|
"data-testid": testid,
|
|
4821
|
-
className: (0,
|
|
4825
|
+
className: (0, import_clsx30.default)(
|
|
4822
4826
|
"border-t border-neutral-300 flex justify-end",
|
|
4823
4827
|
layoutPaddding,
|
|
4824
4828
|
layoutGroupGap
|
|
4825
4829
|
),
|
|
4826
|
-
children: customActions != null ? customActions : /* @__PURE__ */ (0,
|
|
4827
|
-
/* @__PURE__ */ (0,
|
|
4830
|
+
children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
|
|
4831
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
4828
4832
|
Button,
|
|
4829
4833
|
{
|
|
4830
4834
|
id: id ? `${id}-close-button` : void 0,
|
|
4831
4835
|
testid: testid ? `${testid}-close-button` : void 0,
|
|
4832
4836
|
variant: "secondary",
|
|
4833
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
4837
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { name: "close", size: 24 }),
|
|
4834
4838
|
onClick: onClose,
|
|
4835
4839
|
className: "max-sm:w-full",
|
|
4836
4840
|
children: "Close"
|
|
4837
4841
|
}
|
|
4838
4842
|
),
|
|
4839
|
-
/* @__PURE__ */ (0,
|
|
4843
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
4840
4844
|
Button,
|
|
4841
4845
|
{
|
|
4842
4846
|
id: id ? `${id}-continue-button` : void 0,
|
|
4843
4847
|
testid: testid ? `${testid}-continue-button` : void 0,
|
|
4844
4848
|
variant: "primary",
|
|
4845
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
4849
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { name: "check", size: 24 }),
|
|
4846
4850
|
className: "max-sm:w-full",
|
|
4847
4851
|
onClick: onContinue,
|
|
4848
4852
|
children: "Continue"
|
|
@@ -4855,8 +4859,8 @@ var ModalButtons = ({
|
|
|
4855
4859
|
ModalButtons.displayName = "ModalButtons";
|
|
4856
4860
|
|
|
4857
4861
|
// src/components/ModalScrim.tsx
|
|
4858
|
-
var
|
|
4859
|
-
var
|
|
4862
|
+
var import_clsx31 = __toESM(require("clsx"), 1);
|
|
4863
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
4860
4864
|
var ModalScrim = ({
|
|
4861
4865
|
show = false,
|
|
4862
4866
|
size = "small",
|
|
@@ -4866,12 +4870,12 @@ var ModalScrim = ({
|
|
|
4866
4870
|
id,
|
|
4867
4871
|
testid
|
|
4868
4872
|
}) => {
|
|
4869
|
-
return /* @__PURE__ */ (0,
|
|
4873
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
4870
4874
|
"div",
|
|
4871
4875
|
{
|
|
4872
4876
|
id,
|
|
4873
4877
|
"data-testid": testid,
|
|
4874
|
-
className: (0,
|
|
4878
|
+
className: (0, import_clsx31.default)(
|
|
4875
4879
|
"overflow-y-auto h-screen transition-[visibility,opacity,background] ease-in-out duration-100 grid place-content-center group bg-neutral-600/50 fixed opacity-0",
|
|
4876
4880
|
!show && " pointer-events-none",
|
|
4877
4881
|
size === "small" && "p-4",
|
|
@@ -4902,7 +4906,7 @@ var useMounted = () => {
|
|
|
4902
4906
|
};
|
|
4903
4907
|
|
|
4904
4908
|
// src/components/Modal.tsx
|
|
4905
|
-
var
|
|
4909
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
4906
4910
|
var fadeInScale = (element, duration = 300) => element.animate(
|
|
4907
4911
|
[
|
|
4908
4912
|
{ opacity: 0, transform: "scale(0.95)" },
|
|
@@ -5074,7 +5078,7 @@ var Modal = ({
|
|
|
5074
5078
|
return null;
|
|
5075
5079
|
}
|
|
5076
5080
|
return (0, import_react_dom3.createPortal)(
|
|
5077
|
-
/* @__PURE__ */ (0,
|
|
5081
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5078
5082
|
ModalScrim,
|
|
5079
5083
|
{
|
|
5080
5084
|
id: id ? `${id}-scrim` : void 0,
|
|
@@ -5083,13 +5087,13 @@ var Modal = ({
|
|
|
5083
5087
|
ref: bgRef,
|
|
5084
5088
|
show: open,
|
|
5085
5089
|
onClick: backgroundClickHandler,
|
|
5086
|
-
children: /* @__PURE__ */ (0,
|
|
5090
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
5087
5091
|
"div",
|
|
5088
5092
|
{
|
|
5089
5093
|
id,
|
|
5090
5094
|
"data-testid": testid,
|
|
5091
5095
|
ref: modalRef,
|
|
5092
|
-
className: (0,
|
|
5096
|
+
className: (0, import_clsx32.default)(
|
|
5093
5097
|
"shadow-md rounded-sm flex flex-col overflow-hidden w-full opacity-0 h-fit",
|
|
5094
5098
|
computedFixedHeightScrolling && size !== "screen" && "desktop:max-h-[calc(100vh-32px)] desktop:h-auto",
|
|
5095
5099
|
className,
|
|
@@ -5098,7 +5102,7 @@ var Modal = ({
|
|
|
5098
5102
|
),
|
|
5099
5103
|
onClick: (e) => e.stopPropagation(),
|
|
5100
5104
|
children: [
|
|
5101
|
-
/* @__PURE__ */ (0,
|
|
5105
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5102
5106
|
ModalHeader,
|
|
5103
5107
|
{
|
|
5104
5108
|
id: id ? `${id}-header` : void 0,
|
|
@@ -5111,7 +5115,7 @@ var Modal = ({
|
|
|
5111
5115
|
headerClassname
|
|
5112
5116
|
}
|
|
5113
5117
|
),
|
|
5114
|
-
children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0,
|
|
5118
|
+
children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5115
5119
|
ModalContent,
|
|
5116
5120
|
{
|
|
5117
5121
|
id: id ? `${id}-content` : void 0,
|
|
@@ -5120,7 +5124,7 @@ var Modal = ({
|
|
|
5120
5124
|
children
|
|
5121
5125
|
}
|
|
5122
5126
|
) : children,
|
|
5123
|
-
showButtons ? customFooter ? customActions : /* @__PURE__ */ (0,
|
|
5127
|
+
showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5124
5128
|
ModalButtons,
|
|
5125
5129
|
{
|
|
5126
5130
|
id: id ? `${id}-buttons` : void 0,
|
|
@@ -5141,12 +5145,12 @@ var Modal = ({
|
|
|
5141
5145
|
Modal.displayName = "Modal";
|
|
5142
5146
|
|
|
5143
5147
|
// src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
|
|
5144
|
-
var
|
|
5148
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5145
5149
|
function MobileDataGridColumn(props) {
|
|
5146
5150
|
var _a;
|
|
5147
5151
|
const { column, data } = props;
|
|
5148
|
-
return /* @__PURE__ */ (0,
|
|
5149
|
-
/* @__PURE__ */ (0,
|
|
5152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "mb-2 grid grid-cols-2 gap-2 px-3 flex-1", children: [
|
|
5153
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
5150
5154
|
(_a = column.header) == null ? void 0 : _a.toString(),
|
|
5151
5155
|
":"
|
|
5152
5156
|
] }),
|
|
@@ -5156,28 +5160,28 @@ function MobileDataGridColumn(props) {
|
|
|
5156
5160
|
}
|
|
5157
5161
|
|
|
5158
5162
|
// src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx
|
|
5159
|
-
var
|
|
5163
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5160
5164
|
function ModalContent2() {
|
|
5161
5165
|
const context = useGridContext();
|
|
5162
5166
|
const { columns, currentRow } = context;
|
|
5163
5167
|
if (!currentRow) return null;
|
|
5164
|
-
return /* @__PURE__ */ (0,
|
|
5168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Stack, { sizing: "layout-group", children: columns.filter((x) => {
|
|
5165
5169
|
var _a;
|
|
5166
5170
|
return !((_a = x.id) == null ? void 0 : _a.startsWith("__"));
|
|
5167
5171
|
}).map(
|
|
5168
5172
|
(column, index) => {
|
|
5169
5173
|
var _a, _b;
|
|
5170
|
-
return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0,
|
|
5174
|
+
return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
5171
5175
|
"div",
|
|
5172
5176
|
{
|
|
5173
5177
|
className: "mb-2 grid grid-cols-2 gap-2 px-3 items-center flex-1",
|
|
5174
5178
|
children: [
|
|
5175
|
-
/* @__PURE__ */ (0,
|
|
5179
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
5176
5180
|
(_b = column.header) == null ? void 0 : _b.toString(),
|
|
5177
5181
|
":"
|
|
5178
5182
|
] }),
|
|
5179
5183
|
" ",
|
|
5180
|
-
/* @__PURE__ */ (0,
|
|
5184
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5181
5185
|
column.meta.mobileCell,
|
|
5182
5186
|
{
|
|
5183
5187
|
column,
|
|
@@ -5188,7 +5192,7 @@ function ModalContent2() {
|
|
|
5188
5192
|
]
|
|
5189
5193
|
},
|
|
5190
5194
|
`${column.id}-${index}`
|
|
5191
|
-
) : /* @__PURE__ */ (0,
|
|
5195
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5192
5196
|
MobileDataGridColumn,
|
|
5193
5197
|
{
|
|
5194
5198
|
column,
|
|
@@ -5201,7 +5205,7 @@ function ModalContent2() {
|
|
|
5201
5205
|
}
|
|
5202
5206
|
|
|
5203
5207
|
// src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
|
|
5204
|
-
var
|
|
5208
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5205
5209
|
function RowDetailModalProvider() {
|
|
5206
5210
|
var _a;
|
|
5207
5211
|
const context = useGridContext();
|
|
@@ -5213,7 +5217,7 @@ function RowDetailModalProvider() {
|
|
|
5213
5217
|
primaryKey,
|
|
5214
5218
|
closeRowDetail
|
|
5215
5219
|
} = context;
|
|
5216
|
-
return /* @__PURE__ */ (0,
|
|
5220
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
5217
5221
|
Modal,
|
|
5218
5222
|
{
|
|
5219
5223
|
fixedHeightScrolling: true,
|
|
@@ -5222,7 +5226,7 @@ function RowDetailModalProvider() {
|
|
|
5222
5226
|
hideCloseIcon: true,
|
|
5223
5227
|
size: "medium",
|
|
5224
5228
|
className: "!p-0",
|
|
5225
|
-
headerIcon: /* @__PURE__ */ (0,
|
|
5229
|
+
headerIcon: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
5226
5230
|
Stack,
|
|
5227
5231
|
{
|
|
5228
5232
|
horizontal: true,
|
|
@@ -5231,8 +5235,8 @@ function RowDetailModalProvider() {
|
|
|
5231
5235
|
justify: "between",
|
|
5232
5236
|
width: "full",
|
|
5233
5237
|
children: [
|
|
5234
|
-
/* @__PURE__ */ (0,
|
|
5235
|
-
/* @__PURE__ */ (0,
|
|
5238
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Heading2, { children: (_a = currentRow == null ? void 0 : currentRow[primaryKey != null ? primaryKey : "id"]) != null ? _a : "Grid Detail" }),
|
|
5239
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
5236
5240
|
Button,
|
|
5237
5241
|
{
|
|
5238
5242
|
id: id ? `${id}-open-in-new-button` : void 0,
|
|
@@ -5240,25 +5244,25 @@ function RowDetailModalProvider() {
|
|
|
5240
5244
|
iconOnly: true,
|
|
5241
5245
|
variant: "tertiary",
|
|
5242
5246
|
onClick: closeRowDetail,
|
|
5243
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
5247
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { name: "open_in_new", size: 24 }) })
|
|
5244
5248
|
}
|
|
5245
5249
|
)
|
|
5246
5250
|
]
|
|
5247
5251
|
}
|
|
5248
5252
|
),
|
|
5249
|
-
customActions: /* @__PURE__ */ (0,
|
|
5253
|
+
customActions: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, { onClick: closeRowDetail, className: "w-full", children: "Close" }),
|
|
5250
5254
|
showButtons: true,
|
|
5251
|
-
children: /* @__PURE__ */ (0,
|
|
5255
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "bg-white max-h-full flex flex-col flex-grow-1", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ModalContent2, {}) })
|
|
5252
5256
|
}
|
|
5253
5257
|
);
|
|
5254
5258
|
}
|
|
5255
5259
|
|
|
5256
5260
|
// src/components/MobileDataGrid/ColumnList.tsx
|
|
5257
|
-
var
|
|
5261
|
+
var import_clsx34 = __toESM(require("clsx"), 1);
|
|
5258
5262
|
|
|
5259
5263
|
// src/components/MobileDataGrid/MobileDataGridCard/index.tsx
|
|
5260
|
-
var
|
|
5261
|
-
var
|
|
5264
|
+
var import_clsx33 = __toESM(require("clsx"), 1);
|
|
5265
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
5262
5266
|
function MobileDataGridCard({
|
|
5263
5267
|
renderLink,
|
|
5264
5268
|
renderChevron = true,
|
|
@@ -5270,27 +5274,27 @@ function MobileDataGridCard({
|
|
|
5270
5274
|
var _a;
|
|
5271
5275
|
const context = useGridContext();
|
|
5272
5276
|
const { id, testid, visibleColumns, getId, handleRowSelect, openRowDetail } = context;
|
|
5273
|
-
return /* @__PURE__ */ (0,
|
|
5277
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
5274
5278
|
"li",
|
|
5275
5279
|
{
|
|
5276
5280
|
id: id ? `${id}-card-${getId(data)}` : void 0,
|
|
5277
5281
|
"data-testid": testid ? `${testid}-card-${getId(data)}` : void 0,
|
|
5278
|
-
className: (0,
|
|
5282
|
+
className: (0, import_clsx33.default)(
|
|
5279
5283
|
"hover:bg-action-100 cursor-pointer list-none",
|
|
5280
5284
|
selected ? "bg-action-100" : "bg-background-grouped-primary-normal"
|
|
5281
5285
|
),
|
|
5282
5286
|
onClick: () => openRowDetail(data),
|
|
5283
5287
|
children: [
|
|
5284
|
-
/* @__PURE__ */ (0,
|
|
5285
|
-
/* @__PURE__ */ (0,
|
|
5286
|
-
enableRowSelection && /* @__PURE__ */ (0,
|
|
5288
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Stack, { sizing: "component", children: [
|
|
5289
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Stack, { horizontal: true, horizontalMobile: true, items: "center", justify: "between", children: [
|
|
5290
|
+
enableRowSelection && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
5287
5291
|
Stack,
|
|
5288
5292
|
{
|
|
5289
5293
|
sizing: "component",
|
|
5290
5294
|
padding: true,
|
|
5291
5295
|
width: "fit",
|
|
5292
5296
|
onClick: (e) => e.stopPropagation(),
|
|
5293
|
-
children: /* @__PURE__ */ (0,
|
|
5297
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
5294
5298
|
Checkbox,
|
|
5295
5299
|
{
|
|
5296
5300
|
id: id ? `${id}-${getId(data)}-select-checkbox` : void 0,
|
|
@@ -5301,16 +5305,16 @@ function MobileDataGridCard({
|
|
|
5301
5305
|
)
|
|
5302
5306
|
}
|
|
5303
5307
|
),
|
|
5304
|
-
/* @__PURE__ */ (0,
|
|
5308
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
5305
5309
|
Stack,
|
|
5306
5310
|
{
|
|
5307
5311
|
sizing: "component",
|
|
5308
5312
|
padding: true,
|
|
5309
5313
|
onClick: (e) => e.stopPropagation(),
|
|
5310
|
-
children: renderLink ? renderLink(data) : /* @__PURE__ */ (0,
|
|
5314
|
+
children: renderLink ? renderLink(data) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Subheader, { children: String((_a = data[context.primaryKey]) != null ? _a : "") })
|
|
5311
5315
|
}
|
|
5312
5316
|
),
|
|
5313
|
-
/* @__PURE__ */ (0,
|
|
5317
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
5314
5318
|
Stack,
|
|
5315
5319
|
{
|
|
5316
5320
|
horizontal: true,
|
|
@@ -5323,18 +5327,18 @@ function MobileDataGridCard({
|
|
|
5323
5327
|
}
|
|
5324
5328
|
)
|
|
5325
5329
|
] }),
|
|
5326
|
-
/* @__PURE__ */ (0,
|
|
5330
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Stack, { sizing: "layout-group", children: visibleColumns.filter((x) => {
|
|
5327
5331
|
var _a2, _b;
|
|
5328
5332
|
return ((_a2 = x.meta) == null ? void 0 : _a2.visible) !== false && !((_b = x.id) == null ? void 0 : _b.startsWith("__"));
|
|
5329
5333
|
}).map(
|
|
5330
5334
|
(column, index) => {
|
|
5331
5335
|
var _a2, _b;
|
|
5332
|
-
return ((_a2 = column.meta) == null ? void 0 : _a2.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0,
|
|
5336
|
+
return ((_a2 = column.meta) == null ? void 0 : _a2.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
5333
5337
|
"div",
|
|
5334
5338
|
{
|
|
5335
5339
|
className: "mb-2 grid grid-cols-2 gap-2 px-3 items-center flex-1",
|
|
5336
5340
|
children: [
|
|
5337
|
-
/* @__PURE__ */ (0,
|
|
5341
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
5338
5342
|
Paragraph,
|
|
5339
5343
|
{
|
|
5340
5344
|
color: "text-secondary-normal",
|
|
@@ -5346,7 +5350,7 @@ function MobileDataGridCard({
|
|
|
5346
5350
|
}
|
|
5347
5351
|
),
|
|
5348
5352
|
" ",
|
|
5349
|
-
/* @__PURE__ */ (0,
|
|
5353
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
5350
5354
|
column.meta.mobileCell,
|
|
5351
5355
|
{
|
|
5352
5356
|
column,
|
|
@@ -5357,7 +5361,7 @@ function MobileDataGridCard({
|
|
|
5357
5361
|
]
|
|
5358
5362
|
},
|
|
5359
5363
|
`${column.id}-${index}`
|
|
5360
|
-
) : /* @__PURE__ */ (0,
|
|
5364
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
5361
5365
|
MobileDataGridColumn,
|
|
5362
5366
|
{
|
|
5363
5367
|
column,
|
|
@@ -5368,14 +5372,14 @@ function MobileDataGridCard({
|
|
|
5368
5372
|
}
|
|
5369
5373
|
) })
|
|
5370
5374
|
] }),
|
|
5371
|
-
renderChevron && /* @__PURE__ */ (0,
|
|
5375
|
+
renderChevron && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Stack, { items: "center", justify: "center", horizontal: true, horizontalMobile: true, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, { name: "keyboard_arrow_down" }) })
|
|
5372
5376
|
]
|
|
5373
5377
|
}
|
|
5374
5378
|
);
|
|
5375
5379
|
}
|
|
5376
5380
|
|
|
5377
5381
|
// src/components/MobileDataGrid/ColumnList.tsx
|
|
5378
|
-
var
|
|
5382
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5379
5383
|
function ColumnList(props) {
|
|
5380
5384
|
const {
|
|
5381
5385
|
withBorder,
|
|
@@ -5387,19 +5391,19 @@ function ColumnList(props) {
|
|
|
5387
5391
|
} = props;
|
|
5388
5392
|
const ctx = useGridContext();
|
|
5389
5393
|
const { id, testid, data, getId, selectedRowIds } = ctx;
|
|
5390
|
-
return /* @__PURE__ */ (0,
|
|
5394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5391
5395
|
"div",
|
|
5392
5396
|
{
|
|
5393
|
-
className: (0,
|
|
5397
|
+
className: (0, import_clsx34.default)(
|
|
5394
5398
|
"flex flex-col flex-1 relative overflow-y-auto overflow-x-hidden",
|
|
5395
5399
|
!!Footer && "mb-20"
|
|
5396
5400
|
),
|
|
5397
|
-
children: /* @__PURE__ */ (0,
|
|
5401
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
5398
5402
|
"ul",
|
|
5399
5403
|
{
|
|
5400
5404
|
id,
|
|
5401
5405
|
"data-testid": testid,
|
|
5402
|
-
className: (0,
|
|
5406
|
+
className: (0, import_clsx34.default)(
|
|
5403
5407
|
"rounded absolute top-0 left-0 w-full flex-1",
|
|
5404
5408
|
"divide-y divide-border-primary-normal",
|
|
5405
5409
|
withBorder && "border border-border-primary-normal"
|
|
@@ -5407,7 +5411,7 @@ function ColumnList(props) {
|
|
|
5407
5411
|
children: [
|
|
5408
5412
|
data.map((item) => {
|
|
5409
5413
|
const id2 = getId(item);
|
|
5410
|
-
return /* @__PURE__ */ (0,
|
|
5414
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5411
5415
|
MobileDataGridCard,
|
|
5412
5416
|
{
|
|
5413
5417
|
data: item,
|
|
@@ -5420,7 +5424,7 @@ function ColumnList(props) {
|
|
|
5420
5424
|
id2
|
|
5421
5425
|
);
|
|
5422
5426
|
}),
|
|
5423
|
-
!!Footer && /* @__PURE__ */ (0,
|
|
5427
|
+
!!Footer && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "fixed left-0 right-0 bottom-0 flex flex-col w-full min-h-20", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Footer, __spreadValues({}, ctx)) })
|
|
5424
5428
|
]
|
|
5425
5429
|
}
|
|
5426
5430
|
)
|
|
@@ -5429,7 +5433,7 @@ function ColumnList(props) {
|
|
|
5429
5433
|
}
|
|
5430
5434
|
|
|
5431
5435
|
// src/components/MobileDataGrid/index.tsx
|
|
5432
|
-
var
|
|
5436
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5433
5437
|
function MobileDataGrid(props) {
|
|
5434
5438
|
const {
|
|
5435
5439
|
columns,
|
|
@@ -5451,7 +5455,7 @@ function MobileDataGrid(props) {
|
|
|
5451
5455
|
rowActions,
|
|
5452
5456
|
rounded
|
|
5453
5457
|
} = props;
|
|
5454
|
-
return /* @__PURE__ */ (0,
|
|
5458
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
5455
5459
|
GridContextProvider,
|
|
5456
5460
|
{
|
|
5457
5461
|
initialColumns: columns,
|
|
@@ -5463,7 +5467,7 @@ function MobileDataGrid(props) {
|
|
|
5463
5467
|
numberOfColumnsToShow,
|
|
5464
5468
|
primaryKey,
|
|
5465
5469
|
children: [
|
|
5466
|
-
/* @__PURE__ */ (0,
|
|
5470
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
5467
5471
|
Stack,
|
|
5468
5472
|
{
|
|
5469
5473
|
height: "full",
|
|
@@ -5471,7 +5475,7 @@ function MobileDataGrid(props) {
|
|
|
5471
5475
|
overflowX: "hidden",
|
|
5472
5476
|
overflowY: "hidden",
|
|
5473
5477
|
children: [
|
|
5474
|
-
!hideHeader && /* @__PURE__ */ (0,
|
|
5478
|
+
!hideHeader && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5475
5479
|
MobileDataGridHeader,
|
|
5476
5480
|
{
|
|
5477
5481
|
header,
|
|
@@ -5479,7 +5483,7 @@ function MobileDataGrid(props) {
|
|
|
5479
5483
|
enableRowSelection
|
|
5480
5484
|
}
|
|
5481
5485
|
),
|
|
5482
|
-
/* @__PURE__ */ (0,
|
|
5486
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5483
5487
|
ColumnList,
|
|
5484
5488
|
{
|
|
5485
5489
|
withBorder,
|
|
@@ -5493,7 +5497,7 @@ function MobileDataGrid(props) {
|
|
|
5493
5497
|
]
|
|
5494
5498
|
}
|
|
5495
5499
|
),
|
|
5496
|
-
/* @__PURE__ */ (0,
|
|
5500
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(RowDetailModalProvider, {})
|
|
5497
5501
|
]
|
|
5498
5502
|
}
|
|
5499
5503
|
);
|