@helpwave/hightide 0.1.12 → 0.1.13

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.
@@ -0,0 +1,37 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/table/TableCell.tsx
20
+ var TableCell_exports = {};
21
+ __export(TableCell_exports, {
22
+ TableCell: () => TableCell
23
+ });
24
+ module.exports = __toCommonJS(TableCell_exports);
25
+ var import_clsx = require("clsx");
26
+ var import_jsx_runtime = require("react/jsx-runtime");
27
+ var TableCell = ({
28
+ children,
29
+ className
30
+ }) => {
31
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: (0, import_clsx.clsx)("block max-w-full overflow-ellipsis truncate", className), children });
32
+ };
33
+ // Annotate the CommonJS export names for ESM import in node:
34
+ 0 && (module.exports = {
35
+ TableCell
36
+ });
37
+ //# sourceMappingURL=TableCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/table/TableCell.tsx"],"sourcesContent":["import { clsx } from 'clsx'\nimport type { PropsWithChildren } from 'react'\n\nexport type TableCellProps = PropsWithChildren<{\n className?: string,\n}>\n\nexport const TableCell = ({\n children,\n className,\n }: TableCellProps) => {\n return (\n <span className={clsx('block max-w-full overflow-ellipsis truncate', className)}>\n {children}\n </span>\n )\n}"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAqB;AAYjB;AALG,IAAM,YAAY,CAAC;AAAA,EACE;AAAA,EACA;AACF,MAAsB;AAC9C,SACE,4CAAC,UAAK,eAAW,kBAAK,+CAA+C,SAAS,GAC3E,UACH;AAEJ;","names":[]}
@@ -0,0 +1,13 @@
1
+ // src/components/table/TableCell.tsx
2
+ import { clsx } from "clsx";
3
+ import { jsx } from "react/jsx-runtime";
4
+ var TableCell = ({
5
+ children,
6
+ className
7
+ }) => {
8
+ return /* @__PURE__ */ jsx("span", { className: clsx("block max-w-full overflow-ellipsis truncate", className), children });
9
+ };
10
+ export {
11
+ TableCell
12
+ };
13
+ //# sourceMappingURL=TableCell.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/table/TableCell.tsx"],"sourcesContent":["import { clsx } from 'clsx'\nimport type { PropsWithChildren } from 'react'\n\nexport type TableCellProps = PropsWithChildren<{\n className?: string,\n}>\n\nexport const TableCell = ({\n children,\n className,\n }: TableCellProps) => {\n return (\n <span className={clsx('block max-w-full overflow-ellipsis truncate', className)}>\n {children}\n </span>\n )\n}"],"mappings":";AAAA,SAAS,YAAY;AAYjB;AALG,IAAM,YAAY,CAAC;AAAA,EACE;AAAA,EACA;AACF,MAAsB;AAC9C,SACE,oBAAC,UAAK,WAAW,KAAK,+CAA+C,SAAS,GAC3E,UACH;AAEJ;","names":[]}
package/dist/index.d.mts CHANGED
@@ -46,6 +46,7 @@ export { TextProperty, TextPropertyProps } from './components/properties/TextPro
46
46
  export { FillerRowElement, FillerRowElementProps } from './components/table/FillerRowElement.mjs';
47
47
  export { TableFilters } from './components/table/Filter.mjs';
48
48
  export { Table, TableProps, TableUncontrolled, TableUncontrolledProps, TableWithSelection, TableWithSelectionProps } from './components/table/Table.mjs';
49
+ export { TableCell, TableCellProps } from './components/table/TableCell.mjs';
49
50
  export { TableFilterButton, TableFilterButtonProps, TableFilterType } from './components/table/TableFilterButton.mjs';
50
51
  export { TableSortButton, TableSortButtonProps } from './components/table/TableSortButton.mjs';
51
52
  export { ButtonColorUtil, ButtonProps, ButtonUtil, IconButton, IconButtonColor, IconButtonProps, IconButtonUtil, OutlineButton, OutlineButtonColor, OutlineButtonProps, SolidButton, SolidButtonColor, SolidButtonProps, TextButton, TextButtonColor, TextButtonProps } from './components/user-action/Button.mjs';
