@dmsi/wedgekit-react 0.0.494 → 0.0.496
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-BYY2NTJH.js → chunk-2A7H5GVB.js} +2 -2
- package/dist/{chunk-IPAKWF2V.js → chunk-5R4C5F63.js} +13 -7
- package/dist/chunk-BTKWHCUE.js +137 -0
- package/dist/{chunk-ETAEB3TA.js → chunk-L3BXRDLP.js} +8 -2
- package/dist/chunk-Y5GD2FJA.js +32 -0
- package/dist/{chunk-QBSEKZWX.js → chunk-ZKTHUXKS.js} +1 -1
- package/dist/components/CalendarRange.cjs +526 -398
- package/dist/components/CalendarRange.css +26 -3
- package/dist/components/CalendarRange.js +7 -5
- package/dist/components/Caption.cjs +6 -3
- package/dist/components/Caption.js +5 -129
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +517 -389
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +26 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +7 -5
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +520 -392
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +26 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +7 -5
- package/dist/components/DataGrid/PinnedColumns.cjs +521 -393
- package/dist/components/DataGrid/PinnedColumns.css +26 -3
- package/dist/components/DataGrid/PinnedColumns.js +7 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +515 -387
- package/dist/components/DataGrid/TableBody/LoadingCell.css +26 -3
- package/dist/components/DataGrid/TableBody/LoadingCell.js +7 -5
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +516 -388
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +26 -3
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +7 -5
- package/dist/components/DataGrid/TableBody/index.cjs +516 -388
- package/dist/components/DataGrid/TableBody/index.css +26 -3
- package/dist/components/DataGrid/TableBody/index.js +7 -5
- package/dist/components/DataGrid/index.cjs +536 -408
- package/dist/components/DataGrid/index.css +26 -3
- package/dist/components/DataGrid/index.js +7 -5
- package/dist/components/DataGrid/utils.cjs +515 -387
- package/dist/components/DataGrid/utils.css +26 -3
- package/dist/components/DataGrid/utils.js +7 -5
- package/dist/components/DataGridCell.cjs +212 -88
- package/dist/components/DataGridCell.js +3 -2
- package/dist/components/DateInput.cjs +508 -380
- package/dist/components/DateInput.css +26 -3
- package/dist/components/DateInput.js +7 -5
- package/dist/components/DateRangeInput.cjs +514 -386
- package/dist/components/DateRangeInput.css +26 -3
- package/dist/components/DateRangeInput.js +7 -5
- package/dist/components/MenuOption.cjs +147 -23
- package/dist/components/MenuOption.js +2 -1
- package/dist/components/MobileDataGrid/ColumnList.js +1 -1
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +526 -398
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +26 -3
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +7 -5
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +1 -1
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +505 -377
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +26 -3
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +7 -5
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +1 -1
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +1 -1
- package/dist/components/MobileDataGrid/index.cjs +560 -432
- package/dist/components/MobileDataGrid/index.css +26 -3
- package/dist/components/MobileDataGrid/index.js +7 -5
- package/dist/components/NestedMenu.cjs +170 -46
- package/dist/components/NestedMenu.js +2 -1
- package/dist/components/SearchResultImage/index.cjs +92 -0
- package/dist/components/SearchResultImage/index.js +8 -0
- package/dist/components/SkeletonParagraph.cjs +8 -2
- package/dist/components/SkeletonParagraph.js +1 -1
- package/dist/components/index.cjs +715 -558
- package/dist/components/index.css +26 -3
- package/dist/components/index.js +10 -5
- package/dist/index.css +26 -3
- package/package.json +1 -1
- package/src/components/Caption.tsx +3 -0
- package/src/components/MenuOption.tsx +16 -6
- package/src/components/SearchResultImage/index.tsx +39 -0
- package/src/components/SkeletonParagraph.tsx +9 -1
- package/src/components/index.ts +1 -0
- package/src/index.css +4 -3
|
@@ -712,7 +712,7 @@ function Theme({
|
|
|
712
712
|
}
|
|
713
713
|
|
|
714
714
|
// src/components/MobileDataGrid/ColumnSelector/index.tsx
|
|
715
|
-
var
|
|
715
|
+
var import_react39 = require("react");
|
|
716
716
|
|
|
717
717
|
// src/components/DataGridCell.tsx
|
|
718
718
|
var import_sortable = require("@dnd-kit/sortable");
|
|
@@ -766,11 +766,11 @@ var CSS = /* @__PURE__ */ Object.freeze({
|
|
|
766
766
|
});
|
|
767
767
|
|
|
768
768
|
// src/components/DataGridCell.tsx
|
|
769
|
-
var
|
|
769
|
+
var import_clsx12 = __toESM(require("clsx"), 1);
|
|
770
770
|
var import_react11 = require("react");
|
|
771
771
|
|
|
772
772
|
// src/components/MenuOption.tsx
|
|
773
|
-
var
|
|
773
|
+
var import_clsx9 = __toESM(require("clsx"), 1);
|
|
774
774
|
var import_react6 = require("react");
|
|
775
775
|
|
|
776
776
|
// src/components/Label.tsx
|
|
@@ -1113,8 +1113,130 @@ function useTableLayout(initialColumns, key) {
|
|
|
1113
1113
|
return { columns, setColumns: handleSaveLayout, isReady, getSavedLayout };
|
|
1114
1114
|
}
|
|
1115
1115
|
|
|
1116
|
-
// src/components/
|
|
1116
|
+
// src/components/Caption.tsx
|
|
1117
|
+
var import_clsx8 = __toESM(require("clsx"), 1);
|
|
1117
1118
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
1119
|
+
var Caption = (_a) => {
|
|
1120
|
+
var _b = _a, {
|
|
1121
|
+
className,
|
|
1122
|
+
children,
|
|
1123
|
+
as = "span",
|
|
1124
|
+
style = "default",
|
|
1125
|
+
color,
|
|
1126
|
+
align,
|
|
1127
|
+
id,
|
|
1128
|
+
testid,
|
|
1129
|
+
marginTopDesktop
|
|
1130
|
+
} = _b, props = __objRest(_b, [
|
|
1131
|
+
"className",
|
|
1132
|
+
"children",
|
|
1133
|
+
"as",
|
|
1134
|
+
"style",
|
|
1135
|
+
"color",
|
|
1136
|
+
"align",
|
|
1137
|
+
"id",
|
|
1138
|
+
"testid",
|
|
1139
|
+
"marginTopDesktop"
|
|
1140
|
+
]);
|
|
1141
|
+
const Element = as;
|
|
1142
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { id, "data-testid": testid, className: "flex gap-1", children: [
|
|
1143
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1144
|
+
WhichIcon,
|
|
1145
|
+
{
|
|
1146
|
+
id,
|
|
1147
|
+
testid,
|
|
1148
|
+
style,
|
|
1149
|
+
size: 16,
|
|
1150
|
+
className: "mt-[3px] desktop:mt-0"
|
|
1151
|
+
}
|
|
1152
|
+
),
|
|
1153
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1154
|
+
Element,
|
|
1155
|
+
__spreadProps(__spreadValues({
|
|
1156
|
+
id: id ? `${id}-text` : void 0,
|
|
1157
|
+
"data-testid": testid ? `${testid}-text` : void 0,
|
|
1158
|
+
className: (0, import_clsx8.default)(
|
|
1159
|
+
typography.caption.replace("text-text-primary-normal", ""),
|
|
1160
|
+
(style === "default" || style === "info") && "text-text-secondary-normal",
|
|
1161
|
+
style === "success" && "text-text-success-normal",
|
|
1162
|
+
style === "warning" && "text-text-warning-normal",
|
|
1163
|
+
style === "error" && "text-text-critical-normal",
|
|
1164
|
+
align === "left" && "text-left",
|
|
1165
|
+
align === "center" && "text-center",
|
|
1166
|
+
align === "right" && "text-right",
|
|
1167
|
+
className,
|
|
1168
|
+
marginTopDesktop && `desktop:mt-px`
|
|
1169
|
+
)
|
|
1170
|
+
}, props), {
|
|
1171
|
+
style: {
|
|
1172
|
+
color: color ? `var(--color-${color})` : void 0
|
|
1173
|
+
},
|
|
1174
|
+
children
|
|
1175
|
+
})
|
|
1176
|
+
)
|
|
1177
|
+
] });
|
|
1178
|
+
};
|
|
1179
|
+
var WhichIcon = ({
|
|
1180
|
+
style,
|
|
1181
|
+
size,
|
|
1182
|
+
className,
|
|
1183
|
+
id,
|
|
1184
|
+
testid
|
|
1185
|
+
}) => {
|
|
1186
|
+
if (style === "success") {
|
|
1187
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-icon-success-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1188
|
+
Icon,
|
|
1189
|
+
{
|
|
1190
|
+
id: id ? `${id}-icon` : void 0,
|
|
1191
|
+
testid: testid ? `${testid}-icon` : void 0,
|
|
1192
|
+
className,
|
|
1193
|
+
name: "check_circle",
|
|
1194
|
+
size
|
|
1195
|
+
}
|
|
1196
|
+
) });
|
|
1197
|
+
}
|
|
1198
|
+
if (style === "warning") {
|
|
1199
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-icon-warning-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1200
|
+
Icon,
|
|
1201
|
+
{
|
|
1202
|
+
id: id ? `${id}-icon` : void 0,
|
|
1203
|
+
testid: testid ? `${testid}-icon` : void 0,
|
|
1204
|
+
className,
|
|
1205
|
+
name: "warning",
|
|
1206
|
+
size
|
|
1207
|
+
}
|
|
1208
|
+
) });
|
|
1209
|
+
}
|
|
1210
|
+
if (style === "error") {
|
|
1211
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-icon-critical-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1212
|
+
Icon,
|
|
1213
|
+
{
|
|
1214
|
+
id: id ? `${id}-icon` : void 0,
|
|
1215
|
+
testid: testid ? `${testid}-icon` : void 0,
|
|
1216
|
+
className,
|
|
1217
|
+
name: "info",
|
|
1218
|
+
size
|
|
1219
|
+
}
|
|
1220
|
+
) });
|
|
1221
|
+
}
|
|
1222
|
+
if (style === "info") {
|
|
1223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1224
|
+
Icon,
|
|
1225
|
+
{
|
|
1226
|
+
id: id ? `${id}-icon` : void 0,
|
|
1227
|
+
testid: testid ? `${testid}-icon` : void 0,
|
|
1228
|
+
className,
|
|
1229
|
+
name: "info",
|
|
1230
|
+
size
|
|
1231
|
+
}
|
|
1232
|
+
) });
|
|
1233
|
+
}
|
|
1234
|
+
return null;
|
|
1235
|
+
};
|
|
1236
|
+
Caption.displayName = "Caption";
|
|
1237
|
+
|
|
1238
|
+
// src/components/MenuOption.tsx
|
|
1239
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
1118
1240
|
var MenuOption = ({
|
|
1119
1241
|
id,
|
|
1120
1242
|
testid,
|
|
@@ -1139,7 +1261,8 @@ var MenuOption = ({
|
|
|
1139
1261
|
mobilePositionTo,
|
|
1140
1262
|
highlightMatchingText = false,
|
|
1141
1263
|
menuValue,
|
|
1142
|
-
onMouseMove
|
|
1264
|
+
onMouseMove,
|
|
1265
|
+
small = false
|
|
1143
1266
|
}) => {
|
|
1144
1267
|
const uniqueId = (0, import_react6.useId)();
|
|
1145
1268
|
const internalRef = (0, import_react6.useRef)(null);
|
|
@@ -1169,47 +1292,48 @@ var MenuOption = ({
|
|
|
1169
1292
|
const additionalAttributes = {
|
|
1170
1293
|
"data-selected": selected || null
|
|
1171
1294
|
};
|
|
1172
|
-
const svgStyles = (0,
|
|
1295
|
+
const svgStyles = (0, import_clsx9.default)(
|
|
1173
1296
|
"[&>svg]:shrink-0 [&>svg]:fill-icon-action-primary-normal"
|
|
1174
1297
|
);
|
|
1175
|
-
const textLabelStyles = (0,
|
|
1176
|
-
const normalStyles = variant === "normal" && !disabled && (0,
|
|
1298
|
+
const textLabelStyles = (0, import_clsx9.default)("w-full whitespace-nowrap !leading-6");
|
|
1299
|
+
const normalStyles = variant === "normal" && !disabled && (0, import_clsx9.default)(
|
|
1177
1300
|
"bg-transparent text-text-primary-normal",
|
|
1178
1301
|
"hover:bg-background-action-secondary-hover",
|
|
1179
1302
|
"focus:bg-background-action-secondary-hover",
|
|
1180
1303
|
"data-selected:bg-background-action-secondary-hover",
|
|
1181
1304
|
"active:bg-background-action-secondary-active"
|
|
1182
1305
|
);
|
|
1183
|
-
const normalDisabledStyles = variant === "normal" && disabled && (0,
|
|
1184
|
-
const actionStyles = variant === "action" && !disabled && (0,
|
|
1306
|
+
const normalDisabledStyles = variant === "normal" && disabled && (0, import_clsx9.default)("text-text-primary-disabled");
|
|
1307
|
+
const actionStyles = variant === "action" && !disabled && (0, import_clsx9.default)(
|
|
1185
1308
|
"text-action-400 bg-transparent",
|
|
1186
1309
|
"hover:bg-background-action-secondary-hover hover:text-text-action-hover",
|
|
1187
1310
|
"focus:bg-background-action-secondary-hover focus:text-text-action-hover",
|
|
1188
1311
|
"data-selected:bg-background-action-secondary-active data-selected:text-text-action-active",
|
|
1189
1312
|
"active:bg-background-action-secondary-active active:text-text-action-active"
|
|
1190
1313
|
);
|
|
1191
|
-
const actionDisabledStyles = variant === "action" && disabled && (0,
|
|
1192
|
-
const disabledStyles = disabled && (0,
|
|
1314
|
+
const actionDisabledStyles = variant === "action" && disabled && (0, import_clsx9.default)("text-text-action-disabled");
|
|
1315
|
+
const disabledStyles = disabled && (0, import_clsx9.default)("bg-transparent cursor-default pointer-events-none");
|
|
1193
1316
|
const processChildren = typeof children === "string" && highlightMatchingText ? highlightMatch(children, menuValue) : children;
|
|
1194
|
-
const renderChildren = typeof children === "object" ? children : variant === "action" ? /* @__PURE__ */ (0,
|
|
1195
|
-
return /* @__PURE__ */ (0,
|
|
1196
|
-
/* @__PURE__ */ (0,
|
|
1317
|
+
const renderChildren = typeof children === "object" ? children : variant === "action" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Label, { padded: true, className: textLabelStyles, children: processChildren }) : !small ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Paragraph, { padded: true, className: textLabelStyles, children: processChildren }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Caption, { padded: true, className: textLabelStyles, children: processChildren });
|
|
1318
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
1319
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
1197
1320
|
"div",
|
|
1198
1321
|
__spreadProps(__spreadValues({
|
|
1199
1322
|
id,
|
|
1200
1323
|
"data-testid": testid,
|
|
1201
1324
|
ref: actualRef,
|
|
1202
|
-
className: (0,
|
|
1203
|
-
"flex
|
|
1325
|
+
className: (0, import_clsx9.default)(
|
|
1326
|
+
"flex cursor-pointer w-full text-left relative outline-none",
|
|
1204
1327
|
svgStyles,
|
|
1205
|
-
componentGap,
|
|
1328
|
+
small ? layoutGroupGap : componentGap,
|
|
1206
1329
|
componentPadding,
|
|
1207
1330
|
baseTransition,
|
|
1208
1331
|
normalStyles,
|
|
1209
1332
|
normalDisabledStyles,
|
|
1210
1333
|
actionStyles,
|
|
1211
1334
|
actionDisabledStyles,
|
|
1212
|
-
disabledStyles
|
|
1335
|
+
disabledStyles,
|
|
1336
|
+
{ "items-center": !small }
|
|
1213
1337
|
),
|
|
1214
1338
|
"data-value": value || children,
|
|
1215
1339
|
onClick: () => {
|
|
@@ -1226,13 +1350,13 @@ var MenuOption = ({
|
|
|
1226
1350
|
role: "menuitem",
|
|
1227
1351
|
"aria-haspopup": subMenu ? "menu" : void 0,
|
|
1228
1352
|
children: [
|
|
1229
|
-
before && /* @__PURE__ */ (0,
|
|
1353
|
+
before && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: (0, import_clsx9.default)("shrink-0", { "items-center flex": !small }), children: before }),
|
|
1230
1354
|
renderChildren,
|
|
1231
1355
|
renderAfterProp()
|
|
1232
1356
|
]
|
|
1233
1357
|
})
|
|
1234
1358
|
),
|
|
1235
|
-
subMenu && /* @__PURE__ */ (0,
|
|
1359
|
+
subMenu && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1236
1360
|
"div",
|
|
1237
1361
|
{
|
|
1238
1362
|
onMouseEnter: handleSubMenuEnter,
|
|
@@ -1256,14 +1380,14 @@ var MenuOption = ({
|
|
|
1256
1380
|
return after;
|
|
1257
1381
|
}
|
|
1258
1382
|
if (subMenu && after !== null) {
|
|
1259
|
-
return /* @__PURE__ */ (0,
|
|
1383
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "chevron_right" });
|
|
1260
1384
|
}
|
|
1261
1385
|
}
|
|
1262
1386
|
function mobileBackMenuOption() {
|
|
1263
1387
|
if (!isMobile) {
|
|
1264
1388
|
return;
|
|
1265
1389
|
}
|
|
1266
|
-
return /* @__PURE__ */ (0,
|
|
1390
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1267
1391
|
MenuOption,
|
|
1268
1392
|
{
|
|
1269
1393
|
id: id ? `${id}-back` : void 0,
|
|
@@ -1272,7 +1396,7 @@ var MenuOption = ({
|
|
|
1272
1396
|
closeSubMenuLevel == null ? void 0 : closeSubMenuLevel(currentSubMenuLevel != null ? currentSubMenuLevel : 0);
|
|
1273
1397
|
},
|
|
1274
1398
|
variant: "action",
|
|
1275
|
-
before: /* @__PURE__ */ (0,
|
|
1399
|
+
before: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "chevron_left" }),
|
|
1276
1400
|
children: "Back"
|
|
1277
1401
|
}
|
|
1278
1402
|
);
|
|
@@ -1289,12 +1413,12 @@ function highlightMatch(text, searchValue) {
|
|
|
1289
1413
|
);
|
|
1290
1414
|
const parts = text.split(regex);
|
|
1291
1415
|
return parts.map(
|
|
1292
|
-
(part, index) => regex.test(part) ? /* @__PURE__ */ (0,
|
|
1416
|
+
(part, index) => regex.test(part) ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "font-bold", children: part }, index) : part
|
|
1293
1417
|
);
|
|
1294
1418
|
}
|
|
1295
1419
|
|
|
1296
1420
|
// src/components/Menu.tsx
|
|
1297
|
-
var
|
|
1421
|
+
var import_clsx10 = __toESM(require("clsx"), 1);
|
|
1298
1422
|
var import_react8 = require("react");
|
|
1299
1423
|
var import_react_dom = require("react-dom");
|
|
1300
1424
|
|
|
@@ -1661,7 +1785,7 @@ function getScrollableAncestors(element) {
|
|
|
1661
1785
|
}
|
|
1662
1786
|
|
|
1663
1787
|
// src/components/Menu.tsx
|
|
1664
|
-
var
|
|
1788
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
1665
1789
|
var Menu = (_a) => {
|
|
1666
1790
|
var _b = _a, {
|
|
1667
1791
|
id,
|
|
@@ -1777,13 +1901,13 @@ var Menu = (_a) => {
|
|
|
1777
1901
|
};
|
|
1778
1902
|
}, [show, setShow, positionTo]);
|
|
1779
1903
|
return show && (0, import_react_dom.createPortal)(
|
|
1780
|
-
/* @__PURE__ */ (0,
|
|
1904
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
1781
1905
|
"div",
|
|
1782
1906
|
__spreadProps(__spreadValues({
|
|
1783
1907
|
id,
|
|
1784
1908
|
"data-testid": testid,
|
|
1785
1909
|
ref: setRefs,
|
|
1786
|
-
className: (0,
|
|
1910
|
+
className: (0, import_clsx10.default)(
|
|
1787
1911
|
"shadow-4 rounded-base bg-background-grouped-primary-normal overflow-x-hidden overflow-y-auto flex flex-col outline-0",
|
|
1788
1912
|
"fixed",
|
|
1789
1913
|
"z-50",
|
|
@@ -1917,8 +2041,8 @@ var import_react10 = require("react");
|
|
|
1917
2041
|
|
|
1918
2042
|
// src/components/Input.tsx
|
|
1919
2043
|
var import_react9 = require("react");
|
|
1920
|
-
var
|
|
1921
|
-
var
|
|
2044
|
+
var import_clsx11 = __toESM(require("clsx"), 1);
|
|
2045
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
1922
2046
|
var InputBase = (_a) => {
|
|
1923
2047
|
var _b = _a, {
|
|
1924
2048
|
id,
|
|
@@ -1986,7 +2110,7 @@ var InputBase = (_a) => {
|
|
|
1986
2110
|
};
|
|
1987
2111
|
}
|
|
1988
2112
|
}, [selectOnFocus]);
|
|
1989
|
-
const inputBaseClass = (0,
|
|
2113
|
+
const inputBaseClass = (0, import_clsx11.default)(
|
|
1990
2114
|
fullWidth ? "w-full" : "w-fit",
|
|
1991
2115
|
"flex flex-row items-center",
|
|
1992
2116
|
"bg-background-action-secondary-normal caret-icon-on-action-secondary-normal",
|
|
@@ -1999,26 +2123,26 @@ var InputBase = (_a) => {
|
|
|
1999
2123
|
!removeBorder && "border border-border-primary-normal",
|
|
2000
2124
|
"relative"
|
|
2001
2125
|
);
|
|
2002
|
-
const inputFocusClass = (0,
|
|
2126
|
+
const inputFocusClass = (0, import_clsx11.default)(
|
|
2003
2127
|
"has-[[data-focus]]:border-transparent has-[[data-focus]]:outline-border-primary-focus focus-within:border-transparent focus-within:outline-border-primary-focus"
|
|
2004
2128
|
);
|
|
2005
|
-
const inputDisabledClass = (0,
|
|
2129
|
+
const inputDisabledClass = (0, import_clsx11.default)(
|
|
2006
2130
|
"has-disabled:bg-background-action-secondary-disabled"
|
|
2007
2131
|
);
|
|
2008
|
-
const inputReadOnlyClass = (0,
|
|
2132
|
+
const inputReadOnlyClass = (0, import_clsx11.default)(
|
|
2009
2133
|
"has-[input:not(:disabled):read-only]:outline-none has-[input:not(:disabled):read-only]:bg-transparent has-[input:not(:disabled):read-only]:border-transparent has-[input:not(:disabled):read-only]:pl-0"
|
|
2010
2134
|
);
|
|
2011
|
-
const inputInvalidClass = (0,
|
|
2135
|
+
const inputInvalidClass = (0, import_clsx11.default)(
|
|
2012
2136
|
"has-[[data-error]]:border-transparent has-[[data-error]]:not-focus-within:outline-border-primary-error has-[[data-error]]:not-focus-within:outline-1"
|
|
2013
2137
|
);
|
|
2014
|
-
return /* @__PURE__ */ (0,
|
|
2138
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
2015
2139
|
"label",
|
|
2016
2140
|
{
|
|
2017
2141
|
id,
|
|
2018
2142
|
"data-testid": testid,
|
|
2019
2143
|
htmlFor: inputId,
|
|
2020
2144
|
ref: inputContainerRef,
|
|
2021
|
-
className: (0,
|
|
2145
|
+
className: (0, import_clsx11.default)(
|
|
2022
2146
|
"w-full flex flex-col",
|
|
2023
2147
|
"block",
|
|
2024
2148
|
"text-text-primary-normal has-disabled:text-text-primary-disabled",
|
|
@@ -2026,30 +2150,30 @@ var InputBase = (_a) => {
|
|
|
2026
2150
|
),
|
|
2027
2151
|
style: __spreadValues({}, props.style),
|
|
2028
2152
|
children: [
|
|
2029
|
-
label && /* @__PURE__ */ (0,
|
|
2030
|
-
/* @__PURE__ */ (0,
|
|
2153
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: (0, import_clsx11.default)("flex items-center", componentGap), children: [
|
|
2154
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2031
2155
|
Label,
|
|
2032
2156
|
{
|
|
2033
2157
|
id: id ? `${id}-label` : void 0,
|
|
2034
2158
|
color: error ? "text-primary-error" : void 0,
|
|
2035
|
-
className: (0,
|
|
2159
|
+
className: (0, import_clsx11.default)(
|
|
2036
2160
|
props.disabled || props.readOnly ? "cursor-default" : "cursor-pointer"
|
|
2037
2161
|
),
|
|
2038
2162
|
children: label
|
|
2039
2163
|
}
|
|
2040
2164
|
),
|
|
2041
|
-
required && /* @__PURE__ */ (0,
|
|
2165
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2042
2166
|
"span",
|
|
2043
2167
|
{
|
|
2044
|
-
className: (0,
|
|
2168
|
+
className: (0, import_clsx11.default)(typography.label, "text-text-critical-normal"),
|
|
2045
2169
|
children: "*"
|
|
2046
2170
|
}
|
|
2047
2171
|
)
|
|
2048
2172
|
] }),
|
|
2049
|
-
/* @__PURE__ */ (0,
|
|
2173
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
2050
2174
|
"div",
|
|
2051
2175
|
{
|
|
2052
|
-
className: (0,
|
|
2176
|
+
className: (0, import_clsx11.default)(
|
|
2053
2177
|
inputBaseClass,
|
|
2054
2178
|
!props.disabled && inputInvalidClass,
|
|
2055
2179
|
inputFocusClass,
|
|
@@ -2064,7 +2188,7 @@ var InputBase = (_a) => {
|
|
|
2064
2188
|
},
|
|
2065
2189
|
children: [
|
|
2066
2190
|
before,
|
|
2067
|
-
/* @__PURE__ */ (0,
|
|
2191
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2068
2192
|
"input",
|
|
2069
2193
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2070
2194
|
ref: (el) => {
|
|
@@ -2075,7 +2199,7 @@ var InputBase = (_a) => {
|
|
|
2075
2199
|
}, props), attributes), {
|
|
2076
2200
|
id: inputId,
|
|
2077
2201
|
"data-testid": testid ? `${testid}-input` : void 0,
|
|
2078
|
-
className: (0,
|
|
2202
|
+
className: (0, import_clsx11.default)(
|
|
2079
2203
|
"flex-1 outline-none w-full max-w-full min-h-6 min-w-0",
|
|
2080
2204
|
"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",
|
|
2081
2205
|
"placeholder:text-text-secondary-normal disabled:text-text-secondary-disabled",
|
|
@@ -2089,11 +2213,11 @@ var InputBase = (_a) => {
|
|
|
2089
2213
|
style: __spreadProps(__spreadValues({}, props.style), { width })
|
|
2090
2214
|
})
|
|
2091
2215
|
),
|
|
2092
|
-
secondaryIconColor ? /* @__PURE__ */ (0,
|
|
2216
|
+
secondaryIconColor ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "contents text-text-secondary-normal", children: after }) : after
|
|
2093
2217
|
]
|
|
2094
2218
|
}
|
|
2095
2219
|
),
|
|
2096
|
-
caption && /* @__PURE__ */ (0,
|
|
2220
|
+
caption && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2097
2221
|
"div",
|
|
2098
2222
|
{
|
|
2099
2223
|
id: id ? `${id}-caption` : void 0,
|
|
@@ -2186,9 +2310,9 @@ var Input = (_a) => {
|
|
|
2186
2310
|
if (props.before) return props.before;
|
|
2187
2311
|
switch (variant) {
|
|
2188
2312
|
case "search":
|
|
2189
|
-
return !removeSearchIcon ? /* @__PURE__ */ (0,
|
|
2313
|
+
return !removeSearchIcon ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { name: "search" }) }) : null;
|
|
2190
2314
|
case "currency":
|
|
2191
|
-
return /* @__PURE__ */ (0,
|
|
2315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { name: "attach_money" }) });
|
|
2192
2316
|
default:
|
|
2193
2317
|
return null;
|
|
2194
2318
|
}
|
|
@@ -2198,7 +2322,7 @@ var Input = (_a) => {
|
|
|
2198
2322
|
switch (variant) {
|
|
2199
2323
|
case "search": {
|
|
2200
2324
|
const hasValue = displayValue.length > 0;
|
|
2201
|
-
return hasValue && !props.readOnly ? /* @__PURE__ */ (0,
|
|
2325
|
+
return hasValue && !props.readOnly ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2202
2326
|
Icon,
|
|
2203
2327
|
{
|
|
2204
2328
|
id: id ? `${id}-clear-button` : void 0,
|
|
@@ -2210,11 +2334,11 @@ var Input = (_a) => {
|
|
|
2210
2334
|
) : null;
|
|
2211
2335
|
}
|
|
2212
2336
|
case "finder":
|
|
2213
|
-
return /* @__PURE__ */ (0,
|
|
2337
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { name: "search" });
|
|
2214
2338
|
case "uom":
|
|
2215
|
-
return uom ? /* @__PURE__ */ (0,
|
|
2339
|
+
return uom ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-text-secondary-normal uppercase", children: uom.slice(0, 4) }) : null;
|
|
2216
2340
|
case "percentage":
|
|
2217
|
-
return /* @__PURE__ */ (0,
|
|
2341
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { name: "percent" }) });
|
|
2218
2342
|
default:
|
|
2219
2343
|
return null;
|
|
2220
2344
|
}
|
|
@@ -2291,7 +2415,7 @@ var Input = (_a) => {
|
|
|
2291
2415
|
onBlur == null ? void 0 : onBlur(e);
|
|
2292
2416
|
};
|
|
2293
2417
|
const inputProps = getInputProps();
|
|
2294
|
-
return /* @__PURE__ */ (0,
|
|
2418
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2295
2419
|
InputBase,
|
|
2296
2420
|
__spreadProps(__spreadValues({}, inputProps), {
|
|
2297
2421
|
before: getBeforeElement(),
|
|
@@ -2303,15 +2427,15 @@ var Input = (_a) => {
|
|
|
2303
2427
|
);
|
|
2304
2428
|
};
|
|
2305
2429
|
Input.displayName = "Input";
|
|
2306
|
-
var Finder = (props) => /* @__PURE__ */ (0,
|
|
2307
|
-
var UOM = (props) => /* @__PURE__ */ (0,
|
|
2430
|
+
var Finder = (props) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Input, __spreadProps(__spreadValues({}, props), { variant: "finder" }));
|
|
2431
|
+
var UOM = (props) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Input, __spreadProps(__spreadValues({}, props), { variant: "uom" }));
|
|
2308
2432
|
var Currency = (props) => {
|
|
2309
2433
|
var _a;
|
|
2310
2434
|
const handleCurrencyChange = (e) => {
|
|
2311
2435
|
var _a2;
|
|
2312
2436
|
(_a2 = props.onChange) == null ? void 0 : _a2.call(props, e);
|
|
2313
2437
|
};
|
|
2314
|
-
return /* @__PURE__ */ (0,
|
|
2438
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
2315
2439
|
Input,
|
|
2316
2440
|
__spreadProps(__spreadValues({}, props), {
|
|
2317
2441
|
variant: "currency",
|
|
@@ -2320,14 +2444,14 @@ var Currency = (props) => {
|
|
|
2320
2444
|
})
|
|
2321
2445
|
);
|
|
2322
2446
|
};
|
|
2323
|
-
var Percentage = (props) => /* @__PURE__ */ (0,
|
|
2447
|
+
var Percentage = (props) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Input, __spreadProps(__spreadValues({}, props), { variant: "percentage" }));
|
|
2324
2448
|
Finder.displayName = "Finder";
|
|
2325
2449
|
UOM.displayName = "UOM";
|
|
2326
2450
|
Currency.displayName = "Currency";
|
|
2327
2451
|
Percentage.displayName = "Percentage";
|
|
2328
2452
|
|
|
2329
2453
|
// src/components/Search.tsx
|
|
2330
|
-
var
|
|
2454
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
2331
2455
|
var Search = (_a) => {
|
|
2332
2456
|
var _b = _a, {
|
|
2333
2457
|
id,
|
|
@@ -2369,8 +2493,8 @@ var Search = (_a) => {
|
|
|
2369
2493
|
}
|
|
2370
2494
|
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
2371
2495
|
}, [props.value]);
|
|
2372
|
-
return /* @__PURE__ */ (0,
|
|
2373
|
-
/* @__PURE__ */ (0,
|
|
2496
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
|
|
2497
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
2374
2498
|
Input,
|
|
2375
2499
|
__spreadValues({
|
|
2376
2500
|
id,
|
|
@@ -2444,7 +2568,7 @@ var Search = (_a) => {
|
|
|
2444
2568
|
Search.displayName = "Search";
|
|
2445
2569
|
|
|
2446
2570
|
// src/components/DataGridCell.tsx
|
|
2447
|
-
var
|
|
2571
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
2448
2572
|
var DataGridCell = (0, import_react11.memo)(
|
|
2449
2573
|
(_a) => {
|
|
2450
2574
|
var _b = _a, {
|
|
@@ -2525,10 +2649,10 @@ var DataGridCell = (0, import_react11.memo)(
|
|
|
2525
2649
|
};
|
|
2526
2650
|
const headerBgStyles = type === "header" && !locked && !["button"].includes(component) && "bg-brand-400 border-brand-200";
|
|
2527
2651
|
const lockedHeaderBgStyles = locked && !["button"].includes(component) && "bg-neutral-400 border-neutral-300";
|
|
2528
|
-
const headerTypeStyles = type === "header" && component !== "button" && component !== "icon" && (0,
|
|
2529
|
-
const buttonComponentStyles = component === "button" && (0,
|
|
2530
|
-
const iconComponentStyles = component === "icon" && (0,
|
|
2531
|
-
const cellClasses = (0,
|
|
2652
|
+
const headerTypeStyles = type === "header" && component !== "button" && component !== "icon" && (0, import_clsx12.default)("border-r");
|
|
2653
|
+
const buttonComponentStyles = component === "button" && (0, import_clsx12.default)("border-r border-b border-border-primary-normal");
|
|
2654
|
+
const iconComponentStyles = component === "icon" && (0, import_clsx12.default)("border-l");
|
|
2655
|
+
const cellClasses = (0, import_clsx12.default)(
|
|
2532
2656
|
headerTypeStyles,
|
|
2533
2657
|
buttonComponentStyles,
|
|
2534
2658
|
headerBgStyles,
|
|
@@ -2549,16 +2673,16 @@ var DataGridCell = (0, import_react11.memo)(
|
|
|
2549
2673
|
isGrabbing && "!cursor-grabbing",
|
|
2550
2674
|
component === "checkbox" || center && "justify-center"
|
|
2551
2675
|
);
|
|
2552
|
-
return /* @__PURE__ */ (0,
|
|
2676
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2553
2677
|
Element,
|
|
2554
2678
|
__spreadProps(__spreadValues({
|
|
2555
2679
|
id,
|
|
2556
2680
|
"data-testid": testid,
|
|
2557
|
-
className: (0,
|
|
2681
|
+
className: (0, import_clsx12.default)("flex h-10", !width && "flex-1"),
|
|
2558
2682
|
style: { width, minWidth }
|
|
2559
2683
|
}, props), {
|
|
2560
2684
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2561
|
-
children: /* @__PURE__ */ (0,
|
|
2685
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2562
2686
|
"div",
|
|
2563
2687
|
{
|
|
2564
2688
|
className: cellClasses,
|
|
@@ -2635,7 +2759,7 @@ function DataCellHeader(_a) {
|
|
|
2635
2759
|
"--color-icon-on-action-primary-normal": "var(--color-text-brand-primary-normal)",
|
|
2636
2760
|
"--background-action-secondary-normal": "var(--color-text-brand-primary-normal)"
|
|
2637
2761
|
}, props.style);
|
|
2638
|
-
return /* @__PURE__ */ (0,
|
|
2762
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
2639
2763
|
DataGridCell,
|
|
2640
2764
|
__spreadProps(__spreadValues({
|
|
2641
2765
|
id,
|
|
@@ -2650,7 +2774,7 @@ function DataCellHeader(_a) {
|
|
|
2650
2774
|
}, props), {
|
|
2651
2775
|
children: [
|
|
2652
2776
|
children,
|
|
2653
|
-
header.column.getCanFilter() && /* @__PURE__ */ (0,
|
|
2777
|
+
header.column.getCanFilter() && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
2654
2778
|
Menu,
|
|
2655
2779
|
{
|
|
2656
2780
|
id: id ? `${id}-menu` : void 0,
|
|
@@ -2662,7 +2786,7 @@ function DataCellHeader(_a) {
|
|
|
2662
2786
|
mobileHide,
|
|
2663
2787
|
useDefaultMinWidth: useMenuDefaultMinWidth,
|
|
2664
2788
|
children: [
|
|
2665
|
-
/* @__PURE__ */ (0,
|
|
2789
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2666
2790
|
MenuOption,
|
|
2667
2791
|
__spreadProps(__spreadValues({
|
|
2668
2792
|
id: id ? `${id}-filter-option` : void 0,
|
|
@@ -2670,7 +2794,7 @@ function DataCellHeader(_a) {
|
|
|
2670
2794
|
}, subMenuListeners), {
|
|
2671
2795
|
subMenu: (_b2) => {
|
|
2672
2796
|
var _c = _b2, { menuId, subMenuLevel } = _c, props2 = __objRest(_c, ["menuId", "subMenuLevel"]);
|
|
2673
|
-
return /* @__PURE__ */ (0,
|
|
2797
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
2674
2798
|
Menu,
|
|
2675
2799
|
__spreadProps(__spreadValues({
|
|
2676
2800
|
id: id ? `${id}-filter-submenu` : void 0,
|
|
@@ -2682,7 +2806,7 @@ function DataCellHeader(_a) {
|
|
|
2682
2806
|
},
|
|
2683
2807
|
useDefaultMinWidth: useMenuDefaultMinWidth,
|
|
2684
2808
|
children: [
|
|
2685
|
-
/* @__PURE__ */ (0,
|
|
2809
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: (0, import_clsx12.default)(paddingUsingComponentGap), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2686
2810
|
Search,
|
|
2687
2811
|
{
|
|
2688
2812
|
id: id ? `${id}-filter-search` : void 0,
|
|
@@ -2698,7 +2822,7 @@ function DataCellHeader(_a) {
|
|
|
2698
2822
|
value: filter != null ? filter : ""
|
|
2699
2823
|
}
|
|
2700
2824
|
) }),
|
|
2701
|
-
/* @__PURE__ */ (0,
|
|
2825
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2702
2826
|
MenuOption,
|
|
2703
2827
|
{
|
|
2704
2828
|
id: id ? `${id}-filter-contains` : void 0,
|
|
@@ -2708,7 +2832,7 @@ function DataCellHeader(_a) {
|
|
|
2708
2832
|
children: "Contains"
|
|
2709
2833
|
}
|
|
2710
2834
|
),
|
|
2711
|
-
/* @__PURE__ */ (0,
|
|
2835
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2712
2836
|
MenuOption,
|
|
2713
2837
|
{
|
|
2714
2838
|
id: id ? `${id}-filter-startswith` : void 0,
|
|
@@ -2718,7 +2842,7 @@ function DataCellHeader(_a) {
|
|
|
2718
2842
|
children: "Starts with"
|
|
2719
2843
|
}
|
|
2720
2844
|
),
|
|
2721
|
-
/* @__PURE__ */ (0,
|
|
2845
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2722
2846
|
MenuOption,
|
|
2723
2847
|
{
|
|
2724
2848
|
id: id ? `${id}-filter-endswith` : void 0,
|
|
@@ -2735,7 +2859,7 @@ function DataCellHeader(_a) {
|
|
|
2735
2859
|
children: "Filter"
|
|
2736
2860
|
})
|
|
2737
2861
|
),
|
|
2738
|
-
!predeterminedPinned.current && header.column.getCanPin() && /* @__PURE__ */ (0,
|
|
2862
|
+
!predeterminedPinned.current && header.column.getCanPin() && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2739
2863
|
MenuOption,
|
|
2740
2864
|
__spreadProps(__spreadValues({
|
|
2741
2865
|
onClick: () => {
|
|
@@ -2744,7 +2868,7 @@ function DataCellHeader(_a) {
|
|
|
2744
2868
|
}, subMenuListeners), {
|
|
2745
2869
|
subMenu: (_d) => {
|
|
2746
2870
|
var _e = _d, { menuId, subMenuLevel } = _e, props2 = __objRest(_e, ["menuId", "subMenuLevel"]);
|
|
2747
|
-
return /* @__PURE__ */ (0,
|
|
2871
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
2748
2872
|
Menu,
|
|
2749
2873
|
__spreadProps(__spreadValues({}, props2), {
|
|
2750
2874
|
show: isMenuActive(menuId, subMenuLevel),
|
|
@@ -2752,7 +2876,7 @@ function DataCellHeader(_a) {
|
|
|
2752
2876
|
registerSubMenu(menuId, el);
|
|
2753
2877
|
},
|
|
2754
2878
|
children: [
|
|
2755
|
-
/* @__PURE__ */ (0,
|
|
2879
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2756
2880
|
MenuOption,
|
|
2757
2881
|
{
|
|
2758
2882
|
selected: header.column.getIsPinned() === "left",
|
|
@@ -2763,11 +2887,11 @@ function DataCellHeader(_a) {
|
|
|
2763
2887
|
header.column.pin("left");
|
|
2764
2888
|
}
|
|
2765
2889
|
},
|
|
2766
|
-
after: header.column.getIsPinned() === "left" && /* @__PURE__ */ (0,
|
|
2890
|
+
after: header.column.getIsPinned() === "left" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "check" }),
|
|
2767
2891
|
children: "Left"
|
|
2768
2892
|
}
|
|
2769
2893
|
),
|
|
2770
|
-
/* @__PURE__ */ (0,
|
|
2894
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2771
2895
|
MenuOption,
|
|
2772
2896
|
{
|
|
2773
2897
|
selected: header.column.getIsPinned() === "right",
|
|
@@ -2778,7 +2902,7 @@ function DataCellHeader(_a) {
|
|
|
2778
2902
|
header.column.pin("right");
|
|
2779
2903
|
}
|
|
2780
2904
|
},
|
|
2781
|
-
after: header.column.getIsPinned() === "right" && /* @__PURE__ */ (0,
|
|
2905
|
+
after: header.column.getIsPinned() === "right" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "check" }),
|
|
2782
2906
|
children: "Right"
|
|
2783
2907
|
}
|
|
2784
2908
|
)
|
|
@@ -2796,11 +2920,11 @@ function DataCellHeader(_a) {
|
|
|
2796
2920
|
})
|
|
2797
2921
|
);
|
|
2798
2922
|
function menuOptionIcon(value) {
|
|
2799
|
-
return /* @__PURE__ */ (0,
|
|
2923
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2800
2924
|
Icon,
|
|
2801
2925
|
{
|
|
2802
2926
|
name: "check",
|
|
2803
|
-
className: (0,
|
|
2927
|
+
className: (0, import_clsx12.default)(
|
|
2804
2928
|
header.column.columnDef.filterFn !== value && "text-transparent"
|
|
2805
2929
|
)
|
|
2806
2930
|
}
|
|
@@ -2845,7 +2969,7 @@ function DraggableCellHeader(_a) {
|
|
|
2845
2969
|
"--color-icon-on-action-primary-normal": "var(--color-action-000)",
|
|
2846
2970
|
userSelect: "none"
|
|
2847
2971
|
};
|
|
2848
|
-
return /* @__PURE__ */ (0,
|
|
2972
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2849
2973
|
DataCellHeader,
|
|
2850
2974
|
__spreadProps(__spreadValues(__spreadValues(__spreadValues({
|
|
2851
2975
|
header,
|
|
@@ -2877,7 +3001,7 @@ function DragAlongCell(_a) {
|
|
|
2877
3001
|
minWidth: cell.column.getSize(),
|
|
2878
3002
|
zIndex: isDragging ? 1 : 0
|
|
2879
3003
|
};
|
|
2880
|
-
return /* @__PURE__ */ (0,
|
|
3004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(DataGridCell, __spreadProps(__spreadValues({ style, ref: setNodeRef }, props), { children }));
|
|
2881
3005
|
}
|
|
2882
3006
|
DragAlongCell.displayName = "DragAlongCell";
|
|
2883
3007
|
|
|
@@ -2888,24 +3012,24 @@ var import_core = require("@dnd-kit/core");
|
|
|
2888
3012
|
var import_sortable2 = require("@dnd-kit/sortable");
|
|
2889
3013
|
var import_modifiers = require("@dnd-kit/modifiers");
|
|
2890
3014
|
var import_react_virtual2 = require("@tanstack/react-virtual");
|
|
2891
|
-
var
|
|
3015
|
+
var import_clsx17 = __toESM(require("clsx"), 1);
|
|
2892
3016
|
|
|
2893
3017
|
// src/components/DataGrid/PinnedColumns.tsx
|
|
2894
3018
|
var import_react_table2 = require("@tanstack/react-table");
|
|
2895
|
-
var
|
|
3019
|
+
var import_clsx16 = __toESM(require("clsx"), 1);
|
|
2896
3020
|
|
|
2897
3021
|
// src/components/DataGrid/utils.tsx
|
|
2898
|
-
var
|
|
2899
|
-
var
|
|
3022
|
+
var import_clsx13 = __toESM(require("clsx"), 1);
|
|
3023
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
2900
3024
|
function getSortIcon(sort, nextSort = false) {
|
|
2901
|
-
const iconClassName = (0,
|
|
3025
|
+
const iconClassName = (0, import_clsx13.default)(
|
|
2902
3026
|
"text-icon-on-action-primary-normal",
|
|
2903
3027
|
nextSort && "hidden group-hover:block"
|
|
2904
3028
|
);
|
|
2905
3029
|
if (sort === "asc")
|
|
2906
|
-
return /* @__PURE__ */ (0,
|
|
3030
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { size: 16, className: iconClassName, name: "arrow_upward" });
|
|
2907
3031
|
if (sort === "desc")
|
|
2908
|
-
return /* @__PURE__ */ (0,
|
|
3032
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { size: 16, className: iconClassName, name: "arrow_downward" });
|
|
2909
3033
|
return null;
|
|
2910
3034
|
}
|
|
2911
3035
|
|
|
@@ -2914,13 +3038,13 @@ var import_react15 = __toESM(require("react"), 1);
|
|
|
2914
3038
|
|
|
2915
3039
|
// src/components/DataGrid/TableBody/index.tsx
|
|
2916
3040
|
var import_react_virtual = require("@tanstack/react-virtual");
|
|
2917
|
-
var
|
|
3041
|
+
var import_clsx15 = __toESM(require("clsx"), 1);
|
|
2918
3042
|
|
|
2919
3043
|
// src/components/DataGrid/TableBody/TableBodyRow.tsx
|
|
2920
|
-
var
|
|
3044
|
+
var import_clsx14 = __toESM(require("clsx"), 1);
|
|
2921
3045
|
var import_react_table = require("@tanstack/react-table");
|
|
2922
3046
|
var import_react12 = __toESM(require("react"), 1);
|
|
2923
|
-
var
|
|
3047
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
2924
3048
|
var valueFormatters = {
|
|
2925
3049
|
date: (value) => typeof value === "string" ? formatDate(value) : "",
|
|
2926
3050
|
currency: (value) => formatCurrencyDisplay(value)
|
|
@@ -2953,10 +3077,10 @@ function TableBodyRow({
|
|
|
2953
3077
|
const columns = locked ? visibleCells : virtualColumns;
|
|
2954
3078
|
const isError = typeof row.original === "object" && row.original !== null && "rowState" in row.original && row.original.rowState === "error";
|
|
2955
3079
|
const CellElement = locked ? DataGridCell : DragAlongCell;
|
|
2956
|
-
return /* @__PURE__ */ (0,
|
|
3080
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
2957
3081
|
"tr",
|
|
2958
3082
|
{
|
|
2959
|
-
className: (0,
|
|
3083
|
+
className: (0, import_clsx14.default)(
|
|
2960
3084
|
"min-h-10",
|
|
2961
3085
|
"transition-colors hover:bg-background-action-secondary-hover",
|
|
2962
3086
|
row.getIsSelected() && "!bg-background-action-secondary-hover",
|
|
@@ -2974,7 +3098,7 @@ function TableBodyRow({
|
|
|
2974
3098
|
children: [
|
|
2975
3099
|
!locked && virtualPaddingLeft ? (
|
|
2976
3100
|
// fake empty column to the left for virtualization scroll padding
|
|
2977
|
-
/* @__PURE__ */ (0,
|
|
3101
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("td", { style: { display: "flex", width: virtualPaddingLeft } })
|
|
2978
3102
|
) : null,
|
|
2979
3103
|
columns.map((column) => {
|
|
2980
3104
|
var _a2, _b, _c, _d;
|
|
@@ -2985,17 +3109,17 @@ function TableBodyRow({
|
|
|
2985
3109
|
const cellFormat = (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.format;
|
|
2986
3110
|
const cellValue = cellFormat && isValueFormatterKey(cellFormat) ? valueFormatters[cellFormat](cell.getValue()) : cell.getValue();
|
|
2987
3111
|
const cellAlignment = (_c = (_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) != null ? _c : typeof cellValue === "number" ? "right" : "left";
|
|
2988
|
-
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0,
|
|
3112
|
+
return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react12.default.Fragment, { children: (0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2989
3113
|
CellElement,
|
|
2990
3114
|
{
|
|
2991
3115
|
id: id ? `${id}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
2992
3116
|
testid: testid ? `${testid}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
2993
3117
|
cell,
|
|
2994
|
-
className: (0,
|
|
3118
|
+
className: (0, import_clsx14.default)({
|
|
2995
3119
|
"justify-start": cellAlignment === "left",
|
|
2996
3120
|
"justify-end": cellAlignment === "right"
|
|
2997
3121
|
}),
|
|
2998
|
-
children: /* @__PURE__ */ (0,
|
|
3122
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2999
3123
|
Tooltip,
|
|
3000
3124
|
{
|
|
3001
3125
|
id: id ? `${id}-tooltip-${cell.id}` : void 0,
|
|
@@ -3003,7 +3127,7 @@ function TableBodyRow({
|
|
|
3003
3127
|
showOnTruncation: true,
|
|
3004
3128
|
message: cellValue,
|
|
3005
3129
|
position: "bottom",
|
|
3006
|
-
children: /* @__PURE__ */ (0,
|
|
3130
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Paragraph, { addOverflow: true, tall: true, children: cellValue })
|
|
3007
3131
|
}
|
|
3008
3132
|
)
|
|
3009
3133
|
},
|
|
@@ -3012,7 +3136,7 @@ function TableBodyRow({
|
|
|
3012
3136
|
}),
|
|
3013
3137
|
!locked && virtualPaddingRight ? (
|
|
3014
3138
|
// fake empty column to the right for virtualization scroll padding
|
|
3015
|
-
/* @__PURE__ */ (0,
|
|
3139
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("td", { style: { display: "flex", width: virtualPaddingRight } })
|
|
3016
3140
|
) : null
|
|
3017
3141
|
]
|
|
3018
3142
|
},
|
|
@@ -3021,7 +3145,7 @@ function TableBodyRow({
|
|
|
3021
3145
|
}
|
|
3022
3146
|
|
|
3023
3147
|
// src/components/DataGrid/TableBody/LoadingCell.tsx
|
|
3024
|
-
var
|
|
3148
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3025
3149
|
function LoadingCell({
|
|
3026
3150
|
id,
|
|
3027
3151
|
testid,
|
|
@@ -3029,16 +3153,16 @@ function LoadingCell({
|
|
|
3029
3153
|
}) {
|
|
3030
3154
|
const key = `loading-${column.id}`;
|
|
3031
3155
|
if (column.cell === "checkbox") {
|
|
3032
|
-
return /* @__PURE__ */ (0,
|
|
3156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Checkbox, { id: id ? `${id}-${key}-checkbox` : void 0, testid: testid ? `${testid}-${key}-checkbox` : void 0, disabled: true }) }, key);
|
|
3033
3157
|
}
|
|
3034
3158
|
if (column.cell === "input") {
|
|
3035
|
-
return /* @__PURE__ */ (0,
|
|
3159
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
3036
3160
|
DataGridCell,
|
|
3037
3161
|
{
|
|
3038
3162
|
id: id ? `${id}-${key}` : void 0,
|
|
3039
3163
|
testid: testid ? `${testid}-${key}` : void 0,
|
|
3040
3164
|
component: "input",
|
|
3041
|
-
children: /* @__PURE__ */ (0,
|
|
3165
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
3042
3166
|
Input,
|
|
3043
3167
|
{
|
|
3044
3168
|
id: id ? `${id}-${key}-input` : void 0,
|
|
@@ -3052,11 +3176,11 @@ function LoadingCell({
|
|
|
3052
3176
|
key
|
|
3053
3177
|
);
|
|
3054
3178
|
}
|
|
3055
|
-
return /* @__PURE__ */ (0,
|
|
3179
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "bg-linear-270 to-neutral-300/[24%] from-neutral-300/[12%] rounded-xs w-full max-w-25 h-6" }) }, key);
|
|
3056
3180
|
}
|
|
3057
3181
|
|
|
3058
3182
|
// src/components/DataGrid/TableBody/index.tsx
|
|
3059
|
-
var
|
|
3183
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
3060
3184
|
function TableBody({
|
|
3061
3185
|
id,
|
|
3062
3186
|
testid,
|
|
@@ -3090,10 +3214,10 @@ function TableBody({
|
|
|
3090
3214
|
} else {
|
|
3091
3215
|
headerGroups = table.getCenterHeaderGroups();
|
|
3092
3216
|
}
|
|
3093
|
-
return /* @__PURE__ */ (0,
|
|
3217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3094
3218
|
"tbody",
|
|
3095
3219
|
{
|
|
3096
|
-
className: (0,
|
|
3220
|
+
className: (0, import_clsx15.default)(locked ? "shadow-16" : ""),
|
|
3097
3221
|
style: {
|
|
3098
3222
|
display: "grid",
|
|
3099
3223
|
height: `${showFilterRow ? rowVirtualizer.getTotalSize() + 40 : rowVirtualizer.getTotalSize()}px`,
|
|
@@ -3102,7 +3226,7 @@ function TableBody({
|
|
|
3102
3226
|
// needed for absolute positioning of rows
|
|
3103
3227
|
},
|
|
3104
3228
|
children: [
|
|
3105
|
-
showFilterRow && /* @__PURE__ */ (0,
|
|
3229
|
+
showFilterRow && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
3106
3230
|
"tr",
|
|
3107
3231
|
{
|
|
3108
3232
|
style: {
|
|
@@ -3118,7 +3242,7 @@ function TableBody({
|
|
|
3118
3242
|
children: headerGroups.flatMap(
|
|
3119
3243
|
(x) => x.headers.map((header) => {
|
|
3120
3244
|
var _a, _b, _c, _d, _e;
|
|
3121
|
-
return /* @__PURE__ */ (0,
|
|
3245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
3122
3246
|
CellElement,
|
|
3123
3247
|
{
|
|
3124
3248
|
id: id ? `${id}-filter-cell-${header.id}` : void 0,
|
|
@@ -3129,7 +3253,7 @@ function TableBody({
|
|
|
3129
3253
|
children: header.column.getCanFilter() && ((_e = (_c = (_b = header.column.columnDef.meta) == null ? void 0 : _b.filterRowCell) == null ? void 0 : _c.call(_b, {
|
|
3130
3254
|
header,
|
|
3131
3255
|
table
|
|
3132
|
-
})) != null ? _e : /* @__PURE__ */ (0,
|
|
3256
|
+
})) != null ? _e : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
3133
3257
|
Search,
|
|
3134
3258
|
{
|
|
3135
3259
|
id: id ? `${id}-filter-search-${header.id}` : void 0,
|
|
@@ -3150,7 +3274,7 @@ function TableBody({
|
|
|
3150
3274
|
),
|
|
3151
3275
|
virtualRows.map((virtualRow) => {
|
|
3152
3276
|
const row = rows[virtualRow.index];
|
|
3153
|
-
return /* @__PURE__ */ (0,
|
|
3277
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
3154
3278
|
TableBodyRow,
|
|
3155
3279
|
{
|
|
3156
3280
|
id,
|
|
@@ -3169,7 +3293,7 @@ function TableBody({
|
|
|
3169
3293
|
row.id
|
|
3170
3294
|
);
|
|
3171
3295
|
}),
|
|
3172
|
-
!pagination && isLoadingMore && hasMore && /* @__PURE__ */ (0,
|
|
3296
|
+
!pagination && isLoadingMore && hasMore && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
3173
3297
|
"tr",
|
|
3174
3298
|
{
|
|
3175
3299
|
style: {
|
|
@@ -3179,7 +3303,7 @@ function TableBody({
|
|
|
3179
3303
|
transform: `translateY(${virtualRows[virtualRows.length - 1].start + 40}px)`
|
|
3180
3304
|
},
|
|
3181
3305
|
className: "odd:bg-background-grouped-primary-normal even:bg-background-grouped-secondary-normal",
|
|
3182
|
-
children: table.getAllLeafColumns().map((column) => /* @__PURE__ */ (0,
|
|
3306
|
+
children: table.getAllLeafColumns().map((column) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
3183
3307
|
LoadingCell,
|
|
3184
3308
|
{
|
|
3185
3309
|
id,
|
|
@@ -3200,7 +3324,7 @@ var import_react14 = require("react");
|
|
|
3200
3324
|
|
|
3201
3325
|
// src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
|
|
3202
3326
|
var import_react13 = require("react");
|
|
3203
|
-
var
|
|
3327
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
3204
3328
|
function ColumnSelectorMenuOption({
|
|
3205
3329
|
id,
|
|
3206
3330
|
testid,
|
|
@@ -3209,7 +3333,7 @@ function ColumnSelectorMenuOption({
|
|
|
3209
3333
|
}) {
|
|
3210
3334
|
const [isVisible, setIsVisible] = (0, import_react13.useState)(column.getIsVisible());
|
|
3211
3335
|
const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
|
|
3212
|
-
return /* @__PURE__ */ (0,
|
|
3336
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3213
3337
|
Checkbox,
|
|
3214
3338
|
{
|
|
3215
3339
|
id: id ? `${id}-checkbox` : void 0,
|
|
@@ -3225,7 +3349,7 @@ function ColumnSelectorMenuOption({
|
|
|
3225
3349
|
}
|
|
3226
3350
|
|
|
3227
3351
|
// src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx
|
|
3228
|
-
var
|
|
3352
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
3229
3353
|
function ColumnSelectorHeaderCell({
|
|
3230
3354
|
id,
|
|
3231
3355
|
testid,
|
|
@@ -3235,7 +3359,7 @@ function ColumnSelectorHeaderCell({
|
|
|
3235
3359
|
}) {
|
|
3236
3360
|
const ref = (0, import_react14.useRef)(null);
|
|
3237
3361
|
const [show, setShow] = (0, import_react14.useState)(false);
|
|
3238
|
-
return /* @__PURE__ */ (0,
|
|
3362
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
3239
3363
|
DataGridCell,
|
|
3240
3364
|
{
|
|
3241
3365
|
id,
|
|
@@ -3245,7 +3369,7 @@ function ColumnSelectorHeaderCell({
|
|
|
3245
3369
|
color: "text-secondary-normal",
|
|
3246
3370
|
ref,
|
|
3247
3371
|
children: [
|
|
3248
|
-
/* @__PURE__ */ (0,
|
|
3372
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3249
3373
|
Button,
|
|
3250
3374
|
{
|
|
3251
3375
|
id: id ? `${id}-button` : void 0,
|
|
@@ -3253,10 +3377,10 @@ function ColumnSelectorHeaderCell({
|
|
|
3253
3377
|
onClick: () => setShow((prev) => !prev),
|
|
3254
3378
|
variant: "navigation",
|
|
3255
3379
|
iconOnly: true,
|
|
3256
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
3380
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { name: "tune" })
|
|
3257
3381
|
}
|
|
3258
3382
|
),
|
|
3259
|
-
/* @__PURE__ */ (0,
|
|
3383
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
3260
3384
|
Menu,
|
|
3261
3385
|
{
|
|
3262
3386
|
id: id ? `${id}-menu` : void 0,
|
|
@@ -3267,7 +3391,7 @@ function ColumnSelectorHeaderCell({
|
|
|
3267
3391
|
setShow,
|
|
3268
3392
|
calculateMinMaxHeight: true,
|
|
3269
3393
|
children: [
|
|
3270
|
-
/* @__PURE__ */ (0,
|
|
3394
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3271
3395
|
Button,
|
|
3272
3396
|
{
|
|
3273
3397
|
id: id ? `${id}-reset-button` : void 0,
|
|
@@ -3283,7 +3407,7 @@ function ColumnSelectorHeaderCell({
|
|
|
3283
3407
|
table.getAllColumns().filter((x) => {
|
|
3284
3408
|
var _a;
|
|
3285
3409
|
return (_a = x.columnDef.meta) == null ? void 0 : _a.inVisibilityMenu;
|
|
3286
|
-
}).map((column) => /* @__PURE__ */ (0,
|
|
3410
|
+
}).map((column) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3287
3411
|
ColumnSelectorMenuOption,
|
|
3288
3412
|
{
|
|
3289
3413
|
id: id ? `${id}-option-${column.id}` : void 0,
|
|
@@ -3302,7 +3426,7 @@ function ColumnSelectorHeaderCell({
|
|
|
3302
3426
|
}
|
|
3303
3427
|
|
|
3304
3428
|
// src/components/DataGrid/PinnedColumns.tsx
|
|
3305
|
-
var
|
|
3429
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
3306
3430
|
function PinnedColumns(_a) {
|
|
3307
3431
|
var _b = _a, {
|
|
3308
3432
|
id,
|
|
@@ -3334,17 +3458,17 @@ function PinnedColumns(_a) {
|
|
|
3334
3458
|
const pinnedTestId = testid ? `${pinDirection}-pinned-${testid}` : void 0;
|
|
3335
3459
|
const hasAnyHeaders = ((_a2 = headerGroups[0]) == null ? void 0 : _a2.headers.length) > 0;
|
|
3336
3460
|
if (!hasAnyHeaders && !enableColumnSelector) return;
|
|
3337
|
-
return /* @__PURE__ */ (0,
|
|
3461
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
3338
3462
|
"table",
|
|
3339
3463
|
{
|
|
3340
|
-
className: (0,
|
|
3464
|
+
className: (0, import_clsx16.default)(
|
|
3341
3465
|
"flex flex-col min-h-min sticky z-20",
|
|
3342
3466
|
pinDirection === "left" ? "left-0" : "right-0"
|
|
3343
3467
|
),
|
|
3344
3468
|
"data-testid": pinnedTestId,
|
|
3345
3469
|
children: [
|
|
3346
|
-
/* @__PURE__ */ (0,
|
|
3347
|
-
return /* @__PURE__ */ (0,
|
|
3470
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("thead", { className: "sticky top-0 z-20 grid", children: headerGroups.map((headerGroup) => {
|
|
3471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
3348
3472
|
"tr",
|
|
3349
3473
|
{
|
|
3350
3474
|
"data-testid": pinnedTestId ? `${pinnedTestId}-header-row-${headerGroup.id}` : void 0,
|
|
@@ -3357,7 +3481,7 @@ function PinnedColumns(_a) {
|
|
|
3357
3481
|
}
|
|
3358
3482
|
if (typeof header.column.columnDef.header === "string") {
|
|
3359
3483
|
const customHeaderWidth = (_a3 = header.column.columnDef.meta) == null ? void 0 : _a3.headerWidth;
|
|
3360
|
-
return /* @__PURE__ */ (0,
|
|
3484
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
3361
3485
|
DataCellHeader,
|
|
3362
3486
|
{
|
|
3363
3487
|
locked: true,
|
|
@@ -3365,16 +3489,16 @@ function PinnedColumns(_a) {
|
|
|
3365
3489
|
header,
|
|
3366
3490
|
center: centerHeader,
|
|
3367
3491
|
width: customHeaderWidth,
|
|
3368
|
-
className: (0,
|
|
3492
|
+
className: (0, import_clsx16.default)(
|
|
3369
3493
|
header.column.getCanSort() ? "cursor-pointer" : "cursor-grab",
|
|
3370
3494
|
"group"
|
|
3371
3495
|
),
|
|
3372
3496
|
children: [
|
|
3373
|
-
/* @__PURE__ */ (0,
|
|
3497
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Subheader, { tall: true, children: header.column.columnDef.header }),
|
|
3374
3498
|
getSortIcon(header.column.getIsSorted()),
|
|
3375
3499
|
!header.column.getIsSorted() && header.column.getCanSort() && getSortIcon(header.column.getNextSortingOrder(), true),
|
|
3376
|
-
header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0,
|
|
3377
|
-
!((_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.locked) && /* @__PURE__ */ (0,
|
|
3500
|
+
header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Subheader, { tall: true, children: header.column.getSortIndex() + 1 }),
|
|
3501
|
+
!((_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.locked) && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
3378
3502
|
"div",
|
|
3379
3503
|
{
|
|
3380
3504
|
onDoubleClick: (e) => {
|
|
@@ -3397,7 +3521,7 @@ function PinnedColumns(_a) {
|
|
|
3397
3521
|
header.id
|
|
3398
3522
|
);
|
|
3399
3523
|
}
|
|
3400
|
-
return /* @__PURE__ */ (0,
|
|
3524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react15.default.Fragment, { children: ((_c = header.column.columnDef.meta) == null ? void 0 : _c.checkbox) ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(DataGridCell, { type: "header", component: "checkbox", locked: true, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
3401
3525
|
Checkbox,
|
|
3402
3526
|
{
|
|
3403
3527
|
checked: allSelectedAcrossPages,
|
|
@@ -3409,7 +3533,7 @@ function PinnedColumns(_a) {
|
|
|
3409
3533
|
header.getContext()
|
|
3410
3534
|
) }, header.id);
|
|
3411
3535
|
}),
|
|
3412
|
-
enableColumnSelector && /* @__PURE__ */ (0,
|
|
3536
|
+
enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
3413
3537
|
ColumnSelectorHeaderCell,
|
|
3414
3538
|
{
|
|
3415
3539
|
id: id ? `${id}-column-selector` : void 0,
|
|
@@ -3426,7 +3550,7 @@ function PinnedColumns(_a) {
|
|
|
3426
3550
|
headerGroup.id
|
|
3427
3551
|
);
|
|
3428
3552
|
}) }),
|
|
3429
|
-
/* @__PURE__ */ (0,
|
|
3553
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
3430
3554
|
TableBody,
|
|
3431
3555
|
__spreadProps(__spreadValues({
|
|
3432
3556
|
testid: pinnedTestId
|
|
@@ -3445,7 +3569,7 @@ function PinnedColumns(_a) {
|
|
|
3445
3569
|
var no_results_image_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAMPWlDQ1BJQ0MgUHJvZmlsZQA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JUup5V1T4CNL71i6fJres9fPLCEQgAAEhhJQ//e3ln7UI6NP7Jn/a+kfLbnvkwgAetRw5Y9Mzf5vW1JQ0AQKi0j02fcWL7R4/we75+0l9+maGpFeLy19aAmBAAQgMAYB9XUzS39u6aUNBWpi8gtL/2zJ/cDf2EIA0JDgNSYB7a+9+rSAj+z1/ZiFkTcEIACBwAR2LT+tgmqCsyhafdQE5ePFi7yHAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQg4J/D/AQUY8n0knD4qAAAAAElFTkSuQmCC";
|
|
3446
3570
|
|
|
3447
3571
|
// src/components/DataGrid/index.tsx
|
|
3448
|
-
var
|
|
3572
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
3449
3573
|
var PAGE_SIZE_OPTIONS = [5, 10, 15, 20, 25, 30, 35];
|
|
3450
3574
|
var NO_RESULTS_HEIGHT = "h-[185px]";
|
|
3451
3575
|
function DataGrid({
|
|
@@ -3694,7 +3818,7 @@ function DataGrid({
|
|
|
3694
3818
|
virtualPaddingRight = columnVirtualizer.getTotalSize() - ((_e = (_d = virtualColumns[virtualColumns.length - 1]) == null ? void 0 : _d.end) != null ? _e : 0);
|
|
3695
3819
|
}
|
|
3696
3820
|
const empty = table.getRowModel().rows.length === 0;
|
|
3697
|
-
return /* @__PURE__ */ (0,
|
|
3821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3698
3822
|
import_core.DndContext,
|
|
3699
3823
|
{
|
|
3700
3824
|
id: dndId,
|
|
@@ -3702,28 +3826,28 @@ function DataGrid({
|
|
|
3702
3826
|
modifiers: [import_modifiers.restrictToHorizontalAxis],
|
|
3703
3827
|
onDragEnd: handleDragEnd,
|
|
3704
3828
|
sensors,
|
|
3705
|
-
children: /* @__PURE__ */ (0,
|
|
3829
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3706
3830
|
import_sortable2.SortableContext,
|
|
3707
3831
|
{
|
|
3708
3832
|
items: columnOrder,
|
|
3709
3833
|
strategy: import_sortable2.horizontalListSortingStrategy,
|
|
3710
|
-
children: /* @__PURE__ */ (0,
|
|
3834
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
3711
3835
|
"div",
|
|
3712
3836
|
{
|
|
3713
3837
|
id,
|
|
3714
3838
|
"data-testid": testid,
|
|
3715
3839
|
className: "flex flex-col grow-0 h-fit w-full rounded border border-border-primary-normal overflow-hidden text-text-primary-normal",
|
|
3716
3840
|
children: [
|
|
3717
|
-
/* @__PURE__ */ (0,
|
|
3841
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
3718
3842
|
"div",
|
|
3719
3843
|
{
|
|
3720
|
-
className: (0,
|
|
3844
|
+
className: (0, import_clsx17.default)(
|
|
3721
3845
|
"flex overflow-auto scrollbar-thin relative contain-paint will-change-transform",
|
|
3722
3846
|
empty ? "overflow-y-hidden" : "min-h-[120px]"
|
|
3723
3847
|
),
|
|
3724
3848
|
ref: containerRef,
|
|
3725
3849
|
children: [
|
|
3726
|
-
/* @__PURE__ */ (0,
|
|
3850
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3727
3851
|
PinnedColumns,
|
|
3728
3852
|
{
|
|
3729
3853
|
testid,
|
|
@@ -3736,8 +3860,8 @@ function DataGrid({
|
|
|
3736
3860
|
showFilterRow
|
|
3737
3861
|
}
|
|
3738
3862
|
),
|
|
3739
|
-
/* @__PURE__ */ (0,
|
|
3740
|
-
/* @__PURE__ */ (0,
|
|
3863
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("table", { className: "flex-1 flex flex-col min-h-min", children: [
|
|
3864
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("thead", { className: "sticky top-0 z-10 grid", children: table.getCenterHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
3741
3865
|
"tr",
|
|
3742
3866
|
{
|
|
3743
3867
|
"data-testid": testid ? `${testid}-header-row-${headerGroup.id}` : void 0,
|
|
@@ -3745,7 +3869,7 @@ function DataGrid({
|
|
|
3745
3869
|
children: [
|
|
3746
3870
|
virtualPaddingLeft ? (
|
|
3747
3871
|
// fake empty column to the left for virtualization scroll padding
|
|
3748
|
-
/* @__PURE__ */ (0,
|
|
3872
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3749
3873
|
"th",
|
|
3750
3874
|
{
|
|
3751
3875
|
style: { display: "flex", width: virtualPaddingLeft }
|
|
@@ -3761,7 +3885,7 @@ function DataGrid({
|
|
|
3761
3885
|
if (typeof header.column.columnDef.header === "string") {
|
|
3762
3886
|
const cellValue = (_a2 = table.getRowModel().rows[0]) == null ? void 0 : _a2.getValue(header.column.id);
|
|
3763
3887
|
const cellAlignment = (_c2 = (_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.align) != null ? _c2 : typeof cellValue === "number" ? "right" : "left";
|
|
3764
|
-
return /* @__PURE__ */ (0,
|
|
3888
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
3765
3889
|
DraggableCellHeader,
|
|
3766
3890
|
{
|
|
3767
3891
|
minWidth: `${header.column.getSize()}px`,
|
|
@@ -3770,7 +3894,7 @@ function DataGrid({
|
|
|
3770
3894
|
header,
|
|
3771
3895
|
locked: (_d2 = header.column.columnDef.meta) == null ? void 0 : _d2.locked,
|
|
3772
3896
|
center: centerHeader,
|
|
3773
|
-
className: (0,
|
|
3897
|
+
className: (0, import_clsx17.default)(
|
|
3774
3898
|
header.column.getCanSort() ? "cursor-pointer" : "cursor-grab",
|
|
3775
3899
|
"group",
|
|
3776
3900
|
{
|
|
@@ -3780,15 +3904,15 @@ function DataGrid({
|
|
|
3780
3904
|
),
|
|
3781
3905
|
useMenuDefaultMinWidth,
|
|
3782
3906
|
children: [
|
|
3783
|
-
cellAlignment === "left" && /* @__PURE__ */ (0,
|
|
3907
|
+
cellAlignment === "left" && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Subheader, { tall: true, children: header.column.columnDef.header }),
|
|
3784
3908
|
getSortIcon(header.column.getIsSorted()),
|
|
3785
3909
|
!header.column.getIsSorted() && header.column.getCanSort() && getSortIcon(
|
|
3786
3910
|
header.column.getNextSortingOrder(),
|
|
3787
3911
|
true
|
|
3788
3912
|
),
|
|
3789
|
-
header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0,
|
|
3790
|
-
cellAlignment === "right" && /* @__PURE__ */ (0,
|
|
3791
|
-
/* @__PURE__ */ (0,
|
|
3913
|
+
header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Subheader, { tall: true, children: header.column.getSortIndex() + 1 }),
|
|
3914
|
+
cellAlignment === "right" && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Subheader, { tall: true, children: header.column.columnDef.header }),
|
|
3915
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3792
3916
|
"div",
|
|
3793
3917
|
{
|
|
3794
3918
|
onDoubleClick: (e) => {
|
|
@@ -3811,7 +3935,7 @@ function DataGrid({
|
|
|
3811
3935
|
header.id
|
|
3812
3936
|
);
|
|
3813
3937
|
}
|
|
3814
|
-
return /* @__PURE__ */ (0,
|
|
3938
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react16.default.Fragment, { children: ((_e2 = header.column.columnDef.meta) == null ? void 0 : _e2.checkbox) ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3815
3939
|
DataGridCell,
|
|
3816
3940
|
{
|
|
3817
3941
|
id: id ? `${id}-header-${header.id}` : void 0,
|
|
@@ -3819,7 +3943,7 @@ function DataGrid({
|
|
|
3819
3943
|
type: "header",
|
|
3820
3944
|
component: "checkbox",
|
|
3821
3945
|
locked: true,
|
|
3822
|
-
children: /* @__PURE__ */ (0,
|
|
3946
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3823
3947
|
Checkbox,
|
|
3824
3948
|
{
|
|
3825
3949
|
id: id ? `${id}-select-all-checkbox` : void 0,
|
|
@@ -3837,7 +3961,7 @@ function DataGrid({
|
|
|
3837
3961
|
}),
|
|
3838
3962
|
virtualPaddingRight ? (
|
|
3839
3963
|
//fake empty column to the right for virtualization scroll padding
|
|
3840
|
-
/* @__PURE__ */ (0,
|
|
3964
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3841
3965
|
"th",
|
|
3842
3966
|
{
|
|
3843
3967
|
style: { display: "flex", width: virtualPaddingRight }
|
|
@@ -3848,7 +3972,7 @@ function DataGrid({
|
|
|
3848
3972
|
},
|
|
3849
3973
|
headerGroup.id
|
|
3850
3974
|
)) }),
|
|
3851
|
-
/* @__PURE__ */ (0,
|
|
3975
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3852
3976
|
TableBody,
|
|
3853
3977
|
{
|
|
3854
3978
|
id,
|
|
@@ -3866,7 +3990,7 @@ function DataGrid({
|
|
|
3866
3990
|
}
|
|
3867
3991
|
)
|
|
3868
3992
|
] }),
|
|
3869
|
-
/* @__PURE__ */ (0,
|
|
3993
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3870
3994
|
PinnedColumns,
|
|
3871
3995
|
{
|
|
3872
3996
|
id,
|
|
@@ -3886,10 +4010,10 @@ function DataGrid({
|
|
|
3886
4010
|
]
|
|
3887
4011
|
}
|
|
3888
4012
|
),
|
|
3889
|
-
empty && /* @__PURE__ */ (0,
|
|
4013
|
+
empty && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
3890
4014
|
"div",
|
|
3891
4015
|
{
|
|
3892
|
-
className: (0,
|
|
4016
|
+
className: (0, import_clsx17.default)(
|
|
3893
4017
|
NO_RESULTS_HEIGHT,
|
|
3894
4018
|
"flex flex-col items-center justify-center",
|
|
3895
4019
|
componentGap,
|
|
@@ -3897,7 +4021,7 @@ function DataGrid({
|
|
|
3897
4021
|
),
|
|
3898
4022
|
"data-testid": testid ? `${testid}-no-results` : void 0,
|
|
3899
4023
|
children: [
|
|
3900
|
-
/* @__PURE__ */ (0,
|
|
4024
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3901
4025
|
"img",
|
|
3902
4026
|
{
|
|
3903
4027
|
src: (_g = (_f = no_results_image_default) == null ? void 0 : _f.src) != null ? _g : no_results_image_default,
|
|
@@ -3907,15 +4031,15 @@ function DataGrid({
|
|
|
3907
4031
|
height: 120
|
|
3908
4032
|
}
|
|
3909
4033
|
),
|
|
3910
|
-
/* @__PURE__ */ (0,
|
|
3911
|
-
/* @__PURE__ */ (0,
|
|
4034
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Subheader, { color: "text-secondary-normal", children: "No Results" }),
|
|
4035
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Paragraph, { color: "text-secondary-normal", children: "To view results, enter or update your search criteria." })
|
|
3912
4036
|
]
|
|
3913
4037
|
}
|
|
3914
4038
|
),
|
|
3915
|
-
!hideStatusBar && /* @__PURE__ */ (0,
|
|
3916
|
-
pagination && /* @__PURE__ */ (0,
|
|
3917
|
-
/* @__PURE__ */ (0,
|
|
3918
|
-
/* @__PURE__ */ (0,
|
|
4039
|
+
!hideStatusBar && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "p-2 pt-[7px] border-t border-border-primary-normal h-full min-h-[34px]", children: [
|
|
4040
|
+
pagination && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex justify-between items-center", children: [
|
|
4041
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex items-center gap-1 w-min", children: [
|
|
4042
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3919
4043
|
Select,
|
|
3920
4044
|
{
|
|
3921
4045
|
id: id ? `${id}-pagesize-select` : void 0,
|
|
@@ -3926,12 +4050,12 @@ function DataGrid({
|
|
|
3926
4050
|
var _a2;
|
|
3927
4051
|
return (_a2 = pagination.onPageSizeChange) == null ? void 0 : _a2.call(pagination, Number(e.target.value));
|
|
3928
4052
|
},
|
|
3929
|
-
renderMenu: (props) => /* @__PURE__ */ (0,
|
|
4053
|
+
renderMenu: (props) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3930
4054
|
Menu,
|
|
3931
4055
|
__spreadProps(__spreadValues({}, props), {
|
|
3932
4056
|
id: id ? `${id}-pagesize-menu` : void 0,
|
|
3933
4057
|
testid: testid ? `${testid}-pagesize-menu` : void 0,
|
|
3934
|
-
children: PAGE_SIZE_OPTIONS.map((option) => /* @__PURE__ */ (0,
|
|
4058
|
+
children: PAGE_SIZE_OPTIONS.map((option) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3935
4059
|
MenuOption,
|
|
3936
4060
|
{
|
|
3937
4061
|
id: id ? `${id}-pagesize-option-${option}` : void 0,
|
|
@@ -3948,22 +4072,22 @@ function DataGrid({
|
|
|
3948
4072
|
)
|
|
3949
4073
|
}
|
|
3950
4074
|
),
|
|
3951
|
-
/* @__PURE__ */ (0,
|
|
4075
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Label, { children: "Per Page" })
|
|
3952
4076
|
] }),
|
|
3953
|
-
/* @__PURE__ */ (0,
|
|
3954
|
-
/* @__PURE__ */ (0,
|
|
4077
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
4078
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3955
4079
|
Button,
|
|
3956
4080
|
{
|
|
3957
4081
|
id: id ? `${id}-prev-page-button` : void 0,
|
|
3958
4082
|
testid: testid ? `${testid}-prev-page-button` : void 0,
|
|
3959
4083
|
iconOnly: true,
|
|
3960
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
4084
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { name: "chevron_left" }),
|
|
3961
4085
|
onClick: () => pagination.onPageChange(pagination.pageIndex - 1),
|
|
3962
4086
|
variant: "tertiary",
|
|
3963
4087
|
disabled: pagination.pageIndex === 0
|
|
3964
4088
|
}
|
|
3965
4089
|
),
|
|
3966
|
-
/* @__PURE__ */ (0,
|
|
4090
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Paragraph, { children: [
|
|
3967
4091
|
pagination.pageIndex * pagination.pageSize + 1,
|
|
3968
4092
|
" -",
|
|
3969
4093
|
" ",
|
|
@@ -3975,13 +4099,13 @@ function DataGrid({
|
|
|
3975
4099
|
"of ",
|
|
3976
4100
|
pagination.total
|
|
3977
4101
|
] }),
|
|
3978
|
-
/* @__PURE__ */ (0,
|
|
4102
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3979
4103
|
Button,
|
|
3980
4104
|
{
|
|
3981
4105
|
id: id ? `${id}-next-page-button` : void 0,
|
|
3982
4106
|
testid: testid ? `${testid}-next-page-button` : void 0,
|
|
3983
4107
|
iconOnly: true,
|
|
3984
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
4108
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { name: "chevron_right" }),
|
|
3985
4109
|
onClick: () => pagination.onPageChange(pagination.pageIndex + 1),
|
|
3986
4110
|
variant: "tertiary",
|
|
3987
4111
|
disabled: (pagination.pageIndex + 1) * pagination.pageSize >= pagination.total
|
|
@@ -3989,7 +4113,7 @@ function DataGrid({
|
|
|
3989
4113
|
)
|
|
3990
4114
|
] })
|
|
3991
4115
|
] }),
|
|
3992
|
-
status && /* @__PURE__ */ (0,
|
|
4116
|
+
status && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3993
4117
|
Paragraph,
|
|
3994
4118
|
{
|
|
3995
4119
|
testid: testid ? `${testid}-status-text` : void 0,
|
|
@@ -4016,8 +4140,8 @@ function adaptTableStateSetter(setter) {
|
|
|
4016
4140
|
|
|
4017
4141
|
// src/components/Select.tsx
|
|
4018
4142
|
var import_react17 = require("react");
|
|
4019
|
-
var
|
|
4020
|
-
var
|
|
4143
|
+
var import_clsx18 = __toESM(require("clsx"), 1);
|
|
4144
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4021
4145
|
var Select = (_a) => {
|
|
4022
4146
|
var _b = _a, {
|
|
4023
4147
|
id,
|
|
@@ -4061,8 +4185,8 @@ var Select = (_a) => {
|
|
|
4061
4185
|
}
|
|
4062
4186
|
(_a3 = inputRef.current) == null ? void 0 : _a3.focus();
|
|
4063
4187
|
}, [value]);
|
|
4064
|
-
return /* @__PURE__ */ (0,
|
|
4065
|
-
/* @__PURE__ */ (0,
|
|
4188
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
|
|
4189
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4066
4190
|
InputBase,
|
|
4067
4191
|
__spreadProps(__spreadValues({
|
|
4068
4192
|
id,
|
|
@@ -4070,18 +4194,18 @@ var Select = (_a) => {
|
|
|
4070
4194
|
inputContainerRef,
|
|
4071
4195
|
ref: inputRef,
|
|
4072
4196
|
label,
|
|
4073
|
-
after: !readOnly && /* @__PURE__ */ (0,
|
|
4197
|
+
after: !readOnly && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4074
4198
|
"span",
|
|
4075
4199
|
{
|
|
4076
|
-
className: (0,
|
|
4200
|
+
className: (0, import_clsx18.default)(
|
|
4077
4201
|
props.disabled ? "text-icon-action-primary-disabled" : "text-icon-action-primary-normal",
|
|
4078
4202
|
"contents"
|
|
4079
4203
|
),
|
|
4080
|
-
children: /* @__PURE__ */ (0,
|
|
4204
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "keyboard_arrow_down" })
|
|
4081
4205
|
}
|
|
4082
4206
|
),
|
|
4083
4207
|
maxLength: 0,
|
|
4084
|
-
className: (0,
|
|
4208
|
+
className: (0, import_clsx18.default)("!caret-transparent !cursor-default", className),
|
|
4085
4209
|
wrapperClassName,
|
|
4086
4210
|
onKeyDown: (e) => {
|
|
4087
4211
|
const openKeys = ["Enter", "Space", " "];
|
|
@@ -4121,8 +4245,8 @@ var Select = (_a) => {
|
|
|
4121
4245
|
Select.displayName = "Select";
|
|
4122
4246
|
|
|
4123
4247
|
// src/components/Subheader.tsx
|
|
4124
|
-
var
|
|
4125
|
-
var
|
|
4248
|
+
var import_clsx19 = __toESM(require("clsx"), 1);
|
|
4249
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4126
4250
|
var Subheader = (_a) => {
|
|
4127
4251
|
var _b = _a, {
|
|
4128
4252
|
className,
|
|
@@ -4144,12 +4268,12 @@ var Subheader = (_a) => {
|
|
|
4144
4268
|
"testid"
|
|
4145
4269
|
]);
|
|
4146
4270
|
const Element = as;
|
|
4147
|
-
return /* @__PURE__ */ (0,
|
|
4271
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
4148
4272
|
Element,
|
|
4149
4273
|
__spreadProps(__spreadValues({
|
|
4150
4274
|
id,
|
|
4151
4275
|
"data-testid": testid,
|
|
4152
|
-
className: (0,
|
|
4276
|
+
className: (0, import_clsx19.default)(
|
|
4153
4277
|
typography.subheader,
|
|
4154
4278
|
className,
|
|
4155
4279
|
align === "left" && "text-left",
|
|
@@ -4168,8 +4292,8 @@ var Subheader = (_a) => {
|
|
|
4168
4292
|
Subheader.displayName = "Subheader";
|
|
4169
4293
|
|
|
4170
4294
|
// src/components/Button.tsx
|
|
4171
|
-
var
|
|
4172
|
-
var
|
|
4295
|
+
var import_clsx20 = __toESM(require("clsx"), 1);
|
|
4296
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
4173
4297
|
var Button = (_a) => {
|
|
4174
4298
|
var _b = _a, {
|
|
4175
4299
|
variant = "primary",
|
|
@@ -4202,7 +4326,7 @@ var Button = (_a) => {
|
|
|
4202
4326
|
"id",
|
|
4203
4327
|
"testid"
|
|
4204
4328
|
]);
|
|
4205
|
-
const primaryVariantStyles = variant === "primary" && (0,
|
|
4329
|
+
const primaryVariantStyles = variant === "primary" && (0, import_clsx20.default)(
|
|
4206
4330
|
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
4207
4331
|
"bg-background-action-primary-normal border-background-action-primary-normal",
|
|
4208
4332
|
"hover:bg-background-action-primary-hover hover:border-background-action-primary-hover",
|
|
@@ -4210,7 +4334,7 @@ var Button = (_a) => {
|
|
|
4210
4334
|
"active:bg-background-action-primary-active active:border-background-action-primary-active",
|
|
4211
4335
|
"disabled:bg-background-action-primary-disabled disabled:border-background-action-primary-disabled disabled:text-text-on-action-primary-disabled"
|
|
4212
4336
|
);
|
|
4213
|
-
const secondaryVariantStyles = variant === "secondary" && (0,
|
|
4337
|
+
const secondaryVariantStyles = variant === "secondary" && (0, import_clsx20.default)(
|
|
4214
4338
|
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
4215
4339
|
"bg-background-action-secondary-normal border-border-action-normal",
|
|
4216
4340
|
"hover:bg-background-action-secondary-hover hover:border-border-action-hover hover:text-text-action-primary-hover",
|
|
@@ -4218,7 +4342,7 @@ var Button = (_a) => {
|
|
|
4218
4342
|
"active:bg-background-action-secondary-active active:border-border-action-active active:text-text-action-primary-active",
|
|
4219
4343
|
"disabled:bg-background-action-primary-disabled disabled:border-border-action-disabled disabled:text-text-action-primary-disabled"
|
|
4220
4344
|
);
|
|
4221
|
-
const tertiaryVariantStyles = variant === "tertiary" && (0,
|
|
4345
|
+
const tertiaryVariantStyles = variant === "tertiary" && (0, import_clsx20.default)(
|
|
4222
4346
|
"bg-transparent border-transparent",
|
|
4223
4347
|
iconOnly ? (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-icon-action-primary-normal" : (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
4224
4348
|
"bg-transparent border-transparent",
|
|
@@ -4227,7 +4351,7 @@ var Button = (_a) => {
|
|
|
4227
4351
|
"active:bg-background-action-secondary-active active:border-transparent active:text-text-action-primary-active",
|
|
4228
4352
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-primary-disabled"
|
|
4229
4353
|
);
|
|
4230
|
-
const primaryCriticalVariantStyles = variant === "primary-critical" && (0,
|
|
4354
|
+
const primaryCriticalVariantStyles = variant === "primary-critical" && (0, import_clsx20.default)(
|
|
4231
4355
|
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
4232
4356
|
"bg-background-action-critical-primary-normal border-background-action-critical-primary-normal",
|
|
4233
4357
|
"hover:bg-background-action-critical-primary-hover hover:border-background-action-critical-primary-hover",
|
|
@@ -4235,7 +4359,7 @@ var Button = (_a) => {
|
|
|
4235
4359
|
"active:bg-background-action-critical-primary-active active:border-background-action-critical-primary-active",
|
|
4236
4360
|
"disabled:bg-background-action-critical-primary-disabled disabled:border-background-action-critical-primary-disabled disabled:text-text-on-action-primary-disabled"
|
|
4237
4361
|
);
|
|
4238
|
-
const secondaryCriticalVariantStyles = variant === "secondary-critical" && (0,
|
|
4362
|
+
const secondaryCriticalVariantStyles = variant === "secondary-critical" && (0, import_clsx20.default)(
|
|
4239
4363
|
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-critical-normal",
|
|
4240
4364
|
"bg-background-action-critical-secondary-normal border-border-action-critical-normal",
|
|
4241
4365
|
"hover:bg-background-action-critical-secondary-hover hover:border-border-action-critical-hover hover:text-text-action-critical-hover",
|
|
@@ -4243,7 +4367,7 @@ var Button = (_a) => {
|
|
|
4243
4367
|
"active:bg-background-action-critical-secondary-active active:border-border-action-critical-active active:text-text-action-critical-active",
|
|
4244
4368
|
"disabled:bg-background-action-critical-disabled disabled:border-border-action-critical-disabled disabled:text-text-action-critical-disabled"
|
|
4245
4369
|
);
|
|
4246
|
-
const tertiaryCriticalVariantStyles = variant === "tertiary-critical" && (0,
|
|
4370
|
+
const tertiaryCriticalVariantStyles = variant === "tertiary-critical" && (0, import_clsx20.default)(
|
|
4247
4371
|
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-critical-normal",
|
|
4248
4372
|
"bg-transparent border-transparent text-text-action-critical-normal",
|
|
4249
4373
|
"hover:bg-background-action-critical-secondary-hover hover:border-background-action-critical-secondary-hover hover:text-text-action-critical-hover",
|
|
@@ -4251,7 +4375,7 @@ var Button = (_a) => {
|
|
|
4251
4375
|
"active:bg-background-action-critical-secondary-active active:border-background-action-critical-secondary-active active:text-text-action-critical-active",
|
|
4252
4376
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
4253
4377
|
);
|
|
4254
|
-
const navigationVarianStyles = variant === "navigation" && (0,
|
|
4378
|
+
const navigationVarianStyles = variant === "navigation" && (0, import_clsx20.default)(
|
|
4255
4379
|
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
4256
4380
|
"bg-transparent",
|
|
4257
4381
|
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
@@ -4261,8 +4385,8 @@ var Button = (_a) => {
|
|
|
4261
4385
|
"flex-col",
|
|
4262
4386
|
paddingUsingComponentGap
|
|
4263
4387
|
);
|
|
4264
|
-
const notNavigationVariantStyles = variant !== "navigation" && (0,
|
|
4265
|
-
const buttonClasses = (0,
|
|
4388
|
+
const notNavigationVariantStyles = variant !== "navigation" && (0, import_clsx20.default)("border-2 flex-row", componentPaddingMinus2pxBorder, componentGap);
|
|
4389
|
+
const buttonClasses = (0, import_clsx20.default)(
|
|
4266
4390
|
disabled ? "cursor-default" : "cursor-pointer",
|
|
4267
4391
|
block ? "w-full" : "w-fit",
|
|
4268
4392
|
baseTransition,
|
|
@@ -4277,14 +4401,14 @@ var Button = (_a) => {
|
|
|
4277
4401
|
notNavigationVariantStyles,
|
|
4278
4402
|
className
|
|
4279
4403
|
);
|
|
4280
|
-
const labelClasses = (0,
|
|
4404
|
+
const labelClasses = (0, import_clsx20.default)(
|
|
4281
4405
|
"min-h-6 flex items-center justify-center",
|
|
4282
4406
|
classNameLabel,
|
|
4283
4407
|
componentPaddingXUsingComponentGap,
|
|
4284
4408
|
typography.buttonLabel
|
|
4285
4409
|
);
|
|
4286
4410
|
const Element = href && !as ? "a" : as;
|
|
4287
|
-
return /* @__PURE__ */ (0,
|
|
4411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
4288
4412
|
Element,
|
|
4289
4413
|
__spreadProps(__spreadValues({
|
|
4290
4414
|
id,
|
|
@@ -4298,7 +4422,7 @@ var Button = (_a) => {
|
|
|
4298
4422
|
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
4299
4423
|
children: [
|
|
4300
4424
|
leftIcon && leftIcon,
|
|
4301
|
-
!iconOnly && children && /* @__PURE__ */ (0,
|
|
4425
|
+
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
|
|
4302
4426
|
rightIcon && rightIcon
|
|
4303
4427
|
]
|
|
4304
4428
|
})
|
|
@@ -4307,10 +4431,10 @@ var Button = (_a) => {
|
|
|
4307
4431
|
Button.displayName = "Button";
|
|
4308
4432
|
|
|
4309
4433
|
// src/components/Tooltip.tsx
|
|
4310
|
-
var
|
|
4434
|
+
var import_clsx21 = __toESM(require("clsx"), 1);
|
|
4311
4435
|
var import_react18 = require("react");
|
|
4312
4436
|
var import_react_dom2 = require("react-dom");
|
|
4313
|
-
var
|
|
4437
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
4314
4438
|
var Tooltip = ({
|
|
4315
4439
|
id,
|
|
4316
4440
|
testid,
|
|
@@ -4377,7 +4501,7 @@ var Tooltip = ({
|
|
|
4377
4501
|
return () => window.removeEventListener("resize", updatePosition);
|
|
4378
4502
|
}
|
|
4379
4503
|
}, [isVisible]);
|
|
4380
|
-
return /* @__PURE__ */ (0,
|
|
4504
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
4381
4505
|
"div",
|
|
4382
4506
|
{
|
|
4383
4507
|
id,
|
|
@@ -4389,7 +4513,7 @@ var Tooltip = ({
|
|
|
4389
4513
|
children: [
|
|
4390
4514
|
children,
|
|
4391
4515
|
!keepHidden && isVisible && typeof document !== "undefined" && (0, import_react_dom2.createPortal)(
|
|
4392
|
-
/* @__PURE__ */ (0,
|
|
4516
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
4393
4517
|
"div",
|
|
4394
4518
|
{
|
|
4395
4519
|
id: id ? `${id}-message` : void 0,
|
|
@@ -4401,7 +4525,7 @@ var Tooltip = ({
|
|
|
4401
4525
|
left: `${tooltipPosition.left}px`,
|
|
4402
4526
|
zIndex: 9999
|
|
4403
4527
|
},
|
|
4404
|
-
className: (0,
|
|
4528
|
+
className: (0, import_clsx21.default)(
|
|
4405
4529
|
typography.caption,
|
|
4406
4530
|
"bg-neutral-500 text-neutral-100 rounded whitespace-nowrap shadow-2 pointer-events-none transition-opacity duration-100 ease-in-out",
|
|
4407
4531
|
componentPadding,
|
|
@@ -4433,10 +4557,10 @@ var import_react20 = require("react");
|
|
|
4433
4557
|
var import_react_dom3 = require("react-dom");
|
|
4434
4558
|
|
|
4435
4559
|
// src/components/CalendarRange.tsx
|
|
4436
|
-
var
|
|
4560
|
+
var import_clsx22 = __toESM(require("clsx"), 1);
|
|
4437
4561
|
var import_react19 = __toESM(require("react"), 1);
|
|
4438
4562
|
var import_polyfill = require("@js-temporal/polyfill");
|
|
4439
|
-
var
|
|
4563
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
4440
4564
|
function DateCell(_a) {
|
|
4441
4565
|
var _b = _a, {
|
|
4442
4566
|
date,
|
|
@@ -4471,12 +4595,12 @@ function DateCell(_a) {
|
|
|
4471
4595
|
"id",
|
|
4472
4596
|
"testid"
|
|
4473
4597
|
]);
|
|
4474
|
-
return /* @__PURE__ */ (0,
|
|
4598
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4475
4599
|
"span",
|
|
4476
4600
|
__spreadProps(__spreadValues({}, props), {
|
|
4477
4601
|
id,
|
|
4478
4602
|
"data-testid": testid,
|
|
4479
|
-
className: (0,
|
|
4603
|
+
className: (0, import_clsx22.default)(
|
|
4480
4604
|
"flex items-center justify-center aspect-square select-none transition-colors border duration-100 font-medium",
|
|
4481
4605
|
typography.caption,
|
|
4482
4606
|
cellPadding,
|
|
@@ -4627,12 +4751,12 @@ function CalendarRange({
|
|
|
4627
4751
|
}
|
|
4628
4752
|
return false;
|
|
4629
4753
|
}
|
|
4630
|
-
return /* @__PURE__ */ (0,
|
|
4754
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4631
4755
|
"div",
|
|
4632
4756
|
{
|
|
4633
4757
|
id,
|
|
4634
4758
|
"data-testid": testid,
|
|
4635
|
-
className: (0,
|
|
4759
|
+
className: (0, import_clsx22.default)(
|
|
4636
4760
|
"relative bg-background-grouped-primary-normal rounded-base w-fit",
|
|
4637
4761
|
layoutPaddding,
|
|
4638
4762
|
layoutGap,
|
|
@@ -4640,15 +4764,15 @@ function CalendarRange({
|
|
|
4640
4764
|
// baseTransition,
|
|
4641
4765
|
"overflow-hidden"
|
|
4642
4766
|
),
|
|
4643
|
-
children: /* @__PURE__ */ (0,
|
|
4767
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4644
4768
|
"div",
|
|
4645
4769
|
{
|
|
4646
|
-
className: (0,
|
|
4770
|
+
className: (0, import_clsx22.default)(
|
|
4647
4771
|
"flex flex-row items-start justify-start bg-background-primary-normal overflow-clip",
|
|
4648
4772
|
layoutGap
|
|
4649
4773
|
),
|
|
4650
4774
|
children: (mode === "double" ? [0, 1] : [0]).map((offset, idx) => {
|
|
4651
|
-
return /* @__PURE__ */ (0,
|
|
4775
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4652
4776
|
CalendarPane,
|
|
4653
4777
|
{
|
|
4654
4778
|
getMonthData,
|
|
@@ -4713,38 +4837,38 @@ function CalendarPane({
|
|
|
4713
4837
|
const month = getMonthData(offset);
|
|
4714
4838
|
const totalCells = 42;
|
|
4715
4839
|
const emptyCells = month.firstDayOffset;
|
|
4716
|
-
return /* @__PURE__ */ (0,
|
|
4717
|
-
/* @__PURE__ */ (0,
|
|
4840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_react19.default.Fragment, { children: [
|
|
4841
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
4718
4842
|
"div",
|
|
4719
4843
|
{
|
|
4720
|
-
className: (0,
|
|
4844
|
+
className: (0, import_clsx22.default)("flex flex-col"),
|
|
4721
4845
|
children: [
|
|
4722
|
-
/* @__PURE__ */ (0,
|
|
4846
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
4723
4847
|
"div",
|
|
4724
4848
|
{
|
|
4725
|
-
className: (0,
|
|
4849
|
+
className: (0, import_clsx22.default)(
|
|
4726
4850
|
"flex flex-row items-center justify-between",
|
|
4727
4851
|
typography.label,
|
|
4728
4852
|
"text-text-action-primary-normal"
|
|
4729
4853
|
),
|
|
4730
4854
|
children: [
|
|
4731
|
-
idx === 0 ? /* @__PURE__ */ (0,
|
|
4855
|
+
idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4732
4856
|
"button",
|
|
4733
4857
|
{
|
|
4734
4858
|
id: id ? `${id}-prev-month-button` : void 0,
|
|
4735
4859
|
"data-testid": testid ? `${testid}-prev-month-button` : void 0,
|
|
4736
4860
|
type: "button",
|
|
4737
|
-
className: (0,
|
|
4861
|
+
className: (0, import_clsx22.default)(
|
|
4738
4862
|
"flex items-center justify-center rounded-base hover:bg-action-100 active:bg-action-300 text-icon-action-primary-normal",
|
|
4739
4863
|
componentPadding
|
|
4740
4864
|
),
|
|
4741
4865
|
"aria-label": "Previous month",
|
|
4742
4866
|
onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
|
|
4743
|
-
children: /* @__PURE__ */ (0,
|
|
4867
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon, { name: "chevron_left", size: 24 })
|
|
4744
4868
|
}
|
|
4745
|
-
) : /* @__PURE__ */ (0,
|
|
4746
|
-
/* @__PURE__ */ (0,
|
|
4747
|
-
/* @__PURE__ */ (0,
|
|
4869
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: (0, import_clsx22.default)(componentPadding, "mr-1") }),
|
|
4870
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
|
|
4871
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4748
4872
|
"button",
|
|
4749
4873
|
{
|
|
4750
4874
|
ref: (el) => {
|
|
@@ -4759,13 +4883,13 @@ function CalendarPane({
|
|
|
4759
4883
|
children: month.name
|
|
4760
4884
|
}
|
|
4761
4885
|
),
|
|
4762
|
-
/* @__PURE__ */ (0,
|
|
4886
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4763
4887
|
Menu,
|
|
4764
4888
|
{
|
|
4765
4889
|
show: monthMenuOpen,
|
|
4766
4890
|
positionTo: monthMenuRef,
|
|
4767
4891
|
setShow: () => setMonthMenuOpen(false),
|
|
4768
|
-
children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0,
|
|
4892
|
+
children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4769
4893
|
MenuOption,
|
|
4770
4894
|
{
|
|
4771
4895
|
selected: baseMonth.month === x + 1,
|
|
@@ -4779,7 +4903,7 @@ function CalendarPane({
|
|
|
4779
4903
|
))
|
|
4780
4904
|
}
|
|
4781
4905
|
),
|
|
4782
|
-
/* @__PURE__ */ (0,
|
|
4906
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4783
4907
|
"button",
|
|
4784
4908
|
{
|
|
4785
4909
|
ref: (el) => {
|
|
@@ -4794,13 +4918,13 @@ function CalendarPane({
|
|
|
4794
4918
|
children: month.year
|
|
4795
4919
|
}
|
|
4796
4920
|
),
|
|
4797
|
-
/* @__PURE__ */ (0,
|
|
4921
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4798
4922
|
Menu,
|
|
4799
4923
|
{
|
|
4800
4924
|
show: yearMenuOpen,
|
|
4801
4925
|
positionTo: yearMenuRef,
|
|
4802
4926
|
setShow: () => setYearMenuOpen(false),
|
|
4803
|
-
children: years.map((y) => /* @__PURE__ */ (0,
|
|
4927
|
+
children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4804
4928
|
MenuOption,
|
|
4805
4929
|
{
|
|
4806
4930
|
selected: baseMonth.year === y,
|
|
@@ -4815,28 +4939,28 @@ function CalendarPane({
|
|
|
4815
4939
|
}
|
|
4816
4940
|
)
|
|
4817
4941
|
] }),
|
|
4818
|
-
(mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0,
|
|
4942
|
+
(mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4819
4943
|
"button",
|
|
4820
4944
|
{
|
|
4821
4945
|
id: id ? `${id}-next-month-button` : void 0,
|
|
4822
4946
|
"data-testid": testid ? `${testid}-next-month-button` : void 0,
|
|
4823
4947
|
type: "button",
|
|
4824
|
-
className: (0,
|
|
4948
|
+
className: (0, import_clsx22.default)(
|
|
4825
4949
|
"flex items-center justify-center rounded-base hover:bg-action-100 active:bg-action-300 text-icon-action-primary-normal",
|
|
4826
4950
|
componentPadding
|
|
4827
4951
|
),
|
|
4828
4952
|
"aria-label": "Next month",
|
|
4829
4953
|
onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
|
|
4830
|
-
children: /* @__PURE__ */ (0,
|
|
4954
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon, { name: "chevron_right", size: 24 })
|
|
4831
4955
|
}
|
|
4832
|
-
) : /* @__PURE__ */ (0,
|
|
4956
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: (0, import_clsx22.default)(componentPadding, "ml-1") })
|
|
4833
4957
|
]
|
|
4834
4958
|
}
|
|
4835
4959
|
),
|
|
4836
|
-
/* @__PURE__ */ (0,
|
|
4960
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: (0, import_clsx22.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4837
4961
|
"span",
|
|
4838
4962
|
{
|
|
4839
|
-
className: (0,
|
|
4963
|
+
className: (0, import_clsx22.default)(
|
|
4840
4964
|
typography.caption,
|
|
4841
4965
|
"text-text-secondary-normal text-center",
|
|
4842
4966
|
"w-10"
|
|
@@ -4845,7 +4969,7 @@ function CalendarPane({
|
|
|
4845
4969
|
},
|
|
4846
4970
|
d
|
|
4847
4971
|
)) }),
|
|
4848
|
-
/* @__PURE__ */ (0,
|
|
4972
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: (0, import_clsx22.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
|
|
4849
4973
|
const day = i - emptyCells + 1;
|
|
4850
4974
|
const date = month.date.with({ day: 1 }).add({
|
|
4851
4975
|
days: i - emptyCells
|
|
@@ -4859,7 +4983,7 @@ function CalendarPane({
|
|
|
4859
4983
|
const hoverDateIsAfterPendingFrom = hoveredDate && pendingFrom && import_polyfill.Temporal.PlainDate.compare(hoveredDate, pendingFrom) >= 0;
|
|
4860
4984
|
const isRangeStart = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && fromDate && date.equals(fromDate) || hoverDateIsAfterPendingFrom && date.equals(pendingFrom);
|
|
4861
4985
|
const isRangeEnd = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && toDate && date.equals(toDate) || hoverDateIsBeforePendingFrom && date.equals(pendingFrom);
|
|
4862
|
-
return /* @__PURE__ */ (0,
|
|
4986
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4863
4987
|
DateCell,
|
|
4864
4988
|
{
|
|
4865
4989
|
id: id ? `${id}-date-${date.toString()}` : void 0,
|
|
@@ -4884,10 +5008,10 @@ function CalendarPane({
|
|
|
4884
5008
|
]
|
|
4885
5009
|
}
|
|
4886
5010
|
),
|
|
4887
|
-
mode === "double" && idx === 0 && /* @__PURE__ */ (0,
|
|
5011
|
+
mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4888
5012
|
"div",
|
|
4889
5013
|
{
|
|
4890
|
-
className: (0,
|
|
5014
|
+
className: (0, import_clsx22.default)(
|
|
4891
5015
|
"self-stretch bg-border-primary-normal rounded-base",
|
|
4892
5016
|
// 1px width, full height, matches Figma divider
|
|
4893
5017
|
"w-px"
|
|
@@ -4898,7 +5022,7 @@ function CalendarPane({
|
|
|
4898
5022
|
}
|
|
4899
5023
|
|
|
4900
5024
|
// src/components/DateInput.tsx
|
|
4901
|
-
var
|
|
5025
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
4902
5026
|
var DateInput = (_a) => {
|
|
4903
5027
|
var _b = _a, {
|
|
4904
5028
|
id,
|
|
@@ -5057,8 +5181,8 @@ var DateInput = (_a) => {
|
|
|
5057
5181
|
}
|
|
5058
5182
|
}
|
|
5059
5183
|
};
|
|
5060
|
-
return /* @__PURE__ */ (0,
|
|
5061
|
-
/* @__PURE__ */ (0,
|
|
5184
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "relative", children: [
|
|
5185
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
5062
5186
|
InputBase,
|
|
5063
5187
|
__spreadProps(__spreadValues({
|
|
5064
5188
|
id,
|
|
@@ -5072,7 +5196,7 @@ var DateInput = (_a) => {
|
|
|
5072
5196
|
placeholder,
|
|
5073
5197
|
disabled,
|
|
5074
5198
|
readOnly,
|
|
5075
|
-
after: /* @__PURE__ */ (0,
|
|
5199
|
+
after: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon, { name: "calendar_month" }),
|
|
5076
5200
|
onFocus: handleFocus,
|
|
5077
5201
|
onClick: handleClick,
|
|
5078
5202
|
onChange: handleInputChange,
|
|
@@ -5083,7 +5207,7 @@ var DateInput = (_a) => {
|
|
|
5083
5207
|
})
|
|
5084
5208
|
),
|
|
5085
5209
|
visible && !readOnly && (0, import_react_dom3.createPortal)(
|
|
5086
|
-
/* @__PURE__ */ (0,
|
|
5210
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
5087
5211
|
"div",
|
|
5088
5212
|
{
|
|
5089
5213
|
ref: (el) => {
|
|
@@ -5095,7 +5219,7 @@ var DateInput = (_a) => {
|
|
|
5095
5219
|
left: `${calendarPosition.left}px`,
|
|
5096
5220
|
minWidth: `${calendarPosition.width}px`
|
|
5097
5221
|
},
|
|
5098
|
-
children: /* @__PURE__ */ (0,
|
|
5222
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
5099
5223
|
CalendarRange,
|
|
5100
5224
|
{
|
|
5101
5225
|
id: id ? `${id}-calendar` : void 0,
|
|
@@ -5126,39 +5250,39 @@ function formatDisplayValue(from) {
|
|
|
5126
5250
|
}
|
|
5127
5251
|
|
|
5128
5252
|
// src/components/Accordion.tsx
|
|
5129
|
-
var
|
|
5253
|
+
var import_clsx24 = __toESM(require("clsx"), 1);
|
|
5130
5254
|
|
|
5131
5255
|
// src/components/Card.tsx
|
|
5132
|
-
var
|
|
5133
|
-
var
|
|
5256
|
+
var import_clsx23 = __toESM(require("clsx"), 1);
|
|
5257
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
5134
5258
|
|
|
5135
5259
|
// src/components/Accordion.tsx
|
|
5136
|
-
var
|
|
5260
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5137
5261
|
|
|
5138
5262
|
// src/components/ProductImagePreview/Thumbnail.tsx
|
|
5139
5263
|
var import_react22 = require("react");
|
|
5140
5264
|
|
|
5141
5265
|
// src/components/ImagePlaceholder.tsx
|
|
5142
5266
|
var import_react21 = require("react");
|
|
5143
|
-
var
|
|
5267
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5144
5268
|
|
|
5145
5269
|
// src/components/ProductImagePreview/Thumbnail.tsx
|
|
5146
|
-
var
|
|
5270
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5147
5271
|
|
|
5148
5272
|
// src/components/Grid.tsx
|
|
5149
|
-
var
|
|
5150
|
-
var
|
|
5273
|
+
var import_clsx25 = __toESM(require("clsx"), 1);
|
|
5274
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5151
5275
|
|
|
5152
5276
|
// src/components/ProductImagePreview/ProductPrimaryImage.tsx
|
|
5153
5277
|
var import_react23 = require("react");
|
|
5154
|
-
var
|
|
5278
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5155
5279
|
|
|
5156
5280
|
// src/components/ProductImagePreview/ZoomWindow.tsx
|
|
5157
5281
|
var import_react24 = require("react");
|
|
5158
5282
|
|
|
5159
5283
|
// src/components/Surface.tsx
|
|
5160
|
-
var
|
|
5161
|
-
var
|
|
5284
|
+
var import_clsx26 = __toESM(require("clsx"), 1);
|
|
5285
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5162
5286
|
var Surface = (_a) => {
|
|
5163
5287
|
var _b = _a, {
|
|
5164
5288
|
children,
|
|
@@ -5171,11 +5295,11 @@ var Surface = (_a) => {
|
|
|
5171
5295
|
"elevation",
|
|
5172
5296
|
"id"
|
|
5173
5297
|
]);
|
|
5174
|
-
return /* @__PURE__ */ (0,
|
|
5298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
5175
5299
|
"div",
|
|
5176
5300
|
__spreadProps(__spreadValues({
|
|
5177
5301
|
id,
|
|
5178
|
-
className: (0,
|
|
5302
|
+
className: (0, import_clsx26.default)(
|
|
5179
5303
|
"rounded-base",
|
|
5180
5304
|
{
|
|
5181
5305
|
"shadow-2": elevation === 2,
|
|
@@ -5192,41 +5316,41 @@ var Surface = (_a) => {
|
|
|
5192
5316
|
Surface.displayName = "Surface";
|
|
5193
5317
|
|
|
5194
5318
|
// src/components/ProductImagePreview/ZoomWindow.tsx
|
|
5195
|
-
var
|
|
5319
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5196
5320
|
|
|
5197
5321
|
// src/components/ProductImagePreview/CarouselPagination.tsx
|
|
5198
|
-
var
|
|
5199
|
-
var
|
|
5322
|
+
var import_clsx27 = require("clsx");
|
|
5323
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5200
5324
|
|
|
5201
5325
|
// src/components/ProductImagePreview/MobileImageCarousel.tsx
|
|
5202
5326
|
var import_react25 = require("react");
|
|
5203
|
-
var
|
|
5327
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5204
5328
|
|
|
5205
5329
|
// src/components/ProductImagePreview/useProductImagePreview.ts
|
|
5206
5330
|
var import_react26 = require("react");
|
|
5207
5331
|
|
|
5208
5332
|
// src/components/ProductImagePreview/index.tsx
|
|
5209
|
-
var
|
|
5333
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5210
5334
|
|
|
5211
5335
|
// src/components/CompactImagesPreview.tsx
|
|
5212
5336
|
var import_react27 = require("react");
|
|
5213
|
-
var import_clsx27 = __toESM(require("clsx"), 1);
|
|
5214
|
-
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5215
|
-
|
|
5216
|
-
// src/components/SimpleTable.tsx
|
|
5217
5337
|
var import_clsx28 = __toESM(require("clsx"), 1);
|
|
5218
5338
|
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5219
5339
|
|
|
5340
|
+
// src/components/SimpleTable.tsx
|
|
5341
|
+
var import_clsx29 = __toESM(require("clsx"), 1);
|
|
5342
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5343
|
+
|
|
5220
5344
|
// src/components/PDFViewer/index.tsx
|
|
5221
5345
|
var import_react32 = require("react");
|
|
5222
5346
|
|
|
5223
5347
|
// src/components/Modal.tsx
|
|
5224
|
-
var
|
|
5348
|
+
var import_clsx34 = __toESM(require("clsx"), 1);
|
|
5225
5349
|
var import_react29 = require("react");
|
|
5226
5350
|
|
|
5227
5351
|
// src/components/ModalHeader.tsx
|
|
5228
|
-
var
|
|
5229
|
-
var
|
|
5352
|
+
var import_clsx30 = __toESM(require("clsx"), 1);
|
|
5353
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5230
5354
|
var ModalHeader = ({
|
|
5231
5355
|
title,
|
|
5232
5356
|
hideCloseIcon,
|
|
@@ -5237,12 +5361,12 @@ var ModalHeader = ({
|
|
|
5237
5361
|
testid,
|
|
5238
5362
|
headerClassname
|
|
5239
5363
|
}) => {
|
|
5240
|
-
return /* @__PURE__ */ (0,
|
|
5364
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5241
5365
|
"div",
|
|
5242
5366
|
{
|
|
5243
5367
|
id,
|
|
5244
5368
|
"data-testid": testid,
|
|
5245
|
-
className: (0,
|
|
5369
|
+
className: (0, import_clsx30.default)(
|
|
5246
5370
|
"flex justify-between items-center",
|
|
5247
5371
|
headerIconAlign === "center" && "justify-center",
|
|
5248
5372
|
headerIconAlign === "right" && "justify-end",
|
|
@@ -5252,9 +5376,9 @@ var ModalHeader = ({
|
|
|
5252
5376
|
headerClassname
|
|
5253
5377
|
),
|
|
5254
5378
|
children: [
|
|
5255
|
-
/* @__PURE__ */ (0,
|
|
5379
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: (0, import_clsx30.default)("flex items-center flex-1", layoutGroupGap), children: [
|
|
5256
5380
|
headerIcon,
|
|
5257
|
-
title && /* @__PURE__ */ (0,
|
|
5381
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5258
5382
|
Heading2,
|
|
5259
5383
|
{
|
|
5260
5384
|
id: id ? `${id}-title` : void 0,
|
|
@@ -5264,7 +5388,7 @@ var ModalHeader = ({
|
|
|
5264
5388
|
}
|
|
5265
5389
|
)
|
|
5266
5390
|
] }),
|
|
5267
|
-
!hideCloseIcon && /* @__PURE__ */ (0,
|
|
5391
|
+
!hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5268
5392
|
Button,
|
|
5269
5393
|
{
|
|
5270
5394
|
id: id ? `${id}-close-button` : void 0,
|
|
@@ -5272,7 +5396,7 @@ var ModalHeader = ({
|
|
|
5272
5396
|
iconOnly: true,
|
|
5273
5397
|
variant: "tertiary",
|
|
5274
5398
|
onClick: onClose,
|
|
5275
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
5399
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-brand-text-action-primary-normal desktop:text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "close", size: 24 }) })
|
|
5276
5400
|
}
|
|
5277
5401
|
)
|
|
5278
5402
|
]
|
|
@@ -5282,20 +5406,20 @@ var ModalHeader = ({
|
|
|
5282
5406
|
ModalHeader.displayName = "ModalHeader";
|
|
5283
5407
|
|
|
5284
5408
|
// src/components/ModalContent.tsx
|
|
5285
|
-
var
|
|
5286
|
-
var
|
|
5409
|
+
var import_clsx31 = __toESM(require("clsx"), 1);
|
|
5410
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5287
5411
|
function ModalContent({
|
|
5288
5412
|
fixedHeightScrolling,
|
|
5289
5413
|
children,
|
|
5290
5414
|
id,
|
|
5291
5415
|
testid
|
|
5292
5416
|
}) {
|
|
5293
|
-
return /* @__PURE__ */ (0,
|
|
5417
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5294
5418
|
"div",
|
|
5295
5419
|
{
|
|
5296
5420
|
id,
|
|
5297
5421
|
"data-testid": testid,
|
|
5298
|
-
className: (0,
|
|
5422
|
+
className: (0, import_clsx31.default)(
|
|
5299
5423
|
"flex-grow desktop:flex-grow-0",
|
|
5300
5424
|
layoutPaddding,
|
|
5301
5425
|
fixedHeightScrolling && "overflow-auto"
|
|
@@ -5307,8 +5431,8 @@ function ModalContent({
|
|
|
5307
5431
|
ModalContent.displayName = "ModalContent";
|
|
5308
5432
|
|
|
5309
5433
|
// src/components/ModalButtons.tsx
|
|
5310
|
-
var
|
|
5311
|
-
var
|
|
5434
|
+
var import_clsx32 = __toESM(require("clsx"), 1);
|
|
5435
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5312
5436
|
var ModalButtons = ({
|
|
5313
5437
|
onClose,
|
|
5314
5438
|
onContinue,
|
|
@@ -5316,36 +5440,36 @@ var ModalButtons = ({
|
|
|
5316
5440
|
id,
|
|
5317
5441
|
testid
|
|
5318
5442
|
}) => {
|
|
5319
|
-
return /* @__PURE__ */ (0,
|
|
5443
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5320
5444
|
"div",
|
|
5321
5445
|
{
|
|
5322
5446
|
id,
|
|
5323
5447
|
"data-testid": testid,
|
|
5324
|
-
className: (0,
|
|
5448
|
+
className: (0, import_clsx32.default)(
|
|
5325
5449
|
"border-t border-neutral-300 flex justify-end",
|
|
5326
5450
|
layoutPaddding,
|
|
5327
5451
|
layoutGroupGap
|
|
5328
5452
|
),
|
|
5329
|
-
children: customActions != null ? customActions : /* @__PURE__ */ (0,
|
|
5330
|
-
/* @__PURE__ */ (0,
|
|
5453
|
+
children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
|
|
5454
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5331
5455
|
Button,
|
|
5332
5456
|
{
|
|
5333
5457
|
id: id ? `${id}-close-button` : void 0,
|
|
5334
5458
|
testid: testid ? `${testid}-close-button` : void 0,
|
|
5335
5459
|
variant: "secondary",
|
|
5336
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
5460
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { name: "close", size: 24 }),
|
|
5337
5461
|
onClick: onClose,
|
|
5338
5462
|
className: "max-sm:w-full",
|
|
5339
5463
|
children: "Close"
|
|
5340
5464
|
}
|
|
5341
5465
|
),
|
|
5342
|
-
/* @__PURE__ */ (0,
|
|
5466
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5343
5467
|
Button,
|
|
5344
5468
|
{
|
|
5345
5469
|
id: id ? `${id}-continue-button` : void 0,
|
|
5346
5470
|
testid: testid ? `${testid}-continue-button` : void 0,
|
|
5347
5471
|
variant: "primary",
|
|
5348
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
5472
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { name: "check", size: 24 }),
|
|
5349
5473
|
className: "max-sm:w-full",
|
|
5350
5474
|
onClick: onContinue,
|
|
5351
5475
|
children: "Continue"
|
|
@@ -5358,8 +5482,8 @@ var ModalButtons = ({
|
|
|
5358
5482
|
ModalButtons.displayName = "ModalButtons";
|
|
5359
5483
|
|
|
5360
5484
|
// src/components/ModalScrim.tsx
|
|
5361
|
-
var
|
|
5362
|
-
var
|
|
5485
|
+
var import_clsx33 = __toESM(require("clsx"), 1);
|
|
5486
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5363
5487
|
var ModalScrim = ({
|
|
5364
5488
|
show = false,
|
|
5365
5489
|
size = "small",
|
|
@@ -5369,12 +5493,12 @@ var ModalScrim = ({
|
|
|
5369
5493
|
id,
|
|
5370
5494
|
testid
|
|
5371
5495
|
}) => {
|
|
5372
|
-
return /* @__PURE__ */ (0,
|
|
5496
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5373
5497
|
"div",
|
|
5374
5498
|
{
|
|
5375
5499
|
id,
|
|
5376
5500
|
"data-testid": testid,
|
|
5377
|
-
className: (0,
|
|
5501
|
+
className: (0, import_clsx33.default)(
|
|
5378
5502
|
"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",
|
|
5379
5503
|
!show && " pointer-events-none",
|
|
5380
5504
|
size === "small" && "p-4",
|
|
@@ -5405,7 +5529,7 @@ var useMounted = () => {
|
|
|
5405
5529
|
};
|
|
5406
5530
|
|
|
5407
5531
|
// src/components/Modal.tsx
|
|
5408
|
-
var
|
|
5532
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5409
5533
|
var fadeInScale = (element, duration = 300) => element.animate(
|
|
5410
5534
|
[
|
|
5411
5535
|
{ opacity: 0, transform: "scale(0.95)" },
|
|
@@ -5577,7 +5701,7 @@ var Modal = ({
|
|
|
5577
5701
|
return null;
|
|
5578
5702
|
}
|
|
5579
5703
|
return (0, import_react_dom4.createPortal)(
|
|
5580
|
-
/* @__PURE__ */ (0,
|
|
5704
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5581
5705
|
ModalScrim,
|
|
5582
5706
|
{
|
|
5583
5707
|
id: id ? `${id}-scrim` : void 0,
|
|
@@ -5586,13 +5710,13 @@ var Modal = ({
|
|
|
5586
5710
|
ref: bgRef,
|
|
5587
5711
|
show: open,
|
|
5588
5712
|
onClick: backgroundClickHandler,
|
|
5589
|
-
children: /* @__PURE__ */ (0,
|
|
5713
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5590
5714
|
"div",
|
|
5591
5715
|
{
|
|
5592
5716
|
id,
|
|
5593
5717
|
"data-testid": testid,
|
|
5594
5718
|
ref: modalRef,
|
|
5595
|
-
className: (0,
|
|
5719
|
+
className: (0, import_clsx34.default)(
|
|
5596
5720
|
"shadow-md rounded-sm flex flex-col overflow-hidden w-full opacity-0 h-fit",
|
|
5597
5721
|
computedFixedHeightScrolling && size !== "screen" && "desktop:max-h-[calc(100vh-32px)] desktop:h-auto",
|
|
5598
5722
|
className,
|
|
@@ -5601,7 +5725,7 @@ var Modal = ({
|
|
|
5601
5725
|
),
|
|
5602
5726
|
onClick: (e) => e.stopPropagation(),
|
|
5603
5727
|
children: [
|
|
5604
|
-
/* @__PURE__ */ (0,
|
|
5728
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5605
5729
|
ModalHeader,
|
|
5606
5730
|
{
|
|
5607
5731
|
id: id ? `${id}-header` : void 0,
|
|
@@ -5614,7 +5738,7 @@ var Modal = ({
|
|
|
5614
5738
|
headerClassname
|
|
5615
5739
|
}
|
|
5616
5740
|
),
|
|
5617
|
-
children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0,
|
|
5741
|
+
children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5618
5742
|
ModalContent,
|
|
5619
5743
|
{
|
|
5620
5744
|
id: id ? `${id}-content` : void 0,
|
|
@@ -5623,7 +5747,7 @@ var Modal = ({
|
|
|
5623
5747
|
children
|
|
5624
5748
|
}
|
|
5625
5749
|
) : children,
|
|
5626
|
-
showButtons ? customFooter ? customActions : /* @__PURE__ */ (0,
|
|
5750
|
+
showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5627
5751
|
ModalButtons,
|
|
5628
5752
|
{
|
|
5629
5753
|
id: id ? `${id}-buttons` : void 0,
|
|
@@ -5647,10 +5771,10 @@ Modal.displayName = "Modal";
|
|
|
5647
5771
|
var import_react31 = require("react");
|
|
5648
5772
|
|
|
5649
5773
|
// src/components/Spinner.tsx
|
|
5650
|
-
var
|
|
5774
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5651
5775
|
var Spinner = ({ size = "small", testid }) => {
|
|
5652
5776
|
const dimension = size === "large" ? 48 : 24;
|
|
5653
|
-
return /* @__PURE__ */ (0,
|
|
5777
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
5654
5778
|
"svg",
|
|
5655
5779
|
{
|
|
5656
5780
|
"data-testid": testid,
|
|
@@ -5662,14 +5786,14 @@ var Spinner = ({ size = "small", testid }) => {
|
|
|
5662
5786
|
className: "spinner",
|
|
5663
5787
|
"aria-label": "Loading",
|
|
5664
5788
|
children: [
|
|
5665
|
-
/* @__PURE__ */ (0,
|
|
5666
|
-
/* @__PURE__ */ (0,
|
|
5667
|
-
/* @__PURE__ */ (0,
|
|
5668
|
-
/* @__PURE__ */ (0,
|
|
5669
|
-
/* @__PURE__ */ (0,
|
|
5670
|
-
/* @__PURE__ */ (0,
|
|
5671
|
-
/* @__PURE__ */ (0,
|
|
5672
|
-
/* @__PURE__ */ (0,
|
|
5789
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
|
|
5790
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
|
|
5791
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
|
|
5792
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
|
|
5793
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
|
|
5794
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
|
|
5795
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
|
|
5796
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
|
|
5673
5797
|
]
|
|
5674
5798
|
}
|
|
5675
5799
|
);
|
|
@@ -5678,30 +5802,30 @@ Spinner.displayName = "Spinner";
|
|
|
5678
5802
|
|
|
5679
5803
|
// src/components/PDFViewer/PDFPage.tsx
|
|
5680
5804
|
var import_react30 = require("react");
|
|
5681
|
-
var
|
|
5805
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5682
5806
|
|
|
5683
5807
|
// src/components/PDFViewer/PDFElement.tsx
|
|
5684
|
-
var
|
|
5685
|
-
var
|
|
5808
|
+
var import_clsx35 = __toESM(require("clsx"), 1);
|
|
5809
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5686
5810
|
|
|
5687
5811
|
// src/components/PDFViewer/DownloadIcon.tsx
|
|
5688
|
-
var
|
|
5812
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5689
5813
|
|
|
5690
5814
|
// src/components/PDFViewer/PDFNavigation.tsx
|
|
5691
|
-
var
|
|
5815
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
5692
5816
|
|
|
5693
5817
|
// src/components/PDFViewer/index.tsx
|
|
5694
|
-
var
|
|
5818
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5695
5819
|
|
|
5696
5820
|
// src/components/ListGroup.tsx
|
|
5697
5821
|
var import_react33 = require("react");
|
|
5698
|
-
var
|
|
5699
|
-
var
|
|
5822
|
+
var import_clsx36 = __toESM(require("clsx"), 1);
|
|
5823
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5700
5824
|
|
|
5701
5825
|
// src/components/Pagination.tsx
|
|
5702
5826
|
var import_react34 = require("react");
|
|
5703
|
-
var
|
|
5704
|
-
var
|
|
5827
|
+
var import_clsx37 = __toESM(require("clsx"), 1);
|
|
5828
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5705
5829
|
var Pagination = ({
|
|
5706
5830
|
totalPages,
|
|
5707
5831
|
currentPage,
|
|
@@ -5765,7 +5889,7 @@ var Pagination = ({
|
|
|
5765
5889
|
return tokens;
|
|
5766
5890
|
}, [totalPages, currentPage]);
|
|
5767
5891
|
if (totalPages <= 1) return null;
|
|
5768
|
-
const buttonClass = (0,
|
|
5892
|
+
const buttonClass = (0, import_clsx37.default)(
|
|
5769
5893
|
"cursor-pointer disabled:cursor-default",
|
|
5770
5894
|
paddingUsingComponentGap,
|
|
5771
5895
|
"w-8 h-8",
|
|
@@ -5776,14 +5900,14 @@ var Pagination = ({
|
|
|
5776
5900
|
"focus:bg-background-grouped-secondary-normal focus:outline-0",
|
|
5777
5901
|
"disabled:bg-transparent disabled:text-text-action-primary-disabled"
|
|
5778
5902
|
);
|
|
5779
|
-
return /* @__PURE__ */ (0,
|
|
5903
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
5780
5904
|
"nav",
|
|
5781
5905
|
{
|
|
5782
5906
|
id,
|
|
5783
5907
|
"data-testid": testid,
|
|
5784
5908
|
"aria-label": "Pagination",
|
|
5785
5909
|
onKeyDown: handleKey,
|
|
5786
|
-
className: (0,
|
|
5910
|
+
className: (0, import_clsx37.default)(
|
|
5787
5911
|
"flex items-center",
|
|
5788
5912
|
"border border-border-primary-normal",
|
|
5789
5913
|
"bg-background-grouped-primary-normal",
|
|
@@ -5791,19 +5915,19 @@ var Pagination = ({
|
|
|
5791
5915
|
className
|
|
5792
5916
|
),
|
|
5793
5917
|
children: [
|
|
5794
|
-
/* @__PURE__ */ (0,
|
|
5918
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5795
5919
|
"button",
|
|
5796
5920
|
{
|
|
5797
5921
|
disabled: disabled || currentPage <= 1,
|
|
5798
5922
|
"aria-label": "Previous page",
|
|
5799
5923
|
onClick: () => goTo(currentPage - 1),
|
|
5800
|
-
className: (0,
|
|
5801
|
-
children: /* @__PURE__ */ (0,
|
|
5924
|
+
className: (0, import_clsx37.default)(buttonClass, "border-r-1 border-border-primary-normal"),
|
|
5925
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { name: "keyboard_arrow_left" })
|
|
5802
5926
|
}
|
|
5803
5927
|
),
|
|
5804
|
-
/* @__PURE__ */ (0,
|
|
5928
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
|
|
5805
5929
|
if (token === "ellipsis") {
|
|
5806
|
-
return /* @__PURE__ */ (0,
|
|
5930
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5807
5931
|
"li",
|
|
5808
5932
|
{
|
|
5809
5933
|
className: "w-8 h-8 select-none text-text-action-primary-disabled",
|
|
@@ -5813,29 +5937,29 @@ var Pagination = ({
|
|
|
5813
5937
|
);
|
|
5814
5938
|
}
|
|
5815
5939
|
const selected = token === currentPage;
|
|
5816
|
-
return /* @__PURE__ */ (0,
|
|
5940
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5817
5941
|
"button",
|
|
5818
5942
|
{
|
|
5819
5943
|
"aria-label": `Page ${token}`,
|
|
5820
5944
|
"aria-current": selected ? "page" : void 0,
|
|
5821
5945
|
disabled,
|
|
5822
5946
|
onClick: () => goTo(token),
|
|
5823
|
-
className: (0,
|
|
5947
|
+
className: (0, import_clsx37.default)(
|
|
5824
5948
|
buttonClass,
|
|
5825
5949
|
selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
|
|
5826
5950
|
),
|
|
5827
|
-
children: /* @__PURE__ */ (0,
|
|
5951
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Subheader, { align: "center", weight: "bold", children: token })
|
|
5828
5952
|
}
|
|
5829
5953
|
) }, token);
|
|
5830
5954
|
}) }),
|
|
5831
|
-
/* @__PURE__ */ (0,
|
|
5955
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5832
5956
|
"button",
|
|
5833
5957
|
{
|
|
5834
5958
|
disabled: disabled || currentPage >= totalPages,
|
|
5835
5959
|
"aria-label": "Next page",
|
|
5836
5960
|
onClick: () => goTo(currentPage + 1),
|
|
5837
|
-
className: (0,
|
|
5838
|
-
children: /* @__PURE__ */ (0,
|
|
5961
|
+
className: (0, import_clsx37.default)(buttonClass, "border-l-1 border-border-primary-normal"),
|
|
5962
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { name: "keyboard_arrow_right" })
|
|
5839
5963
|
}
|
|
5840
5964
|
)
|
|
5841
5965
|
]
|
|
@@ -5845,26 +5969,30 @@ var Pagination = ({
|
|
|
5845
5969
|
Pagination.displayName = "Pagination";
|
|
5846
5970
|
|
|
5847
5971
|
// src/components/SkeletonParagraph.tsx
|
|
5848
|
-
var
|
|
5972
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5849
5973
|
|
|
5850
5974
|
// src/components/EmptyCartIcon.tsx
|
|
5851
|
-
var
|
|
5975
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
5852
5976
|
|
|
5853
|
-
// src/components/
|
|
5854
|
-
var import_clsx37 = __toESM(require("clsx"), 1);
|
|
5977
|
+
// src/components/SearchResultImage/index.tsx
|
|
5855
5978
|
var import_react35 = require("react");
|
|
5856
|
-
var
|
|
5979
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
5980
|
+
|
|
5981
|
+
// src/components/Alert.tsx
|
|
5982
|
+
var import_clsx38 = __toESM(require("clsx"), 1);
|
|
5983
|
+
var import_react36 = require("react");
|
|
5984
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
5857
5985
|
|
|
5858
5986
|
// src/components/MobileDataGrid/GridContextProvider/useGridContext.ts
|
|
5859
|
-
var
|
|
5987
|
+
var import_react38 = require("react");
|
|
5860
5988
|
|
|
5861
5989
|
// src/components/MobileDataGrid/GridContextProvider/GridContext.tsx
|
|
5862
|
-
var
|
|
5863
|
-
var GridContext = (0,
|
|
5990
|
+
var import_react37 = require("react");
|
|
5991
|
+
var GridContext = (0, import_react37.createContext)(null);
|
|
5864
5992
|
|
|
5865
5993
|
// src/components/MobileDataGrid/GridContextProvider/useGridContext.ts
|
|
5866
5994
|
function useGridContext() {
|
|
5867
|
-
const ctx = (0,
|
|
5995
|
+
const ctx = (0, import_react38.useContext)(GridContext);
|
|
5868
5996
|
if (!ctx) {
|
|
5869
5997
|
throw new Error("useGridContext must be used within GridContextProvider");
|
|
5870
5998
|
}
|
|
@@ -5872,11 +6000,11 @@ function useGridContext() {
|
|
|
5872
6000
|
}
|
|
5873
6001
|
|
|
5874
6002
|
// src/components/MobileDataGrid/ColumnSelector/index.tsx
|
|
5875
|
-
var
|
|
6003
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
5876
6004
|
function ColumnSelector() {
|
|
5877
6005
|
const context = useGridContext();
|
|
5878
|
-
const ref = (0,
|
|
5879
|
-
const [show, setShow] = (0,
|
|
6006
|
+
const ref = (0, import_react39.useRef)(null);
|
|
6007
|
+
const [show, setShow] = (0, import_react39.useState)(false);
|
|
5880
6008
|
const {
|
|
5881
6009
|
columns,
|
|
5882
6010
|
id,
|
|
@@ -5887,13 +6015,13 @@ function ColumnSelector() {
|
|
|
5887
6015
|
resetColumnVisibility,
|
|
5888
6016
|
dispatch
|
|
5889
6017
|
} = context;
|
|
5890
|
-
const toggleColumnVisibility = (0,
|
|
6018
|
+
const toggleColumnVisibility = (0, import_react39.useCallback)(
|
|
5891
6019
|
(index, visible) => {
|
|
5892
6020
|
dispatch({ type: "UPDATE", index, payload: { meta: { visible } } });
|
|
5893
6021
|
},
|
|
5894
6022
|
[dispatch]
|
|
5895
6023
|
);
|
|
5896
|
-
return /* @__PURE__ */ (0,
|
|
6024
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
5897
6025
|
"div",
|
|
5898
6026
|
{
|
|
5899
6027
|
id: id ? `${id}-column-selector` : void 0,
|
|
@@ -5901,7 +6029,7 @@ function ColumnSelector() {
|
|
|
5901
6029
|
className: "text-text-secondary-normal border-l border-brand-200 p-mobile-container-padding",
|
|
5902
6030
|
ref,
|
|
5903
6031
|
children: [
|
|
5904
|
-
/* @__PURE__ */ (0,
|
|
6032
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
5905
6033
|
Button,
|
|
5906
6034
|
{
|
|
5907
6035
|
id: id ? `${id}-button` : void 0,
|
|
@@ -5910,10 +6038,10 @@ function ColumnSelector() {
|
|
|
5910
6038
|
variant: "navigation",
|
|
5911
6039
|
iconOnly: true,
|
|
5912
6040
|
size: 24,
|
|
5913
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
6041
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "tune" })
|
|
5914
6042
|
}
|
|
5915
6043
|
),
|
|
5916
|
-
/* @__PURE__ */ (0,
|
|
6044
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
5917
6045
|
Menu,
|
|
5918
6046
|
{
|
|
5919
6047
|
id: id ? `${id}-menu` : void 0,
|
|
@@ -5924,7 +6052,7 @@ function ColumnSelector() {
|
|
|
5924
6052
|
setShow,
|
|
5925
6053
|
calculateMinMaxHeight: true,
|
|
5926
6054
|
children: [
|
|
5927
|
-
/* @__PURE__ */ (0,
|
|
6055
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
5928
6056
|
Button,
|
|
5929
6057
|
{
|
|
5930
6058
|
id: id ? `${id}-reset-button` : void 0,
|
|
@@ -5942,11 +6070,11 @@ function ColumnSelector() {
|
|
|
5942
6070
|
return (_a = x.meta) == null ? void 0 : _a.inVisibilityMenu;
|
|
5943
6071
|
}).map((column) => {
|
|
5944
6072
|
var _a, _b, _c;
|
|
5945
|
-
return /* @__PURE__ */ (0,
|
|
6073
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
5946
6074
|
MenuOption,
|
|
5947
6075
|
{
|
|
5948
6076
|
testid: testid ? `${testid}-option-${column.id}` : void 0,
|
|
5949
|
-
children: /* @__PURE__ */ (0,
|
|
6077
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
5950
6078
|
Checkbox,
|
|
5951
6079
|
{
|
|
5952
6080
|
id: id ? `${id}-checkbox-${column.id}` : void 0,
|
|
@@ -5976,7 +6104,7 @@ function ColumnSelector() {
|
|
|
5976
6104
|
}
|
|
5977
6105
|
|
|
5978
6106
|
// src/components/MobileDataGrid/MobileDataGridHeader.tsx
|
|
5979
|
-
var
|
|
6107
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
5980
6108
|
function MobileDataGridHeader({
|
|
5981
6109
|
header: Header,
|
|
5982
6110
|
enableColumnSelector,
|
|
@@ -5994,15 +6122,15 @@ function MobileDataGridHeader({
|
|
|
5994
6122
|
handleRowSelectAll
|
|
5995
6123
|
} = ctx;
|
|
5996
6124
|
if (typeof Header === "undefined" && !primaryKey) return null;
|
|
5997
|
-
if (typeof Header === "function") return /* @__PURE__ */ (0,
|
|
6125
|
+
if (typeof Header === "function") return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Header, __spreadValues({}, ctx));
|
|
5998
6126
|
if (typeof Header === "string" || primaryKey)
|
|
5999
|
-
return /* @__PURE__ */ (0,
|
|
6127
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
6000
6128
|
"div",
|
|
6001
6129
|
{
|
|
6002
6130
|
id: id ? `${id}-header` : void 0,
|
|
6003
6131
|
"data-testid": testid ? `${testid}-header` : void 0,
|
|
6004
6132
|
className: "sticky top-0",
|
|
6005
|
-
children: /* @__PURE__ */ (0,
|
|
6133
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Theme, { theme: "brand", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
6006
6134
|
Stack,
|
|
6007
6135
|
{
|
|
6008
6136
|
horizontal: true,
|
|
@@ -6011,7 +6139,7 @@ function MobileDataGridHeader({
|
|
|
6011
6139
|
justify: "between",
|
|
6012
6140
|
backgroundColor: "background-primary-normal",
|
|
6013
6141
|
children: [
|
|
6014
|
-
enableRowSelection && /* @__PURE__ */ (0,
|
|
6142
|
+
enableRowSelection && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "p-mobile-component-padding border-r border-brand-200 max-w-fit h-full", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
6015
6143
|
Checkbox,
|
|
6016
6144
|
{
|
|
6017
6145
|
id: id ? `${id}-select-all-checkbox` : void 0,
|
|
@@ -6021,7 +6149,7 @@ function MobileDataGridHeader({
|
|
|
6021
6149
|
onChange: handleRowSelectAll
|
|
6022
6150
|
}
|
|
6023
6151
|
) }),
|
|
6024
|
-
/* @__PURE__ */ (0,
|
|
6152
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
6025
6153
|
Stack,
|
|
6026
6154
|
{
|
|
6027
6155
|
horizontal: true,
|
|
@@ -6029,10 +6157,10 @@ function MobileDataGridHeader({
|
|
|
6029
6157
|
items: "center",
|
|
6030
6158
|
sizing: "component",
|
|
6031
6159
|
padding: true,
|
|
6032
|
-
children: /* @__PURE__ */ (0,
|
|
6160
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.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() })
|
|
6033
6161
|
}
|
|
6034
6162
|
),
|
|
6035
|
-
enableColumnSelector && /* @__PURE__ */ (0,
|
|
6163
|
+
enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ColumnSelector, {})
|
|
6036
6164
|
]
|
|
6037
6165
|
}
|
|
6038
6166
|
) })
|
|
@@ -6041,7 +6169,7 @@ function MobileDataGridHeader({
|
|
|
6041
6169
|
}
|
|
6042
6170
|
|
|
6043
6171
|
// src/components/MobileDataGrid/GridContextProvider/index.tsx
|
|
6044
|
-
var
|
|
6172
|
+
var import_react40 = require("react");
|
|
6045
6173
|
|
|
6046
6174
|
// src/components/MobileDataGrid/dataGridReducer.ts
|
|
6047
6175
|
function dataGridReducer(state, action) {
|
|
@@ -6071,7 +6199,7 @@ function dataGridReducer(state, action) {
|
|
|
6071
6199
|
}
|
|
6072
6200
|
|
|
6073
6201
|
// src/components/MobileDataGrid/GridContextProvider/index.tsx
|
|
6074
|
-
var
|
|
6202
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
6075
6203
|
function GridContextProvider(props) {
|
|
6076
6204
|
const {
|
|
6077
6205
|
initialColumns,
|
|
@@ -6084,10 +6212,10 @@ function GridContextProvider(props) {
|
|
|
6084
6212
|
getId,
|
|
6085
6213
|
onRowSelect
|
|
6086
6214
|
} = props;
|
|
6087
|
-
const [columns, dispatch] = (0,
|
|
6088
|
-
const [selectedRowIds, setSelectedRowIds] = (0,
|
|
6089
|
-
const [currentRow, setCurrentRow] = (0,
|
|
6090
|
-
const resetColumnVisibility = (0,
|
|
6215
|
+
const [columns, dispatch] = (0, import_react40.useReducer)(dataGridReducer, initialColumns);
|
|
6216
|
+
const [selectedRowIds, setSelectedRowIds] = (0, import_react40.useState)([]);
|
|
6217
|
+
const [currentRow, setCurrentRow] = (0, import_react40.useState)(null);
|
|
6218
|
+
const resetColumnVisibility = (0, import_react40.useCallback)(() => {
|
|
6091
6219
|
const newColumns = columns.map((column) => {
|
|
6092
6220
|
var _a;
|
|
6093
6221
|
const initialColumn = initialColumns.find((c) => c.id === column.id);
|
|
@@ -6099,7 +6227,7 @@ function GridContextProvider(props) {
|
|
|
6099
6227
|
});
|
|
6100
6228
|
dispatch({ type: "SET", payload: newColumns });
|
|
6101
6229
|
}, [columns, initialColumns]);
|
|
6102
|
-
const handleRowSelect = (0,
|
|
6230
|
+
const handleRowSelect = (0, import_react40.useCallback)(
|
|
6103
6231
|
(item) => {
|
|
6104
6232
|
var _a;
|
|
6105
6233
|
const rowId = (_a = getId(item)) != null ? _a : "";
|
|
@@ -6110,7 +6238,7 @@ function GridContextProvider(props) {
|
|
|
6110
6238
|
},
|
|
6111
6239
|
[getId, onRowSelect, selectedRowIds]
|
|
6112
6240
|
);
|
|
6113
|
-
const handleRowSelectAll = (0,
|
|
6241
|
+
const handleRowSelectAll = (0, import_react40.useCallback)(() => {
|
|
6114
6242
|
setSelectedRowIds((prev) => {
|
|
6115
6243
|
if (prev.length === data.length) {
|
|
6116
6244
|
return [];
|
|
@@ -6118,13 +6246,13 @@ function GridContextProvider(props) {
|
|
|
6118
6246
|
return data.map(getId).filter((id2) => id2 !== void 0);
|
|
6119
6247
|
});
|
|
6120
6248
|
}, [data, getId]);
|
|
6121
|
-
const openRowDetail = (0,
|
|
6249
|
+
const openRowDetail = (0, import_react40.useCallback)((row) => {
|
|
6122
6250
|
setCurrentRow(row);
|
|
6123
6251
|
}, []);
|
|
6124
|
-
const closeRowDetail = (0,
|
|
6252
|
+
const closeRowDetail = (0, import_react40.useCallback)(() => {
|
|
6125
6253
|
setCurrentRow(null);
|
|
6126
6254
|
}, []);
|
|
6127
|
-
const visibleColumns = (0,
|
|
6255
|
+
const visibleColumns = (0, import_react40.useMemo)(() => {
|
|
6128
6256
|
const effectiveLimit = typeof numberOfColumnsToShow === "number" ? Math.max(numberOfColumnsToShow - 1, 0) : void 0;
|
|
6129
6257
|
if (primaryKey) {
|
|
6130
6258
|
const pkColumn = columns.find((col) => col.id === String(primaryKey));
|
|
@@ -6142,7 +6270,7 @@ function GridContextProvider(props) {
|
|
|
6142
6270
|
return ((_a = x.meta) == null ? void 0 : _a.visible) !== false;
|
|
6143
6271
|
}).slice(0, effectiveLimit);
|
|
6144
6272
|
}, [columns, numberOfColumnsToShow, primaryKey]);
|
|
6145
|
-
return /* @__PURE__ */ (0,
|
|
6273
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6146
6274
|
GridContext.Provider,
|
|
6147
6275
|
{
|
|
6148
6276
|
value: {
|
|
@@ -6170,12 +6298,12 @@ function GridContextProvider(props) {
|
|
|
6170
6298
|
}
|
|
6171
6299
|
|
|
6172
6300
|
// src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
|
|
6173
|
-
var
|
|
6301
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
6174
6302
|
function MobileDataGridColumn(props) {
|
|
6175
6303
|
var _a;
|
|
6176
6304
|
const { column, data } = props;
|
|
6177
|
-
return /* @__PURE__ */ (0,
|
|
6178
|
-
/* @__PURE__ */ (0,
|
|
6305
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "grid grid-cols-2 gap-2 px-3 flex-1", children: [
|
|
6306
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
6179
6307
|
(_a = column.header) == null ? void 0 : _a.toString(),
|
|
6180
6308
|
":"
|
|
6181
6309
|
] }),
|
|
@@ -6185,28 +6313,28 @@ function MobileDataGridColumn(props) {
|
|
|
6185
6313
|
}
|
|
6186
6314
|
|
|
6187
6315
|
// src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx
|
|
6188
|
-
var
|
|
6316
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
6189
6317
|
function ModalContent2() {
|
|
6190
6318
|
const context = useGridContext();
|
|
6191
6319
|
const { columns, currentRow } = context;
|
|
6192
6320
|
if (!currentRow) return null;
|
|
6193
|
-
return /* @__PURE__ */ (0,
|
|
6321
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Stack, { sizing: "layout-group", children: columns.filter((x) => {
|
|
6194
6322
|
var _a;
|
|
6195
6323
|
return !((_a = x.id) == null ? void 0 : _a.startsWith("__"));
|
|
6196
6324
|
}).map(
|
|
6197
6325
|
(column, index) => {
|
|
6198
6326
|
var _a, _b;
|
|
6199
|
-
return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0,
|
|
6327
|
+
return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
6200
6328
|
"div",
|
|
6201
6329
|
{
|
|
6202
6330
|
className: "grid grid-cols-2 gap-2 px-3 items-center flex-1",
|
|
6203
6331
|
children: [
|
|
6204
|
-
/* @__PURE__ */ (0,
|
|
6332
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
6205
6333
|
(_b = column.header) == null ? void 0 : _b.toString(),
|
|
6206
6334
|
":"
|
|
6207
6335
|
] }),
|
|
6208
6336
|
" ",
|
|
6209
|
-
/* @__PURE__ */ (0,
|
|
6337
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
6210
6338
|
column.meta.mobileCell,
|
|
6211
6339
|
{
|
|
6212
6340
|
column,
|
|
@@ -6217,7 +6345,7 @@ function ModalContent2() {
|
|
|
6217
6345
|
]
|
|
6218
6346
|
},
|
|
6219
6347
|
`${column.id}-${index}`
|
|
6220
|
-
) : /* @__PURE__ */ (0,
|
|
6348
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
6221
6349
|
MobileDataGridColumn,
|
|
6222
6350
|
{
|
|
6223
6351
|
column,
|
|
@@ -6230,7 +6358,7 @@ function ModalContent2() {
|
|
|
6230
6358
|
}
|
|
6231
6359
|
|
|
6232
6360
|
// src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
|
|
6233
|
-
var
|
|
6361
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
6234
6362
|
function RowDetailModalProvider() {
|
|
6235
6363
|
var _a;
|
|
6236
6364
|
const context = useGridContext();
|
|
@@ -6242,7 +6370,7 @@ function RowDetailModalProvider() {
|
|
|
6242
6370
|
primaryKey,
|
|
6243
6371
|
closeRowDetail
|
|
6244
6372
|
} = context;
|
|
6245
|
-
return /* @__PURE__ */ (0,
|
|
6373
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6246
6374
|
Modal,
|
|
6247
6375
|
{
|
|
6248
6376
|
fixedHeightScrolling: true,
|
|
@@ -6251,7 +6379,7 @@ function RowDetailModalProvider() {
|
|
|
6251
6379
|
hideCloseIcon: true,
|
|
6252
6380
|
size: "medium",
|
|
6253
6381
|
className: "!p-0",
|
|
6254
|
-
headerIcon: /* @__PURE__ */ (0,
|
|
6382
|
+
headerIcon: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
6255
6383
|
Stack,
|
|
6256
6384
|
{
|
|
6257
6385
|
horizontal: true,
|
|
@@ -6260,8 +6388,8 @@ function RowDetailModalProvider() {
|
|
|
6260
6388
|
justify: "between",
|
|
6261
6389
|
width: "full",
|
|
6262
6390
|
children: [
|
|
6263
|
-
/* @__PURE__ */ (0,
|
|
6264
|
-
/* @__PURE__ */ (0,
|
|
6391
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Heading2, { children: (_a = currentRow == null ? void 0 : currentRow[primaryKey != null ? primaryKey : "id"]) != null ? _a : "Grid Detail" }),
|
|
6392
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6265
6393
|
Button,
|
|
6266
6394
|
{
|
|
6267
6395
|
id: id ? `${id}-open-in-new-button` : void 0,
|
|
@@ -6269,25 +6397,25 @@ function RowDetailModalProvider() {
|
|
|
6269
6397
|
iconOnly: true,
|
|
6270
6398
|
variant: "tertiary",
|
|
6271
6399
|
onClick: closeRowDetail,
|
|
6272
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
6400
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, { name: "open_in_new", size: 24 }) })
|
|
6273
6401
|
}
|
|
6274
6402
|
)
|
|
6275
6403
|
]
|
|
6276
6404
|
}
|
|
6277
6405
|
),
|
|
6278
|
-
customActions: /* @__PURE__ */ (0,
|
|
6406
|
+
customActions: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { onClick: closeRowDetail, className: "w-full", children: "Close" }),
|
|
6279
6407
|
showButtons: true,
|
|
6280
|
-
children: /* @__PURE__ */ (0,
|
|
6408
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-white max-h-full flex flex-col flex-grow-1", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ModalContent2, {}) })
|
|
6281
6409
|
}
|
|
6282
6410
|
);
|
|
6283
6411
|
}
|
|
6284
6412
|
|
|
6285
6413
|
// src/components/MobileDataGrid/ColumnList.tsx
|
|
6286
|
-
var
|
|
6414
|
+
var import_clsx40 = __toESM(require("clsx"), 1);
|
|
6287
6415
|
|
|
6288
6416
|
// src/components/MobileDataGrid/MobileDataGridCard/index.tsx
|
|
6289
|
-
var
|
|
6290
|
-
var
|
|
6417
|
+
var import_clsx39 = __toESM(require("clsx"), 1);
|
|
6418
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
6291
6419
|
function MobileDataGridCard({
|
|
6292
6420
|
renderLink,
|
|
6293
6421
|
renderChevron = true,
|
|
@@ -6299,27 +6427,27 @@ function MobileDataGridCard({
|
|
|
6299
6427
|
var _a;
|
|
6300
6428
|
const context = useGridContext();
|
|
6301
6429
|
const { id, testid, visibleColumns, getId, handleRowSelect, openRowDetail } = context;
|
|
6302
|
-
return /* @__PURE__ */ (0,
|
|
6430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
6303
6431
|
"li",
|
|
6304
6432
|
{
|
|
6305
6433
|
id: id ? `${id}-card-${getId(data)}` : void 0,
|
|
6306
6434
|
"data-testid": testid ? `${testid}-card-${getId(data)}` : void 0,
|
|
6307
|
-
className: (0,
|
|
6435
|
+
className: (0, import_clsx39.default)(
|
|
6308
6436
|
"hover:bg-action-100 cursor-pointer list-none",
|
|
6309
6437
|
selected ? "bg-action-100" : "bg-background-grouped-primary-normal"
|
|
6310
6438
|
),
|
|
6311
6439
|
onClick: () => openRowDetail(data),
|
|
6312
6440
|
children: [
|
|
6313
|
-
/* @__PURE__ */ (0,
|
|
6314
|
-
/* @__PURE__ */ (0,
|
|
6315
|
-
enableRowSelection && /* @__PURE__ */ (0,
|
|
6441
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(Stack, { sizing: "component", children: [
|
|
6442
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(Stack, { horizontal: true, horizontalMobile: true, items: "center", justify: "between", children: [
|
|
6443
|
+
enableRowSelection && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6316
6444
|
Stack,
|
|
6317
6445
|
{
|
|
6318
6446
|
sizing: "component",
|
|
6319
6447
|
padding: true,
|
|
6320
6448
|
width: "fit",
|
|
6321
6449
|
onClick: (e) => e.stopPropagation(),
|
|
6322
|
-
children: /* @__PURE__ */ (0,
|
|
6450
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6323
6451
|
Checkbox,
|
|
6324
6452
|
{
|
|
6325
6453
|
id: id ? `${id}-${getId(data)}-select-checkbox` : void 0,
|
|
@@ -6330,16 +6458,16 @@ function MobileDataGridCard({
|
|
|
6330
6458
|
)
|
|
6331
6459
|
}
|
|
6332
6460
|
),
|
|
6333
|
-
/* @__PURE__ */ (0,
|
|
6461
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6334
6462
|
Stack,
|
|
6335
6463
|
{
|
|
6336
6464
|
sizing: "component",
|
|
6337
6465
|
padding: true,
|
|
6338
6466
|
onClick: (e) => e.stopPropagation(),
|
|
6339
|
-
children: renderLink ? renderLink(data) : /* @__PURE__ */ (0,
|
|
6467
|
+
children: renderLink ? renderLink(data) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Subheader, { children: String((_a = data[context.primaryKey]) != null ? _a : "") })
|
|
6340
6468
|
}
|
|
6341
6469
|
),
|
|
6342
|
-
/* @__PURE__ */ (0,
|
|
6470
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6343
6471
|
Stack,
|
|
6344
6472
|
{
|
|
6345
6473
|
horizontal: true,
|
|
@@ -6352,18 +6480,18 @@ function MobileDataGridCard({
|
|
|
6352
6480
|
}
|
|
6353
6481
|
)
|
|
6354
6482
|
] }),
|
|
6355
|
-
/* @__PURE__ */ (0,
|
|
6483
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Stack, { sizing: "layout-group", children: visibleColumns.filter((x) => {
|
|
6356
6484
|
var _a2, _b;
|
|
6357
6485
|
return ((_a2 = x.meta) == null ? void 0 : _a2.visible) !== false && !((_b = x.id) == null ? void 0 : _b.startsWith("__"));
|
|
6358
6486
|
}).map(
|
|
6359
6487
|
(column, index) => {
|
|
6360
6488
|
var _a2, _b;
|
|
6361
|
-
return ((_a2 = column.meta) == null ? void 0 : _a2.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0,
|
|
6489
|
+
return ((_a2 = column.meta) == null ? void 0 : _a2.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
6362
6490
|
"div",
|
|
6363
6491
|
{
|
|
6364
6492
|
className: "grid grid-cols-2 gap-2 px-3 items-center flex-1",
|
|
6365
6493
|
children: [
|
|
6366
|
-
/* @__PURE__ */ (0,
|
|
6494
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
6367
6495
|
Paragraph,
|
|
6368
6496
|
{
|
|
6369
6497
|
color: "text-secondary-normal",
|
|
@@ -6375,7 +6503,7 @@ function MobileDataGridCard({
|
|
|
6375
6503
|
}
|
|
6376
6504
|
),
|
|
6377
6505
|
" ",
|
|
6378
|
-
/* @__PURE__ */ (0,
|
|
6506
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6379
6507
|
column.meta.mobileCell,
|
|
6380
6508
|
{
|
|
6381
6509
|
column,
|
|
@@ -6386,7 +6514,7 @@ function MobileDataGridCard({
|
|
|
6386
6514
|
]
|
|
6387
6515
|
},
|
|
6388
6516
|
`${column.id}-${index}`
|
|
6389
|
-
) : /* @__PURE__ */ (0,
|
|
6517
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6390
6518
|
MobileDataGridColumn,
|
|
6391
6519
|
{
|
|
6392
6520
|
column,
|
|
@@ -6397,14 +6525,14 @@ function MobileDataGridCard({
|
|
|
6397
6525
|
}
|
|
6398
6526
|
) })
|
|
6399
6527
|
] }),
|
|
6400
|
-
renderChevron && /* @__PURE__ */ (0,
|
|
6528
|
+
renderChevron && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Stack, { items: "center", justify: "center", horizontal: true, horizontalMobile: true, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, { name: "keyboard_arrow_down" }) })
|
|
6401
6529
|
]
|
|
6402
6530
|
}
|
|
6403
6531
|
);
|
|
6404
6532
|
}
|
|
6405
6533
|
|
|
6406
6534
|
// src/components/MobileDataGrid/ColumnList.tsx
|
|
6407
|
-
var
|
|
6535
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6408
6536
|
function ColumnList(props) {
|
|
6409
6537
|
const {
|
|
6410
6538
|
withBorder,
|
|
@@ -6416,19 +6544,19 @@ function ColumnList(props) {
|
|
|
6416
6544
|
} = props;
|
|
6417
6545
|
const ctx = useGridContext();
|
|
6418
6546
|
const { id, testid, data, getId, selectedRowIds } = ctx;
|
|
6419
|
-
return /* @__PURE__ */ (0,
|
|
6547
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
6420
6548
|
"div",
|
|
6421
6549
|
{
|
|
6422
|
-
className: (0,
|
|
6550
|
+
className: (0, import_clsx40.default)(
|
|
6423
6551
|
"flex flex-col flex-1 relative overflow-y-auto overflow-x-hidden",
|
|
6424
6552
|
!!Footer && "mb-20"
|
|
6425
6553
|
),
|
|
6426
|
-
children: /* @__PURE__ */ (0,
|
|
6554
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
6427
6555
|
"ul",
|
|
6428
6556
|
{
|
|
6429
6557
|
id,
|
|
6430
6558
|
"data-testid": testid,
|
|
6431
|
-
className: (0,
|
|
6559
|
+
className: (0, import_clsx40.default)(
|
|
6432
6560
|
"rounded absolute top-0 left-0 w-full flex-1",
|
|
6433
6561
|
"divide-y divide-border-primary-normal",
|
|
6434
6562
|
withBorder && "border border-border-primary-normal"
|
|
@@ -6436,7 +6564,7 @@ function ColumnList(props) {
|
|
|
6436
6564
|
children: [
|
|
6437
6565
|
data.map((item) => {
|
|
6438
6566
|
const id2 = getId(item);
|
|
6439
|
-
return /* @__PURE__ */ (0,
|
|
6567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
6440
6568
|
MobileDataGridCard,
|
|
6441
6569
|
{
|
|
6442
6570
|
data: item,
|
|
@@ -6449,7 +6577,7 @@ function ColumnList(props) {
|
|
|
6449
6577
|
id2
|
|
6450
6578
|
);
|
|
6451
6579
|
}),
|
|
6452
|
-
!!Footer && /* @__PURE__ */ (0,
|
|
6580
|
+
!!Footer && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "fixed left-0 right-0 bottom-0 flex flex-col w-full min-h-20", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Footer, __spreadValues({}, ctx)) })
|
|
6453
6581
|
]
|
|
6454
6582
|
}
|
|
6455
6583
|
)
|
|
@@ -6458,7 +6586,7 @@ function ColumnList(props) {
|
|
|
6458
6586
|
}
|
|
6459
6587
|
|
|
6460
6588
|
// src/components/MobileDataGrid/index.tsx
|
|
6461
|
-
var
|
|
6589
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6462
6590
|
function MobileDataGrid(props) {
|
|
6463
6591
|
const {
|
|
6464
6592
|
columns,
|
|
@@ -6480,7 +6608,7 @@ function MobileDataGrid(props) {
|
|
|
6480
6608
|
rowActions,
|
|
6481
6609
|
rounded
|
|
6482
6610
|
} = props;
|
|
6483
|
-
return /* @__PURE__ */ (0,
|
|
6611
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6484
6612
|
GridContextProvider,
|
|
6485
6613
|
{
|
|
6486
6614
|
initialColumns: columns,
|
|
@@ -6492,7 +6620,7 @@ function MobileDataGrid(props) {
|
|
|
6492
6620
|
numberOfColumnsToShow,
|
|
6493
6621
|
primaryKey,
|
|
6494
6622
|
children: [
|
|
6495
|
-
/* @__PURE__ */ (0,
|
|
6623
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6496
6624
|
Stack,
|
|
6497
6625
|
{
|
|
6498
6626
|
height: "full",
|
|
@@ -6500,7 +6628,7 @@ function MobileDataGrid(props) {
|
|
|
6500
6628
|
overflowX: "hidden",
|
|
6501
6629
|
overflowY: "hidden",
|
|
6502
6630
|
children: [
|
|
6503
|
-
!hideHeader && /* @__PURE__ */ (0,
|
|
6631
|
+
!hideHeader && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6504
6632
|
MobileDataGridHeader,
|
|
6505
6633
|
{
|
|
6506
6634
|
header,
|
|
@@ -6508,7 +6636,7 @@ function MobileDataGrid(props) {
|
|
|
6508
6636
|
enableRowSelection
|
|
6509
6637
|
}
|
|
6510
6638
|
),
|
|
6511
|
-
/* @__PURE__ */ (0,
|
|
6639
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6512
6640
|
ColumnList,
|
|
6513
6641
|
{
|
|
6514
6642
|
withBorder,
|
|
@@ -6522,7 +6650,7 @@ function MobileDataGrid(props) {
|
|
|
6522
6650
|
]
|
|
6523
6651
|
}
|
|
6524
6652
|
),
|
|
6525
|
-
/* @__PURE__ */ (0,
|
|
6653
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(RowDetailModalProvider, {})
|
|
6526
6654
|
]
|
|
6527
6655
|
}
|
|
6528
6656
|
);
|