@updog/data-editor 0.1.54 → 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.
- package/index.js +340 -339
- 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
|
|
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";
|
|
@@ -605,8 +605,8 @@ var Qr = (e) => {
|
|
|
605
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 = () => {
|
|
606
606
|
if (i !== void 0) return o(i, { size: "1.125rem" });
|
|
607
607
|
switch (n) {
|
|
608
|
-
case "green": return /* @__PURE__ */ C(
|
|
609
|
-
case "red": return /* @__PURE__ */ C(
|
|
608
|
+
case "green": return /* @__PURE__ */ C(V, { size: 18 });
|
|
609
|
+
case "red": return /* @__PURE__ */ C(re, { size: 18 });
|
|
610
610
|
case "yellow": return /* @__PURE__ */ C(Fe, { size: 18 });
|
|
611
611
|
default: return /* @__PURE__ */ C(fe, { size: 18 });
|
|
612
612
|
}
|
|
@@ -1015,7 +1015,7 @@ var wi = () => {
|
|
|
1015
1015
|
variant: "filled",
|
|
1016
1016
|
color: "neutral",
|
|
1017
1017
|
onClick: a(-1),
|
|
1018
|
-
content: /* @__PURE__ */ C(
|
|
1018
|
+
content: /* @__PURE__ */ C(ee, {
|
|
1019
1019
|
className: "rtl-mirror",
|
|
1020
1020
|
size: "1rem"
|
|
1021
1021
|
}),
|
|
@@ -1024,7 +1024,7 @@ var wi = () => {
|
|
|
1024
1024
|
variant: "filled",
|
|
1025
1025
|
color: "neutral",
|
|
1026
1026
|
onClick: a(1),
|
|
1027
|
-
content: /* @__PURE__ */ C(
|
|
1027
|
+
content: /* @__PURE__ */ C(z, {
|
|
1028
1028
|
className: "rtl-mirror",
|
|
1029
1029
|
size: "1rem"
|
|
1030
1030
|
}),
|
|
@@ -1467,118 +1467,119 @@ var $i = l(({ children: e, ...t }, r) => {
|
|
|
1467
1467
|
if (!e) throw Error("useDropdownContext must be used within a DropdownProvider");
|
|
1468
1468
|
return e;
|
|
1469
1469
|
}, ra = s({}), ia = () => p(ra), aa = (e) => {
|
|
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,
|
|
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({
|
|
1471
1471
|
controlledValue: t,
|
|
1472
1472
|
controlledOnChange: n,
|
|
1473
1473
|
defaultValue: r
|
|
1474
|
-
}),
|
|
1475
|
-
|
|
1476
|
-
}, [
|
|
1474
|
+
}), B = at(), ne = f(() => {
|
|
1475
|
+
z(!1), B && B.events.emit("dismissAll");
|
|
1476
|
+
}, [z, B]);
|
|
1477
1477
|
m(() => {
|
|
1478
|
-
if (!
|
|
1478
|
+
if (!B) return;
|
|
1479
1479
|
let e = () => {
|
|
1480
|
-
|
|
1480
|
+
z(!1);
|
|
1481
1481
|
};
|
|
1482
|
-
return
|
|
1483
|
-
|
|
1482
|
+
return B.events.on("dismissAll", e), () => {
|
|
1483
|
+
B.events.off("dismissAll", e);
|
|
1484
1484
|
};
|
|
1485
|
-
}, [
|
|
1486
|
-
let
|
|
1487
|
-
|
|
1488
|
-
}, []), [
|
|
1489
|
-
open:
|
|
1490
|
-
onOpenChange:
|
|
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,
|
|
1491
1491
|
placement: o,
|
|
1492
|
-
middleware:
|
|
1492
|
+
middleware: D ?? [
|
|
1493
1493
|
Ze(s),
|
|
1494
1494
|
c && Xe(),
|
|
1495
1495
|
l && $e(),
|
|
1496
1496
|
u && Je(),
|
|
1497
1497
|
et({ apply({ availableWidth: e, availableHeight: t, elements: n, rects: r }) {
|
|
1498
|
-
let i =
|
|
1498
|
+
let i = v ? Math.min(v, e) : e, a = S ? Math.min(S, t) : t, o = C ? r.reference.width : void 0;
|
|
1499
1499
|
Object.assign(n.floating.style, {
|
|
1500
1500
|
maxWidth: `${i}px`,
|
|
1501
1501
|
maxHeight: `${a}px`,
|
|
1502
|
-
...
|
|
1503
|
-
...
|
|
1502
|
+
..._ && { minWidth: Xi(_) },
|
|
1503
|
+
...x && { minHeight: Xi(x) },
|
|
1504
1504
|
...o && { width: `${o}px` }
|
|
1505
1505
|
});
|
|
1506
1506
|
} })
|
|
1507
1507
|
].filter(Boolean),
|
|
1508
1508
|
whileElementsMounted: Ye
|
|
1509
|
-
}),
|
|
1510
|
-
duration: !a ||
|
|
1509
|
+
}), le = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, { isMounted: ue, styles: de } = dt(H, {
|
|
1510
|
+
duration: !a || le ? 0 : 100,
|
|
1511
1511
|
initial: { opacity: 0 }
|
|
1512
|
-
}),
|
|
1513
|
-
tt(
|
|
1514
|
-
...D,
|
|
1515
|
-
enabled: D?.enabled || de("click") && !i,
|
|
1516
|
-
event: D?.event || "click",
|
|
1517
|
-
toggle: D?.toggle || !0
|
|
1518
|
-
}),
|
|
1519
|
-
st(oe, {
|
|
1512
|
+
}), fe = (e) => p.includes(e), { getReferenceProps: pe, getFloatingProps: me, getItemProps: he } = ct([
|
|
1513
|
+
tt(H, {
|
|
1520
1514
|
...O,
|
|
1521
|
-
enabled: O?.enabled ||
|
|
1522
|
-
|
|
1523
|
-
|
|
1515
|
+
enabled: O?.enabled || fe("click") && !i,
|
|
1516
|
+
event: O?.event || "click",
|
|
1517
|
+
toggle: O?.toggle || !0
|
|
1524
1518
|
}),
|
|
1525
|
-
|
|
1519
|
+
st(H, {
|
|
1526
1520
|
...k,
|
|
1527
|
-
enabled: k?.enabled ||
|
|
1521
|
+
enabled: k?.enabled || fe("hover") && !i,
|
|
1522
|
+
delay: k?.delay,
|
|
1523
|
+
handleClose: k?.handleClose || Qe()
|
|
1528
1524
|
}),
|
|
1529
|
-
|
|
1525
|
+
ot(H, {
|
|
1530
1526
|
...A,
|
|
1531
|
-
enabled: A?.enabled ||
|
|
1532
|
-
outsidePress: A?.outsidePress || ((e) => {
|
|
1533
|
-
let t = e.target, n = ie.floating.current?.contains(t), r = ie.reference.current?.contains?.(t);
|
|
1534
|
-
return !n && !r;
|
|
1535
|
-
}),
|
|
1536
|
-
escapeKey: A?.escapeKey || !0,
|
|
1537
|
-
bubbles: A?.bubbles || { escapeKey: !1 }
|
|
1527
|
+
enabled: A?.enabled || fe("focus") && !i
|
|
1538
1528
|
}),
|
|
1539
|
-
|
|
1529
|
+
nt(H, {
|
|
1540
1530
|
...j,
|
|
1541
|
-
|
|
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 }
|
|
1542
1539
|
}),
|
|
1543
|
-
|
|
1540
|
+
ut(H, {
|
|
1544
1541
|
...M,
|
|
1545
|
-
|
|
1546
|
-
listRef: M?.listRef || te,
|
|
1547
|
-
activeIndex: M?.activeIndex || ne,
|
|
1548
|
-
onNavigate: M?.onNavigate || re,
|
|
1549
|
-
loop: M?.loop || !0,
|
|
1550
|
-
nested: M?.nested,
|
|
1551
|
-
parentOrientation: M?.parentOrientation,
|
|
1552
|
-
rtl: M?.rtl
|
|
1542
|
+
role: M?.role || g
|
|
1553
1543
|
}),
|
|
1554
|
-
|
|
1544
|
+
lt(H, {
|
|
1555
1545
|
...N,
|
|
1556
|
-
enabled: N?.enabled ||
|
|
1557
|
-
listRef: N?.listRef ||
|
|
1558
|
-
activeIndex: N?.activeIndex ||
|
|
1559
|
-
|
|
1560
|
-
|
|
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
|
|
1561
1562
|
})
|
|
1562
1563
|
]);
|
|
1563
1564
|
return {
|
|
1564
|
-
refs:
|
|
1565
|
-
floatingStyles:
|
|
1566
|
-
context:
|
|
1567
|
-
getReferenceProps:
|
|
1568
|
-
getFloatingProps:
|
|
1569
|
-
getItemProps:
|
|
1570
|
-
open: !!
|
|
1571
|
-
setOpen:
|
|
1572
|
-
placement:
|
|
1573
|
-
activeIndex:
|
|
1574
|
-
setActiveIndex:
|
|
1575
|
-
navigationRef:
|
|
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,
|
|
1576
1577
|
props: e,
|
|
1577
|
-
dismiss:
|
|
1578
|
-
isMounted:
|
|
1579
|
-
transitionStyles:
|
|
1580
|
-
triggerId:
|
|
1581
|
-
contentId:
|
|
1578
|
+
dismiss: ne,
|
|
1579
|
+
isMounted: ue,
|
|
1580
|
+
transitionStyles: de,
|
|
1581
|
+
triggerId: R,
|
|
1582
|
+
contentId: ee
|
|
1582
1583
|
};
|
|
1583
1584
|
}, oa = (e) => {
|
|
1584
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(() => ({
|
|
@@ -1623,7 +1624,7 @@ var $i = l(({ children: e, ...t }, r) => {
|
|
|
1623
1624
|
s && e.stopPropagation(), o && e.preventDefault();
|
|
1624
1625
|
}, [s, o]), R = f((e) => {
|
|
1625
1626
|
u.setReference(e);
|
|
1626
|
-
}, [u.setReference]),
|
|
1627
|
+
}, [u.setReference]), ee = v(() => {
|
|
1627
1628
|
let { onClick: e, ...n } = I, r = Wi(Wi(t.props.onClick, e), L);
|
|
1628
1629
|
return /* @__PURE__ */ C($i, {
|
|
1629
1630
|
ref: R,
|
|
@@ -1640,7 +1641,7 @@ var $i = l(({ children: e, ...t }, r) => {
|
|
|
1640
1641
|
j,
|
|
1641
1642
|
I,
|
|
1642
1643
|
L
|
|
1643
|
-
]),
|
|
1644
|
+
]), te = v(() => {
|
|
1644
1645
|
if (!k) return null;
|
|
1645
1646
|
let e = /* @__PURE__ */ C("div", {
|
|
1646
1647
|
ref: u.setFloating,
|
|
@@ -1680,10 +1681,10 @@ var $i = l(({ children: e, ...t }, r) => {
|
|
|
1680
1681
|
value: P,
|
|
1681
1682
|
children: /* @__PURE__ */ w(We, {
|
|
1682
1683
|
id: N,
|
|
1683
|
-
children: [/* @__PURE__ */ C(S, { children:
|
|
1684
|
+
children: [/* @__PURE__ */ C(S, { children: ee }), c ? /* @__PURE__ */ C(Ke, {
|
|
1684
1685
|
root: typeof c == "boolean" ? void 0 : c,
|
|
1685
|
-
children:
|
|
1686
|
-
}) : /* @__PURE__ */ C(S, { children:
|
|
1686
|
+
children: te
|
|
1687
|
+
}) : /* @__PURE__ */ C(S, { children: te })]
|
|
1687
1688
|
})
|
|
1688
1689
|
});
|
|
1689
1690
|
}, sa = ({ item: e }) => /* @__PURE__ */ C("div", {
|
|
@@ -1741,26 +1742,26 @@ function ua(e, t) {
|
|
|
1741
1742
|
onTouchCancel: (e) => {
|
|
1742
1743
|
k.onTouchCancel();
|
|
1743
1744
|
}
|
|
1744
|
-
} : {}, [S, k]), { onClick: R, ...
|
|
1745
|
+
} : {}, [S, k]), { onClick: R, ...ee } = x, te = f((e) => {
|
|
1745
1746
|
R?.(e), N();
|
|
1746
1747
|
}, [R, N]);
|
|
1747
1748
|
return /* @__PURE__ */ C(oa, {
|
|
1748
1749
|
portal: g,
|
|
1749
1750
|
trigger: v(() => /* @__PURE__ */ C($i, {
|
|
1750
1751
|
ref: t,
|
|
1751
|
-
...
|
|
1752
|
+
...ee,
|
|
1752
1753
|
...D ? { "aria-describedby": M } : {},
|
|
1753
|
-
onClick:
|
|
1754
|
+
onClick: te,
|
|
1754
1755
|
onBlur: P,
|
|
1755
1756
|
onMouseLeave: F,
|
|
1756
1757
|
...L,
|
|
1757
1758
|
children: I
|
|
1758
1759
|
}), [
|
|
1759
1760
|
t,
|
|
1760
|
-
|
|
1761
|
+
ee,
|
|
1761
1762
|
D,
|
|
1762
1763
|
M,
|
|
1763
|
-
|
|
1764
|
+
te,
|
|
1764
1765
|
P,
|
|
1765
1766
|
F,
|
|
1766
1767
|
L,
|
|
@@ -1829,7 +1830,7 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
|
|
|
1829
1830
|
e.accessory && e.accessory,
|
|
1830
1831
|
e.options && !e.disabled && /* @__PURE__ */ C("span", {
|
|
1831
1832
|
className: "updog-menu__option-endAccessory",
|
|
1832
|
-
children: C(i ?
|
|
1833
|
+
children: C(i ? te : B, { size: "1rem" })
|
|
1833
1834
|
})
|
|
1834
1835
|
]
|
|
1835
1836
|
});
|
|
@@ -1907,11 +1908,11 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
|
|
|
1907
1908
|
N.events.off("dismissAll", e);
|
|
1908
1909
|
};
|
|
1909
1910
|
}, [N]);
|
|
1910
|
-
let I = h(), L = `${I}-context-trigger`, R = `${I}-context-content`,
|
|
1911
|
-
|
|
1912
|
-
}, []),
|
|
1913
|
-
|
|
1914
|
-
let { refs:
|
|
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({
|
|
1915
1916
|
open: k,
|
|
1916
1917
|
onOpenChange: A,
|
|
1917
1918
|
placement: p,
|
|
@@ -1933,7 +1934,7 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
|
|
|
1933
1934
|
whileElementsMounted: Ye
|
|
1934
1935
|
});
|
|
1935
1936
|
m(() => {
|
|
1936
|
-
D &&
|
|
1937
|
+
D && B.setPositionReference({ getBoundingClientRect: () => ({
|
|
1937
1938
|
x: D.x,
|
|
1938
1939
|
y: D.y,
|
|
1939
1940
|
width: 0,
|
|
@@ -1943,33 +1944,33 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
|
|
|
1943
1944
|
bottom: D.y,
|
|
1944
1945
|
left: D.x
|
|
1945
1946
|
}) });
|
|
1946
|
-
}, [D,
|
|
1947
|
-
let
|
|
1948
|
-
duration: !a ||
|
|
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,
|
|
1949
1950
|
initial: { opacity: 0 }
|
|
1950
|
-
}), { getReferenceProps:
|
|
1951
|
-
nt(
|
|
1951
|
+
}), { getReferenceProps: se, getFloatingProps: H, getItemProps: ce } = ct([
|
|
1952
|
+
nt(V, {
|
|
1952
1953
|
escapeKey: !0,
|
|
1953
1954
|
outsidePress: !0,
|
|
1954
1955
|
bubbles: { escapeKey: !1 }
|
|
1955
1956
|
}),
|
|
1956
|
-
ut(
|
|
1957
|
-
lt(
|
|
1958
|
-
listRef:
|
|
1957
|
+
ut(V, { role: "menu" }),
|
|
1958
|
+
lt(V, {
|
|
1959
|
+
listRef: ee,
|
|
1959
1960
|
activeIndex: j,
|
|
1960
1961
|
onNavigate: M,
|
|
1961
1962
|
loop: !0,
|
|
1962
1963
|
parentOrientation: "vertical",
|
|
1963
1964
|
rtl: O
|
|
1964
1965
|
}),
|
|
1965
|
-
ft(
|
|
1966
|
-
listRef:
|
|
1966
|
+
ft(V, {
|
|
1967
|
+
listRef: z,
|
|
1967
1968
|
activeIndex: j,
|
|
1968
1969
|
onMatch: M,
|
|
1969
1970
|
resetMs: 750
|
|
1970
1971
|
})
|
|
1971
1972
|
]), le = y(null), ue = f((e) => {
|
|
1972
|
-
i || (g !== !1 && e.preventDefault(), _ && e.stopPropagation(),
|
|
1973
|
+
i || (g !== !1 && e.preventDefault(), _ && e.stopPropagation(), B.setPositionReference({ getBoundingClientRect() {
|
|
1973
1974
|
return {
|
|
1974
1975
|
x: e.clientX,
|
|
1975
1976
|
y: e.clientY,
|
|
@@ -1985,44 +1986,44 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
|
|
|
1985
1986
|
i,
|
|
1986
1987
|
g,
|
|
1987
1988
|
_,
|
|
1988
|
-
|
|
1989
|
+
B
|
|
1989
1990
|
]), de = v(() => ({
|
|
1990
1991
|
open: k ?? !1,
|
|
1991
1992
|
setOpen: A,
|
|
1992
1993
|
dismiss: F,
|
|
1993
|
-
placement:
|
|
1994
|
-
floatingStyles:
|
|
1994
|
+
placement: re,
|
|
1995
|
+
floatingStyles: ne,
|
|
1995
1996
|
refs: {
|
|
1996
|
-
setReference:
|
|
1997
|
-
setFloating:
|
|
1997
|
+
setReference: B.setReference,
|
|
1998
|
+
setFloating: B.setFloating
|
|
1998
1999
|
},
|
|
1999
|
-
getReferenceProps:
|
|
2000
|
-
getFloatingProps:
|
|
2000
|
+
getReferenceProps: se,
|
|
2001
|
+
getFloatingProps: H,
|
|
2001
2002
|
getItemProps: ce,
|
|
2002
2003
|
activeIndex: j,
|
|
2003
2004
|
setActiveIndex: M,
|
|
2004
|
-
navigationRef:
|
|
2005
|
-
context:
|
|
2006
|
-
isMounted:
|
|
2007
|
-
transitionStyles:
|
|
2005
|
+
navigationRef: te,
|
|
2006
|
+
context: V,
|
|
2007
|
+
isMounted: ae,
|
|
2008
|
+
transitionStyles: oe,
|
|
2008
2009
|
triggerId: L,
|
|
2009
2010
|
contentId: R,
|
|
2010
2011
|
props: {}
|
|
2011
2012
|
}), [
|
|
2012
2013
|
k,
|
|
2013
2014
|
F,
|
|
2015
|
+
re,
|
|
2014
2016
|
ne,
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
ee.setFloating,
|
|
2018
|
-
oe,
|
|
2017
|
+
B.setReference,
|
|
2018
|
+
B.setFloating,
|
|
2019
2019
|
se,
|
|
2020
|
+
H,
|
|
2020
2021
|
ce,
|
|
2021
2022
|
j,
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
ie,
|
|
2023
|
+
te,
|
|
2024
|
+
V,
|
|
2025
2025
|
ae,
|
|
2026
|
+
oe,
|
|
2026
2027
|
L,
|
|
2027
2028
|
R
|
|
2028
2029
|
]), fe = v(() => ({
|
|
@@ -2038,34 +2039,34 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
|
|
|
2038
2039
|
O,
|
|
2039
2040
|
s,
|
|
2040
2041
|
c
|
|
2041
|
-
]), pe = v(() =>
|
|
2042
|
-
context:
|
|
2042
|
+
]), pe = v(() => ae ? /* @__PURE__ */ C(Ue, {
|
|
2043
|
+
context: V,
|
|
2043
2044
|
initialFocus: -1,
|
|
2044
2045
|
returnFocus: !0,
|
|
2045
2046
|
restoreFocus: !1,
|
|
2046
2047
|
modal: !1,
|
|
2047
2048
|
children: /* @__PURE__ */ C("div", {
|
|
2048
|
-
ref:
|
|
2049
|
+
ref: B.setFloating,
|
|
2049
2050
|
style: {
|
|
2050
|
-
...
|
|
2051
|
-
...
|
|
2051
|
+
...ne,
|
|
2052
|
+
...oe
|
|
2052
2053
|
},
|
|
2053
2054
|
className: E("updog-dropdown__content-element", o),
|
|
2054
2055
|
dir: O ? "rtl" : "ltr",
|
|
2055
|
-
...
|
|
2056
|
+
...H(),
|
|
2056
2057
|
id: R,
|
|
2057
2058
|
role: "menu",
|
|
2058
2059
|
children: /* @__PURE__ */ C(_a, { options: n })
|
|
2059
2060
|
})
|
|
2060
2061
|
}) : null, [
|
|
2061
|
-
ie,
|
|
2062
|
-
ee.setFloating,
|
|
2063
|
-
te,
|
|
2064
2062
|
ae,
|
|
2063
|
+
B.setFloating,
|
|
2064
|
+
ne,
|
|
2065
|
+
oe,
|
|
2065
2066
|
o,
|
|
2066
|
-
se,
|
|
2067
|
-
R,
|
|
2068
2067
|
H,
|
|
2068
|
+
R,
|
|
2069
|
+
V,
|
|
2069
2070
|
n
|
|
2070
2071
|
]), me = /* @__PURE__ */ C(ta, {
|
|
2071
2072
|
value: de,
|
|
@@ -2146,7 +2147,7 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
|
|
|
2146
2147
|
e.stopPropagation(), e.preventDefault();
|
|
2147
2148
|
}, []), L = f((e) => {
|
|
2148
2149
|
e.stopPropagation();
|
|
2149
|
-
}, []), R = Object.fromEntries(Object.entries(v).filter(([e]) => e.startsWith("data-"))),
|
|
2150
|
+
}, []), R = Object.fromEntries(Object.entries(v).filter(([e]) => e.startsWith("data-"))), ee = /* @__PURE__ */ C("span", {
|
|
2150
2151
|
className: "updog-datepicker__trigger-placeholder updog-text--sm",
|
|
2151
2152
|
children: o || T("ui.datePicker.placeholder")
|
|
2152
2153
|
});
|
|
@@ -2170,7 +2171,7 @@ var da = l(ua), fa = (e) => !("type" in e), pa = (e) => "type" in e && e.type ==
|
|
|
2170
2171
|
children: s ? /* @__PURE__ */ C(wa, {
|
|
2171
2172
|
className: E("updog-datepicker__trigger-value", M[x]),
|
|
2172
2173
|
content: s
|
|
2173
|
-
}) :
|
|
2174
|
+
}) : ee
|
|
2174
2175
|
}), /* @__PURE__ */ w("div", {
|
|
2175
2176
|
className: "updog-datepicker__trigger-actions",
|
|
2176
2177
|
children: [
|
|
@@ -2423,7 +2424,7 @@ var Oa = ({ text: e, direction: t = "horizontal", width: n, height: r, className
|
|
|
2423
2424
|
}), L = f((e) => {
|
|
2424
2425
|
let t = e.currentTarget.value;
|
|
2425
2426
|
i && (t = t.split("").filter((e) => i.test(e)).join("")), r && r(t, e);
|
|
2426
|
-
}, [r, i]), R = v(() => g?.toString() || "", [g]),
|
|
2427
|
+
}, [r, i]), R = v(() => g?.toString() || "", [g]), ee = f((e) => {
|
|
2427
2428
|
i && !i.test(e.key) && ![
|
|
2428
2429
|
"Backspace",
|
|
2429
2430
|
"Delete",
|
|
@@ -2434,7 +2435,7 @@ var Oa = ({ text: e, direction: t = "horizontal", width: n, height: r, className
|
|
|
2434
2435
|
"Tab",
|
|
2435
2436
|
"Enter"
|
|
2436
2437
|
].includes(e.key) && e.preventDefault();
|
|
2437
|
-
}, [i]),
|
|
2438
|
+
}, [i]), te = v(() => Wi(_, ee), [_, ee]);
|
|
2438
2439
|
return /* @__PURE__ */ w("div", {
|
|
2439
2440
|
className: A,
|
|
2440
2441
|
children: [
|
|
@@ -2448,7 +2449,7 @@ var Oa = ({ text: e, direction: t = "horizontal", width: n, height: r, className
|
|
|
2448
2449
|
size: void 0,
|
|
2449
2450
|
className: j,
|
|
2450
2451
|
onChange: L,
|
|
2451
|
-
onKeyDown:
|
|
2452
|
+
onKeyDown: te,
|
|
2452
2453
|
value: g,
|
|
2453
2454
|
"aria-invalid": l
|
|
2454
2455
|
}),
|
|
@@ -2580,42 +2581,42 @@ var Oa = ({ text: e, direction: t = "horizontal", width: n, height: r, className
|
|
|
2580
2581
|
//#endregion
|
|
2581
2582
|
//#region ../ui-kit/src/components/Menu/index.tsx
|
|
2582
2583
|
function Pa(e, t) {
|
|
2583
|
-
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:
|
|
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({
|
|
2584
2585
|
controlledValue: n,
|
|
2585
2586
|
controlledOnChange: r,
|
|
2586
2587
|
defaultValue: i
|
|
2587
|
-
}),
|
|
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([]);
|
|
2588
2589
|
v(() => {
|
|
2589
2590
|
ce.current = s.filter(fa).map((e) => e.text);
|
|
2590
2591
|
}, [s]);
|
|
2591
2592
|
let le = Zi(t, f((e) => {
|
|
2592
|
-
|
|
2593
|
+
ae.current = e;
|
|
2593
2594
|
}, [])), ue = a || o, de = v(() => /* @__PURE__ */ C($i, {
|
|
2594
2595
|
ref: le,
|
|
2595
|
-
...
|
|
2596
|
+
...ne,
|
|
2596
2597
|
children: ue
|
|
2597
2598
|
}), [
|
|
2598
2599
|
le,
|
|
2599
|
-
|
|
2600
|
+
ne,
|
|
2600
2601
|
ue
|
|
2601
2602
|
]);
|
|
2602
2603
|
return /* @__PURE__ */ C(qe, { children: /* @__PURE__ */ C(ra.Provider, {
|
|
2603
2604
|
value: {
|
|
2604
2605
|
onSelect: c,
|
|
2605
2606
|
options: s,
|
|
2606
|
-
rtl:
|
|
2607
|
-
rootTriggerRef:
|
|
2608
|
-
portal:
|
|
2607
|
+
rtl: V,
|
|
2608
|
+
rootTriggerRef: ae,
|
|
2609
|
+
portal: B,
|
|
2609
2610
|
minWidth: b
|
|
2610
2611
|
},
|
|
2611
2612
|
children: /* @__PURE__ */ C(oa, {
|
|
2612
|
-
portal:
|
|
2613
|
+
portal: B,
|
|
2613
2614
|
trigger: de,
|
|
2614
2615
|
content: /* @__PURE__ */ C(_a, { options: s }),
|
|
2615
|
-
triggerId:
|
|
2616
|
-
contentId:
|
|
2617
|
-
open:
|
|
2618
|
-
onOpenChange:
|
|
2616
|
+
triggerId: se,
|
|
2617
|
+
contentId: H,
|
|
2618
|
+
open: re,
|
|
2619
|
+
onOpenChange: ie,
|
|
2619
2620
|
disabled: S,
|
|
2620
2621
|
interactions: [
|
|
2621
2622
|
"click",
|
|
@@ -2637,7 +2638,7 @@ function Pa(e, t) {
|
|
|
2637
2638
|
roleOptions: N,
|
|
2638
2639
|
typeaheadOptions: F,
|
|
2639
2640
|
ariaLabel: L,
|
|
2640
|
-
matchTriggerWidth:
|
|
2641
|
+
matchTriggerWidth: te,
|
|
2641
2642
|
floatingFocusManager: {
|
|
2642
2643
|
initialFocus: -1,
|
|
2643
2644
|
returnFocus: !0,
|
|
@@ -2648,11 +2649,11 @@ function Pa(e, t) {
|
|
|
2648
2649
|
contentClassName: E("", d),
|
|
2649
2650
|
listNavigationOptions: {
|
|
2650
2651
|
parentOrientation: "vertical",
|
|
2651
|
-
rtl:
|
|
2652
|
+
rtl: V,
|
|
2652
2653
|
loop: !0,
|
|
2653
2654
|
...P
|
|
2654
2655
|
},
|
|
2655
|
-
typeaheadListRef:
|
|
2656
|
+
typeaheadListRef: z ?? ce,
|
|
2656
2657
|
preventDefaultOnTrigger: p,
|
|
2657
2658
|
stopPropagationOnTrigger: m,
|
|
2658
2659
|
minHeight: g,
|
|
@@ -2666,22 +2667,22 @@ var Fa = l(Pa);
|
|
|
2666
2667
|
//#endregion
|
|
2667
2668
|
//#region ../ui-kit/src/components/Popover/index.tsx
|
|
2668
2669
|
function Ia(e, t) {
|
|
2669
|
-
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:
|
|
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({
|
|
2670
2671
|
controlledValue: a,
|
|
2671
2672
|
controlledOnChange: o,
|
|
2672
2673
|
defaultValue: s
|
|
2673
|
-
}),
|
|
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;
|
|
2674
2675
|
return /* @__PURE__ */ C(oa, {
|
|
2675
2676
|
trigger: /* @__PURE__ */ C($i, {
|
|
2676
2677
|
ref: t,
|
|
2677
|
-
...
|
|
2678
|
-
children:
|
|
2678
|
+
...te,
|
|
2679
|
+
children: ie
|
|
2679
2680
|
}),
|
|
2680
2681
|
content: i,
|
|
2681
|
-
triggerId:
|
|
2682
|
-
contentId:
|
|
2683
|
-
open:
|
|
2684
|
-
onOpenChange:
|
|
2682
|
+
triggerId: V,
|
|
2683
|
+
contentId: re,
|
|
2684
|
+
open: z,
|
|
2685
|
+
onOpenChange: B,
|
|
2685
2686
|
interactions: ["click", "dismiss"],
|
|
2686
2687
|
role: "dialog",
|
|
2687
2688
|
placement: c,
|
|
@@ -2715,7 +2716,7 @@ function Ia(e, t) {
|
|
|
2715
2716
|
disabled: I,
|
|
2716
2717
|
preventDefaultOnTrigger: L,
|
|
2717
2718
|
stopPropagationOnTrigger: R,
|
|
2718
|
-
portal:
|
|
2719
|
+
portal: ee
|
|
2719
2720
|
});
|
|
2720
2721
|
}
|
|
2721
2722
|
l(Ia);
|
|
@@ -2895,43 +2896,43 @@ var Va = () => {
|
|
|
2895
2896
|
size: s
|
|
2896
2897
|
};
|
|
2897
2898
|
}, Ua = l((e = {}, t) => {
|
|
2898
|
-
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":
|
|
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) => {
|
|
2899
2900
|
let t = O.find((t) => t.id === e);
|
|
2900
2901
|
t && (m(t), D.current?.focus());
|
|
2901
2902
|
}, [
|
|
2902
2903
|
O,
|
|
2903
2904
|
m,
|
|
2904
2905
|
D
|
|
2905
|
-
]),
|
|
2906
|
+
]), re = f(() => {
|
|
2906
2907
|
l?.(), D.current?.focus();
|
|
2907
|
-
}, [l, D]),
|
|
2908
|
+
}, [l, D]), ie = f((e) => {
|
|
2908
2909
|
k?.(e), D.current?.focus();
|
|
2909
|
-
}, [k, D]),
|
|
2910
|
+
}, [k, D]), ae = {
|
|
2910
2911
|
sm: "xs",
|
|
2911
2912
|
md: "sm",
|
|
2912
2913
|
lg: "md"
|
|
2913
|
-
},
|
|
2914
|
+
}, oe = !r && !p && u && /* @__PURE__ */ C(Y, {
|
|
2914
2915
|
variant: "filled",
|
|
2915
2916
|
size: Ui[i],
|
|
2916
2917
|
color: "neutral",
|
|
2917
|
-
onClick:
|
|
2918
|
+
onClick: re,
|
|
2918
2919
|
content: /* @__PURE__ */ C(He, {}),
|
|
2919
2920
|
"aria-label": n("ui.comboBox.clearSelection")
|
|
2920
|
-
}),
|
|
2921
|
+
}), se = !r && p && /* @__PURE__ */ C(Sa, {
|
|
2921
2922
|
size: i,
|
|
2922
|
-
children: /* @__PURE__ */ C(ri, { size:
|
|
2923
|
+
children: /* @__PURE__ */ C(ri, { size: ae[i] })
|
|
2923
2924
|
});
|
|
2924
2925
|
return /* @__PURE__ */ w("div", {
|
|
2925
2926
|
ref: t,
|
|
2926
2927
|
id: F,
|
|
2927
2928
|
className: E("updog-combobox__trigger updog-combobox__trigger-multi", `updog-combobox__trigger--${i}`, d && "updog-combobox__trigger--invalid"),
|
|
2928
|
-
onClick:
|
|
2929
|
+
onClick: ie,
|
|
2929
2930
|
onFocus: A,
|
|
2930
2931
|
onKeyDown: j,
|
|
2931
2932
|
onMouseDown: M,
|
|
2932
2933
|
onPointerDown: N,
|
|
2933
2934
|
onPointerEnter: P,
|
|
2934
|
-
...
|
|
2935
|
+
...ne,
|
|
2935
2936
|
role: void 0,
|
|
2936
2937
|
tabIndex: -1,
|
|
2937
2938
|
"aria-haspopup": void 0,
|
|
@@ -2946,7 +2947,7 @@ var Va = () => {
|
|
|
2946
2947
|
startIcon: e.icon,
|
|
2947
2948
|
color: "neutral",
|
|
2948
2949
|
size: i === "lg" ? "md" : "sm",
|
|
2949
|
-
onRemove: r ? void 0 : () =>
|
|
2950
|
+
onRemove: r ? void 0 : () => V(e.id),
|
|
2950
2951
|
disabled: r
|
|
2951
2952
|
}, e.id)), /* @__PURE__ */ C("input", {
|
|
2952
2953
|
ref: D,
|
|
@@ -2969,7 +2970,7 @@ var Va = () => {
|
|
|
2969
2970
|
})]
|
|
2970
2971
|
}), /* @__PURE__ */ C("div", {
|
|
2971
2972
|
className: "updog-combobox__trigger-actions",
|
|
2972
|
-
children:
|
|
2973
|
+
children: se || oe
|
|
2973
2974
|
})]
|
|
2974
2975
|
});
|
|
2975
2976
|
}), Wa = l((e = {}, t) => {
|
|
@@ -3111,21 +3112,21 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
|
|
|
3111
3112
|
if (!_) return [];
|
|
3112
3113
|
let e = Array.isArray(_) ? _ : [_];
|
|
3113
3114
|
return b.filter(Xa).filter((t) => e.includes(t.id));
|
|
3114
|
-
}, [_, 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),
|
|
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) => {
|
|
3115
3116
|
e.stopPropagation(), e.preventDefault(), l?.(), j.current?.focus();
|
|
3116
|
-
}, [l]),
|
|
3117
|
+
}, [l]), z = f((e) => {
|
|
3117
3118
|
e.stopPropagation(), e.preventDefault();
|
|
3118
|
-
}, []),
|
|
3119
|
+
}, []), B = f((e) => {
|
|
3119
3120
|
e.stopPropagation();
|
|
3120
|
-
}, []),
|
|
3121
|
+
}, []), ne = Object.fromEntries(Object.entries(T).filter(([e]) => e.startsWith("data-"))), V = /* @__PURE__ */ C("span", {
|
|
3121
3122
|
className: "updog-select__trigger-placeholder updog-text--sm",
|
|
3122
3123
|
children: o
|
|
3123
3124
|
});
|
|
3124
3125
|
return /* @__PURE__ */ C("div", {
|
|
3125
3126
|
...e,
|
|
3126
|
-
...
|
|
3127
|
+
...ne,
|
|
3127
3128
|
ref: M,
|
|
3128
|
-
className:
|
|
3129
|
+
className: ee,
|
|
3129
3130
|
tabIndex: u || i ? -1 : 0,
|
|
3130
3131
|
role: "button",
|
|
3131
3132
|
"aria-haspopup": "listbox",
|
|
@@ -3146,10 +3147,10 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
|
|
|
3146
3147
|
size: F[O],
|
|
3147
3148
|
onRemove: () => x(e.id),
|
|
3148
3149
|
disabled: i
|
|
3149
|
-
}, e.id)) :
|
|
3150
|
+
}, e.id)) : V : s ? /* @__PURE__ */ C(wa, {
|
|
3150
3151
|
className: E("updog-select__trigger-value", N[O]),
|
|
3151
3152
|
content: s
|
|
3152
|
-
}) :
|
|
3153
|
+
}) : V
|
|
3153
3154
|
}), /* @__PURE__ */ w("div", {
|
|
3154
3155
|
className: "updog-select__trigger-actions",
|
|
3155
3156
|
children: [
|
|
@@ -3157,9 +3158,9 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
|
|
|
3157
3158
|
variant: "filled",
|
|
3158
3159
|
size: Ui[O],
|
|
3159
3160
|
color: "neutral",
|
|
3160
|
-
onClick:
|
|
3161
|
-
onKeyDown:
|
|
3162
|
-
onMouseDown:
|
|
3161
|
+
onClick: te,
|
|
3162
|
+
onKeyDown: B,
|
|
3163
|
+
onMouseDown: z,
|
|
3163
3164
|
onPointerDown: (e) => e.stopPropagation(),
|
|
3164
3165
|
content: /* @__PURE__ */ C(He, {}),
|
|
3165
3166
|
"aria-label": k("ui.select.clearSelection"),
|
|
@@ -3187,19 +3188,19 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
|
|
|
3187
3188
|
controlledValue: t,
|
|
3188
3189
|
controlledOnChange: n,
|
|
3189
3190
|
defaultValue: !1
|
|
3190
|
-
}), L = h(), R = S || L,
|
|
3191
|
+
}), L = h(), R = S || L, ee = `${R}-trigger`, te = `${R}-content`, z = y([]);
|
|
3191
3192
|
m(() => {
|
|
3192
|
-
|
|
3193
|
+
z.current = r.filter(Xa).map((e) => e.text ?? null);
|
|
3193
3194
|
}, [r]);
|
|
3194
|
-
let
|
|
3195
|
+
let B = v(() => {
|
|
3195
3196
|
if (!s) return [];
|
|
3196
3197
|
let e = Array.isArray(s) ? s : [s];
|
|
3197
3198
|
return r.filter(Xa).filter((t) => e.includes(t.id));
|
|
3198
|
-
}, [s, r]),
|
|
3199
|
-
if (
|
|
3200
|
-
let e =
|
|
3199
|
+
}, [s, r]), ne = v(() => {
|
|
3200
|
+
if (B.length === 0) return "";
|
|
3201
|
+
let e = B.map((e) => e.text).join(", ");
|
|
3201
3202
|
return u ? u(e) : e;
|
|
3202
|
-
}, [
|
|
3203
|
+
}, [B, u]), V = f((e) => {
|
|
3203
3204
|
let t = r.filter(Xa).find((t) => t.id === e);
|
|
3204
3205
|
if (o) {
|
|
3205
3206
|
let n = Array.isArray(s) ? s : [];
|
|
@@ -3211,23 +3212,23 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
|
|
|
3211
3212
|
c,
|
|
3212
3213
|
I,
|
|
3213
3214
|
r
|
|
3214
|
-
]),
|
|
3215
|
+
]), re = o ? Array.isArray(s) && s.length > 0 : s !== void 0 && s !== "", ie = !a && !i && !!l && re;
|
|
3215
3216
|
return /* @__PURE__ */ C(Ka, {
|
|
3216
3217
|
value: {
|
|
3217
3218
|
...e,
|
|
3218
|
-
displayValue:
|
|
3219
|
-
hasValue:
|
|
3220
|
-
showClearButton:
|
|
3221
|
-
onSelect:
|
|
3222
|
-
contentId:
|
|
3219
|
+
displayValue: ne,
|
|
3220
|
+
hasValue: re,
|
|
3221
|
+
showClearButton: ie,
|
|
3222
|
+
onSelect: V,
|
|
3223
|
+
contentId: te,
|
|
3223
3224
|
maxHeight: _
|
|
3224
3225
|
},
|
|
3225
3226
|
children: /* @__PURE__ */ C(oa, {
|
|
3226
3227
|
portal: E,
|
|
3227
3228
|
trigger: /* @__PURE__ */ C($a, {}),
|
|
3228
3229
|
content: /* @__PURE__ */ C(Qa, {}),
|
|
3229
|
-
triggerId:
|
|
3230
|
-
contentId:
|
|
3230
|
+
triggerId: ee,
|
|
3231
|
+
contentId: te,
|
|
3231
3232
|
open: F,
|
|
3232
3233
|
onOpenChange: I,
|
|
3233
3234
|
disabled: a,
|
|
@@ -3262,7 +3263,7 @@ var Ga = s(void 0), Ka = Ga.Provider, qa = () => {
|
|
|
3262
3263
|
maxWidth: p,
|
|
3263
3264
|
minHeight: g,
|
|
3264
3265
|
maxHeight: _,
|
|
3265
|
-
typeaheadListRef:
|
|
3266
|
+
typeaheadListRef: z,
|
|
3266
3267
|
preventDefaultOnTrigger: w,
|
|
3267
3268
|
stopPropagationOnTrigger: T
|
|
3268
3269
|
})
|
|
@@ -10320,8 +10321,8 @@ function Hl({ columns: e, primaryKey: t, loadData: n, scaleClient: r, onComplete
|
|
|
10320
10321
|
N.setSchemaColumns(e);
|
|
10321
10322
|
let { addDynamicColumns: P, removeDynamicColumn: F, updateColumn: I } = Il(N), L = f((e) => {
|
|
10322
10323
|
N.setDynamicColumns(e);
|
|
10323
|
-
}, [N]), R = x(N.subscribe, N.getEffectiveColumns), { navigateToCell:
|
|
10324
|
-
Fl(N,
|
|
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);
|
|
10325
10326
|
let { onVisibleRangeChange: ge } = Bl(N, M), { portalRef: _e } = Rl(), [ve, ye] = b(null), [be, xe] = b(null), Se = f((e) => {
|
|
10326
10327
|
xe(e), s(!0);
|
|
10327
10328
|
}, [s]);
|
|
@@ -10343,8 +10344,8 @@ function Hl({ columns: e, primaryKey: t, loadData: n, scaleClient: r, onComplete
|
|
|
10343
10344
|
rowHeight: _ ?? 34,
|
|
10344
10345
|
headerHeight: v ?? 36,
|
|
10345
10346
|
store: N,
|
|
10346
|
-
validator:
|
|
10347
|
-
findReplace:
|
|
10347
|
+
validator: V,
|
|
10348
|
+
findReplace: ie,
|
|
10348
10349
|
onComplete: i,
|
|
10349
10350
|
showUploader: o,
|
|
10350
10351
|
setShowUploader: s,
|
|
@@ -10353,20 +10354,20 @@ function Hl({ columns: e, primaryKey: t, loadData: n, scaleClient: r, onComplete
|
|
|
10353
10354
|
openUploaderWithFile: Se,
|
|
10354
10355
|
variant: a ?? "editor",
|
|
10355
10356
|
isViewer: a === "viewer",
|
|
10356
|
-
search:
|
|
10357
|
-
setSearch:
|
|
10358
|
-
matchCase:
|
|
10359
|
-
setMatchCase:
|
|
10357
|
+
search: ae,
|
|
10358
|
+
setSearch: oe,
|
|
10359
|
+
matchCase: se,
|
|
10360
|
+
setMatchCase: H,
|
|
10360
10361
|
matchEntireCell: ce,
|
|
10361
10362
|
setMatchEntireCell: le,
|
|
10362
10363
|
searchMode: ue,
|
|
10363
10364
|
setSearchMode: de,
|
|
10364
10365
|
filterColumns: fe,
|
|
10365
10366
|
setFilterColumns: pe,
|
|
10366
|
-
navigateToCell:
|
|
10367
|
-
navigateToCellRef:
|
|
10368
|
-
resetScrollRef:
|
|
10369
|
-
scrollToGridTop:
|
|
10367
|
+
navigateToCell: ee,
|
|
10368
|
+
navigateToCellRef: z,
|
|
10369
|
+
resetScrollRef: B,
|
|
10370
|
+
scrollToGridTop: ne,
|
|
10370
10371
|
portalRef: _e,
|
|
10371
10372
|
readonly: a === "viewer" ? !0 : y ?? !1,
|
|
10372
10373
|
filtersResetKey: me,
|
|
@@ -10452,7 +10453,7 @@ var ql = ({ children: e }) => /* @__PURE__ */ C("div", {
|
|
|
10452
10453
|
children: e.map((e) => /* @__PURE__ */ w("div", {
|
|
10453
10454
|
className: T("updog__editor-toast", `updog__editor-toast--${e.variant || "info"}`),
|
|
10454
10455
|
children: [
|
|
10455
|
-
e.variant === "error" ? /* @__PURE__ */ C(
|
|
10456
|
+
e.variant === "error" ? /* @__PURE__ */ C(ne, {
|
|
10456
10457
|
size: "1.25rem",
|
|
10457
10458
|
className: "updog__editor-toast-icon"
|
|
10458
10459
|
}) : /* @__PURE__ */ C(pe, {
|
|
@@ -10714,61 +10715,61 @@ var cu = ({ open: e, onClose: t, onConfirm: n, loading: r = !1 }) => {
|
|
|
10714
10715
|
e,
|
|
10715
10716
|
n,
|
|
10716
10717
|
N
|
|
10717
|
-
]), L = s("dataEditor.footer.export"),
|
|
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(() => [
|
|
10718
10719
|
{
|
|
10719
10720
|
menuId: "csv",
|
|
10720
10721
|
format: "csv",
|
|
10721
|
-
text:
|
|
10722
|
+
text: z
|
|
10722
10723
|
},
|
|
10723
10724
|
{
|
|
10724
10725
|
menuId: "tsv",
|
|
10725
10726
|
format: "tsv",
|
|
10726
|
-
text:
|
|
10727
|
+
text: V
|
|
10727
10728
|
},
|
|
10728
10729
|
{
|
|
10729
10730
|
menuId: "excel",
|
|
10730
10731
|
format: "xlsx",
|
|
10731
|
-
text:
|
|
10732
|
+
text: B
|
|
10732
10733
|
},
|
|
10733
10734
|
{
|
|
10734
10735
|
menuId: "json",
|
|
10735
10736
|
format: "json",
|
|
10736
|
-
text:
|
|
10737
|
+
text: ne
|
|
10737
10738
|
},
|
|
10738
10739
|
{
|
|
10739
10740
|
menuId: "xml",
|
|
10740
10741
|
format: "xml",
|
|
10741
|
-
text:
|
|
10742
|
+
text: re
|
|
10742
10743
|
}
|
|
10743
10744
|
], [
|
|
10745
|
+
z,
|
|
10744
10746
|
V,
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
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));
|
|
10751
10752
|
return [{
|
|
10752
10753
|
id: "export-all",
|
|
10753
|
-
text:
|
|
10754
|
+
text: ee,
|
|
10754
10755
|
options: e.map((e) => ({
|
|
10755
10756
|
id: `all-${e.menuId}`,
|
|
10756
10757
|
text: e.text
|
|
10757
10758
|
}))
|
|
10758
10759
|
}, {
|
|
10759
10760
|
id: "export-filtered",
|
|
10760
|
-
text:
|
|
10761
|
+
text: te,
|
|
10761
10762
|
options: e.map((e) => ({
|
|
10762
10763
|
id: `filtered-${e.menuId}`,
|
|
10763
10764
|
text: e.text
|
|
10764
10765
|
}))
|
|
10765
10766
|
}];
|
|
10766
10767
|
}, [
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10768
|
+
ee,
|
|
10769
|
+
te,
|
|
10770
|
+
ie,
|
|
10770
10771
|
r
|
|
10771
|
-
]),
|
|
10772
|
+
]), se = f((n) => {
|
|
10772
10773
|
let [r, i] = n.split("-"), a = {
|
|
10773
10774
|
csv: "csv",
|
|
10774
10775
|
tsv: "tsv",
|
|
@@ -10787,7 +10788,7 @@ var cu = ({ open: e, onClose: t, onConfirm: n, loading: r = !1 }) => {
|
|
|
10787
10788
|
e,
|
|
10788
10789
|
t,
|
|
10789
10790
|
c
|
|
10790
|
-
]),
|
|
10791
|
+
]), H = s("dataEditor.footer.submit"), ce = !T || D || P || O;
|
|
10791
10792
|
return /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ w("footer", {
|
|
10792
10793
|
className: "updog__data-editor-footer",
|
|
10793
10794
|
children: [/* @__PURE__ */ C(lu, {}), /* @__PURE__ */ w("div", {
|
|
@@ -10814,9 +10815,9 @@ var cu = ({ open: e, onClose: t, onConfirm: n, loading: r = !1 }) => {
|
|
|
10814
10815
|
children: /* @__PURE__ */ C(we, { className: "rtl-mirror" })
|
|
10815
10816
|
})
|
|
10816
10817
|
})] }),
|
|
10817
|
-
|
|
10818
|
-
options:
|
|
10819
|
-
onSelect:
|
|
10818
|
+
ae && /* @__PURE__ */ C(Fa, {
|
|
10819
|
+
options: oe,
|
|
10820
|
+
onSelect: se,
|
|
10820
10821
|
placement: "top-end",
|
|
10821
10822
|
children: /* @__PURE__ */ C(J, {
|
|
10822
10823
|
variant: "outlined",
|
|
@@ -10835,7 +10836,7 @@ var cu = ({ open: e, onClose: t, onConfirm: n, loading: r = !1 }) => {
|
|
|
10835
10836
|
children: /* @__PURE__ */ C(J, {
|
|
10836
10837
|
disabled: ce,
|
|
10837
10838
|
onClick: M,
|
|
10838
|
-
children:
|
|
10839
|
+
children: H
|
|
10839
10840
|
})
|
|
10840
10841
|
})
|
|
10841
10842
|
]
|
|
@@ -12323,11 +12324,11 @@ var hd = ({ editing: e, editingSnapshot: t, style: n, onAfterEdit: r, column: i
|
|
|
12323
12324
|
size: Z,
|
|
12324
12325
|
className: "rtl-mirror"
|
|
12325
12326
|
}),
|
|
12326
|
-
copy: /* @__PURE__ */ C(
|
|
12327
|
+
copy: /* @__PURE__ */ C(ae, {
|
|
12327
12328
|
size: Z,
|
|
12328
12329
|
className: "rtl-mirror"
|
|
12329
12330
|
}),
|
|
12330
|
-
paste: /* @__PURE__ */ C(
|
|
12331
|
+
paste: /* @__PURE__ */ C(ie, {
|
|
12331
12332
|
size: Z,
|
|
12332
12333
|
className: "rtl-mirror"
|
|
12333
12334
|
}),
|
|
@@ -12335,11 +12336,11 @@ var hd = ({ editing: e, editingSnapshot: t, style: n, onAfterEdit: r, column: i
|
|
|
12335
12336
|
size: Z,
|
|
12336
12337
|
className: "rtl-mirror"
|
|
12337
12338
|
}),
|
|
12338
|
-
"column-copy": /* @__PURE__ */ C(
|
|
12339
|
+
"column-copy": /* @__PURE__ */ C(ae, {
|
|
12339
12340
|
size: Z,
|
|
12340
12341
|
className: "rtl-mirror"
|
|
12341
12342
|
}),
|
|
12342
|
-
"column-paste": /* @__PURE__ */ C(
|
|
12343
|
+
"column-paste": /* @__PURE__ */ C(ie, {
|
|
12343
12344
|
size: Z,
|
|
12344
12345
|
className: "rtl-mirror"
|
|
12345
12346
|
}),
|
|
@@ -12363,7 +12364,7 @@ var hd = ({ editing: e, editingSnapshot: t, style: n, onAfterEdit: r, column: i
|
|
|
12363
12364
|
size: Z,
|
|
12364
12365
|
className: "rtl-mirror"
|
|
12365
12366
|
}),
|
|
12366
|
-
"clear-column": /* @__PURE__ */ C(
|
|
12367
|
+
"clear-column": /* @__PURE__ */ C(H, {
|
|
12367
12368
|
size: Z,
|
|
12368
12369
|
className: "rtl-mirror"
|
|
12369
12370
|
}),
|
|
@@ -12388,11 +12389,11 @@ var hd = ({ editing: e, editingSnapshot: t, style: n, onAfterEdit: r, column: i
|
|
|
12388
12389
|
size: Z,
|
|
12389
12390
|
className: "rtl-mirror"
|
|
12390
12391
|
}),
|
|
12391
|
-
"duplicate-row": /* @__PURE__ */ C(
|
|
12392
|
+
"duplicate-row": /* @__PURE__ */ C(oe, {
|
|
12392
12393
|
size: Z,
|
|
12393
12394
|
className: "rtl-mirror"
|
|
12394
12395
|
}),
|
|
12395
|
-
"clear-row": /* @__PURE__ */ C(
|
|
12396
|
+
"clear-row": /* @__PURE__ */ C(H, {
|
|
12396
12397
|
size: Z,
|
|
12397
12398
|
className: "rtl-mirror"
|
|
12398
12399
|
}),
|
|
@@ -17325,7 +17326,7 @@ var Rg = ({ controller: e, store: t, columnSnapshot: n, readonly: r, enableDelet
|
|
|
17325
17326
|
e,
|
|
17326
17327
|
C,
|
|
17327
17328
|
I
|
|
17328
|
-
]),
|
|
17329
|
+
]), ee = f((t) => {
|
|
17329
17330
|
let n = A;
|
|
17330
17331
|
D(), n && e.actions.applyFormula(t, {}, n);
|
|
17331
17332
|
}, [
|
|
@@ -17348,7 +17349,7 @@ var Rg = ({ controller: e, store: t, columnSnapshot: n, readonly: r, enableDelet
|
|
|
17348
17349
|
closeTransformModal: I,
|
|
17349
17350
|
showFormulaModal: T,
|
|
17350
17351
|
closeFormulaModal: D,
|
|
17351
|
-
handleApplyFormula:
|
|
17352
|
+
handleApplyFormula: ee,
|
|
17352
17353
|
formulaColumnIds: O,
|
|
17353
17354
|
formulaScope: A
|
|
17354
17355
|
};
|
|
@@ -19381,12 +19382,12 @@ var C_ = {
|
|
|
19381
19382
|
"--marker-width": "76px",
|
|
19382
19383
|
"--track-size": "12px"
|
|
19383
19384
|
}, w_ = () => {
|
|
19384
|
-
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),
|
|
19385
|
-
if (
|
|
19386
|
-
let { columns: e, pinnedColumnIds: t, stickyOffsets: n } =
|
|
19387
|
-
|
|
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);
|
|
19388
19389
|
}
|
|
19389
|
-
let
|
|
19390
|
+
let re = ne.current;
|
|
19390
19391
|
m(() => (o.current = (e, t) => {
|
|
19391
19392
|
let n = R.columnManager.getColumnIndex(e);
|
|
19392
19393
|
n < 0 || R.selection.navigateToCell(n, t);
|
|
@@ -19403,38 +19404,38 @@ var C_ = {
|
|
|
19403
19404
|
}, [R, g]), m(() => {
|
|
19404
19405
|
R.clipboard.setTranslate(M);
|
|
19405
19406
|
}, [R, M]), m(() => {
|
|
19406
|
-
R.setBounds(h,
|
|
19407
|
+
R.setBounds(h, z.columns.length);
|
|
19407
19408
|
}, [
|
|
19408
19409
|
R,
|
|
19409
19410
|
h,
|
|
19410
|
-
|
|
19411
|
+
z.columns.length
|
|
19411
19412
|
]), m(() => {
|
|
19412
|
-
c.updateColumns(
|
|
19413
|
-
}, [c,
|
|
19414
|
-
let e =
|
|
19413
|
+
c.updateColumns(z.columns);
|
|
19414
|
+
}, [c, z.columns]), m(() => {
|
|
19415
|
+
let e = z.columns;
|
|
19415
19416
|
R.actions.updateColumns(e), R.editing.updateColumns(e), R.clipboard.updateColumns(e);
|
|
19416
|
-
}, [R,
|
|
19417
|
-
let
|
|
19418
|
-
|
|
19419
|
-
}, []),
|
|
19420
|
-
|
|
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);
|
|
19421
19422
|
}, []), ce = f((e) => {
|
|
19422
|
-
|
|
19423
|
-
...
|
|
19423
|
+
ae && e.id && u({
|
|
19424
|
+
...ae,
|
|
19424
19425
|
...e
|
|
19425
|
-
}),
|
|
19426
|
-
}, [
|
|
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({
|
|
19427
19428
|
controller: R,
|
|
19428
19429
|
store: t,
|
|
19429
|
-
columnSnapshot:
|
|
19430
|
+
columnSnapshot: z,
|
|
19430
19431
|
readonly: n,
|
|
19431
19432
|
enableDeleteRow: r,
|
|
19432
19433
|
enableAddRow: i,
|
|
19433
19434
|
sortState: g,
|
|
19434
|
-
dynamicColumnIds:
|
|
19435
|
+
dynamicColumnIds: ie,
|
|
19435
19436
|
enableCreateColumn: d,
|
|
19436
19437
|
showOnlyDeletedRows: E,
|
|
19437
|
-
onEditColumn:
|
|
19438
|
+
onEditColumn: se
|
|
19438
19439
|
});
|
|
19439
19440
|
m(() => {
|
|
19440
19441
|
if (!ue) return;
|
|
@@ -19443,10 +19444,10 @@ var C_ = {
|
|
|
19443
19444
|
e?.removeEventListener("scroll", n), t?.removeEventListener("scroll", n);
|
|
19444
19445
|
};
|
|
19445
19446
|
}, [ue, me]);
|
|
19446
|
-
let Ee = !
|
|
19447
|
+
let Ee = !te.isEditing && ue === null, De = y_(F, ee.focusCell, Ee, re, h, V, I, L), Oe = f((e) => {
|
|
19447
19448
|
R.keyboard.handleKeyDown(e.nativeEvent);
|
|
19448
19449
|
}, [R]);
|
|
19449
|
-
S_(F, R,
|
|
19450
|
+
S_(F, R, re, h, z.columns.length, n, fe, V, I, L);
|
|
19450
19451
|
let ke = f(() => {
|
|
19451
19452
|
F.current?.focus();
|
|
19452
19453
|
}, []);
|
|
@@ -19469,19 +19470,19 @@ var C_ = {
|
|
|
19469
19470
|
controller: R,
|
|
19470
19471
|
store: t,
|
|
19471
19472
|
filteredCount: j,
|
|
19472
|
-
columnSnapshot:
|
|
19473
|
+
columnSnapshot: z,
|
|
19473
19474
|
containerRef: F,
|
|
19474
19475
|
sortState: g,
|
|
19475
|
-
engine:
|
|
19476
|
-
fillHandleRectRef:
|
|
19476
|
+
engine: re,
|
|
19477
|
+
fillHandleRectRef: V,
|
|
19477
19478
|
findReplace: c,
|
|
19478
19479
|
vTrackRef: I,
|
|
19479
19480
|
hTrackRef: L,
|
|
19480
19481
|
onVisibleRangeChange: p
|
|
19481
19482
|
}), /* @__PURE__ */ C(gu, {
|
|
19482
|
-
engine:
|
|
19483
|
+
engine: re,
|
|
19483
19484
|
controller: R,
|
|
19484
|
-
columns:
|
|
19485
|
+
columns: z.columns,
|
|
19485
19486
|
filteredCount: h,
|
|
19486
19487
|
containerRef: F
|
|
19487
19488
|
})]
|
|
@@ -19491,19 +19492,19 @@ var C_ = {
|
|
|
19491
19492
|
target: De,
|
|
19492
19493
|
containerRef: F,
|
|
19493
19494
|
store: t,
|
|
19494
|
-
columns:
|
|
19495
|
+
columns: z.columns,
|
|
19495
19496
|
storeVersion: P,
|
|
19496
|
-
engine:
|
|
19497
|
-
disabled: he !== null ||
|
|
19497
|
+
engine: re,
|
|
19498
|
+
disabled: he !== null || ae !== null || xe
|
|
19498
19499
|
}),
|
|
19499
|
-
|
|
19500
|
-
editing:
|
|
19501
|
-
editingSnapshot:
|
|
19502
|
-
layout:
|
|
19503
|
-
viewport:
|
|
19500
|
+
te.isEditing && /* @__PURE__ */ C(Sd, {
|
|
19501
|
+
editing: B,
|
|
19502
|
+
editingSnapshot: te,
|
|
19503
|
+
layout: re.layout,
|
|
19504
|
+
viewport: re.viewport,
|
|
19504
19505
|
onAfterEdit: ke,
|
|
19505
|
-
columns:
|
|
19506
|
-
},
|
|
19506
|
+
columns: z.columns
|
|
19507
|
+
}, te.version),
|
|
19507
19508
|
/* @__PURE__ */ C("div", {
|
|
19508
19509
|
ref: I,
|
|
19509
19510
|
className: "updog-grid__vtrack",
|
|
@@ -19518,7 +19519,7 @@ var C_ = {
|
|
|
19518
19519
|
className: "updog-grid__htrack",
|
|
19519
19520
|
tabIndex: -1,
|
|
19520
19521
|
children: /* @__PURE__ */ C("div", { style: {
|
|
19521
|
-
width:
|
|
19522
|
+
width: re.layout.getTotalWidth() - 76,
|
|
19522
19523
|
height: 1
|
|
19523
19524
|
} })
|
|
19524
19525
|
}),
|
|
@@ -19549,10 +19550,10 @@ var C_ = {
|
|
|
19549
19550
|
scope: Te,
|
|
19550
19551
|
onApply: Ce
|
|
19551
19552
|
}),
|
|
19552
|
-
|
|
19553
|
+
ae && /* @__PURE__ */ C(fu, {
|
|
19553
19554
|
open: !0,
|
|
19554
|
-
onClose:
|
|
19555
|
-
initialValues:
|
|
19555
|
+
onClose: H,
|
|
19556
|
+
initialValues: ae,
|
|
19556
19557
|
existingNames: le,
|
|
19557
19558
|
onSubmit: ce
|
|
19558
19559
|
})
|
|
@@ -20335,7 +20336,7 @@ var C_ = {
|
|
|
20335
20336
|
y
|
|
20336
20337
|
]), L = f(() => {
|
|
20337
20338
|
n.replaceAll(y);
|
|
20338
|
-
}, [n, y]), R = h > 0,
|
|
20339
|
+
}, [n, y]), R = h > 0, ee = _ ? `${h}...` : `${g + 1}/${h}`;
|
|
20339
20340
|
return /* @__PURE__ */ w("div", {
|
|
20340
20341
|
className: "updog__search-section",
|
|
20341
20342
|
children: [
|
|
@@ -20367,7 +20368,7 @@ var C_ = {
|
|
|
20367
20368
|
/* @__PURE__ */ C(q, {
|
|
20368
20369
|
size: "sm",
|
|
20369
20370
|
className: "updog__search-section__counter-text",
|
|
20370
|
-
children:
|
|
20371
|
+
children: ee
|
|
20371
20372
|
}),
|
|
20372
20373
|
/* @__PURE__ */ C(da, {
|
|
20373
20374
|
content: p("dataEditor.filters.previousOccurrence"),
|
|
@@ -22344,7 +22345,7 @@ var by = () => {
|
|
|
22344
22345
|
w,
|
|
22345
22346
|
h,
|
|
22346
22347
|
c
|
|
22347
|
-
]),
|
|
22348
|
+
]), ee = f(() => T(null), []);
|
|
22348
22349
|
return {
|
|
22349
22350
|
sections: D,
|
|
22350
22351
|
selectOptionsByValue: O,
|
|
@@ -22361,7 +22362,7 @@ var by = () => {
|
|
|
22361
22362
|
changeDelimiter: I,
|
|
22362
22363
|
reapplyDelimiter: L,
|
|
22363
22364
|
submitCreate: R,
|
|
22364
|
-
closeCreate:
|
|
22365
|
+
closeCreate: ee
|
|
22365
22366
|
};
|
|
22366
22367
|
}, Vy = s(null);
|
|
22367
22368
|
function Hy({ children: e }) {
|
|
@@ -22723,7 +22724,7 @@ var ab = () => {
|
|
|
22723
22724
|
children: /* @__PURE__ */ C(J, {
|
|
22724
22725
|
variant: "outlined",
|
|
22725
22726
|
color: "neutral",
|
|
22726
|
-
startIcon: /* @__PURE__ */ C(
|
|
22727
|
+
startIcon: /* @__PURE__ */ C(se, {}),
|
|
22727
22728
|
children: e("dataEditor.uploader.uploadFile.downloadExample")
|
|
22728
22729
|
})
|
|
22729
22730
|
});
|
|
@@ -23107,12 +23108,12 @@ function Rb() {
|
|
|
23107
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(() => {
|
|
23108
23109
|
let e = new Set(Object.values(T).filter(Boolean));
|
|
23109
23110
|
return n.filter((t) => t.unique && e.has(t.id));
|
|
23110
|
-
}, [T, n]), [O, k] = b(() => r), [A, j] = b(!1), [M, N] = b(!1), [P, F] = b(null), [I, L] = b([]), [R,
|
|
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", {
|
|
23111
23112
|
index: e + 1,
|
|
23112
23113
|
value: t
|
|
23113
|
-
}) : p("dataEditor.uploader.matchColumns.syntheticColumn", { index: e + 1 }), [p]), le = v(() => S ? My(S.detection,
|
|
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) : [], [
|
|
23114
23115
|
S,
|
|
23115
|
-
|
|
23116
|
+
se,
|
|
23116
23117
|
le,
|
|
23117
23118
|
ce
|
|
23118
23119
|
]), de = f((e) => {
|
|
@@ -23184,9 +23185,9 @@ function Rb() {
|
|
|
23184
23185
|
l
|
|
23185
23186
|
]);
|
|
23186
23187
|
let we = f(() => {
|
|
23187
|
-
pe.cancel(), w(null), j(!1), E({}),
|
|
23188
|
+
pe.cancel(), w(null), j(!1), E({}), re([]), ae({}), oe.current = null, H(-1), F(null), L([]), ee(null), z([]);
|
|
23188
23189
|
}, [pe]), Te = f((e, t, n) => {
|
|
23189
|
-
F(e), L(t),
|
|
23190
|
+
F(e), L(t), ee(t[0]), z(n), j(!1);
|
|
23190
23191
|
}, []), Ee = f(() => {
|
|
23191
23192
|
!P || !R || (j(!0), pe.parse(P, {
|
|
23192
23193
|
format: "xlsx",
|
|
@@ -23194,7 +23195,7 @@ function Rb() {
|
|
|
23194
23195
|
}).then((e) => {
|
|
23195
23196
|
if (e.kind !== "rows") return;
|
|
23196
23197
|
let t = hy(e.rows);
|
|
23197
|
-
|
|
23198
|
+
H(t.headerRowIndex), Se({
|
|
23198
23199
|
fileName: P.name,
|
|
23199
23200
|
rawRows: e.rows,
|
|
23200
23201
|
detection: t,
|
|
@@ -23218,7 +23219,7 @@ function Rb() {
|
|
|
23218
23219
|
return;
|
|
23219
23220
|
}
|
|
23220
23221
|
let n = hy(e.rows);
|
|
23221
|
-
if (
|
|
23222
|
+
if (H(n.headerRowIndex), Se({
|
|
23222
23223
|
fileName: t.name,
|
|
23223
23224
|
rawRows: e.rows,
|
|
23224
23225
|
detection: n,
|
|
@@ -23249,7 +23250,7 @@ function Rb() {
|
|
|
23249
23250
|
try {
|
|
23250
23251
|
let e = await pe.parse(t, { format: "json" });
|
|
23251
23252
|
if (e.kind !== "records") return;
|
|
23252
|
-
|
|
23253
|
+
H(0), Se({
|
|
23253
23254
|
fileName: t.name,
|
|
23254
23255
|
rawRows: Fy(e.headers, e.rows),
|
|
23255
23256
|
detection: Py()
|
|
@@ -23271,7 +23272,7 @@ function Rb() {
|
|
|
23271
23272
|
try {
|
|
23272
23273
|
let e = await pe.parse(t, { format: "xml" });
|
|
23273
23274
|
if (e.kind !== "records") return;
|
|
23274
|
-
|
|
23275
|
+
H(0), Se({
|
|
23275
23276
|
fileName: t.name,
|
|
23276
23277
|
rawRows: Fy(e.headers, e.rows),
|
|
23277
23278
|
detection: Py()
|
|
@@ -23306,7 +23307,7 @@ function Rb() {
|
|
|
23306
23307
|
}
|
|
23307
23308
|
if (e.kind !== "rows") return;
|
|
23308
23309
|
let n = hy(e.rows);
|
|
23309
|
-
|
|
23310
|
+
H(n.headerRowIndex), Se({
|
|
23310
23311
|
fileName: t.name,
|
|
23311
23312
|
rawRows: e.rows,
|
|
23312
23313
|
detection: n,
|
|
@@ -23328,7 +23329,7 @@ function Rb() {
|
|
|
23328
23329
|
e,
|
|
23329
23330
|
ce
|
|
23330
23331
|
]), je = f((e) => {
|
|
23331
|
-
j(!0),
|
|
23332
|
+
j(!0), oe.current = e;
|
|
23332
23333
|
let t = e.name.split(".").pop()?.toLowerCase();
|
|
23333
23334
|
t && Lb.has(t) ? Ae(e) : t === "json" ? Oe(e) : t === "xml" ? ke(e) : De(e);
|
|
23334
23335
|
}, [
|
|
@@ -23365,7 +23366,7 @@ function Rb() {
|
|
|
23365
23366
|
}
|
|
23366
23367
|
return t;
|
|
23367
23368
|
});
|
|
23368
|
-
|
|
23369
|
+
H(0), Se({
|
|
23369
23370
|
fileName: e.label,
|
|
23370
23371
|
rawRows: Fy(n, r),
|
|
23371
23372
|
detection: Py()
|
|
@@ -23448,11 +23449,11 @@ function Rb() {
|
|
|
23448
23449
|
let e = {};
|
|
23449
23450
|
for (let [t, n] of Object.entries(ze)) e[t] = {
|
|
23450
23451
|
...n,
|
|
23451
|
-
...
|
|
23452
|
+
...B[t]
|
|
23452
23453
|
};
|
|
23453
23454
|
return e;
|
|
23454
|
-
}, [ze,
|
|
23455
|
-
|
|
23455
|
+
}, [ze, B]), Ge = f((e, t, n) => {
|
|
23456
|
+
ne((r) => ({
|
|
23456
23457
|
...r,
|
|
23457
23458
|
[e]: {
|
|
23458
23459
|
...r[e],
|
|
@@ -23482,7 +23483,7 @@ function Rb() {
|
|
|
23482
23483
|
ue,
|
|
23483
23484
|
le
|
|
23484
23485
|
]), Je = f((e, t) => {
|
|
23485
|
-
|
|
23486
|
+
ae((n) => {
|
|
23486
23487
|
let r = n[e] ?? [];
|
|
23487
23488
|
return r.includes(t) ? n : {
|
|
23488
23489
|
...n,
|
|
@@ -23494,16 +23495,16 @@ function Rb() {
|
|
|
23494
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);
|
|
23495
23496
|
return t;
|
|
23496
23497
|
}, [T, n]), Xe = f(() => {
|
|
23497
|
-
let e = new Set(
|
|
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));
|
|
23498
23499
|
return {
|
|
23499
23500
|
columnMapping: T,
|
|
23500
23501
|
valueMapping: We,
|
|
23501
23502
|
primaryKey: O ?? r,
|
|
23502
23503
|
selectedSheet: R ?? void 0,
|
|
23503
|
-
headerRowIndex:
|
|
23504
|
+
headerRowIndex: se,
|
|
23504
23505
|
numberFormat: a,
|
|
23505
23506
|
dateFormat: o,
|
|
23506
|
-
newColumns:
|
|
23507
|
+
newColumns: V
|
|
23507
23508
|
};
|
|
23508
23509
|
}, [
|
|
23509
23510
|
S,
|
|
@@ -23512,19 +23513,19 @@ function Rb() {
|
|
|
23512
23513
|
O,
|
|
23513
23514
|
R,
|
|
23514
23515
|
r,
|
|
23515
|
-
|
|
23516
|
+
se,
|
|
23516
23517
|
ue,
|
|
23517
23518
|
le,
|
|
23518
|
-
|
|
23519
|
+
V,
|
|
23519
23520
|
n,
|
|
23520
23521
|
Ye
|
|
23521
23522
|
]), Ze = f(async () => {
|
|
23522
|
-
if (!
|
|
23523
|
+
if (!oe.current || !d?.onFileImport) return;
|
|
23523
23524
|
let t = new AbortController(), n = Xe();
|
|
23524
23525
|
await d.onFileImport({
|
|
23525
|
-
file:
|
|
23526
|
+
file: oe.current,
|
|
23526
23527
|
mappings: n,
|
|
23527
|
-
sourceName:
|
|
23528
|
+
sourceName: oe.current.name,
|
|
23528
23529
|
signal: t.signal
|
|
23529
23530
|
}), e.reloadServerData();
|
|
23530
23531
|
}, [
|
|
@@ -23535,7 +23536,7 @@ function Rb() {
|
|
|
23535
23536
|
if (!S || !d?.onRowsImport) return;
|
|
23536
23537
|
let t = S;
|
|
23537
23538
|
w(null);
|
|
23538
|
-
let r = crypto.randomUUID(), i = Xe(), a = new AbortController(), o = d.importChunkSize ?? Pb, s = gb(T, n, new Set(
|
|
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 = {
|
|
23539
23540
|
numberFormat: i.numberFormat,
|
|
23540
23541
|
dateFormat: i.dateFormat,
|
|
23541
23542
|
monthTable: ic(p),
|
|
@@ -23560,7 +23561,7 @@ function Rb() {
|
|
|
23560
23561
|
chunkIndex: h,
|
|
23561
23562
|
isLastChunk: p,
|
|
23562
23563
|
rows: n,
|
|
23563
|
-
newColumns: h === 0 &&
|
|
23564
|
+
newColumns: h === 0 && V.length > 0 ? V : void 0,
|
|
23564
23565
|
primaryKey: i.primaryKey,
|
|
23565
23566
|
signal: a.signal
|
|
23566
23567
|
});
|
|
@@ -23573,7 +23574,7 @@ function Rb() {
|
|
|
23573
23574
|
d,
|
|
23574
23575
|
Xe,
|
|
23575
23576
|
T,
|
|
23576
|
-
|
|
23577
|
+
V,
|
|
23577
23578
|
n,
|
|
23578
23579
|
ue,
|
|
23579
23580
|
le,
|
|
@@ -23588,11 +23589,11 @@ function Rb() {
|
|
|
23588
23589
|
}
|
|
23589
23590
|
let i = S;
|
|
23590
23591
|
setTimeout(() => {
|
|
23591
|
-
let a = new Set(
|
|
23592
|
-
|
|
23593
|
-
for (let [t, n] of Object.entries(
|
|
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);
|
|
23594
23595
|
let o = e.registerSource({ name: i.fileName });
|
|
23595
|
-
e.setSourceLoading(o, !0), e.recordLearnedSynonyms(Sb(T, We, [...n, ...
|
|
23596
|
+
e.setSourceLoading(o, !0), e.recordLearnedSynonyms(Sb(T, We, [...n, ...V], Sv(xv, l)));
|
|
23596
23597
|
let s = ue, c = i.delimiter ?? ",", d = i.rawRows, f = [];
|
|
23597
23598
|
for (let e = le; e < d.length; e++) {
|
|
23598
23599
|
let t = d[e];
|
|
@@ -23659,8 +23660,8 @@ function Rb() {
|
|
|
23659
23660
|
}), [
|
|
23660
23661
|
S,
|
|
23661
23662
|
T,
|
|
23662
|
-
|
|
23663
|
-
|
|
23663
|
+
V,
|
|
23664
|
+
ie,
|
|
23664
23665
|
O,
|
|
23665
23666
|
e,
|
|
23666
23667
|
t,
|
|
@@ -23694,20 +23695,20 @@ function Rb() {
|
|
|
23694
23695
|
multiselectDelimiters: Ve,
|
|
23695
23696
|
setMultiselectDelimiter: Ke,
|
|
23696
23697
|
reapplyMultiselectDelimiter: qe,
|
|
23697
|
-
pendingOptions:
|
|
23698
|
+
pendingOptions: ie,
|
|
23698
23699
|
addPendingOption: Je,
|
|
23699
23700
|
xlsxFile: P,
|
|
23700
23701
|
sheetNames: I,
|
|
23701
23702
|
selectedSheet: R,
|
|
23702
|
-
setSelectedSheet:
|
|
23703
|
+
setSelectedSheet: ee,
|
|
23703
23704
|
handleSheetConfirmed: Ee,
|
|
23704
23705
|
handleXlsxMultiSheet: Te,
|
|
23705
|
-
sheetPreviews:
|
|
23706
|
+
sheetPreviews: te,
|
|
23706
23707
|
primaryKey: O,
|
|
23707
23708
|
onPrimaryKeyChange: de,
|
|
23708
23709
|
primaryKeyColumns: D,
|
|
23709
|
-
pendingColumns:
|
|
23710
|
-
setPendingColumns:
|
|
23710
|
+
pendingColumns: V,
|
|
23711
|
+
setPendingColumns: re,
|
|
23711
23712
|
isParsing: A,
|
|
23712
23713
|
setIsParsing: j,
|
|
23713
23714
|
isImporting: M,
|
|
@@ -23736,8 +23737,8 @@ function Rb() {
|
|
|
23736
23737
|
remoteSourceError: Pe,
|
|
23737
23738
|
clearRemoteSourceError: Ie,
|
|
23738
23739
|
handleRemoteSourceSelect: Le,
|
|
23739
|
-
headerRowIndex:
|
|
23740
|
-
setHeaderRowIndex:
|
|
23740
|
+
headerRowIndex: se,
|
|
23741
|
+
setHeaderRowIndex: H,
|
|
23741
23742
|
headers: ue,
|
|
23742
23743
|
dataStartIndex: le
|
|
23743
23744
|
};
|