package/dist/index.d.ts CHANGED
@@ -46,6 +46,7 @@ export { TextProperty, TextPropertyProps } from './components/properties/TextPro
46
46
  export { FillerRowElement, FillerRowElementProps } from './components/table/FillerRowElement.js';
47
47
  export { TableFilters } from './components/table/Filter.js';
48
48
  export { Table, TableProps, TableUncontrolled, TableUncontrolledProps, TableWithSelection, TableWithSelectionProps } from './components/table/Table.js';
49
+ export { TableCell, TableCellProps } from './components/table/TableCell.js';
49
50
  export { TableFilterButton, TableFilterButtonProps, TableFilterType } from './components/table/TableFilterButton.js';
50
51
  export { TableSortButton, TableSortButtonProps } from './components/table/TableSortButton.js';
51
52
  export { ButtonColorUtil, ButtonProps, ButtonUtil, IconButton, IconButtonColor, IconButtonProps, IconButtonUtil, OutlineButton, OutlineButtonColor, OutlineButtonProps, SolidButton, SolidButtonColor, SolidButtonProps, TextButton, TextButtonColor, TextButtonProps } from './components/user-action/Button.js';
package/dist/index.js CHANGED
@@ -2922,6 +2922,7 @@ __export(index_exports, {
2922
2922
  StepperBar: () => StepperBar,
2923
2923
  StepperBarUncontrolled: () => StepperBarUncontrolled,
2924
2924
  Table: () => Table,
2925
+ TableCell: () => TableCell,
2925
2926
  TableFilterButton: () => TableFilterButton,
2926
2927
  TableFilters: () => TableFilters,
2927
2928
  TableSortButton: () => TableSortButton,
@@ -8065,7 +8066,7 @@ var TableFilters = {
8065
8066
 
8066
8067
  // src/components/table/Table.tsx
8067
8068
  var import_react29 = require("react");
8068
- var import_clsx44 = __toESM(require("clsx"));
8069
+ var import_clsx45 = __toESM(require("clsx"));
8069
8070
  var import_react_table = require("@tanstack/react-table");
8070
8071
  var import_react_custom_scrollbars_23 = require("react-custom-scrollbars-2");
8071
8072
 
@@ -8323,8 +8324,18 @@ var useResizeCallbackWrapper = (callback) => {
8323
8324
  }, [callback]);
8324
8325
  };
8325
8326
 
8326
- // src/components/table/Table.tsx
8327
+ // src/components/table/TableCell.tsx
8328
+ var import_clsx44 = require("clsx");
8327
8329
  var import_jsx_runtime58 = require("react/jsx-runtime");
8330
+ var TableCell = ({
8331
+ children,
8332
+ className
8333
+ }) => {
8334
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: (0, import_clsx44.clsx)("block max-w-full overflow-ellipsis truncate", className), children });
8335
+ };
8336
+
8337
+ // src/components/table/Table.tsx
8338
+ var import_jsx_runtime59 = require("react/jsx-runtime");
8328
8339
  var Table = ({
8329
8340
  data,
8330
8341
  fillerRow,
@@ -8442,6 +8453,9 @@ var Table = ({
8442
8453
  defaultColumn: {
8443
8454
  minSize: 60,
8444
8455
  maxSize: 700,
8456
+ cell: ({ cell }) => {
8457
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TableCell, { children: cell.getValue() });
8458
+ },
8445
8459
  ...defaultColumn
8446
8460
  },
8447
8461
  columns,
@@ -8525,18 +8539,18 @@ var Table = ({
8525
8539
  }
8526
8540
  return colSizes;
8527
8541
  }, [table.getState().columnSizingInfo, table.getState().columnSizing]);
8528
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { ref, className: (0, import_clsx44.default)("col gap-y-4", className), children: [
8529
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_custom_scrollbars_23.Scrollbars, { autoHeight: true, autoHeightMax: tableRef.current?.offsetHeight, autoHide: true, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
8542
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { ref, className: (0, import_clsx45.default)("col gap-y-4", className), children: [
8543
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_custom_scrollbars_23.Scrollbars, { autoHeight: true, autoHeightMax: tableRef.current?.offsetHeight, autoHide: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
8530
8544
  "table",
8531
8545
  {
8532
8546
  ref: tableRef,
8533
- className: (0, import_clsx44.default)(tableClassName),
8547
+ className: (0, import_clsx45.default)(tableClassName),
8534
8548
  style: {
8535
8549
  ...columnSizeVars,
8536
8550
  width: Math.max(table.getTotalSize(), ref.current?.offsetWidth ?? table.getTotalSize())
8537
8551
  },
8538
8552
  children: [
8539
- table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("colgroup", { children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8553
+ table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("colgroup", { children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8540
8554
  "col",
8541
8555
  {
8542
8556
  style: {
@@ -8547,22 +8561,22 @@ var Table = ({
8547
8561
  },
8548
8562
  header.id
8549
8563
  )) }, headerGroup.id)),
8550
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("thead", { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("tr", { className: table.options.meta?.headerRowClassName, children: headerGroup.headers.map((header) => {
8551
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
8564
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("thead", { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("tr", { className: table.options.meta?.headerRowClassName, children: headerGroup.headers.map((header) => {
8565
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
8552
8566
  "th",
8553
8567
  {
8554
8568
  colSpan: header.colSpan,
8555
- className: (0, import_clsx44.default)("relative group", header.column.columnDef.meta?.className),
8569
+ className: (0, import_clsx45.default)("relative group", header.column.columnDef.meta?.className),
8556
8570
  children: [
8557
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "row w-full", children: header.isPlaceholder ? null : /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "row gap-x-1 items-center", children: [
8558
- header.column.getCanSort() && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8571
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "row w-full", children: header.isPlaceholder ? null : /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "row gap-x-1 items-center", children: [
8572
+ header.column.getCanSort() && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8559
8573
  TableSortButton,
8560
8574
  {
8561
8575
  sortDirection: header.column.getIsSorted(),
8562
8576
  onClick: () => header.column.toggleSorting()
8563
8577
  }
8564
8578
  ),
8565
- header.column.getCanFilter() && header.column.columnDef.meta?.filterType ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8579
+ header.column.getCanFilter() && header.column.columnDef.meta?.filterType ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8566
8580
  TableFilterButton,
8567
8581
  {
8568
8582
  column: header.column,
@@ -8574,7 +8588,7 @@ var Table = ({
8574
8588
  header.getContext()
8575
8589
  )
8576
8590
  ] }) }),
8577
- header.column.getCanResize() && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8591
+ header.column.getCanResize() && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8578
8592
  "div",
8579
8593
  {
8580
8594
  onMouseDown: header.getResizeHandler(),
@@ -8593,25 +8607,25 @@ var Table = ({
8593
8607
  header.id
8594
8608
  );
8595
8609
  }) }, headerGroup.id)) }),
8596
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("tbody", { children: [
8610
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("tbody", { children: [
8597
8611
  table.getRowModel().rows.map((row) => {
8598
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("tr", { onClick: () => onRowClick(row, table), className: table.options.meta?.bodyRowClassName, children: row.getVisibleCells().map((cell) => {
8599
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("td", { children: (0, import_react_table.flexRender)(
8612
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("tr", { onClick: () => onRowClick(row, table), className: table.options.meta?.bodyRowClassName, children: row.getVisibleCells().map((cell) => {
8613
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("td", { children: (0, import_react_table.flexRender)(
8600
8614
  cell.column.columnDef.cell,
8601
8615
  cell.getContext()
8602
8616
  ) }, cell.id);
8603
8617
  }) }, row.id);
8604
8618
  }),
8605
8619
  range(table.getState().pagination.pageSize - table.getRowModel().rows.length, { allowEmptyRange: true }).map((row, index) => {
8606
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("tr", { children: columns.map((column) => {
8607
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("td", { children: fillerRow ? fillerRow(column.id, table) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(FillerRowElement, {}) }, column.id);
8620
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("tr", { children: columns.map((column) => {
8621
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("td", { children: fillerRow ? fillerRow(column.id, table) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(FillerRowElement, {}) }, column.id);
8608
8622
  }) }, "filler-row-" + index);
8609
8623
  })
8610
8624
  ] })
8611
8625
  ]
8612
8626
  }
8613
8627
  ) }),
8614
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "row justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8628
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "row justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8615
8629
  Pagination,
8616
8630
  {
8617
8631
  pageIndex: table.getState().pagination.pageIndex,
@@ -8626,7 +8640,7 @@ var TableUncontrolled = ({ data, ...props }) => {
8626
8640
  (0, import_react29.useEffect)(() => {
8627
8641
  setUsedData(data);
8628
8642
  }, [data]);
8629
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8643
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8630
8644
  Table,
8631
8645
  {
8632
8646
  ...props,
@@ -8649,7 +8663,7 @@ var TableWithSelection = ({
8649
8663
  {
8650
8664
  id: selectionRowId,
8651
8665
  header: ({ table }) => {
8652
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8666
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8653
8667
  Checkbox,
8654
8668
  {
8655
8669
  checked: table.getIsSomeRowsSelected() ? "indeterminate" : table.getIsAllRowsSelected(),
@@ -8662,7 +8676,7 @@ var TableWithSelection = ({
8662
8676
  );
8663
8677
  },
8664
8678
  cell: ({ row }) => {
8665
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8679
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8666
8680
  Checkbox,
8667
8681
  {
8668
8682
  disabled: !row.getCanSelect(),
@@ -8681,15 +8695,15 @@ var TableWithSelection = ({
8681
8695
  ...columns
8682
8696
  ];
8683
8697
  }, [columns, selectionRowId]);
8684
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
8698
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8685
8699
  Table,
8686
8700
  {
8687
8701
  columns: columnsWithSelection,
8688
8702
  fillerRow: (columnId, table) => {
8689
8703
  if (columnId === selectionRowId) {
8690
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Checkbox, { checked: false, disabled: true, containerClassName: "max-w-6" });
8704
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Checkbox, { checked: false, disabled: true, containerClassName: "max-w-6" });
8691
8705
  }
8692
- return fillerRow ? fillerRow(columnId, table) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(FillerRowElement, {});
8706
+ return fillerRow ? fillerRow(columnId, table) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(FillerRowElement, {});
8693
8707
  },
8694
8708
  state: {
8695
8709
  rowSelection,
@@ -8709,8 +8723,8 @@ var TableWithSelection = ({
8709
8723
  };
8710
8724
 
8711
8725
  // src/components/user-action/DateAndTimePicker.tsx
8712
- var import_clsx45 = __toESM(require("clsx"));
8713
- var import_jsx_runtime59 = require("react/jsx-runtime");
8726
+ var import_clsx46 = __toESM(require("clsx"));
8727
+ var import_jsx_runtime60 = require("react/jsx-runtime");
8714
8728
  var DateTimePicker = ({
8715
8729
  overwriteTranslation,
8716
8730
  value = /* @__PURE__ */ new Date(),
@@ -8729,7 +8743,7 @@ var DateTimePicker = ({
8729
8743
  let dateDisplay;
8730
8744
  let timeDisplay;
8731
8745
  if (useDate) {
8732
- dateDisplay = /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8746
+ dateDisplay = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8733
8747
  DatePicker,
8734
8748
  {
8735
8749
  ...datePickerProps,
@@ -8743,25 +8757,25 @@ var DateTimePicker = ({
8743
8757
  );
8744
8758
  }
8745
8759
  if (useTime) {
8746
- timeDisplay = /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8760
+ timeDisplay = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8747
8761
  TimePicker,
8748
8762
  {
8749
8763
  ...timePickerProps,
8750
- className: (0, import_clsx45.default)("h-full", { "justify-between w-full": mode === "time" }),
8764
+ className: (0, import_clsx46.default)("h-full", { "justify-between w-full": mode === "time" }),
8751
8765
  maxHeight: 250,
8752
8766
  time: value,
8753
8767
  onChange
8754
8768
  }
8755
8769
  );
8756
8770
  }
8757
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "col w-fit", children: [
8758
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "row gap-x-4", children: [
8771
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "col w-fit", children: [
8772
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "row gap-x-4", children: [
8759
8773
  dateDisplay,
8760
8774
  timeDisplay
8761
8775
  ] }),
8762
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "row justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "row gap-x-2 mt-1", children: [
8763
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SolidButton, { size: "medium", color: "negative", onClick: onRemove, children: translation("clear") }),
8764
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
8776
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "row justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "row gap-x-2 mt-1", children: [
8777
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SolidButton, { size: "medium", color: "negative", onClick: onRemove, children: translation("clear") }),
8778
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8765
8779
  SolidButton,
8766
8780
  {
8767
8781
  size: "medium",
@@ -8775,8 +8789,8 @@ var DateTimePicker = ({
8775
8789
 
8776
8790
  // src/components/user-action/ScrollPicker.tsx
8777
8791
  var import_react30 = require("react");
8778
- var import_clsx46 = __toESM(require("clsx"));
8779
- var import_jsx_runtime60 = require("react/jsx-runtime");
8792
+ var import_clsx47 = __toESM(require("clsx"));
8793
+ var import_jsx_runtime61 = require("react/jsx-runtime");
8780
8794
  var up = 1;
8781
8795
  var down = -1;
8782
8796
  var ScrollPicker = ({
@@ -8915,7 +8929,7 @@ var ScrollPicker = ({
8915
8929
  }
8916
8930
  return clamp(1 - opacityValue / max);
8917
8931
  };
8918
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8932
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
8919
8933
  "div",
8920
8934
  {
8921
8935
  className: "relative overflow-hidden",
@@ -8925,15 +8939,15 @@ var ScrollPicker = ({
8925
8939
  setAnimation(({ velocity, ...animationData }) => ({ ...animationData, velocity: velocity + event.deltaY }));
8926
8940
  }
8927
8941
  },
8928
- children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "absolute top-1/2 -translate-y-1/2 -translate-x-1/2 left-1/2", children: [
8929
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8942
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "absolute top-1/2 -translate-y-1/2 -translate-x-1/2 left-1/2", children: [
8943
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
8930
8944
  "div",
8931
8945
  {
8932
8946
  className: "absolute z-[1] top-1/2 -translate-y-1/2 -translate-x-1/2 left-1/2 w-full min-w-[40px] border border-divider/30 border-y-2 border-x-0 ",
8933
8947
  style: { height: `${itemHeight}px` }
8934
8948
  }
8935
8949
  ),
8936
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8950
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
8937
8951
  "div",
8938
8952
  {
8939
8953
  className: "col select-none",
@@ -8941,10 +8955,10 @@ var ScrollPicker = ({
8941
8955
  transform: `translateY(${-transition * (distance + itemHeight)}px)`,
8942
8956
  columnGap: `${distance}px`
8943
8957
  },
8944
- children: shownItems.map(({ name, index }, arrayIndex) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
8958
+ children: shownItems.map(({ name, index }, arrayIndex) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
8945
8959
  "div",
8946
8960
  {
8947
- className: (0, import_clsx46.default)(
8961
+ className: (0, import_clsx47.default)(
8948
8962
  `col items-center justify-center rounded-md`,
8949
8963
  {
8950
8964
  "text-primary font-bold": currentIndex === index,
@@ -8973,8 +8987,8 @@ var ScrollPicker = ({
8973
8987
  // src/components/user-action/ToggleableInput.tsx
8974
8988
  var import_react31 = require("react");
8975
8989
  var import_lucide_react23 = require("lucide-react");
8976
- var import_clsx47 = __toESM(require("clsx"));
8977
- var import_jsx_runtime61 = require("react/jsx-runtime");
8990
+ var import_clsx48 = __toESM(require("clsx"));
8991
+ var import_jsx_runtime62 = require("react/jsx-runtime");
8978
8992
  var ToggleableInput = ({
8979
8993
  type = "text",
8980
8994
  value,
@@ -9001,14 +9015,14 @@ var ToggleableInput = ({
9001
9015
  ref.current?.focus();
9002
9016
  }
9003
9017
  }, [isEditing]);
9004
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { children: [
9005
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
9018
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { children: [
9019
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
9006
9020
  "div",
9007
9021
  {
9008
- className: (0, import_clsx47.default)("row items-center w-full gap-x-2 overflow-hidden", { "cursor-pointer": !isEditing }),
9022
+ className: (0, import_clsx48.default)("row items-center w-full gap-x-2 overflow-hidden", { "cursor-pointer": !isEditing }),
9009
9023
  onClick: () => !isEditing ? setIsEditing(!isEditing) : void 0,
9010
9024
  children: [
9011
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: (0, import_clsx47.default)("row overflow-hidden", { "flex-1": isEditing }), children: isEditing ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
9025
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: (0, import_clsx48.default)("row overflow-hidden", { "flex-1": isEditing }), children: isEditing ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
9012
9026
  "input",
9013
9027
  {
9014
9028
  ref,
@@ -9036,16 +9050,16 @@ var ToggleableInput = ({
9036
9050
  onEditCompletedWrapper(value);
9037
9051
  }
9038
9052
  },
9039
- className: (0, import_clsx47.default)(`w-full border-none rounded-none ring-0 outline-0 text-inherit bg-inherit shadow-transparent decoration-primary p-0 underline-offset-4`, {
9053
+ className: (0, import_clsx48.default)(`w-full border-none rounded-none ring-0 outline-0 text-inherit bg-inherit shadow-transparent decoration-primary p-0 underline-offset-4`, {
9040
9054
  underline: isEditing
9041
9055
  }, labelClassName),
9042
9056
  onFocus: (event) => event.target.select()
9043
9057
  }
9044
- ) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: (0, import_clsx47.default)("max-w-xs break-words overflow-hidden", labelClassName), children: value }) }),
9045
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
9058
+ ) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: (0, import_clsx48.default)("max-w-xs break-words overflow-hidden", labelClassName), children: value }) }),
9059
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
9046
9060
  import_lucide_react23.Pencil,
9047
9061
  {
9048
- className: (0, import_clsx47.default)(`cursor-pointer`, { "text-transparent": isEditing }),
9062
+ className: (0, import_clsx48.default)(`cursor-pointer`, { "text-transparent": isEditing }),
9049
9063
  size,
9050
9064
  style: { minWidth: `${size}px` }
9051
9065
  }
@@ -9053,7 +9067,7 @@ var ToggleableInput = ({
9053
9067
  ]
9054
9068
  }
9055
9069
  ),
9056
- isEditing && disclaimer && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("label", { className: "text-negative", children: disclaimer })
9070
+ isEditing && disclaimer && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("label", { className: "text-negative", children: disclaimer })
9057
9071
  ] });
9058
9072
  };
9059
9073
  var ToggleableInputUncontrolled = ({
@@ -9065,7 +9079,7 @@ var ToggleableInputUncontrolled = ({
9065
9079
  (0, import_react31.useEffect)(() => {
9066
9080
  setValue(initialValue);
9067
9081
  }, [initialValue]);
9068
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
9082
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
9069
9083
  ToggleableInput,
9070
9084
  {
9071
9085
  value,
@@ -9211,6 +9225,7 @@ function resolveSetState(action, prev) {
9211
9225
  StepperBar,
9212
9226
  StepperBarUncontrolled,
9213
9227
  Table,
9228
+ TableCell,
9214
9229
  TableFilterButton,
9215
9230
  TableFilters,
9216
9231
  TableSortButton,