@purpurds/table 8.13.0 → 8.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +16 -16
- package/dist/table.cjs.js +7 -7
- package/dist/table.cjs.js.map +1 -1
- package/dist/table.es.js +433 -433
- package/dist/table.es.js.map +1 -1
- package/package.json +23 -23
package/dist/table.es.js
CHANGED
|
@@ -570,7 +570,7 @@ function Bg(e, t, r) {
|
|
|
570
570
|
const o = e.filter((n) => !t.includes(n.id));
|
|
571
571
|
return r === "remove" ? o : [...t.map((n) => e.find((a) => a.id === n)).filter(Boolean), ...o];
|
|
572
572
|
}
|
|
573
|
-
const
|
|
573
|
+
const qg = {
|
|
574
574
|
getInitialState: (e) => ({
|
|
575
575
|
columnOrder: [],
|
|
576
576
|
...e
|
|
@@ -610,7 +610,7 @@ const Hg = {
|
|
|
610
610
|
}, Uo = () => ({
|
|
611
611
|
left: [],
|
|
612
612
|
right: []
|
|
613
|
-
}),
|
|
613
|
+
}), Hg = {
|
|
614
614
|
getInitialState: (e) => ({
|
|
615
615
|
columnPinning: Uo(),
|
|
616
616
|
...e
|
|
@@ -1496,8 +1496,8 @@ const Kr = {
|
|
|
1496
1496
|
}, sh = [
|
|
1497
1497
|
Og,
|
|
1498
1498
|
Ug,
|
|
1499
|
-
Hg,
|
|
1500
1499
|
qg,
|
|
1500
|
+
Hg,
|
|
1501
1501
|
Pg,
|
|
1502
1502
|
Dg,
|
|
1503
1503
|
Xg,
|
|
@@ -2337,7 +2337,7 @@ function Er(e, t) {
|
|
|
2337
2337
|
[e, t]
|
|
2338
2338
|
);
|
|
2339
2339
|
}
|
|
2340
|
-
function
|
|
2340
|
+
function qc() {
|
|
2341
2341
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
2342
2342
|
t[r] = arguments[r];
|
|
2343
2343
|
return X(
|
|
@@ -2350,7 +2350,7 @@ const nt = /* @__PURE__ */ Object.freeze({
|
|
|
2350
2350
|
x: 0,
|
|
2351
2351
|
y: 0
|
|
2352
2352
|
});
|
|
2353
|
-
function
|
|
2353
|
+
function Hc(e, t) {
|
|
2354
2354
|
return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
|
|
2355
2355
|
}
|
|
2356
2356
|
function jh(e, t) {
|
|
@@ -2432,7 +2432,7 @@ const Zc = (e) => {
|
|
|
2432
2432
|
id: l
|
|
2433
2433
|
} = a, s = r.get(l);
|
|
2434
2434
|
if (s) {
|
|
2435
|
-
const u =
|
|
2435
|
+
const u = Hc(rl(s), i);
|
|
2436
2436
|
n.push({
|
|
2437
2437
|
id: l,
|
|
2438
2438
|
data: {
|
|
@@ -2455,7 +2455,7 @@ const Zc = (e) => {
|
|
|
2455
2455
|
id: l
|
|
2456
2456
|
} = a, s = r.get(l);
|
|
2457
2457
|
if (s) {
|
|
2458
|
-
const u = tl(s), c = i.reduce((g, f, v) => g +
|
|
2458
|
+
const u = tl(s), c = i.reduce((g, f, v) => g + Hc(u[v], f), 0), d = Number((c / 4).toFixed(4));
|
|
2459
2459
|
n.push({
|
|
2460
2460
|
id: l,
|
|
2461
2461
|
data: {
|
|
@@ -2475,7 +2475,7 @@ function Bh(e, t) {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
return 0;
|
|
2477
2477
|
}
|
|
2478
|
-
const
|
|
2478
|
+
const qh = (e) => {
|
|
2479
2479
|
let {
|
|
2480
2480
|
collisionRect: t,
|
|
2481
2481
|
droppableRects: r,
|
|
@@ -2499,7 +2499,7 @@ const Hh = (e) => {
|
|
|
2499
2499
|
}
|
|
2500
2500
|
return i.sort(zh);
|
|
2501
2501
|
};
|
|
2502
|
-
function
|
|
2502
|
+
function Hh(e, t, r) {
|
|
2503
2503
|
return {
|
|
2504
2504
|
...e,
|
|
2505
2505
|
scaleX: t && r ? t.width / r.width : 1,
|
|
@@ -2818,10 +2818,10 @@ function ni(e, t) {
|
|
|
2818
2818
|
const r = Math.abs(e.x), o = Math.abs(e.y);
|
|
2819
2819
|
return typeof t == "number" ? Math.sqrt(r ** 2 + o ** 2) > t : "x" in t && "y" in t ? r > t.x && o > t.y : "x" in t ? r > t.x : "y" in t ? o > t.y : !1;
|
|
2820
2820
|
}
|
|
2821
|
-
var
|
|
2821
|
+
var He;
|
|
2822
2822
|
(function(e) {
|
|
2823
2823
|
e.Click = "click", e.DragStart = "dragstart", e.Keydown = "keydown", e.ContextMenu = "contextmenu", e.Resize = "resize", e.SelectionChange = "selectionchange", e.VisibilityChange = "visibilitychange";
|
|
2824
|
-
})(
|
|
2824
|
+
})(He || (He = {}));
|
|
2825
2825
|
function ol(e) {
|
|
2826
2826
|
e.preventDefault();
|
|
2827
2827
|
}
|
|
@@ -2874,7 +2874,7 @@ class So {
|
|
|
2874
2874
|
this.props = t, this.listeners = new gn(Fr(r)), this.windowListeners = new gn(ye(r)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
|
|
2875
2875
|
}
|
|
2876
2876
|
attach() {
|
|
2877
|
-
this.handleStart(), this.windowListeners.add(
|
|
2877
|
+
this.handleStart(), this.windowListeners.add(He.Resize, this.handleCancel), this.windowListeners.add(He.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(He.Keydown, this.handleKeyDown));
|
|
2878
2878
|
}
|
|
2879
2879
|
handleStart() {
|
|
2880
2880
|
const {
|
|
@@ -3041,7 +3041,7 @@ class fa {
|
|
|
3041
3041
|
} = this;
|
|
3042
3042
|
if (this.listeners.add(t.move.name, this.handleMove, {
|
|
3043
3043
|
passive: !1
|
|
3044
|
-
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(
|
|
3044
|
+
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(He.Resize, this.handleCancel), this.windowListeners.add(He.DragStart, ol), this.windowListeners.add(He.VisibilityChange, this.handleCancel), this.windowListeners.add(He.ContextMenu, ol), this.documentListeners.add(He.Keydown, this.handleKeydown), r) {
|
|
3045
3045
|
if (o != null && o({
|
|
3046
3046
|
event: this.props.event,
|
|
3047
3047
|
activeNode: this.props.activeNode,
|
|
@@ -3075,9 +3075,9 @@ class fa {
|
|
|
3075
3075
|
} = this, {
|
|
3076
3076
|
onStart: r
|
|
3077
3077
|
} = this.props;
|
|
3078
|
-
t && (this.activated = !0, this.documentListeners.add(
|
|
3078
|
+
t && (this.activated = !0, this.documentListeners.add(He.Click, i_, {
|
|
3079
3079
|
capture: !0
|
|
3080
|
-
}), this.removeTextSelection(), this.documentListeners.add(
|
|
3080
|
+
}), this.removeTextSelection(), this.documentListeners.add(He.SelectionChange, this.removeTextSelection), r(t));
|
|
3081
3081
|
}
|
|
3082
3082
|
handleMove(t) {
|
|
3083
3083
|
var r;
|
|
@@ -3170,10 +3170,10 @@ const s_ = {
|
|
|
3170
3170
|
name: "mouseup"
|
|
3171
3171
|
}
|
|
3172
3172
|
};
|
|
3173
|
-
var
|
|
3173
|
+
var qi;
|
|
3174
3174
|
(function(e) {
|
|
3175
3175
|
e[e.RightClick = 2] = "RightClick";
|
|
3176
|
-
})(
|
|
3176
|
+
})(qi || (qi = {}));
|
|
3177
3177
|
class u_ extends fa {
|
|
3178
3178
|
constructor(t) {
|
|
3179
3179
|
super(t, s_, Fr(t.event.target));
|
|
@@ -3187,7 +3187,7 @@ u_.activators = [{
|
|
|
3187
3187
|
} = e, {
|
|
3188
3188
|
onActivation: o
|
|
3189
3189
|
} = t;
|
|
3190
|
-
return r.button ===
|
|
3190
|
+
return r.button === qi.RightClick ? !1 : (o?.({
|
|
3191
3191
|
event: r
|
|
3192
3192
|
}), !0);
|
|
3193
3193
|
}
|
|
@@ -3394,10 +3394,10 @@ var Pr;
|
|
|
3394
3394
|
(function(e) {
|
|
3395
3395
|
e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
|
|
3396
3396
|
})(Pr || (Pr = {}));
|
|
3397
|
-
var
|
|
3397
|
+
var Hi;
|
|
3398
3398
|
(function(e) {
|
|
3399
3399
|
e.Optimized = "optimized";
|
|
3400
|
-
})(
|
|
3400
|
+
})(Hi || (Hi = {}));
|
|
3401
3401
|
const ll = /* @__PURE__ */ new Map();
|
|
3402
3402
|
function h_(e, t) {
|
|
3403
3403
|
let {
|
|
@@ -3711,7 +3711,7 @@ const R_ = [{
|
|
|
3711
3711
|
droppable: {
|
|
3712
3712
|
measure: nl,
|
|
3713
3713
|
strategy: Pr.WhileDragging,
|
|
3714
|
-
frequency:
|
|
3714
|
+
frequency: Hi.Optimized
|
|
3715
3715
|
},
|
|
3716
3716
|
dragOverlay: {
|
|
3717
3717
|
measure: jr
|
|
@@ -3992,10 +3992,10 @@ const Eo = /* @__PURE__ */ Ir({
|
|
|
3992
3992
|
scaleX: 1,
|
|
3993
3993
|
scaleY: 1
|
|
3994
3994
|
});
|
|
3995
|
-
var
|
|
3995
|
+
var Ht;
|
|
3996
3996
|
(function(e) {
|
|
3997
3997
|
e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
|
|
3998
|
-
})(
|
|
3998
|
+
})(Ht || (Ht = {}));
|
|
3999
3999
|
const ud = /* @__PURE__ */ yg(function(t) {
|
|
4000
4000
|
var r, o, i, n;
|
|
4001
4001
|
let {
|
|
@@ -4004,12 +4004,12 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4004
4004
|
autoScroll: s = !0,
|
|
4005
4005
|
children: u,
|
|
4006
4006
|
sensors: c = R_,
|
|
4007
|
-
collisionDetection: d =
|
|
4007
|
+
collisionDetection: d = qh,
|
|
4008
4008
|
measuring: g,
|
|
4009
4009
|
modifiers: f,
|
|
4010
4010
|
...v
|
|
4011
4011
|
} = t;
|
|
4012
|
-
const _ = $g(P_, void 0, O_), [m, b] = _, [y, w] = Ih(), [$, S] = T(
|
|
4012
|
+
const _ = $g(P_, void 0, O_), [m, b] = _, [y, w] = Ih(), [$, S] = T(Ht.Uninitialized), C = $ === Ht.Initialized, {
|
|
4013
4013
|
draggable: {
|
|
4014
4014
|
active: x,
|
|
4015
4015
|
nodes: R,
|
|
@@ -4029,7 +4029,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4029
4029
|
data: (re = P?.data) != null ? re : E_,
|
|
4030
4030
|
rect: L
|
|
4031
4031
|
} : null;
|
|
4032
|
-
}, [x, P]), k = j(null), [W, Z] = T(null), [F, I] = T(null),
|
|
4032
|
+
}, [x, P]), k = j(null), [W, Z] = T(null), [F, I] = T(null), q = vn(v, Object.values(v)), ae = xn("DndDescribedBy", a), Ze = X(() => O.getEnabled(), [O]), le = A_(g), {
|
|
4033
4033
|
droppableRects: $e,
|
|
4034
4034
|
measureDroppableContainers: Ue,
|
|
4035
4035
|
measuringScheduled: Xe
|
|
@@ -4044,7 +4044,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4044
4044
|
initialRect: U,
|
|
4045
4045
|
measure: le.draggable.measure
|
|
4046
4046
|
});
|
|
4047
|
-
const
|
|
4047
|
+
const H = sl(de, le.draggable.measure, U), lt = sl(de ? de.parentElement : null), ve = j({
|
|
4048
4048
|
activatorEvent: null,
|
|
4049
4049
|
active: null,
|
|
4050
4050
|
activeNode: de,
|
|
@@ -4060,7 +4060,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4060
4060
|
scrollAdjustedTranslate: null
|
|
4061
4061
|
}), xe = O.getNodeFor((r = ve.current.over) == null ? void 0 : r.id), je = C_({
|
|
4062
4062
|
measure: le.dragOverlay.measure
|
|
4063
|
-
}), yt = (o = je.nodeRef.current) != null ? o : de, $t = C ? (i = je.rect) != null ? i :
|
|
4063
|
+
}), yt = (o = je.nodeRef.current) != null ? o : de, $t = C ? (i = je.rect) != null ? i : H : null, Hr = !!(je.nodeRef.current && je.rect), Wr = b_(Hr ? null : H), Gr = od(yt ? ye(yt) : null), st = w_(C ? xe ?? de : null), dr = S_(st), pr = sd(f, {
|
|
4064
4064
|
transform: {
|
|
4065
4065
|
x: E.x - Wr.x,
|
|
4066
4066
|
y: E.y - Wr.y,
|
|
@@ -4069,7 +4069,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4069
4069
|
},
|
|
4070
4070
|
activatorEvent: F,
|
|
4071
4071
|
active: D,
|
|
4072
|
-
activeNodeRect:
|
|
4072
|
+
activeNodeRect: H,
|
|
4073
4073
|
containerNodeRect: lt,
|
|
4074
4074
|
draggingNodeRect: $t,
|
|
4075
4075
|
over: ve.current.over,
|
|
@@ -4077,13 +4077,13 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4077
4077
|
scrollableAncestors: st,
|
|
4078
4078
|
scrollableAncestorRects: dr,
|
|
4079
4079
|
windowRect: Gr
|
|
4080
|
-
}), En = pe ? Rr(pe, E) : null, Nn = y_(st), Ye = cl(Nn), ut = cl(Nn, [
|
|
4080
|
+
}), En = pe ? Rr(pe, E) : null, Nn = y_(st), Ye = cl(Nn), ut = cl(Nn, [H]), ze = Rr(pr, Ye), xt = $t ? Gh($t, pr) : null, kt = D && xt ? d({
|
|
4081
4081
|
active: D,
|
|
4082
4082
|
collisionRect: xt,
|
|
4083
4083
|
droppableRects: $e,
|
|
4084
4084
|
droppableContainers: Ze,
|
|
4085
4085
|
pointerCoordinates: En
|
|
4086
|
-
}) : null, Zr = Gc(kt, "id"), [Ke, Ur] = T(null), ct =
|
|
4086
|
+
}) : null, Zr = Gc(kt, "id"), [Ke, Ur] = T(null), ct = Hr ? pr : Rr(pr, ut), St = Hh(ct, (n = Ke?.rect) != null ? n : null, H), It = j(null), Jt = ie(
|
|
4087
4087
|
(re, me) => {
|
|
4088
4088
|
let {
|
|
4089
4089
|
sensor: fe,
|
|
@@ -4107,7 +4107,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4107
4107
|
return;
|
|
4108
4108
|
const {
|
|
4109
4109
|
onDragAbort: Oe
|
|
4110
|
-
} =
|
|
4110
|
+
} = q.current, Je = {
|
|
4111
4111
|
id: ne
|
|
4112
4112
|
};
|
|
4113
4113
|
Oe?.(Je), y({
|
|
@@ -4120,7 +4120,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4120
4120
|
return;
|
|
4121
4121
|
const {
|
|
4122
4122
|
onDragPending: gt
|
|
4123
|
-
} =
|
|
4123
|
+
} = q.current, Be = {
|
|
4124
4124
|
id: ne,
|
|
4125
4125
|
constraint: pt,
|
|
4126
4126
|
initialCoordinates: Oe,
|
|
@@ -4140,7 +4140,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4140
4140
|
return;
|
|
4141
4141
|
const {
|
|
4142
4142
|
onDragStart: Je
|
|
4143
|
-
} =
|
|
4143
|
+
} = q.current, ft = {
|
|
4144
4144
|
activatorEvent: be,
|
|
4145
4145
|
active: {
|
|
4146
4146
|
id: pt,
|
|
@@ -4149,7 +4149,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4149
4149
|
}
|
|
4150
4150
|
};
|
|
4151
4151
|
Pn(() => {
|
|
4152
|
-
Je?.(ft), S(
|
|
4152
|
+
Je?.(ft), S(Ht.Initializing), b({
|
|
4153
4153
|
type: oe.DragStart,
|
|
4154
4154
|
initialCoordinates: ne,
|
|
4155
4155
|
active: pt
|
|
@@ -4181,7 +4181,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4181
4181
|
if (Oe && gt) {
|
|
4182
4182
|
const {
|
|
4183
4183
|
cancelDrop: Lt
|
|
4184
|
-
} =
|
|
4184
|
+
} = q.current;
|
|
4185
4185
|
Be = {
|
|
4186
4186
|
activatorEvent: be,
|
|
4187
4187
|
active: Oe,
|
|
@@ -4193,10 +4193,10 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4193
4193
|
k.current = null, Pn(() => {
|
|
4194
4194
|
b({
|
|
4195
4195
|
type: ne
|
|
4196
|
-
}), S(
|
|
4196
|
+
}), S(Ht.Uninitialized), Ur(null), Z(null), I(null), It.current = null;
|
|
4197
4197
|
const Lt = ne === oe.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
4198
4198
|
if (Be) {
|
|
4199
|
-
const Xr =
|
|
4199
|
+
const Xr = q.current[Lt];
|
|
4200
4200
|
Xr?.(Be), y({
|
|
4201
4201
|
type: Lt,
|
|
4202
4202
|
event: Be
|
|
@@ -4208,7 +4208,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4208
4208
|
},
|
|
4209
4209
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
4210
4210
|
[R]
|
|
4211
|
-
),
|
|
4211
|
+
), qo = ie((re, me) => (fe, dt) => {
|
|
4212
4212
|
const Se = fe.nativeEvent, be = R.get(dt);
|
|
4213
4213
|
if (
|
|
4214
4214
|
// Another sensor is already instantiating
|
|
@@ -4223,14 +4223,14 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4223
4223
|
re(fe, me.options, Ve) === !0 && (Se.dndKit = {
|
|
4224
4224
|
capturedBy: me.sensor
|
|
4225
4225
|
}, k.current = dt, Jt(fe, me));
|
|
4226
|
-
}, [R, Jt]), On = g_(c,
|
|
4226
|
+
}, [R, Jt]), On = g_(c, qo);
|
|
4227
4227
|
$_(c), rt(() => {
|
|
4228
|
-
|
|
4229
|
-
}, [
|
|
4228
|
+
H && $ === Ht.Initializing && S(Ht.Initialized);
|
|
4229
|
+
}, [H, $]), V(
|
|
4230
4230
|
() => {
|
|
4231
4231
|
const {
|
|
4232
4232
|
onDragMove: re
|
|
4233
|
-
} =
|
|
4233
|
+
} = q.current, {
|
|
4234
4234
|
active: me,
|
|
4235
4235
|
activatorEvent: fe,
|
|
4236
4236
|
collisions: dt,
|
|
@@ -4270,7 +4270,7 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4270
4270
|
return;
|
|
4271
4271
|
const {
|
|
4272
4272
|
onDragOver: be
|
|
4273
|
-
} =
|
|
4273
|
+
} = q.current, Ve = dt.get(Zr), Ne = Ve && Ve.rect.current ? {
|
|
4274
4274
|
id: Ve.id,
|
|
4275
4275
|
rect: Ve.rect.current,
|
|
4276
4276
|
data: Ve.data,
|
|
@@ -4321,10 +4321,10 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4321
4321
|
scrollableAncestors: st,
|
|
4322
4322
|
scrollableAncestorRects: dr
|
|
4323
4323
|
});
|
|
4324
|
-
const
|
|
4324
|
+
const Ho = X(() => ({
|
|
4325
4325
|
active: D,
|
|
4326
4326
|
activeNode: de,
|
|
4327
|
-
activeNodeRect:
|
|
4327
|
+
activeNodeRect: H,
|
|
4328
4328
|
activatorEvent: F,
|
|
4329
4329
|
collisions: kt,
|
|
4330
4330
|
containerNodeRect: lt,
|
|
@@ -4339,11 +4339,11 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4339
4339
|
measuringConfiguration: le,
|
|
4340
4340
|
measuringScheduled: Xe,
|
|
4341
4341
|
windowRect: Gr
|
|
4342
|
-
}), [D, de,
|
|
4342
|
+
}), [D, de, H, F, kt, lt, je, R, O, $e, Ke, Ue, st, dr, le, Xe, Gr]), Wo = X(() => ({
|
|
4343
4343
|
activatorEvent: F,
|
|
4344
4344
|
activators: On,
|
|
4345
4345
|
active: D,
|
|
4346
|
-
activeNodeRect:
|
|
4346
|
+
activeNodeRect: H,
|
|
4347
4347
|
ariaDescribedById: {
|
|
4348
4348
|
draggable: ae
|
|
4349
4349
|
},
|
|
@@ -4351,13 +4351,13 @@ const ud = /* @__PURE__ */ yg(function(t) {
|
|
|
4351
4351
|
draggableNodes: R,
|
|
4352
4352
|
over: Ke,
|
|
4353
4353
|
measureDroppableContainers: Ue
|
|
4354
|
-
}), [F, On, D,
|
|
4354
|
+
}), [F, On, D, H, b, ae, R, Ke, Ue]);
|
|
4355
4355
|
return G.createElement(Bc.Provider, {
|
|
4356
4356
|
value: w
|
|
4357
4357
|
}, G.createElement(Sn.Provider, {
|
|
4358
4358
|
value: Wo
|
|
4359
4359
|
}, G.createElement(ld.Provider, {
|
|
4360
|
-
value:
|
|
4360
|
+
value: Ho
|
|
4361
4361
|
}, G.createElement(Eo.Provider, {
|
|
4362
4362
|
value: St
|
|
4363
4363
|
}, u)), G.createElement(D_, {
|
|
@@ -4550,10 +4550,10 @@ function B_(e) {
|
|
|
4550
4550
|
value: V_
|
|
4551
4551
|
}, t));
|
|
4552
4552
|
}
|
|
4553
|
-
const
|
|
4553
|
+
const q_ = {
|
|
4554
4554
|
position: "fixed",
|
|
4555
4555
|
touchAction: "none"
|
|
4556
|
-
},
|
|
4556
|
+
}, H_ = (e) => $o(e) ? "transform 250ms ease" : void 0, W_ = /* @__PURE__ */ ce((e, t) => {
|
|
4557
4557
|
let {
|
|
4558
4558
|
as: r,
|
|
4559
4559
|
activatorEvent: o,
|
|
@@ -4563,7 +4563,7 @@ const H_ = {
|
|
|
4563
4563
|
rect: l,
|
|
4564
4564
|
style: s,
|
|
4565
4565
|
transform: u,
|
|
4566
|
-
transition: c =
|
|
4566
|
+
transition: c = H_
|
|
4567
4567
|
} = e;
|
|
4568
4568
|
if (!l)
|
|
4569
4569
|
return null;
|
|
@@ -4572,7 +4572,7 @@ const H_ = {
|
|
|
4572
4572
|
scaleX: 1,
|
|
4573
4573
|
scaleY: 1
|
|
4574
4574
|
}, g = {
|
|
4575
|
-
...
|
|
4575
|
+
...q_,
|
|
4576
4576
|
width: l.width,
|
|
4577
4577
|
height: l.height,
|
|
4578
4578
|
top: l.top,
|
|
@@ -5193,7 +5193,7 @@ function bd(e) {
|
|
|
5193
5193
|
listeners: Z,
|
|
5194
5194
|
isDragging: F,
|
|
5195
5195
|
over: I,
|
|
5196
|
-
setActivatorNodeRef:
|
|
5196
|
+
setActivatorNodeRef: q,
|
|
5197
5197
|
transform: ae
|
|
5198
5198
|
} = L_({
|
|
5199
5199
|
id: a,
|
|
@@ -5214,12 +5214,12 @@ function bd(e) {
|
|
|
5214
5214
|
items: c,
|
|
5215
5215
|
activeIndex: g,
|
|
5216
5216
|
overIndex: m
|
|
5217
|
-
}) : $, U = P?.id,
|
|
5217
|
+
}) : $, U = P?.id, H = j({
|
|
5218
5218
|
activeId: U,
|
|
5219
5219
|
items: c,
|
|
5220
5220
|
newIndex: _e,
|
|
5221
5221
|
containerId: d
|
|
5222
|
-
}), lt = c !==
|
|
5222
|
+
}), lt = c !== H.current.items, ve = t({
|
|
5223
5223
|
active: P,
|
|
5224
5224
|
containerId: d,
|
|
5225
5225
|
isDragging: F,
|
|
@@ -5227,11 +5227,11 @@ function bd(e) {
|
|
|
5227
5227
|
id: a,
|
|
5228
5228
|
index: $,
|
|
5229
5229
|
items: c,
|
|
5230
|
-
newIndex:
|
|
5231
|
-
previousItems:
|
|
5232
|
-
previousContainerId:
|
|
5230
|
+
newIndex: H.current.newIndex,
|
|
5231
|
+
previousItems: H.current.items,
|
|
5232
|
+
previousContainerId: H.current.containerId,
|
|
5233
5233
|
transition: u,
|
|
5234
|
-
wasDragging:
|
|
5234
|
+
wasDragging: H.current.activeId != null
|
|
5235
5235
|
}), xe = _v({
|
|
5236
5236
|
disabled: !ve,
|
|
5237
5237
|
index: $,
|
|
@@ -5239,16 +5239,16 @@ function bd(e) {
|
|
|
5239
5239
|
rect: x
|
|
5240
5240
|
});
|
|
5241
5241
|
return V(() => {
|
|
5242
|
-
le &&
|
|
5242
|
+
le && H.current.newIndex !== _e && (H.current.newIndex = _e), d !== H.current.containerId && (H.current.containerId = d), c !== H.current.items && (H.current.items = c);
|
|
5243
5243
|
}, [le, _e, d, c]), V(() => {
|
|
5244
|
-
if (U ===
|
|
5244
|
+
if (U === H.current.activeId)
|
|
5245
5245
|
return;
|
|
5246
|
-
if (U != null &&
|
|
5247
|
-
|
|
5246
|
+
if (U != null && H.current.activeId == null) {
|
|
5247
|
+
H.current.activeId = U;
|
|
5248
5248
|
return;
|
|
5249
5249
|
}
|
|
5250
5250
|
const yt = setTimeout(() => {
|
|
5251
|
-
|
|
5251
|
+
H.current.activeId = U;
|
|
5252
5252
|
}, 50);
|
|
5253
5253
|
return () => clearTimeout(yt);
|
|
5254
5254
|
}, [U]), {
|
|
@@ -5268,7 +5268,7 @@ function bd(e) {
|
|
|
5268
5268
|
overIndex: m,
|
|
5269
5269
|
over: I,
|
|
5270
5270
|
setNodeRef: Ze,
|
|
5271
|
-
setActivatorNodeRef:
|
|
5271
|
+
setActivatorNodeRef: q,
|
|
5272
5272
|
setDroppableNodeRef: O,
|
|
5273
5273
|
setDraggableNodeRef: W,
|
|
5274
5274
|
transform: xe ?? pe,
|
|
@@ -5278,7 +5278,7 @@ function bd(e) {
|
|
|
5278
5278
|
if (
|
|
5279
5279
|
// Temporarily disable transitions for a single frame to set up derived transforms
|
|
5280
5280
|
xe || // Or to prevent items jumping to back to their "new" position when items change
|
|
5281
|
-
lt &&
|
|
5281
|
+
lt && H.current.newIndex === $
|
|
5282
5282
|
)
|
|
5283
5283
|
return gv;
|
|
5284
5284
|
if (!(Ue && !$o(L) || !u) && (le || ve))
|
|
@@ -5608,7 +5608,7 @@ const Fv = /* @__PURE__ */ Iv(Tv), jv = {
|
|
|
5608
5608
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
5609
5609
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
5610
5610
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
5611
|
-
}, zv = Fv.bind(jv), $l = "purpur-icon", Vv = "md", Bv = (e) => e.filter((t) => Object.keys(t).length >= 1).map((t) => `${t.name}="${t.value}"`).join(" "),
|
|
5611
|
+
}, zv = Fv.bind(jv), $l = "purpur-icon", Vv = "md", Bv = (e) => e.filter((t) => Object.keys(t).length >= 1).map((t) => `${t.name}="${t.value}"`).join(" "), qv = ({ content: e = "", title: t } = {}) => {
|
|
5612
5612
|
const r = [
|
|
5613
5613
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
5614
5614
|
{ name: "fill", value: "currentColor" },
|
|
@@ -5616,9 +5616,9 @@ const Fv = /* @__PURE__ */ Iv(Tv), jv = {
|
|
|
5616
5616
|
t ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
5617
5617
|
], o = t ? `<title>${t}</title>` : "";
|
|
5618
5618
|
return `<svg ${Bv(r)}>${o}${e}</svg>`;
|
|
5619
|
-
},
|
|
5620
|
-
const n =
|
|
5621
|
-
content:
|
|
5619
|
+
}, Hv = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), $d = ({ svg: e, allyTitle: t, className: r, size: o = Vv, ...i }) => {
|
|
5620
|
+
const n = qv({
|
|
5621
|
+
content: Hv(e.svg),
|
|
5622
5622
|
title: t
|
|
5623
5623
|
}), a = zv($l, `${$l}--${o}`, r);
|
|
5624
5624
|
return /* @__PURE__ */ h("span", { className: a, dangerouslySetInnerHTML: { __html: n }, ...i });
|
|
@@ -5730,9 +5730,9 @@ function Qv() {
|
|
|
5730
5730
|
}
|
|
5731
5731
|
var e1 = Qv();
|
|
5732
5732
|
const t1 = /* @__PURE__ */ Jv(e1), r1 = {
|
|
5733
|
-
"purpur-field-helper-text": "_purpur-field-helper-
|
|
5734
|
-
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--
|
|
5735
|
-
"purpur-field-helper-text--negative": "_purpur-field-helper-text--
|
|
5733
|
+
"purpur-field-helper-text": "_purpur-field-helper-text_1ociq_1",
|
|
5734
|
+
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_1ociq_9",
|
|
5735
|
+
"purpur-field-helper-text--negative": "_purpur-field-helper-text--negative_1ociq_12"
|
|
5736
5736
|
}, n1 = t1.bind(r1), ai = "purpur-field-helper-text", o1 = ({
|
|
5737
5737
|
children: e,
|
|
5738
5738
|
className: t,
|
|
@@ -6097,9 +6097,9 @@ function B1(e, t = []) {
|
|
|
6097
6097
|
);
|
|
6098
6098
|
};
|
|
6099
6099
|
};
|
|
6100
|
-
return i.scopeName = e, [o,
|
|
6100
|
+
return i.scopeName = e, [o, q1(i, ...t)];
|
|
6101
6101
|
}
|
|
6102
|
-
function
|
|
6102
|
+
function q1(...e) {
|
|
6103
6103
|
const t = e[0];
|
|
6104
6104
|
if (e.length === 1) return t;
|
|
6105
6105
|
const r = () => {
|
|
@@ -6129,7 +6129,7 @@ function Ed(e) {
|
|
|
6129
6129
|
t.current = e;
|
|
6130
6130
|
}), p.useMemo(() => (...r) => t.current?.(...r), []);
|
|
6131
6131
|
}
|
|
6132
|
-
function
|
|
6132
|
+
function H1({
|
|
6133
6133
|
prop: e,
|
|
6134
6134
|
defaultProp: t,
|
|
6135
6135
|
onChange: r = () => {
|
|
@@ -6326,7 +6326,7 @@ var nm = [
|
|
|
6326
6326
|
onCheckedChange: u,
|
|
6327
6327
|
form: c,
|
|
6328
6328
|
...d
|
|
6329
|
-
} = e, [g, f] = p.useState(null), v = Rd(t, ($) => f($)), _ = p.useRef(!1), m = g ? c || !!g.closest("form") : !0, [b = !1, y] =
|
|
6329
|
+
} = e, [g, f] = p.useState(null), v = Rd(t, ($) => f($)), _ = p.useRef(!1), m = g ? c || !!g.closest("form") : !0, [b = !1, y] = H1({
|
|
6330
6330
|
prop: i,
|
|
6331
6331
|
defaultProp: n,
|
|
6332
6332
|
onChange: u
|
|
@@ -6646,9 +6646,9 @@ $a.displayName = "IconSorter";
|
|
|
6646
6646
|
function Om(e) {
|
|
6647
6647
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6648
6648
|
}
|
|
6649
|
-
var
|
|
6649
|
+
var ql = { exports: {} }, Hl;
|
|
6650
6650
|
function Pm() {
|
|
6651
|
-
return
|
|
6651
|
+
return Hl || (Hl = 1, (function(e) {
|
|
6652
6652
|
(function() {
|
|
6653
6653
|
var t = {}.hasOwnProperty;
|
|
6654
6654
|
function r() {
|
|
@@ -6677,7 +6677,7 @@ function Pm() {
|
|
|
6677
6677
|
}
|
|
6678
6678
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
6679
6679
|
})();
|
|
6680
|
-
})(
|
|
6680
|
+
})(ql)), ql.exports;
|
|
6681
6681
|
}
|
|
6682
6682
|
var Dm = Pm();
|
|
6683
6683
|
const Am = /* @__PURE__ */ Om(Dm), Mm = {
|
|
@@ -6760,16 +6760,16 @@ const jm = /* @__PURE__ */ Lm(Fm), zm = {
|
|
|
6760
6760
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
6761
6761
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
6762
6762
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
6763
|
-
}, Vm = jm.bind(zm), Zl = "purpur-icon", Bm = "md",
|
|
6763
|
+
}, Vm = jm.bind(zm), Zl = "purpur-icon", Bm = "md", qm = (e) => e.filter((t) => Object.keys(t).length >= 1).map((t) => `${t.name}="${t.value}"`).join(" "), Hm = ({ content: e = "", title: t } = {}) => {
|
|
6764
6764
|
const r = [
|
|
6765
6765
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
6766
6766
|
{ name: "fill", value: "currentColor" },
|
|
6767
6767
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
6768
6768
|
t ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
6769
6769
|
], o = t ? `<title>${t}</title>` : "";
|
|
6770
|
-
return `<svg ${
|
|
6770
|
+
return `<svg ${qm(r)}>${o}${e}</svg>`;
|
|
6771
6771
|
}, Wm = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Id = ({ svg: e, allyTitle: t, className: r, size: o = Bm, ...i }) => {
|
|
6772
|
-
const n =
|
|
6772
|
+
const n = Hm({
|
|
6773
6773
|
content: Wm(e.svg),
|
|
6774
6774
|
title: t
|
|
6775
6775
|
}), a = Vm(Zl, `${Zl}--${o}`, r);
|
|
@@ -6882,9 +6882,9 @@ function e0() {
|
|
|
6882
6882
|
}
|
|
6883
6883
|
var t0 = e0();
|
|
6884
6884
|
const r0 = /* @__PURE__ */ Qm(t0), n0 = {
|
|
6885
|
-
"purpur-field-helper-text": "_purpur-field-helper-
|
|
6886
|
-
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--
|
|
6887
|
-
"purpur-field-helper-text--negative": "_purpur-field-helper-text--
|
|
6885
|
+
"purpur-field-helper-text": "_purpur-field-helper-text_1ociq_1",
|
|
6886
|
+
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_1ociq_9",
|
|
6887
|
+
"purpur-field-helper-text--negative": "_purpur-field-helper-text--negative_1ociq_12"
|
|
6888
6888
|
}, o0 = r0.bind(n0), ui = "purpur-field-helper-text", i0 = ({
|
|
6889
6889
|
children: e,
|
|
6890
6890
|
className: t,
|
|
@@ -7177,12 +7177,12 @@ const j0 = /* @__PURE__ */ L0(F0), z0 = "_rotate_12t9p_1", V0 = "_dash_12t9p_1",
|
|
|
7177
7177
|
dash: V0,
|
|
7178
7178
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
7179
7179
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
7180
|
-
}, ls = j0.bind(B0), tn = "purpur-spinner",
|
|
7180
|
+
}, ls = j0.bind(B0), tn = "purpur-spinner", q0 = {
|
|
7181
7181
|
SM: "sm"
|
|
7182
7182
|
}, jd = ({
|
|
7183
7183
|
disabled: e = !1,
|
|
7184
7184
|
negative: t = !1,
|
|
7185
|
-
size: r =
|
|
7185
|
+
size: r = q0.SM,
|
|
7186
7186
|
className: o,
|
|
7187
7187
|
...i
|
|
7188
7188
|
}) => /* @__PURE__ */ h("div", { className: ls(tn, `${tn}--${r}`, o), ...i, children: /* @__PURE__ */ h("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ h(
|
|
@@ -7198,7 +7198,7 @@ const j0 = /* @__PURE__ */ L0(F0), z0 = "_rotate_12t9p_1", V0 = "_dash_12t9p_1",
|
|
|
7198
7198
|
}
|
|
7199
7199
|
) }) });
|
|
7200
7200
|
jd.displayName = "Spinner";
|
|
7201
|
-
function
|
|
7201
|
+
function H0(e) {
|
|
7202
7202
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7203
7203
|
}
|
|
7204
7204
|
var ss = { exports: {} }, us;
|
|
@@ -7235,26 +7235,26 @@ function W0() {
|
|
|
7235
7235
|
})(ss)), ss.exports;
|
|
7236
7236
|
}
|
|
7237
7237
|
var G0 = W0();
|
|
7238
|
-
const Z0 = /* @__PURE__ */
|
|
7239
|
-
"purpur-select": "_purpur-
|
|
7240
|
-
"purpur-select__label": "_purpur-
|
|
7241
|
-
"purpur-select__field-row": "_purpur-select__field-
|
|
7242
|
-
"purpur-select__frame": "_purpur-
|
|
7243
|
-
"purpur-select__frame--negative": "_purpur-select__frame--
|
|
7244
|
-
"purpur-select__select-container": "_purpur-select__select-
|
|
7245
|
-
"purpur-select__select-container--disabled": "_purpur-select__select-container--
|
|
7246
|
-
"purpur-select__select-container--readonly": "_purpur-select__select-container--
|
|
7247
|
-
"purpur-select__select-container--negative": "_purpur-select__select-container--
|
|
7248
|
-
"purpur-select__select": "_purpur-
|
|
7249
|
-
"purpur-select__select--error": "_purpur-select__select--
|
|
7250
|
-
"purpur-select__select--is-valid": "_purpur-select__select--is-
|
|
7251
|
-
"purpur-select__select--negative": "_purpur-select__select--
|
|
7252
|
-
"purpur-select__end-adornments": "_purpur-select__end-
|
|
7253
|
-
"purpur-select__select-icon": "_purpur-select__select-
|
|
7254
|
-
"purpur-select__select-icon--readonly": "_purpur-select__select-icon--
|
|
7255
|
-
"purpur-select__select-icon--disabled": "_purpur-select__select-icon--
|
|
7256
|
-
"purpur-select__select-icon--negative": "_purpur-select__select-icon--
|
|
7257
|
-
"purpur-select__valid-icon": "_purpur-select__valid-
|
|
7238
|
+
const Z0 = /* @__PURE__ */ H0(G0), U0 = {
|
|
7239
|
+
"purpur-select": "_purpur-select_lmjqo_1",
|
|
7240
|
+
"purpur-select__label": "_purpur-select__label_lmjqo_7",
|
|
7241
|
+
"purpur-select__field-row": "_purpur-select__field-row_lmjqo_12",
|
|
7242
|
+
"purpur-select__frame": "_purpur-select__frame_lmjqo_16",
|
|
7243
|
+
"purpur-select__frame--negative": "_purpur-select__frame--negative_lmjqo_23",
|
|
7244
|
+
"purpur-select__select-container": "_purpur-select__select-container_lmjqo_26",
|
|
7245
|
+
"purpur-select__select-container--disabled": "_purpur-select__select-container--disabled_lmjqo_34",
|
|
7246
|
+
"purpur-select__select-container--readonly": "_purpur-select__select-container--readonly_lmjqo_37",
|
|
7247
|
+
"purpur-select__select-container--negative": "_purpur-select__select-container--negative_lmjqo_40",
|
|
7248
|
+
"purpur-select__select": "_purpur-select__select_lmjqo_26",
|
|
7249
|
+
"purpur-select__select--error": "_purpur-select__select--error_lmjqo_101",
|
|
7250
|
+
"purpur-select__select--is-valid": "_purpur-select__select--is-valid_lmjqo_107",
|
|
7251
|
+
"purpur-select__select--negative": "_purpur-select__select--negative_lmjqo_113",
|
|
7252
|
+
"purpur-select__end-adornments": "_purpur-select__end-adornments_lmjqo_123",
|
|
7253
|
+
"purpur-select__select-icon": "_purpur-select__select-icon_lmjqo_133",
|
|
7254
|
+
"purpur-select__select-icon--readonly": "_purpur-select__select-icon--readonly_lmjqo_136",
|
|
7255
|
+
"purpur-select__select-icon--disabled": "_purpur-select__select-icon--disabled_lmjqo_136",
|
|
7256
|
+
"purpur-select__select-icon--negative": "_purpur-select__select-icon--negative_lmjqo_139",
|
|
7257
|
+
"purpur-select__valid-icon": "_purpur-select__valid-icon_lmjqo_145"
|
|
7258
7258
|
}, Qe = Z0.bind(U0), Y = "purpur-select", zd = ce(
|
|
7259
7259
|
({
|
|
7260
7260
|
label: e,
|
|
@@ -7530,7 +7530,7 @@ const ub = /* @__PURE__ */ ab(sb), cb = {
|
|
|
7530
7530
|
"purpur-button--text-negative": "_purpur-button--text-negative_10jh0_185",
|
|
7531
7531
|
"purpur-button--text": "_purpur-button--text_10jh0_185",
|
|
7532
7532
|
"purpur-button__spinner": "_purpur-button__spinner_10jh0_235"
|
|
7533
|
-
}, hs = ub.bind(cb), Ft = "purpur-button",
|
|
7533
|
+
}, hs = ub.bind(cb), Ft = "purpur-button", qd = ce(
|
|
7534
7534
|
({
|
|
7535
7535
|
children: e,
|
|
7536
7536
|
className: t,
|
|
@@ -7589,7 +7589,7 @@ const ub = /* @__PURE__ */ ab(sb), cb = {
|
|
|
7589
7589
|
);
|
|
7590
7590
|
}
|
|
7591
7591
|
);
|
|
7592
|
-
|
|
7592
|
+
qd.displayName = "Button";
|
|
7593
7593
|
function db(e) {
|
|
7594
7594
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7595
7595
|
}
|
|
@@ -7643,14 +7643,14 @@ const gb = /* @__PURE__ */ db(fb), hb = {
|
|
|
7643
7643
|
t ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
7644
7644
|
], o = t ? `<title>${t}</title>` : "";
|
|
7645
7645
|
return `<svg ${mb(r)}>${o}${e}</svg>`;
|
|
7646
|
-
}, wb = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(),
|
|
7646
|
+
}, wb = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Hd = ({ svg: e, allyTitle: t, className: r, size: o = vb, ...i }) => {
|
|
7647
7647
|
const n = bb({
|
|
7648
7648
|
content: wb(e.svg),
|
|
7649
7649
|
title: t
|
|
7650
7650
|
}), a = _b(ms, `${ms}--${o}`, r);
|
|
7651
7651
|
return /* @__PURE__ */ h("span", { className: a, dangerouslySetInnerHTML: { __html: n }, ...i });
|
|
7652
7652
|
};
|
|
7653
|
-
|
|
7653
|
+
Hd.displayName = "Icon";
|
|
7654
7654
|
const yb = {
|
|
7655
7655
|
name: "error-filled",
|
|
7656
7656
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="currentColor"><path fill-rule="evenodd" d="M14.268 3.5c-.77-1.333-2.694-1.333-3.464 0l-8.66 15c-.77 1.333.192 3 1.732 3h17.32c1.54 0 2.502-1.667 1.733-3l-8.66-15Zm-.694 5.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.585 1.234-1.25 1.234-.648 0-1.25-.585-1.25-1.234 0-.633.602-1.234 1.25-1.234.665 0 1.25.601 1.25 1.234Z" clip-rule="evenodd"/></svg>',
|
|
@@ -7714,7 +7714,7 @@ const Cb = /* @__PURE__ */ $b(Sb), Rb = {
|
|
|
7714
7714
|
"aria-relevant": o,
|
|
7715
7715
|
...i,
|
|
7716
7716
|
children: [
|
|
7717
|
-
/* @__PURE__ */ h(
|
|
7717
|
+
/* @__PURE__ */ h(Hd, { svg: yb, size: "xs", className: ys(`${di}__icon`) }),
|
|
7718
7718
|
e
|
|
7719
7719
|
]
|
|
7720
7720
|
}
|
|
@@ -7757,9 +7757,9 @@ function Ob() {
|
|
|
7757
7757
|
}
|
|
7758
7758
|
var Pb = Ob();
|
|
7759
7759
|
const Db = /* @__PURE__ */ Nb(Pb), Ab = {
|
|
7760
|
-
"purpur-field-helper-text": "_purpur-field-helper-
|
|
7761
|
-
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--
|
|
7762
|
-
"purpur-field-helper-text--negative": "_purpur-field-helper-text--
|
|
7760
|
+
"purpur-field-helper-text": "_purpur-field-helper-text_1ociq_1",
|
|
7761
|
+
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_1ociq_9",
|
|
7762
|
+
"purpur-field-helper-text--negative": "_purpur-field-helper-text--negative_1ociq_12"
|
|
7763
7763
|
}, Mb = Db.bind(Ab), pi = "purpur-field-helper-text", kb = ({
|
|
7764
7764
|
children: e,
|
|
7765
7765
|
className: t,
|
|
@@ -7819,7 +7819,7 @@ const Fb = /* @__PURE__ */ Ib(Tb), jb = {
|
|
|
7819
7819
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
7820
7820
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
7821
7821
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
7822
|
-
}, zb = Fb.bind(jb), Rs = "purpur-icon", Vb = "md", Bb = (e) => e.filter((t) => Object.keys(t).length >= 1).map((t) => `${t.name}="${t.value}"`).join(" "),
|
|
7822
|
+
}, zb = Fb.bind(jb), Rs = "purpur-icon", Vb = "md", Bb = (e) => e.filter((t) => Object.keys(t).length >= 1).map((t) => `${t.name}="${t.value}"`).join(" "), qb = ({ content: e = "", title: t } = {}) => {
|
|
7823
7823
|
const r = [
|
|
7824
7824
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
7825
7825
|
{ name: "fill", value: "currentColor" },
|
|
@@ -7827,9 +7827,9 @@ const Fb = /* @__PURE__ */ Ib(Tb), jb = {
|
|
|
7827
7827
|
t ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
7828
7828
|
], o = t ? `<title>${t}</title>` : "";
|
|
7829
7829
|
return `<svg ${Bb(r)}>${o}${e}</svg>`;
|
|
7830
|
-
},
|
|
7831
|
-
const n =
|
|
7832
|
-
content:
|
|
7830
|
+
}, Hb = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Sa = ({ svg: e, allyTitle: t, className: r, size: o = Vb, ...i }) => {
|
|
7831
|
+
const n = qb({
|
|
7832
|
+
content: Hb(e.svg),
|
|
7833
7833
|
title: t
|
|
7834
7834
|
}), a = zb(Rs, `${Rs}--${o}`, r);
|
|
7835
7835
|
return /* @__PURE__ */ h("span", { className: a, dangerouslySetInnerHTML: { __html: n }, ...i });
|
|
@@ -8111,26 +8111,26 @@ function ww() {
|
|
|
8111
8111
|
}
|
|
8112
8112
|
var yw = ww();
|
|
8113
8113
|
const $w = /* @__PURE__ */ bw(yw), xw = {
|
|
8114
|
-
"purpur-text-field": "_purpur-text-
|
|
8115
|
-
"purpur-text-field__label": "_purpur-text-
|
|
8116
|
-
"purpur-text-field__label-text": "_purpur-text-field__label-
|
|
8117
|
-
"purpur-text-field__field-row": "_purpur-text-field__field-
|
|
8118
|
-
"purpur-text-field__frame": "_purpur-text-
|
|
8119
|
-
"purpur-text-field__frame--negative": "_purpur-text-field__frame--
|
|
8120
|
-
"purpur-text-field__input-container": "_purpur-text-field__input-
|
|
8121
|
-
"purpur-text-field__input-container--disabled": "_purpur-text-field__input-container--
|
|
8122
|
-
"purpur-text-field__input-container--readonly": "_purpur-text-field__input-container--
|
|
8123
|
-
"purpur-text-field__input-container--has-clear-button": "_purpur-text-field__input-container--has-clear-
|
|
8124
|
-
"purpur-text-field__input-container--end-adornment": "_purpur-text-field__input-container--end-
|
|
8125
|
-
"purpur-text-field__input": "_purpur-text-
|
|
8126
|
-
"purpur-text-field__input-container--start-adornment": "_purpur-text-field__input-container--start-
|
|
8127
|
-
"purpur-text-field__input-container--negative": "_purpur-text-field__input-container--
|
|
8128
|
-
"purpur-text-field__input--valid": "_purpur-text-field__input--
|
|
8129
|
-
"purpur-text-field__input--error": "_purpur-text-field__input--
|
|
8130
|
-
"purpur-text-field__input--negative": "_purpur-text-field__input--
|
|
8131
|
-
"purpur-text-field__adornment-container": "_purpur-text-field__adornment-
|
|
8132
|
-
"purpur-text-field__valid-icon": "_purpur-text-field__valid-
|
|
8133
|
-
"purpur-text-field__valid-icon--negative": "_purpur-text-field__valid-icon--
|
|
8114
|
+
"purpur-text-field": "_purpur-text-field_1n0q1_1",
|
|
8115
|
+
"purpur-text-field__label": "_purpur-text-field__label_1n0q1_7",
|
|
8116
|
+
"purpur-text-field__label-text": "_purpur-text-field__label-text_1n0q1_12",
|
|
8117
|
+
"purpur-text-field__field-row": "_purpur-text-field__field-row_1n0q1_15",
|
|
8118
|
+
"purpur-text-field__frame": "_purpur-text-field__frame_1n0q1_19",
|
|
8119
|
+
"purpur-text-field__frame--negative": "_purpur-text-field__frame--negative_1n0q1_26",
|
|
8120
|
+
"purpur-text-field__input-container": "_purpur-text-field__input-container_1n0q1_29",
|
|
8121
|
+
"purpur-text-field__input-container--disabled": "_purpur-text-field__input-container--disabled_1n0q1_40",
|
|
8122
|
+
"purpur-text-field__input-container--readonly": "_purpur-text-field__input-container--readonly_1n0q1_43",
|
|
8123
|
+
"purpur-text-field__input-container--has-clear-button": "_purpur-text-field__input-container--has-clear-button_1n0q1_46",
|
|
8124
|
+
"purpur-text-field__input-container--end-adornment": "_purpur-text-field__input-container--end-adornment_1n0q1_49",
|
|
8125
|
+
"purpur-text-field__input": "_purpur-text-field__input_1n0q1_29",
|
|
8126
|
+
"purpur-text-field__input-container--start-adornment": "_purpur-text-field__input-container--start-adornment_1n0q1_55",
|
|
8127
|
+
"purpur-text-field__input-container--negative": "_purpur-text-field__input-container--negative_1n0q1_61",
|
|
8128
|
+
"purpur-text-field__input--valid": "_purpur-text-field__input--valid_1n0q1_109",
|
|
8129
|
+
"purpur-text-field__input--error": "_purpur-text-field__input--error_1n0q1_109",
|
|
8130
|
+
"purpur-text-field__input--negative": "_purpur-text-field__input--negative_1n0q1_130",
|
|
8131
|
+
"purpur-text-field__adornment-container": "_purpur-text-field__adornment-container_1n0q1_146",
|
|
8132
|
+
"purpur-text-field__valid-icon": "_purpur-text-field__valid-icon_1n0q1_151",
|
|
8133
|
+
"purpur-text-field__valid-icon--negative": "_purpur-text-field__valid-icon--negative_1n0q1_154"
|
|
8134
8134
|
}, Sw = (e) => j(e), Rt = $w.bind(xw), te = "purpur-text-field", Xd = ce(
|
|
8135
8135
|
({
|
|
8136
8136
|
["data-testid"]: e,
|
|
@@ -8166,7 +8166,7 @@ const $w = /* @__PURE__ */ bw(yw), xw = {
|
|
|
8166
8166
|
"spinner"
|
|
8167
8167
|
),
|
|
8168
8168
|
x && /* @__PURE__ */ h(
|
|
8169
|
-
|
|
8169
|
+
qd,
|
|
8170
8170
|
{
|
|
8171
8171
|
negative: v,
|
|
8172
8172
|
variant: "tertiary-purple",
|
|
@@ -8511,7 +8511,7 @@ function Vw() {
|
|
|
8511
8511
|
})(Vs)), Vs.exports;
|
|
8512
8512
|
}
|
|
8513
8513
|
var Bw = Vw();
|
|
8514
|
-
const
|
|
8514
|
+
const qw = /* @__PURE__ */ zw(Bw), Hw = {
|
|
8515
8515
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
8516
8516
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
8517
8517
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -8519,7 +8519,7 @@ const Hw = /* @__PURE__ */ zw(Bw), qw = {
|
|
|
8519
8519
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
8520
8520
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
8521
8521
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
8522
|
-
}, Ww =
|
|
8522
|
+
}, Ww = qw.bind(Hw), qs = "purpur-icon", Gw = "md", Zw = (e) => e.filter((t) => Object.keys(t).length >= 1).map((t) => `${t.name}="${t.value}"`).join(" "), Uw = ({ content: e = "", title: t } = {}) => {
|
|
8523
8523
|
const r = [
|
|
8524
8524
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
8525
8525
|
{ name: "fill", value: "currentColor" },
|
|
@@ -8531,7 +8531,7 @@ const Hw = /* @__PURE__ */ zw(Bw), qw = {
|
|
|
8531
8531
|
const n = Uw({
|
|
8532
8532
|
content: Xw(e.svg),
|
|
8533
8533
|
title: t
|
|
8534
|
-
}), a = Ww(
|
|
8534
|
+
}), a = Ww(qs, `${qs}--${o}`, r);
|
|
8535
8535
|
return /* @__PURE__ */ h("span", { className: a, dangerouslySetInnerHTML: { __html: n }, ...i });
|
|
8536
8536
|
};
|
|
8537
8537
|
Jd.displayName = "Icon";
|
|
@@ -8545,7 +8545,7 @@ Qd.displayName = "IconInfo";
|
|
|
8545
8545
|
function Kw(e) {
|
|
8546
8546
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8547
8547
|
}
|
|
8548
|
-
var
|
|
8548
|
+
var Hs = { exports: {} }, Ws;
|
|
8549
8549
|
function Jw() {
|
|
8550
8550
|
return Ws || (Ws = 1, (function(e) {
|
|
8551
8551
|
(function() {
|
|
@@ -8576,7 +8576,7 @@ function Jw() {
|
|
|
8576
8576
|
}
|
|
8577
8577
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
8578
8578
|
})();
|
|
8579
|
-
})(
|
|
8579
|
+
})(Hs)), Hs.exports;
|
|
8580
8580
|
}
|
|
8581
8581
|
var Qw = Jw();
|
|
8582
8582
|
const ey = /* @__PURE__ */ Kw(Qw), ty = {
|
|
@@ -9250,13 +9250,13 @@ const My = (e) => ({
|
|
|
9250
9250
|
var D;
|
|
9251
9251
|
const F = (D = O.filter((I) => {
|
|
9252
9252
|
if (C) {
|
|
9253
|
-
const
|
|
9254
|
-
return
|
|
9253
|
+
const q = _t(I.placement);
|
|
9254
|
+
return q === y || // Create a bias to the `y` side axis due to horizontal
|
|
9255
9255
|
// reading directions favoring greater width.
|
|
9256
|
-
|
|
9256
|
+
q === "y";
|
|
9257
9257
|
}
|
|
9258
9258
|
return !0;
|
|
9259
|
-
}).map((I) => [I.placement, I.overflows.filter((
|
|
9259
|
+
}).map((I) => [I.placement, I.overflows.filter((q) => q > 0).reduce((q, ae) => q + ae, 0)]).sort((I, q) => I[1] - q[1])[0]) == null ? void 0 : D[0];
|
|
9260
9260
|
F && (Z = F);
|
|
9261
9261
|
break;
|
|
9262
9262
|
}
|
|
@@ -9553,12 +9553,12 @@ function Cn(e) {
|
|
|
9553
9553
|
return /auto|scroll|overlay|hidden|clip/.test(t + o + r) && !Vy.has(i);
|
|
9554
9554
|
}
|
|
9555
9555
|
const By = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
9556
|
-
function
|
|
9556
|
+
function qy(e) {
|
|
9557
9557
|
return By.has(Br(e));
|
|
9558
9558
|
}
|
|
9559
|
-
const
|
|
9559
|
+
const Hy = [":popover-open", ":modal"];
|
|
9560
9560
|
function Oo(e) {
|
|
9561
|
-
return
|
|
9561
|
+
return Hy.some((t) => {
|
|
9562
9562
|
try {
|
|
9563
9563
|
return e.matches(t);
|
|
9564
9564
|
} catch {
|
|
@@ -9732,7 +9732,7 @@ function Jy(e) {
|
|
|
9732
9732
|
function Qy(e) {
|
|
9733
9733
|
return Array.from(e.getClientRects());
|
|
9734
9734
|
}
|
|
9735
|
-
function
|
|
9735
|
+
function e$(e) {
|
|
9736
9736
|
const t = bt(e), r = Po(e), o = e.ownerDocument.body, i = Ae(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), n = Ae(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
|
|
9737
9737
|
let a = -r.scrollLeft + Do(e);
|
|
9738
9738
|
const l = -r.scrollTop;
|
|
@@ -9744,7 +9744,7 @@ function e2(e) {
|
|
|
9744
9744
|
};
|
|
9745
9745
|
}
|
|
9746
9746
|
const tu = 25;
|
|
9747
|
-
function
|
|
9747
|
+
function t$(e, t) {
|
|
9748
9748
|
const r = ke(e), o = bt(e), i = r.visualViewport;
|
|
9749
9749
|
let n = o.clientWidth, a = o.clientHeight, l = 0, s = 0;
|
|
9750
9750
|
if (i) {
|
|
@@ -9764,8 +9764,8 @@ function t2(e, t) {
|
|
|
9764
9764
|
y: s
|
|
9765
9765
|
};
|
|
9766
9766
|
}
|
|
9767
|
-
const
|
|
9768
|
-
function
|
|
9767
|
+
const r$ = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
9768
|
+
function n$(e, t) {
|
|
9769
9769
|
const r = ir(e, !0, t === "fixed"), o = r.top + e.clientTop, i = r.left + e.clientLeft, n = mt(e) ? Nr(e) : vt(1), a = e.clientWidth * n.x, l = e.clientHeight * n.y, s = i * n.x, u = o * n.y;
|
|
9770
9770
|
return {
|
|
9771
9771
|
width: a,
|
|
@@ -9777,11 +9777,11 @@ function n2(e, t) {
|
|
|
9777
9777
|
function ru(e, t, r) {
|
|
9778
9778
|
let o;
|
|
9779
9779
|
if (t === "viewport")
|
|
9780
|
-
o =
|
|
9780
|
+
o = t$(e, r);
|
|
9781
9781
|
else if (t === "document")
|
|
9782
|
-
o =
|
|
9782
|
+
o = e$(bt(e));
|
|
9783
9783
|
else if (ot(t))
|
|
9784
|
-
o =
|
|
9784
|
+
o = n$(t, r);
|
|
9785
9785
|
else {
|
|
9786
9786
|
const i = gp(e);
|
|
9787
9787
|
o = {
|
|
@@ -9797,7 +9797,7 @@ function _p(e, t) {
|
|
|
9797
9797
|
const r = Xt(e);
|
|
9798
9798
|
return r === t || !ot(r) || Dr(r) ? !1 : it(r).position === "fixed" || _p(r, t);
|
|
9799
9799
|
}
|
|
9800
|
-
function
|
|
9800
|
+
function o$(e, t) {
|
|
9801
9801
|
const r = t.get(e);
|
|
9802
9802
|
if (r)
|
|
9803
9803
|
return r;
|
|
@@ -9806,18 +9806,18 @@ function o2(e, t) {
|
|
|
9806
9806
|
let a = n ? Xt(e) : e;
|
|
9807
9807
|
for (; ot(a) && !Dr(a); ) {
|
|
9808
9808
|
const l = it(a), s = Na(a);
|
|
9809
|
-
!s && l.position === "fixed" && (i = null), (n ? !s && !i : !s && l.position === "static" && i &&
|
|
9809
|
+
!s && l.position === "fixed" && (i = null), (n ? !s && !i : !s && l.position === "static" && i && r$.has(i.position) || Cn(a) && !s && _p(e, a)) ? o = o.filter((u) => u !== a) : i = l, a = Xt(a);
|
|
9810
9810
|
}
|
|
9811
9811
|
return t.set(e, o), o;
|
|
9812
9812
|
}
|
|
9813
|
-
function
|
|
9813
|
+
function i$(e) {
|
|
9814
9814
|
let {
|
|
9815
9815
|
element: t,
|
|
9816
9816
|
boundary: r,
|
|
9817
9817
|
rootBoundary: o,
|
|
9818
9818
|
strategy: i
|
|
9819
9819
|
} = e;
|
|
9820
|
-
const n = [...r === "clippingAncestors" ? Oo(t) ? [] :
|
|
9820
|
+
const n = [...r === "clippingAncestors" ? Oo(t) ? [] : o$(t, this._c) : [].concat(r), o], a = n[0], l = n.reduce((s, u) => {
|
|
9821
9821
|
const c = ru(t, u, i);
|
|
9822
9822
|
return s.top = Ae(c.top, s.top), s.right = Ut(c.right, s.right), s.bottom = Ut(c.bottom, s.bottom), s.left = Ae(c.left, s.left), s;
|
|
9823
9823
|
}, ru(t, a, i));
|
|
@@ -9828,7 +9828,7 @@ function i2(e) {
|
|
|
9828
9828
|
y: l.top
|
|
9829
9829
|
};
|
|
9830
9830
|
}
|
|
9831
|
-
function
|
|
9831
|
+
function a$(e) {
|
|
9832
9832
|
const {
|
|
9833
9833
|
width: t,
|
|
9834
9834
|
height: r
|
|
@@ -9838,7 +9838,7 @@ function a2(e) {
|
|
|
9838
9838
|
height: r
|
|
9839
9839
|
};
|
|
9840
9840
|
}
|
|
9841
|
-
function
|
|
9841
|
+
function l$(e, t, r) {
|
|
9842
9842
|
const o = mt(t), i = bt(t), n = r === "fixed", a = ir(e, !0, n, t);
|
|
9843
9843
|
let l = {
|
|
9844
9844
|
scrollLeft: 0,
|
|
@@ -9887,14 +9887,14 @@ function vp(e, t) {
|
|
|
9887
9887
|
return r;
|
|
9888
9888
|
}
|
|
9889
9889
|
let o = nu(e, t);
|
|
9890
|
-
for (; o &&
|
|
9890
|
+
for (; o && qy(o) && gi(o); )
|
|
9891
9891
|
o = nu(o, t);
|
|
9892
9892
|
return o && Dr(o) && gi(o) && !Na(o) ? r : o || Uy(e) || r;
|
|
9893
9893
|
}
|
|
9894
|
-
const
|
|
9894
|
+
const s$ = async function(e) {
|
|
9895
9895
|
const t = this.getOffsetParent || vp, r = this.getDimensions, o = await r(e.floating);
|
|
9896
9896
|
return {
|
|
9897
|
-
reference:
|
|
9897
|
+
reference: l$(e.reference, await t(e.floating), e.strategy),
|
|
9898
9898
|
floating: {
|
|
9899
9899
|
x: 0,
|
|
9900
9900
|
y: 0,
|
|
@@ -9903,25 +9903,25 @@ const s2 = async function(e) {
|
|
|
9903
9903
|
}
|
|
9904
9904
|
};
|
|
9905
9905
|
};
|
|
9906
|
-
function
|
|
9906
|
+
function u$(e) {
|
|
9907
9907
|
return it(e).direction === "rtl";
|
|
9908
9908
|
}
|
|
9909
|
-
const
|
|
9909
|
+
const c$ = {
|
|
9910
9910
|
convertOffsetParentRelativeRectToViewportRelativeRect: Jy,
|
|
9911
9911
|
getDocumentElement: bt,
|
|
9912
|
-
getClippingRect:
|
|
9912
|
+
getClippingRect: i$,
|
|
9913
9913
|
getOffsetParent: vp,
|
|
9914
|
-
getElementRects:
|
|
9914
|
+
getElementRects: s$,
|
|
9915
9915
|
getClientRects: Qy,
|
|
9916
|
-
getDimensions:
|
|
9916
|
+
getDimensions: a$,
|
|
9917
9917
|
getScale: Nr,
|
|
9918
9918
|
isElement: ot,
|
|
9919
|
-
isRTL:
|
|
9919
|
+
isRTL: u$
|
|
9920
9920
|
};
|
|
9921
9921
|
function mp(e, t) {
|
|
9922
9922
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
9923
9923
|
}
|
|
9924
|
-
function
|
|
9924
|
+
function d$(e, t) {
|
|
9925
9925
|
let r = null, o;
|
|
9926
9926
|
const i = bt(e);
|
|
9927
9927
|
function n() {
|
|
@@ -9967,7 +9967,7 @@ function d2(e, t) {
|
|
|
9967
9967
|
}
|
|
9968
9968
|
return a(!0), n;
|
|
9969
9969
|
}
|
|
9970
|
-
function
|
|
9970
|
+
function p$(e, t, r, o) {
|
|
9971
9971
|
o === void 0 && (o = {});
|
|
9972
9972
|
const {
|
|
9973
9973
|
ancestorScroll: i = !0,
|
|
@@ -9981,7 +9981,7 @@ function p2(e, t, r, o) {
|
|
|
9981
9981
|
passive: !0
|
|
9982
9982
|
}), n && b.addEventListener("resize", r);
|
|
9983
9983
|
});
|
|
9984
|
-
const d = u && l ?
|
|
9984
|
+
const d = u && l ? d$(u, r) : null;
|
|
9985
9985
|
let g = -1, f = null;
|
|
9986
9986
|
a && (f = new ResizeObserver((b) => {
|
|
9987
9987
|
let [y] = b;
|
|
@@ -10003,9 +10003,9 @@ function p2(e, t, r, o) {
|
|
|
10003
10003
|
}), d?.(), (b = f) == null || b.disconnect(), f = null, s && cancelAnimationFrame(v);
|
|
10004
10004
|
};
|
|
10005
10005
|
}
|
|
10006
|
-
const
|
|
10006
|
+
const f$ = Ty, g$ = Fy, h$ = ky, _$ = zy, v$ = Iy, ou = My, m$ = jy, b$ = (e, t, r) => {
|
|
10007
10007
|
const o = /* @__PURE__ */ new Map(), i = {
|
|
10008
|
-
platform:
|
|
10008
|
+
platform: c$,
|
|
10009
10009
|
...r
|
|
10010
10010
|
}, n = {
|
|
10011
10011
|
...i.platform,
|
|
@@ -10016,8 +10016,8 @@ const f2 = Ty, g2 = Fy, h2 = ky, _2 = zy, v2 = Iy, ou = My, m2 = jy, b2 = (e, t,
|
|
|
10016
10016
|
platform: n
|
|
10017
10017
|
});
|
|
10018
10018
|
};
|
|
10019
|
-
var
|
|
10020
|
-
}, Qn =
|
|
10019
|
+
var w$ = typeof document < "u", y$ = function() {
|
|
10020
|
+
}, Qn = w$ ? mo : y$;
|
|
10021
10021
|
function go(e, t) {
|
|
10022
10022
|
if (e === t)
|
|
10023
10023
|
return !0;
|
|
@@ -10061,7 +10061,7 @@ function hi(e) {
|
|
|
10061
10061
|
t.current = e;
|
|
10062
10062
|
}), t;
|
|
10063
10063
|
}
|
|
10064
|
-
function
|
|
10064
|
+
function $$(e) {
|
|
10065
10065
|
e === void 0 && (e = {});
|
|
10066
10066
|
const {
|
|
10067
10067
|
placement: t = "bottom",
|
|
@@ -10096,9 +10096,9 @@ function $2(e) {
|
|
|
10096
10096
|
strategy: r,
|
|
10097
10097
|
middleware: g
|
|
10098
10098
|
};
|
|
10099
|
-
P.current && (I.platform = P.current),
|
|
10099
|
+
P.current && (I.platform = P.current), b$(C.current, x.current, I).then((q) => {
|
|
10100
10100
|
const ae = {
|
|
10101
|
-
...
|
|
10101
|
+
...q,
|
|
10102
10102
|
// The floating element's position may be recomputed while it's closed
|
|
10103
10103
|
// but still mounted (such as when transitioning out). To ensure
|
|
10104
10104
|
// `isPositioned` will be `false` initially on the next open, avoid
|
|
@@ -10142,16 +10142,16 @@ function $2(e) {
|
|
|
10142
10142
|
};
|
|
10143
10143
|
if (!Z.floating)
|
|
10144
10144
|
return I;
|
|
10145
|
-
const
|
|
10145
|
+
const q = iu(Z.floating, c.x), ae = iu(Z.floating, c.y);
|
|
10146
10146
|
return l ? {
|
|
10147
10147
|
...I,
|
|
10148
|
-
transform: "translate(" +
|
|
10148
|
+
transform: "translate(" + q + "px, " + ae + "px)",
|
|
10149
10149
|
...bp(Z.floating) >= 1.5 && {
|
|
10150
10150
|
willChange: "transform"
|
|
10151
10151
|
}
|
|
10152
10152
|
} : {
|
|
10153
10153
|
position: r,
|
|
10154
|
-
left:
|
|
10154
|
+
left: q,
|
|
10155
10155
|
top: ae
|
|
10156
10156
|
};
|
|
10157
10157
|
}, [r, l, Z.floating, c.x, c.y]);
|
|
@@ -10163,7 +10163,7 @@ function $2(e) {
|
|
|
10163
10163
|
floatingStyles: F
|
|
10164
10164
|
}), [c, D, W, Z, F]);
|
|
10165
10165
|
}
|
|
10166
|
-
const
|
|
10166
|
+
const x$ = (e) => {
|
|
10167
10167
|
function t(r) {
|
|
10168
10168
|
return {}.hasOwnProperty.call(r, "current");
|
|
10169
10169
|
}
|
|
@@ -10184,29 +10184,29 @@ const x2 = (e) => {
|
|
|
10184
10184
|
}).fn(r) : {};
|
|
10185
10185
|
}
|
|
10186
10186
|
};
|
|
10187
|
-
},
|
|
10188
|
-
...
|
|
10187
|
+
}, S$ = (e, t) => ({
|
|
10188
|
+
...f$(e),
|
|
10189
10189
|
options: [e, t]
|
|
10190
|
-
}),
|
|
10191
|
-
...
|
|
10190
|
+
}), C$ = (e, t) => ({
|
|
10191
|
+
...g$(e),
|
|
10192
10192
|
options: [e, t]
|
|
10193
|
-
}),
|
|
10194
|
-
...
|
|
10193
|
+
}), R$ = (e, t) => ({
|
|
10194
|
+
...m$(e),
|
|
10195
10195
|
options: [e, t]
|
|
10196
|
-
}),
|
|
10197
|
-
...
|
|
10196
|
+
}), E$ = (e, t) => ({
|
|
10197
|
+
...h$(e),
|
|
10198
10198
|
options: [e, t]
|
|
10199
|
-
}),
|
|
10200
|
-
...
|
|
10199
|
+
}), N$ = (e, t) => ({
|
|
10200
|
+
..._$(e),
|
|
10201
10201
|
options: [e, t]
|
|
10202
|
-
}),
|
|
10203
|
-
...
|
|
10202
|
+
}), O$ = (e, t) => ({
|
|
10203
|
+
...v$(e),
|
|
10204
10204
|
options: [e, t]
|
|
10205
|
-
}),
|
|
10206
|
-
...
|
|
10205
|
+
}), P$ = (e, t) => ({
|
|
10206
|
+
...x$(e),
|
|
10207
10207
|
options: [e, t]
|
|
10208
10208
|
});
|
|
10209
|
-
var
|
|
10209
|
+
var D$ = "Arrow", wp = p.forwardRef((e, t) => {
|
|
10210
10210
|
const { children: r, width: o = 10, height: i = 5, ...n } = e;
|
|
10211
10211
|
return /* @__PURE__ */ h(
|
|
10212
10212
|
Yt.svg,
|
|
@@ -10221,9 +10221,9 @@ var D2 = "Arrow", wp = p.forwardRef((e, t) => {
|
|
|
10221
10221
|
}
|
|
10222
10222
|
);
|
|
10223
10223
|
});
|
|
10224
|
-
wp.displayName =
|
|
10225
|
-
var
|
|
10226
|
-
function
|
|
10224
|
+
wp.displayName = D$;
|
|
10225
|
+
var A$ = wp;
|
|
10226
|
+
function M$(e) {
|
|
10227
10227
|
const [t, r] = p.useState(void 0);
|
|
10228
10228
|
return or(() => {
|
|
10229
10229
|
if (e) {
|
|
@@ -10245,9 +10245,9 @@ function M2(e) {
|
|
|
10245
10245
|
r(void 0);
|
|
10246
10246
|
}, [e]), t;
|
|
10247
10247
|
}
|
|
10248
|
-
var Da = "Popper", [yp, $p] = np(Da), [
|
|
10248
|
+
var Da = "Popper", [yp, $p] = np(Da), [k$, xp] = yp(Da), Sp = (e) => {
|
|
10249
10249
|
const { __scopePopper: t, children: r } = e, [o, i] = p.useState(null);
|
|
10250
|
-
return /* @__PURE__ */ h(
|
|
10250
|
+
return /* @__PURE__ */ h(k$, { scope: t, anchor: o, onAnchorChange: i, children: r });
|
|
10251
10251
|
};
|
|
10252
10252
|
Sp.displayName = Da;
|
|
10253
10253
|
var Cp = "PopperAnchor", Rp = p.forwardRef(
|
|
@@ -10259,7 +10259,7 @@ var Cp = "PopperAnchor", Rp = p.forwardRef(
|
|
|
10259
10259
|
}
|
|
10260
10260
|
);
|
|
10261
10261
|
Rp.displayName = Cp;
|
|
10262
|
-
var Aa = "PopperContent", [
|
|
10262
|
+
var Aa = "PopperContent", [I$, L$] = yp(Aa), Ep = p.forwardRef(
|
|
10263
10263
|
(e, t) => {
|
|
10264
10264
|
const {
|
|
10265
10265
|
__scopePopper: r,
|
|
@@ -10276,42 +10276,42 @@ var Aa = "PopperContent", [I2, L2] = yp(Aa), Ep = p.forwardRef(
|
|
|
10276
10276
|
updatePositionStrategy: f = "optimized",
|
|
10277
10277
|
onPlaced: v,
|
|
10278
10278
|
..._
|
|
10279
|
-
} = e, m = xp(Aa, r), [b, y] = p.useState(null), w = cr(t, (pe) => y(pe)), [$, S] = p.useState(null), C =
|
|
10279
|
+
} = e, m = xp(Aa, r), [b, y] = p.useState(null), w = cr(t, (pe) => y(pe)), [$, S] = p.useState(null), C = M$($), x = C?.width ?? 0, R = C?.height ?? 0, E = o + (n !== "center" ? "-" + n : ""), O = typeof c == "number" ? c : { top: 0, right: 0, bottom: 0, left: 0, ...c }, P = Array.isArray(u) ? u : [u], L = P.length > 0, D = {
|
|
10280
10280
|
padding: O,
|
|
10281
|
-
boundary: P.filter(
|
|
10281
|
+
boundary: P.filter(F$),
|
|
10282
10282
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
10283
10283
|
altBoundary: L
|
|
10284
|
-
}, { refs: k, floatingStyles: W, placement: Z, isPositioned: F, middlewareData: I } =
|
|
10284
|
+
}, { refs: k, floatingStyles: W, placement: Z, isPositioned: F, middlewareData: I } = $$({
|
|
10285
10285
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
10286
10286
|
strategy: "fixed",
|
|
10287
10287
|
placement: E,
|
|
10288
|
-
whileElementsMounted: (...pe) =>
|
|
10288
|
+
whileElementsMounted: (...pe) => p$(...pe, {
|
|
10289
10289
|
animationFrame: f === "always"
|
|
10290
10290
|
}),
|
|
10291
10291
|
elements: {
|
|
10292
10292
|
reference: m.anchor
|
|
10293
10293
|
},
|
|
10294
10294
|
middleware: [
|
|
10295
|
-
|
|
10296
|
-
s &&
|
|
10295
|
+
S$({ mainAxis: i + R, alignmentAxis: a }),
|
|
10296
|
+
s && C$({
|
|
10297
10297
|
mainAxis: !0,
|
|
10298
10298
|
crossAxis: !1,
|
|
10299
|
-
limiter: d === "partial" ?
|
|
10299
|
+
limiter: d === "partial" ? R$() : void 0,
|
|
10300
10300
|
...D
|
|
10301
10301
|
}),
|
|
10302
|
-
s &&
|
|
10303
|
-
|
|
10302
|
+
s && E$({ ...D }),
|
|
10303
|
+
N$({
|
|
10304
10304
|
...D,
|
|
10305
|
-
apply: ({ elements: pe, rects: _e, availableWidth: U, availableHeight:
|
|
10305
|
+
apply: ({ elements: pe, rects: _e, availableWidth: U, availableHeight: H }) => {
|
|
10306
10306
|
const { width: lt, height: ve } = _e.reference, xe = pe.floating.style;
|
|
10307
|
-
xe.setProperty("--radix-popper-available-width", `${U}px`), xe.setProperty("--radix-popper-available-height", `${
|
|
10307
|
+
xe.setProperty("--radix-popper-available-width", `${U}px`), xe.setProperty("--radix-popper-available-height", `${H}px`), xe.setProperty("--radix-popper-anchor-width", `${lt}px`), xe.setProperty("--radix-popper-anchor-height", `${ve}px`);
|
|
10308
10308
|
}
|
|
10309
10309
|
}),
|
|
10310
|
-
$ &&
|
|
10311
|
-
|
|
10312
|
-
g &&
|
|
10310
|
+
$ && P$({ element: $, padding: l }),
|
|
10311
|
+
j$({ arrowWidth: x, arrowHeight: R }),
|
|
10312
|
+
g && O$({ strategy: "referenceHidden", ...D })
|
|
10313
10313
|
]
|
|
10314
|
-
}), [
|
|
10314
|
+
}), [q, ae] = Pp(Z), Ze = zr(v);
|
|
10315
10315
|
or(() => {
|
|
10316
10316
|
F && Ze?.();
|
|
10317
10317
|
}, [F, Ze]);
|
|
@@ -10343,10 +10343,10 @@ var Aa = "PopperContent", [I2, L2] = yp(Aa), Ep = p.forwardRef(
|
|
|
10343
10343
|
},
|
|
10344
10344
|
dir: e.dir,
|
|
10345
10345
|
children: /* @__PURE__ */ h(
|
|
10346
|
-
|
|
10346
|
+
I$,
|
|
10347
10347
|
{
|
|
10348
10348
|
scope: r,
|
|
10349
|
-
placedSide:
|
|
10349
|
+
placedSide: q,
|
|
10350
10350
|
onArrowChange: S,
|
|
10351
10351
|
arrowX: le,
|
|
10352
10352
|
arrowY: $e,
|
|
@@ -10354,7 +10354,7 @@ var Aa = "PopperContent", [I2, L2] = yp(Aa), Ep = p.forwardRef(
|
|
|
10354
10354
|
children: /* @__PURE__ */ h(
|
|
10355
10355
|
Yt.div,
|
|
10356
10356
|
{
|
|
10357
|
-
"data-side":
|
|
10357
|
+
"data-side": q,
|
|
10358
10358
|
"data-align": ae,
|
|
10359
10359
|
..._,
|
|
10360
10360
|
ref: w,
|
|
@@ -10373,13 +10373,13 @@ var Aa = "PopperContent", [I2, L2] = yp(Aa), Ep = p.forwardRef(
|
|
|
10373
10373
|
}
|
|
10374
10374
|
);
|
|
10375
10375
|
Ep.displayName = Aa;
|
|
10376
|
-
var Np = "PopperArrow",
|
|
10376
|
+
var Np = "PopperArrow", T$ = {
|
|
10377
10377
|
top: "bottom",
|
|
10378
10378
|
right: "left",
|
|
10379
10379
|
bottom: "top",
|
|
10380
10380
|
left: "right"
|
|
10381
10381
|
}, Op = p.forwardRef(function(e, t) {
|
|
10382
|
-
const { __scopePopper: r, ...o } = e, i =
|
|
10382
|
+
const { __scopePopper: r, ...o } = e, i = L$(Np, r), n = T$[i.placedSide];
|
|
10383
10383
|
return (
|
|
10384
10384
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
10385
10385
|
// doesn't report size as we'd expect on SVG elements.
|
|
@@ -10408,7 +10408,7 @@ var Np = "PopperArrow", T2 = {
|
|
|
10408
10408
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
10409
10409
|
},
|
|
10410
10410
|
children: /* @__PURE__ */ h(
|
|
10411
|
-
|
|
10411
|
+
A$,
|
|
10412
10412
|
{
|
|
10413
10413
|
...o,
|
|
10414
10414
|
ref: t,
|
|
@@ -10424,10 +10424,10 @@ var Np = "PopperArrow", T2 = {
|
|
|
10424
10424
|
);
|
|
10425
10425
|
});
|
|
10426
10426
|
Op.displayName = Np;
|
|
10427
|
-
function
|
|
10427
|
+
function F$(e) {
|
|
10428
10428
|
return e !== null;
|
|
10429
10429
|
}
|
|
10430
|
-
var
|
|
10430
|
+
var j$ = (e) => ({
|
|
10431
10431
|
name: "transformOrigin",
|
|
10432
10432
|
options: e,
|
|
10433
10433
|
fn(t) {
|
|
@@ -10440,23 +10440,23 @@ function Pp(e) {
|
|
|
10440
10440
|
const [t, r = "center"] = e.split("-");
|
|
10441
10441
|
return [t, r];
|
|
10442
10442
|
}
|
|
10443
|
-
var
|
|
10443
|
+
var z$ = Sp, V$ = Rp, B$ = Ep, q$ = Op, H$ = "Portal", Dp = p.forwardRef((e, t) => {
|
|
10444
10444
|
const { container: r, ...o } = e, [i, n] = p.useState(!1);
|
|
10445
10445
|
or(() => n(!0), []);
|
|
10446
10446
|
const a = r || i && globalThis?.document?.body;
|
|
10447
10447
|
return a ? Nc.createPortal(/* @__PURE__ */ h(Yt.div, { ...o, ref: t }), a) : null;
|
|
10448
10448
|
});
|
|
10449
|
-
Dp.displayName =
|
|
10450
|
-
function
|
|
10449
|
+
Dp.displayName = H$;
|
|
10450
|
+
function W$(e, t) {
|
|
10451
10451
|
return p.useReducer((r, o) => t[r][o] ?? r, e);
|
|
10452
10452
|
}
|
|
10453
10453
|
var Ma = (e) => {
|
|
10454
|
-
const { present: t, children: r } = e, o =
|
|
10454
|
+
const { present: t, children: r } = e, o = G$(t), i = typeof r == "function" ? r({ present: o.isPresent }) : p.Children.only(r), n = cr(o.ref, Z$(i));
|
|
10455
10455
|
return typeof r == "function" || o.isPresent ? p.cloneElement(i, { ref: n }) : null;
|
|
10456
10456
|
};
|
|
10457
10457
|
Ma.displayName = "Presence";
|
|
10458
|
-
function
|
|
10459
|
-
const [t, r] = p.useState(), o = p.useRef({}), i = p.useRef(e), n = p.useRef("none"), a = e ? "mounted" : "unmounted", [l, s] =
|
|
10458
|
+
function G$(e) {
|
|
10459
|
+
const [t, r] = p.useState(), o = p.useRef({}), i = p.useRef(e), n = p.useRef("none"), a = e ? "mounted" : "unmounted", [l, s] = W$(a, {
|
|
10460
10460
|
mounted: {
|
|
10461
10461
|
UNMOUNT: "unmounted",
|
|
10462
10462
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -10507,17 +10507,17 @@ function G2(e) {
|
|
|
10507
10507
|
function jn(e) {
|
|
10508
10508
|
return e?.animationName || "none";
|
|
10509
10509
|
}
|
|
10510
|
-
function
|
|
10510
|
+
function Z$(e) {
|
|
10511
10511
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
10512
10512
|
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
10513
10513
|
}
|
|
10514
|
-
function
|
|
10514
|
+
function U$({
|
|
10515
10515
|
prop: e,
|
|
10516
10516
|
defaultProp: t,
|
|
10517
10517
|
onChange: r = () => {
|
|
10518
10518
|
}
|
|
10519
10519
|
}) {
|
|
10520
|
-
const [o, i] =
|
|
10520
|
+
const [o, i] = X$({ defaultProp: t, onChange: r }), n = e !== void 0, a = n ? e : o, l = zr(r), s = p.useCallback(
|
|
10521
10521
|
(u) => {
|
|
10522
10522
|
if (n) {
|
|
10523
10523
|
const c = typeof u == "function" ? u(e) : u;
|
|
@@ -10529,7 +10529,7 @@ function U2({
|
|
|
10529
10529
|
);
|
|
10530
10530
|
return [a, s];
|
|
10531
10531
|
}
|
|
10532
|
-
function
|
|
10532
|
+
function X$({
|
|
10533
10533
|
defaultProp: e,
|
|
10534
10534
|
onChange: t
|
|
10535
10535
|
}) {
|
|
@@ -10538,7 +10538,7 @@ function X2({
|
|
|
10538
10538
|
i.current !== o && (n(o), i.current = o);
|
|
10539
10539
|
}, [o, i, n]), r;
|
|
10540
10540
|
}
|
|
10541
|
-
var
|
|
10541
|
+
var Y$ = "VisuallyHidden", Ap = p.forwardRef(
|
|
10542
10542
|
(e, t) => /* @__PURE__ */ h(
|
|
10543
10543
|
Yt.span,
|
|
10544
10544
|
{
|
|
@@ -10561,13 +10561,13 @@ var Y2 = "VisuallyHidden", Ap = p.forwardRef(
|
|
|
10561
10561
|
}
|
|
10562
10562
|
)
|
|
10563
10563
|
);
|
|
10564
|
-
Ap.displayName =
|
|
10565
|
-
var
|
|
10564
|
+
Ap.displayName = Y$;
|
|
10565
|
+
var K$ = Ap, [Ao] = np("Tooltip", [
|
|
10566
10566
|
$p
|
|
10567
|
-
]), Mo = $p(), Mp = "TooltipProvider",
|
|
10567
|
+
]), Mo = $p(), Mp = "TooltipProvider", J$ = 700, Ji = "tooltip.open", [Q$, ka] = Ao(Mp), kp = (e) => {
|
|
10568
10568
|
const {
|
|
10569
10569
|
__scopeTooltip: t,
|
|
10570
|
-
delayDuration: r =
|
|
10570
|
+
delayDuration: r = J$,
|
|
10571
10571
|
skipDelayDuration: o = 300,
|
|
10572
10572
|
disableHoverableContent: i = !1,
|
|
10573
10573
|
children: n
|
|
@@ -10576,7 +10576,7 @@ var K2 = Ap, [Ao] = np("Tooltip", [
|
|
|
10576
10576
|
const c = u.current;
|
|
10577
10577
|
return () => window.clearTimeout(c);
|
|
10578
10578
|
}, []), /* @__PURE__ */ h(
|
|
10579
|
-
|
|
10579
|
+
Q$,
|
|
10580
10580
|
{
|
|
10581
10581
|
scope: t,
|
|
10582
10582
|
isOpenDelayed: a,
|
|
@@ -10600,7 +10600,7 @@ var K2 = Ap, [Ao] = np("Tooltip", [
|
|
|
10600
10600
|
);
|
|
10601
10601
|
};
|
|
10602
10602
|
kp.displayName = Mp;
|
|
10603
|
-
var ko = "Tooltip", [
|
|
10603
|
+
var ko = "Tooltip", [e2, Rn] = Ao(ko), Ip = (e) => {
|
|
10604
10604
|
const {
|
|
10605
10605
|
__scopeTooltip: t,
|
|
10606
10606
|
children: r,
|
|
@@ -10609,7 +10609,7 @@ var ko = "Tooltip", [e$, Rn] = Ao(ko), Ip = (e) => {
|
|
|
10609
10609
|
onOpenChange: n,
|
|
10610
10610
|
disableHoverableContent: a,
|
|
10611
10611
|
delayDuration: l
|
|
10612
|
-
} = e, s = ka(ko, e.__scopeTooltip), u = Mo(t), [c, d] = p.useState(null), g = wy(), f = p.useRef(0), v = a ?? s.disableHoverableContent, _ = l ?? s.delayDuration, m = p.useRef(!1), [b = !1, y] =
|
|
10612
|
+
} = e, s = ka(ko, e.__scopeTooltip), u = Mo(t), [c, d] = p.useState(null), g = wy(), f = p.useRef(0), v = a ?? s.disableHoverableContent, _ = l ?? s.delayDuration, m = p.useRef(!1), [b = !1, y] = U$({
|
|
10613
10613
|
prop: o,
|
|
10614
10614
|
defaultProp: i,
|
|
10615
10615
|
onChange: (x) => {
|
|
@@ -10626,8 +10626,8 @@ var ko = "Tooltip", [e$, Rn] = Ao(ko), Ip = (e) => {
|
|
|
10626
10626
|
}, [_, y]);
|
|
10627
10627
|
return p.useEffect(() => () => {
|
|
10628
10628
|
f.current && (window.clearTimeout(f.current), f.current = 0);
|
|
10629
|
-
}, []), /* @__PURE__ */ h(
|
|
10630
|
-
|
|
10629
|
+
}, []), /* @__PURE__ */ h(z$, { ...u, children: /* @__PURE__ */ h(
|
|
10630
|
+
e2,
|
|
10631
10631
|
{
|
|
10632
10632
|
scope: t,
|
|
10633
10633
|
contentId: g,
|
|
@@ -10652,7 +10652,7 @@ Ip.displayName = ko;
|
|
|
10652
10652
|
var Qi = "TooltipTrigger", Lp = p.forwardRef(
|
|
10653
10653
|
(e, t) => {
|
|
10654
10654
|
const { __scopeTooltip: r, ...o } = e, i = Rn(Qi, r), n = ka(Qi, r), a = Mo(r), l = p.useRef(null), s = cr(t, l, i.onTriggerChange), u = p.useRef(!1), c = p.useRef(!1), d = p.useCallback(() => u.current = !1, []);
|
|
10655
|
-
return p.useEffect(() => () => document.removeEventListener("pointerup", d), [d]), /* @__PURE__ */ h(
|
|
10655
|
+
return p.useEffect(() => () => document.removeEventListener("pointerup", d), [d]), /* @__PURE__ */ h(V$, { asChild: !0, ...a, children: /* @__PURE__ */ h(
|
|
10656
10656
|
Yt.button,
|
|
10657
10657
|
{
|
|
10658
10658
|
"aria-describedby": i.open ? i.contentId : void 0,
|
|
@@ -10678,24 +10678,24 @@ var Qi = "TooltipTrigger", Lp = p.forwardRef(
|
|
|
10678
10678
|
}
|
|
10679
10679
|
);
|
|
10680
10680
|
Lp.displayName = Qi;
|
|
10681
|
-
var Ia = "TooltipPortal", [
|
|
10681
|
+
var Ia = "TooltipPortal", [t2, r2] = Ao(Ia, {
|
|
10682
10682
|
forceMount: void 0
|
|
10683
10683
|
}), Tp = (e) => {
|
|
10684
10684
|
const { __scopeTooltip: t, forceMount: r, children: o, container: i } = e, n = Rn(Ia, t);
|
|
10685
|
-
return /* @__PURE__ */ h(
|
|
10685
|
+
return /* @__PURE__ */ h(t2, { scope: t, forceMount: r, children: /* @__PURE__ */ h(Ma, { present: r || n.open, children: /* @__PURE__ */ h(Dp, { asChild: !0, container: i, children: o }) }) });
|
|
10686
10686
|
};
|
|
10687
10687
|
Tp.displayName = Ia;
|
|
10688
10688
|
var Ar = "TooltipContent", Fp = p.forwardRef(
|
|
10689
10689
|
(e, t) => {
|
|
10690
|
-
const r =
|
|
10691
|
-
return /* @__PURE__ */ h(Ma, { present: o || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ h(jp, { side: i, ...n, ref: t }) : /* @__PURE__ */ h(
|
|
10690
|
+
const r = r2(Ar, e.__scopeTooltip), { forceMount: o = r.forceMount, side: i = "top", ...n } = e, a = Rn(Ar, e.__scopeTooltip);
|
|
10691
|
+
return /* @__PURE__ */ h(Ma, { present: o || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ h(jp, { side: i, ...n, ref: t }) : /* @__PURE__ */ h(n2, { side: i, ...n, ref: t }) });
|
|
10692
10692
|
}
|
|
10693
|
-
),
|
|
10693
|
+
), n2 = p.forwardRef((e, t) => {
|
|
10694
10694
|
const r = Rn(Ar, e.__scopeTooltip), o = ka(Ar, e.__scopeTooltip), i = p.useRef(null), n = cr(t, i), [a, l] = p.useState(null), { trigger: s, onClose: u } = r, c = i.current, { onPointerInTransitChange: d } = o, g = p.useCallback(() => {
|
|
10695
10695
|
l(null), d(!1);
|
|
10696
10696
|
}, [d]), f = p.useCallback(
|
|
10697
10697
|
(v, _) => {
|
|
10698
|
-
const m = v.currentTarget, b = { x: v.clientX, y: v.clientY }, y =
|
|
10698
|
+
const m = v.currentTarget, b = { x: v.clientX, y: v.clientY }, y = a2(b, m.getBoundingClientRect()), w = l2(b, y), $ = s2(_.getBoundingClientRect()), S = c2([...w, ...$]);
|
|
10699
10699
|
l(S), d(!0);
|
|
10700
10700
|
},
|
|
10701
10701
|
[d]
|
|
@@ -10710,13 +10710,13 @@ var Ar = "TooltipContent", Fp = p.forwardRef(
|
|
|
10710
10710
|
}, [s, c, f, g]), p.useEffect(() => {
|
|
10711
10711
|
if (a) {
|
|
10712
10712
|
const v = (_) => {
|
|
10713
|
-
const m = _.target, b = { x: _.clientX, y: _.clientY }, y = s?.contains(m) || c?.contains(m), w = !
|
|
10713
|
+
const m = _.target, b = { x: _.clientX, y: _.clientY }, y = s?.contains(m) || c?.contains(m), w = !u2(b, a);
|
|
10714
10714
|
y ? g() : w && (g(), u());
|
|
10715
10715
|
};
|
|
10716
10716
|
return document.addEventListener("pointermove", v), () => document.removeEventListener("pointermove", v);
|
|
10717
10717
|
}
|
|
10718
10718
|
}, [s, c, a, u, g]), /* @__PURE__ */ h(jp, { ...e, ref: n });
|
|
10719
|
-
}), [
|
|
10719
|
+
}), [o2, i2] = Ao(ko, { isInside: !1 }), jp = p.forwardRef(
|
|
10720
10720
|
(e, t) => {
|
|
10721
10721
|
const {
|
|
10722
10722
|
__scopeTooltip: r,
|
|
@@ -10743,7 +10743,7 @@ var Ar = "TooltipContent", Fp = p.forwardRef(
|
|
|
10743
10743
|
onFocusOutside: (d) => d.preventDefault(),
|
|
10744
10744
|
onDismiss: c,
|
|
10745
10745
|
children: /* @__PURE__ */ N(
|
|
10746
|
-
|
|
10746
|
+
B$,
|
|
10747
10747
|
{
|
|
10748
10748
|
"data-state": s.stateAttribute,
|
|
10749
10749
|
...u,
|
|
@@ -10759,7 +10759,7 @@ var Ar = "TooltipContent", Fp = p.forwardRef(
|
|
|
10759
10759
|
},
|
|
10760
10760
|
children: [
|
|
10761
10761
|
/* @__PURE__ */ h(ip, { children: o }),
|
|
10762
|
-
/* @__PURE__ */ h(
|
|
10762
|
+
/* @__PURE__ */ h(o2, { scope: r, isInside: !0, children: /* @__PURE__ */ h(K$, { id: s.contentId, role: "tooltip", children: i || o }) })
|
|
10763
10763
|
]
|
|
10764
10764
|
}
|
|
10765
10765
|
)
|
|
@@ -10771,14 +10771,14 @@ Fp.displayName = Ar;
|
|
|
10771
10771
|
var zp = "TooltipArrow", Vp = p.forwardRef(
|
|
10772
10772
|
(e, t) => {
|
|
10773
10773
|
const { __scopeTooltip: r, ...o } = e, i = Mo(r);
|
|
10774
|
-
return
|
|
10774
|
+
return i2(
|
|
10775
10775
|
zp,
|
|
10776
10776
|
r
|
|
10777
|
-
).isInside ? null : /* @__PURE__ */ h(
|
|
10777
|
+
).isInside ? null : /* @__PURE__ */ h(q$, { ...i, ...o, ref: t });
|
|
10778
10778
|
}
|
|
10779
10779
|
);
|
|
10780
10780
|
Vp.displayName = zp;
|
|
10781
|
-
function
|
|
10781
|
+
function a2(e, t) {
|
|
10782
10782
|
const r = Math.abs(t.top - e.y), o = Math.abs(t.bottom - e.y), i = Math.abs(t.right - e.x), n = Math.abs(t.left - e.x);
|
|
10783
10783
|
switch (Math.min(r, o, i, n)) {
|
|
10784
10784
|
case n:
|
|
@@ -10793,7 +10793,7 @@ function a$(e, t) {
|
|
|
10793
10793
|
throw new Error("unreachable");
|
|
10794
10794
|
}
|
|
10795
10795
|
}
|
|
10796
|
-
function
|
|
10796
|
+
function l2(e, t, r = 5) {
|
|
10797
10797
|
const o = [];
|
|
10798
10798
|
switch (t) {
|
|
10799
10799
|
case "top":
|
|
@@ -10823,7 +10823,7 @@ function l$(e, t, r = 5) {
|
|
|
10823
10823
|
}
|
|
10824
10824
|
return o;
|
|
10825
10825
|
}
|
|
10826
|
-
function
|
|
10826
|
+
function s2(e) {
|
|
10827
10827
|
const { top: t, right: r, bottom: o, left: i } = e;
|
|
10828
10828
|
return [
|
|
10829
10829
|
{ x: i, y: t },
|
|
@@ -10832,7 +10832,7 @@ function s$(e) {
|
|
|
10832
10832
|
{ x: i, y: o }
|
|
10833
10833
|
];
|
|
10834
10834
|
}
|
|
10835
|
-
function
|
|
10835
|
+
function u2(e, t) {
|
|
10836
10836
|
const { x: r, y: o } = e;
|
|
10837
10837
|
let i = !1;
|
|
10838
10838
|
for (let n = 0, a = t.length - 1; n < t.length; a = n++) {
|
|
@@ -10841,11 +10841,11 @@ function u$(e, t) {
|
|
|
10841
10841
|
}
|
|
10842
10842
|
return i;
|
|
10843
10843
|
}
|
|
10844
|
-
function
|
|
10844
|
+
function c2(e) {
|
|
10845
10845
|
const t = e.slice();
|
|
10846
|
-
return t.sort((r, o) => r.x < o.x ? -1 : r.x > o.x ? 1 : r.y < o.y ? -1 : r.y > o.y ? 1 : 0),
|
|
10846
|
+
return t.sort((r, o) => r.x < o.x ? -1 : r.x > o.x ? 1 : r.y < o.y ? -1 : r.y > o.y ? 1 : 0), d2(t);
|
|
10847
10847
|
}
|
|
10848
|
-
function
|
|
10848
|
+
function d2(e) {
|
|
10849
10849
|
if (e.length <= 1) return e.slice();
|
|
10850
10850
|
const t = [];
|
|
10851
10851
|
for (let o = 0; o < e.length; o++) {
|
|
@@ -10870,12 +10870,12 @@ function d$(e) {
|
|
|
10870
10870
|
}
|
|
10871
10871
|
return r.pop(), t.length === 1 && r.length === 1 && t[0].x === r[0].x && t[0].y === r[0].y ? t : t.concat(r);
|
|
10872
10872
|
}
|
|
10873
|
-
var
|
|
10874
|
-
function
|
|
10873
|
+
var p2 = kp, f2 = Ip, g2 = Lp, h2 = Tp, _2 = Fp, v2 = Vp;
|
|
10874
|
+
function m2(e) {
|
|
10875
10875
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
10876
10876
|
}
|
|
10877
10877
|
var au = { exports: {} }, lu;
|
|
10878
|
-
function
|
|
10878
|
+
function b2() {
|
|
10879
10879
|
return lu || (lu = 1, (function(e) {
|
|
10880
10880
|
(function() {
|
|
10881
10881
|
var t = {}.hasOwnProperty;
|
|
@@ -10907,21 +10907,21 @@ function b$() {
|
|
|
10907
10907
|
})();
|
|
10908
10908
|
})(au)), au.exports;
|
|
10909
10909
|
}
|
|
10910
|
-
var
|
|
10911
|
-
const
|
|
10910
|
+
var w2 = b2();
|
|
10911
|
+
const y2 = /* @__PURE__ */ m2(w2), $2 = "_slideDownAndFade_fkagk_1", x2 = "_slideLeftAndFade_fkagk_1", S2 = "_slideUpAndFade_fkagk_1", C2 = "_slideRightAndFade_fkagk_1", R2 = {
|
|
10912
10912
|
"purpur-tooltip": "_purpur-tooltip_fkagk_1",
|
|
10913
10913
|
"purpur-tooltip__content": "_purpur-tooltip__content_fkagk_4",
|
|
10914
10914
|
"purpur-tooltip__content--primary": "_purpur-tooltip__content--primary_fkagk_14",
|
|
10915
10915
|
"purpur-tooltip__content--primary-negative": "_purpur-tooltip__content--primary-negative_fkagk_17",
|
|
10916
|
-
slideDownAndFade:
|
|
10917
|
-
slideLeftAndFade:
|
|
10918
|
-
slideUpAndFade:
|
|
10919
|
-
slideRightAndFade:
|
|
10916
|
+
slideDownAndFade: $2,
|
|
10917
|
+
slideLeftAndFade: x2,
|
|
10918
|
+
slideUpAndFade: S2,
|
|
10919
|
+
slideRightAndFade: C2,
|
|
10920
10920
|
"purpur-tooltip__arrow--primary": "_purpur-tooltip__arrow--primary_fkagk_32",
|
|
10921
10921
|
"purpur-tooltip__arrow--primary-negative": "_purpur-tooltip__arrow--primary-negative_fkagk_35"
|
|
10922
|
-
}, _i =
|
|
10922
|
+
}, _i = y2.bind(R2), E2 = {
|
|
10923
10923
|
TOP: "top"
|
|
10924
|
-
},
|
|
10924
|
+
}, N2 = {
|
|
10925
10925
|
CENTER: "center"
|
|
10926
10926
|
}, gr = "purpur-tooltip", Io = ce(
|
|
10927
10927
|
({
|
|
@@ -10931,8 +10931,8 @@ const y$ = /* @__PURE__ */ m$(w$), $$ = "_slideDownAndFade_fkagk_1", x$ = "_slid
|
|
|
10931
10931
|
className: o,
|
|
10932
10932
|
contentClassName: i,
|
|
10933
10933
|
negative: n = !1,
|
|
10934
|
-
position: a =
|
|
10935
|
-
align: l =
|
|
10934
|
+
position: a = E2.TOP,
|
|
10935
|
+
align: l = N2.CENTER,
|
|
10936
10936
|
triggerAriaLabel: s,
|
|
10937
10937
|
triggerElement: u,
|
|
10938
10938
|
...c
|
|
@@ -10955,9 +10955,9 @@ const y$ = /* @__PURE__ */ m$(w$), $$ = "_slideDownAndFade_fkagk_1", x$ = "_slid
|
|
|
10955
10955
|
children: /* @__PURE__ */ h(Qd, { size: "md" })
|
|
10956
10956
|
}
|
|
10957
10957
|
);
|
|
10958
|
-
return /* @__PURE__ */ h("div", { "data-testid": e, className: v, children: /* @__PURE__ */ h(
|
|
10958
|
+
return /* @__PURE__ */ h("div", { "data-testid": e, className: v, children: /* @__PURE__ */ h(p2, { delayDuration: parseInt(ny), children: /* @__PURE__ */ N(f2, { open: g, onOpenChange: f, ...c, children: [
|
|
10959
10959
|
/* @__PURE__ */ h(
|
|
10960
|
-
|
|
10960
|
+
g2,
|
|
10961
10961
|
{
|
|
10962
10962
|
asChild: !0,
|
|
10963
10963
|
onClick: (m) => {
|
|
@@ -10966,8 +10966,8 @@ const y$ = /* @__PURE__ */ m$(w$), $$ = "_slideDownAndFade_fkagk_1", x$ = "_slid
|
|
|
10966
10966
|
children: xg.count(u) === 0 ? _ : u
|
|
10967
10967
|
}
|
|
10968
10968
|
),
|
|
10969
|
-
/* @__PURE__ */ h(
|
|
10970
|
-
|
|
10969
|
+
/* @__PURE__ */ h(h2, { children: /* @__PURE__ */ N(
|
|
10970
|
+
_2,
|
|
10971
10971
|
{
|
|
10972
10972
|
side: a,
|
|
10973
10973
|
align: l,
|
|
@@ -10989,7 +10989,7 @@ const y$ = /* @__PURE__ */ m$(w$), $$ = "_slideDownAndFade_fkagk_1", x$ = "_slid
|
|
|
10989
10989
|
}
|
|
10990
10990
|
) : r,
|
|
10991
10991
|
/* @__PURE__ */ h(
|
|
10992
|
-
|
|
10992
|
+
v2,
|
|
10993
10993
|
{
|
|
10994
10994
|
className: _i(
|
|
10995
10995
|
`${gr}__arrow`,
|
|
@@ -11009,7 +11009,7 @@ function su(e, t) {
|
|
|
11009
11009
|
return e(t);
|
|
11010
11010
|
e != null && (e.current = t);
|
|
11011
11011
|
}
|
|
11012
|
-
function
|
|
11012
|
+
function O2(...e) {
|
|
11013
11013
|
return (t) => {
|
|
11014
11014
|
let r = !1;
|
|
11015
11015
|
const o = e.map((i) => {
|
|
@@ -11026,9 +11026,9 @@ function O$(...e) {
|
|
|
11026
11026
|
};
|
|
11027
11027
|
}
|
|
11028
11028
|
// @__NO_SIDE_EFFECTS__
|
|
11029
|
-
function
|
|
11030
|
-
const t = /* @__PURE__ */
|
|
11031
|
-
const { children: n, ...a } = o, l = p.Children.toArray(n), s = l.find(
|
|
11029
|
+
function P2(e) {
|
|
11030
|
+
const t = /* @__PURE__ */ D2(e), r = p.forwardRef((o, i) => {
|
|
11031
|
+
const { children: n, ...a } = o, l = p.Children.toArray(n), s = l.find(M2);
|
|
11032
11032
|
if (s) {
|
|
11033
11033
|
const u = s.props.children, c = l.map((d) => d === s ? p.Children.count(u) > 1 ? p.Children.only(null) : p.isValidElement(u) ? u.props.children : null : d);
|
|
11034
11034
|
return /* @__PURE__ */ h(t, { ...a, ref: i, children: p.isValidElement(u) ? p.cloneElement(u, void 0, c) : null });
|
|
@@ -11038,22 +11038,22 @@ function P$(e) {
|
|
|
11038
11038
|
return r.displayName = `${e}.Slot`, r;
|
|
11039
11039
|
}
|
|
11040
11040
|
// @__NO_SIDE_EFFECTS__
|
|
11041
|
-
function
|
|
11041
|
+
function D2(e) {
|
|
11042
11042
|
const t = p.forwardRef((r, o) => {
|
|
11043
11043
|
const { children: i, ...n } = r;
|
|
11044
11044
|
if (p.isValidElement(i)) {
|
|
11045
|
-
const a =
|
|
11046
|
-
return i.type !== p.Fragment && (l.ref = o ?
|
|
11045
|
+
const a = I2(i), l = k2(n, i.props);
|
|
11046
|
+
return i.type !== p.Fragment && (l.ref = o ? O2(o, a) : a), p.cloneElement(i, l);
|
|
11047
11047
|
}
|
|
11048
11048
|
return p.Children.count(i) > 1 ? p.Children.only(null) : null;
|
|
11049
11049
|
});
|
|
11050
11050
|
return t.displayName = `${e}.SlotClone`, t;
|
|
11051
11051
|
}
|
|
11052
|
-
var
|
|
11053
|
-
function
|
|
11054
|
-
return p.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
11052
|
+
var A2 = Symbol("radix.slottable");
|
|
11053
|
+
function M2(e) {
|
|
11054
|
+
return p.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === A2;
|
|
11055
11055
|
}
|
|
11056
|
-
function
|
|
11056
|
+
function k2(e, t) {
|
|
11057
11057
|
const r = { ...t };
|
|
11058
11058
|
for (const o in t) {
|
|
11059
11059
|
const i = e[o], n = t[o];
|
|
@@ -11063,11 +11063,11 @@ function k$(e, t) {
|
|
|
11063
11063
|
}
|
|
11064
11064
|
return { ...e, ...r };
|
|
11065
11065
|
}
|
|
11066
|
-
function
|
|
11066
|
+
function I2(e) {
|
|
11067
11067
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
11068
11068
|
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
11069
11069
|
}
|
|
11070
|
-
var
|
|
11070
|
+
var L2 = [
|
|
11071
11071
|
"a",
|
|
11072
11072
|
"button",
|
|
11073
11073
|
"div",
|
|
@@ -11084,15 +11084,15 @@ var L$ = [
|
|
|
11084
11084
|
"span",
|
|
11085
11085
|
"svg",
|
|
11086
11086
|
"ul"
|
|
11087
|
-
],
|
|
11088
|
-
const r = /* @__PURE__ */
|
|
11087
|
+
], T2 = L2.reduce((e, t) => {
|
|
11088
|
+
const r = /* @__PURE__ */ P2(`Primitive.${t}`), o = p.forwardRef((i, n) => {
|
|
11089
11089
|
const { asChild: a, ...l } = i, s = a ? r : t;
|
|
11090
11090
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ h(s, { ...l, ref: n });
|
|
11091
11091
|
});
|
|
11092
11092
|
return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
|
|
11093
|
-
}, {}),
|
|
11093
|
+
}, {}), F2 = "VisuallyHidden", Bp = p.forwardRef(
|
|
11094
11094
|
(e, t) => /* @__PURE__ */ h(
|
|
11095
|
-
|
|
11095
|
+
T2.span,
|
|
11096
11096
|
{
|
|
11097
11097
|
...e,
|
|
11098
11098
|
ref: t,
|
|
@@ -11113,9 +11113,9 @@ var L$ = [
|
|
|
11113
11113
|
}
|
|
11114
11114
|
)
|
|
11115
11115
|
);
|
|
11116
|
-
Bp.displayName =
|
|
11117
|
-
var
|
|
11118
|
-
const
|
|
11116
|
+
Bp.displayName = F2;
|
|
11117
|
+
var j2 = Bp;
|
|
11118
|
+
const qp = ({ asChild: e, children: t, ...r }) => /* @__PURE__ */ h(j2, { asChild: e, ...r, children: t }), z2 = ({ top: e, left: t, container: r }) => {
|
|
11119
11119
|
const i = {
|
|
11120
11120
|
position: r != null ? "absolute" : "fixed",
|
|
11121
11121
|
pointerEvents: "none",
|
|
@@ -11133,15 +11133,15 @@ const Hp = ({ asChild: e, children: t, ...r }) => /* @__PURE__ */ h(j$, { asChil
|
|
|
11133
11133
|
/* @__PURE__ */ h("div", { "data-testid": "drag-indicator", style: i, "aria-hidden": "true" }),
|
|
11134
11134
|
r || document.body
|
|
11135
11135
|
);
|
|
11136
|
-
},
|
|
11136
|
+
}, V2 = {
|
|
11137
11137
|
name: "drag-horizontal",
|
|
11138
11138
|
svg: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.55556 16.667C5.69645 16.667 5 15.9705 5 15.1114C5 14.2523 5.69645 13.5559 6.55556 13.5559C7.41466 13.5559 8.11111 14.2523 8.11111 15.1114C8.11111 15.9705 7.41466 16.667 6.55556 16.667ZM10.4444 15.1114C10.4444 15.9705 11.1409 16.667 12 16.667C12.8591 16.667 13.5556 15.9705 13.5556 15.1114C13.5556 14.2523 12.8591 13.5559 12 13.5559C11.1409 13.5559 10.4444 14.2523 10.4444 15.1114ZM17.4444 16.667C16.5853 16.667 15.8889 15.9705 15.8889 15.1114C15.8889 14.2523 16.5853 13.5559 17.4444 13.5559C18.3036 13.5559 19 14.2523 19 15.1114C19 15.9705 18.3036 16.667 17.4444 16.667Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6.55556 10.4448C5.69645 10.4448 5 9.74833 5 8.88922C5 8.03011 5.69645 7.33366 6.55555 7.33366C7.41466 7.33366 8.11111 8.03011 8.11111 8.88922C8.11111 9.74833 7.41466 10.4448 6.55556 10.4448ZM10.4444 8.88922C10.4444 9.74833 11.1409 10.4448 12 10.4448C12.8591 10.4448 13.5556 9.74833 13.5556 8.88922C13.5556 8.03011 12.8591 7.33366 12 7.33366C11.1409 7.33366 10.4444 8.03011 10.4444 8.88922ZM17.4444 10.4448C16.5853 10.4448 15.8889 9.74833 15.8889 8.88922C15.8889 8.03011 16.5853 7.33366 17.4444 7.33366C18.3036 7.33366 19 8.03011 19 8.88922C19 9.74833 18.3036 10.4448 17.4444 10.4448Z"/></svg>',
|
|
11139
11139
|
keywords: ["drag-horizontal"],
|
|
11140
11140
|
category: "action"
|
|
11141
|
-
},
|
|
11142
|
-
|
|
11141
|
+
}, Hp = (e) => /* @__PURE__ */ h(Le, { ...e, svg: V2 });
|
|
11142
|
+
Hp.displayName = "IconDragHorizontal";
|
|
11143
11143
|
const uu = K.bind(ee), ln = "purpur-table-column-header-cell";
|
|
11144
|
-
function
|
|
11144
|
+
function B2({
|
|
11145
11145
|
overlayActive: e,
|
|
11146
11146
|
isFirstColumn: t,
|
|
11147
11147
|
isLastColumn: r,
|
|
@@ -11161,11 +11161,11 @@ function B$({
|
|
|
11161
11161
|
}),
|
|
11162
11162
|
"aria-label": o,
|
|
11163
11163
|
...i,
|
|
11164
|
-
children: /* @__PURE__ */ h(
|
|
11164
|
+
children: /* @__PURE__ */ h(Hp, { className: uu(`${ln}__drag-handle-icon`), size: "sm" })
|
|
11165
11165
|
}
|
|
11166
11166
|
);
|
|
11167
11167
|
}
|
|
11168
|
-
function
|
|
11168
|
+
function q2({
|
|
11169
11169
|
elementRef: e,
|
|
11170
11170
|
dropIndicatorPosition: t
|
|
11171
11171
|
}) {
|
|
@@ -11249,12 +11249,12 @@ const Ta = () => {
|
|
|
11249
11249
|
}, onMouseLeave: () => {
|
|
11250
11250
|
o(!1);
|
|
11251
11251
|
} };
|
|
11252
|
-
},
|
|
11252
|
+
}, H2 = (e) => {
|
|
11253
11253
|
const r = 16 / (Number(
|
|
11254
11254
|
getComputedStyle(document.documentElement).getPropertyValue("--purpur-rescale") || "1"
|
|
11255
11255
|
) || 1);
|
|
11256
11256
|
return e / r;
|
|
11257
|
-
}, Lo = (e) => `${
|
|
11257
|
+
}, Lo = (e) => `${H2(e)}rem`, Ce = K.bind(ee), Q = "purpur-table-column-header-cell", Fa = ({
|
|
11258
11258
|
className: e,
|
|
11259
11259
|
enableSorting: t,
|
|
11260
11260
|
header: r,
|
|
@@ -11278,8 +11278,8 @@ const Ta = () => {
|
|
|
11278
11278
|
itemId: r.id,
|
|
11279
11279
|
sortableId: c,
|
|
11280
11280
|
enableDrag: !!u
|
|
11281
|
-
}), P = Wp(_, 1), L = (
|
|
11282
|
-
switch (
|
|
11281
|
+
}), P = Wp(_, 1), L = (q) => {
|
|
11282
|
+
switch (q) {
|
|
11283
11283
|
case "desc":
|
|
11284
11284
|
return "descending";
|
|
11285
11285
|
case "asc":
|
|
@@ -11288,15 +11288,15 @@ const Ta = () => {
|
|
|
11288
11288
|
default:
|
|
11289
11289
|
return "none";
|
|
11290
11290
|
}
|
|
11291
|
-
}, D = Lo(r.getSize()), k = r.column.getIsFirstColumn(), W = r.column.getIsLastColumn(), Z = typeof r.column.columnDef.header == "string" ? `${r.column.columnDef.header}` : void 0, F = (
|
|
11292
|
-
_.current =
|
|
11293
|
-
}, I =
|
|
11291
|
+
}, D = Lo(r.getSize()), k = r.column.getIsFirstColumn(), W = r.column.getIsLastColumn(), Z = typeof r.column.columnDef.header == "string" ? `${r.column.columnDef.header}` : void 0, F = (q) => {
|
|
11292
|
+
_.current = q, y && y(q);
|
|
11293
|
+
}, I = q2({
|
|
11294
11294
|
elementRef: _,
|
|
11295
11295
|
dropIndicatorPosition: O
|
|
11296
11296
|
});
|
|
11297
11297
|
return /* @__PURE__ */ N(tt, { children: [
|
|
11298
11298
|
I && /* @__PURE__ */ h(
|
|
11299
|
-
|
|
11299
|
+
z2,
|
|
11300
11300
|
{
|
|
11301
11301
|
top: I.top,
|
|
11302
11302
|
left: I.left,
|
|
@@ -11338,7 +11338,7 @@ const Ta = () => {
|
|
|
11338
11338
|
} : {},
|
|
11339
11339
|
children: [
|
|
11340
11340
|
u && /* @__PURE__ */ h(
|
|
11341
|
-
|
|
11341
|
+
B2,
|
|
11342
11342
|
{
|
|
11343
11343
|
...b,
|
|
11344
11344
|
overlayActive: g,
|
|
@@ -11356,7 +11356,7 @@ const Ta = () => {
|
|
|
11356
11356
|
},
|
|
11357
11357
|
children: /* @__PURE__ */ N("div", { className: Ce(`${Q}__content`), children: [
|
|
11358
11358
|
/* @__PURE__ */ h("div", { className: Ce(`${Q}__title`), children: /* @__PURE__ */ h(
|
|
11359
|
-
|
|
11359
|
+
W2,
|
|
11360
11360
|
{
|
|
11361
11361
|
header: r,
|
|
11362
11362
|
tanstackTable: a,
|
|
@@ -11366,7 +11366,7 @@ const Ta = () => {
|
|
|
11366
11366
|
sortingAriaLabels: o
|
|
11367
11367
|
}
|
|
11368
11368
|
) }),
|
|
11369
|
-
E && !C && /* @__PURE__ */ h("div", { className: Ce(`${Q}__filter-wrapper`), children: /* @__PURE__ */ h(
|
|
11369
|
+
E && !C && /* @__PURE__ */ h("div", { className: Ce(`${Q}__filter-wrapper`), children: /* @__PURE__ */ h(X2, { header: r }) }),
|
|
11370
11370
|
v && !E && !C && !x && g && /* @__PURE__ */ h("div", { className: Ce(`${Q}__filter-placeholder`) })
|
|
11371
11371
|
] })
|
|
11372
11372
|
}
|
|
@@ -11375,7 +11375,7 @@ const Ta = () => {
|
|
|
11375
11375
|
}
|
|
11376
11376
|
)
|
|
11377
11377
|
] });
|
|
11378
|
-
},
|
|
11378
|
+
}, W2 = ({
|
|
11379
11379
|
header: e,
|
|
11380
11380
|
tanstackTable: t,
|
|
11381
11381
|
canSort: r,
|
|
@@ -11385,7 +11385,7 @@ const Ta = () => {
|
|
|
11385
11385
|
}) => {
|
|
11386
11386
|
if (o)
|
|
11387
11387
|
return /* @__PURE__ */ h(
|
|
11388
|
-
|
|
11388
|
+
G2,
|
|
11389
11389
|
{
|
|
11390
11390
|
id: e.id,
|
|
11391
11391
|
tanstackTable: t,
|
|
@@ -11394,7 +11394,7 @@ const Ta = () => {
|
|
|
11394
11394
|
);
|
|
11395
11395
|
if (i) {
|
|
11396
11396
|
const a = e.column.columnDef.meta?.rowSelectionAriaLabels?.header ?? "";
|
|
11397
|
-
return /* @__PURE__ */ h(
|
|
11397
|
+
return /* @__PURE__ */ h(qp, { children: a });
|
|
11398
11398
|
}
|
|
11399
11399
|
return r && n ? /* @__PURE__ */ N(
|
|
11400
11400
|
he,
|
|
@@ -11403,16 +11403,16 @@ const Ta = () => {
|
|
|
11403
11403
|
iconOnly: !1,
|
|
11404
11404
|
size: "sm",
|
|
11405
11405
|
type: "button",
|
|
11406
|
-
"aria-label":
|
|
11406
|
+
"aria-label": U2(e.column.getIsSorted(), n),
|
|
11407
11407
|
onClick: e.column.getToggleSortingHandler(),
|
|
11408
11408
|
className: Ce(`${Q}__sortable-title`),
|
|
11409
11409
|
children: [
|
|
11410
11410
|
/* @__PURE__ */ h(cu, { header: e }),
|
|
11411
|
-
|
|
11411
|
+
Z2(e.column.getIsSorted())
|
|
11412
11412
|
]
|
|
11413
11413
|
}
|
|
11414
11414
|
) : /* @__PURE__ */ h(cu, { className: Ce(`${Q}__title--default`), header: e });
|
|
11415
|
-
},
|
|
11415
|
+
}, G2 = ({
|
|
11416
11416
|
id: e,
|
|
11417
11417
|
["aria-label"]: t,
|
|
11418
11418
|
tanstackTable: r
|
|
@@ -11460,7 +11460,7 @@ const Ta = () => {
|
|
|
11460
11460
|
children: a
|
|
11461
11461
|
}
|
|
11462
11462
|
);
|
|
11463
|
-
},
|
|
11463
|
+
}, Z2 = (e) => {
|
|
11464
11464
|
switch (e) {
|
|
11465
11465
|
case "desc":
|
|
11466
11466
|
return /* @__PURE__ */ h(wa, { size: "xs", className: Ce(`${Q}__sortable-icon`) });
|
|
@@ -11470,7 +11470,7 @@ const Ta = () => {
|
|
|
11470
11470
|
default:
|
|
11471
11471
|
return /* @__PURE__ */ h($a, { size: "xs", className: Ce(`${Q}__sortable-icon`) });
|
|
11472
11472
|
}
|
|
11473
|
-
},
|
|
11473
|
+
}, U2 = (e, t) => {
|
|
11474
11474
|
switch (e) {
|
|
11475
11475
|
case "desc":
|
|
11476
11476
|
return t.desc;
|
|
@@ -11480,7 +11480,7 @@ const Ta = () => {
|
|
|
11480
11480
|
default:
|
|
11481
11481
|
return t.default;
|
|
11482
11482
|
}
|
|
11483
|
-
},
|
|
11483
|
+
}, X2 = ({ header: e }) => {
|
|
11484
11484
|
const { filterVariant: t, filterKey: r, filterPlaceholder: o, filterAriaLabel: i } = e.column.columnDef.meta ?? {};
|
|
11485
11485
|
if (t === "string") {
|
|
11486
11486
|
const n = e.column.getFilterValue();
|
|
@@ -11514,17 +11514,17 @@ const Ta = () => {
|
|
|
11514
11514
|
);
|
|
11515
11515
|
}
|
|
11516
11516
|
return null;
|
|
11517
|
-
},
|
|
11517
|
+
}, Y2 = K.bind(ee), du = "purpur-table-header", Gp = ({
|
|
11518
11518
|
children: e,
|
|
11519
11519
|
className: t,
|
|
11520
11520
|
columnFiltersEnabled: r,
|
|
11521
11521
|
...o
|
|
11522
11522
|
}) => {
|
|
11523
|
-
const i =
|
|
11523
|
+
const i = Y2(t, du, {
|
|
11524
11524
|
[`${du}--has-filters`]: r
|
|
11525
11525
|
});
|
|
11526
11526
|
return /* @__PURE__ */ h("thead", { className: i, ...o, children: e });
|
|
11527
|
-
},
|
|
11527
|
+
}, K2 = K.bind(ee), pu = "purpur-table-row", ar = ({
|
|
11528
11528
|
children: e,
|
|
11529
11529
|
className: t,
|
|
11530
11530
|
["data-testid"]: r,
|
|
@@ -11533,15 +11533,15 @@ const Ta = () => {
|
|
|
11533
11533
|
"tr",
|
|
11534
11534
|
{
|
|
11535
11535
|
"data-testid": r,
|
|
11536
|
-
className:
|
|
11536
|
+
className: K2(t, pu, { [`${pu}--selected`]: o }),
|
|
11537
11537
|
children: e
|
|
11538
11538
|
}
|
|
11539
11539
|
);
|
|
11540
|
-
function
|
|
11540
|
+
function J2(e) {
|
|
11541
11541
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
11542
11542
|
}
|
|
11543
11543
|
var fu = { exports: {} }, gu;
|
|
11544
|
-
function
|
|
11544
|
+
function Q2() {
|
|
11545
11545
|
return gu || (gu = 1, (function(e) {
|
|
11546
11546
|
(function() {
|
|
11547
11547
|
var t = {}.hasOwnProperty;
|
|
@@ -11573,8 +11573,8 @@ function Q$() {
|
|
|
11573
11573
|
})();
|
|
11574
11574
|
})(fu)), fu.exports;
|
|
11575
11575
|
}
|
|
11576
|
-
var ex =
|
|
11577
|
-
const tx = /* @__PURE__ */
|
|
11576
|
+
var ex = Q2();
|
|
11577
|
+
const tx = /* @__PURE__ */ J2(ex), rx = {
|
|
11578
11578
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
11579
11579
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
11580
11580
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -11926,7 +11926,7 @@ function Vx() {
|
|
|
11926
11926
|
})($u)), $u.exports;
|
|
11927
11927
|
}
|
|
11928
11928
|
var Bx = Vx();
|
|
11929
|
-
const
|
|
11929
|
+
const qx = /* @__PURE__ */ zx(Bx), Hx = {
|
|
11930
11930
|
"purpur-cta-link": "_purpur-cta-link_y2ds9_1",
|
|
11931
11931
|
"purpur-cta-link--xs": "_purpur-cta-link--xs_y2ds9_22",
|
|
11932
11932
|
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_y2ds9_25",
|
|
@@ -11942,7 +11942,7 @@ const Hx = /* @__PURE__ */ zx(Bx), qx = {
|
|
|
11942
11942
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_y2ds9_108",
|
|
11943
11943
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_y2ds9_118",
|
|
11944
11944
|
"purpur-cta-link__icon": "_purpur-cta-link__icon_y2ds9_130"
|
|
11945
|
-
}, Su =
|
|
11945
|
+
}, Su = qx.bind(Hx), er = "purpur-cta-link", Wx = {
|
|
11946
11946
|
forward: Tx,
|
|
11947
11947
|
external: Fx,
|
|
11948
11948
|
back: Lx,
|
|
@@ -12422,11 +12422,11 @@ const jS = /* @__PURE__ */ LS(FS), zS = {
|
|
|
12422
12422
|
});
|
|
12423
12423
|
return /* @__PURE__ */ h(IS, { className: n, ...i, children: e });
|
|
12424
12424
|
};
|
|
12425
|
-
function
|
|
12425
|
+
function qS(e) {
|
|
12426
12426
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
12427
12427
|
}
|
|
12428
12428
|
var Mu = { exports: {} }, ku;
|
|
12429
|
-
function
|
|
12429
|
+
function HS() {
|
|
12430
12430
|
return ku || (ku = 1, (function(e) {
|
|
12431
12431
|
(function() {
|
|
12432
12432
|
var t = {}.hasOwnProperty;
|
|
@@ -12458,8 +12458,8 @@ function qS() {
|
|
|
12458
12458
|
})();
|
|
12459
12459
|
})(Mu)), Mu.exports;
|
|
12460
12460
|
}
|
|
12461
|
-
var WS =
|
|
12462
|
-
const GS = /* @__PURE__ */
|
|
12461
|
+
var WS = HS();
|
|
12462
|
+
const GS = /* @__PURE__ */ qS(WS), ZS = {
|
|
12463
12463
|
"purpur-paragraph": "_purpur-paragraph_1vz75_1",
|
|
12464
12464
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1vz75_7",
|
|
12465
12465
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1vz75_10",
|
|
@@ -13023,7 +13023,7 @@ const N5 = K.bind(ee), O5 = ({
|
|
|
13023
13023
|
/* @__PURE__ */ h(uf, { "data-testid": "alert-icon" }),
|
|
13024
13024
|
/* @__PURE__ */ h(Re, { children: t })
|
|
13025
13025
|
] }) : /* @__PURE__ */ h(Te, {});
|
|
13026
|
-
}, P5 = K.bind(ee),
|
|
13026
|
+
}, P5 = K.bind(ee), qe = "purpur-table-row-cell", za = ({
|
|
13027
13027
|
cell: e,
|
|
13028
13028
|
className: t,
|
|
13029
13029
|
["data-testid"]: r,
|
|
@@ -13044,18 +13044,18 @@ const N5 = K.bind(ee), O5 = ({
|
|
|
13044
13044
|
sortableId: m,
|
|
13045
13045
|
// Use column ID for consistency
|
|
13046
13046
|
enableDrag: !!d
|
|
13047
|
-
}), y = e?.column.columnDef.meta?.cellType === "rowSelection" || e?.column.columnDef.meta?.cellType === "rowToggle", w = P5(t,
|
|
13048
|
-
[`${
|
|
13049
|
-
[`${
|
|
13050
|
-
[`${
|
|
13051
|
-
[`${
|
|
13052
|
-
[`${
|
|
13053
|
-
[`${
|
|
13054
|
-
[`${
|
|
13055
|
-
[`${
|
|
13056
|
-
[`${
|
|
13057
|
-
[`${
|
|
13058
|
-
[`${
|
|
13047
|
+
}), y = e?.column.columnDef.meta?.cellType === "rowSelection" || e?.column.columnDef.meta?.cellType === "rowToggle", w = P5(t, qe, {
|
|
13048
|
+
[`${qe}__sticky-column`]: o,
|
|
13049
|
+
[`${qe}__sticky-column__with-sticky-border`]: a && l,
|
|
13050
|
+
[`${qe}__border-radius-first-cell`]: u && s,
|
|
13051
|
+
[`${qe}__border-radius-last-cell`]: c && s,
|
|
13052
|
+
[`${qe}__last-row-first-cell-visible`]: (e?.column.getIsFirstColumn() || u) && _ && s,
|
|
13053
|
+
[`${qe}__last-row-last-cell-visible`]: (e?.column.getIsLastColumn() || c) && _ && s,
|
|
13054
|
+
[`${qe}__column-drag-enabled`]: d,
|
|
13055
|
+
[`${qe}__dragging`]: g,
|
|
13056
|
+
[`${qe}__empty-table`]: f,
|
|
13057
|
+
[`${qe}--drop-indicator-before`]: !y && b === "before",
|
|
13058
|
+
[`${qe}--drop-indicator-after`]: !y && b === "after"
|
|
13059
13059
|
}), $ = e ? D5(e) : i;
|
|
13060
13060
|
return /* @__PURE__ */ h(tt, { children: /* @__PURE__ */ h(
|
|
13061
13061
|
"td",
|
|
@@ -13132,7 +13132,7 @@ const N5 = K.bind(ee), O5 = ({
|
|
|
13132
13132
|
columnDragAriaLabelsCopy: u,
|
|
13133
13133
|
rootClassName: c
|
|
13134
13134
|
}) => {
|
|
13135
|
-
const d =
|
|
13135
|
+
const d = qc(
|
|
13136
13136
|
Er(Co, {
|
|
13137
13137
|
activationConstraint: {
|
|
13138
13138
|
distance: 8
|
|
@@ -13342,9 +13342,9 @@ const N5 = K.bind(ee), O5 = ({
|
|
|
13342
13342
|
function F5(e) {
|
|
13343
13343
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
13344
13344
|
}
|
|
13345
|
-
var
|
|
13345
|
+
var qu = { exports: {} }, Hu;
|
|
13346
13346
|
function j5() {
|
|
13347
|
-
return
|
|
13347
|
+
return Hu || (Hu = 1, (function(e) {
|
|
13348
13348
|
(function() {
|
|
13349
13349
|
var t = {}.hasOwnProperty;
|
|
13350
13350
|
function r() {
|
|
@@ -13373,7 +13373,7 @@ function j5() {
|
|
|
13373
13373
|
}
|
|
13374
13374
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
13375
13375
|
})();
|
|
13376
|
-
})(
|
|
13376
|
+
})(qu)), qu.exports;
|
|
13377
13377
|
}
|
|
13378
13378
|
var z5 = j5();
|
|
13379
13379
|
const V5 = /* @__PURE__ */ F5(z5), Vn = {
|
|
@@ -13419,7 +13419,7 @@ const V5 = /* @__PURE__ */ F5(z5), Vn = {
|
|
|
13419
13419
|
return /* @__PURE__ */ h(l, { className: s, ...a, children: e });
|
|
13420
13420
|
};
|
|
13421
13421
|
Fo.displayName = "Heading";
|
|
13422
|
-
const $i = K.bind(ee),
|
|
13422
|
+
const $i = K.bind(ee), qn = "purpur-table", q5 = ({
|
|
13423
13423
|
variant: e,
|
|
13424
13424
|
tag: t,
|
|
13425
13425
|
title: r,
|
|
@@ -13452,13 +13452,13 @@ const $i = K.bind(ee), Hn = "purpur-table", H5 = ({
|
|
|
13452
13452
|
"div",
|
|
13453
13453
|
{
|
|
13454
13454
|
className: $i([
|
|
13455
|
-
`${
|
|
13456
|
-
`${
|
|
13455
|
+
`${qn}__empty-section`,
|
|
13456
|
+
`${qn}__empty-section--${e}`
|
|
13457
13457
|
]),
|
|
13458
13458
|
style: l ? { width: `${l}px` } : void 0,
|
|
13459
13459
|
children: [
|
|
13460
|
-
n && /* @__PURE__ */ h("div", { className: $i(`${
|
|
13461
|
-
/* @__PURE__ */ N("div", { className: $i(`${
|
|
13460
|
+
n && /* @__PURE__ */ h("div", { className: $i(`${qn}__empty-section__icon`), children: n }),
|
|
13461
|
+
/* @__PURE__ */ N("div", { className: $i(`${qn}__empty-section__texts`), children: [
|
|
13462
13462
|
/* @__PURE__ */ h(Fo, { "data-testid": "purpur-table-empty-table-title", variant: "title-100", tag: t, children: r }),
|
|
13463
13463
|
/* @__PURE__ */ h(Re, { "data-testid": "purpur-table-empty-table-description", children: o })
|
|
13464
13464
|
] })
|
|
@@ -13468,7 +13468,7 @@ const $i = K.bind(ee), Hn = "purpur-table", H5 = ({
|
|
|
13468
13468
|
}
|
|
13469
13469
|
) });
|
|
13470
13470
|
};
|
|
13471
|
-
function
|
|
13471
|
+
function H5(e) {
|
|
13472
13472
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
13473
13473
|
}
|
|
13474
13474
|
var Wu = { exports: {} }, Gu;
|
|
@@ -13505,7 +13505,7 @@ function W5() {
|
|
|
13505
13505
|
})(Wu)), Wu.exports;
|
|
13506
13506
|
}
|
|
13507
13507
|
var G5 = W5();
|
|
13508
|
-
const Z5 = /* @__PURE__ */
|
|
13508
|
+
const Z5 = /* @__PURE__ */ H5(G5), U5 = "_loading_rzc29_1", X5 = {
|
|
13509
13509
|
"purpur-skeleton": "_purpur-skeleton_rzc29_1",
|
|
13510
13510
|
loading: U5,
|
|
13511
13511
|
"purpur-skeleton--default": "_purpur-skeleton--default_rzc29_24",
|
|
@@ -13625,7 +13625,7 @@ function eC({
|
|
|
13625
13625
|
showBorder: c
|
|
13626
13626
|
}
|
|
13627
13627
|
) : a && m && _ ? /* @__PURE__ */ h(
|
|
13628
|
-
|
|
13628
|
+
q5,
|
|
13629
13629
|
{
|
|
13630
13630
|
variant: v,
|
|
13631
13631
|
tag: _,
|
|
@@ -14025,15 +14025,15 @@ var Ci = "focusScope.autoFocusOnMount", Ri = "focusScope.autoFocusOnUnmount", Ju
|
|
|
14025
14025
|
let _ = function(w) {
|
|
14026
14026
|
if (f.paused || !l) return;
|
|
14027
14027
|
const $ = w.target;
|
|
14028
|
-
l.contains($) ? d.current = $ :
|
|
14028
|
+
l.contains($) ? d.current = $ : qt(d.current, { select: !0 });
|
|
14029
14029
|
}, m = function(w) {
|
|
14030
14030
|
if (f.paused || !l) return;
|
|
14031
14031
|
const $ = w.relatedTarget;
|
|
14032
|
-
$ !== null && (l.contains($) ||
|
|
14032
|
+
$ !== null && (l.contains($) || qt(d.current, { select: !0 }));
|
|
14033
14033
|
}, b = function(w) {
|
|
14034
14034
|
if (document.activeElement === document.body)
|
|
14035
14035
|
for (const $ of w)
|
|
14036
|
-
$.removedNodes.length > 0 &&
|
|
14036
|
+
$.removedNodes.length > 0 && qt(l);
|
|
14037
14037
|
};
|
|
14038
14038
|
document.addEventListener("focusin", _), document.addEventListener("focusout", m);
|
|
14039
14039
|
const y = new MutationObserver(b);
|
|
@@ -14047,12 +14047,12 @@ var Ci = "focusScope.autoFocusOnMount", Ri = "focusScope.autoFocusOnUnmount", Ju
|
|
|
14047
14047
|
const _ = document.activeElement;
|
|
14048
14048
|
if (!l.contains(_)) {
|
|
14049
14049
|
const m = new CustomEvent(Ci, Ju);
|
|
14050
|
-
l.addEventListener(Ci, u), l.dispatchEvent(m), m.defaultPrevented || (CC(PC(mf(l)), { select: !0 }), document.activeElement === _ &&
|
|
14050
|
+
l.addEventListener(Ci, u), l.dispatchEvent(m), m.defaultPrevented || (CC(PC(mf(l)), { select: !0 }), document.activeElement === _ && qt(l));
|
|
14051
14051
|
}
|
|
14052
14052
|
return () => {
|
|
14053
14053
|
l.removeEventListener(Ci, u), setTimeout(() => {
|
|
14054
14054
|
const m = new CustomEvent(Ri, Ju);
|
|
14055
|
-
l.addEventListener(Ri, c), l.dispatchEvent(m), m.defaultPrevented ||
|
|
14055
|
+
l.addEventListener(Ri, c), l.dispatchEvent(m), m.defaultPrevented || qt(_ ?? document.body, { select: !0 }), l.removeEventListener(Ri, c), ec.remove(f);
|
|
14056
14056
|
}, 0);
|
|
14057
14057
|
};
|
|
14058
14058
|
}
|
|
@@ -14063,7 +14063,7 @@ var Ci = "focusScope.autoFocusOnMount", Ri = "focusScope.autoFocusOnUnmount", Ju
|
|
|
14063
14063
|
const m = _.key === "Tab" && !_.altKey && !_.ctrlKey && !_.metaKey, b = document.activeElement;
|
|
14064
14064
|
if (m && b) {
|
|
14065
14065
|
const y = _.currentTarget, [w, $] = RC(y);
|
|
14066
|
-
w && $ ? !_.shiftKey && b === $ ? (_.preventDefault(), r &&
|
|
14066
|
+
w && $ ? !_.shiftKey && b === $ ? (_.preventDefault(), r && qt(w, { select: !0 })) : _.shiftKey && b === w && (_.preventDefault(), r && qt($, { select: !0 })) : b === y && _.preventDefault();
|
|
14067
14067
|
}
|
|
14068
14068
|
},
|
|
14069
14069
|
[r, o, f.paused]
|
|
@@ -14074,7 +14074,7 @@ vf.displayName = SC;
|
|
|
14074
14074
|
function CC(e, { select: t = !1 } = {}) {
|
|
14075
14075
|
const r = document.activeElement;
|
|
14076
14076
|
for (const o of e)
|
|
14077
|
-
if (
|
|
14077
|
+
if (qt(o, { select: t }), document.activeElement !== r) return;
|
|
14078
14078
|
}
|
|
14079
14079
|
function RC(e) {
|
|
14080
14080
|
const t = mf(e), r = Qu(t, e), o = Qu(t.reverse(), e);
|
|
@@ -14106,7 +14106,7 @@ function EC(e, { upTo: t }) {
|
|
|
14106
14106
|
function NC(e) {
|
|
14107
14107
|
return e instanceof HTMLInputElement && "select" in e;
|
|
14108
14108
|
}
|
|
14109
|
-
function
|
|
14109
|
+
function qt(e, { select: t = !1 } = {}) {
|
|
14110
14110
|
if (e && e.focus) {
|
|
14111
14111
|
const r = document.activeElement;
|
|
14112
14112
|
e.focus({ preventScroll: !0 }), e !== r && NC(e) && t && e.select();
|
|
@@ -14162,19 +14162,19 @@ function MC(e) {
|
|
|
14162
14162
|
}
|
|
14163
14163
|
});
|
|
14164
14164
|
return p.useEffect(() => {
|
|
14165
|
-
const u =
|
|
14165
|
+
const u = Hn(o.current);
|
|
14166
14166
|
n.current = l === "mounted" ? u : "none";
|
|
14167
14167
|
}, [l]), Mr(() => {
|
|
14168
14168
|
const u = o.current, c = i.current;
|
|
14169
14169
|
if (c !== e) {
|
|
14170
|
-
const d = n.current, g =
|
|
14170
|
+
const d = n.current, g = Hn(u);
|
|
14171
14171
|
e ? s("MOUNT") : g === "none" || u?.display === "none" ? s("UNMOUNT") : s(c && d !== g ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
14172
14172
|
}
|
|
14173
14173
|
}, [e, s]), Mr(() => {
|
|
14174
14174
|
if (t) {
|
|
14175
14175
|
let u;
|
|
14176
14176
|
const c = t.ownerDocument.defaultView ?? window, d = (f) => {
|
|
14177
|
-
const v =
|
|
14177
|
+
const v = Hn(o.current).includes(CSS.escape(f.animationName));
|
|
14178
14178
|
if (f.target === t && v && (s("ANIMATION_END"), !i.current)) {
|
|
14179
14179
|
const _ = t.style.animationFillMode;
|
|
14180
14180
|
t.style.animationFillMode = "forwards", u = c.setTimeout(() => {
|
|
@@ -14182,7 +14182,7 @@ function MC(e) {
|
|
|
14182
14182
|
});
|
|
14183
14183
|
}
|
|
14184
14184
|
}, g = (f) => {
|
|
14185
|
-
f.target === t && (n.current =
|
|
14185
|
+
f.target === t && (n.current = Hn(o.current));
|
|
14186
14186
|
};
|
|
14187
14187
|
return t.addEventListener("animationstart", g), t.addEventListener("animationcancel", d), t.addEventListener("animationend", d), () => {
|
|
14188
14188
|
c.clearTimeout(u), t.removeEventListener("animationstart", g), t.removeEventListener("animationcancel", d), t.removeEventListener("animationend", d);
|
|
@@ -14196,7 +14196,7 @@ function MC(e) {
|
|
|
14196
14196
|
}, [])
|
|
14197
14197
|
};
|
|
14198
14198
|
}
|
|
14199
|
-
function
|
|
14199
|
+
function Hn(e) {
|
|
14200
14200
|
return e?.animationName || "none";
|
|
14201
14201
|
}
|
|
14202
14202
|
function kC(e) {
|
|
@@ -14286,7 +14286,7 @@ function VC(e, t) {
|
|
|
14286
14286
|
function BC(e) {
|
|
14287
14287
|
return e;
|
|
14288
14288
|
}
|
|
14289
|
-
function
|
|
14289
|
+
function qC(e, t) {
|
|
14290
14290
|
t === void 0 && (t = BC);
|
|
14291
14291
|
var r = [], o = !1, i = {
|
|
14292
14292
|
read: function() {
|
|
@@ -14341,9 +14341,9 @@ function HC(e, t) {
|
|
|
14341
14341
|
};
|
|
14342
14342
|
return i;
|
|
14343
14343
|
}
|
|
14344
|
-
function
|
|
14344
|
+
function HC(e) {
|
|
14345
14345
|
e === void 0 && (e = {});
|
|
14346
|
-
var t =
|
|
14346
|
+
var t = qC(null);
|
|
14347
14347
|
return t.options = ht({ async: !0, ssr: !1 }, e), t;
|
|
14348
14348
|
}
|
|
14349
14349
|
var yf = function(e) {
|
|
@@ -14359,7 +14359,7 @@ yf.isSideCarExport = !0;
|
|
|
14359
14359
|
function WC(e, t) {
|
|
14360
14360
|
return e.useMedium(t), yf;
|
|
14361
14361
|
}
|
|
14362
|
-
var $f =
|
|
14362
|
+
var $f = HC(), Oi = function() {
|
|
14363
14363
|
}, jo = p.forwardRef(function(e, t) {
|
|
14364
14364
|
var r = p.useRef(null), o = p.useState({
|
|
14365
14365
|
onScrollCapture: Oi,
|
|
@@ -14778,7 +14778,7 @@ var Df = "DialogTrigger", Af = p.forwardRef(
|
|
|
14778
14778
|
"aria-haspopup": "dialog",
|
|
14779
14779
|
"aria-expanded": i.open,
|
|
14780
14780
|
"aria-controls": i.contentId,
|
|
14781
|
-
"data-state":
|
|
14781
|
+
"data-state": qa(i.open),
|
|
14782
14782
|
...o,
|
|
14783
14783
|
ref: n,
|
|
14784
14784
|
onClick: we(e.onClick, i.onOpenToggle)
|
|
@@ -14810,7 +14810,7 @@ var S4 = /* @__PURE__ */ ff("DialogOverlay.RemoveScroll"), C4 = p.forwardRef(
|
|
|
14810
14810
|
/* @__PURE__ */ h(Ef, { as: S4, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ h(
|
|
14811
14811
|
Ee.div,
|
|
14812
14812
|
{
|
|
14813
|
-
"data-state":
|
|
14813
|
+
"data-state": qa(i.open),
|
|
14814
14814
|
...o,
|
|
14815
14815
|
ref: t,
|
|
14816
14816
|
style: { pointerEvents: "auto", ...o.style }
|
|
@@ -14892,7 +14892,7 @@ var R4 = p.forwardRef(
|
|
|
14892
14892
|
id: l.contentId,
|
|
14893
14893
|
"aria-describedby": l.descriptionId,
|
|
14894
14894
|
"aria-labelledby": l.titleId,
|
|
14895
|
-
"data-state":
|
|
14895
|
+
"data-state": qa(l.open),
|
|
14896
14896
|
...a,
|
|
14897
14897
|
ref: u,
|
|
14898
14898
|
onDismiss: () => l.onOpenChange(!1)
|
|
@@ -14935,15 +14935,15 @@ var Vf = "DialogClose", Bf = p.forwardRef(
|
|
|
14935
14935
|
}
|
|
14936
14936
|
);
|
|
14937
14937
|
Bf.displayName = Vf;
|
|
14938
|
-
function
|
|
14938
|
+
function qa(e) {
|
|
14939
14939
|
return e ? "open" : "closed";
|
|
14940
14940
|
}
|
|
14941
|
-
var
|
|
14941
|
+
var qf = "DialogTitleWarning", [VR, Hf] = tC(qf, {
|
|
14942
14942
|
contentName: lr,
|
|
14943
14943
|
titleName: Ba,
|
|
14944
14944
|
docsSlug: "dialog"
|
|
14945
14945
|
}), N4 = ({ titleId: e }) => {
|
|
14946
|
-
const t = qf
|
|
14946
|
+
const t = Hf(qf), r = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
14947
14947
|
|
|
14948
14948
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
14949
14949
|
|
|
@@ -14952,7 +14952,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
14952
14952
|
e && (document.getElementById(e) || console.error(r));
|
|
14953
14953
|
}, [r, e]), null;
|
|
14954
14954
|
}, O4 = "DialogDescriptionWarning", P4 = ({ contentRef: e, descriptionId: t }) => {
|
|
14955
|
-
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${
|
|
14955
|
+
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Hf(O4).contentName}}.`;
|
|
14956
14956
|
return p.useEffect(() => {
|
|
14957
14957
|
const o = e.current?.getAttribute("aria-describedby");
|
|
14958
14958
|
t && o && (document.getElementById(t) || console.warn(r));
|
|
@@ -14996,15 +14996,15 @@ function j4() {
|
|
|
14996
14996
|
})(sc)), sc.exports;
|
|
14997
14997
|
}
|
|
14998
14998
|
var z4 = j4();
|
|
14999
|
-
const
|
|
14999
|
+
const qr = /* @__PURE__ */ F4(z4), V4 = "_slideUp_71yig_1", B4 = "_slideDown_71yig_1", q4 = "_slideInRight_71yig_1", H4 = "_slideInLeft_71yig_1", W4 = "_slideOutRight_71yig_1", G4 = "_slideOutLeft_71yig_1", Z4 = "_fadeIn_71yig_1", U4 = "_fadeOut_71yig_1", X4 = {
|
|
15000
15000
|
"purpur-drawer-content": "_purpur-drawer-content_71yig_1",
|
|
15001
15001
|
slideUp: V4,
|
|
15002
15002
|
slideDown: B4,
|
|
15003
15003
|
"purpur-drawer-content--left": "_purpur-drawer-content--left_71yig_21",
|
|
15004
15004
|
"purpur-drawer-content--right": "_purpur-drawer-content--right_71yig_24",
|
|
15005
15005
|
"purpur-drawer-content--fit-to-content": "_purpur-drawer-content--fit-to-content_71yig_27",
|
|
15006
|
-
slideInRight:
|
|
15007
|
-
slideInLeft:
|
|
15006
|
+
slideInRight: q4,
|
|
15007
|
+
slideInLeft: H4,
|
|
15008
15008
|
slideOutRight: W4,
|
|
15009
15009
|
slideOutLeft: G4,
|
|
15010
15010
|
"purpur-drawer-content__content-container": "_purpur-drawer-content__content-container_71yig_63",
|
|
@@ -15017,7 +15017,7 @@ const Hr = /* @__PURE__ */ F4(z4), V4 = "_slideUp_71yig_1", B4 = "_slideDown_71y
|
|
|
15017
15017
|
"purpur-drawer-container--body": "_purpur-drawer-container--body_1bcla_4",
|
|
15018
15018
|
"purpur-drawer-container--sticky": "_purpur-drawer-container--sticky_1bcla_12",
|
|
15019
15019
|
"purpur-drawer-container--footer": "_purpur-drawer-container--footer_1bcla_20"
|
|
15020
|
-
}, K4 =
|
|
15020
|
+
}, K4 = qr.bind(Y4), Ai = "purpur-drawer-container", Cr = ce(
|
|
15021
15021
|
({
|
|
15022
15022
|
["data-testid"]: e = "purpur-drawer-container",
|
|
15023
15023
|
children: t,
|
|
@@ -15072,7 +15072,7 @@ const J4 = {
|
|
|
15072
15072
|
});
|
|
15073
15073
|
}
|
|
15074
15074
|
}
|
|
15075
|
-
}), cc = (e, t = 0) => Math.abs(e.y) > t, t3 =
|
|
15075
|
+
}), cc = (e, t = 0) => Math.abs(e.y) > t, t3 = qr.bind(Q4), r3 = "purpur-drawer-handle", Gf = ce(
|
|
15076
15076
|
({
|
|
15077
15077
|
["data-testid"]: e = "purpur-drawer-handle",
|
|
15078
15078
|
className: t,
|
|
@@ -15436,27 +15436,27 @@ const C3 = /* @__PURE__ */ $3(S3), R3 = {
|
|
|
15436
15436
|
t ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
15437
15437
|
], o = t ? `<title>${t}</title>` : "";
|
|
15438
15438
|
return `<svg ${O3(r)}>${o}${e}</svg>`;
|
|
15439
|
-
}, D3 = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(),
|
|
15439
|
+
}, D3 = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ha = ({ svg: e, allyTitle: t, className: r, size: o = N3, ...i }) => {
|
|
15440
15440
|
const n = P3({
|
|
15441
15441
|
content: D3(e.svg),
|
|
15442
15442
|
title: t
|
|
15443
15443
|
}), a = E3($c, `${$c}--${o}`, r);
|
|
15444
15444
|
return /* @__PURE__ */ h("span", { className: a, dangerouslySetInnerHTML: { __html: n }, ...i });
|
|
15445
15445
|
};
|
|
15446
|
-
|
|
15446
|
+
Ha.displayName = "Icon";
|
|
15447
15447
|
const A3 = {
|
|
15448
15448
|
name: "chevron-left",
|
|
15449
15449
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M16.175 3.905a.9.9 0 0 1-.08 1.27L8.36 12l7.736 6.825a.9.9 0 0 1-1.191 1.35l-8.5-7.5a.9.9 0 0 1 0-1.35l8.5-7.5a.9.9 0 0 1 1.27.08Z" clip-rule="evenodd"/></svg>',
|
|
15450
15450
|
keywords: ["chevron-left"],
|
|
15451
15451
|
category: "utility"
|
|
15452
|
-
}, Uf = (e) => /* @__PURE__ */ h(
|
|
15452
|
+
}, Uf = (e) => /* @__PURE__ */ h(Ha, { ...e, svg: A3 });
|
|
15453
15453
|
Uf.displayName = "IconChevronLeft";
|
|
15454
15454
|
const M3 = {
|
|
15455
15455
|
name: "close",
|
|
15456
15456
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M4.864 4.864a.9.9 0 0 1 1.273 0L12 10.727l5.864-5.863a.9.9 0 0 1 1.272 1.272L13.273 12l5.863 5.864a.9.9 0 1 1-1.272 1.272L12 13.273l-5.863 5.863a.9.9 0 0 1-1.273-1.272L10.727 12 4.864 6.136a.9.9 0 0 1 0-1.272Z" clip-rule="evenodd"/></svg>',
|
|
15457
15457
|
keywords: ["close"],
|
|
15458
15458
|
category: "utility"
|
|
15459
|
-
}, Xf = (e) => /* @__PURE__ */ h(
|
|
15459
|
+
}, Xf = (e) => /* @__PURE__ */ h(Ha, { ...e, svg: M3 });
|
|
15460
15460
|
Xf.displayName = "IconClose";
|
|
15461
15461
|
function xc(e, t) {
|
|
15462
15462
|
if (typeof e == "function")
|
|
@@ -15544,7 +15544,7 @@ var V3 = [
|
|
|
15544
15544
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ h(s, { ...l, ref: n });
|
|
15545
15545
|
});
|
|
15546
15546
|
return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
|
|
15547
|
-
}, {}),
|
|
15547
|
+
}, {}), q3 = "VisuallyHidden", Yf = p.forwardRef(
|
|
15548
15548
|
(e, t) => /* @__PURE__ */ h(
|
|
15549
15549
|
B3.span,
|
|
15550
15550
|
{
|
|
@@ -15567,9 +15567,9 @@ var V3 = [
|
|
|
15567
15567
|
}
|
|
15568
15568
|
)
|
|
15569
15569
|
);
|
|
15570
|
-
Yf.displayName =
|
|
15571
|
-
var
|
|
15572
|
-
const Sc = ({ asChild: e, children: t, ...r }) => /* @__PURE__ */ h(
|
|
15570
|
+
Yf.displayName = q3;
|
|
15571
|
+
var H3 = Yf;
|
|
15572
|
+
const Sc = ({ asChild: e, children: t, ...r }) => /* @__PURE__ */ h(H3, { asChild: e, ...r, children: t }), W3 = {
|
|
15573
15573
|
"purpur-drawer-header": "_purpur-drawer-header_1iujy_1",
|
|
15574
15574
|
"purpur-drawer-header__row": "_purpur-drawer-header__row_1iujy_4",
|
|
15575
15575
|
"purpur-drawer-header__row--with-back-button": "_purpur-drawer-header__row--with-back-button_1iujy_7",
|
|
@@ -15577,7 +15577,7 @@ const Sc = ({ asChild: e, children: t, ...r }) => /* @__PURE__ */ h(q3, { asChil
|
|
|
15577
15577
|
"purpur-drawer-header__right": "_purpur-drawer-header__right_1iujy_13",
|
|
15578
15578
|
"purpur-drawer-header__close-button": "_purpur-drawer-header__close-button_1iujy_16",
|
|
15579
15579
|
"purpur-drawer-header__back-button--only-icon": "_purpur-drawer-header__back-button--only-icon_1iujy_27"
|
|
15580
|
-
}, wr =
|
|
15580
|
+
}, wr = qr.bind(W3), Bt = "purpur-drawer-header", Kf = ce(
|
|
15581
15581
|
({
|
|
15582
15582
|
["data-testid"]: e = "purpur-drawer-header",
|
|
15583
15583
|
backButton: t,
|
|
@@ -16190,7 +16190,7 @@ const dR = {
|
|
|
16190
16190
|
"purpur-drawer-scroll-area__viewport": "_purpur-drawer-scroll-area__viewport_1hyos_10",
|
|
16191
16191
|
"purpur-drawer-scroll-area__scrollbar": "_purpur-drawer-scroll-area__scrollbar_1hyos_14",
|
|
16192
16192
|
"purpur-drawer-scroll-area__thumb": "_purpur-drawer-scroll-area__thumb_1hyos_25"
|
|
16193
|
-
}, dn =
|
|
16193
|
+
}, dn = qr.bind(dR), yr = "purpur-drawer-scroll-area", oa = ce(
|
|
16194
16194
|
({
|
|
16195
16195
|
["data-testid"]: e = "purpur-drawer-scroll-area",
|
|
16196
16196
|
children: t,
|
|
@@ -16221,7 +16221,7 @@ const dR = {
|
|
|
16221
16221
|
}
|
|
16222
16222
|
);
|
|
16223
16223
|
oa.displayName = "DrawerScrollArea";
|
|
16224
|
-
const $r =
|
|
16224
|
+
const $r = qr.bind(J4), De = "purpur-drawer-frame", cg = ce(
|
|
16225
16225
|
({
|
|
16226
16226
|
["data-testid"]: e = "purpur-drawer-frame",
|
|
16227
16227
|
backButton: t,
|
|
@@ -16357,7 +16357,7 @@ const pR = (e, t) => ({
|
|
|
16357
16357
|
const { y: o } = r.delta;
|
|
16358
16358
|
e.current.setAttribute("data-swipe", "end"), e.current.style.removeProperty("--purpur-drawer-swipe-move-y"), e.current.style.setProperty("--purpur-drawer-swipe-end-y", `${o}px`), t?.(!1);
|
|
16359
16359
|
}
|
|
16360
|
-
}), pn =
|
|
16360
|
+
}), pn = qr.bind(X4), rr = "purpur-drawer-content", dg = ce(
|
|
16361
16361
|
({
|
|
16362
16362
|
["data-testid"]: e = "purpur-drawer-content",
|
|
16363
16363
|
backButton: t = !1,
|
|
@@ -16737,7 +16737,7 @@ const yR = {
|
|
|
16737
16737
|
onColumnOrderChange: i,
|
|
16738
16738
|
copy: n
|
|
16739
16739
|
}) => {
|
|
16740
|
-
const a = t(), l = (C) => C.id !== "row-selection" && C.id !== "row-toggle", [s, u] = T(!1), [c, d] = T(null), g = a.filter((C) => C.getIsVisible()).filter(l), f =
|
|
16740
|
+
const a = t(), l = (C) => C.id !== "row-selection" && C.id !== "row-toggle", [s, u] = T(!1), [c, d] = T(null), g = a.filter((C) => C.getIsVisible()).filter(l), f = qc(
|
|
16741
16741
|
Er(Co),
|
|
16742
16742
|
Er(ga),
|
|
16743
16743
|
Er(So, {
|
|
@@ -16887,7 +16887,7 @@ const yR = {
|
|
|
16887
16887
|
}
|
|
16888
16888
|
),
|
|
16889
16889
|
/* @__PURE__ */ h(Re, { children: t }),
|
|
16890
|
-
/* @__PURE__ */ h(
|
|
16890
|
+
/* @__PURE__ */ h(qp, { id: `drag-instructions-${e}`, children: l.visibleColumns.ariaLabels.dragHandle.instructions })
|
|
16891
16891
|
] }),
|
|
16892
16892
|
/* @__PURE__ */ N("div", { className: Me(`${se}__draggable-item-buttons`), children: [
|
|
16893
16893
|
/* @__PURE__ */ h(
|
|
@@ -17122,7 +17122,7 @@ const PR = {
|
|
|
17122
17122
|
toolbarCopy: Z,
|
|
17123
17123
|
toolbarTotalRowCount: F,
|
|
17124
17124
|
variant: I = "primary",
|
|
17125
|
-
getRowId:
|
|
17125
|
+
getRowId: q,
|
|
17126
17126
|
onExportData: ae,
|
|
17127
17127
|
onRowsCountChange: Ze,
|
|
17128
17128
|
onToggleExpand: le,
|
|
@@ -17134,11 +17134,11 @@ const PR = {
|
|
|
17134
17134
|
columnDragAriaLabelsCopy: _e,
|
|
17135
17135
|
...U
|
|
17136
17136
|
}) => {
|
|
17137
|
-
const [
|
|
17137
|
+
const [H, lt] = T(!1), [ve, xe] = T(!1), je = S !== void 0 && C !== void 0, yt = x !== void 0 && R !== void 0, $t = E !== void 0 && O !== void 0, Hr = D !== void 0 ? D : k !== void 0 ? k : !0, Wr = L !== void 0 ? L : W !== void 0 ? W : !0, [Gr, st] = T(
|
|
17138
17138
|
P ?? !!U.enableFilters
|
|
17139
17139
|
), [dr, pr] = T(
|
|
17140
17140
|
Wr
|
|
17141
|
-
), [En, Nn] = T(
|
|
17141
|
+
), [En, Nn] = T(Hr), Ye = je ? S : Gr, ut = yt ? x : dr, ze = $t ? E : En, xt = (B) => {
|
|
17142
17142
|
const Pe = typeof B == "function" ? B(Ye) : B;
|
|
17143
17143
|
je ? C(Pe) : st(Pe);
|
|
17144
17144
|
}, kt = (B) => {
|
|
@@ -17147,7 +17147,7 @@ const PR = {
|
|
|
17147
17147
|
}, Zr = (B) => {
|
|
17148
17148
|
const Pe = typeof B == "function" ? B(ze) : B;
|
|
17149
17149
|
$t ? O(Pe) : Nn(Pe);
|
|
17150
|
-
}, Ke = j(b), Ur = j(null), ct = Lr(), St = AR(Ur), [It, Jt] = T(null),
|
|
17150
|
+
}, Ke = j(b), Ur = j(null), ct = Lr(), St = AR(Ur), [It, Jt] = T(null), qo = Rc([
|
|
17151
17151
|
Sr,
|
|
17152
17152
|
{
|
|
17153
17153
|
[`${Sr}--${I}`]: I,
|
|
@@ -17178,18 +17178,18 @@ const PR = {
|
|
|
17178
17178
|
},
|
|
17179
17179
|
...o
|
|
17180
17180
|
]);
|
|
17181
|
-
const { filterFns: On, sortingFns:
|
|
17181
|
+
const { filterFns: On, sortingFns: Ho, ...Wo } = U, J = yh({
|
|
17182
17182
|
columns: o,
|
|
17183
17183
|
data: i,
|
|
17184
17184
|
state: $,
|
|
17185
17185
|
enableColumnFilters: Ye,
|
|
17186
|
-
getRowId:
|
|
17186
|
+
getRowId: q,
|
|
17187
17187
|
filterFns: {
|
|
17188
17188
|
...On,
|
|
17189
17189
|
filterOnFilterKey: MR
|
|
17190
17190
|
},
|
|
17191
17191
|
sortingFns: {
|
|
17192
|
-
...
|
|
17192
|
+
...Ho,
|
|
17193
17193
|
sortOnBadgeVariant: kR,
|
|
17194
17194
|
sortOnBadgeValue: IR
|
|
17195
17195
|
},
|
|
@@ -17242,7 +17242,7 @@ const PR = {
|
|
|
17242
17242
|
}, Oe = (B) => {
|
|
17243
17243
|
ae?.(B);
|
|
17244
17244
|
}, Je = () => {
|
|
17245
|
-
xt(P ?? !!U.enableFilters), kt(Wr), Zr(
|
|
17245
|
+
xt(P ?? !!U.enableFilters), kt(Wr), Zr(Hr), J.resetColumnOrder(), J.resetColumnVisibility();
|
|
17246
17246
|
}, ft = G.useCallback(
|
|
17247
17247
|
(B) => St && ut && Ne(B),
|
|
17248
17248
|
[St, ut, Ne]
|
|
@@ -17325,7 +17325,7 @@ const PR = {
|
|
|
17325
17325
|
tableContainerId: `${ct}-table-container`
|
|
17326
17326
|
}
|
|
17327
17327
|
);
|
|
17328
|
-
return /* @__PURE__ */ N("div", { id: `${ct}-table`, className:
|
|
17328
|
+
return /* @__PURE__ */ N("div", { id: `${ct}-table`, className: qo, children: [
|
|
17329
17329
|
u && /* @__PURE__ */ h(
|
|
17330
17330
|
DR,
|
|
17331
17331
|
{
|
|
@@ -17339,7 +17339,7 @@ const PR = {
|
|
|
17339
17339
|
totalRowCount: F ?? J.getRowCount(),
|
|
17340
17340
|
visibleRowCount: J.getRowModel().rows.length,
|
|
17341
17341
|
toolbarCopy: Z,
|
|
17342
|
-
isSettingsDrawerOpen:
|
|
17342
|
+
isSettingsDrawerOpen: H,
|
|
17343
17343
|
hasExportsDrawer: Array.isArray(d),
|
|
17344
17344
|
isExportDrawerOpen: ve,
|
|
17345
17345
|
showFilters: Ye,
|
|
@@ -17395,7 +17395,7 @@ const PR = {
|
|
|
17395
17395
|
setStickyFirstColumn: kt,
|
|
17396
17396
|
setStickyHeaders: Zr,
|
|
17397
17397
|
getAllColumns: J.getAllLeafColumns,
|
|
17398
|
-
isDrawerOpen:
|
|
17398
|
+
isDrawerOpen: H,
|
|
17399
17399
|
showColumnFilters: Ye,
|
|
17400
17400
|
stickyFirstColumn: ut,
|
|
17401
17401
|
stickyHeaders: ze,
|