@updog/data-editor 0.1.53 → 0.1.55

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.
Files changed (4) hide show
  1. package/index.css +1 -1
  2. package/index.d.ts +2 -0
  3. package/index.js +409 -384
  4. package/package.json +1 -1
package/index.js CHANGED
@@ -2,7 +2,7 @@ import { i as e } from "./encoding-DUtZMwy0.js";
2
2
  import t, { Children as n, Component as r, Fragment as i, Suspense as a, cloneElement as o, createContext as s, createElement as c, forwardRef as l, isValidElement as u, memo as d, useCallback as f, useContext as p, useEffect as m, useId as h, useImperativeHandle as g, useLayoutEffect as _, useMemo as v, useRef as y, useState as b, useSyncExternalStore as x } from "react";
3
3
  import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
4
4
  import T, { clsx as E } from "clsx";
5
- import { AlertTriangleIcon as D, ArrowDown as O, ArrowDownZA as k, ArrowRightIcon as A, ArrowUp as j, ArrowUpAZ as M, CalendarIcon as N, CaseSensitiveIcon as P, Check as F, CheckIcon as I, ChevronDown as L, ChevronDownIcon as R, ChevronLeft as z, ChevronLeftIcon as B, ChevronRight as V, ChevronRightIcon as ee, CircleAlertIcon as te, CircleCheck as H, CircleX as ne, ClipboardPaste as re, Copy as ie, CopyPlus as ae, DownloadIcon as oe, Eraser as se, Eye as ce, EyeOff as le, FunctionSquare as ue, FunnelIcon as de, Info as fe, InfoIcon as pe, LayoutGridIcon as me, ListPlus as he, LockKeyholeIcon as ge, LockKeyholeOpen as _e, Merge as ve, Minus as ye, Pencil as be, PinIcon as xe, PinOffIcon as Se, PlusIcon as Ce, Redo2Icon as we, RefreshCwIcon as Te, ReplaceIcon as Ee, RotateCcwIcon as De, Scissors as Oe, SearchIcon as ke, SendIcon as Ae, Split as je, SquareIcon as Me, Trash2 as Ne, Trash2Icon as Pe, TriangleAlert as Fe, Undo2 as Ie, Undo2Icon as Le, UploadIcon as Re, Wand2 as ze, WholeWordIcon as Be, X as Ve, XIcon as He } from "lucide-react";
5
+ import { AlertTriangleIcon as D, ArrowDown as O, ArrowDownZA as k, ArrowRightIcon as A, ArrowUp as j, ArrowUpAZ as M, CalendarIcon as N, CaseSensitiveIcon as P, Check as F, CheckIcon as I, ChevronDown as L, ChevronDownIcon as R, ChevronLeft as ee, ChevronLeftIcon as te, ChevronRight as z, ChevronRightIcon as B, CircleAlertIcon as ne, CircleCheck as V, CircleX as re, ClipboardPaste as ie, Copy as ae, CopyPlus as oe, DownloadIcon as se, Eraser as H, Eye as ce, EyeOff as le, FunctionSquare as ue, FunnelIcon as de, Info as fe, InfoIcon as pe, LayoutGridIcon as me, ListPlus as he, LockKeyholeIcon as ge, LockKeyholeOpen as _e, Merge as ve, Minus as ye, Pencil as be, PinIcon as xe, PinOffIcon as Se, PlusIcon as Ce, Redo2Icon as we, RefreshCwIcon as Te, ReplaceIcon as Ee, RotateCcwIcon as De, Scissors as Oe, SearchIcon as ke, SendIcon as Ae, Split as je, SquareIcon as Me, Trash2 as Ne, Trash2Icon as Pe, TriangleAlert as Fe, Undo2 as Ie, Undo2Icon as Le, UploadIcon as Re, Wand2 as ze, WholeWordIcon as Be, X as Ve, XIcon as He } from "lucide-react";
6
6
  import { FloatingFocusManager as Ue, FloatingNode as We, FloatingOverlay as Ge, FloatingPortal as Ke, FloatingTree as qe, autoPlacement as Je, autoUpdate as Ye, flip as Xe, offset as Ze, safePolygon as Qe, shift as $e, size as et, useClick as tt, useDismiss as nt, useFloating as rt, useFloatingNodeId as it, useFloatingTree as at, useFocus as ot, useHover as st, useInteractions as ct, useListNavigation as lt, useRole as ut, useTransitionStyles as dt, useTypeahead as ft } from "@floating-ui/react";
7
7
  import { useDropzone as pt } from "react-dropzone";
8
8
  import { v4 as mt } from "uuid";
@@ -435,11 +435,13 @@ var Ur = {
435
435
  },
436
436
  headerSelection: { noHeaderLabel: "My data has no header row" },
437
437
  matchColumns: {
438
+ allMatched: "All columns are matched",
438
439
  banner: "Some columns could not be automatically matched",
439
440
  importedColumns: "Imported columns",
440
441
  matchedCount: "{{matched}}/{{total}} matched",
441
442
  targetColumns: "Target columns",
442
443
  selectColumnPlaceholder: "Select column",
444
+ showMatched: "Show matched",
443
445
  syntheticColumn: "C{{index}}",
444
446
  syntheticColumnValue: "C{{index}}: {{value}}",
445
447
  bestMatch: "Best match",
@@ -603,8 +605,8 @@ var Qr = (e) => {
603
605
  let { variant: t = "card", color: n = "neutral", layout: r = "inline", icon: i, title: a, text: s, role: c, className: l } = e, u = c ?? (n === "red" || n === "yellow" ? "alert" : "status"), d = E("updog-banner", `updog-banner--${t}`, `updog-banner--${n}`, `updog-banner--layout-${r}`, l), f = () => {
604
606
  if (i !== void 0) return o(i, { size: "1.125rem" });
605
607
  switch (n) {
606
- case "green": return /* @__PURE__ */ C(H, { size: 18 });
607
- case "red": return /* @__PURE__ */ C(ne, { size: 18 });
608
+ case "green": return /* @__PURE__ */ C(V, { size: 18 });
609
+ case "red": return /* @__PURE__ */ C(re, { size: 18 });
608
610
  case "yellow": return /* @__PURE__ */ C(Fe, { size: 18 });
609
611
  default: return /* @__PURE__ */ C(fe, { size: 18 });
610
612
  }
@@ -1013,7 +1015,7 @@ var wi = () => {
1013
1015
  variant: "filled",
1014
1016
  color: "neutral",
1015
1017
  onClick: a(-1),
1016
- content: /* @__PURE__ */ C(z, {
1018
+ content: /* @__PURE__ */ C(ee, {
1017
1019
  className: "rtl-mirror",
1018
1020
  size: "1rem"
1019
1021
  }),
@@ -1022,7 +1024,7 @@ var wi = () => {
1022
1024
  variant: "filled",
1023
1025
  color: "neutral",
1024
1026
  onClick: a(1),
1025
- content: /* @__PURE__ */ C(V, {
1027
+ content: /* @__PURE__ */ C(z, {
1026
1028
  className: "rtl-mirror",
1027
1029
  size: "1rem"
1028
1030
  }),
@@ -1465,118 +1467,119 @@ var $i = l(({ children: e, ...t }, r) => {
1465
1467
  if (!e) throw Error("useDropdownContext must be used within a DropdownProvider");
1466
1468
  return e;
1467
1469
  }, ra = s({}), ia = () => p(ra), aa = (e) => {
1468
- let { open: t, onOpenChange: n, defaultIsOpen: r, disabled: i = !1, animation: a = !0, placement: o = "bottom", offset: s = 8, flip: c = !0, shift: l = !0, autoPlacement: u = !1, interactions: d = ["click", "dismiss"], role: p = "dialog", minWidth: g, maxWidth: _, minHeight: v, maxHeight: x, matchTriggerWidth: S = !1, typeaheadListRef: C, triggerId: w, contentId: T, middleware: E, clickOptions: D, hoverOptions: O, focusOptions: k, dismissOptions: A, roleOptions: j, listNavigationOptions: M, typeaheadOptions: N } = e, P = h(), F = `${P}-trigger`, I = `${P}-content`, L = w || F, R = T || I, { value: z, onChange: B } = ji({
1470
+ let { open: t, onOpenChange: n, defaultIsOpen: r, disabled: i = !1, animation: a = !0, placement: o = "bottom", offset: s = 8, flip: c = !0, shift: l = !0, autoPlacement: u = !1, closeOnScroll: d = !0, interactions: p = ["click", "dismiss"], role: g = "dialog", minWidth: _, maxWidth: v, minHeight: x, maxHeight: S, matchTriggerWidth: C = !1, typeaheadListRef: w, triggerId: T, contentId: E, middleware: D, clickOptions: O, hoverOptions: k, focusOptions: A, dismissOptions: j, roleOptions: M, listNavigationOptions: N, typeaheadOptions: P } = e, F = h(), I = `${F}-trigger`, L = `${F}-content`, R = T || I, ee = E || L, { value: te, onChange: z } = ji({
1469
1471
  controlledValue: t,
1470
1472
  controlledOnChange: n,
1471
1473
  defaultValue: r
1472
- }), V = at(), ee = f(() => {
1473
- B(!1), V && V.events.emit("dismissAll");
1474
- }, [B, V]);
1474
+ }), B = at(), ne = f(() => {
1475
+ z(!1), B && B.events.emit("dismissAll");
1476
+ }, [z, B]);
1475
1477
  m(() => {
1476
- if (!V) return;
1478
+ if (!B) return;
1477
1479
  let e = () => {
1478
- B(!1);
1480
+ z(!1);
1479
1481
  };
1480
- return V.events.on("dismissAll", e), () => {
1481
- V.events.off("dismissAll", e);
1482
+ return B.events.on("dismissAll", e), () => {
1483
+ B.events.off("dismissAll", e);
1482
1484
  };
1483
- }, [V, B]);
1484
- let te = y([]), H = f((e) => (t) => {
1485
- te.current[e] = t;
1486
- }, []), [ne, re] = b(null), { refs: ie, floatingStyles: ae, context: oe, placement: se } = rt({
1487
- open: z,
1488
- onOpenChange: B,
1485
+ }, [B, z]);
1486
+ let V = y([]), re = f((e) => (t) => {
1487
+ V.current[e] = t;
1488
+ }, []), [ie, ae] = b(null), { refs: oe, floatingStyles: se, context: H, placement: ce } = rt({
1489
+ open: te,
1490
+ onOpenChange: z,
1489
1491
  placement: o,
1490
- middleware: E ?? [
1492
+ middleware: D ?? [
1491
1493
  Ze(s),
1492
1494
  c && Xe(),
1493
1495
  l && $e(),
1494
1496
  u && Je(),
1495
1497
  et({ apply({ availableWidth: e, availableHeight: t, elements: n, rects: r }) {
1496
- let i = _ ? Math.min(_, e) : e, a = x ? Math.min(x, t) : t, o = S ? r.reference.width : void 0;
1498
+ let i = v ? Math.min(v, e) : e, a = S ? Math.min(S, t) : t, o = C ? r.reference.width : void 0;
1497
1499
  Object.assign(n.floating.style, {
1498
1500
  maxWidth: `${i}px`,
1499
1501
  maxHeight: `${a}px`,
1500
- ...g && { minWidth: Xi(g) },
1501
- ...v && { minHeight: Xi(v) },
1502
+ ..._ && { minWidth: Xi(_) },
1503
+ ...x && { minHeight: Xi(x) },
1502
1504
  ...o && { width: `${o}px` }
1503
1505
  });
1504
1506
  } })
1505
1507
  ].filter(Boolean),
1506
1508
  whileElementsMounted: Ye
1507
- }), ce = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, { isMounted: le, styles: ue } = dt(oe, {
1508
- duration: !a || ce ? 0 : 100,
1509
+ }), le = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, { isMounted: ue, styles: de } = dt(H, {
1510
+ duration: !a || le ? 0 : 100,
1509
1511
  initial: { opacity: 0 }
1510
- }), de = (e) => d.includes(e), { getReferenceProps: fe, getFloatingProps: pe, getItemProps: me } = ct([
1511
- tt(oe, {
1512
- ...D,
1513
- enabled: D?.enabled || de("click") && !i,
1514
- event: D?.event || "click",
1515
- toggle: D?.toggle || !0
1516
- }),
1517
- st(oe, {
1512
+ }), fe = (e) => p.includes(e), { getReferenceProps: pe, getFloatingProps: me, getItemProps: he } = ct([
1513
+ tt(H, {
1518
1514
  ...O,
1519
- enabled: O?.enabled || de("hover") && !i,
1520
- delay: O?.delay,
1521
- handleClose: O?.handleClose || Qe()
1515
+ enabled: O?.enabled || fe("click") && !i,
1516
+ event: O?.event || "click",
1517
+ toggle: O?.toggle || !0
1522
1518
  }),
1523
- ot(oe, {
1519
+ st(H, {
1524
1520
  ...k,
1525
- enabled: k?.enabled || de("focus") && !i
1521
+ enabled: k?.enabled || fe("hover") && !i,
1522
+ delay: k?.delay,
1523
+ handleClose: k?.handleClose || Qe()
1526
1524
  }),
1527
- nt(oe, {
1525
+ ot(H, {
1528
1526
  ...A,
1529
- enabled: A?.enabled || de("dismiss") && !i,
1530
- outsidePress: A?.outsidePress || ((e) => {
1531
- let t = e.target, n = ie.floating.current?.contains(t), r = ie.reference.current?.contains?.(t);
1532
- return !n && !r;
1533
- }),
1534
- escapeKey: A?.escapeKey || !0,
1535
- bubbles: A?.bubbles || { escapeKey: !1 }
1527
+ enabled: A?.enabled || fe("focus") && !i
1536
1528
  }),
1537
- ut(oe, {
1529
+ nt(H, {
1538
1530
  ...j,
1539
- role: j?.role || p
1531
+ ancestorScroll: j?.ancestorScroll ?? d,
1532
+ enabled: j?.enabled || fe("dismiss") && !i,
1533
+ outsidePress: j?.outsidePress || ((e) => {
1534
+ let t = e.target, n = oe.floating.current?.contains(t), r = oe.reference.current?.contains?.(t);
1535
+ return !n && !r;
1536
+ }),
1537
+ escapeKey: j?.escapeKey || !0,
1538
+ bubbles: j?.bubbles || { escapeKey: !1 }
1540
1539
  }),
1541
- lt(oe, {
1540
+ ut(H, {
1542
1541
  ...M,
1543
- enabled: M?.enabled || de("listNavigation") && !i,
1544
- listRef: M?.listRef || te,
1545
- activeIndex: M?.activeIndex || ne,
1546
- onNavigate: M?.onNavigate || re,
1547
- loop: M?.loop || !0,
1548
- nested: M?.nested,
1549
- parentOrientation: M?.parentOrientation,
1550
- rtl: M?.rtl
1542
+ role: M?.role || g
1551
1543
  }),
1552
- ft(oe, {
1544
+ lt(H, {
1553
1545
  ...N,
1554
- enabled: N?.enabled || de("typeahead") && !i,
1555
- listRef: N?.listRef || C || { current: [] },
1556
- activeIndex: N?.activeIndex || ne,
1557
- onMatch: N?.onMatch || re,
1558
- resetMs: N?.resetMs || 750
1546
+ enabled: N?.enabled || fe("listNavigation") && !i,
1547
+ listRef: N?.listRef || V,
1548
+ activeIndex: N?.activeIndex || ie,
1549
+ onNavigate: N?.onNavigate || ae,
1550
+ loop: N?.loop || !0,
1551
+ nested: N?.nested,
1552
+ parentOrientation: N?.parentOrientation,
1553
+ rtl: N?.rtl
1554
+ }),
1555
+ ft(H, {
1556
+ ...P,
1557
+ enabled: P?.enabled || fe("typeahead") && !i,
1558
+ listRef: P?.listRef || w || { current: [] },
1559
+ activeIndex: P?.activeIndex || ie,
1560
+ onMatch: P?.onMatch || ae,
1561
+ resetMs: P?.resetMs || 750
1559
1562
  })
1560
1563
  ]);
1561
1564
  return {
1562
- refs: ie,
1563
- floatingStyles: ae,
1564
- context: oe,
1565
- getReferenceProps: fe,
1566
- getFloatingProps: pe,
1567
- getItemProps: de("listNavigation") ? me : void 0,
1568
- open: !!z,
1569
- setOpen: B,
1570
- placement: se,
1571
- activeIndex: ne,
1572
- setActiveIndex: re,
1573
- navigationRef: H,
1565
+ refs: oe,
1566
+ floatingStyles: se,
1567
+ context: H,
1568
+ getReferenceProps: pe,
1569
+ getFloatingProps: me,
1570
+ getItemProps: fe("listNavigation") ? he : void 0,
1571
+ open: !!te,
1572
+ setOpen: z,
1573
+ placement: ce,
1574
+ activeIndex: ie,
1575
+ setActiveIndex: ae,
1576
+ navigationRef: re,
1574
1577
  props: e,
1575
- dismiss: ee,
1576
- isMounted: le,
1577
- transitionStyles: ue,
1578
- triggerId: L,
1579
- contentId: R
1578
+ dismiss: ne,
1579
+ isMounted: ue,
1580
+ transitionStyles: de,
1581
+ triggerId: R,
1582
+ contentId: ee
1580
1583
  };
1581
1584
  }, oa = (e) => {
1582
1585
  let { trigger: t, content: n, floatingFocusManager: r, contentClassName: i, ariaLabel: a, preventDefaultOnTrigger: o, stopPropagationOnTrigger: s, portal: c = !0 } = e, { rtl: l } = K(), { refs: u, floatingStyles: d, context: p, getReferenceProps: m, getFloatingProps: h, getItemProps: g, open: _, setOpen: y, dismiss: b, placement: x, activeIndex: T, setActiveIndex: D, navigationRef: O, isMounted: k, transitionStyles: A, triggerId: j, contentId: M } = aa(e), N = it(), P = v(() => ({
@@ -1621,7 +1624,7 @@ var $i = l(({ children: e, ...t }, r) => {
1621
1624
  s && e.stopPropagation(), o && e.preventDefault();
1622
1625
  }, [s, o]), R = f((e) => {
1623
1626
  u.setReference(e);
1624
- }, [u.setReference]), z = v(() => {
1627
+ }, [u.setReference]), ee = v(() => {
1625
1628
  let { onClick: e, ...n } = I, r = Wi(Wi(t.props.onClick, e), L);
1626
1629
  return /* @__PURE__ */ C($i, {
1627
1630
  ref: R,
@@ -1638,7 +1641,7 @@ var $i = l(({ children: e, ...t }, r) => {
1638
1641
  j,
1639
1642
  I,
1640
1643
  L
1641
- ]), B = v(() => {
1644
+ ]), te = v(() => {
1642
1645
  if (!k) return null;
1643
1646
  let e = /* @__PURE__ */ C("div", {
1644
1647
  ref: u.setFloating,
@@ -1678,10 +1681,10 @@ var $i = l(({ children: e, ...t }, r) => {
1678
1681
  value: P,
1679
1682
  children: /* @__PURE__ */ w(We, {
1680
1683
  id: N,
1681
- children: [/* @__PURE__ */ C(S, { children: z }), c ? /* @__PURE__ */ C(Ke, {
1684
+ children: [/* @__PURE__ */ C(S, { children: ee }), c ? /* @__PURE__ */ C(Ke, {
1682
1685
  root: typeof c == "boolean" ? void 0 : c,
1683
- children: B
1684
- }) : /* @__PURE__ */ C(S, { children: B })]
1686
+ children: te
1687
+ }) : /* @__PURE__ */ C(S, { children: te })]
1685
1688
  })
1686
1689
  });
1687
1690
  }, sa = ({ item: e }) => /* @__PURE__ */ C("div", {
@@ -1739,26 +1742,26 @@ function ua(e, t) {
1739
1742
  onTouchCancel: (e) => {
1740
1743
  k.onTouchCancel();
1741
1744
  }
1742
- } : {}, [S, k]), { onClick: R, ...z } = x, B = f((e) => {
1745
+ } : {}, [S, k]), { onClick: R, ...ee } = x, te = f((e) => {
1743
1746
  R?.(e), N();
1744
1747
  }, [R, N]);
1745
1748
  return /* @__PURE__ */ C(oa, {
1746
1749
  portal: g,
1747
1750
  trigger: v(() => /* @__PURE__ */ C($i, {
1748
1751
  ref: t,
1749
- ...z,
1752
+ ...ee,
1750
1753
  ...D ? { "aria-describedby": M } : {},
1751
- onClick: B,
1754
+ onClick: te,
1752
1755
  onBlur: P,
1753
1756
  onMouseLeave: F,
1754
1757
  ...L,
1755
1758
  children: I
1756
1759
  }), [
1757
1760
  t,
1758
- z,
1761
+ ee,
1759
1762
  D,
1760
1763
  M,
1761
- B,
1764
+ te,
1762
1765
  P,
1763
1766
  F,
1764
1767
  L,
@@ -1827,7 +1830,7 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
1827
1830
  e.accessory && e.accessory,
1828
1831
  e.options && !e.disabled && /* @__PURE__ */ C("span", {
1829
1832
  className: "updog-menu__option-endAccessory",
1830
- children: C(i ? B : ee, { size: "1rem" })
1833
+ children: C(i ? te : B, { size: "1rem" })
1831
1834
  })
1832
1835
  ]
1833
1836
  });
@@ -1905,11 +1908,11 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
1905
1908
  N.events.off("dismissAll", e);
1906
1909
  };
1907
1910
  }, [N]);
1908
- let I = h(), L = `${I}-context-trigger`, R = `${I}-context-content`, z = y([]), B = f((e) => (t) => {
1909
- z.current[e] = t;
1910
- }, []), V = y([]);
1911
- V.current = n.filter(fa).map((e) => e.text);
1912
- let { refs: ee, floatingStyles: te, context: H, placement: ne } = rt({
1911
+ let I = h(), L = `${I}-context-trigger`, R = `${I}-context-content`, ee = y([]), te = f((e) => (t) => {
1912
+ ee.current[e] = t;
1913
+ }, []), z = y([]);
1914
+ z.current = n.filter(fa).map((e) => e.text);
1915
+ let { refs: B, floatingStyles: ne, context: V, placement: re } = rt({
1913
1916
  open: k,
1914
1917
  onOpenChange: A,
1915
1918
  placement: p,
@@ -1931,7 +1934,7 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
1931
1934
  whileElementsMounted: Ye
1932
1935
  });
1933
1936
  m(() => {
1934
- D && ee.setPositionReference({ getBoundingClientRect: () => ({
1937
+ D && B.setPositionReference({ getBoundingClientRect: () => ({
1935
1938
  x: D.x,
1936
1939
  y: D.y,
1937
1940
  width: 0,
@@ -1941,33 +1944,33 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
1941
1944
  bottom: D.y,
1942
1945
  left: D.x
1943
1946
  }) });
1944
- }, [D, ee]);
1945
- let re = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, { isMounted: ie, styles: ae } = dt(H, {
1946
- duration: !a || re ? 0 : 100,
1947
+ }, [D, B]);
1948
+ let ie = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, { isMounted: ae, styles: oe } = dt(V, {
1949
+ duration: !a || ie ? 0 : 100,
1947
1950
  initial: { opacity: 0 }
1948
- }), { getReferenceProps: oe, getFloatingProps: se, getItemProps: ce } = ct([
1949
- nt(H, {
1951
+ }), { getReferenceProps: se, getFloatingProps: H, getItemProps: ce } = ct([
1952
+ nt(V, {
1950
1953
  escapeKey: !0,
1951
1954
  outsidePress: !0,
1952
1955
  bubbles: { escapeKey: !1 }
1953
1956
  }),
1954
- ut(H, { role: "menu" }),
1955
- lt(H, {
1956
- listRef: z,
1957
+ ut(V, { role: "menu" }),
1958
+ lt(V, {
1959
+ listRef: ee,
1957
1960
  activeIndex: j,
1958
1961
  onNavigate: M,
1959
1962
  loop: !0,
1960
1963
  parentOrientation: "vertical",
1961
1964
  rtl: O
1962
1965
  }),
1963
- ft(H, {
1964
- listRef: V,
1966
+ ft(V, {
1967
+ listRef: z,
1965
1968
  activeIndex: j,
1966
1969
  onMatch: M,
1967
1970
  resetMs: 750
1968
1971
  })
1969
1972
  ]), le = y(null), ue = f((e) => {
1970
- i || (g !== !1 && e.preventDefault(), _ && e.stopPropagation(), ee.setPositionReference({ getBoundingClientRect() {
1973
+ i || (g !== !1 && e.preventDefault(), _ && e.stopPropagation(), B.setPositionReference({ getBoundingClientRect() {
1971
1974
  return {
1972
1975
  x: e.clientX,
1973
1976
  y: e.clientY,
@@ -1983,44 +1986,44 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
1983
1986
  i,
1984
1987
  g,
1985
1988
  _,
1986
- ee
1989
+ B
1987
1990
  ]), de = v(() => ({
1988
1991
  open: k ?? !1,
1989
1992
  setOpen: A,
1990
1993
  dismiss: F,
1991
- placement: ne,
1992
- floatingStyles: te,
1994
+ placement: re,
1995
+ floatingStyles: ne,
1993
1996
  refs: {
1994
- setReference: ee.setReference,
1995
- setFloating: ee.setFloating
1997
+ setReference: B.setReference,
1998
+ setFloating: B.setFloating
1996
1999
  },
1997
- getReferenceProps: oe,
1998
- getFloatingProps: se,
2000
+ getReferenceProps: se,
2001
+ getFloatingProps: H,
1999
2002
  getItemProps: ce,
2000
2003
  activeIndex: j,
2001
2004
  setActiveIndex: M,
2002
- navigationRef: B,
2003
- context: H,
2004
- isMounted: ie,
2005
- transitionStyles: ae,
2005
+ navigationRef: te,
2006
+ context: V,
2007
+ isMounted: ae,
2008
+ transitionStyles: oe,
2006
2009
  triggerId: L,
2007
2010
  contentId: R,
2008
2011
  props: {}
2009
2012
  }), [
2010
2013
  k,
2011
2014
  F,
2015
+ re,
2012
2016
  ne,
2013
- te,
2014
- ee.setReference,
2015
- ee.setFloating,
2016
- oe,
2017
+ B.setReference,
2018
+ B.setFloating,
2017
2019
  se,
2020
+ H,
2018
2021
  ce,
2019
2022
  j,
2020
- B,
2021
- H,
2022
- ie,
2023
+ te,
2024
+ V,
2023
2025
  ae,
2026
+ oe,
2024
2027
  L,
2025
2028
  R
2026
2029
  ]), fe = v(() => ({
@@ -2036,34 +2039,34 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
2036
2039
  O,
2037
2040
  s,
2038
2041
  c
2039
- ]), pe = v(() => ie ? /* @__PURE__ */ C(Ue, {
2040
- context: H,
2042
+ ]), pe = v(() => ae ? /* @__PURE__ */ C(Ue, {
2043
+ context: V,
2041
2044
  initialFocus: -1,
2042
2045
  returnFocus: !0,
2043
2046
  restoreFocus: !1,
2044
2047
  modal: !1,
2045
2048
  children: /* @__PURE__ */ C("div", {
2046
- ref: ee.setFloating,
2049
+ ref: B.setFloating,
2047
2050
  style: {
2048
- ...te,
2049
- ...ae
2051
+ ...ne,
2052
+ ...oe
2050
2053
  },
2051
2054
  className: E("updog-dropdown__content-element", o),
2052
2055
  dir: O ? "rtl" : "ltr",
2053
- ...se(),
2056
+ ...H(),
2054
2057
  id: R,
2055
2058
  role: "menu",
2056
2059
  children: /* @__PURE__ */ C(_a, { options: n })
2057
2060
  })
2058
2061
  }) : null, [
2059
- ie,
2060
- ee.setFloating,
2061
- te,
2062
2062
  ae,
2063
+ B.setFloating,
2064
+ ne,
2065
+ oe,
2063
2066
  o,
2064
- se,
2065
- R,
2066
2067
  H,
2068
+ R,
2069
+ V,
2067
2070
  n
2068
2071
  ]), me = /* @__PURE__ */ C(ta, {
2069
2072
  value: de,
@@ -2144,7 +2147,7 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
2144
2147
  e.stopPropagation(), e.preventDefault();
2145
2148
  }, []), L = f((e) => {
2146
2149
  e.stopPropagation();
2147
- }, []), R = Object.fromEntries(Object.entries(v).filter(([e]) => e.startsWith("data-"))), z = /* @__PURE__ */ C("span", {
2150
+ }, []), R = Object.fromEntries(Object.entries(v).filter(([e]) => e.startsWith("data-"))), ee = /* @__PURE__ */ C("span", {
2148
2151
  className: "updog-datepicker__trigger-placeholder updog-text--sm",
2149
2152
  children: o || T("ui.datePicker.placeholder")
2150
2153
  });
@@ -2168,7 +2171,7 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
2168
2171
  children: s ? /* @__PURE__ */ C(wa, {
2169
2172
  className: E("updog-datepicker__trigger-value", M[x]),
2170
2173
  content: s
2171
- }) : z
2174
+ }) : ee
2172
2175
  }), /* @__PURE__ */ w("div", {
2173
2176
  className: "updog-datepicker__trigger-actions",
2174
2177
  children: [
@@ -2421,7 +2424,7 @@ var Oa = ({ text: e, direction: t = "horizontal", width: n, height: r, className
2421
2424
  }), L = f((e) => {
2422
2425
  let t = e.currentTarget.value;
2423
2426
  i && (t = t.split("").filter((e) => i.test(e)).join("")), r && r(t, e);
2424
- }, [r, i]), R = v(() => g?.toString() || "", [g]), z = f((e) => {
2427
+ }, [r, i]), R = v(() => g?.toString() || "", [g]), ee = f((e) => {
2425
2428
  i && !i.test(e.key) && ![
2426
2429
  "Backspace",
2427
2430
  "Delete",
@@ -2432,7 +2435,7 @@ var Oa = ({ text: e, direction: t = "horizontal", width: n, height: r, className
2432
2435
  "Tab",
2433
2436
  "Enter"
2434
2437
  ].includes(e.key) && e.preventDefault();
2435
- }, [i]), B = v(() => Wi(_, z), [_, z]);
2438
+ }, [i]), te = v(() => Wi(_, ee), [_, ee]);
2436
2439
  return /* @__PURE__ */ w("div", {
2437
2440
  className: A,
2438
2441
  children: [
@@ -2446,7 +2449,7 @@ var Oa = ({ text: e, direction: t = "horizontal", width: n, height: r, className
2446
2449
  size: void 0,
2447
2450
  className: j,
2448
2451
  onChange: L,
2449
- onKeyDown: B,
2452
+ onKeyDown: te,
2450
2453
  value: g,
2451
2454
  "aria-invalid": l
2452
2455
  }),
@@ -2578,42 +2581,42 @@ var Oa = ({ text: e, direction: t = "horizontal", width: n, height: r, className
2578
2581
  //#endregion
2579
2582
  //#region ../ui-kit/src/components/Menu/index.tsx
2580
2583
  function Pa(e, t) {
2581
- let { open: n, onOpenChange: r, defaultIsOpen: i, trigger: a, children: o, options: s, onSelect: c, placement: l = "bottom-start", offset: u = 8, contentClassName: d, preventDefaultOnTrigger: p, stopPropagationOnTrigger: m, minHeight: g, maxHeight: _, minWidth: b, maxWidth: x, disabled: S, middleware: w, flip: T, shift: D, autoPlacement: O, clickOptions: k, hoverOptions: A, focusOptions: j, dismissOptions: M, roleOptions: N, listNavigationOptions: P, typeaheadOptions: F, floatingFocusManager: I, ariaLabel: L, triggerId: R, contentId: z, matchTriggerWidth: B, typeaheadListRef: V, portal: ee, ...te } = e, { rtl: H } = K(), { value: ne, onChange: re } = ji({
2584
+ let { open: n, onOpenChange: r, defaultIsOpen: i, trigger: a, children: o, options: s, onSelect: c, placement: l = "bottom-start", offset: u = 8, contentClassName: d, preventDefaultOnTrigger: p, stopPropagationOnTrigger: m, minHeight: g, maxHeight: _, minWidth: b, maxWidth: x, disabled: S, middleware: w, flip: T, shift: D, autoPlacement: O, clickOptions: k, hoverOptions: A, focusOptions: j, dismissOptions: M, roleOptions: N, listNavigationOptions: P, typeaheadOptions: F, floatingFocusManager: I, ariaLabel: L, triggerId: R, contentId: ee, matchTriggerWidth: te, typeaheadListRef: z, portal: B, ...ne } = e, { rtl: V } = K(), { value: re, onChange: ie } = ji({
2582
2585
  controlledValue: n,
2583
2586
  controlledOnChange: r,
2584
2587
  defaultValue: i
2585
- }), ie = y(null), ae = h(), oe = o.props.id || R || `${ae}-trigger`, se = z || (o.props.id ? `${o.props.id}-content` : `${ae}-content`), ce = y([]);
2588
+ }), ae = y(null), oe = h(), se = o.props.id || R || `${oe}-trigger`, H = ee || (o.props.id ? `${o.props.id}-content` : `${oe}-content`), ce = y([]);
2586
2589
  v(() => {
2587
2590
  ce.current = s.filter(fa).map((e) => e.text);
2588
2591
  }, [s]);
2589
2592
  let le = Zi(t, f((e) => {
2590
- ie.current = e;
2593
+ ae.current = e;
2591
2594
  }, [])), ue = a || o, de = v(() => /* @__PURE__ */ C($i, {
2592
2595
  ref: le,
2593
- ...te,
2596
+ ...ne,
2594
2597
  children: ue
2595
2598
  }), [
2596
2599
  le,
2597
- te,
2600
+ ne,
2598
2601
  ue
2599
2602
  ]);
2600
2603
  return /* @__PURE__ */ C(qe, { children: /* @__PURE__ */ C(ra.Provider, {
2601
2604
  value: {
2602
2605
  onSelect: c,
2603
2606
  options: s,
2604
- rtl: H,
2605
- rootTriggerRef: ie,
2606
- portal: ee,
2607
+ rtl: V,
2608
+ rootTriggerRef: ae,
2609
+ portal: B,
2607
2610
  minWidth: b
2608
2611
  },
2609
2612
  children: /* @__PURE__ */ C(oa, {
2610
- portal: ee,
2613
+ portal: B,
2611
2614
  trigger: de,
2612
2615
  content: /* @__PURE__ */ C(_a, { options: s }),
2613
- triggerId: oe,
2614
- contentId: se,
2615
- open: ne,
2616
- onOpenChange: re,
2616
+ triggerId: se,
2617
+ contentId: H,
2618
+ open: re,
2619
+ onOpenChange: ie,
2617
2620
  disabled: S,
2618
2621
  interactions: [
2619
2622
  "click",
@@ -2635,7 +2638,7 @@ function Pa(e, t) {
2635
2638
  roleOptions: N,
2636
2639
  typeaheadOptions: F,
2637
2640
  ariaLabel: L,
2638
- matchTriggerWidth: B,
2641
+ matchTriggerWidth: te,
2639
2642
  floatingFocusManager: {
2640
2643
  initialFocus: -1,
2641
2644
  returnFocus: !0,
@@ -2646,11 +2649,11 @@ function Pa(e, t) {
2646
2649
  contentClassName: E("", d),
2647
2650
  listNavigationOptions: {
2648
2651
  parentOrientation: "vertical",
2649
- rtl: H,
2652
+ rtl: V,
2650
2653
  loop: !0,
2651
2654
  ...P
2652
2655
  },
2653
- typeaheadListRef: V ?? ce,
2656
+ typeaheadListRef: z ?? ce,
2654
2657
  preventDefaultOnTrigger: p,
2655
2658
  stopPropagationOnTrigger: m,
2656
2659
  minHeight: g,
@@ -2664,22 +2667,22 @@ var Fa = l(Pa);
2664
2667
  //#endregion
2665
2668
  //#region ../ui-kit/src/components/Popover/index.tsx
2666
2669
  function Ia(e, t) {
2667
- let { trigger: n, children: r, content: i, open: a, onOpenChange: o, defaultIsOpen: s, placement: c = "bottom-start", offset: l = 8, maxWidth: d = 320, contentClassName: f, flip: p, shift: m, autoPlacement: g, middleware: _, clickOptions: v, hoverOptions: y, focusOptions: b, dismissOptions: x, roleOptions: S, listNavigationOptions: w, typeaheadOptions: T, floatingFocusManager: D, ariaLabel: O, triggerId: k, contentId: A, minWidth: j, minHeight: M, maxHeight: N, matchTriggerWidth: P, typeaheadListRef: F, disabled: I, preventDefaultOnTrigger: L, stopPropagationOnTrigger: R, portal: z, ...B } = e, { value: V, onChange: ee } = ji({
2670
+ let { trigger: n, children: r, content: i, open: a, onOpenChange: o, defaultIsOpen: s, placement: c = "bottom-start", offset: l = 8, maxWidth: d = 320, contentClassName: f, flip: p, shift: m, autoPlacement: g, middleware: _, clickOptions: v, hoverOptions: y, focusOptions: b, dismissOptions: x, roleOptions: S, listNavigationOptions: w, typeaheadOptions: T, floatingFocusManager: D, ariaLabel: O, triggerId: k, contentId: A, minWidth: j, minHeight: M, maxHeight: N, matchTriggerWidth: P, typeaheadListRef: F, disabled: I, preventDefaultOnTrigger: L, stopPropagationOnTrigger: R, portal: ee, ...te } = e, { value: z, onChange: B } = ji({
2668
2671
  controlledValue: a,
2669
2672
  controlledOnChange: o,
2670
2673
  defaultValue: s
2671
- }), te = h(), H = k || r.props.id || `${te}-trigger`, ne = A || (u(i) && i.props.id ? i.props.id : `${te}-content`), re = n || r;
2674
+ }), ne = h(), V = k || r.props.id || `${ne}-trigger`, re = A || (u(i) && i.props.id ? i.props.id : `${ne}-content`), ie = n || r;
2672
2675
  return /* @__PURE__ */ C(oa, {
2673
2676
  trigger: /* @__PURE__ */ C($i, {
2674
2677
  ref: t,
2675
- ...B,
2676
- children: re
2678
+ ...te,
2679
+ children: ie
2677
2680
  }),
2678
2681
  content: i,
2679
- triggerId: H,
2680
- contentId: ne,
2681
- open: V,
2682
- onOpenChange: ee,
2682
+ triggerId: V,
2683
+ contentId: re,
2684
+ open: z,
2685
+ onOpenChange: B,
2683
2686
  interactions: ["click", "dismiss"],
2684
2687
  role: "dialog",
2685
2688
  placement: c,
@@ -2713,7 +2716,7 @@ function Ia(e, t) {
2713
2716
  disabled: I,
2714
2717
  preventDefaultOnTrigger: L,
2715
2718
  stopPropagationOnTrigger: R,
2716
- portal: z
2719
+ portal: ee
2717
2720
  });
2718
2721
  }
2719
2722
  l(Ia);
@@ -2893,43 +2896,43 @@ var Va = () => {
2893
2896
  size: s
2894
2897
  };
2895
2898
  }, Ua = l((e = {}, t) => {
2896
- let { t: n } = K(), { disabled: r, size: i, placeholder: a, inputId: o, searchValue: s, setSearchValue: c, onClear: l, showClearButton: u, invalid: d, loading: p, onSelect: m, multiple: h, value: g, open: _, contentId: y, activeDescId: b, onInputKeyDownCapture: x, onInputFocus: S, dataAttributes: T, searchInputRef: D } = Ha(), O = v(() => !h || !g ? [] : Array.isArray(g) ? g : [g], [h, g]), { onClick: k, onFocus: A, onKeyDown: j, onMouseDown: M, onPointerDown: N, onPointerEnter: P, id: F, className: I, role: L, tabIndex: R, "aria-expanded": z, "aria-haspopup": B, "aria-controls": V, "aria-activedescendant": ee, ...te } = e, H = f((e) => {
2899
+ let { t: n } = K(), { disabled: r, size: i, placeholder: a, inputId: o, searchValue: s, setSearchValue: c, onClear: l, showClearButton: u, invalid: d, loading: p, onSelect: m, multiple: h, value: g, open: _, contentId: y, activeDescId: b, onInputKeyDownCapture: x, onInputFocus: S, dataAttributes: T, searchInputRef: D } = Ha(), O = v(() => !h || !g ? [] : Array.isArray(g) ? g : [g], [h, g]), { onClick: k, onFocus: A, onKeyDown: j, onMouseDown: M, onPointerDown: N, onPointerEnter: P, id: F, className: I, role: L, tabIndex: R, "aria-expanded": ee, "aria-haspopup": te, "aria-controls": z, "aria-activedescendant": B, ...ne } = e, V = f((e) => {
2897
2900
  let t = O.find((t) => t.id === e);
2898
2901
  t && (m(t), D.current?.focus());
2899
2902
  }, [
2900
2903
  O,
2901
2904
  m,
2902
2905
  D
2903
- ]), ne = f(() => {
2906
+ ]), re = f(() => {
2904
2907
  l?.(), D.current?.focus();
2905
- }, [l, D]), re = f((e) => {
2908
+ }, [l, D]), ie = f((e) => {
2906
2909
  k?.(e), D.current?.focus();
2907
- }, [k, D]), ie = {
2910
+ }, [k, D]), ae = {
2908
2911
  sm: "xs",
2909
2912
  md: "sm",
2910
2913
  lg: "md"
2911
- }, ae = !r && !p && u && /* @__PURE__ */ C(Y, {
2914
+ }, oe = !r && !p && u && /* @__PURE__ */ C(Y, {
2912
2915
  variant: "filled",
2913
2916
  size: Ui[i],
2914
2917
  color: "neutral",
2915
- onClick: ne,
2918
+ onClick: re,
2916
2919
  content: /* @__PURE__ */ C(He, {}),
2917
2920
  "aria-label": n("ui.comboBox.clearSelection")
2918
- }), oe = !r && p && /* @__PURE__ */ C(Sa, {
2921
+ }), se = !r && p && /* @__PURE__ */ C(Sa, {
2919
2922
  size: i,
2920
- children: /* @__PURE__ */ C(ri, { size: ie[i] })
2923
+ children: /* @__PURE__ */ C(ri, { size: ae[i] })
2921
2924
  });
2922
2925
  return /* @__PURE__ */ w("div", {
2923
2926
  ref: t,
2924
2927
  id: F,
2925
2928
  className: E("updog-combobox__trigger updog-combobox__trigger-multi", `updog-combobox__trigger--${i}`, d && "updog-combobox__trigger--invalid"),
2926
- onClick: re,
2929
+ onClick: ie,
2927
2930
  onFocus: A,
2928
2931
  onKeyDown: j,
2929
2932
  onMouseDown: M,
2930
2933
  onPointerDown: N,
2931
2934
  onPointerEnter: P,
2932
- ...te,
2935
+ ...ne,
2933
2936
  role: void 0,
2934
2937
  tabIndex: -1,
2935
2938
  "aria-haspopup": void 0,
@@ -2944,7 +2947,7 @@ var Va = () => {
2944
2947
  startIcon: e.icon,
2945
2948
  color: "neutral",
2946
2949
  size: i === "lg" ? "md" : "sm",
2947
- onRemove: r ? void 0 : () => H(e.id),
2950
+ onRemove: r ? void 0 : () => V(e.id),
2948
2951
  disabled: r
2949
2952
  }, e.id)), /* @__PURE__ */ C("input", {
2950
2953
  ref: D,
@@ -2967,7 +2970,7 @@ var Va = () => {
2967
2970
  })]
2968
2971
  }), /* @__PURE__ */ C("div", {
2969
2972
  className: "updog-combobox__trigger-actions",
2970
- children: oe || ae
2973
+ children: se || oe
2971
2974
  })]
2972
2975
  });
2973
2976
  }), Wa = l((e = {}, t) => {
@@ -3109,21 +3112,21 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
3109
3112
  if (!_) return [];
3110
3113
  let e = Array.isArray(_) ? _ : [_];
3111
3114
  return b.filter(Xa).filter((t) => e.includes(t.id));
3112
- }, [_, b]), L = E("updog-select__trigger", `updog-select__trigger--${O}`, i && "updog-select__trigger--disabled", r && "updog-select__trigger--invalid", A && "updog-select__trigger--focused", g && I.length > 0 && "updog-select__trigger--with-tags", n), z = u ? n : L, B = f((e) => {
3115
+ }, [_, b]), L = E("updog-select__trigger", `updog-select__trigger--${O}`, i && "updog-select__trigger--disabled", r && "updog-select__trigger--invalid", A && "updog-select__trigger--focused", g && I.length > 0 && "updog-select__trigger--with-tags", n), ee = u ? n : L, te = f((e) => {
3113
3116
  e.stopPropagation(), e.preventDefault(), l?.(), j.current?.focus();
3114
- }, [l]), V = f((e) => {
3117
+ }, [l]), z = f((e) => {
3115
3118
  e.stopPropagation(), e.preventDefault();
3116
- }, []), ee = f((e) => {
3119
+ }, []), B = f((e) => {
3117
3120
  e.stopPropagation();
3118
- }, []), te = Object.fromEntries(Object.entries(T).filter(([e]) => e.startsWith("data-"))), H = /* @__PURE__ */ C("span", {
3121
+ }, []), ne = Object.fromEntries(Object.entries(T).filter(([e]) => e.startsWith("data-"))), V = /* @__PURE__ */ C("span", {
3119
3122
  className: "updog-select__trigger-placeholder updog-text--sm",
3120
3123
  children: o
3121
3124
  });
3122
3125
  return /* @__PURE__ */ C("div", {
3123
3126
  ...e,
3124
- ...te,
3127
+ ...ne,
3125
3128
  ref: M,
3126
- className: z,
3129
+ className: ee,
3127
3130
  tabIndex: u || i ? -1 : 0,
3128
3131
  role: "button",
3129
3132
  "aria-haspopup": "listbox",
@@ -3144,10 +3147,10 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
3144
3147
  size: F[O],
3145
3148
  onRemove: () => x(e.id),
3146
3149
  disabled: i
3147
- }, e.id)) : H : s ? /* @__PURE__ */ C(wa, {
3150
+ }, e.id)) : V : s ? /* @__PURE__ */ C(wa, {
3148
3151
  className: E("updog-select__trigger-value", N[O]),
3149
3152
  content: s
3150
- }) : H
3153
+ }) : V
3151
3154
  }), /* @__PURE__ */ w("div", {
3152
3155
  className: "updog-select__trigger-actions",
3153
3156
  children: [
@@ -3155,9 +3158,9 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
3155
3158
  variant: "filled",
3156
3159
  size: Ui[O],
3157
3160
  color: "neutral",
3158
- onClick: B,
3159
- onKeyDown: ee,
3160
- onMouseDown: V,
3161
+ onClick: te,
3162
+ onKeyDown: B,
3163
+ onMouseDown: z,
3161
3164
  onPointerDown: (e) => e.stopPropagation(),
3162
3165
  content: /* @__PURE__ */ C(He, {}),
3163
3166
  "aria-label": k("ui.select.clearSelection"),
@@ -3185,19 +3188,19 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
3185
3188
  controlledValue: t,
3186
3189
  controlledOnChange: n,
3187
3190
  defaultValue: !1
3188
- }), L = h(), R = S || L, z = `${R}-trigger`, B = `${R}-content`, V = y([]);
3191
+ }), L = h(), R = S || L, ee = `${R}-trigger`, te = `${R}-content`, z = y([]);
3189
3192
  m(() => {
3190
- V.current = r.filter(Xa).map((e) => e.text ?? null);
3193
+ z.current = r.filter(Xa).map((e) => e.text ?? null);
3191
3194
  }, [r]);
3192
- let ee = v(() => {
3195
+ let B = v(() => {
3193
3196
  if (!s) return [];
3194
3197
  let e = Array.isArray(s) ? s : [s];
3195
3198
  return r.filter(Xa).filter((t) => e.includes(t.id));
3196
- }, [s, r]), te = v(() => {
3197
- if (ee.length === 0) return "";
3198
- let e = ee.map((e) => e.text).join(", ");
3199
+ }, [s, r]), ne = v(() => {
3200
+ if (B.length === 0) return "";
3201
+ let e = B.map((e) => e.text).join(", ");
3199
3202
  return u ? u(e) : e;
3200
- }, [ee, u]), H = f((e) => {
3203
+ }, [B, u]), V = f((e) => {
3201
3204
  let t = r.filter(Xa).find((t) => t.id === e);
3202
3205
  if (o) {
3203
3206
  let n = Array.isArray(s) ? s : [];
@@ -3209,23 +3212,23 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
3209
3212
  c,
3210
3213
  I,
3211
3214
  r
3212
- ]), ne = o ? Array.isArray(s) && s.length > 0 : s !== void 0 && s !== "", re = !a && !i && !!l && ne;
3215
+ ]), re = o ? Array.isArray(s) && s.length > 0 : s !== void 0 && s !== "", ie = !a && !i && !!l && re;
3213
3216
  return /* @__PURE__ */ C(Ka, {
3214
3217
  value: {
3215
3218
  ...e,
3216
- displayValue: te,
3217
- hasValue: ne,
3218
- showClearButton: re,
3219
- onSelect: H,
3220
- contentId: B,
3219
+ displayValue: ne,
3220
+ hasValue: re,
3221
+ showClearButton: ie,
3222
+ onSelect: V,
3223
+ contentId: te,
3221
3224
  maxHeight: _
3222
3225
  },
3223
3226
  children: /* @__PURE__ */ C(oa, {
3224
3227
  portal: E,
3225
3228
  trigger: /* @__PURE__ */ C($a, {}),
3226
3229
  content: /* @__PURE__ */ C(Qa, {}),
3227
- triggerId: z,
3228
- contentId: B,
3230
+ triggerId: ee,
3231
+ contentId: te,
3229
3232
  open: F,
3230
3233
  onOpenChange: I,
3231
3234
  disabled: a,
@@ -3260,7 +3263,7 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
3260
3263
  maxWidth: p,
3261
3264
  minHeight: g,
3262
3265
  maxHeight: _,
3263
- typeaheadListRef: V,
3266
+ typeaheadListRef: z,
3264
3267
  preventDefaultOnTrigger: w,
3265
3268
  stopPropagationOnTrigger: T
3266
3269
  })
@@ -10318,8 +10321,8 @@ function Hl({ columns: e, primaryKey: t, loadData: n, scaleClient: r, onComplete
10318
10321
  N.setSchemaColumns(e);
10319
10322
  let { addDynamicColumns: P, removeDynamicColumn: F, updateColumn: I } = Il(N), L = f((e) => {
10320
10323
  N.setDynamicColumns(e);
10321
- }, [N]), R = x(N.subscribe, N.getEffectiveColumns), { navigateToCell: z, navigateByIndex: B, navigateToCellRef: V, resetScrollRef: ee, scrollToGridTop: te } = Ll(N), { validator: H, validatorRef: ne, findReplace: re } = Vl(N, R, r?.findAndReplace, B), { search: ie, setSearch: ae, matchCase: oe, setMatchCase: se, matchEntireCell: ce, setMatchEntireCell: le, searchMode: ue, setSearchMode: de, filterColumns: fe, setFilterColumns: pe, filtersResetKey: me, resetFilters: he } = zl(N, re, z, te);
10322
- Fl(N, ne, n, M);
10324
+ }, [N]), R = x(N.subscribe, N.getEffectiveColumns), { navigateToCell: ee, navigateByIndex: te, navigateToCellRef: z, resetScrollRef: B, scrollToGridTop: ne } = Ll(N), { validator: V, validatorRef: re, findReplace: ie } = Vl(N, R, r?.findAndReplace, te), { search: ae, setSearch: oe, matchCase: se, setMatchCase: H, matchEntireCell: ce, setMatchEntireCell: le, searchMode: ue, setSearchMode: de, filterColumns: fe, setFilterColumns: pe, filtersResetKey: me, resetFilters: he } = zl(N, ie, ee, ne);
10325
+ Fl(N, re, n, M);
10323
10326
  let { onVisibleRangeChange: ge } = Bl(N, M), { portalRef: _e } = Rl(), [ve, ye] = b(null), [be, xe] = b(null), Se = f((e) => {
10324
10327
  xe(e), s(!0);
10325
10328
  }, [s]);
@@ -10341,8 +10344,8 @@ function Hl({ columns: e, primaryKey: t, loadData: n, scaleClient: r, onComplete
10341
10344
  rowHeight: _ ?? 34,
10342
10345
  headerHeight: v ?? 36,
10343
10346
  store: N,
10344
- validator: H,
10345
- findReplace: re,
10347
+ validator: V,
10348
+ findReplace: ie,
10346
10349
  onComplete: i,
10347
10350
  showUploader: o,
10348
10351
  setShowUploader: s,
@@ -10351,20 +10354,20 @@ function Hl({ columns: e, primaryKey: t, loadData: n, scaleClient: r, onComplete
10351
10354
  openUploaderWithFile: Se,
10352
10355
  variant: a ?? "editor",
10353
10356
  isViewer: a === "viewer",
10354
- search: ie,
10355
- setSearch: ae,
10356
- matchCase: oe,
10357
- setMatchCase: se,
10357
+ search: ae,
10358
+ setSearch: oe,
10359
+ matchCase: se,
10360
+ setMatchCase: H,
10358
10361
  matchEntireCell: ce,
10359
10362
  setMatchEntireCell: le,
10360
10363
  searchMode: ue,
10361
10364
  setSearchMode: de,
10362
10365
  filterColumns: fe,
10363
10366
  setFilterColumns: pe,
10364
- navigateToCell: z,
10365
- navigateToCellRef: V,
10366
- resetScrollRef: ee,
10367
- scrollToGridTop: te,
10367
+ navigateToCell: ee,
10368
+ navigateToCellRef: z,
10369
+ resetScrollRef: B,
10370
+ scrollToGridTop: ne,
10368
10371
  portalRef: _e,
10369
10372
  readonly: a === "viewer" ? !0 : y ?? !1,
10370
10373
  filtersResetKey: me,
@@ -10450,7 +10453,7 @@ var ql = ({ children: e }) => /* @__PURE__ */ C("div", {
10450
10453
  children: e.map((e) => /* @__PURE__ */ w("div", {
10451
10454
  className: T("updog__editor-toast", `updog__editor-toast--${e.variant || "info"}`),
10452
10455
  children: [
10453
- e.variant === "error" ? /* @__PURE__ */ C(te, {
10456
+ e.variant === "error" ? /* @__PURE__ */ C(ne, {
10454
10457
  size: "1.25rem",
10455
10458
  className: "updog__editor-toast-icon"
10456
10459
  }) : /* @__PURE__ */ C(pe, {
@@ -10712,61 +10715,61 @@ var cu = ({ open: e, onClose: t, onConfirm: n, loading: r = !1 }) => {
10712
10715
  e,
10713
10716
  n,
10714
10717
  N
10715
- ]), L = s("dataEditor.footer.export"), z = s("dataEditor.footer.exportAll"), B = s("dataEditor.footer.exportFiltered"), V = s("dataEditor.footer.csvFormat"), ee = s("dataEditor.footer.excelFormat"), te = s("dataEditor.footer.jsonFormat"), H = s("dataEditor.footer.tsvFormat"), ne = s("dataEditor.footer.xmlFormat"), re = v(() => [
10718
+ ]), L = s("dataEditor.footer.export"), ee = s("dataEditor.footer.exportAll"), te = s("dataEditor.footer.exportFiltered"), z = s("dataEditor.footer.csvFormat"), B = s("dataEditor.footer.excelFormat"), ne = s("dataEditor.footer.jsonFormat"), V = s("dataEditor.footer.tsvFormat"), re = s("dataEditor.footer.xmlFormat"), ie = v(() => [
10716
10719
  {
10717
10720
  menuId: "csv",
10718
10721
  format: "csv",
10719
- text: V
10722
+ text: z
10720
10723
  },
10721
10724
  {
10722
10725
  menuId: "tsv",
10723
10726
  format: "tsv",
10724
- text: H
10727
+ text: V
10725
10728
  },
10726
10729
  {
10727
10730
  menuId: "excel",
10728
10731
  format: "xlsx",
10729
- text: ee
10732
+ text: B
10730
10733
  },
10731
10734
  {
10732
10735
  menuId: "json",
10733
10736
  format: "json",
10734
- text: te
10737
+ text: ne
10735
10738
  },
10736
10739
  {
10737
10740
  menuId: "xml",
10738
10741
  format: "xml",
10739
- text: ne
10742
+ text: re
10740
10743
  }
10741
10744
  ], [
10745
+ z,
10742
10746
  V,
10743
- H,
10744
- ee,
10745
- te,
10746
- ne
10747
- ]), ie = r !== !1 && (!e.isServer() || e.hasServerExport), ae = v(() => {
10748
- let e = r === !1 ? [] : re.filter((e) => r.includes(e.format));
10747
+ B,
10748
+ ne,
10749
+ re
10750
+ ]), ae = r !== !1 && (!e.isServer() || e.hasServerExport), oe = v(() => {
10751
+ let e = r === !1 ? [] : ie.filter((e) => r.includes(e.format));
10749
10752
  return [{
10750
10753
  id: "export-all",
10751
- text: z,
10754
+ text: ee,
10752
10755
  options: e.map((e) => ({
10753
10756
  id: `all-${e.menuId}`,
10754
10757
  text: e.text
10755
10758
  }))
10756
10759
  }, {
10757
10760
  id: "export-filtered",
10758
- text: B,
10761
+ text: te,
10759
10762
  options: e.map((e) => ({
10760
10763
  id: `filtered-${e.menuId}`,
10761
10764
  text: e.text
10762
10765
  }))
10763
10766
  }];
10764
10767
  }, [
10765
- z,
10766
- B,
10767
- re,
10768
+ ee,
10769
+ te,
10770
+ ie,
10768
10771
  r
10769
- ]), oe = f((n) => {
10772
+ ]), se = f((n) => {
10770
10773
  let [r, i] = n.split("-"), a = {
10771
10774
  csv: "csv",
10772
10775
  tsv: "tsv",
@@ -10785,7 +10788,7 @@ var cu = ({ open: e, onClose: t, onConfirm: n, loading: r = !1 }) => {
10785
10788
  e,
10786
10789
  t,
10787
10790
  c
10788
- ]), se = s("dataEditor.footer.submit"), ce = !T || D || P || O;
10791
+ ]), H = s("dataEditor.footer.submit"), ce = !T || D || P || O;
10789
10792
  return /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ w("footer", {
10790
10793
  className: "updog__data-editor-footer",
10791
10794
  children: [/* @__PURE__ */ C(lu, {}), /* @__PURE__ */ w("div", {
@@ -10812,9 +10815,9 @@ var cu = ({ open: e, onClose: t, onConfirm: n, loading: r = !1 }) => {
10812
10815
  children: /* @__PURE__ */ C(we, { className: "rtl-mirror" })
10813
10816
  })
10814
10817
  })] }),
10815
- ie && /* @__PURE__ */ C(Fa, {
10816
- options: ae,
10817
- onSelect: oe,
10818
+ ae && /* @__PURE__ */ C(Fa, {
10819
+ options: oe,
10820
+ onSelect: se,
10818
10821
  placement: "top-end",
10819
10822
  children: /* @__PURE__ */ C(J, {
10820
10823
  variant: "outlined",
@@ -10833,7 +10836,7 @@ var cu = ({ open: e, onClose: t, onConfirm: n, loading: r = !1 }) => {
10833
10836
  children: /* @__PURE__ */ C(J, {
10834
10837
  disabled: ce,
10835
10838
  onClick: M,
10836
- children: se
10839
+ children: H
10837
10840
  })
10838
10841
  })
10839
10842
  ]
@@ -12321,11 +12324,11 @@ var hd = ({ editing: e, editingSnapshot: t, style: n, onAfterEdit: r, column: i
12321
12324
  size: Z,
12322
12325
  className: "rtl-mirror"
12323
12326
  }),
12324
- copy: /* @__PURE__ */ C(ie, {
12327
+ copy: /* @__PURE__ */ C(ae, {
12325
12328
  size: Z,
12326
12329
  className: "rtl-mirror"
12327
12330
  }),
12328
- paste: /* @__PURE__ */ C(re, {
12331
+ paste: /* @__PURE__ */ C(ie, {
12329
12332
  size: Z,
12330
12333
  className: "rtl-mirror"
12331
12334
  }),
@@ -12333,11 +12336,11 @@ var hd = ({ editing: e, editingSnapshot: t, style: n, onAfterEdit: r, column: i
12333
12336
  size: Z,
12334
12337
  className: "rtl-mirror"
12335
12338
  }),
12336
- "column-copy": /* @__PURE__ */ C(ie, {
12339
+ "column-copy": /* @__PURE__ */ C(ae, {
12337
12340
  size: Z,
12338
12341
  className: "rtl-mirror"
12339
12342
  }),
12340
- "column-paste": /* @__PURE__ */ C(re, {
12343
+ "column-paste": /* @__PURE__ */ C(ie, {
12341
12344
  size: Z,
12342
12345
  className: "rtl-mirror"
12343
12346
  }),
@@ -12361,7 +12364,7 @@ var hd = ({ editing: e, editingSnapshot: t, style: n, onAfterEdit: r, column: i
12361
12364
  size: Z,
12362
12365
  className: "rtl-mirror"
12363
12366
  }),
12364
- "clear-column": /* @__PURE__ */ C(se, {
12367
+ "clear-column": /* @__PURE__ */ C(H, {
12365
12368
  size: Z,
12366
12369
  className: "rtl-mirror"
12367
12370
  }),
@@ -12386,11 +12389,11 @@ var hd = ({ editing: e, editingSnapshot: t, style: n, onAfterEdit: r, column: i
12386
12389
  size: Z,
12387
12390
  className: "rtl-mirror"
12388
12391
  }),
12389
- "duplicate-row": /* @__PURE__ */ C(ae, {
12392
+ "duplicate-row": /* @__PURE__ */ C(oe, {
12390
12393
  size: Z,
12391
12394
  className: "rtl-mirror"
12392
12395
  }),
12393
- "clear-row": /* @__PURE__ */ C(se, {
12396
+ "clear-row": /* @__PURE__ */ C(H, {
12394
12397
  size: Z,
12395
12398
  className: "rtl-mirror"
12396
12399
  }),
@@ -17323,7 +17326,7 @@ var Rg = ({ controller: e, store: t, columnSnapshot: n, readonly: r, enableDelet
17323
17326
  e,
17324
17327
  C,
17325
17328
  I
17326
- ]), z = f((t) => {
17329
+ ]), ee = f((t) => {
17327
17330
  let n = A;
17328
17331
  D(), n && e.actions.applyFormula(t, {}, n);
17329
17332
  }, [
@@ -17346,7 +17349,7 @@ var Rg = ({ controller: e, store: t, columnSnapshot: n, readonly: r, enableDelet
17346
17349
  closeTransformModal: I,
17347
17350
  showFormulaModal: T,
17348
17351
  closeFormulaModal: D,
17349
- handleApplyFormula: z,
17352
+ handleApplyFormula: ee,
17350
17353
  formulaColumnIds: O,
17351
17354
  formulaScope: A
17352
17355
  };
@@ -19379,12 +19382,12 @@ var C_ = {
19379
19382
  "--marker-width": "76px",
19380
19383
  "--track-size": "12px"
19381
19384
  }, w_ = () => {
19382
- let { columns: e, store: t, readonly: n, enableDeleteRow: r, enableAddRow: i, validator: a, navigateToCellRef: o, resetScrollRef: s, findReplace: c, dynamicColumns: l, updateColumn: u, enableCreateColumn: d, onVisibleRangeChange: p } = X(), { filteredCount: h, sortState: g, showOnlyDeletedRows: E, phase: D, isLoading: O, processing: k, filterCriteriaVersion: A } = Vo(t), j = O && h === 0 ? 30 : h, { t: M, rtl: N } = K(), P = x(t.subscribe, t.getSnapshot, t.getSnapshot).version, F = y(null), I = y(null), L = y(null), R = h_(t, e, n, a, E, N), z = __(R), B = g_(R), V = Fg(R), { editing: ee } = R, te = y(null), H = y(null);
19383
- if (te.current === null) {
19384
- let { columns: e, pinnedColumnIds: t, stickyOffsets: n } = V;
19385
- te.current = new od(e, new Set(t), n, N);
19385
+ let { columns: e, store: t, readonly: n, enableDeleteRow: r, enableAddRow: i, validator: a, navigateToCellRef: o, resetScrollRef: s, findReplace: c, dynamicColumns: l, updateColumn: u, enableCreateColumn: d, onVisibleRangeChange: p } = X(), { filteredCount: h, sortState: g, showOnlyDeletedRows: E, phase: D, isLoading: O, processing: k, filterCriteriaVersion: A } = Vo(t), j = O && h === 0 ? 30 : h, { t: M, rtl: N } = K(), P = x(t.subscribe, t.getSnapshot, t.getSnapshot).version, F = y(null), I = y(null), L = y(null), R = h_(t, e, n, a, E, N), ee = __(R), te = g_(R), z = Fg(R), { editing: B } = R, ne = y(null), V = y(null);
19386
+ if (ne.current === null) {
19387
+ let { columns: e, pinnedColumnIds: t, stickyOffsets: n } = z;
19388
+ ne.current = new od(e, new Set(t), n, N);
19386
19389
  }
19387
- let ne = te.current;
19390
+ let re = ne.current;
19388
19391
  m(() => (o.current = (e, t) => {
19389
19392
  let n = R.columnManager.getColumnIndex(e);
19390
19393
  n < 0 || R.selection.navigateToCell(n, t);
@@ -19401,38 +19404,38 @@ var C_ = {
19401
19404
  }, [R, g]), m(() => {
19402
19405
  R.clipboard.setTranslate(M);
19403
19406
  }, [R, M]), m(() => {
19404
- R.setBounds(h, V.columns.length);
19407
+ R.setBounds(h, z.columns.length);
19405
19408
  }, [
19406
19409
  R,
19407
19410
  h,
19408
- V.columns.length
19411
+ z.columns.length
19409
19412
  ]), m(() => {
19410
- c.updateColumns(V.columns);
19411
- }, [c, V.columns]), m(() => {
19412
- let e = V.columns;
19413
+ c.updateColumns(z.columns);
19414
+ }, [c, z.columns]), m(() => {
19415
+ let e = z.columns;
19413
19416
  R.actions.updateColumns(e), R.editing.updateColumns(e), R.clipboard.updateColumns(e);
19414
- }, [R, V.columns]);
19415
- let re = v(() => new Set(l.map((e) => e.id)), [l]), [ie, ae] = b(null), oe = f((e) => {
19416
- ae(e);
19417
- }, []), se = f(() => {
19418
- ae(null);
19417
+ }, [R, z.columns]);
19418
+ let ie = v(() => new Set(l.map((e) => e.id)), [l]), [ae, oe] = b(null), se = f((e) => {
19419
+ oe(e);
19420
+ }, []), H = f(() => {
19421
+ oe(null);
19419
19422
  }, []), ce = f((e) => {
19420
- ie && e.id && u({
19421
- ...ie,
19423
+ ae && e.id && u({
19424
+ ...ae,
19422
19425
  ...e
19423
- }), ae(null);
19424
- }, [ie, u]), le = v(() => V.columns.map((e) => e.title), [V.columns]), { anchor: ue, items: de, handleCanvasContextMenu: fe, handleSelect: pe, handleOpenChange: me, transformModal: he, transformModalColIds: ge, transformModalScope: _e, handleApplyMerge: ve, handleApplySplit: ye, closeTransformModal: be, showFormulaModal: xe, closeFormulaModal: Se, handleApplyFormula: Ce, formulaColumnIds: we, formulaScope: Te } = Rg({
19426
+ }), oe(null);
19427
+ }, [ae, u]), le = v(() => z.columns.map((e) => e.title), [z.columns]), { anchor: ue, items: de, handleCanvasContextMenu: fe, handleSelect: pe, handleOpenChange: me, transformModal: he, transformModalColIds: ge, transformModalScope: _e, handleApplyMerge: ve, handleApplySplit: ye, closeTransformModal: be, showFormulaModal: xe, closeFormulaModal: Se, handleApplyFormula: Ce, formulaColumnIds: we, formulaScope: Te } = Rg({
19425
19428
  controller: R,
19426
19429
  store: t,
19427
- columnSnapshot: V,
19430
+ columnSnapshot: z,
19428
19431
  readonly: n,
19429
19432
  enableDeleteRow: r,
19430
19433
  enableAddRow: i,
19431
19434
  sortState: g,
19432
- dynamicColumnIds: re,
19435
+ dynamicColumnIds: ie,
19433
19436
  enableCreateColumn: d,
19434
19437
  showOnlyDeletedRows: E,
19435
- onEditColumn: oe
19438
+ onEditColumn: se
19436
19439
  });
19437
19440
  m(() => {
19438
19441
  if (!ue) return;
@@ -19441,10 +19444,10 @@ var C_ = {
19441
19444
  e?.removeEventListener("scroll", n), t?.removeEventListener("scroll", n);
19442
19445
  };
19443
19446
  }, [ue, me]);
19444
- let Ee = !B.isEditing && ue === null, De = y_(F, z.focusCell, Ee, ne, h, H, I, L), Oe = f((e) => {
19447
+ let Ee = !te.isEditing && ue === null, De = y_(F, ee.focusCell, Ee, re, h, V, I, L), Oe = f((e) => {
19445
19448
  R.keyboard.handleKeyDown(e.nativeEvent);
19446
19449
  }, [R]);
19447
- S_(F, R, ne, h, V.columns.length, n, fe, H, I, L);
19450
+ S_(F, R, re, h, z.columns.length, n, fe, V, I, L);
19448
19451
  let ke = f(() => {
19449
19452
  F.current?.focus();
19450
19453
  }, []);
@@ -19467,19 +19470,19 @@ var C_ = {
19467
19470
  controller: R,
19468
19471
  store: t,
19469
19472
  filteredCount: j,
19470
- columnSnapshot: V,
19473
+ columnSnapshot: z,
19471
19474
  containerRef: F,
19472
19475
  sortState: g,
19473
- engine: ne,
19474
- fillHandleRectRef: H,
19476
+ engine: re,
19477
+ fillHandleRectRef: V,
19475
19478
  findReplace: c,
19476
19479
  vTrackRef: I,
19477
19480
  hTrackRef: L,
19478
19481
  onVisibleRangeChange: p
19479
19482
  }), /* @__PURE__ */ C(gu, {
19480
- engine: ne,
19483
+ engine: re,
19481
19484
  controller: R,
19482
- columns: V.columns,
19485
+ columns: z.columns,
19483
19486
  filteredCount: h,
19484
19487
  containerRef: F
19485
19488
  })]
@@ -19489,19 +19492,19 @@ var C_ = {
19489
19492
  target: De,
19490
19493
  containerRef: F,
19491
19494
  store: t,
19492
- columns: V.columns,
19495
+ columns: z.columns,
19493
19496
  storeVersion: P,
19494
- engine: ne,
19495
- disabled: he !== null || ie !== null || xe
19497
+ engine: re,
19498
+ disabled: he !== null || ae !== null || xe
19496
19499
  }),
19497
- B.isEditing && /* @__PURE__ */ C(Sd, {
19498
- editing: ee,
19499
- editingSnapshot: B,
19500
- layout: ne.layout,
19501
- viewport: ne.viewport,
19500
+ te.isEditing && /* @__PURE__ */ C(Sd, {
19501
+ editing: B,
19502
+ editingSnapshot: te,
19503
+ layout: re.layout,
19504
+ viewport: re.viewport,
19502
19505
  onAfterEdit: ke,
19503
- columns: V.columns
19504
- }, B.version),
19506
+ columns: z.columns
19507
+ }, te.version),
19505
19508
  /* @__PURE__ */ C("div", {
19506
19509
  ref: I,
19507
19510
  className: "updog-grid__vtrack",
@@ -19516,7 +19519,7 @@ var C_ = {
19516
19519
  className: "updog-grid__htrack",
19517
19520
  tabIndex: -1,
19518
19521
  children: /* @__PURE__ */ C("div", { style: {
19519
- width: ne.layout.getTotalWidth() - 76,
19522
+ width: re.layout.getTotalWidth() - 76,
19520
19523
  height: 1
19521
19524
  } })
19522
19525
  }),
@@ -19547,10 +19550,10 @@ var C_ = {
19547
19550
  scope: Te,
19548
19551
  onApply: Ce
19549
19552
  }),
19550
- ie && /* @__PURE__ */ C(fu, {
19553
+ ae && /* @__PURE__ */ C(fu, {
19551
19554
  open: !0,
19552
- onClose: se,
19553
- initialValues: ie,
19555
+ onClose: H,
19556
+ initialValues: ae,
19554
19557
  existingNames: le,
19555
19558
  onSubmit: ce
19556
19559
  })
@@ -20333,7 +20336,7 @@ var C_ = {
20333
20336
  y
20334
20337
  ]), L = f(() => {
20335
20338
  n.replaceAll(y);
20336
- }, [n, y]), R = h > 0, z = _ ? `${h}...` : `${g + 1}/${h}`;
20339
+ }, [n, y]), R = h > 0, ee = _ ? `${h}...` : `${g + 1}/${h}`;
20337
20340
  return /* @__PURE__ */ w("div", {
20338
20341
  className: "updog__search-section",
20339
20342
  children: [
@@ -20365,7 +20368,7 @@ var C_ = {
20365
20368
  /* @__PURE__ */ C(q, {
20366
20369
  size: "sm",
20367
20370
  className: "updog__search-section__counter-text",
20368
- children: z
20371
+ children: ee
20369
20372
  }),
20370
20373
  /* @__PURE__ */ C(da, {
20371
20374
  content: p("dataEditor.filters.previousOccurrence"),
@@ -21677,27 +21680,27 @@ var ov = ({ text: e, onSelect: t }) => /* @__PURE__ */ C(J, {
21677
21680
  }
21678
21681
  return i;
21679
21682
  }, Hv = () => {
21680
- let { columns: e, enableCreateColumn: t, synonyms: n } = X(), { t: r } = K(), { headers: i, columnMapping: a, updateColumnMapping: o, pendingColumns: s, setPendingColumns: c } = Vb(), [l, u] = b(null), d = y(null), p = v(() => Vv(i, e, n), [
21683
+ let { columns: e, enableCreateColumn: t, synonyms: n } = X(), { t: r } = K(), { headers: i, columnMapping: a, updateColumnMapping: o, pendingColumns: s, setPendingColumns: c } = Vb(), [l, u] = b(null), [d, p] = b(!0), m = y(null), h = v(() => Vv(i, e, n), [
21681
21684
  i,
21682
21685
  e,
21683
21686
  n
21684
- ]), m = f((e, t) => {
21687
+ ]), g = f((e, t) => {
21685
21688
  if (t === "action:create") {
21686
- d.current = e, u({ title: e });
21689
+ m.current = e, u({ title: e });
21687
21690
  return;
21688
21691
  }
21689
21692
  o(e, t);
21690
- }, [o]), h = f((e) => {
21691
- if (d.current === null) return;
21693
+ }, [o]), _ = f((e) => {
21694
+ if (m.current === null) return;
21692
21695
  let t = Math.random().toString(36).slice(2, 7), n = `${Go}${e.title}-${t}`;
21693
21696
  c((t) => [...t, {
21694
21697
  ...e,
21695
21698
  id: n,
21696
21699
  size: 150
21697
- }]), o(d.current, n), d.current = null, u(null);
21698
- }, [o, c]), g = f(() => {
21699
- d.current = null, u(null);
21700
- }, []), _ = v(() => [...e.map((e) => e.title), ...s.map((e) => e.title)], [e, s]), x = v(() => {
21700
+ }]), o(m.current, n), m.current = null, u(null);
21701
+ }, [o, c]), x = f(() => {
21702
+ m.current = null, u(null);
21703
+ }, []), S = v(() => [...e.map((e) => e.title), ...s.map((e) => e.title)], [e, s]), w = v(() => {
21701
21704
  let n = {
21702
21705
  text: r("dataEditor.uploader.matchColumns.bestMatch"),
21703
21706
  color: "green"
@@ -21706,7 +21709,7 @@ var ov = ({ text: e, onSelect: t }) => /* @__PURE__ */ C(J, {
21706
21709
  color: "blue"
21707
21710
  }, o = r("dataEditor.uploader.matchColumns.createColumn");
21708
21711
  return Object.fromEntries(i.map((r) => {
21709
- let i = p[r], c = e.map((e) => ({
21712
+ let i = h[r], c = e.map((e) => ({
21710
21713
  id: e.id,
21711
21714
  text: e.title,
21712
21715
  ...e.id === i && { tag: n }
@@ -21731,28 +21734,30 @@ var ov = ({ text: e, onSelect: t }) => /* @__PURE__ */ C(J, {
21731
21734
  s,
21732
21735
  r,
21733
21736
  t,
21734
- p
21735
- ]), S = v(() => i.filter((e) => a[e]).length, [i, a]);
21737
+ h
21738
+ ]), T = v(() => i.filter((e) => a[e]).length, [i, a]);
21736
21739
  return {
21737
21740
  headers: i,
21738
- matchedCount: S,
21739
- allMatched: S === i.length,
21741
+ showMatched: d,
21742
+ setShowMatched: p,
21743
+ matchedCount: T,
21744
+ allMatched: T === i.length,
21740
21745
  placeholder: r("dataEditor.uploader.matchColumns.selectColumnPlaceholder"),
21741
- existingNames: _,
21746
+ existingNames: S,
21742
21747
  createModalValues: l,
21743
21748
  getRowData: f((e) => ({
21744
21749
  mappedValue: a[e],
21745
- options: x[e],
21746
- autoMatchId: p[e]
21750
+ options: w[e],
21751
+ autoMatchId: h[e]
21747
21752
  }), [
21748
21753
  a,
21749
- x,
21750
- p
21754
+ w,
21755
+ h
21751
21756
  ]),
21752
- onSelectChange: m,
21757
+ onSelectChange: g,
21753
21758
  onClear: o,
21754
- submitCreate: h,
21755
- closeCreate: g
21759
+ submitCreate: _,
21760
+ closeCreate: x
21756
21761
  };
21757
21762
  }, Uv = s(null);
21758
21763
  function Wv({ children: e }) {
@@ -21767,7 +21772,7 @@ var Gv = () => {
21767
21772
  if (!e) throw Error("useColumnMatching must be used within ColumnMatchingProvider");
21768
21773
  return e;
21769
21774
  }, Kv = () => {
21770
- let { t: e } = K(), { matchedCount: t, allMatched: n, headers: r } = Gv(), i = n ? "green" : "yellow";
21775
+ let { t: e } = K(), { matchedCount: t, allMatched: n, headers: r, showMatched: i, setShowMatched: a } = Gv(), o = n ? "green" : "yellow", s = f((e) => a(e), [a]);
21771
21776
  return /* @__PURE__ */ C("header", {
21772
21777
  className: "updog__column-matching__header",
21773
21778
  children: /* @__PURE__ */ w("div", {
@@ -21781,7 +21786,7 @@ var Gv = () => {
21781
21786
  weight: "medium",
21782
21787
  children: e("dataEditor.uploader.matchColumns.importedColumns")
21783
21788
  }), /* @__PURE__ */ C(Aa, {
21784
- color: i,
21789
+ color: o,
21785
21790
  text: e("dataEditor.uploader.matchColumns.matchedCount", {
21786
21791
  matched: t,
21787
21792
  total: r.length
@@ -21789,12 +21794,21 @@ var Gv = () => {
21789
21794
  })]
21790
21795
  }),
21791
21796
  /* @__PURE__ */ C("div", { className: "updog__column-matching__header-spacer" }),
21792
- /* @__PURE__ */ C(q, {
21793
- as: "div",
21794
- size: "sm",
21795
- weight: "medium",
21796
- className: "updog__column-matching__header-column",
21797
- children: e("dataEditor.uploader.matchColumns.targetColumns")
21797
+ /* @__PURE__ */ w("div", {
21798
+ className: "updog__column-matching__header-column updog__column-matching__header-column--with-items",
21799
+ children: [/* @__PURE__ */ C(q, {
21800
+ as: "div",
21801
+ size: "sm",
21802
+ weight: "medium",
21803
+ children: e("dataEditor.uploader.matchColumns.targetColumns")
21804
+ }), /* @__PURE__ */ C(Ni, {
21805
+ checked: i,
21806
+ onChange: s,
21807
+ checkboxPosition: "end",
21808
+ label: e("dataEditor.uploader.matchColumns.showMatched"),
21809
+ size: "sm",
21810
+ className: "updog__column-matching__show-matched"
21811
+ })]
21798
21812
  }),
21799
21813
  /* @__PURE__ */ C("div", { className: "updog__column-matching__action" })
21800
21814
  ]
@@ -21860,24 +21874,34 @@ var Gv = () => {
21860
21874
  ]
21861
21875
  });
21862
21876
  }), Jv = () => {
21863
- let { headers: e, placeholder: t, getRowData: n, onSelectChange: r, onClear: i } = Gv();
21864
- return /* @__PURE__ */ C("div", {
21877
+ let { headers: e, showMatched: t, placeholder: n, getRowData: r, onSelectChange: i, onClear: a } = Gv(), { t: o } = K(), s = e.map((e) => ({
21878
+ csvHeader: e,
21879
+ ...r(e)
21880
+ })).filter((e) => t || !e.mappedValue);
21881
+ return s.length === 0 ? /* @__PURE__ */ C("div", {
21865
21882
  className: "updog__column-matching__content",
21866
21883
  children: /* @__PURE__ */ C("div", {
21867
- className: "updog__column-matching__content-inner",
21868
- children: e.map((e) => {
21869
- let { mappedValue: a, options: o, autoMatchId: s } = n(e);
21870
- return /* @__PURE__ */ C(qv, {
21871
- csvHeader: e,
21872
- mappedValue: a,
21873
- options: o,
21874
- autoMatchId: s,
21875
- placeholder: t,
21876
- onSelectChange: r,
21877
- onClear: i
21878
- }, e);
21884
+ className: "updog__column-matching__empty",
21885
+ children: /* @__PURE__ */ C(q, {
21886
+ size: "sm",
21887
+ color: "secondary",
21888
+ children: o("dataEditor.uploader.matchColumns.allMatched")
21879
21889
  })
21880
21890
  })
21891
+ }) : /* @__PURE__ */ C("div", {
21892
+ className: "updog__column-matching__content",
21893
+ children: /* @__PURE__ */ C("div", {
21894
+ className: "updog__column-matching__content-inner",
21895
+ children: s.map(({ csvHeader: e, mappedValue: t, options: r, autoMatchId: o }) => /* @__PURE__ */ C(qv, {
21896
+ csvHeader: e,
21897
+ mappedValue: t,
21898
+ options: r,
21899
+ autoMatchId: o,
21900
+ placeholder: n,
21901
+ onSelectChange: i,
21902
+ onClear: a
21903
+ }, e))
21904
+ })
21881
21905
  });
21882
21906
  }, Yv = () => {
21883
21907
  let { createModalValues: e, existingNames: t, submitCreate: n, closeCreate: r } = Gv();
@@ -22321,7 +22345,7 @@ var by = () => {
22321
22345
  w,
22322
22346
  h,
22323
22347
  c
22324
- ]), z = f(() => T(null), []);
22348
+ ]), ee = f(() => T(null), []);
22325
22349
  return {
22326
22350
  sections: D,
22327
22351
  selectOptionsByValue: O,
@@ -22338,7 +22362,7 @@ var by = () => {
22338
22362
  changeDelimiter: I,
22339
22363
  reapplyDelimiter: L,
22340
22364
  submitCreate: R,
22341
- closeCreate: z
22365
+ closeCreate: ee
22342
22366
  };
22343
22367
  }, Vy = s(null);
22344
22368
  function Hy({ children: e }) {
@@ -22378,7 +22402,8 @@ var Uy = () => {
22378
22402
  onChange: c,
22379
22403
  checkboxPosition: "end",
22380
22404
  label: t("dataEditor.uploader.matchValues.showMatched"),
22381
- size: "sm"
22405
+ size: "sm",
22406
+ className: "updog__value-matching__show-matched"
22382
22407
  })]
22383
22408
  })
22384
22409
  }), /* @__PURE__ */ C(da, {
@@ -22699,7 +22724,7 @@ var ab = () => {
22699
22724
  children: /* @__PURE__ */ C(J, {
22700
22725
  variant: "outlined",
22701
22726
  color: "neutral",
22702
- startIcon: /* @__PURE__ */ C(oe, {}),
22727
+ startIcon: /* @__PURE__ */ C(se, {}),
22703
22728
  children: e("dataEditor.uploader.uploadFile.downloadExample")
22704
22729
  })
22705
22730
  });
@@ -23083,12 +23108,12 @@ function Rb() {
23083
23108
  let { store: e, validator: t, columns: n, primaryKey: r, setShowUploader: i, pendingImportFile: a, setPendingImportFile: o, onColumnMatch: s, onValueMatch: c, synonyms: l, addDynamicColumns: u, scaleClient: d } = X(), { t: p } = K(), [h, g] = b(0), [_, x] = b(0), [S, w] = b(null), [T, E] = b({}), D = v(() => {
23084
23109
  let e = new Set(Object.values(T).filter(Boolean));
23085
23110
  return n.filter((t) => t.unique && e.has(t.id));
23086
- }, [T, n]), [O, k] = b(() => r), [A, j] = b(!1), [M, N] = b(!1), [P, F] = b(null), [I, L] = b([]), [R, z] = b(null), [B, V] = b([]), [ee, te] = b({}), [H, ne] = b([]), [re, ie] = b({}), ae = y(null), [oe, se] = b(-1), ce = f((e, t) => t ? p("dataEditor.uploader.matchColumns.syntheticColumnValue", {
23111
+ }, [T, n]), [O, k] = b(() => r), [A, j] = b(!1), [M, N] = b(!1), [P, F] = b(null), [I, L] = b([]), [R, ee] = b(null), [te, z] = b([]), [B, ne] = b({}), [V, re] = b([]), [ie, ae] = b({}), oe = y(null), [se, H] = b(-1), ce = f((e, t) => t ? p("dataEditor.uploader.matchColumns.syntheticColumnValue", {
23087
23112
  index: e + 1,
23088
23113
  value: t
23089
- }) : p("dataEditor.uploader.matchColumns.syntheticColumn", { index: e + 1 }), [p]), le = v(() => S ? My(S.detection, oe) : 0, [S, oe]), ue = v(() => S ? Ny(S.rawRows, oe, le, ce) : [], [
23114
+ }) : p("dataEditor.uploader.matchColumns.syntheticColumn", { index: e + 1 }), [p]), le = v(() => S ? My(S.detection, se) : 0, [S, se]), ue = v(() => S ? Ny(S.rawRows, se, le, ce) : [], [
23090
23115
  S,
23091
- oe,
23116
+ se,
23092
23117
  le,
23093
23118
  ce
23094
23119
  ]), de = f((e) => {
@@ -23160,9 +23185,9 @@ function Rb() {
23160
23185
  l
23161
23186
  ]);
23162
23187
  let we = f(() => {
23163
- pe.cancel(), w(null), j(!1), E({}), ne([]), ie({}), ae.current = null, se(-1), F(null), L([]), z(null), V([]);
23188
+ pe.cancel(), w(null), j(!1), E({}), re([]), ae({}), oe.current = null, H(-1), F(null), L([]), ee(null), z([]);
23164
23189
  }, [pe]), Te = f((e, t, n) => {
23165
- F(e), L(t), z(t[0]), V(n), j(!1);
23190
+ F(e), L(t), ee(t[0]), z(n), j(!1);
23166
23191
  }, []), Ee = f(() => {
23167
23192
  !P || !R || (j(!0), pe.parse(P, {
23168
23193
  format: "xlsx",
@@ -23170,7 +23195,7 @@ function Rb() {
23170
23195
  }).then((e) => {
23171
23196
  if (e.kind !== "rows") return;
23172
23197
  let t = hy(e.rows);
23173
- se(t.headerRowIndex), Se({
23198
+ H(t.headerRowIndex), Se({
23174
23199
  fileName: P.name,
23175
23200
  rawRows: e.rows,
23176
23201
  detection: t,
@@ -23194,7 +23219,7 @@ function Rb() {
23194
23219
  return;
23195
23220
  }
23196
23221
  let n = hy(e.rows);
23197
- if (se(n.headerRowIndex), Se({
23222
+ if (H(n.headerRowIndex), Se({
23198
23223
  fileName: t.name,
23199
23224
  rawRows: e.rows,
23200
23225
  detection: n,
@@ -23225,7 +23250,7 @@ function Rb() {
23225
23250
  try {
23226
23251
  let e = await pe.parse(t, { format: "json" });
23227
23252
  if (e.kind !== "records") return;
23228
- se(0), Se({
23253
+ H(0), Se({
23229
23254
  fileName: t.name,
23230
23255
  rawRows: Fy(e.headers, e.rows),
23231
23256
  detection: Py()
@@ -23247,7 +23272,7 @@ function Rb() {
23247
23272
  try {
23248
23273
  let e = await pe.parse(t, { format: "xml" });
23249
23274
  if (e.kind !== "records") return;
23250
- se(0), Se({
23275
+ H(0), Se({
23251
23276
  fileName: t.name,
23252
23277
  rawRows: Fy(e.headers, e.rows),
23253
23278
  detection: Py()
@@ -23282,7 +23307,7 @@ function Rb() {
23282
23307
  }
23283
23308
  if (e.kind !== "rows") return;
23284
23309
  let n = hy(e.rows);
23285
- se(n.headerRowIndex), Se({
23310
+ H(n.headerRowIndex), Se({
23286
23311
  fileName: t.name,
23287
23312
  rawRows: e.rows,
23288
23313
  detection: n,
@@ -23304,7 +23329,7 @@ function Rb() {
23304
23329
  e,
23305
23330
  ce
23306
23331
  ]), je = f((e) => {
23307
- j(!0), ae.current = e;
23332
+ j(!0), oe.current = e;
23308
23333
  let t = e.name.split(".").pop()?.toLowerCase();
23309
23334
  t && Lb.has(t) ? Ae(e) : t === "json" ? Oe(e) : t === "xml" ? ke(e) : De(e);
23310
23335
  }, [
@@ -23341,7 +23366,7 @@ function Rb() {
23341
23366
  }
23342
23367
  return t;
23343
23368
  });
23344
- se(0), Se({
23369
+ H(0), Se({
23345
23370
  fileName: e.label,
23346
23371
  rawRows: Fy(n, r),
23347
23372
  detection: Py()
@@ -23424,11 +23449,11 @@ function Rb() {
23424
23449
  let e = {};
23425
23450
  for (let [t, n] of Object.entries(ze)) e[t] = {
23426
23451
  ...n,
23427
- ...ee[t]
23452
+ ...B[t]
23428
23453
  };
23429
23454
  return e;
23430
- }, [ze, ee]), Ge = f((e, t, n) => {
23431
- te((r) => ({
23455
+ }, [ze, B]), Ge = f((e, t, n) => {
23456
+ ne((r) => ({
23432
23457
  ...r,
23433
23458
  [e]: {
23434
23459
  ...r[e],
@@ -23458,7 +23483,7 @@ function Rb() {
23458
23483
  ue,
23459
23484
  le
23460
23485
  ]), Je = f((e, t) => {
23461
- ie((n) => {
23486
+ ae((n) => {
23462
23487
  let r = n[e] ?? [];
23463
23488
  return r.includes(t) ? n : {
23464
23489
  ...n,
@@ -23470,16 +23495,16 @@ function Rb() {
23470
23495
  for (let [r, i] of Object.entries(T)) !i || e.has(i) || n.find((e) => e.id === i)?.editor?.type === "date" && t.push(r);
23471
23496
  return t;
23472
23497
  }, [T, n]), Xe = f(() => {
23473
- let e = new Set(H.map((e) => e.id)), t = gb(T, n, e), i = S ? zy(S.rawRows, ue, le, 1e3) : [], a = tc(i, _b(t)), o = oc(i, Ye(e));
23498
+ let e = new Set(V.map((e) => e.id)), t = gb(T, n, e), i = S ? zy(S.rawRows, ue, le, 1e3) : [], a = tc(i, _b(t)), o = oc(i, Ye(e));
23474
23499
  return {
23475
23500
  columnMapping: T,
23476
23501
  valueMapping: We,
23477
23502
  primaryKey: O ?? r,
23478
23503
  selectedSheet: R ?? void 0,
23479
- headerRowIndex: oe,
23504
+ headerRowIndex: se,
23480
23505
  numberFormat: a,
23481
23506
  dateFormat: o,
23482
- newColumns: H
23507
+ newColumns: V
23483
23508
  };
23484
23509
  }, [
23485
23510
  S,
@@ -23488,19 +23513,19 @@ function Rb() {
23488
23513
  O,
23489
23514
  R,
23490
23515
  r,
23491
- oe,
23516
+ se,
23492
23517
  ue,
23493
23518
  le,
23494
- H,
23519
+ V,
23495
23520
  n,
23496
23521
  Ye
23497
23522
  ]), Ze = f(async () => {
23498
- if (!ae.current || !d?.onFileImport) return;
23523
+ if (!oe.current || !d?.onFileImport) return;
23499
23524
  let t = new AbortController(), n = Xe();
23500
23525
  await d.onFileImport({
23501
- file: ae.current,
23526
+ file: oe.current,
23502
23527
  mappings: n,
23503
- sourceName: ae.current.name,
23528
+ sourceName: oe.current.name,
23504
23529
  signal: t.signal
23505
23530
  }), e.reloadServerData();
23506
23531
  }, [
@@ -23511,7 +23536,7 @@ function Rb() {
23511
23536
  if (!S || !d?.onRowsImport) return;
23512
23537
  let t = S;
23513
23538
  w(null);
23514
- let r = crypto.randomUUID(), i = Xe(), a = new AbortController(), o = d.importChunkSize ?? Pb, s = gb(T, n, new Set(H.map((e) => e.id))), c = {
23539
+ let r = crypto.randomUUID(), i = Xe(), a = new AbortController(), o = d.importChunkSize ?? Pb, s = gb(T, n, new Set(V.map((e) => e.id))), c = {
23515
23540
  numberFormat: i.numberFormat,
23516
23541
  dateFormat: i.dateFormat,
23517
23542
  monthTable: ic(p),
@@ -23536,7 +23561,7 @@ function Rb() {
23536
23561
  chunkIndex: h,
23537
23562
  isLastChunk: p,
23538
23563
  rows: n,
23539
- newColumns: h === 0 && H.length > 0 ? H : void 0,
23564
+ newColumns: h === 0 && V.length > 0 ? V : void 0,
23540
23565
  primaryKey: i.primaryKey,
23541
23566
  signal: a.signal
23542
23567
  });
@@ -23549,7 +23574,7 @@ function Rb() {
23549
23574
  d,
23550
23575
  Xe,
23551
23576
  T,
23552
- H,
23577
+ V,
23553
23578
  n,
23554
23579
  ue,
23555
23580
  le,
@@ -23564,11 +23589,11 @@ function Rb() {
23564
23589
  }
23565
23590
  let i = S;
23566
23591
  setTimeout(() => {
23567
- let a = new Set(H.map((e) => e.id));
23568
- H.length > 0 && u(H);
23569
- for (let [t, n] of Object.entries(re)) e.addColumnOptions(t, n);
23592
+ let a = new Set(V.map((e) => e.id));
23593
+ V.length > 0 && u(V);
23594
+ for (let [t, n] of Object.entries(ie)) e.addColumnOptions(t, n);
23570
23595
  let o = e.registerSource({ name: i.fileName });
23571
- e.setSourceLoading(o, !0), e.recordLearnedSynonyms(Sb(T, We, [...n, ...H], Sv(xv, l)));
23596
+ e.setSourceLoading(o, !0), e.recordLearnedSynonyms(Sb(T, We, [...n, ...V], Sv(xv, l)));
23572
23597
  let s = ue, c = i.delimiter ?? ",", d = i.rawRows, f = [];
23573
23598
  for (let e = le; e < d.length; e++) {
23574
23599
  let t = d[e];
@@ -23635,8 +23660,8 @@ function Rb() {
23635
23660
  }), [
23636
23661
  S,
23637
23662
  T,
23638
- H,
23639
- re,
23663
+ V,
23664
+ ie,
23640
23665
  O,
23641
23666
  e,
23642
23667
  t,
@@ -23670,20 +23695,20 @@ function Rb() {
23670
23695
  multiselectDelimiters: Ve,
23671
23696
  setMultiselectDelimiter: Ke,
23672
23697
  reapplyMultiselectDelimiter: qe,
23673
- pendingOptions: re,
23698
+ pendingOptions: ie,
23674
23699
  addPendingOption: Je,
23675
23700
  xlsxFile: P,
23676
23701
  sheetNames: I,
23677
23702
  selectedSheet: R,
23678
- setSelectedSheet: z,
23703
+ setSelectedSheet: ee,
23679
23704
  handleSheetConfirmed: Ee,
23680
23705
  handleXlsxMultiSheet: Te,
23681
- sheetPreviews: B,
23706
+ sheetPreviews: te,
23682
23707
  primaryKey: O,
23683
23708
  onPrimaryKeyChange: de,
23684
23709
  primaryKeyColumns: D,
23685
- pendingColumns: H,
23686
- setPendingColumns: ne,
23710
+ pendingColumns: V,
23711
+ setPendingColumns: re,
23687
23712
  isParsing: A,
23688
23713
  setIsParsing: j,
23689
23714
  isImporting: M,
@@ -23712,8 +23737,8 @@ function Rb() {
23712
23737
  remoteSourceError: Pe,
23713
23738
  clearRemoteSourceError: Ie,
23714
23739
  handleRemoteSourceSelect: Le,
23715
- headerRowIndex: oe,
23716
- setHeaderRowIndex: se,
23740
+ headerRowIndex: se,
23741
+ setHeaderRowIndex: H,
23717
23742
  headers: ue,
23718
23743
  dataStartIndex: le
23719
23744
  };