react-semaphor 0.0.682 → 0.0.683
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/chunks/{dashboard-plus-DGjqxkL1.js → dashboard-plus-6nuyzLrA.js} +10 -10
- package/dist/chunks/{dashboard-plus-Cvl2X2LV.js → dashboard-plus-ojEZ3aDl.js} +1034 -1035
- package/dist/chunks/{index-BsKT7QXg.js → index-9grXuNPQ.js} +547 -546
- package/dist/chunks/{index-S7hiLmYJ.js → index-UnDhE_za.js} +101 -101
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/main.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5265,11 +5265,11 @@ Z0.exports;
|
|
|
5265
5265
|
function Vn(X) {
|
|
5266
5266
|
return $b(this.__data__, X) > -1;
|
|
5267
5267
|
}
|
|
5268
|
-
function
|
|
5268
|
+
function ys(X, oe) {
|
|
5269
5269
|
var ce = this.__data__, Ge = $b(ce, X);
|
|
5270
5270
|
return Ge < 0 ? (++this.size, ce.push([X, oe])) : ce[Ge][1] = oe, this;
|
|
5271
5271
|
}
|
|
5272
|
-
_t.prototype.clear = Kt, _t.prototype.delete = ir, _t.prototype.get = bn, _t.prototype.has = Vn, _t.prototype.set =
|
|
5272
|
+
_t.prototype.clear = Kt, _t.prototype.delete = ir, _t.prototype.get = bn, _t.prototype.has = Vn, _t.prototype.set = ys;
|
|
5273
5273
|
function ro(X) {
|
|
5274
5274
|
var oe = -1, ce = X == null ? 0 : X.length;
|
|
5275
5275
|
for (this.clear(); ++oe < ce; ) {
|
|
@@ -5284,7 +5284,7 @@ Z0.exports;
|
|
|
5284
5284
|
string: new He()
|
|
5285
5285
|
};
|
|
5286
5286
|
}
|
|
5287
|
-
function
|
|
5287
|
+
function vs(X) {
|
|
5288
5288
|
var oe = zb(this, X).delete(X);
|
|
5289
5289
|
return this.size -= oe ? 1 : 0, oe;
|
|
5290
5290
|
}
|
|
@@ -5298,7 +5298,7 @@ Z0.exports;
|
|
|
5298
5298
|
var ce = zb(this, X), Ge = ce.size;
|
|
5299
5299
|
return ce.set(X, oe), this.size += ce.size == Ge ? 0 : 1, this;
|
|
5300
5300
|
}
|
|
5301
|
-
ro.prototype.clear = Lo, ro.prototype.delete =
|
|
5301
|
+
ro.prototype.clear = Lo, ro.prototype.delete = vs, ro.prototype.get = cl, ro.prototype.has = pQ, ro.prototype.set = mQ;
|
|
5302
5302
|
function bd(X) {
|
|
5303
5303
|
var oe = this.__data__ = new _t(X);
|
|
5304
5304
|
this.size = oe.size;
|
|
@@ -6346,11 +6346,11 @@ function Gee(e) {
|
|
|
6346
6346
|
fetchStatus: "idle"
|
|
6347
6347
|
};
|
|
6348
6348
|
}
|
|
6349
|
-
var
|
|
6349
|
+
var Ns, x3, iL = (x3 = class extends td {
|
|
6350
6350
|
constructor(t = {}) {
|
|
6351
6351
|
super();
|
|
6352
|
-
Ue(this,
|
|
6353
|
-
this.config = t, Ae(this,
|
|
6352
|
+
Ue(this, Ns);
|
|
6353
|
+
this.config = t, Ae(this, Ns, /* @__PURE__ */ new Map());
|
|
6354
6354
|
}
|
|
6355
6355
|
build(t, n, r) {
|
|
6356
6356
|
const o = n.queryKey, i = n.queryHash ?? i_(o, n);
|
|
@@ -6365,14 +6365,14 @@ var Es, x3, iL = (x3 = class extends td {
|
|
|
6365
6365
|
}), this.add(s)), s;
|
|
6366
6366
|
}
|
|
6367
6367
|
add(t) {
|
|
6368
|
-
J(this,
|
|
6368
|
+
J(this, Ns).has(t.queryHash) || (J(this, Ns).set(t.queryHash, t), this.notify({
|
|
6369
6369
|
type: "added",
|
|
6370
6370
|
query: t
|
|
6371
6371
|
}));
|
|
6372
6372
|
}
|
|
6373
6373
|
remove(t) {
|
|
6374
|
-
const n = J(this,
|
|
6375
|
-
n && (t.destroy(), n === t && J(this,
|
|
6374
|
+
const n = J(this, Ns).get(t.queryHash);
|
|
6375
|
+
n && (t.destroy(), n === t && J(this, Ns).delete(t.queryHash), this.notify({ type: "removed", query: t }));
|
|
6376
6376
|
}
|
|
6377
6377
|
clear() {
|
|
6378
6378
|
Xn.batch(() => {
|
|
@@ -6382,10 +6382,10 @@ var Es, x3, iL = (x3 = class extends td {
|
|
|
6382
6382
|
});
|
|
6383
6383
|
}
|
|
6384
6384
|
get(t) {
|
|
6385
|
-
return J(this,
|
|
6385
|
+
return J(this, Ns).get(t);
|
|
6386
6386
|
}
|
|
6387
6387
|
getAll() {
|
|
6388
|
-
return [...J(this,
|
|
6388
|
+
return [...J(this, Ns).values()];
|
|
6389
6389
|
}
|
|
6390
6390
|
find(t) {
|
|
6391
6391
|
const n = { exact: !0, ...t };
|
|
@@ -6418,14 +6418,14 @@ var Es, x3, iL = (x3 = class extends td {
|
|
|
6418
6418
|
});
|
|
6419
6419
|
});
|
|
6420
6420
|
}
|
|
6421
|
-
},
|
|
6421
|
+
}, Ns = new WeakMap(), x3), ks, ao, cu, _s, bl, w3, Yee = (w3 = class extends rL {
|
|
6422
6422
|
constructor(t) {
|
|
6423
6423
|
super();
|
|
6424
|
+
Ue(this, _s);
|
|
6424
6425
|
Ue(this, ks);
|
|
6425
|
-
Ue(this, Ns);
|
|
6426
6426
|
Ue(this, ao);
|
|
6427
6427
|
Ue(this, cu);
|
|
6428
|
-
this.mutationId = t.mutationId, Ae(this, ao, t.mutationCache), Ae(this,
|
|
6428
|
+
this.mutationId = t.mutationId, Ae(this, ao, t.mutationCache), Ae(this, ks, []), this.state = t.state || sL(), this.setOptions(t.options), this.scheduleGc();
|
|
6429
6429
|
}
|
|
6430
6430
|
setOptions(t) {
|
|
6431
6431
|
this.options = t, this.updateGcTime(this.options.gcTime);
|
|
@@ -6434,21 +6434,21 @@ var Es, x3, iL = (x3 = class extends td {
|
|
|
6434
6434
|
return this.options.meta;
|
|
6435
6435
|
}
|
|
6436
6436
|
addObserver(t) {
|
|
6437
|
-
J(this,
|
|
6437
|
+
J(this, ks).includes(t) || (J(this, ks).push(t), this.clearGcTimeout(), J(this, ao).notify({
|
|
6438
6438
|
type: "observerAdded",
|
|
6439
6439
|
mutation: this,
|
|
6440
6440
|
observer: t
|
|
6441
6441
|
}));
|
|
6442
6442
|
}
|
|
6443
6443
|
removeObserver(t) {
|
|
6444
|
-
Ae(this,
|
|
6444
|
+
Ae(this, ks, J(this, ks).filter((n) => n !== t)), this.scheduleGc(), J(this, ao).notify({
|
|
6445
6445
|
type: "observerRemoved",
|
|
6446
6446
|
mutation: this,
|
|
6447
6447
|
observer: t
|
|
6448
6448
|
});
|
|
6449
6449
|
}
|
|
6450
6450
|
optionalRemove() {
|
|
6451
|
-
J(this,
|
|
6451
|
+
J(this, ks).length || (this.state.status === "pending" ? this.scheduleGc() : J(this, ao).remove(this));
|
|
6452
6452
|
}
|
|
6453
6453
|
continue() {
|
|
6454
6454
|
var t;
|
|
@@ -6460,13 +6460,13 @@ var Es, x3, iL = (x3 = class extends td {
|
|
|
6460
6460
|
Ae(this, cu, nL({
|
|
6461
6461
|
fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
|
|
6462
6462
|
onFail: (_, R) => {
|
|
6463
|
-
rt(this,
|
|
6463
|
+
rt(this, _s, bl).call(this, { type: "failed", failureCount: _, error: R });
|
|
6464
6464
|
},
|
|
6465
6465
|
onPause: () => {
|
|
6466
|
-
rt(this,
|
|
6466
|
+
rt(this, _s, bl).call(this, { type: "pause" });
|
|
6467
6467
|
},
|
|
6468
6468
|
onContinue: () => {
|
|
6469
|
-
rt(this,
|
|
6469
|
+
rt(this, _s, bl).call(this, { type: "continue" });
|
|
6470
6470
|
},
|
|
6471
6471
|
retry: this.options.retry ?? 0,
|
|
6472
6472
|
retryDelay: this.options.retryDelay,
|
|
@@ -6476,13 +6476,13 @@ var Es, x3, iL = (x3 = class extends td {
|
|
|
6476
6476
|
const n = this.state.status === "pending", r = !J(this, cu).canStart();
|
|
6477
6477
|
try {
|
|
6478
6478
|
if (!n) {
|
|
6479
|
-
rt(this,
|
|
6479
|
+
rt(this, _s, bl).call(this, { type: "pending", variables: t, isPaused: r }), await ((i = (o = J(this, ao).config).onMutate) == null ? void 0 : i.call(
|
|
6480
6480
|
o,
|
|
6481
6481
|
t,
|
|
6482
6482
|
this
|
|
6483
6483
|
));
|
|
6484
6484
|
const R = await ((a = (s = this.options).onMutate) == null ? void 0 : a.call(s, t));
|
|
6485
|
-
R !== this.state.context && rt(this,
|
|
6485
|
+
R !== this.state.context && rt(this, _s, bl).call(this, {
|
|
6486
6486
|
type: "pending",
|
|
6487
6487
|
context: R,
|
|
6488
6488
|
variables: t,
|
|
@@ -6503,7 +6503,7 @@ var Es, x3, iL = (x3 = class extends td {
|
|
|
6503
6503
|
this.state.variables,
|
|
6504
6504
|
this.state.context,
|
|
6505
6505
|
this
|
|
6506
|
-
)), await ((g = (m = this.options).onSettled) == null ? void 0 : g.call(m, _, null, t, this.state.context)), rt(this,
|
|
6506
|
+
)), await ((g = (m = this.options).onSettled) == null ? void 0 : g.call(m, _, null, t, this.state.context)), rt(this, _s, bl).call(this, { type: "success", data: _ }), _;
|
|
6507
6507
|
} catch (_) {
|
|
6508
6508
|
try {
|
|
6509
6509
|
throw await ((b = (y = J(this, ao).config).onError) == null ? void 0 : b.call(
|
|
@@ -6532,13 +6532,13 @@ var Es, x3, iL = (x3 = class extends td {
|
|
|
6532
6532
|
this.state.context
|
|
6533
6533
|
)), _;
|
|
6534
6534
|
} finally {
|
|
6535
|
-
rt(this,
|
|
6535
|
+
rt(this, _s, bl).call(this, { type: "error", error: _ });
|
|
6536
6536
|
}
|
|
6537
6537
|
} finally {
|
|
6538
6538
|
J(this, ao).runNext(this);
|
|
6539
6539
|
}
|
|
6540
6540
|
}
|
|
6541
|
-
},
|
|
6541
|
+
}, ks = new WeakMap(), ao = new WeakMap(), cu = new WeakMap(), _s = new WeakSet(), bl = function(t) {
|
|
6542
6542
|
const n = (r) => {
|
|
6543
6543
|
switch (t.type) {
|
|
6544
6544
|
case "failed":
|
|
@@ -6593,7 +6593,7 @@ var Es, x3, iL = (x3 = class extends td {
|
|
|
6593
6593
|
}
|
|
6594
6594
|
};
|
|
6595
6595
|
this.state = n(this.state), Xn.batch(() => {
|
|
6596
|
-
J(this,
|
|
6596
|
+
J(this, ks).forEach((r) => {
|
|
6597
6597
|
r.onMutationUpdate(t);
|
|
6598
6598
|
}), J(this, ao).notify({
|
|
6599
6599
|
mutation: this,
|
|
@@ -6995,7 +6995,7 @@ var Kn, kl, _l, Rf, Mf, Rl, Pf, Df, C3, Xee = (C3 = class {
|
|
|
6995
6995
|
clear() {
|
|
6996
6996
|
J(this, Kn).clear(), J(this, kl).clear();
|
|
6997
6997
|
}
|
|
6998
|
-
}, Kn = new WeakMap(), kl = new WeakMap(), _l = new WeakMap(), Rf = new WeakMap(), Mf = new WeakMap(), Rl = new WeakMap(), Pf = new WeakMap(), Df = new WeakMap(), C3), _o, Ot, kg, lo, uu, Tf, Ml,
|
|
6998
|
+
}, Kn = new WeakMap(), kl = new WeakMap(), _l = new WeakMap(), Rf = new WeakMap(), Mf = new WeakMap(), Rl = new WeakMap(), Pf = new WeakMap(), Df = new WeakMap(), C3), _o, Ot, kg, lo, uu, Tf, Ml, Rs, _g, Af, If, du, fu, Pl, Of, sn, pp, Z2, K2, X2, Q2, J2, eE, tE, aL, E3, a_ = (E3 = class extends td {
|
|
6999
6999
|
constructor(t, n) {
|
|
7000
7000
|
super();
|
|
7001
7001
|
Ue(this, sn);
|
|
@@ -7006,7 +7006,7 @@ var Kn, kl, _l, Rf, Mf, Rl, Pf, Df, C3, Xee = (C3 = class {
|
|
|
7006
7006
|
Ue(this, uu);
|
|
7007
7007
|
Ue(this, Tf);
|
|
7008
7008
|
Ue(this, Ml);
|
|
7009
|
-
Ue(this,
|
|
7009
|
+
Ue(this, Rs);
|
|
7010
7010
|
Ue(this, _g);
|
|
7011
7011
|
Ue(this, Af);
|
|
7012
7012
|
// This property keeps track of the last query with defined data.
|
|
@@ -7016,7 +7016,7 @@ var Kn, kl, _l, Rf, Mf, Rl, Pf, Df, C3, Xee = (C3 = class {
|
|
|
7016
7016
|
Ue(this, fu);
|
|
7017
7017
|
Ue(this, Pl);
|
|
7018
7018
|
Ue(this, Of, /* @__PURE__ */ new Set());
|
|
7019
|
-
this.options = n, Ae(this, _o, t), Ae(this,
|
|
7019
|
+
this.options = n, Ae(this, _o, t), Ae(this, Rs, null), Ae(this, Ml, Y2()), this.options.experimental_prefetchInRender || J(this, Ml).reject(
|
|
7020
7020
|
new Error("experimental_prefetchInRender feature flag is not enabled")
|
|
7021
7021
|
), this.bindMethods(), this.setOptions(n);
|
|
7022
7022
|
}
|
|
@@ -7122,9 +7122,9 @@ var Kn, kl, _l, Rf, Mf, Rl, Pf, Df, C3, Xee = (C3 = class {
|
|
|
7122
7122
|
h = J(this, Af);
|
|
7123
7123
|
else
|
|
7124
7124
|
try {
|
|
7125
|
-
Ae(this, _g, n.select), h = n.select(d.data), h = G2(i == null ? void 0 : i.data, h, n), Ae(this, Af, h), Ae(this,
|
|
7125
|
+
Ae(this, _g, n.select), h = n.select(d.data), h = G2(i == null ? void 0 : i.data, h, n), Ae(this, Af, h), Ae(this, Rs, null);
|
|
7126
7126
|
} catch (R) {
|
|
7127
|
-
Ae(this,
|
|
7127
|
+
Ae(this, Rs, R);
|
|
7128
7128
|
}
|
|
7129
7129
|
else
|
|
7130
7130
|
h = d.data;
|
|
@@ -7137,9 +7137,9 @@ var Kn, kl, _l, Rf, Mf, Rl, Pf, Df, C3, Xee = (C3 = class {
|
|
|
7137
7137
|
J(this, If)
|
|
7138
7138
|
) : n.placeholderData, n.select && R !== void 0)
|
|
7139
7139
|
try {
|
|
7140
|
-
R = n.select(R), Ae(this,
|
|
7140
|
+
R = n.select(R), Ae(this, Rs, null);
|
|
7141
7141
|
} catch (M) {
|
|
7142
|
-
Ae(this,
|
|
7142
|
+
Ae(this, Rs, M);
|
|
7143
7143
|
}
|
|
7144
7144
|
R !== void 0 && (y = "success", h = G2(
|
|
7145
7145
|
i == null ? void 0 : i.data,
|
|
@@ -7147,7 +7147,7 @@ var Kn, kl, _l, Rf, Mf, Rl, Pf, Df, C3, Xee = (C3 = class {
|
|
|
7147
7147
|
n
|
|
7148
7148
|
), f = !0);
|
|
7149
7149
|
}
|
|
7150
|
-
J(this,
|
|
7150
|
+
J(this, Rs) && (m = J(this, Rs), h = J(this, Af), g = Date.now(), y = "error");
|
|
7151
7151
|
const b = d.fetchStatus === "fetching", v = y === "pending", x = y === "error", w = v && b, S = h !== void 0, C = {
|
|
7152
7152
|
status: y,
|
|
7153
7153
|
fetchStatus: d.fetchStatus,
|
|
@@ -7220,7 +7220,7 @@ var Kn, kl, _l, Rf, Mf, Rl, Pf, Df, C3, Xee = (C3 = class {
|
|
|
7220
7220
|
onQueryUpdate() {
|
|
7221
7221
|
this.updateResult(), this.hasListeners() && rt(this, sn, Q2).call(this);
|
|
7222
7222
|
}
|
|
7223
|
-
}, _o = new WeakMap(), Ot = new WeakMap(), kg = new WeakMap(), lo = new WeakMap(), uu = new WeakMap(), Tf = new WeakMap(), Ml = new WeakMap(),
|
|
7223
|
+
}, _o = new WeakMap(), Ot = new WeakMap(), kg = new WeakMap(), lo = new WeakMap(), uu = new WeakMap(), Tf = new WeakMap(), Ml = new WeakMap(), Rs = new WeakMap(), _g = new WeakMap(), Af = new WeakMap(), If = new WeakMap(), du = new WeakMap(), fu = new WeakMap(), Pl = new WeakMap(), Of = new WeakMap(), sn = new WeakSet(), pp = function(t) {
|
|
7224
7224
|
rt(this, sn, tE).call(this);
|
|
7225
7225
|
let n = J(this, Ot).fetch(
|
|
7226
7226
|
this.options,
|
|
@@ -7751,7 +7751,7 @@ function et() {
|
|
|
7751
7751
|
);
|
|
7752
7752
|
return e;
|
|
7753
7753
|
}
|
|
7754
|
-
const
|
|
7754
|
+
const Gi = Xs()(
|
|
7755
7755
|
Ig((e) => ({
|
|
7756
7756
|
initialDashboard: null,
|
|
7757
7757
|
selectedDashboard: null,
|
|
@@ -7792,10 +7792,10 @@ const Is = Xs()(
|
|
|
7792
7792
|
}
|
|
7793
7793
|
}
|
|
7794
7794
|
}))
|
|
7795
|
-
), LXe = () =>
|
|
7795
|
+
), LXe = () => Gi((e) => e.selectedDashboard), zXe = () => Gi((e) => e.selectedVisual), yL = () => Gi((e) => e.actions), BXe = (e) => Gi((t) => {
|
|
7796
7796
|
var n;
|
|
7797
7797
|
return ((n = t.selectedDashboard) == null ? void 0 : n.id) === e;
|
|
7798
|
-
}),
|
|
7798
|
+
}), VXe = (e) => Gi((t) => {
|
|
7799
7799
|
var n;
|
|
7800
7800
|
return ((n = t.selectedVisual) == null ? void 0 : n.id) === e;
|
|
7801
7801
|
});
|
|
@@ -7805,7 +7805,7 @@ function dte() {
|
|
|
7805
7805
|
version: t,
|
|
7806
7806
|
tokenProps: n,
|
|
7807
7807
|
id: r
|
|
7808
|
-
} = et(), o =
|
|
7808
|
+
} = et(), o = Gi(
|
|
7809
7809
|
(f) => f.selectedDashboard
|
|
7810
7810
|
);
|
|
7811
7811
|
function i() {
|
|
@@ -8172,7 +8172,7 @@ const xte = Se("AlignLeft", [
|
|
|
8172
8172
|
* This source code is licensed under the ISC license.
|
|
8173
8173
|
* See the LICENSE file in the root directory of this source tree.
|
|
8174
8174
|
*/
|
|
8175
|
-
const
|
|
8175
|
+
const Ms = Se("ArrowDown", [
|
|
8176
8176
|
["path", { d: "M12 5v14", key: "s699le" }],
|
|
8177
8177
|
["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
|
|
8178
8178
|
]);
|
|
@@ -8288,7 +8288,7 @@ const DT = Se("CalendarDays", [
|
|
|
8288
8288
|
* This source code is licensed under the ISC license.
|
|
8289
8289
|
* See the LICENSE file in the root directory of this source tree.
|
|
8290
8290
|
*/
|
|
8291
|
-
const
|
|
8291
|
+
const ts = Se("Calendar", [
|
|
8292
8292
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
8293
8293
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
8294
8294
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
@@ -8468,7 +8468,7 @@ const EL = Se("ChevronLeft", [
|
|
|
8468
8468
|
* This source code is licensed under the ISC license.
|
|
8469
8469
|
* See the LICENSE file in the root directory of this source tree.
|
|
8470
8470
|
*/
|
|
8471
|
-
const
|
|
8471
|
+
const ns = Se("ChevronRight", [
|
|
8472
8472
|
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
|
8473
8473
|
]);
|
|
8474
8474
|
/**
|
|
@@ -8967,7 +8967,7 @@ const Xte = Se("List", [
|
|
|
8967
8967
|
* This source code is licensed under the ISC license.
|
|
8968
8968
|
* See the LICENSE file in the root directory of this source tree.
|
|
8969
8969
|
*/
|
|
8970
|
-
const
|
|
8970
|
+
const rs = Se("LoaderCircle", [
|
|
8971
8971
|
["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
|
|
8972
8972
|
]);
|
|
8973
8973
|
/**
|
|
@@ -9155,7 +9155,7 @@ const rne = Se("Play", [
|
|
|
9155
9155
|
* This source code is licensed under the ISC license.
|
|
9156
9156
|
* See the LICENSE file in the root directory of this source tree.
|
|
9157
9157
|
*/
|
|
9158
|
-
const
|
|
9158
|
+
const os = Se("Plus", [
|
|
9159
9159
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
9160
9160
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
9161
9161
|
]);
|
|
@@ -9555,7 +9555,7 @@ function pne(...e) {
|
|
|
9555
9555
|
};
|
|
9556
9556
|
}
|
|
9557
9557
|
// @__NO_SIDE_EFFECTS__
|
|
9558
|
-
function
|
|
9558
|
+
function is(e) {
|
|
9559
9559
|
const t = /* @__PURE__ */ gne(e), n = N.forwardRef((r, o) => {
|
|
9560
9560
|
const { children: i, ...s } = r, a = N.Children.toArray(i), l = a.find(yne);
|
|
9561
9561
|
if (l) {
|
|
@@ -9566,7 +9566,7 @@ function os(e) {
|
|
|
9566
9566
|
});
|
|
9567
9567
|
return n.displayName = `${e}.Slot`, n;
|
|
9568
9568
|
}
|
|
9569
|
-
var mne = /* @__PURE__ */
|
|
9569
|
+
var mne = /* @__PURE__ */ is("Slot");
|
|
9570
9570
|
// @__NO_SIDE_EFFECTS__
|
|
9571
9571
|
function gne(e) {
|
|
9572
9572
|
const t = N.forwardRef((n, r) => {
|
|
@@ -9668,7 +9668,7 @@ const zT = {
|
|
|
9668
9668
|
user: Em,
|
|
9669
9669
|
marketing: Gx,
|
|
9670
9670
|
financial: Kl,
|
|
9671
|
-
operations:
|
|
9671
|
+
operations: ts,
|
|
9672
9672
|
project: Ni
|
|
9673
9673
|
}, wne = {
|
|
9674
9674
|
sales: "bg-orange-500",
|
|
@@ -9924,7 +9924,7 @@ function Kne(e, t) {
|
|
|
9924
9924
|
}) : l(a);
|
|
9925
9925
|
}), n;
|
|
9926
9926
|
}
|
|
9927
|
-
var
|
|
9927
|
+
var jXe = Er(function(e, t) {
|
|
9928
9928
|
let { invert: n, position: r = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: i, closeButton: s, className: a, offset: l, mobileOffset: c, theme: u = "light", richColors: d, duration: f, style: h, visibleToasts: m = Vne, toastOptions: g, dir: y = VT(), gap: b = Wne, loadingIcon: v, icons: x, containerAriaLabel: w = "Notifications", pauseWhenPageIsHidden: S } = e, [E, C] = G.useState([]), _ = G.useMemo(() => Array.from(new Set([r].concat(E.filter((z) => z.position).map((z) => z.position)))), [E, r]), [R, M] = G.useState([]), [T, P] = G.useState(!1), [O, F] = G.useState(!1), [I, $] = G.useState(u !== "system" ? u : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), j = G.useRef(null), H = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), L = G.useRef(null), A = G.useRef(!1), B = G.useCallback((z) => {
|
|
9929
9929
|
C((D) => {
|
|
9930
9930
|
var V;
|
|
@@ -10156,7 +10156,7 @@ const Xne = async (e, t, n, r, o, i, s) => {
|
|
|
10156
10156
|
t
|
|
10157
10157
|
);
|
|
10158
10158
|
};
|
|
10159
|
-
function
|
|
10159
|
+
function HXe(e) {
|
|
10160
10160
|
const { authToken: t, tokenProps: n } = et();
|
|
10161
10161
|
return Tn({
|
|
10162
10162
|
queryKey: ["tenants"],
|
|
@@ -10330,7 +10330,7 @@ function fre() {
|
|
|
10330
10330
|
}
|
|
10331
10331
|
});
|
|
10332
10332
|
}
|
|
10333
|
-
function
|
|
10333
|
+
function UXe(e, t) {
|
|
10334
10334
|
const { authToken: n, tokenProps: r } = et();
|
|
10335
10335
|
return Tn({
|
|
10336
10336
|
queryKey: ["resource-shares", e, t],
|
|
@@ -10351,10 +10351,10 @@ function hre(e, t, n) {
|
|
|
10351
10351
|
enabled: (n == null ? void 0 : n.enabled) !== void 0 ? n.enabled && !!(r != null && r.accessToken) && !!t : !!(r != null && r.accessToken) && !!t
|
|
10352
10352
|
});
|
|
10353
10353
|
}
|
|
10354
|
-
function
|
|
10354
|
+
function WXe(e, t) {
|
|
10355
10355
|
return hre(mn.VISUAL, e, t);
|
|
10356
10356
|
}
|
|
10357
|
-
function
|
|
10357
|
+
function qXe() {
|
|
10358
10358
|
const [e, t] = ne(/* @__PURE__ */ new Map()), n = ye((i, s) => {
|
|
10359
10359
|
t((a) => {
|
|
10360
10360
|
const l = new Map(a), c = new Set(l.get(i) || []);
|
|
@@ -10423,14 +10423,14 @@ function pre(e, t) {
|
|
|
10423
10423
|
t
|
|
10424
10424
|
);
|
|
10425
10425
|
}
|
|
10426
|
-
function
|
|
10426
|
+
function GXe(e, t) {
|
|
10427
10427
|
return BL(
|
|
10428
10428
|
mn.VISUAL,
|
|
10429
10429
|
e,
|
|
10430
10430
|
t
|
|
10431
10431
|
);
|
|
10432
10432
|
}
|
|
10433
|
-
function
|
|
10433
|
+
function YXe(e) {
|
|
10434
10434
|
const { authToken: t, tokenProps: n } = et(), r = Mi();
|
|
10435
10435
|
return el({
|
|
10436
10436
|
mutationFn: (o) => ed(
|
|
@@ -10448,7 +10448,7 @@ function GXe(e) {
|
|
|
10448
10448
|
}
|
|
10449
10449
|
});
|
|
10450
10450
|
}
|
|
10451
|
-
function
|
|
10451
|
+
function ZXe() {
|
|
10452
10452
|
const { authToken: e, tokenProps: t } = et(), n = Mi();
|
|
10453
10453
|
return el({
|
|
10454
10454
|
mutationFn: async ({
|
|
@@ -10651,7 +10651,7 @@ var Nre = [
|
|
|
10651
10651
|
"svg",
|
|
10652
10652
|
"ul"
|
|
10653
10653
|
], nl = Nre.reduce((e, t) => {
|
|
10654
|
-
const n = /* @__PURE__ */
|
|
10654
|
+
const n = /* @__PURE__ */ is(`Primitive.${t}`), r = N.forwardRef((o, i) => {
|
|
10655
10655
|
const { asChild: s, ...a } = o, l = s ? n : t;
|
|
10656
10656
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(l, { ...a, ref: i });
|
|
10657
10657
|
});
|
|
@@ -11009,14 +11009,14 @@ function ZT() {
|
|
|
11009
11009
|
const e = document.createElement("span");
|
|
11010
11010
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
11011
11011
|
}
|
|
11012
|
-
var
|
|
11013
|
-
return
|
|
11012
|
+
var Ps = function() {
|
|
11013
|
+
return Ps = Object.assign || function(t) {
|
|
11014
11014
|
for (var n, r = 1, o = arguments.length; r < o; r++) {
|
|
11015
11015
|
n = arguments[r];
|
|
11016
11016
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
|
|
11017
11017
|
}
|
|
11018
11018
|
return t;
|
|
11019
|
-
},
|
|
11019
|
+
}, Ps.apply(this, arguments);
|
|
11020
11020
|
};
|
|
11021
11021
|
function GL(e, t) {
|
|
11022
11022
|
var n = {};
|
|
@@ -11137,7 +11137,7 @@ function eoe(e, t) {
|
|
|
11137
11137
|
function toe(e) {
|
|
11138
11138
|
e === void 0 && (e = {});
|
|
11139
11139
|
var t = eoe(null);
|
|
11140
|
-
return t.options =
|
|
11140
|
+
return t.options = Ps({ async: !0, ssr: !1 }, e), t;
|
|
11141
11141
|
}
|
|
11142
11142
|
var YL = function(e) {
|
|
11143
11143
|
var t = e.sideCar, n = GL(e, ["sideCar"]);
|
|
@@ -11146,7 +11146,7 @@ var YL = function(e) {
|
|
|
11146
11146
|
var r = t.read();
|
|
11147
11147
|
if (!r)
|
|
11148
11148
|
throw new Error("Sidecar medium not found");
|
|
11149
|
-
return N.createElement(r,
|
|
11149
|
+
return N.createElement(r, Ps({}, n));
|
|
11150
11150
|
};
|
|
11151
11151
|
YL.isSideCarExport = !0;
|
|
11152
11152
|
function noe(e, t) {
|
|
@@ -11158,12 +11158,12 @@ var ZL = toe(), gS = function() {
|
|
|
11158
11158
|
onScrollCapture: gS,
|
|
11159
11159
|
onWheelCapture: gS,
|
|
11160
11160
|
onTouchMoveCapture: gS
|
|
11161
|
-
}), o = r[0], i = r[1], s = e.forwardProps, a = e.children, l = e.className, c = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, h = e.noIsolation, m = e.inert, g = e.allowPinchZoom, y = e.as, b = y === void 0 ? "div" : y, v = e.gapMode, x = GL(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), w = f, S = Qre([n, t]), E =
|
|
11161
|
+
}), o = r[0], i = r[1], s = e.forwardProps, a = e.children, l = e.className, c = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, h = e.noIsolation, m = e.inert, g = e.allowPinchZoom, y = e.as, b = y === void 0 ? "div" : y, v = e.gapMode, x = GL(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), w = f, S = Qre([n, t]), E = Ps(Ps({}, x), o);
|
|
11162
11162
|
return N.createElement(
|
|
11163
11163
|
N.Fragment,
|
|
11164
11164
|
null,
|
|
11165
11165
|
u && N.createElement(w, { sideCar: ZL, removeScrollBar: c, shards: d, noIsolation: h, inert: m, setCallbacks: i, allowPinchZoom: !!g, lockRef: n, gapMode: v }),
|
|
11166
|
-
s ? N.cloneElement(N.Children.only(a),
|
|
11166
|
+
s ? N.cloneElement(N.Children.only(a), Ps(Ps({}, E), { ref: S })) : N.createElement(b, Ps({}, E, { className: l, ref: S }), a)
|
|
11167
11167
|
);
|
|
11168
11168
|
});
|
|
11169
11169
|
Jx.defaultProps = {
|
|
@@ -11474,7 +11474,7 @@ function _oe(e) {
|
|
|
11474
11474
|
}
|
|
11475
11475
|
const Roe = noe(ZL, koe);
|
|
11476
11476
|
var rd = N.forwardRef(function(e, t) {
|
|
11477
|
-
return N.createElement(Jx,
|
|
11477
|
+
return N.createElement(Jx, Ps({}, e, { ref: t, sideCar: Roe }));
|
|
11478
11478
|
});
|
|
11479
11479
|
rd.classNames = Jx.classNames;
|
|
11480
11480
|
var Moe = function(e) {
|
|
@@ -11525,7 +11525,7 @@ var Moe = function(e) {
|
|
|
11525
11525
|
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), Doe(r, o, n, "aria-hidden")) : function() {
|
|
11526
11526
|
return null;
|
|
11527
11527
|
};
|
|
11528
|
-
}, ew = "Dialog", [t6,
|
|
11528
|
+
}, ew = "Dialog", [t6, KXe] = bre(ew), [Toe, us] = t6(ew), n6 = (e) => {
|
|
11529
11529
|
const {
|
|
11530
11530
|
__scopeDialog: t,
|
|
11531
11531
|
children: n,
|
|
@@ -11559,7 +11559,7 @@ var Moe = function(e) {
|
|
|
11559
11559
|
n6.displayName = ew;
|
|
11560
11560
|
var r6 = "DialogTrigger", o6 = N.forwardRef(
|
|
11561
11561
|
(e, t) => {
|
|
11562
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
11562
|
+
const { __scopeDialog: n, ...r } = e, o = us(r6, n), i = nd(t, o.triggerRef);
|
|
11563
11563
|
return /* @__PURE__ */ p(
|
|
11564
11564
|
nl.button,
|
|
11565
11565
|
{
|
|
@@ -11579,20 +11579,20 @@ o6.displayName = r6;
|
|
|
11579
11579
|
var b_ = "DialogPortal", [Aoe, i6] = t6(b_, {
|
|
11580
11580
|
forceMount: void 0
|
|
11581
11581
|
}), s6 = (e) => {
|
|
11582
|
-
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, i =
|
|
11582
|
+
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, i = us(b_, t);
|
|
11583
11583
|
return /* @__PURE__ */ p(Aoe, { scope: t, forceMount: n, children: N.Children.map(r, (s) => /* @__PURE__ */ p(Qx, { present: n || i.open, children: /* @__PURE__ */ p(qL, { asChild: !0, container: o, children: s }) })) });
|
|
11584
11584
|
};
|
|
11585
11585
|
s6.displayName = b_;
|
|
11586
11586
|
var sv = "DialogOverlay", a6 = N.forwardRef(
|
|
11587
11587
|
(e, t) => {
|
|
11588
|
-
const n = i6(sv, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i =
|
|
11588
|
+
const n = i6(sv, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i = us(sv, e.__scopeDialog);
|
|
11589
11589
|
return i.modal ? /* @__PURE__ */ p(Qx, { present: r || i.open, children: /* @__PURE__ */ p(Ooe, { ...o, ref: t }) }) : null;
|
|
11590
11590
|
}
|
|
11591
11591
|
);
|
|
11592
11592
|
a6.displayName = sv;
|
|
11593
|
-
var Ioe = /* @__PURE__ */
|
|
11593
|
+
var Ioe = /* @__PURE__ */ is("DialogOverlay.RemoveScroll"), Ooe = N.forwardRef(
|
|
11594
11594
|
(e, t) => {
|
|
11595
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
11595
|
+
const { __scopeDialog: n, ...r } = e, o = us(sv, n);
|
|
11596
11596
|
return (
|
|
11597
11597
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
11598
11598
|
// ie. when `Overlay` and `Content` are siblings
|
|
@@ -11609,14 +11609,14 @@ var Ioe = /* @__PURE__ */ os("DialogOverlay.RemoveScroll"), Ooe = N.forwardRef(
|
|
|
11609
11609
|
}
|
|
11610
11610
|
), Fu = "DialogContent", l6 = N.forwardRef(
|
|
11611
11611
|
(e, t) => {
|
|
11612
|
-
const n = i6(Fu, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i =
|
|
11612
|
+
const n = i6(Fu, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i = us(Fu, e.__scopeDialog);
|
|
11613
11613
|
return /* @__PURE__ */ p(Qx, { present: r || i.open, children: i.modal ? /* @__PURE__ */ p(Foe, { ...o, ref: t }) : /* @__PURE__ */ p($oe, { ...o, ref: t }) });
|
|
11614
11614
|
}
|
|
11615
11615
|
);
|
|
11616
11616
|
l6.displayName = Fu;
|
|
11617
11617
|
var Foe = N.forwardRef(
|
|
11618
11618
|
(e, t) => {
|
|
11619
|
-
const n =
|
|
11619
|
+
const n = us(Fu, e.__scopeDialog), r = N.useRef(null), o = nd(t, n.contentRef, r);
|
|
11620
11620
|
return N.useEffect(() => {
|
|
11621
11621
|
const i = r.current;
|
|
11622
11622
|
if (i) return fh(i);
|
|
@@ -11644,7 +11644,7 @@ var Foe = N.forwardRef(
|
|
|
11644
11644
|
}
|
|
11645
11645
|
), $oe = N.forwardRef(
|
|
11646
11646
|
(e, t) => {
|
|
11647
|
-
const n =
|
|
11647
|
+
const n = us(Fu, e.__scopeDialog), r = N.useRef(!1), o = N.useRef(!1);
|
|
11648
11648
|
return /* @__PURE__ */ p(
|
|
11649
11649
|
c6,
|
|
11650
11650
|
{
|
|
@@ -11667,7 +11667,7 @@ var Foe = N.forwardRef(
|
|
|
11667
11667
|
}
|
|
11668
11668
|
), c6 = N.forwardRef(
|
|
11669
11669
|
(e, t) => {
|
|
11670
|
-
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, ...s } = e, a =
|
|
11670
|
+
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, ...s } = e, a = us(Fu, n), l = N.useRef(null), c = nd(t, l);
|
|
11671
11671
|
return qre(), /* @__PURE__ */ k(Ve, { children: [
|
|
11672
11672
|
/* @__PURE__ */ p(
|
|
11673
11673
|
UL,
|
|
@@ -11700,21 +11700,21 @@ var Foe = N.forwardRef(
|
|
|
11700
11700
|
}
|
|
11701
11701
|
), y_ = "DialogTitle", u6 = N.forwardRef(
|
|
11702
11702
|
(e, t) => {
|
|
11703
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
11703
|
+
const { __scopeDialog: n, ...r } = e, o = us(y_, n);
|
|
11704
11704
|
return /* @__PURE__ */ p(nl.h2, { id: o.titleId, ...r, ref: t });
|
|
11705
11705
|
}
|
|
11706
11706
|
);
|
|
11707
11707
|
u6.displayName = y_;
|
|
11708
11708
|
var d6 = "DialogDescription", f6 = N.forwardRef(
|
|
11709
11709
|
(e, t) => {
|
|
11710
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
11710
|
+
const { __scopeDialog: n, ...r } = e, o = us(d6, n);
|
|
11711
11711
|
return /* @__PURE__ */ p(nl.p, { id: o.descriptionId, ...r, ref: t });
|
|
11712
11712
|
}
|
|
11713
11713
|
);
|
|
11714
11714
|
f6.displayName = d6;
|
|
11715
11715
|
var h6 = "DialogClose", p6 = N.forwardRef(
|
|
11716
11716
|
(e, t) => {
|
|
11717
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
11717
|
+
const { __scopeDialog: n, ...r } = e, o = us(h6, n);
|
|
11718
11718
|
return /* @__PURE__ */ p(
|
|
11719
11719
|
nl.button,
|
|
11720
11720
|
{
|
|
@@ -11730,7 +11730,7 @@ p6.displayName = h6;
|
|
|
11730
11730
|
function v_(e) {
|
|
11731
11731
|
return e ? "open" : "closed";
|
|
11732
11732
|
}
|
|
11733
|
-
var m6 = "DialogTitleWarning", [
|
|
11733
|
+
var m6 = "DialogTitleWarning", [XXe, g6] = gre(m6, {
|
|
11734
11734
|
contentName: Fu,
|
|
11735
11735
|
titleName: y_,
|
|
11736
11736
|
docsSlug: "dialog"
|
|
@@ -11751,7 +11751,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
11751
11751
|
t && o && (document.getElementById(t) || console.warn(r));
|
|
11752
11752
|
}, [r, e, t]), null;
|
|
11753
11753
|
}, b6 = n6, Voe = o6, y6 = s6, x_ = a6, w_ = l6, v6 = u6, x6 = f6, joe = p6;
|
|
11754
|
-
const
|
|
11754
|
+
const ds = Er(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ p("div", { className: K("semaphor-scope", t), ref: r, ...n, children: e })), fs = b6, QXe = Voe, Hoe = y6, w6 = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
11755
11755
|
x_,
|
|
11756
11756
|
{
|
|
11757
11757
|
ref: n,
|
|
@@ -11763,7 +11763,7 @@ const us = Er(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ p("div
|
|
|
11763
11763
|
}
|
|
11764
11764
|
));
|
|
11765
11765
|
w6.displayName = x_.displayName;
|
|
11766
|
-
const Pi = N.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ p(Hoe, { children: /* @__PURE__ */ k(
|
|
11766
|
+
const Pi = N.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ p(Hoe, { children: /* @__PURE__ */ k(ds, { children: [
|
|
11767
11767
|
/* @__PURE__ */ p(w6, {}),
|
|
11768
11768
|
/* @__PURE__ */ k(
|
|
11769
11769
|
w_,
|
|
@@ -11799,7 +11799,7 @@ const Di = ({
|
|
|
11799
11799
|
}
|
|
11800
11800
|
);
|
|
11801
11801
|
Di.displayName = "DialogHeader";
|
|
11802
|
-
const
|
|
11802
|
+
const hs = ({
|
|
11803
11803
|
className: e,
|
|
11804
11804
|
...t
|
|
11805
11805
|
}) => /* @__PURE__ */ p(
|
|
@@ -11812,7 +11812,7 @@ const fs = ({
|
|
|
11812
11812
|
...t
|
|
11813
11813
|
}
|
|
11814
11814
|
);
|
|
11815
|
-
|
|
11815
|
+
hs.displayName = "DialogFooter";
|
|
11816
11816
|
const Ti = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
11817
11817
|
v6,
|
|
11818
11818
|
{
|
|
@@ -11976,9 +11976,9 @@ const $g = N.forwardRef(
|
|
|
11976
11976
|
);
|
|
11977
11977
|
$g.displayName = "Textarea";
|
|
11978
11978
|
function Xoe({ onDashboardSelect: e }) {
|
|
11979
|
-
const { authToken: t } = et(), [n, r] = ne(!1), [o, i] = ne(""), [s, a] = ne(""), l =
|
|
11979
|
+
const { authToken: t } = et(), [n, r] = ne(!1), [o, i] = ne(""), [s, a] = ne(""), l = Gi(
|
|
11980
11980
|
(v) => v.actions.selectDashboard
|
|
11981
|
-
), c =
|
|
11981
|
+
), c = Gi(
|
|
11982
11982
|
(v) => v.actions.updateSelectedDashboard
|
|
11983
11983
|
), {
|
|
11984
11984
|
resources: u,
|
|
@@ -11995,7 +11995,7 @@ function Xoe({ onDashboardSelect: e }) {
|
|
|
11995
11995
|
(C) => C.id === v.id
|
|
11996
11996
|
);
|
|
11997
11997
|
if (S) {
|
|
11998
|
-
const C =
|
|
11998
|
+
const C = Gi.getState().selectedDashboard;
|
|
11999
11999
|
(C == null ? void 0 : C.id) === S.id && c(S);
|
|
12000
12000
|
}
|
|
12001
12001
|
}));
|
|
@@ -12010,7 +12010,7 @@ function Xoe({ onDashboardSelect: e }) {
|
|
|
12010
12010
|
});
|
|
12011
12011
|
};
|
|
12012
12012
|
return t ? d ? /* @__PURE__ */ p("div", { className: "flex h-full grow items-center justify-center", children: /* @__PURE__ */ k("div", { className: "flex flex-col items-center gap-3", children: [
|
|
12013
|
-
/* @__PURE__ */ p(
|
|
12013
|
+
/* @__PURE__ */ p(rs, { className: "h-8 w-8 animate-spin text-muted-foreground" }),
|
|
12014
12014
|
/* @__PURE__ */ p("p", { className: "text-sm text-muted-foreground", children: "Loading dashboards..." })
|
|
12015
12015
|
] }) }) : f ? /* @__PURE__ */ p("div", { className: "flex h-full grow items-center justify-center", children: /* @__PURE__ */ k("div", { className: "text-center", children: [
|
|
12016
12016
|
/* @__PURE__ */ p(Cm, { className: "mx-auto mb-4 h-12 w-12 text-destructive" }),
|
|
@@ -12033,7 +12033,7 @@ function Xoe({ onDashboardSelect: e }) {
|
|
|
12033
12033
|
onClick: () => r(!0),
|
|
12034
12034
|
className: "gap-2",
|
|
12035
12035
|
children: [
|
|
12036
|
-
/* @__PURE__ */ p(
|
|
12036
|
+
/* @__PURE__ */ p(os, { className: "h-4 w-4" }),
|
|
12037
12037
|
"Create New Dashboard"
|
|
12038
12038
|
]
|
|
12039
12039
|
}
|
|
@@ -12055,7 +12055,7 @@ function Xoe({ onDashboardSelect: e }) {
|
|
|
12055
12055
|
onClick: () => r(!0),
|
|
12056
12056
|
className: "gap-2",
|
|
12057
12057
|
children: [
|
|
12058
|
-
/* @__PURE__ */ p(
|
|
12058
|
+
/* @__PURE__ */ p(os, { className: "h-4 w-4" }),
|
|
12059
12059
|
"Create Dashboard"
|
|
12060
12060
|
]
|
|
12061
12061
|
}
|
|
@@ -12071,7 +12071,7 @@ function Xoe({ onDashboardSelect: e }) {
|
|
|
12071
12071
|
v.id
|
|
12072
12072
|
)) })
|
|
12073
12073
|
] }) }) }),
|
|
12074
|
-
/* @__PURE__ */ p(
|
|
12074
|
+
/* @__PURE__ */ p(fs, { open: n, onOpenChange: r, children: /* @__PURE__ */ k(Pi, { children: [
|
|
12075
12075
|
/* @__PURE__ */ k(Di, { children: [
|
|
12076
12076
|
/* @__PURE__ */ p(Ti, { children: "Create New Dashboard" }),
|
|
12077
12077
|
/* @__PURE__ */ p(Qs, { children: "Add a new dashboard to your workspace. You can customize it after creation." })
|
|
@@ -12105,7 +12105,7 @@ function Xoe({ onDashboardSelect: e }) {
|
|
|
12105
12105
|
)
|
|
12106
12106
|
] })
|
|
12107
12107
|
] }),
|
|
12108
|
-
/* @__PURE__ */ k(
|
|
12108
|
+
/* @__PURE__ */ k(hs, { children: [
|
|
12109
12109
|
/* @__PURE__ */ p(
|
|
12110
12110
|
ue,
|
|
12111
12111
|
{
|
|
@@ -12121,7 +12121,7 @@ function Xoe({ onDashboardSelect: e }) {
|
|
|
12121
12121
|
onClick: b,
|
|
12122
12122
|
disabled: !o.trim() || m,
|
|
12123
12123
|
children: m ? /* @__PURE__ */ k(Ve, { children: [
|
|
12124
|
-
/* @__PURE__ */ p(
|
|
12124
|
+
/* @__PURE__ */ p(rs, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
12125
12125
|
"Creating..."
|
|
12126
12126
|
] }) : "Create Dashboard"
|
|
12127
12127
|
}
|
|
@@ -14579,7 +14579,7 @@ const rA = {}, mie = (e) => ({
|
|
|
14579
14579
|
setPreviewFilterColumns: (t) => e({ previewFilterColumns: t }),
|
|
14580
14580
|
setPreviewPivotColumns: (t) => e({ previewPivotColumns: t })
|
|
14581
14581
|
}
|
|
14582
|
-
})),
|
|
14582
|
+
})), JXe = () => Eie((e) => e.actions), cf = Xs()(
|
|
14583
14583
|
oie(
|
|
14584
14584
|
(e) => ({
|
|
14585
14585
|
panels: {
|
|
@@ -15014,7 +15014,7 @@ const oA = {
|
|
|
15014
15014
|
getFileAttachments: e.actions.getFileAttachments
|
|
15015
15015
|
}));
|
|
15016
15016
|
function $ie() {
|
|
15017
|
-
const { tokenProps: e, id: t } = et(), n =
|
|
15017
|
+
const { tokenProps: e, id: t } = et(), n = Gi(
|
|
15018
15018
|
(o) => o.selectedDashboard
|
|
15019
15019
|
);
|
|
15020
15020
|
return !!(n != null && n.id || t || e != null && e.dashboard_id);
|
|
@@ -15047,7 +15047,7 @@ function Lie({
|
|
|
15047
15047
|
tokenProps: E,
|
|
15048
15048
|
id: C
|
|
15049
15049
|
} = et();
|
|
15050
|
-
|
|
15050
|
+
Gi(
|
|
15051
15051
|
(O) => O.selectedDashboard
|
|
15052
15052
|
);
|
|
15053
15053
|
const _ = te((O) => O.themeStyle), R = te((O) => O.isSessionExpired), { isLoading: M, isError: T } = pte({
|
|
@@ -15508,7 +15508,7 @@ function ase(e) {
|
|
|
15508
15508
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
15509
15509
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
15510
15510
|
}
|
|
15511
|
-
var __ = "Tabs", [lse,
|
|
15511
|
+
var __ = "Tabs", [lse, eQe] = Nr(__, [
|
|
15512
15512
|
hh
|
|
15513
15513
|
]), z6 = hh(), [cse, R_] = lse(__), B6 = N.forwardRef(
|
|
15514
15514
|
(e, t) => {
|
|
@@ -15650,7 +15650,7 @@ function Y6(e, t) {
|
|
|
15650
15650
|
return `${e}-content-${t}`;
|
|
15651
15651
|
}
|
|
15652
15652
|
var use = B6, Z6 = j6, K6 = U6, X6 = q6;
|
|
15653
|
-
const ta = use,
|
|
15653
|
+
const ta = use, ps = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
15654
15654
|
Z6,
|
|
15655
15655
|
{
|
|
15656
15656
|
ref: n,
|
|
@@ -15661,7 +15661,7 @@ const ta = use, hs = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */
|
|
|
15661
15661
|
...t
|
|
15662
15662
|
}
|
|
15663
15663
|
));
|
|
15664
|
-
|
|
15664
|
+
ps.displayName = Z6.displayName;
|
|
15665
15665
|
const er = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
15666
15666
|
K6,
|
|
15667
15667
|
{
|
|
@@ -18549,7 +18549,7 @@ var wd = q_(G), Qt = q_(pc), rle = C8, ole = Jae, Sd = Pt, Pr = na, wA = $a, ile
|
|
|
18549
18549
|
function q_(e) {
|
|
18550
18550
|
return e && e.__esModule ? e : { default: e };
|
|
18551
18551
|
}
|
|
18552
|
-
function
|
|
18552
|
+
function Ss(e, t, n) {
|
|
18553
18553
|
return t = sle(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
18554
18554
|
}
|
|
18555
18555
|
function sle(e) {
|
|
@@ -18568,11 +18568,11 @@ function ale(e, t) {
|
|
|
18568
18568
|
}
|
|
18569
18569
|
class G_ extends wd.default.Component {
|
|
18570
18570
|
constructor() {
|
|
18571
|
-
super(...arguments),
|
|
18571
|
+
super(...arguments), Ss(this, "state", {
|
|
18572
18572
|
resizing: null,
|
|
18573
18573
|
dragging: null,
|
|
18574
18574
|
className: ""
|
|
18575
|
-
}),
|
|
18575
|
+
}), Ss(this, "elementRef", /* @__PURE__ */ wd.default.createRef()), Ss(this, "onDragStart", (t, n) => {
|
|
18576
18576
|
let {
|
|
18577
18577
|
node: r
|
|
18578
18578
|
} = n;
|
|
@@ -18601,7 +18601,7 @@ class G_ extends wd.default.Component {
|
|
|
18601
18601
|
node: r,
|
|
18602
18602
|
newPosition: s
|
|
18603
18603
|
});
|
|
18604
|
-
}),
|
|
18604
|
+
}), Ss(this, "onDrag", (t, n) => {
|
|
18605
18605
|
let {
|
|
18606
18606
|
node: r,
|
|
18607
18607
|
deltaX: o,
|
|
@@ -18652,7 +18652,7 @@ class G_ extends wd.default.Component {
|
|
|
18652
18652
|
node: r,
|
|
18653
18653
|
newPosition: g
|
|
18654
18654
|
});
|
|
18655
|
-
}),
|
|
18655
|
+
}), Ss(this, "onDragStop", (t, n) => {
|
|
18656
18656
|
let {
|
|
18657
18657
|
node: r
|
|
18658
18658
|
} = n;
|
|
@@ -18685,7 +18685,7 @@ class G_ extends wd.default.Component {
|
|
|
18685
18685
|
node: r,
|
|
18686
18686
|
newPosition: u
|
|
18687
18687
|
});
|
|
18688
|
-
}),
|
|
18688
|
+
}), Ss(this, "onResizeStop", (t, n, r) => this.onResizeHandler(t, n, r, "onResizeStop")), Ss(this, "onResizeStart", (t, n, r) => this.onResizeHandler(t, n, r, "onResizeStart")), Ss(this, "onResize", (t, n, r) => this.onResizeHandler(t, n, r, "onResize"));
|
|
18689
18689
|
}
|
|
18690
18690
|
shouldComponentUpdate(t, n) {
|
|
18691
18691
|
if (this.props.children !== t.children || this.props.droppingPosition !== t.droppingPosition) return !0;
|
|
@@ -18892,7 +18892,7 @@ class G_ extends wd.default.Component {
|
|
|
18892
18892
|
}
|
|
18893
18893
|
}
|
|
18894
18894
|
sw.default = G_;
|
|
18895
|
-
|
|
18895
|
+
Ss(G_, "propTypes", {
|
|
18896
18896
|
// Children must be only a single element
|
|
18897
18897
|
children: Qt.default.element,
|
|
18898
18898
|
// General grid attributes
|
|
@@ -18961,7 +18961,7 @@ ws(G_, "propTypes", {
|
|
|
18961
18961
|
top: Qt.default.number.isRequired
|
|
18962
18962
|
})
|
|
18963
18963
|
});
|
|
18964
|
-
|
|
18964
|
+
Ss(G_, "defaultProps", {
|
|
18965
18965
|
className: "",
|
|
18966
18966
|
cancel: "",
|
|
18967
18967
|
handle: "",
|
|
@@ -20517,7 +20517,7 @@ function MA(e, t, n) {
|
|
|
20517
20517
|
const r = j8();
|
|
20518
20518
|
return r[t % r.length];
|
|
20519
20519
|
}
|
|
20520
|
-
function
|
|
20520
|
+
function rQe(e, t) {
|
|
20521
20521
|
const n = j8(), r = n[t % n.length];
|
|
20522
20522
|
return e === r;
|
|
20523
20523
|
}
|
|
@@ -21006,7 +21006,7 @@ function Cce(e) {
|
|
|
21006
21006
|
var t;
|
|
21007
21007
|
return e ? e.type === "organization" ? !0 : e.type === "tenant" ? ((t = e.role) == null ? void 0 : t.toUpperCase()) !== "VIEWER" : !1 : !1;
|
|
21008
21008
|
}
|
|
21009
|
-
function
|
|
21009
|
+
function oQe(e) {
|
|
21010
21010
|
var t;
|
|
21011
21011
|
return e ? e.type === "organization" ? !0 : e.type === "tenant" ? ((t = e.role) == null ? void 0 : t.toUpperCase()) === "POWER_USER" : !1 : !1;
|
|
21012
21012
|
}
|
|
@@ -21070,10 +21070,10 @@ function q8(e) {
|
|
|
21070
21070
|
function mh(e) {
|
|
21071
21071
|
return e ? ph(e) ? e.document : nR(e) ? rR(e) ? e : Ug(e) || q8(e) ? e.ownerDocument : document : document : document;
|
|
21072
21072
|
}
|
|
21073
|
-
const
|
|
21073
|
+
const ss = bw ? Dg : me;
|
|
21074
21074
|
function yw(e) {
|
|
21075
21075
|
const t = xe(e);
|
|
21076
|
-
return
|
|
21076
|
+
return ss(() => {
|
|
21077
21077
|
t.current = e;
|
|
21078
21078
|
}), ye(function() {
|
|
21079
21079
|
for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
|
|
@@ -21092,7 +21092,7 @@ function kce() {
|
|
|
21092
21092
|
function Pm(e, t) {
|
|
21093
21093
|
t === void 0 && (t = [e]);
|
|
21094
21094
|
const n = xe(e);
|
|
21095
|
-
return
|
|
21095
|
+
return ss(() => {
|
|
21096
21096
|
n.current !== e && (n.current = e);
|
|
21097
21097
|
}, t), n;
|
|
21098
21098
|
}
|
|
@@ -21442,7 +21442,7 @@ function Z8() {
|
|
|
21442
21442
|
[...t]
|
|
21443
21443
|
);
|
|
21444
21444
|
}
|
|
21445
|
-
const
|
|
21445
|
+
const as = /* @__PURE__ */ Object.freeze({
|
|
21446
21446
|
x: 0,
|
|
21447
21447
|
y: 0
|
|
21448
21448
|
});
|
|
@@ -21606,7 +21606,7 @@ function ez(e, t) {
|
|
|
21606
21606
|
return e && t ? {
|
|
21607
21607
|
x: e.left - t.left,
|
|
21608
21608
|
y: e.top - t.top
|
|
21609
|
-
} :
|
|
21609
|
+
} : as;
|
|
21610
21610
|
}
|
|
21611
21611
|
function Wce(e) {
|
|
21612
21612
|
return function(n) {
|
|
@@ -21846,7 +21846,7 @@ function eue(e) {
|
|
|
21846
21846
|
};
|
|
21847
21847
|
}
|
|
21848
21848
|
function az(e) {
|
|
21849
|
-
return e.reduce((t, n) => df(t, OE(n)),
|
|
21849
|
+
return e.reduce((t, n) => df(t, OE(n)), as);
|
|
21850
21850
|
}
|
|
21851
21851
|
function tue(e) {
|
|
21852
21852
|
return e.reduce((t, n) => t + rz(n), 0);
|
|
@@ -21977,7 +21977,7 @@ class ww {
|
|
|
21977
21977
|
activeNode: t,
|
|
21978
21978
|
onStart: n
|
|
21979
21979
|
} = this.props, r = t.node.current;
|
|
21980
|
-
r && lz(r), n(
|
|
21980
|
+
r && lz(r), n(as);
|
|
21981
21981
|
}
|
|
21982
21982
|
handleKeyDown(t) {
|
|
21983
21983
|
if (vw(t)) {
|
|
@@ -22005,7 +22005,7 @@ class ww {
|
|
|
22005
22005
|
} = r.current, u = c ? {
|
|
22006
22006
|
x: c.left,
|
|
22007
22007
|
y: c.top
|
|
22008
|
-
} :
|
|
22008
|
+
} : as;
|
|
22009
22009
|
this.referenceCoordinates || (this.referenceCoordinates = u);
|
|
22010
22010
|
const d = s(t, {
|
|
22011
22011
|
active: n,
|
|
@@ -22123,7 +22123,7 @@ class iR {
|
|
|
22123
22123
|
} = t, {
|
|
22124
22124
|
target: s
|
|
22125
22125
|
} = i;
|
|
22126
|
-
this.props = t, this.events = n, this.document = mh(s), this.documentListeners = new Vp(this.document), this.listeners = new Vp(r), this.windowListeners = new Vp(yo(s)), this.initialCoordinates = (o = hv(i)) != null ? o :
|
|
22126
|
+
this.props = t, this.events = n, this.document = mh(s), this.documentListeners = new Vp(this.document), this.listeners = new Vp(r), this.windowListeners = new Vp(yo(s)), this.initialCoordinates = (o = hv(i)) != null ? o : as, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
|
|
22127
22127
|
}
|
|
22128
22128
|
attach() {
|
|
22129
22129
|
const {
|
|
@@ -22189,7 +22189,7 @@ class iR {
|
|
|
22189
22189
|
} = i;
|
|
22190
22190
|
if (!o)
|
|
22191
22191
|
return;
|
|
22192
|
-
const l = (n = hv(t)) != null ? n :
|
|
22192
|
+
const l = (n = hv(t)) != null ? n : as, c = Dm(o, l);
|
|
22193
22193
|
if (!r && a) {
|
|
22194
22194
|
if (FA(a)) {
|
|
22195
22195
|
if (a.tolerance != null && FS(c, a.tolerance))
|
|
@@ -22639,7 +22639,7 @@ function zA(e, t, n) {
|
|
|
22639
22639
|
}), a = Cw({
|
|
22640
22640
|
callback: i
|
|
22641
22641
|
});
|
|
22642
|
-
return
|
|
22642
|
+
return ss(() => {
|
|
22643
22643
|
i(), e ? (a == null || a.observe(e), s == null || s.observe(document.body, {
|
|
22644
22644
|
childList: !0,
|
|
22645
22645
|
subtree: !0
|
|
@@ -22683,7 +22683,7 @@ function Sue(e) {
|
|
|
22683
22683
|
c == null || c.removeEventListener("scroll", o);
|
|
22684
22684
|
});
|
|
22685
22685
|
}
|
|
22686
|
-
}, [o, e]), we(() => e.length ? t ? Array.from(t.values()).reduce((i, s) => df(i, s),
|
|
22686
|
+
}, [o, e]), we(() => e.length ? t ? Array.from(t.values()).reduce((i, s) => df(i, s), as) : az(e) : as, [e, t]);
|
|
22687
22687
|
}
|
|
22688
22688
|
function VA(e, t) {
|
|
22689
22689
|
t === void 0 && (t = []);
|
|
@@ -22695,9 +22695,9 @@ function VA(e, t) {
|
|
|
22695
22695
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
22696
22696
|
t
|
|
22697
22697
|
), me(() => {
|
|
22698
|
-
const r = e !==
|
|
22698
|
+
const r = e !== as;
|
|
22699
22699
|
r && !n.current && (n.current = e), !r && n.current && (n.current = null);
|
|
22700
|
-
}, [e]), n.current ? Dm(e, n.current) :
|
|
22700
|
+
}, [e]), n.current ? Dm(e, n.current) : as;
|
|
22701
22701
|
}
|
|
22702
22702
|
function Cue(e) {
|
|
22703
22703
|
me(
|
|
@@ -22749,7 +22749,7 @@ function Nue(e, t) {
|
|
|
22749
22749
|
const a = Cw({
|
|
22750
22750
|
callback: s
|
|
22751
22751
|
});
|
|
22752
|
-
return
|
|
22752
|
+
return ss(() => {
|
|
22753
22753
|
a == null || a.disconnect(), s(), e.forEach((l) => a == null ? void 0 : a.observe(l));
|
|
22754
22754
|
}, [e]), o;
|
|
22755
22755
|
}
|
|
@@ -23063,7 +23063,7 @@ function Iue(e) {
|
|
|
23063
23063
|
x: o,
|
|
23064
23064
|
y: o
|
|
23065
23065
|
} : o;
|
|
23066
|
-
|
|
23066
|
+
ss(() => {
|
|
23067
23067
|
if (!s && !a || !t) {
|
|
23068
23068
|
i.current = !1;
|
|
23069
23069
|
return;
|
|
@@ -23084,7 +23084,7 @@ function Iue(e) {
|
|
|
23084
23084
|
}, [t, s, a, r, n]);
|
|
23085
23085
|
}
|
|
23086
23086
|
const Ew = /* @__PURE__ */ wn({
|
|
23087
|
-
...
|
|
23087
|
+
...as,
|
|
23088
23088
|
scaleX: 1,
|
|
23089
23089
|
scaleY: 1
|
|
23090
23090
|
});
|
|
@@ -23236,7 +23236,7 @@ const mz = /* @__PURE__ */ Tg(function(t) {
|
|
|
23236
23236
|
return;
|
|
23237
23237
|
const {
|
|
23238
23238
|
onDragStart: Vn
|
|
23239
|
-
} = L.current,
|
|
23239
|
+
} = L.current, ys = {
|
|
23240
23240
|
activatorEvent: at,
|
|
23241
23241
|
active: {
|
|
23242
23242
|
id: ir,
|
|
@@ -23245,13 +23245,13 @@ const mz = /* @__PURE__ */ Tg(function(t) {
|
|
|
23245
23245
|
}
|
|
23246
23246
|
};
|
|
23247
23247
|
jb(() => {
|
|
23248
|
-
Vn == null || Vn(
|
|
23248
|
+
Vn == null || Vn(ys), S(Sl.Initializing), b({
|
|
23249
23249
|
type: Sr.DragStart,
|
|
23250
23250
|
initialCoordinates: Kt,
|
|
23251
23251
|
active: ir
|
|
23252
23252
|
}), v({
|
|
23253
23253
|
type: "onDragStart",
|
|
23254
|
-
event:
|
|
23254
|
+
event: ys
|
|
23255
23255
|
}), $(Ee.current), H(at);
|
|
23256
23256
|
});
|
|
23257
23257
|
},
|
|
@@ -23270,31 +23270,31 @@ const mz = /* @__PURE__ */ Tg(function(t) {
|
|
|
23270
23270
|
const {
|
|
23271
23271
|
active: bn,
|
|
23272
23272
|
collisions: Vn,
|
|
23273
|
-
over:
|
|
23273
|
+
over: ys,
|
|
23274
23274
|
scrollAdjustedTranslate: ro
|
|
23275
23275
|
} = ee.current;
|
|
23276
23276
|
let Lo = null;
|
|
23277
23277
|
if (bn && ro) {
|
|
23278
23278
|
const {
|
|
23279
|
-
cancelDrop:
|
|
23279
|
+
cancelDrop: vs
|
|
23280
23280
|
} = L.current;
|
|
23281
23281
|
Lo = {
|
|
23282
23282
|
activatorEvent: at,
|
|
23283
23283
|
active: bn,
|
|
23284
23284
|
collisions: Vn,
|
|
23285
23285
|
delta: ro,
|
|
23286
|
-
over:
|
|
23287
|
-
}, Kt === Sr.DragEnd && typeof
|
|
23286
|
+
over: ys
|
|
23287
|
+
}, Kt === Sr.DragEnd && typeof vs == "function" && await Promise.resolve(vs(Lo)) && (Kt = Sr.DragCancel);
|
|
23288
23288
|
}
|
|
23289
23289
|
F.current = null, jb(() => {
|
|
23290
23290
|
b({
|
|
23291
23291
|
type: Kt
|
|
23292
23292
|
}), S(Sl.Uninitialized), dn(null), $(null), H(null), Ee.current = null;
|
|
23293
|
-
const
|
|
23293
|
+
const vs = Kt === Sr.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
23294
23294
|
if (Lo) {
|
|
23295
|
-
const cl = L.current[
|
|
23295
|
+
const cl = L.current[vs];
|
|
23296
23296
|
cl == null || cl(Lo), v({
|
|
23297
|
-
type:
|
|
23297
|
+
type: vs,
|
|
23298
23298
|
event: Lo
|
|
23299
23299
|
});
|
|
23300
23300
|
}
|
|
@@ -23320,7 +23320,7 @@ const mz = /* @__PURE__ */ Tg(function(t) {
|
|
|
23320
23320
|
capturedBy: He.sensor
|
|
23321
23321
|
}, F.current = We, Et(je, He));
|
|
23322
23322
|
}, [_, Et]), ke = mue(u, Zn);
|
|
23323
|
-
Cue(u),
|
|
23323
|
+
Cue(u), ss(() => {
|
|
23324
23324
|
Q && w === Sl.Initializing && S(Sl.Initialized);
|
|
23325
23325
|
}, [Q, w]), me(
|
|
23326
23326
|
() => {
|
|
@@ -23390,7 +23390,7 @@ const mz = /* @__PURE__ */ Tg(function(t) {
|
|
|
23390
23390
|
},
|
|
23391
23391
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
23392
23392
|
[nt]
|
|
23393
|
-
),
|
|
23393
|
+
), ss(() => {
|
|
23394
23394
|
ee.current = {
|
|
23395
23395
|
activatorEvent: j,
|
|
23396
23396
|
active: O,
|
|
@@ -23492,7 +23492,7 @@ function $ue(e) {
|
|
|
23492
23492
|
roleDescription: m = "draggable",
|
|
23493
23493
|
tabIndex: g = 0
|
|
23494
23494
|
} = o ?? {}, y = (l == null ? void 0 : l.id) === t, b = jt(y ? Ew : Oue), [v, x] = dv(), [w, S] = dv(), E = Eue(s, t), C = Pm(n);
|
|
23495
|
-
|
|
23495
|
+
ss(
|
|
23496
23496
|
() => (d.set(t, {
|
|
23497
23497
|
id: t,
|
|
23498
23498
|
key: i,
|
|
@@ -23615,7 +23615,7 @@ function Vue(e) {
|
|
|
23615
23615
|
children: n
|
|
23616
23616
|
} = e;
|
|
23617
23617
|
const [r, o] = ne(null), [i, s] = ne(null), a = fv(n);
|
|
23618
|
-
return !n && !r && a && o(a),
|
|
23618
|
+
return !n && !r && a && o(a), ss(() => {
|
|
23619
23619
|
if (!i)
|
|
23620
23620
|
return;
|
|
23621
23621
|
const l = r == null ? void 0 : r.key, c = r == null ? void 0 : r.props.id;
|
|
@@ -24051,7 +24051,7 @@ function xz(e) {
|
|
|
24051
24051
|
over: c,
|
|
24052
24052
|
measureDroppableContainers: u
|
|
24053
24053
|
} = gz(), d = qg(yz, n), f = a.rect !== null, h = we(() => r.map((E) => typeof E == "object" && "id" in E ? E.id : E), [r]), m = s != null, g = s ? h.indexOf(s.id) : -1, y = c ? h.indexOf(c.id) : -1, b = xe(h), v = !tde(h, b.current), x = y !== -1 && g === -1 || v, w = nde(i);
|
|
24054
|
-
|
|
24054
|
+
ss(() => {
|
|
24055
24055
|
v && m && u(h);
|
|
24056
24056
|
}, [v, h, m, u]), me(() => {
|
|
24057
24057
|
b.current = h;
|
|
@@ -24114,7 +24114,7 @@ function fde(e) {
|
|
|
24114
24114
|
rect: o
|
|
24115
24115
|
} = e;
|
|
24116
24116
|
const [i, s] = ne(null), a = xe(n);
|
|
24117
|
-
return
|
|
24117
|
+
return ss(() => {
|
|
24118
24118
|
if (!t && n !== a.current && r.current) {
|
|
24119
24119
|
const l = o.current;
|
|
24120
24120
|
if (l) {
|
|
@@ -25397,7 +25397,7 @@ function Zg(e) {
|
|
|
25397
25397
|
overflowX: n,
|
|
25398
25398
|
overflowY: r,
|
|
25399
25399
|
display: o
|
|
25400
|
-
} =
|
|
25400
|
+
} = ls(e);
|
|
25401
25401
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
|
|
25402
25402
|
}
|
|
25403
25403
|
function Kde(e) {
|
|
@@ -25413,7 +25413,7 @@ function Rw(e) {
|
|
|
25413
25413
|
});
|
|
25414
25414
|
}
|
|
25415
25415
|
function uR(e) {
|
|
25416
|
-
const t = dR(), n = Zr(e) ?
|
|
25416
|
+
const t = dR(), n = Zr(e) ? ls(e) : e;
|
|
25417
25417
|
return ["transform", "translate", "scale", "rotate", "perspective"].some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
|
|
25418
25418
|
}
|
|
25419
25419
|
function Xde(e) {
|
|
@@ -25433,7 +25433,7 @@ function dR() {
|
|
|
25433
25433
|
function Wf(e) {
|
|
25434
25434
|
return ["html", "body", "#document"].includes(yh(e));
|
|
25435
25435
|
}
|
|
25436
|
-
function
|
|
25436
|
+
function ls(e) {
|
|
25437
25437
|
return Jo(e).getComputedStyle(e);
|
|
25438
25438
|
}
|
|
25439
25439
|
function Mw(e) {
|
|
@@ -25475,7 +25475,7 @@ function VE(e) {
|
|
|
25475
25475
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
25476
25476
|
}
|
|
25477
25477
|
function Dz(e) {
|
|
25478
|
-
const t =
|
|
25478
|
+
const t = ls(e);
|
|
25479
25479
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
25480
25480
|
const o = Hs(e), i = o ? e.offsetWidth : n, s = o ? e.offsetHeight : r, a = Am(n) !== i || Am(r) !== s;
|
|
25481
25481
|
return a && (n = i, r = s), {
|
|
@@ -25524,7 +25524,7 @@ function Lu(e, t, n, r) {
|
|
|
25524
25524
|
const f = Jo(i), h = r && Zr(r) ? Jo(r) : r;
|
|
25525
25525
|
let m = f, g = VE(m);
|
|
25526
25526
|
for (; g && r && h !== m; ) {
|
|
25527
|
-
const y = ff(g), b = g.getBoundingClientRect(), v =
|
|
25527
|
+
const y = ff(g), b = g.getBoundingClientRect(), v = ls(g), x = b.left + (g.clientLeft + parseFloat(v.paddingLeft)) * y.x, w = b.top + (g.clientTop + parseFloat(v.paddingTop)) * y.y;
|
|
25528
25528
|
l *= y.x, c *= y.y, u *= y.x, d *= y.y, l += x, c += w, m = Jo(g), g = VE(m);
|
|
25529
25529
|
}
|
|
25530
25530
|
}
|
|
@@ -25584,7 +25584,7 @@ function nfe(e) {
|
|
|
25584
25584
|
const t = ia(e), n = Mw(e), r = e.ownerDocument.body, o = Yr(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = Yr(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
25585
25585
|
let s = -n.scrollLeft + hR(e);
|
|
25586
25586
|
const a = -n.scrollTop;
|
|
25587
|
-
return
|
|
25587
|
+
return ls(r).direction === "rtl" && (s += Yr(t.clientWidth, r.clientWidth) - o), {
|
|
25588
25588
|
width: o,
|
|
25589
25589
|
height: i,
|
|
25590
25590
|
x: s,
|
|
@@ -25636,17 +25636,17 @@ function nI(e, t, n) {
|
|
|
25636
25636
|
}
|
|
25637
25637
|
function Iz(e, t) {
|
|
25638
25638
|
const n = Jl(e);
|
|
25639
|
-
return n === t || !Zr(n) || Wf(n) ? !1 :
|
|
25639
|
+
return n === t || !Zr(n) || Wf(n) ? !1 : ls(n).position === "fixed" || Iz(n, t);
|
|
25640
25640
|
}
|
|
25641
25641
|
function ife(e, t) {
|
|
25642
25642
|
const n = t.get(e);
|
|
25643
25643
|
if (n)
|
|
25644
25644
|
return n;
|
|
25645
25645
|
let r = Im(e, [], !1).filter((a) => Zr(a) && yh(a) !== "body"), o = null;
|
|
25646
|
-
const i =
|
|
25646
|
+
const i = ls(e).position === "fixed";
|
|
25647
25647
|
let s = i ? Jl(e) : e;
|
|
25648
25648
|
for (; Zr(s) && !Wf(s); ) {
|
|
25649
|
-
const a =
|
|
25649
|
+
const a = ls(s), l = uR(s);
|
|
25650
25650
|
!l && a.position === "fixed" && (o = null), (i ? !l && !o : !l && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Zg(s) && !l && Iz(e, s)) ? r = r.filter((u) => u !== s) : o = a, s = Jl(s);
|
|
25651
25651
|
}
|
|
25652
25652
|
return t.set(e, r), r;
|
|
@@ -25700,10 +25700,10 @@ function lfe(e, t, n) {
|
|
|
25700
25700
|
};
|
|
25701
25701
|
}
|
|
25702
25702
|
function VS(e) {
|
|
25703
|
-
return
|
|
25703
|
+
return ls(e).position === "static";
|
|
25704
25704
|
}
|
|
25705
25705
|
function rI(e, t) {
|
|
25706
|
-
if (!Hs(e) ||
|
|
25706
|
+
if (!Hs(e) || ls(e).position === "fixed")
|
|
25707
25707
|
return null;
|
|
25708
25708
|
if (t)
|
|
25709
25709
|
return t(e);
|
|
@@ -25741,7 +25741,7 @@ const cfe = async function(e) {
|
|
|
25741
25741
|
};
|
|
25742
25742
|
};
|
|
25743
25743
|
function ufe(e) {
|
|
25744
|
-
return
|
|
25744
|
+
return ls(e).direction === "rtl";
|
|
25745
25745
|
}
|
|
25746
25746
|
const dfe = {
|
|
25747
25747
|
convertOffsetParentRelativeRectToViewportRelativeRect: efe,
|
|
@@ -26323,7 +26323,7 @@ function Afe(e) {
|
|
|
26323
26323
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
26324
26324
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
26325
26325
|
}
|
|
26326
|
-
var wR = "Popover", [Qz,
|
|
26326
|
+
var wR = "Popover", [Qz, iQe] = Nr(wR, [
|
|
26327
26327
|
sa
|
|
26328
26328
|
]), Qg = sa(), [Ife, gc] = Qz(wR), Jz = (e) => {
|
|
26329
26329
|
const {
|
|
@@ -26534,7 +26534,7 @@ function a9(e) {
|
|
|
26534
26534
|
return e ? "open" : "closed";
|
|
26535
26535
|
}
|
|
26536
26536
|
var Hfe = Jz, Ufe = n9, Wfe = r9, Tw = o9;
|
|
26537
|
-
const
|
|
26537
|
+
const Yi = Hfe, Zi = Ufe, Ki = N.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, ...r }, o) => /* @__PURE__ */ p(Wfe, { children: /* @__PURE__ */ p(ds, { children: /* @__PURE__ */ p(
|
|
26538
26538
|
Tw,
|
|
26539
26539
|
{
|
|
26540
26540
|
ref: o,
|
|
@@ -26548,7 +26548,7 @@ const Gi = Hfe, Yi = Ufe, Zi = N.forwardRef(({ className: e, align: t = "center"
|
|
|
26548
26548
|
...r
|
|
26549
26549
|
}
|
|
26550
26550
|
) }) }));
|
|
26551
|
-
|
|
26551
|
+
Ki.displayName = Tw.displayName;
|
|
26552
26552
|
function HE(e, [t, n]) {
|
|
26553
26553
|
return Math.min(n, Math.max(t, e));
|
|
26554
26554
|
}
|
|
@@ -26617,7 +26617,7 @@ var Kfe = "VisuallyHidden", CR = N.forwardRef(
|
|
|
26617
26617
|
)
|
|
26618
26618
|
);
|
|
26619
26619
|
CR.displayName = Kfe;
|
|
26620
|
-
var Xfe = CR, Qfe = [" ", "Enter", "ArrowUp", "ArrowDown"], Jfe = [" ", "Enter"], Jg = "Select", [Iw, Ow, ehe] = nw(Jg), [wh,
|
|
26620
|
+
var Xfe = CR, Qfe = [" ", "Enter", "ArrowUp", "ArrowDown"], Jfe = [" ", "Enter"], Jg = "Select", [Iw, Ow, ehe] = nw(Jg), [wh, sQe] = Nr(Jg, [
|
|
26621
26621
|
ehe,
|
|
26622
26622
|
sa
|
|
26623
26623
|
]), Fw = sa(), [the, bc] = wh(Jg), [nhe, rhe] = wh(Jg), c9 = (e) => {
|
|
@@ -27452,7 +27452,7 @@ const q9 = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
|
27452
27452
|
}
|
|
27453
27453
|
));
|
|
27454
27454
|
q9.displayName = H9.displayName;
|
|
27455
|
-
const $t = N.forwardRef(({ className: e, children: t, position: n = "popper", ...r }, o) => /* @__PURE__ */ p(vhe, { children: /* @__PURE__ */ p(
|
|
27455
|
+
const $t = N.forwardRef(({ className: e, children: t, position: n = "popper", ...r }, o) => /* @__PURE__ */ p(vhe, { children: /* @__PURE__ */ p(ds, { children: /* @__PURE__ */ k(
|
|
27456
27456
|
z9,
|
|
27457
27457
|
{
|
|
27458
27458
|
ref: o,
|
|
@@ -27538,9 +27538,9 @@ function khe({
|
|
|
27538
27538
|
onOpenChange: i,
|
|
27539
27539
|
trigger: s
|
|
27540
27540
|
}) {
|
|
27541
|
-
return /* @__PURE__ */ k(
|
|
27542
|
-
/* @__PURE__ */ p(
|
|
27543
|
-
/* @__PURE__ */ p(
|
|
27541
|
+
return /* @__PURE__ */ k(Yi, { open: o, onOpenChange: i, children: [
|
|
27542
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: s }),
|
|
27543
|
+
/* @__PURE__ */ p(Ki, { className: "z-50 w-80", align: "start", children: /* @__PURE__ */ k("div", { className: "space-y-3", children: [
|
|
27544
27544
|
/* @__PURE__ */ k("div", { children: [
|
|
27545
27545
|
/* @__PURE__ */ p(he, { className: "mb-1 block text-xs font-medium", children: "Chart Type" }),
|
|
27546
27546
|
/* @__PURE__ */ k(
|
|
@@ -27780,7 +27780,7 @@ function Mhe({
|
|
|
27780
27780
|
const m = [];
|
|
27781
27781
|
h > 0 && m.push(
|
|
27782
27782
|
/* @__PURE__ */ p(
|
|
27783
|
-
|
|
27783
|
+
ns,
|
|
27784
27784
|
{
|
|
27785
27785
|
className: "pointer-events-none h-4 w-4 text-gray-400"
|
|
27786
27786
|
},
|
|
@@ -28215,8 +28215,8 @@ function tpe({
|
|
|
28215
28215
|
const [a, l] = G.useState(!1), c = e.filter(
|
|
28216
28216
|
(d) => !s.includes(d.id)
|
|
28217
28217
|
), u = c.find((d) => d.id === t);
|
|
28218
|
-
return /* @__PURE__ */ k(
|
|
28219
|
-
/* @__PURE__ */ p(
|
|
28218
|
+
return /* @__PURE__ */ k(Yi, { open: a, onOpenChange: l, children: [
|
|
28219
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: /* @__PURE__ */ k(
|
|
28220
28220
|
ue,
|
|
28221
28221
|
{
|
|
28222
28222
|
variant: "outline",
|
|
@@ -28230,7 +28230,7 @@ function tpe({
|
|
|
28230
28230
|
]
|
|
28231
28231
|
}
|
|
28232
28232
|
) }),
|
|
28233
|
-
/* @__PURE__ */ p(
|
|
28233
|
+
/* @__PURE__ */ p(Ki, { className: "z-50 w-[200px] p-0", children: /* @__PURE__ */ k(kR, { children: [
|
|
28234
28234
|
/* @__PURE__ */ p(_R, { placeholder: "Search fields..." }),
|
|
28235
28235
|
/* @__PURE__ */ k(RR, { children: [
|
|
28236
28236
|
/* @__PURE__ */ p(MR, { children: "No field found." }),
|
|
@@ -28436,7 +28436,7 @@ function rpe({
|
|
|
28436
28436
|
/* @__PURE__ */ p("p", { className: "text-sm text-muted-foreground", children: "Create multiple drill paths for different analysis scenarios" })
|
|
28437
28437
|
] }),
|
|
28438
28438
|
/* @__PURE__ */ p("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ k(ue, { size: "sm", onClick: l, children: [
|
|
28439
|
-
/* @__PURE__ */ p(
|
|
28439
|
+
/* @__PURE__ */ p(os, { className: "mr-1 h-4 w-4" }),
|
|
28440
28440
|
"Add Hierarchy"
|
|
28441
28441
|
] }) })
|
|
28442
28442
|
] }),
|
|
@@ -28475,7 +28475,7 @@ function rpe({
|
|
|
28475
28475
|
] })
|
|
28476
28476
|
] }) });
|
|
28477
28477
|
}
|
|
28478
|
-
var TR = "Checkbox", [ope,
|
|
28478
|
+
var TR = "Checkbox", [ope, aQe] = Nr(TR), [ipe, spe] = ope(TR), n7 = N.forwardRef(
|
|
28479
28479
|
(e, t) => {
|
|
28480
28480
|
const {
|
|
28481
28481
|
__scopeCheckbox: n,
|
|
@@ -28736,7 +28736,7 @@ function dpe({
|
|
|
28736
28736
|
] })
|
|
28737
28737
|
] }) });
|
|
28738
28738
|
}
|
|
28739
|
-
var AR = "Switch", [fpe,
|
|
28739
|
+
var AR = "Switch", [fpe, lQe] = Nr(AR), [hpe, ppe] = fpe(AR), a7 = N.forwardRef(
|
|
28740
28740
|
(e, t) => {
|
|
28741
28741
|
const {
|
|
28742
28742
|
__scopeSwitch: n,
|
|
@@ -28953,7 +28953,7 @@ var vpe = (e) => {
|
|
|
28953
28953
|
function b7(e) {
|
|
28954
28954
|
return e ? "checked" : "unchecked";
|
|
28955
28955
|
}
|
|
28956
|
-
var xpe = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], OR = "RadioGroup", [wpe,
|
|
28956
|
+
var xpe = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], OR = "RadioGroup", [wpe, cQe] = Nr(OR, [
|
|
28957
28957
|
hh,
|
|
28958
28958
|
h7
|
|
28959
28959
|
]), y7 = hh(), v7 = h7(), [Spe, Cpe] = wpe(OR), x7 = N.forwardRef(
|
|
@@ -29465,7 +29465,7 @@ function _pe({
|
|
|
29465
29465
|
}, F = () => {
|
|
29466
29466
|
x(null), t();
|
|
29467
29467
|
};
|
|
29468
|
-
return e ? /* @__PURE__ */ k(
|
|
29468
|
+
return e ? /* @__PURE__ */ k(fs, { modal: !1, open: e, onOpenChange: t, children: [
|
|
29469
29469
|
/* @__PURE__ */ p("div", { className: "pointer-events-none fixed inset-0 z-40 bg-background/80 backdrop-blur-sm" }),
|
|
29470
29470
|
/* @__PURE__ */ k(Pi, { className: "flex max-h-[90vh] max-w-4xl flex-col overflow-hidden", children: [
|
|
29471
29471
|
/* @__PURE__ */ k(Di, { children: [
|
|
@@ -29504,7 +29504,7 @@ function _pe({
|
|
|
29504
29504
|
}
|
|
29505
29505
|
)
|
|
29506
29506
|
] }) }) }) }),
|
|
29507
|
-
/* @__PURE__ */ k(
|
|
29507
|
+
/* @__PURE__ */ k(hs, { className: "border-t-0", children: [
|
|
29508
29508
|
/* @__PURE__ */ p(ue, { variant: "outline", onClick: F, children: "Cancel" }),
|
|
29509
29509
|
/* @__PURE__ */ p(ue, { onClick: O, children: "Save Changes" })
|
|
29510
29510
|
] })
|
|
@@ -29726,7 +29726,7 @@ function $R() {
|
|
|
29726
29726
|
selectedSheetId: t || ""
|
|
29727
29727
|
};
|
|
29728
29728
|
}
|
|
29729
|
-
async function
|
|
29729
|
+
async function uQe(e, t) {
|
|
29730
29730
|
const {
|
|
29731
29731
|
authToken: n,
|
|
29732
29732
|
theme: r,
|
|
@@ -31527,7 +31527,7 @@ function Zme(e, t, n) {
|
|
|
31527
31527
|
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
31528
31528
|
}
|
|
31529
31529
|
const Kme = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Xme = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Qme = /^'([^]*?)'?$/, Jme = /''/g, ege = /[a-zA-Z]/;
|
|
31530
|
-
function
|
|
31530
|
+
function As(e, t, n) {
|
|
31531
31531
|
var u, d, f, h, m, g, y, b;
|
|
31532
31532
|
const r = cd(), o = (n == null ? void 0 : n.locale) ?? r.locale ?? j7, i = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((d = (u = n == null ? void 0 : n.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((h = (f = r.locale) == null ? void 0 : f.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, s = (n == null ? void 0 : n.weekStartsOn) ?? ((g = (m = n == null ? void 0 : n.locale) == null ? void 0 : m.options) == null ? void 0 : g.weekStartsOn) ?? r.weekStartsOn ?? ((b = (y = r.locale) == null ? void 0 : y.options) == null ? void 0 : b.weekStartsOn) ?? 0, a = Vt(e);
|
|
31533
31533
|
if (!Qpe(a))
|
|
@@ -32052,7 +32052,7 @@ function Dge(e, t, n = {}) {
|
|
|
32052
32052
|
return l ? c.substring(0, a - 1) + c.substring(a + 1) : c;
|
|
32053
32053
|
}, t);
|
|
32054
32054
|
}
|
|
32055
|
-
return
|
|
32055
|
+
return As(e, t, n);
|
|
32056
32056
|
}
|
|
32057
32057
|
function Y7(e, t, n) {
|
|
32058
32058
|
e = q7(e, n);
|
|
@@ -32146,7 +32146,7 @@ const HR = (e) => {
|
|
|
32146
32146
|
if (isNaN(o.getTime()))
|
|
32147
32147
|
return e;
|
|
32148
32148
|
const i = t.replace(/LLLL/g, "MMMM").replace(/LLL/g, "MMM");
|
|
32149
|
-
return n && n !== "auto" ? nN(o, n, i) :
|
|
32149
|
+
return n && n !== "auto" ? nN(o, n, i) : As(o, i);
|
|
32150
32150
|
} catch (o) {
|
|
32151
32151
|
return console.error("Date formatting error:", o), e;
|
|
32152
32152
|
}
|
|
@@ -32565,7 +32565,7 @@ function Vw(e) {
|
|
|
32565
32565
|
};
|
|
32566
32566
|
}
|
|
32567
32567
|
}
|
|
32568
|
-
function
|
|
32568
|
+
function dQe(e) {
|
|
32569
32569
|
var t, n, r, o, i, s, a, l, c, u, d, f, h, m, g, y, b, v;
|
|
32570
32570
|
return !e || ((r = (n = (t = e == null ? void 0 : e.scales) == null ? void 0 : t.x) == null ? void 0 : n.grid) == null ? void 0 : r.display) === !0 && ((s = (i = (o = e == null ? void 0 : e.scales) == null ? void 0 : o.y) == null ? void 0 : i.grid) == null ? void 0 : s.display) === !0 ? "xy" : (c = (l = (a = e.scales) == null ? void 0 : a.x) == null ? void 0 : l.grid) != null && c.display ? "x" : (f = (d = (u = e.scales) == null ? void 0 : u.y) == null ? void 0 : d.grid) != null && f.display ? "y" : ((g = (m = (h = e.scales) == null ? void 0 : h.x) == null ? void 0 : m.grid) == null ? void 0 : g.display) === !1 && ((v = (b = (y = e.scales) == null ? void 0 : y.y) == null ? void 0 : b.grid) == null ? void 0 : v.display) === !1 ? "none" : "xy";
|
|
32571
32571
|
}
|
|
@@ -32840,7 +32840,7 @@ function Xge(e, t) {
|
|
|
32840
32840
|
}
|
|
32841
32841
|
};
|
|
32842
32842
|
}
|
|
32843
|
-
function
|
|
32843
|
+
function fQe(e) {
|
|
32844
32844
|
return !["kpi", "metric", "text", "table", "pivotTable"].includes(e);
|
|
32845
32845
|
}
|
|
32846
32846
|
function Qge(e, t = !1, n = !1) {
|
|
@@ -33079,7 +33079,7 @@ function UR(e, t, n, r) {
|
|
|
33079
33079
|
}
|
|
33080
33080
|
};
|
|
33081
33081
|
}
|
|
33082
|
-
function
|
|
33082
|
+
function hQe(e) {
|
|
33083
33083
|
return ![
|
|
33084
33084
|
"kpi",
|
|
33085
33085
|
"metric",
|
|
@@ -40989,7 +40989,7 @@ const xp = {
|
|
|
40989
40989
|
};
|
|
40990
40990
|
}
|
|
40991
40991
|
};
|
|
40992
|
-
function
|
|
40992
|
+
function xs(e, t) {
|
|
40993
40993
|
return t && (Dn(t) ? Array.prototype.push.apply(e, t) : e.push(t)), e;
|
|
40994
40994
|
}
|
|
40995
40995
|
function ba(e) {
|
|
@@ -41073,7 +41073,7 @@ function _y(e, t, n) {
|
|
|
41073
41073
|
return t === "center" ? e.x + e.width / 2 : t === "right" ? e.x + e.width - r.right : e.x + r.left;
|
|
41074
41074
|
}
|
|
41075
41075
|
function jO(e) {
|
|
41076
|
-
return
|
|
41076
|
+
return xs([], ba(e));
|
|
41077
41077
|
}
|
|
41078
41078
|
function $xe(e, t, n) {
|
|
41079
41079
|
return vc(e, {
|
|
@@ -41163,7 +41163,7 @@ let UO = (A2 = class extends aa {
|
|
|
41163
41163
|
getTitle(t, n) {
|
|
41164
41164
|
const { callbacks: r } = n, o = Co(r, "beforeTitle", this, t), i = Co(r, "title", this, t), s = Co(r, "afterTitle", this, t);
|
|
41165
41165
|
let a = [];
|
|
41166
|
-
return a =
|
|
41166
|
+
return a = xs(a, ba(o)), a = xs(a, ba(i)), a = xs(a, ba(s)), a;
|
|
41167
41167
|
}
|
|
41168
41168
|
getBeforeBody(t, n) {
|
|
41169
41169
|
return jO(Co(n.callbacks, "beforeBody", this, t));
|
|
@@ -41176,7 +41176,7 @@ let UO = (A2 = class extends aa {
|
|
|
41176
41176
|
lines: [],
|
|
41177
41177
|
after: []
|
|
41178
41178
|
}, a = HO(r, i);
|
|
41179
|
-
|
|
41179
|
+
xs(s.before, ba(Co(a, "beforeLabel", this, i))), xs(s.lines, Co(a, "label", this, i)), xs(s.after, ba(Co(a, "afterLabel", this, i))), o.push(s);
|
|
41180
41180
|
}), o;
|
|
41181
41181
|
}
|
|
41182
41182
|
getAfterBody(t, n) {
|
|
@@ -41185,7 +41185,7 @@ let UO = (A2 = class extends aa {
|
|
|
41185
41185
|
getFooter(t, n) {
|
|
41186
41186
|
const { callbacks: r } = n, o = Co(r, "beforeFooter", this, t), i = Co(r, "footer", this, t), s = Co(r, "afterFooter", this, t);
|
|
41187
41187
|
let a = [];
|
|
41188
|
-
return a =
|
|
41188
|
+
return a = xs(a, ba(o)), a = xs(a, ba(i)), a = xs(a, ba(s)), a;
|
|
41189
41189
|
}
|
|
41190
41190
|
_createItems(t) {
|
|
41191
41191
|
const n = this._active, r = this.chart.data, o = [], i = [], s = [];
|
|
@@ -43187,7 +43187,7 @@ var Jf = 1 / 0, Uv = Jf, Hm = -Jf, Wv = Hm, qv = {
|
|
|
43187
43187
|
function Twe(e, t) {
|
|
43188
43188
|
e < Jf && (Jf = e), e > Hm && (Hm = e), t < Uv && (Uv = t), t > Wv && (Wv = t);
|
|
43189
43189
|
}
|
|
43190
|
-
var MN = 0, PN = 0, Sp = 0, Gv = 0, Yv = 0, Xd = 0, DN = 0, TN = 0, Cp = 0, pV, mV,
|
|
43190
|
+
var MN = 0, PN = 0, Sp = 0, Gv = 0, Yv = 0, Xd = 0, DN = 0, TN = 0, Cp = 0, pV, mV, Ds, Ts, yi = {
|
|
43191
43191
|
point: Uu,
|
|
43192
43192
|
lineStart: y5,
|
|
43193
43193
|
lineEnd: v5,
|
|
@@ -43209,11 +43209,11 @@ function y5() {
|
|
|
43209
43209
|
yi.point = Awe;
|
|
43210
43210
|
}
|
|
43211
43211
|
function Awe(e, t) {
|
|
43212
|
-
yi.point = Iwe, Uu(
|
|
43212
|
+
yi.point = Iwe, Uu(Ds = e, Ts = t);
|
|
43213
43213
|
}
|
|
43214
43214
|
function Iwe(e, t) {
|
|
43215
|
-
var n = e -
|
|
43216
|
-
Gv += o * (
|
|
43215
|
+
var n = e - Ds, r = t - Ts, o = bo(n * n + r * r);
|
|
43216
|
+
Gv += o * (Ds + e) / 2, Yv += o * (Ts + t) / 2, Xd += o, Uu(Ds = e, Ts = t);
|
|
43217
43217
|
}
|
|
43218
43218
|
function v5() {
|
|
43219
43219
|
yi.point = Uu;
|
|
@@ -43225,11 +43225,11 @@ function Fwe() {
|
|
|
43225
43225
|
gV(pV, mV);
|
|
43226
43226
|
}
|
|
43227
43227
|
function $we(e, t) {
|
|
43228
|
-
yi.point = gV, Uu(pV =
|
|
43228
|
+
yi.point = gV, Uu(pV = Ds = e, mV = Ts = t);
|
|
43229
43229
|
}
|
|
43230
43230
|
function gV(e, t) {
|
|
43231
|
-
var n = e -
|
|
43232
|
-
Gv += o * (
|
|
43231
|
+
var n = e - Ds, r = t - Ts, o = bo(n * n + r * r);
|
|
43232
|
+
Gv += o * (Ds + e) / 2, Yv += o * (Ts + t) / 2, Xd += o, o = Ts * e - Ds * t, DN += o * (Ds + e), TN += o * (Ts + t), Cp += o * 3, Uu(Ds = e, Ts = t);
|
|
43233
43233
|
}
|
|
43234
43234
|
function bV(e) {
|
|
43235
43235
|
this._context = e;
|
|
@@ -46672,7 +46672,7 @@ function wCe(e, t, n) {
|
|
|
46672
46672
|
return i === e && s === t || i === t && s === e;
|
|
46673
46673
|
});
|
|
46674
46674
|
}
|
|
46675
|
-
function
|
|
46675
|
+
function yQe(e, t, n) {
|
|
46676
46676
|
if (t.length === 0)
|
|
46677
46677
|
return { isValid: !0 };
|
|
46678
46678
|
const r = t[0].qualifiedEntityName;
|
|
@@ -46690,7 +46690,7 @@ function bQe(e, t, n) {
|
|
|
46690
46690
|
return { isValid: !1, showError: !0 };
|
|
46691
46691
|
return { isValid: !0 };
|
|
46692
46692
|
}
|
|
46693
|
-
function
|
|
46693
|
+
function vQe() {
|
|
46694
46694
|
Qe.error("Join Configuration Required", {
|
|
46695
46695
|
richColors: !0,
|
|
46696
46696
|
description: "To combine fields from two different tables, you need to define a join between them first.",
|
|
@@ -46698,7 +46698,7 @@ function yQe() {
|
|
|
46698
46698
|
duration: 4e3
|
|
46699
46699
|
});
|
|
46700
46700
|
}
|
|
46701
|
-
function
|
|
46701
|
+
function xQe(e, t) {
|
|
46702
46702
|
return t.some((n) => {
|
|
46703
46703
|
if (!(n.name === e.name && n.qualifiedEntityName === e.qualifiedEntityName)) return !1;
|
|
46704
46704
|
if ((e.role === "metric" || !e.role) && n.role === "metric") {
|
|
@@ -46715,7 +46715,7 @@ function vQe(e, t) {
|
|
|
46715
46715
|
return !0;
|
|
46716
46716
|
});
|
|
46717
46717
|
}
|
|
46718
|
-
function
|
|
46718
|
+
function wQe(e) {
|
|
46719
46719
|
if (e.role !== "metric")
|
|
46720
46720
|
return e.label || e.name;
|
|
46721
46721
|
const t = e, n = e.label || e.name;
|
|
@@ -46752,13 +46752,13 @@ function ECe(e, t) {
|
|
|
46752
46752
|
return n;
|
|
46753
46753
|
}
|
|
46754
46754
|
}
|
|
46755
|
-
function
|
|
46755
|
+
function SQe(e, t) {
|
|
46756
46756
|
if (t.length === 0)
|
|
46757
46757
|
return "metrics";
|
|
46758
46758
|
const n = o_(e.dataType);
|
|
46759
46759
|
return n === "number" ? "metrics" : n === "date" || n === "string" || n === "boolean" ? "groupBy" : "metrics";
|
|
46760
46760
|
}
|
|
46761
|
-
function
|
|
46761
|
+
function CQe(e, t, n = []) {
|
|
46762
46762
|
const r = CCe(t, e), o = o_(e.dataType), i = o === "date", s = {
|
|
46763
46763
|
id: r,
|
|
46764
46764
|
name: e.name,
|
|
@@ -46807,7 +46807,7 @@ function NCe(e) {
|
|
|
46807
46807
|
const t = (o = e.config) == null ? void 0 : o.metricColumns, n = (i = e.config) == null ? void 0 : i.groupByColumns, r = (s = e.config) == null ? void 0 : s.pivotByColumns;
|
|
46808
46808
|
return !!(t && (t == null ? void 0 : t.length) > 0 || n && (n == null ? void 0 : n.length) > 0 || r && (r == null ? void 0 : r.length) > 0);
|
|
46809
46809
|
}
|
|
46810
|
-
function
|
|
46810
|
+
function EQe(e) {
|
|
46811
46811
|
var s, a;
|
|
46812
46812
|
const [t] = ne({
|
|
46813
46813
|
id: "",
|
|
@@ -47904,7 +47904,7 @@ function nj({
|
|
|
47904
47904
|
c(!1);
|
|
47905
47905
|
}
|
|
47906
47906
|
};
|
|
47907
|
-
return /* @__PURE__ */ p(
|
|
47907
|
+
return /* @__PURE__ */ p(fs, { open: e, onOpenChange: E, children: /* @__PURE__ */ k(Pi, { className: "sm:max-w-[425px]", children: [
|
|
47908
47908
|
/* @__PURE__ */ k(Di, { children: [
|
|
47909
47909
|
/* @__PURE__ */ k(Ti, { children: [
|
|
47910
47910
|
"Export ",
|
|
@@ -48072,10 +48072,10 @@ function nj({
|
|
|
48072
48072
|
] }) })
|
|
48073
48073
|
] })
|
|
48074
48074
|
] }),
|
|
48075
|
-
/* @__PURE__ */ k(
|
|
48075
|
+
/* @__PURE__ */ k(hs, { children: [
|
|
48076
48076
|
/* @__PURE__ */ p(ue, { variant: "outline", onClick: E, disabled: l, children: "Cancel" }),
|
|
48077
48077
|
/* @__PURE__ */ p(ue, { onClick: C, disabled: l, children: l ? /* @__PURE__ */ k(Ve, { children: [
|
|
48078
|
-
/* @__PURE__ */ p(
|
|
48078
|
+
/* @__PURE__ */ p(rs, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
48079
48079
|
"Exporting..."
|
|
48080
48080
|
] }) : /* @__PURE__ */ k(Ve, { children: [
|
|
48081
48081
|
/* @__PURE__ */ p(d_, { className: "mr-2 h-4 w-4" }),
|
|
@@ -48168,7 +48168,7 @@ function $Ce(e, t, n, r = "export.csv", o, i) {
|
|
|
48168
48168
|
function LCe(e, t) {
|
|
48169
48169
|
return N.useReducer((n, r) => t[n][r] ?? n, e);
|
|
48170
48170
|
}
|
|
48171
|
-
var xM = "ScrollArea", [rj,
|
|
48171
|
+
var xM = "ScrollArea", [rj, NQe] = Nr(xM), [zCe, Ai] = rj(xM), oj = N.forwardRef(
|
|
48172
48172
|
(e, t) => {
|
|
48173
48173
|
const {
|
|
48174
48174
|
__scopeScrollArea: n,
|
|
@@ -49035,36 +49035,36 @@ const EM = (e, t, n, r, o, i, s) => {
|
|
|
49035
49035
|
const i = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
|
|
49036
49036
|
return !!(!((o = e.getValue(t)) == null || (o = o.toString()) == null || (o = o.toLowerCase()) == null) && o.includes(i));
|
|
49037
49037
|
};
|
|
49038
|
-
bj.autoRemove = (e) =>
|
|
49038
|
+
bj.autoRemove = (e) => Xi(e);
|
|
49039
49039
|
const yj = (e, t, n) => {
|
|
49040
49040
|
var r;
|
|
49041
49041
|
return !!(!((r = e.getValue(t)) == null || (r = r.toString()) == null) && r.includes(n));
|
|
49042
49042
|
};
|
|
49043
|
-
yj.autoRemove = (e) =>
|
|
49043
|
+
yj.autoRemove = (e) => Xi(e);
|
|
49044
49044
|
const vj = (e, t, n) => {
|
|
49045
49045
|
var r;
|
|
49046
49046
|
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === (n == null ? void 0 : n.toLowerCase());
|
|
49047
49047
|
};
|
|
49048
|
-
vj.autoRemove = (e) =>
|
|
49048
|
+
vj.autoRemove = (e) => Xi(e);
|
|
49049
49049
|
const xj = (e, t, n) => {
|
|
49050
49050
|
var r;
|
|
49051
49051
|
return (r = e.getValue(t)) == null ? void 0 : r.includes(n);
|
|
49052
49052
|
};
|
|
49053
|
-
xj.autoRemove = (e) =>
|
|
49053
|
+
xj.autoRemove = (e) => Xi(e);
|
|
49054
49054
|
const wj = (e, t, n) => !n.some((r) => {
|
|
49055
49055
|
var o;
|
|
49056
49056
|
return !((o = e.getValue(t)) != null && o.includes(r));
|
|
49057
49057
|
});
|
|
49058
|
-
wj.autoRemove = (e) =>
|
|
49058
|
+
wj.autoRemove = (e) => Xi(e) || !(e != null && e.length);
|
|
49059
49059
|
const Sj = (e, t, n) => n.some((r) => {
|
|
49060
49060
|
var o;
|
|
49061
49061
|
return (o = e.getValue(t)) == null ? void 0 : o.includes(r);
|
|
49062
49062
|
});
|
|
49063
|
-
Sj.autoRemove = (e) =>
|
|
49063
|
+
Sj.autoRemove = (e) => Xi(e) || !(e != null && e.length);
|
|
49064
49064
|
const Cj = (e, t, n) => e.getValue(t) === n;
|
|
49065
|
-
Cj.autoRemove = (e) =>
|
|
49065
|
+
Cj.autoRemove = (e) => Xi(e);
|
|
49066
49066
|
const Ej = (e, t, n) => e.getValue(t) == n;
|
|
49067
|
-
Ej.autoRemove = (e) =>
|
|
49067
|
+
Ej.autoRemove = (e) => Xi(e);
|
|
49068
49068
|
const NM = (e, t, n) => {
|
|
49069
49069
|
let [r, o] = n;
|
|
49070
49070
|
const i = e.getValue(t);
|
|
@@ -49078,7 +49078,7 @@ NM.resolveFilterValue = (e) => {
|
|
|
49078
49078
|
}
|
|
49079
49079
|
return [i, s];
|
|
49080
49080
|
};
|
|
49081
|
-
NM.autoRemove = (e) =>
|
|
49081
|
+
NM.autoRemove = (e) => Xi(e) || Xi(e[0]) && Xi(e[1]);
|
|
49082
49082
|
const ya = {
|
|
49083
49083
|
includesString: bj,
|
|
49084
49084
|
includesStringSensitive: yj,
|
|
@@ -49090,7 +49090,7 @@ const ya = {
|
|
|
49090
49090
|
weakEquals: Ej,
|
|
49091
49091
|
inNumberRange: NM
|
|
49092
49092
|
};
|
|
49093
|
-
function
|
|
49093
|
+
function Xi(e) {
|
|
49094
49094
|
return e == null || e === "";
|
|
49095
49095
|
}
|
|
49096
49096
|
const t2e = {
|
|
@@ -50741,7 +50741,7 @@ function Y2e(e) {
|
|
|
50741
50741
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
50742
50742
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
50743
50743
|
}
|
|
50744
|
-
var [i1,
|
|
50744
|
+
var [i1, kQe] = Nr("Tooltip", [
|
|
50745
50745
|
sa
|
|
50746
50746
|
]), s1 = sa(), _j = "TooltipProvider", Z2e = 700, VN = "tooltip.open", [K2e, DM] = i1(_j), Rj = (e) => {
|
|
50747
50747
|
const {
|
|
@@ -51269,7 +51269,7 @@ function AM({
|
|
|
51269
51269
|
disabled: !l,
|
|
51270
51270
|
children: [
|
|
51271
51271
|
/* @__PURE__ */ p("span", { className: "sr-only", children: "Go to next page" }),
|
|
51272
|
-
/* @__PURE__ */ p(
|
|
51272
|
+
/* @__PURE__ */ p(ns, { className: "h-4 w-4" })
|
|
51273
51273
|
]
|
|
51274
51274
|
}
|
|
51275
51275
|
),
|
|
@@ -51924,7 +51924,7 @@ function jEe(e, t) {
|
|
|
51924
51924
|
function Km(e) {
|
|
51925
51925
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
51926
51926
|
}
|
|
51927
|
-
var HEe = Vj, UEe = IM, WEe = Hj, qEe = Uj, GEe = LM, YEe = Wj, ZEe = l1, KEe = Gj, XEe = Zj, QEe = Xj, JEe = Jj, eNe = eH, tNe = tH, nNe = rH, rNe = oH, oNe = sH, jM = "DropdownMenu", [iNe,
|
|
51927
|
+
var HEe = Vj, UEe = IM, WEe = Hj, qEe = Uj, GEe = LM, YEe = Wj, ZEe = l1, KEe = Gj, XEe = Zj, QEe = Xj, JEe = Jj, eNe = eH, tNe = tH, nNe = rH, rNe = oH, oNe = sH, jM = "DropdownMenu", [iNe, _Qe] = Nr(
|
|
51928
51928
|
jM,
|
|
51929
51929
|
[Lj]
|
|
51930
51930
|
), eo = Lj(), [sNe, lH] = iNe(jM), cH = (e) => {
|
|
@@ -52107,7 +52107,7 @@ var wNe = "DropdownMenuSubContent", CH = N.forwardRef((e, t) => {
|
|
|
52107
52107
|
});
|
|
52108
52108
|
CH.displayName = wNe;
|
|
52109
52109
|
var SNe = cH, CNe = dH, ENe = fH, EH = pH, NH = mH, kH = gH, _H = bH, NNe = yH, RH = vH, MH = xH, PH = wH, kNe = vNe, DH = SH, TH = CH;
|
|
52110
|
-
const c1 = SNe, u1 = CNe, _Ne = kNe,
|
|
52110
|
+
const c1 = SNe, u1 = CNe, _Ne = kNe, RQe = NNe, AH = N.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ k(
|
|
52111
52111
|
DH,
|
|
52112
52112
|
{
|
|
52113
52113
|
ref: o,
|
|
@@ -52119,12 +52119,12 @@ const c1 = SNe, u1 = CNe, _Ne = kNe, _Qe = NNe, AH = N.forwardRef(({ className:
|
|
|
52119
52119
|
...r,
|
|
52120
52120
|
children: [
|
|
52121
52121
|
n,
|
|
52122
|
-
/* @__PURE__ */ p(
|
|
52122
|
+
/* @__PURE__ */ p(ns, { className: "ml-auto h-4 w-4" })
|
|
52123
52123
|
]
|
|
52124
52124
|
}
|
|
52125
52125
|
));
|
|
52126
52126
|
AH.displayName = DH.displayName;
|
|
52127
|
-
const IH = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
52127
|
+
const IH = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(ds, { children: /* @__PURE__ */ p(
|
|
52128
52128
|
TH,
|
|
52129
52129
|
{
|
|
52130
52130
|
ref: n,
|
|
@@ -52136,7 +52136,7 @@ const IH = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(us, { c
|
|
|
52136
52136
|
}
|
|
52137
52137
|
) }));
|
|
52138
52138
|
IH.displayName = TH.displayName;
|
|
52139
|
-
const db = N.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ p(ENe, { children: /* @__PURE__ */ p(
|
|
52139
|
+
const db = N.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ p(ENe, { children: /* @__PURE__ */ p(ds, { children: /* @__PURE__ */ p(
|
|
52140
52140
|
EH,
|
|
52141
52141
|
{
|
|
52142
52142
|
ref: r,
|
|
@@ -52372,7 +52372,7 @@ function HM({
|
|
|
52372
52372
|
colorRanges: v
|
|
52373
52373
|
});
|
|
52374
52374
|
};
|
|
52375
|
-
return /* @__PURE__ */ p(
|
|
52375
|
+
return /* @__PURE__ */ p(fs, { open: s, onOpenChange: a, children: /* @__PURE__ */ k(Pi, { className: "max-w-2xl", children: [
|
|
52376
52376
|
/* @__PURE__ */ k(Di, { children: [
|
|
52377
52377
|
/* @__PURE__ */ p(Ti, { children: "Display Settings" }),
|
|
52378
52378
|
/* @__PURE__ */ k(Qs, { children: [
|
|
@@ -52387,7 +52387,7 @@ function HM({
|
|
|
52387
52387
|
defaultValue: "general",
|
|
52388
52388
|
children: [
|
|
52389
52389
|
/* @__PURE__ */ k(
|
|
52390
|
-
|
|
52390
|
+
ps,
|
|
52391
52391
|
{
|
|
52392
52392
|
className: `grid ${t.type === "number" ? "grid-cols-3" : t.type === "date" ? "grid-cols-2" : "grid-cols-1"}`,
|
|
52393
52393
|
children: [
|
|
@@ -53188,7 +53188,7 @@ function HM({
|
|
|
53188
53188
|
size: "sm",
|
|
53189
53189
|
onClick: m,
|
|
53190
53190
|
className: "h-8 w-full p-0 sm:px-2",
|
|
53191
|
-
children: /* @__PURE__ */ p(
|
|
53191
|
+
children: /* @__PURE__ */ p(os, { className: "h-4 w-4" })
|
|
53192
53192
|
}
|
|
53193
53193
|
)
|
|
53194
53194
|
] })
|
|
@@ -53294,7 +53294,7 @@ function HM({
|
|
|
53294
53294
|
] })
|
|
53295
53295
|
] }) })
|
|
53296
53296
|
),
|
|
53297
|
-
/* @__PURE__ */ k(
|
|
53297
|
+
/* @__PURE__ */ k(hs, { className: "flex justify-between", children: [
|
|
53298
53298
|
/* @__PURE__ */ k("div", { className: "flex gap-2", children: [
|
|
53299
53299
|
/* @__PURE__ */ p(ue, { variant: "outline", onClick: i, children: "Reset All Column Settings" }),
|
|
53300
53300
|
/* @__PURE__ */ p(ue, { variant: "outline", onClick: o, children: "Reset" })
|
|
@@ -57641,10 +57641,10 @@ mt.autodetect.push({
|
|
|
57641
57641
|
return "rgb";
|
|
57642
57642
|
}
|
|
57643
57643
|
});
|
|
57644
|
-
const
|
|
57645
|
-
if (!
|
|
57644
|
+
const cs = (e, t, n) => {
|
|
57645
|
+
if (!cs[n])
|
|
57646
57646
|
throw new Error("unknown blend mode " + n);
|
|
57647
|
-
return
|
|
57647
|
+
return cs[n](e, t);
|
|
57648
57648
|
}, Sc = (e) => (t, n) => {
|
|
57649
57649
|
const r = Tt(n).rgb(), o = Tt(t).rgb();
|
|
57650
57650
|
return Tt.rgb(e(r, o));
|
|
@@ -57652,14 +57652,14 @@ const ls = (e, t, n) => {
|
|
|
57652
57652
|
const r = [];
|
|
57653
57653
|
return r[0] = e(t[0], n[0]), r[1] = e(t[1], n[1]), r[2] = e(t[2], n[2]), r;
|
|
57654
57654
|
}, T_e = (e) => e, A_e = (e, t) => e * t / 255, I_e = (e, t) => e > t ? t : e, O_e = (e, t) => e > t ? e : t, F_e = (e, t) => 255 * (1 - (1 - e / 255) * (1 - t / 255)), $_e = (e, t) => t < 128 ? 2 * e * t / 255 : 255 * (1 - 2 * (1 - e / 255) * (1 - t / 255)), L_e = (e, t) => 255 * (1 - (1 - t / 255) / (e / 255)), z_e = (e, t) => e === 255 ? 255 : (e = 255 * (t / 255) / (1 - e / 255), e > 255 ? 255 : e);
|
|
57655
|
-
|
|
57656
|
-
|
|
57657
|
-
|
|
57658
|
-
|
|
57659
|
-
|
|
57660
|
-
|
|
57661
|
-
|
|
57662
|
-
|
|
57655
|
+
cs.normal = Sc(Cc(T_e));
|
|
57656
|
+
cs.multiply = Sc(Cc(A_e));
|
|
57657
|
+
cs.screen = Sc(Cc(F_e));
|
|
57658
|
+
cs.overlay = Sc(Cc($_e));
|
|
57659
|
+
cs.darken = Sc(Cc(I_e));
|
|
57660
|
+
cs.lighten = Sc(Cc(O_e));
|
|
57661
|
+
cs.dodge = Sc(Cc(z_e));
|
|
57662
|
+
cs.burn = Sc(Cc(L_e));
|
|
57663
57663
|
const { pow: B_e, sin: V_e, cos: j_e } = Math;
|
|
57664
57664
|
function H_e(e = 300, t = -1.5, n = 1, r = 1, o = [0, 1]) {
|
|
57665
57665
|
let i = 0, s;
|
|
@@ -57970,24 +57970,24 @@ const fRe = (...e) => {
|
|
|
57970
57970
|
e = xt(e, "lch");
|
|
57971
57971
|
const [t, n, r, ...o] = e, [i, s, a] = tU(t, n, r), [l, c, u] = XM(i, s, a);
|
|
57972
57972
|
return [l, c, u, ...o.length > 0 && o[0] < 1 ? [o[0]] : []];
|
|
57973
|
-
}, La = /((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source,
|
|
57973
|
+
}, La = /((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source, Qi = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source, lx = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source, Ri = /\s*/.source, Ph = /\s+/.source, JM = /\s*,\s*/.source, h1 = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source, Dh = /\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source, dU = new RegExp(
|
|
57974
57974
|
"^rgba?\\(" + Ri + [La, La, La].join(Ph) + Dh + "\\)$"
|
|
57975
57975
|
), fU = new RegExp(
|
|
57976
57976
|
"^rgb\\(" + Ri + [La, La, La].join(JM) + Ri + "\\)$"
|
|
57977
57977
|
), hU = new RegExp(
|
|
57978
|
-
"^rgba\\(" + Ri + [La, La, La,
|
|
57978
|
+
"^rgba\\(" + Ri + [La, La, La, Qi].join(JM) + Ri + "\\)$"
|
|
57979
57979
|
), pU = new RegExp(
|
|
57980
57980
|
"^hsla?\\(" + Ri + [h1, lx, lx].join(Ph) + Dh + "\\)$"
|
|
57981
57981
|
), mU = new RegExp(
|
|
57982
57982
|
"^hsl?\\(" + Ri + [h1, lx, lx].join(JM) + Ri + "\\)$"
|
|
57983
57983
|
), gU = /^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/, bU = new RegExp(
|
|
57984
|
-
"^lab\\(" + Ri + [
|
|
57984
|
+
"^lab\\(" + Ri + [Qi, Qi, Qi].join(Ph) + Dh + "\\)$"
|
|
57985
57985
|
), yU = new RegExp(
|
|
57986
|
-
"^lch\\(" + Ri + [
|
|
57986
|
+
"^lch\\(" + Ri + [Qi, Qi, h1].join(Ph) + Dh + "\\)$"
|
|
57987
57987
|
), vU = new RegExp(
|
|
57988
|
-
"^oklab\\(" + Ri + [
|
|
57988
|
+
"^oklab\\(" + Ri + [Qi, Qi, Qi].join(Ph) + Dh + "\\)$"
|
|
57989
57989
|
), xU = new RegExp(
|
|
57990
|
-
"^oklch\\(" + Ri + [
|
|
57990
|
+
"^oklch\\(" + Ri + [Qi, Qi, h1].join(Ph) + Dh + "\\)$"
|
|
57991
57991
|
), { round: wU } = Math, Pd = (e) => e.map((t, n) => n <= 2 ? ku(wU(t), 0, 255) : t), ur = (e, t = 0, n = 100, r = !1) => (typeof e == "string" && e.endsWith("%") && (e = parseFloat(e.substring(0, e.length - 1)) / 100, r ? e = t + (e + 1) * 0.5 * (n - t) : e = t + e * (n - t)), +e), oo = (e, t) => e === "none" ? t : e, eP = (e) => {
|
|
57992
57992
|
if (e = e.toLowerCase().trim(), e === "transparent")
|
|
57993
57993
|
return [0, 0, 0, 0];
|
|
@@ -58138,7 +58138,7 @@ Object.assign(Tt, {
|
|
|
58138
58138
|
analyze: sU,
|
|
58139
58139
|
average: E_e,
|
|
58140
58140
|
bezier: P_e,
|
|
58141
|
-
blend:
|
|
58141
|
+
blend: cs,
|
|
58142
58142
|
brewer: lRe,
|
|
58143
58143
|
Color: Pe,
|
|
58144
58144
|
colors: rh,
|
|
@@ -59128,7 +59128,7 @@ function HRe({
|
|
|
59128
59128
|
}
|
|
59129
59129
|
),
|
|
59130
59130
|
/* @__PURE__ */ p(
|
|
59131
|
-
|
|
59131
|
+
Ms,
|
|
59132
59132
|
{
|
|
59133
59133
|
className: K(
|
|
59134
59134
|
"mr-1 h-3 w-3",
|
|
@@ -59270,7 +59270,7 @@ function HRe({
|
|
|
59270
59270
|
}
|
|
59271
59271
|
),
|
|
59272
59272
|
/* @__PURE__ */ p(
|
|
59273
|
-
|
|
59273
|
+
Ms,
|
|
59274
59274
|
{
|
|
59275
59275
|
className: K(
|
|
59276
59276
|
"h-3 w-3 flex-shrink-0",
|
|
@@ -59353,7 +59353,7 @@ function HRe({
|
|
|
59353
59353
|
),
|
|
59354
59354
|
children: h.map((R, M) => /* @__PURE__ */ k("span", { className: "inline-flex items-center", children: [
|
|
59355
59355
|
R.label,
|
|
59356
|
-
M < h.length - 1 && /* @__PURE__ */ p(
|
|
59356
|
+
M < h.length - 1 && /* @__PURE__ */ p(ns, { className: "mx-1 inline-block h-4 w-4 text-muted-foreground" })
|
|
59357
59357
|
] }, R.id))
|
|
59358
59358
|
}
|
|
59359
59359
|
)
|
|
@@ -59401,7 +59401,7 @@ function HRe({
|
|
|
59401
59401
|
}
|
|
59402
59402
|
),
|
|
59403
59403
|
/* @__PURE__ */ p(
|
|
59404
|
-
|
|
59404
|
+
Ms,
|
|
59405
59405
|
{
|
|
59406
59406
|
className: K(
|
|
59407
59407
|
"mr-1 h-3 w-3",
|
|
@@ -59493,7 +59493,7 @@ function HRe({
|
|
|
59493
59493
|
}
|
|
59494
59494
|
),
|
|
59495
59495
|
/* @__PURE__ */ p(
|
|
59496
|
-
|
|
59496
|
+
Ms,
|
|
59497
59497
|
{
|
|
59498
59498
|
className: K(
|
|
59499
59499
|
"mr-1 h-3 w-3",
|
|
@@ -59634,7 +59634,7 @@ function HRe({
|
|
|
59634
59634
|
}
|
|
59635
59635
|
),
|
|
59636
59636
|
/* @__PURE__ */ p(
|
|
59637
|
-
|
|
59637
|
+
Ms,
|
|
59638
59638
|
{
|
|
59639
59639
|
className: K(
|
|
59640
59640
|
"h-3 w-3 flex-shrink-0",
|
|
@@ -60010,7 +60010,7 @@ function za({
|
|
|
60010
60010
|
children: [
|
|
60011
60011
|
/* @__PURE__ */ k("div", { className: "flex items-center justify-between gap-2", children: [
|
|
60012
60012
|
/* @__PURE__ */ p("span", { className: "truncate", children: e || /* @__PURE__ */ p("span", { className: "text-muted-foreground", children: r }) }),
|
|
60013
|
-
a && /* @__PURE__ */ p(
|
|
60013
|
+
a && /* @__PURE__ */ p(rs, { className: "h-3 w-3 flex-shrink-0 animate-spin text-muted-foreground" })
|
|
60014
60014
|
] }),
|
|
60015
60015
|
a && /* @__PURE__ */ p("div", { className: "absolute inset-0 animate-pulse rounded bg-gradient-to-r from-transparent via-blue-100/30 to-transparent" })
|
|
60016
60016
|
]
|
|
@@ -60247,7 +60247,7 @@ function YRe({
|
|
|
60247
60247
|
n(c ? c === "asc" ? [{ id: a.id, desc: !0 }] : [] : [{ id: a.id, desc: !1 }]);
|
|
60248
60248
|
},
|
|
60249
60249
|
"aria-label": `Sort ${l}`,
|
|
60250
|
-
children: a.getIsSorted() === "asc" ? /* @__PURE__ */ p(bi, { className: "mr-1 h-3 w-3" }) : a.getIsSorted() === "desc" ? /* @__PURE__ */ p(
|
|
60250
|
+
children: a.getIsSorted() === "asc" ? /* @__PURE__ */ p(bi, { className: "mr-1 h-3 w-3" }) : a.getIsSorted() === "desc" ? /* @__PURE__ */ p(Ms, { className: "mr-1 h-3 w-3" }) : /* @__PURE__ */ p(jc, { className: "mr-1 h-3 w-3 opacity-0 group-hover:opacity-100" })
|
|
60251
60251
|
}
|
|
60252
60252
|
),
|
|
60253
60253
|
/* @__PURE__ */ p("span", { className: "text-xs font-medium", children: l })
|
|
@@ -60276,7 +60276,7 @@ function ZRe({
|
|
|
60276
60276
|
t(r ? r === "asc" ? [{ id: n.id, desc: !0 }] : [] : [{ id: n.id, desc: !1 }]);
|
|
60277
60277
|
},
|
|
60278
60278
|
"aria-label": "Sort Total",
|
|
60279
|
-
children: n.getIsSorted() === "asc" ? /* @__PURE__ */ p(bi, { className: "mr-1 h-3 w-3" }) : n.getIsSorted() === "desc" ? /* @__PURE__ */ p(
|
|
60279
|
+
children: n.getIsSorted() === "asc" ? /* @__PURE__ */ p(bi, { className: "mr-1 h-3 w-3" }) : n.getIsSorted() === "desc" ? /* @__PURE__ */ p(Ms, { className: "mr-1 h-3 w-3" }) : /* @__PURE__ */ p(jc, { className: "mr-1 h-3 w-3 opacity-0 group-hover:opacity-100" })
|
|
60280
60280
|
}
|
|
60281
60281
|
),
|
|
60282
60282
|
/* @__PURE__ */ p("span", { className: "text-xs font-medium", children: "Total" })
|
|
@@ -60640,7 +60640,7 @@ function KRe({
|
|
|
60640
60640
|
return null;
|
|
60641
60641
|
};
|
|
60642
60642
|
return /* @__PURE__ */ k(Ve, { children: [
|
|
60643
|
-
/* @__PURE__ */ p(
|
|
60643
|
+
/* @__PURE__ */ p(fs, { open: e, onOpenChange: t, children: /* @__PURE__ */ k(Pi, { className: "flex h-[80vh] w-[80vw] max-w-[80vw] flex-col gap-0 p-0 [&>button]:hidden", children: [
|
|
60644
60644
|
/* @__PURE__ */ k(Di, { className: "shrink-0 border-b px-6 py-4", children: [
|
|
60645
60645
|
/* @__PURE__ */ p(Ti, { className: "text-lg font-semibold", children: (r == null ? void 0 : r.title) || "Visual" }),
|
|
60646
60646
|
/* @__PURE__ */ k(Qs, { className: "sr-only", children: [
|
|
@@ -60753,7 +60753,7 @@ function XRe({
|
|
|
60753
60753
|
onClick: a,
|
|
60754
60754
|
disabled: !n.trim(),
|
|
60755
60755
|
children: [
|
|
60756
|
-
/* @__PURE__ */ p(
|
|
60756
|
+
/* @__PURE__ */ p(os, { className: "h-4 w-4 mr-1" }),
|
|
60757
60757
|
"Add"
|
|
60758
60758
|
]
|
|
60759
60759
|
}
|
|
@@ -60895,7 +60895,7 @@ function eMe({
|
|
|
60895
60895
|
] }),
|
|
60896
60896
|
/* @__PURE__ */ k("div", { className: "space-y-2", children: [
|
|
60897
60897
|
/* @__PURE__ */ p("div", { className: "text-sm text-muted-foreground", children: o ? "Search Results" : "Available Users" }),
|
|
60898
|
-
c ? /* @__PURE__ */ p("div", { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ p(
|
|
60898
|
+
c ? /* @__PURE__ */ p("div", { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ p(rs, { className: "h-6 w-6 animate-spin text-muted-foreground" }) }) : u ? /* @__PURE__ */ p("div", { className: "text-sm text-destructive py-4 text-center", children: "Failed to load users. Please try again." }) : f.length === 0 ? /* @__PURE__ */ p("div", { className: "text-sm text-muted-foreground py-4 text-center", children: o ? "No users found" : "No users available" }) : /* @__PURE__ */ p(Qa, { className: "h-[300px] rounded-md border p-2", children: /* @__PURE__ */ p("div", { className: "space-y-1", children: f.map((y) => {
|
|
60899
60899
|
const b = d.has(y.id);
|
|
60900
60900
|
return /* @__PURE__ */ k(
|
|
60901
60901
|
"div",
|
|
@@ -60962,7 +60962,7 @@ function kU(e = {}) {
|
|
|
60962
60962
|
refetch: o.refetch
|
|
60963
60963
|
};
|
|
60964
60964
|
}
|
|
60965
|
-
function
|
|
60965
|
+
function MQe(e) {
|
|
60966
60966
|
const { authToken: t, tokenProps: n } = et(), r = (n == null ? void 0 : n.endUserId) || (n == null ? void 0 : n.orgUserId);
|
|
60967
60967
|
return Tn({
|
|
60968
60968
|
queryKey: ["group-members", e],
|
|
@@ -60972,7 +60972,7 @@ function RQe(e) {
|
|
|
60972
60972
|
staleTime: 6e4
|
|
60973
60973
|
});
|
|
60974
60974
|
}
|
|
60975
|
-
function
|
|
60975
|
+
function PQe(e, t) {
|
|
60976
60976
|
const { tokenProps: n } = et(), r = {
|
|
60977
60977
|
limit: 100
|
|
60978
60978
|
// Get more groups for sharing UI
|
|
@@ -61052,7 +61052,7 @@ function rMe({
|
|
|
61052
61052
|
] }),
|
|
61053
61053
|
/* @__PURE__ */ k("div", { className: "space-y-2", children: [
|
|
61054
61054
|
/* @__PURE__ */ p("div", { className: "text-sm text-muted-foreground", children: n ? "Search Results" : "Available Groups" }),
|
|
61055
|
-
s ? /* @__PURE__ */ p("div", { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ p(
|
|
61055
|
+
s ? /* @__PURE__ */ p("div", { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ p(rs, { className: "h-6 w-6 animate-spin text-muted-foreground" }) }) : a ? /* @__PURE__ */ p("div", { className: "text-sm text-destructive py-4 text-center", children: "Failed to load groups. Please try again." }) : c.length === 0 ? /* @__PURE__ */ p("div", { className: "text-sm text-muted-foreground py-4 text-center", children: n ? "No groups found" : "No groups available" }) : /* @__PURE__ */ p(Qa, { className: "h-[300px] rounded-md border p-2", children: /* @__PURE__ */ p("div", { className: "space-y-1", children: c.map((h) => {
|
|
61056
61056
|
const m = e.includes(h.id);
|
|
61057
61057
|
return /* @__PURE__ */ k(
|
|
61058
61058
|
"div",
|
|
@@ -61095,7 +61095,7 @@ function rMe({
|
|
|
61095
61095
|
}
|
|
61096
61096
|
const _U = G.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, ...r }, o) => (
|
|
61097
61097
|
// <PopoverPrimitive.Portal>
|
|
61098
|
-
/* @__PURE__ */ p(
|
|
61098
|
+
/* @__PURE__ */ p(ds, { children: /* @__PURE__ */ p(
|
|
61099
61099
|
Tw,
|
|
61100
61100
|
{
|
|
61101
61101
|
ref: o,
|
|
@@ -61183,8 +61183,8 @@ function oMe({
|
|
|
61183
61183
|
" groups"
|
|
61184
61184
|
] })
|
|
61185
61185
|
] }) }),
|
|
61186
|
-
/* @__PURE__ */ k(
|
|
61187
|
-
/* @__PURE__ */ p(
|
|
61186
|
+
/* @__PURE__ */ k(Yi, { open: r, onOpenChange: o, modal: !0, children: [
|
|
61187
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: /* @__PURE__ */ k(
|
|
61188
61188
|
ue,
|
|
61189
61189
|
{
|
|
61190
61190
|
variant: "outline",
|
|
@@ -61218,7 +61218,7 @@ function oMe({
|
|
|
61218
61218
|
value: i,
|
|
61219
61219
|
onValueChange: (d) => s(d),
|
|
61220
61220
|
children: [
|
|
61221
|
-
/* @__PURE__ */ k(
|
|
61221
|
+
/* @__PURE__ */ k(ps, { className: "grid w-full grid-cols-3", children: [
|
|
61222
61222
|
/* @__PURE__ */ k(
|
|
61223
61223
|
er,
|
|
61224
61224
|
{
|
|
@@ -61434,7 +61434,7 @@ function dMe(e) {
|
|
|
61434
61434
|
function fMe(e) {
|
|
61435
61435
|
return Oh({ attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm87.63,96H191.48A64.1,64.1,0,0,0,136,64.52V40.37A88.13,88.13,0,0,1,215.63,120ZM120,120H80.68A48.09,48.09,0,0,1,120,80.68Zm0,16v39.32A48.09,48.09,0,0,1,80.68,136Zm16,0h39.32A48.09,48.09,0,0,1,136,175.32Zm0-16V80.68A48.09,48.09,0,0,1,175.32,120ZM120,40.37V64.52A64.1,64.1,0,0,0,64.52,120H40.37A88.13,88.13,0,0,1,120,40.37ZM40.37,136H64.52A64.1,64.1,0,0,0,120,191.48v24.15A88.13,88.13,0,0,1,40.37,136ZM136,215.63V191.48A64.1,64.1,0,0,0,191.48,136h24.15A88.13,88.13,0,0,1,136,215.63Z" }, child: [] }] })(e);
|
|
61436
61436
|
}
|
|
61437
|
-
function
|
|
61437
|
+
function DQe(e) {
|
|
61438
61438
|
return Oh({ attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M48,180c0,11,7.18,20,16,20a14.24,14.24,0,0,0,10.22-4.66A8,8,0,0,1,85.78,206.4,30.06,30.06,0,0,1,64,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30.06,30.06,0,0,1,21.78,9.6,8,8,0,0,1-11.56,11.06A14.24,14.24,0,0,0,64,160C55.18,160,48,169,48,180Zm79.6-8.69c-4-1.16-8.14-2.35-10.45-3.84-1.25-.81-1.23-1-1.12-1.9a4.57,4.57,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.82-.56A8,8,0,0,0,142,145.86c-2.12-.55-21-5.22-32.84,2.76a20.58,20.58,0,0,0-9,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.34-2.14,3.93-4.6,3.06-15.17,1.56-19.55.36A8,8,0,0,0,109.94,214a61.34,61.34,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.82,20.82,0,0,0,9.19-15.23C154,179,137.49,174.17,127.6,171.31Zm83.09-26.84a8,8,0,0,0-10.23,4.84L188,184.21l-12.47-34.9a8,8,0,0,0-15.07,5.38l20,56a8,8,0,0,0,15.07,0l20-56A8,8,0,0,0,210.69,144.47ZM216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-27.31-8L160,51.31V80Z" }, child: [] }] })(e);
|
|
61439
61439
|
}
|
|
61440
61440
|
function hMe(e) {
|
|
@@ -61475,7 +61475,7 @@ const rP = [
|
|
|
61475
61475
|
{ id: "kpi", icon: gMe, label: "KPI" },
|
|
61476
61476
|
{ id: "text", icon: Cte, label: "Text" },
|
|
61477
61477
|
{ id: "map", icon: Jte, label: "Map" }
|
|
61478
|
-
],
|
|
61478
|
+
], TQe = (e) => {
|
|
61479
61479
|
const t = e.toLowerCase();
|
|
61480
61480
|
for (const n of rP)
|
|
61481
61481
|
if (n.id === "doughnut") {
|
|
@@ -61600,7 +61600,7 @@ function yMe({
|
|
|
61600
61600
|
y.type === "dashboard" && (y.id === "dashboard-full" ? v.settings.sheetSelection = "all" : u && (v.settings.sheetSelection = "current", v.settings.currentSheetId = u.id, v.settings.currentSheetName = u.title)), b === "csv" && (v.settings.delimiter = ",", v.settings.includeHeaders = !0, v.settings.useFormattedValues = !0), g.push(v);
|
|
61601
61601
|
}), r(g), t(!1);
|
|
61602
61602
|
};
|
|
61603
|
-
return /* @__PURE__ */ p(
|
|
61603
|
+
return /* @__PURE__ */ p(fs, { open: e, onOpenChange: t, children: /* @__PURE__ */ k(Pi, { className: "max-w-2xl", children: [
|
|
61604
61604
|
/* @__PURE__ */ p(Di, { children: /* @__PURE__ */ p(Ti, { children: "Select Attachment" }) }),
|
|
61605
61605
|
/* @__PURE__ */ p("div", { className: "space-y-4", children: /* @__PURE__ */ k("div", { className: "space-y-2", children: [
|
|
61606
61606
|
/* @__PURE__ */ k("div", { className: "flex items-center justify-between", children: [
|
|
@@ -61653,7 +61653,7 @@ function yMe({
|
|
|
61653
61653
|
);
|
|
61654
61654
|
}) })
|
|
61655
61655
|
] }) }),
|
|
61656
|
-
/* @__PURE__ */ k(
|
|
61656
|
+
/* @__PURE__ */ k(hs, { children: [
|
|
61657
61657
|
/* @__PURE__ */ p(ue, { variant: "outline", onClick: () => t(!1), children: "Cancel" }),
|
|
61658
61658
|
/* @__PURE__ */ k(ue, { onClick: m, disabled: i.size === 0, children: [
|
|
61659
61659
|
/* @__PURE__ */ p(po, { className: "mr-2 h-4 w-4" }),
|
|
@@ -61680,7 +61680,7 @@ function vMe({
|
|
|
61680
61680
|
settings: o
|
|
61681
61681
|
}), t(!1);
|
|
61682
61682
|
};
|
|
61683
|
-
return /* @__PURE__ */ p(
|
|
61683
|
+
return /* @__PURE__ */ p(fs, { open: e, onOpenChange: t, children: /* @__PURE__ */ k(Pi, { className: "max-w-md", children: [
|
|
61684
61684
|
/* @__PURE__ */ p(Di, { children: /* @__PURE__ */ p(Ti, { children: "Export Settings" }) }),
|
|
61685
61685
|
/* @__PURE__ */ k("div", { className: "space-y-4", children: [
|
|
61686
61686
|
/* @__PURE__ */ k("div", { className: "space-y-1", children: [
|
|
@@ -61829,7 +61829,7 @@ function vMe({
|
|
|
61829
61829
|
/* @__PURE__ */ p("p", { className: "text-xs text-muted-foreground", children: "Formatted values preserve number formatting, dates, and currency symbols. Raw values export the underlying data." })
|
|
61830
61830
|
] })
|
|
61831
61831
|
] }),
|
|
61832
|
-
/* @__PURE__ */ k(
|
|
61832
|
+
/* @__PURE__ */ k(hs, { children: [
|
|
61833
61833
|
/* @__PURE__ */ p(ue, { variant: "outline", onClick: () => t(!1), children: "Cancel" }),
|
|
61834
61834
|
/* @__PURE__ */ p(ue, { onClick: s, children: "Save Settings" })
|
|
61835
61835
|
] })
|
|
@@ -62203,18 +62203,18 @@ function m4(e, t) {
|
|
|
62203
62203
|
const n = +(t[0] || 0), r = +(t[1] || 0), o = +(t[2] || 0) / 60;
|
|
62204
62204
|
return Rp[e] = n * 60 + r > 0 ? n * 60 + r + o : n * 60 - r - o;
|
|
62205
62205
|
}
|
|
62206
|
-
class
|
|
62206
|
+
class Is extends Date {
|
|
62207
62207
|
//#region static
|
|
62208
62208
|
constructor(...t) {
|
|
62209
62209
|
super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(eu(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), PU(this), KN(this)) : this.setTime(Date.now());
|
|
62210
62210
|
}
|
|
62211
62211
|
static tz(t, ...n) {
|
|
62212
|
-
return n.length ? new
|
|
62212
|
+
return n.length ? new Is(...n, t) : new Is(Date.now(), t);
|
|
62213
62213
|
}
|
|
62214
62214
|
//#endregion
|
|
62215
62215
|
//#region time zone
|
|
62216
62216
|
withTimeZone(t) {
|
|
62217
|
-
return new
|
|
62217
|
+
return new Is(+this, t);
|
|
62218
62218
|
}
|
|
62219
62219
|
getTimezoneOffset() {
|
|
62220
62220
|
const t = -eu(this.timeZone, this);
|
|
@@ -62228,7 +62228,7 @@ class As extends Date {
|
|
|
62228
62228
|
//#endregion
|
|
62229
62229
|
//#region date-fns integration
|
|
62230
62230
|
[Symbol.for("constructDateFrom")](t) {
|
|
62231
|
-
return new
|
|
62231
|
+
return new Is(+new Date(t), this.timeZone);
|
|
62232
62232
|
}
|
|
62233
62233
|
//#endregion
|
|
62234
62234
|
}
|
|
@@ -62236,11 +62236,11 @@ const g4 = /^(get|set)(?!UTC)/;
|
|
|
62236
62236
|
Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
|
|
62237
62237
|
if (!g4.test(e)) return;
|
|
62238
62238
|
const t = e.replace(g4, "$1UTC");
|
|
62239
|
-
|
|
62239
|
+
Is.prototype[t] && (e.startsWith("get") ? Is.prototype[e] = function() {
|
|
62240
62240
|
return this.internal[t]();
|
|
62241
|
-
} : (
|
|
62241
|
+
} : (Is.prototype[e] = function() {
|
|
62242
62242
|
return Date.prototype[t].apply(this.internal, arguments), _Me(this), +this;
|
|
62243
|
-
},
|
|
62243
|
+
}, Is.prototype[t] = function() {
|
|
62244
62244
|
return Date.prototype[t].apply(this, arguments), KN(this), +this;
|
|
62245
62245
|
}));
|
|
62246
62246
|
});
|
|
@@ -62268,7 +62268,7 @@ function PU(e) {
|
|
|
62268
62268
|
w && (e.internal.setUTCMinutes(e.internal.getUTCMinutes() + w), Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + w));
|
|
62269
62269
|
}
|
|
62270
62270
|
}
|
|
62271
|
-
class Gr extends
|
|
62271
|
+
class Gr extends Is {
|
|
62272
62272
|
//#region static
|
|
62273
62273
|
static tz(t, ...n) {
|
|
62274
62274
|
return n.length ? new Gr(...n, t) : new Gr(Date.now(), t);
|
|
@@ -64468,10 +64468,10 @@ function pTe(e, t) {
|
|
|
64468
64468
|
}
|
|
64469
64469
|
};
|
|
64470
64470
|
}
|
|
64471
|
-
var
|
|
64471
|
+
var Cs;
|
|
64472
64472
|
(function(e) {
|
|
64473
64473
|
e[e.Today = 0] = "Today", e[e.Selected = 1] = "Selected", e[e.LastFocused = 2] = "LastFocused", e[e.FocusedModifier = 3] = "FocusedModifier";
|
|
64474
|
-
})(
|
|
64474
|
+
})(Cs || (Cs = {}));
|
|
64475
64475
|
function N4(e) {
|
|
64476
64476
|
return !e[Hn.disabled] && !e[Hn.hidden] && !e[Hn.outside];
|
|
64477
64477
|
}
|
|
@@ -64479,7 +64479,7 @@ function mTe(e, t, n, r) {
|
|
|
64479
64479
|
let o, i = -1;
|
|
64480
64480
|
for (const s of e) {
|
|
64481
64481
|
const a = t(s);
|
|
64482
|
-
N4(a) && (a[Hn.focused] && i <
|
|
64482
|
+
N4(a) && (a[Hn.focused] && i < Cs.FocusedModifier ? (o = s, i = Cs.FocusedModifier) : r != null && r.isEqualTo(s) && i < Cs.LastFocused ? (o = s, i = Cs.LastFocused) : n(s.date) && i < Cs.Selected ? (o = s, i = Cs.Selected) : a[Hn.today] && i < Cs.Today && (o = s, i = Cs.Today));
|
|
64483
64483
|
}
|
|
64484
64484
|
return o || (o = e.find((s) => N4(t(s)))), o;
|
|
64485
64485
|
}
|
|
@@ -64950,7 +64950,7 @@ function dx({
|
|
|
64950
64950
|
}
|
|
64951
64951
|
),
|
|
64952
64952
|
Chevron: ({ className: c, orientation: u, ...d }) => u === "left" ? /* @__PURE__ */ p(EL, { className: K("size-4", c), ...d }) : u === "right" ? /* @__PURE__ */ p(
|
|
64953
|
-
|
|
64953
|
+
ns,
|
|
64954
64954
|
{
|
|
64955
64955
|
className: K("size-4", c),
|
|
64956
64956
|
...d
|
|
@@ -65031,7 +65031,7 @@ function MTe(e) {
|
|
|
65031
65031
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
65032
65032
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
65033
65033
|
}
|
|
65034
|
-
var lP = "Dialog", [oW, iW] = Nr(lP), [PTe,
|
|
65034
|
+
var lP = "Dialog", [oW, iW] = Nr(lP), [PTe, ms] = oW(lP), sW = (e) => {
|
|
65035
65035
|
const {
|
|
65036
65036
|
__scopeDialog: t,
|
|
65037
65037
|
children: n,
|
|
@@ -65064,7 +65064,7 @@ var lP = "Dialog", [oW, iW] = Nr(lP), [PTe, ps] = oW(lP), sW = (e) => {
|
|
|
65064
65064
|
sW.displayName = lP;
|
|
65065
65065
|
var aW = "DialogTrigger", lW = N.forwardRef(
|
|
65066
65066
|
(e, t) => {
|
|
65067
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
65067
|
+
const { __scopeDialog: n, ...r } = e, o = ms(aW, n), i = dt(t, o.triggerRef);
|
|
65068
65068
|
return /* @__PURE__ */ p(
|
|
65069
65069
|
ze.button,
|
|
65070
65070
|
{
|
|
@@ -65084,20 +65084,20 @@ lW.displayName = aW;
|
|
|
65084
65084
|
var cP = "DialogPortal", [DTe, cW] = oW(cP, {
|
|
65085
65085
|
forceMount: void 0
|
|
65086
65086
|
}), uW = (e) => {
|
|
65087
|
-
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, i =
|
|
65087
|
+
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, i = ms(cP, t);
|
|
65088
65088
|
return /* @__PURE__ */ p(DTe, { scope: t, forceMount: n, children: N.Children.map(r, (s) => /* @__PURE__ */ p(rr, { present: n || i.open, children: /* @__PURE__ */ p(ld, { asChild: !0, container: o, children: s }) })) });
|
|
65089
65089
|
};
|
|
65090
65090
|
uW.displayName = cP;
|
|
65091
65091
|
var fx = "DialogOverlay", dW = N.forwardRef(
|
|
65092
65092
|
(e, t) => {
|
|
65093
|
-
const n = cW(fx, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i =
|
|
65093
|
+
const n = cW(fx, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i = ms(fx, e.__scopeDialog);
|
|
65094
65094
|
return i.modal ? /* @__PURE__ */ p(rr, { present: r || i.open, children: /* @__PURE__ */ p(TTe, { ...o, ref: t }) }) : null;
|
|
65095
65095
|
}
|
|
65096
65096
|
);
|
|
65097
65097
|
dW.displayName = fx;
|
|
65098
65098
|
var TTe = N.forwardRef(
|
|
65099
65099
|
(e, t) => {
|
|
65100
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
65100
|
+
const { __scopeDialog: n, ...r } = e, o = ms(fx, n);
|
|
65101
65101
|
return (
|
|
65102
65102
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
65103
65103
|
// ie. when `Overlay` and `Content` are siblings
|
|
@@ -65114,14 +65114,14 @@ var TTe = N.forwardRef(
|
|
|
65114
65114
|
}
|
|
65115
65115
|
), qu = "DialogContent", fW = N.forwardRef(
|
|
65116
65116
|
(e, t) => {
|
|
65117
|
-
const n = cW(qu, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i =
|
|
65117
|
+
const n = cW(qu, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i = ms(qu, e.__scopeDialog);
|
|
65118
65118
|
return /* @__PURE__ */ p(rr, { present: r || i.open, children: i.modal ? /* @__PURE__ */ p(ATe, { ...o, ref: t }) : /* @__PURE__ */ p(ITe, { ...o, ref: t }) });
|
|
65119
65119
|
}
|
|
65120
65120
|
);
|
|
65121
65121
|
fW.displayName = qu;
|
|
65122
65122
|
var ATe = N.forwardRef(
|
|
65123
65123
|
(e, t) => {
|
|
65124
|
-
const n =
|
|
65124
|
+
const n = ms(qu, e.__scopeDialog), r = N.useRef(null), o = dt(t, n.contentRef, r);
|
|
65125
65125
|
return N.useEffect(() => {
|
|
65126
65126
|
const i = r.current;
|
|
65127
65127
|
if (i) return fh(i);
|
|
@@ -65149,7 +65149,7 @@ var ATe = N.forwardRef(
|
|
|
65149
65149
|
}
|
|
65150
65150
|
), ITe = N.forwardRef(
|
|
65151
65151
|
(e, t) => {
|
|
65152
|
-
const n =
|
|
65152
|
+
const n = ms(qu, e.__scopeDialog), r = N.useRef(!1), o = N.useRef(!1);
|
|
65153
65153
|
return /* @__PURE__ */ p(
|
|
65154
65154
|
hW,
|
|
65155
65155
|
{
|
|
@@ -65172,7 +65172,7 @@ var ATe = N.forwardRef(
|
|
|
65172
65172
|
}
|
|
65173
65173
|
), hW = N.forwardRef(
|
|
65174
65174
|
(e, t) => {
|
|
65175
|
-
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, ...s } = e, a =
|
|
65175
|
+
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, ...s } = e, a = ms(qu, n), l = N.useRef(null), c = dt(t, l);
|
|
65176
65176
|
return kw(), /* @__PURE__ */ k(Ve, { children: [
|
|
65177
65177
|
/* @__PURE__ */ p(
|
|
65178
65178
|
Yg,
|
|
@@ -65205,21 +65205,21 @@ var ATe = N.forwardRef(
|
|
|
65205
65205
|
}
|
|
65206
65206
|
), uP = "DialogTitle", pW = N.forwardRef(
|
|
65207
65207
|
(e, t) => {
|
|
65208
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
65208
|
+
const { __scopeDialog: n, ...r } = e, o = ms(uP, n);
|
|
65209
65209
|
return /* @__PURE__ */ p(ze.h2, { id: o.titleId, ...r, ref: t });
|
|
65210
65210
|
}
|
|
65211
65211
|
);
|
|
65212
65212
|
pW.displayName = uP;
|
|
65213
65213
|
var mW = "DialogDescription", gW = N.forwardRef(
|
|
65214
65214
|
(e, t) => {
|
|
65215
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
65215
|
+
const { __scopeDialog: n, ...r } = e, o = ms(mW, n);
|
|
65216
65216
|
return /* @__PURE__ */ p(ze.p, { id: o.descriptionId, ...r, ref: t });
|
|
65217
65217
|
}
|
|
65218
65218
|
);
|
|
65219
65219
|
gW.displayName = mW;
|
|
65220
65220
|
var bW = "DialogClose", yW = N.forwardRef(
|
|
65221
65221
|
(e, t) => {
|
|
65222
|
-
const { __scopeDialog: n, ...r } = e, o =
|
|
65222
|
+
const { __scopeDialog: n, ...r } = e, o = ms(bW, n);
|
|
65223
65223
|
return /* @__PURE__ */ p(
|
|
65224
65224
|
ze.button,
|
|
65225
65225
|
{
|
|
@@ -65255,7 +65255,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
65255
65255
|
const o = (i = e.current) == null ? void 0 : i.getAttribute("aria-describedby");
|
|
65256
65256
|
t && o && (document.getElementById(t) || console.warn(r));
|
|
65257
65257
|
}, [r, e, t]), null;
|
|
65258
|
-
}, zTe = sW, BTe = lW, VTe = uW, jTe = dW, HTe = fW, UTe = pW, WTe = gW, wW = yW, SW = "AlertDialog", [qTe,
|
|
65258
|
+
}, zTe = sW, BTe = lW, VTe = uW, jTe = dW, HTe = fW, UTe = pW, WTe = gW, wW = yW, SW = "AlertDialog", [qTe, AQe] = Nr(SW, [
|
|
65259
65259
|
iW
|
|
65260
65260
|
]), il = iW(), CW = (e) => {
|
|
65261
65261
|
const { __scopeAlertDialog: t, ...n } = e, r = il(t);
|
|
@@ -65367,7 +65367,7 @@ const BW = tAe, rAe = nAe, VW = N.forwardRef(({ className: e, ...t }, n) => /* @
|
|
|
65367
65367
|
}
|
|
65368
65368
|
));
|
|
65369
65369
|
VW.displayName = IW.displayName;
|
|
65370
|
-
const fP = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(rAe, { children: /* @__PURE__ */ k(
|
|
65370
|
+
const fP = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(rAe, { children: /* @__PURE__ */ k(ds, { children: [
|
|
65371
65371
|
/* @__PURE__ */ p(VW, {}),
|
|
65372
65372
|
/* @__PURE__ */ p(
|
|
65373
65373
|
OW,
|
|
@@ -65526,8 +65526,8 @@ function uAe({
|
|
|
65526
65526
|
}, l = () => {
|
|
65527
65527
|
i && (t(i), s(null));
|
|
65528
65528
|
};
|
|
65529
|
-
return r ? /* @__PURE__ */ p("div", { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ p(
|
|
65530
|
-
/* @__PURE__ */ p(
|
|
65529
|
+
return r ? /* @__PURE__ */ p("div", { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ p(rs, { className: "h-6 w-6 animate-spin text-muted-foreground" }) }) : e.length === 0 ? /* @__PURE__ */ k("div", { className: "py-8 text-center text-muted-foreground", children: [
|
|
65530
|
+
/* @__PURE__ */ p(ts, { className: "mx-auto mb-3 h-12 w-12 opacity-50" }),
|
|
65531
65531
|
/* @__PURE__ */ p("p", { className: "text-sm", children: "No active schedules" }),
|
|
65532
65532
|
/* @__PURE__ */ p("p", { className: "mt-1 text-xs", children: "Create a schedule to start receiving reports" })
|
|
65533
65533
|
] }) : /* @__PURE__ */ k(Ve, { children: [
|
|
@@ -65776,7 +65776,7 @@ function dAe({
|
|
|
65776
65776
|
] })
|
|
65777
65777
|
] }),
|
|
65778
65778
|
(e.startDate || e.endDate) && /* @__PURE__ */ k("div", { className: "flex items-center gap-1.5 text-muted-foreground", children: [
|
|
65779
|
-
/* @__PURE__ */ p(
|
|
65779
|
+
/* @__PURE__ */ p(ts, { className: "h-3 w-3" }),
|
|
65780
65780
|
/* @__PURE__ */ p("span", { children: lAe(
|
|
65781
65781
|
e.startDate ? String(e.startDate) : void 0,
|
|
65782
65782
|
e.endDate ? String(e.endDate) : void 0
|
|
@@ -65800,10 +65800,10 @@ function dAe({
|
|
|
65800
65800
|
/* @__PURE__ */ p(Kl, { className: "h-3 w-3" }),
|
|
65801
65801
|
/* @__PURE__ */ p("span", { children: i ? "Schedule expired" : /* @__PURE__ */ k(Ve, { children: [
|
|
65802
65802
|
"Next: ",
|
|
65803
|
-
|
|
65803
|
+
As(s, "MMM d, yyyy"),
|
|
65804
65804
|
" at",
|
|
65805
65805
|
" ",
|
|
65806
|
-
|
|
65806
|
+
As(s, "h:mm a"),
|
|
65807
65807
|
a && " (processing)"
|
|
65808
65808
|
] }) })
|
|
65809
65809
|
]
|
|
@@ -65811,7 +65811,7 @@ function dAe({
|
|
|
65811
65811
|
)
|
|
65812
65812
|
] })
|
|
65813
65813
|
] }),
|
|
65814
|
-
/* @__PURE__ */ p("div", { className: "flex items-center", children: n ? /* @__PURE__ */ p(
|
|
65814
|
+
/* @__PURE__ */ p("div", { className: "flex items-center", children: n ? /* @__PURE__ */ p(rs, { className: "h-4 w-4 animate-spin text-muted-foreground" }) : /* @__PURE__ */ p(
|
|
65815
65815
|
ue,
|
|
65816
65816
|
{
|
|
65817
65817
|
variant: "ghost",
|
|
@@ -66085,8 +66085,8 @@ function hAe({
|
|
|
66085
66085
|
time: M,
|
|
66086
66086
|
timezone: P,
|
|
66087
66087
|
weekdays: _ === "weekly" ? F : void 0,
|
|
66088
|
-
startDate:
|
|
66089
|
-
endDate: H ?
|
|
66088
|
+
startDate: As($, "yyyy-MM-dd"),
|
|
66089
|
+
endDate: H ? As(H, "yyyy-MM-dd") : void 0,
|
|
66090
66090
|
reportParams: {
|
|
66091
66091
|
attachments: h.map((se) => ({
|
|
66092
66092
|
type: se.type,
|
|
@@ -66110,7 +66110,7 @@ function hAe({
|
|
|
66110
66110
|
se || v(!1), t(se);
|
|
66111
66111
|
};
|
|
66112
66112
|
return /* @__PURE__ */ k(Ve, { children: [
|
|
66113
|
-
/* @__PURE__ */ p(
|
|
66113
|
+
/* @__PURE__ */ p(fs, { open: e, onOpenChange: ae, children: /* @__PURE__ */ k(Pi, { className: "max-h-[90vh] max-w-2xl", children: [
|
|
66114
66114
|
/* @__PURE__ */ k(Di, { children: [
|
|
66115
66115
|
/* @__PURE__ */ p(Ti, { children: "Schedule Export" }),
|
|
66116
66116
|
/* @__PURE__ */ p(Qs, { className: "sr-only", children: "Create and manage scheduled exports for your dashboard" })
|
|
@@ -66122,9 +66122,9 @@ function hAe({
|
|
|
66122
66122
|
onValueChange: (se) => s(se),
|
|
66123
66123
|
className: "w-full",
|
|
66124
66124
|
children: [
|
|
66125
|
-
/* @__PURE__ */ k(
|
|
66125
|
+
/* @__PURE__ */ k(ps, { className: "grid w-full grid-cols-2", children: [
|
|
66126
66126
|
/* @__PURE__ */ k(er, { value: "create", className: "flex items-center gap-2", children: [
|
|
66127
|
-
/* @__PURE__ */ p(
|
|
66127
|
+
/* @__PURE__ */ p(os, { className: "h-4 w-4" }),
|
|
66128
66128
|
"Create Schedule"
|
|
66129
66129
|
] }),
|
|
66130
66130
|
/* @__PURE__ */ k(er, { value: "active", className: "flex items-center gap-2", children: [
|
|
@@ -66207,8 +66207,8 @@ function hAe({
|
|
|
66207
66207
|
children: "First occurrence"
|
|
66208
66208
|
}
|
|
66209
66209
|
),
|
|
66210
|
-
/* @__PURE__ */ k(
|
|
66211
|
-
/* @__PURE__ */ p(
|
|
66210
|
+
/* @__PURE__ */ k(Yi, { modal: !0, children: [
|
|
66211
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: /* @__PURE__ */ k(
|
|
66212
66212
|
ue,
|
|
66213
66213
|
{
|
|
66214
66214
|
variant: "outline",
|
|
@@ -66217,13 +66217,13 @@ function hAe({
|
|
|
66217
66217
|
!$ && "text-muted-foreground"
|
|
66218
66218
|
),
|
|
66219
66219
|
children: [
|
|
66220
|
-
/* @__PURE__ */ p(
|
|
66221
|
-
$ ?
|
|
66220
|
+
/* @__PURE__ */ p(ts, { className: "mr-2 h-4 w-4 shrink-0" }),
|
|
66221
|
+
$ ? As($, "PPP") : "Pick a date"
|
|
66222
66222
|
]
|
|
66223
66223
|
}
|
|
66224
66224
|
) }),
|
|
66225
66225
|
/* @__PURE__ */ p(
|
|
66226
|
-
|
|
66226
|
+
Ki,
|
|
66227
66227
|
{
|
|
66228
66228
|
className: "z-[51] w-auto p-0",
|
|
66229
66229
|
align: "start",
|
|
@@ -66306,8 +66306,8 @@ function hAe({
|
|
|
66306
66306
|
}
|
|
66307
66307
|
)
|
|
66308
66308
|
] }),
|
|
66309
|
-
/* @__PURE__ */ k(
|
|
66310
|
-
/* @__PURE__ */ p(
|
|
66309
|
+
/* @__PURE__ */ k(Yi, { modal: !0, children: [
|
|
66310
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: /* @__PURE__ */ k(
|
|
66311
66311
|
ue,
|
|
66312
66312
|
{
|
|
66313
66313
|
variant: "outline",
|
|
@@ -66316,12 +66316,12 @@ function hAe({
|
|
|
66316
66316
|
!H && "text-muted-foreground"
|
|
66317
66317
|
),
|
|
66318
66318
|
children: [
|
|
66319
|
-
/* @__PURE__ */ p(
|
|
66320
|
-
H ?
|
|
66319
|
+
/* @__PURE__ */ p(ts, { className: "mr-2 h-4 w-4" }),
|
|
66320
|
+
H ? As(H, "PPP") : "No end date"
|
|
66321
66321
|
]
|
|
66322
66322
|
}
|
|
66323
66323
|
) }),
|
|
66324
|
-
/* @__PURE__ */ p(
|
|
66324
|
+
/* @__PURE__ */ p(Ki, { className: "z-[51] w-auto p-0", align: "start", children: /* @__PURE__ */ p(
|
|
66325
66325
|
dx,
|
|
66326
66326
|
{
|
|
66327
66327
|
mode: "single",
|
|
@@ -66360,7 +66360,7 @@ function hAe({
|
|
|
66360
66360
|
]
|
|
66361
66361
|
}
|
|
66362
66362
|
),
|
|
66363
|
-
i === "create" && /* @__PURE__ */ k(
|
|
66363
|
+
i === "create" && /* @__PURE__ */ k(hs, { children: [
|
|
66364
66364
|
/* @__PURE__ */ p(
|
|
66365
66365
|
ue,
|
|
66366
66366
|
{
|
|
@@ -66669,7 +66669,7 @@ function jW({
|
|
|
66669
66669
|
}
|
|
66670
66670
|
),
|
|
66671
66671
|
/* @__PURE__ */ p(
|
|
66672
|
-
|
|
66672
|
+
fs,
|
|
66673
66673
|
{
|
|
66674
66674
|
open: c,
|
|
66675
66675
|
onOpenChange: u,
|
|
@@ -66708,7 +66708,7 @@ function jW({
|
|
|
66708
66708
|
)
|
|
66709
66709
|
] })
|
|
66710
66710
|
] }) }),
|
|
66711
|
-
/* @__PURE__ */ k(
|
|
66711
|
+
/* @__PURE__ */ k(hs, { children: [
|
|
66712
66712
|
/* @__PURE__ */ p(
|
|
66713
66713
|
ue,
|
|
66714
66714
|
{
|
|
@@ -66929,7 +66929,7 @@ function WW({
|
|
|
66929
66929
|
className: t,
|
|
66930
66930
|
...n
|
|
66931
66931
|
}) {
|
|
66932
|
-
return /* @__PURE__ */ p(Dj, { children: /* @__PURE__ */ p(
|
|
66932
|
+
return /* @__PURE__ */ p(Dj, { children: /* @__PURE__ */ p(ds, { children: /* @__PURE__ */ p(Ja, { ...n, className: t, children: e }) }) });
|
|
66933
66933
|
}
|
|
66934
66934
|
const gAe = {
|
|
66935
66935
|
"currentPeriod.start": {
|
|
@@ -66941,11 +66941,11 @@ const gAe = {
|
|
|
66941
66941
|
label: "Current End"
|
|
66942
66942
|
},
|
|
66943
66943
|
"comparisonPeriod.start": {
|
|
66944
|
-
icon: /* @__PURE__ */ p(
|
|
66944
|
+
icon: /* @__PURE__ */ p(ts, { className: "h-3 w-3 text-gray-500" }),
|
|
66945
66945
|
label: "Previous Start"
|
|
66946
66946
|
},
|
|
66947
66947
|
"comparisonPeriod.end": {
|
|
66948
|
-
icon: /* @__PURE__ */ p(
|
|
66948
|
+
icon: /* @__PURE__ */ p(ts, { className: "h-3 w-3 text-gray-500" }),
|
|
66949
66949
|
label: "Previous End"
|
|
66950
66950
|
},
|
|
66951
66951
|
trendlineGranularity: {
|
|
@@ -66962,11 +66962,11 @@ const gAe = {
|
|
|
66962
66962
|
className: `h-3 w-3 ${n ? "text-green-500" : "text-red-500"}`
|
|
66963
66963
|
}
|
|
66964
66964
|
) : e < t ? /* @__PURE__ */ p(
|
|
66965
|
-
|
|
66965
|
+
Ms,
|
|
66966
66966
|
{
|
|
66967
66967
|
className: `h-3 w-3 ${n ? "text-green-500" : "text-red-500"}`
|
|
66968
66968
|
}
|
|
66969
|
-
) : /* @__PURE__ */ p(bi, { className: "h-3 w-3 text-gray-500" }), yAe = (e, t) => e > t ? /* @__PURE__ */ p(
|
|
66969
|
+
) : /* @__PURE__ */ p(bi, { className: "h-3 w-3 text-gray-500" }), yAe = (e, t) => e > t ? /* @__PURE__ */ p(Ms, { className: "h-3 w-3 text-gray-500" }) : e < t ? /* @__PURE__ */ p(bi, { className: "h-3 w-3 text-gray-500" }) : /* @__PURE__ */ p(bi, { className: "h-3 w-3 text-gray-500" }), vAe = (e, t, n) => e > t ? /* @__PURE__ */ p(
|
|
66970
66970
|
iv,
|
|
66971
66971
|
{
|
|
66972
66972
|
className: `h-3 w-3 ${n ? "text-green-500" : "text-red-500"}`
|
|
@@ -67059,7 +67059,7 @@ function CAe({
|
|
|
67059
67059
|
const n = xAe(e, t);
|
|
67060
67060
|
return n.length === 0 ? null : /* @__PURE__ */ k("div", { className: "border-t pt-2", children: [
|
|
67061
67061
|
/* @__PURE__ */ k("div", { className: "mb-2 flex items-center gap-1 font-semibold", children: [
|
|
67062
|
-
/* @__PURE__ */ p(
|
|
67062
|
+
/* @__PURE__ */ p(ts, { className: "h-3 w-3" }),
|
|
67063
67063
|
"Period Details"
|
|
67064
67064
|
] }),
|
|
67065
67065
|
/* @__PURE__ */ p("div", { className: "space-y-1", children: n.map((r, o) => /* @__PURE__ */ p(wAe, { metaKey: r.key, value: r.value }, o)) })
|
|
@@ -67636,7 +67636,7 @@ const TAe = [
|
|
|
67636
67636
|
...e,
|
|
67637
67637
|
[t]: n
|
|
67638
67638
|
};
|
|
67639
|
-
}, {}), ZW = "Progress", g1 = 100, [AAe,
|
|
67639
|
+
}, {}), ZW = "Progress", g1 = 100, [AAe, IQe] = NAe(ZW), [IAe, OAe] = AAe(ZW), KW = /* @__PURE__ */ Er((e, t) => {
|
|
67640
67640
|
const { __scopeProgress: n, value: r, max: o, getValueLabel: i = LAe, ...s } = e, a = JN(o) ? o : g1, l = QW(r, a) ? r : null, c = px(l) ? i(l, a) : void 0;
|
|
67641
67641
|
return /* @__PURE__ */ Fn(IAe, {
|
|
67642
67642
|
scope: n,
|
|
@@ -67823,7 +67823,7 @@ function ek({
|
|
|
67823
67823
|
v > 0 ? a ? S = T(M == null ? void 0 : M.increase, "text-red-600") : S = T(M == null ? void 0 : M.increase, "text-green-600") : v < 0 ? a ? S = T(M == null ? void 0 : M.decrease, "text-green-600") : S = T(M == null ? void 0 : M.decrease, "text-red-600") : S = T(M == null ? void 0 : M.noChange, "text-gray-600");
|
|
67824
67824
|
}
|
|
67825
67825
|
let C = null;
|
|
67826
|
-
u && (l === "ratio" ? C = null : v > 0 ? C = bi : v < 0 ? C =
|
|
67826
|
+
u && (l === "ratio" ? C = null : v > 0 ? C = bi : v < 0 ? C = Ms : C = wte);
|
|
67827
67827
|
let _ = "";
|
|
67828
67828
|
return f ? v > 0 ? _ = (m == null ? void 0 : m.increase) || "Increase" : v < 0 ? _ = (m == null ? void 0 : m.decrease) || "Decrease" : _ = (m == null ? void 0 : m.noChange) || "No change" : h && (_ = h), /* @__PURE__ */ k("div", { className: "inline-flex flex-col items-center", children: [
|
|
67829
67829
|
/* @__PURE__ */ k("div", { className: "flex items-center gap-1", children: [
|
|
@@ -67872,7 +67872,7 @@ function jAe({
|
|
|
67872
67872
|
}) {
|
|
67873
67873
|
var M, T, P, O, F, I, $, j, H, L, A, B, z, D, V, W, Z, q, U, Y, Q, ie, ee, de, re, ae, se, Te, fe, Ce, Le, ht, Ze, Xe, _n, Yn, le, ve, Fe, Ye, nt, Dt, dn, en, an, Ee, Et, Zn;
|
|
67874
67874
|
const r = e.config, { setTitle: o, setCountryLogo: i, isEditable: s, isVisualEditing: a } = eq(e), { setValueAlignment: l } = si(), { getCurrency: c, getLocale: u } = m1(e), d = (r == null ? void 0 : r.metricColumns) || [], f = (P = (T = (M = e.preferences) == null ? void 0 : M.kpiVisualOptions) == null ? void 0 : T.metricComparison) == null ? void 0 : P.enabled, h = (ke, Ne = !1) => {
|
|
67875
|
-
var We, tt, at, Ht, _t, Kt, ir, bn, Vn,
|
|
67875
|
+
var We, tt, at, Ht, _t, Kt, ir, bn, Vn, ys, ro, Lo, vs, cl;
|
|
67876
67876
|
const pe = (tt = (We = e.preferences) == null ? void 0 : We.formatNumber) == null ? void 0 : tt.enabled, _e = (Ht = (at = e.preferences) == null ? void 0 : at.kpiVisualOptions) == null ? void 0 : Ht.formatOptions;
|
|
67877
67877
|
if (pe === !1 || pe === "false")
|
|
67878
67878
|
return ke.toString();
|
|
@@ -67883,12 +67883,12 @@ function jAe({
|
|
|
67883
67883
|
locale: _e.locale || u() || "en-US",
|
|
67884
67884
|
currency: _e.currency || c() || "USD"
|
|
67885
67885
|
});
|
|
67886
|
-
const Oe = c() || ((Kt = (_t = e.preferences) == null ? void 0 : _t.formatNumber) == null ? void 0 : Kt.currency) || "", He = u() || ((bn = (ir = e.preferences) == null ? void 0 : ir.formatNumber) == null ? void 0 : bn.locale) || "en-US", je = (
|
|
67886
|
+
const Oe = c() || ((Kt = (_t = e.preferences) == null ? void 0 : _t.formatNumber) == null ? void 0 : Kt.currency) || "", He = u() || ((bn = (ir = e.preferences) == null ? void 0 : ir.formatNumber) == null ? void 0 : bn.locale) || "en-US", je = (ys = (Vn = e.preferences) == null ? void 0 : Vn.formatNumber) == null ? void 0 : ys.decimalPlaces;
|
|
67887
67887
|
return Ao({
|
|
67888
67888
|
number: ke,
|
|
67889
67889
|
decimalPlaces: je ?? (Oe ? 2 : 0),
|
|
67890
67890
|
useSuffix: Ne || !!((Lo = (ro = e.preferences) == null ? void 0 : ro.formatNumber) != null && Lo.suffix),
|
|
67891
|
-
customSuffix: ((cl = (
|
|
67891
|
+
customSuffix: ((cl = (vs = e.preferences) == null ? void 0 : vs.formatNumber) == null ? void 0 : cl.suffix) || "",
|
|
67892
67892
|
locale: He,
|
|
67893
67893
|
currency: Oe
|
|
67894
67894
|
});
|
|
@@ -68410,7 +68410,7 @@ function qAe() {
|
|
|
68410
68410
|
}
|
|
68411
68411
|
) });
|
|
68412
68412
|
}
|
|
68413
|
-
var ZC, xP = "HoverCard", [nq,
|
|
68413
|
+
var ZC, xP = "HoverCard", [nq, OQe] = Nr(xP, [
|
|
68414
68414
|
sa
|
|
68415
68415
|
]), b1 = sa(), [GAe, y1] = nq(xP), rq = (e) => {
|
|
68416
68416
|
const {
|
|
@@ -68688,7 +68688,7 @@ function rIe({
|
|
|
68688
68688
|
className: t,
|
|
68689
68689
|
...n
|
|
68690
68690
|
}) {
|
|
68691
|
-
return /* @__PURE__ */ p(sq, { children: /* @__PURE__ */ p(
|
|
68691
|
+
return /* @__PURE__ */ p(sq, { children: /* @__PURE__ */ p(ds, { children: /* @__PURE__ */ p(v1, { ...n, className: t, children: e }) }) });
|
|
68692
68692
|
}
|
|
68693
68693
|
function oIe({
|
|
68694
68694
|
cardId: e
|
|
@@ -69301,8 +69301,8 @@ function aIe({
|
|
|
69301
69301
|
}, L = (A) => {
|
|
69302
69302
|
u(A), A && _(e);
|
|
69303
69303
|
};
|
|
69304
|
-
return /* @__PURE__ */ p("div", { className: K("w-full", r), children: /* @__PURE__ */ k(
|
|
69305
|
-
/* @__PURE__ */ p(
|
|
69304
|
+
return /* @__PURE__ */ p("div", { className: K("w-full", r), children: /* @__PURE__ */ k(Yi, { open: c, onOpenChange: L, children: [
|
|
69305
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: /* @__PURE__ */ k(
|
|
69306
69306
|
ue,
|
|
69307
69307
|
{
|
|
69308
69308
|
variant: "outline",
|
|
@@ -69322,7 +69322,7 @@ function aIe({
|
|
|
69322
69322
|
}
|
|
69323
69323
|
) }),
|
|
69324
69324
|
/* @__PURE__ */ k(
|
|
69325
|
-
|
|
69325
|
+
Ki,
|
|
69326
69326
|
{
|
|
69327
69327
|
className: K("z-[51] w-[320px] p-0", l),
|
|
69328
69328
|
align: "start",
|
|
@@ -69344,7 +69344,7 @@ function aIe({
|
|
|
69344
69344
|
},
|
|
69345
69345
|
className: "w-full",
|
|
69346
69346
|
children: [
|
|
69347
|
-
i && /* @__PURE__ */ p("div", { className: "border-b", children: /* @__PURE__ */ k(
|
|
69347
|
+
i && /* @__PURE__ */ p("div", { className: "border-b", children: /* @__PURE__ */ k(ps, { className: "grid h-9 w-full grid-cols-2 rounded-none bg-transparent", children: [
|
|
69348
69348
|
/* @__PURE__ */ p(
|
|
69349
69349
|
er,
|
|
69350
69350
|
{
|
|
@@ -69376,24 +69376,24 @@ function aIe({
|
|
|
69376
69376
|
/* @__PURE__ */ p(he, { className: "text-xs text-muted-foreground", children: "Custom range" }),
|
|
69377
69377
|
/* @__PURE__ */ k("div", { className: "flex gap-2", children: [
|
|
69378
69378
|
/* @__PURE__ */ p("div", { className: "relative flex-1", children: /* @__PURE__ */ k(
|
|
69379
|
-
|
|
69379
|
+
Yi,
|
|
69380
69380
|
{
|
|
69381
69381
|
open: h,
|
|
69382
69382
|
onOpenChange: m,
|
|
69383
69383
|
children: [
|
|
69384
|
-
/* @__PURE__ */ p(
|
|
69384
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: /* @__PURE__ */ k(
|
|
69385
69385
|
ue,
|
|
69386
69386
|
{
|
|
69387
69387
|
variant: "outline",
|
|
69388
69388
|
className: "h-9 w-full justify-start text-left font-normal",
|
|
69389
69389
|
children: [
|
|
69390
|
-
/* @__PURE__ */ p(
|
|
69391
|
-
C != null && C.from ?
|
|
69390
|
+
/* @__PURE__ */ p(ts, { className: "mr-2 h-4 w-4" }),
|
|
69391
|
+
C != null && C.from ? As(C.from, "MM/dd/yyyy") : "From date"
|
|
69392
69392
|
]
|
|
69393
69393
|
}
|
|
69394
69394
|
) }),
|
|
69395
69395
|
/* @__PURE__ */ p(
|
|
69396
|
-
|
|
69396
|
+
Ki,
|
|
69397
69397
|
{
|
|
69398
69398
|
className: "z-[52] w-auto p-0",
|
|
69399
69399
|
align: "start",
|
|
@@ -69413,24 +69413,24 @@ function aIe({
|
|
|
69413
69413
|
) }),
|
|
69414
69414
|
/* @__PURE__ */ p("span", { className: "flex items-center text-muted-foreground", children: "-" }),
|
|
69415
69415
|
/* @__PURE__ */ p("div", { className: "relative flex-1", children: /* @__PURE__ */ k(
|
|
69416
|
-
|
|
69416
|
+
Yi,
|
|
69417
69417
|
{
|
|
69418
69418
|
open: g,
|
|
69419
69419
|
onOpenChange: y,
|
|
69420
69420
|
children: [
|
|
69421
|
-
/* @__PURE__ */ p(
|
|
69421
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: /* @__PURE__ */ k(
|
|
69422
69422
|
ue,
|
|
69423
69423
|
{
|
|
69424
69424
|
variant: "outline",
|
|
69425
69425
|
className: "h-9 w-full justify-start text-left font-normal",
|
|
69426
69426
|
children: [
|
|
69427
|
-
/* @__PURE__ */ p(
|
|
69428
|
-
C != null && C.to ?
|
|
69427
|
+
/* @__PURE__ */ p(ts, { className: "mr-2 h-4 w-4" }),
|
|
69428
|
+
C != null && C.to ? As(C.to, "MM/dd/yyyy") : "To date"
|
|
69429
69429
|
]
|
|
69430
69430
|
}
|
|
69431
69431
|
) }),
|
|
69432
69432
|
/* @__PURE__ */ p(
|
|
69433
|
-
|
|
69433
|
+
Ki,
|
|
69434
69434
|
{
|
|
69435
69435
|
className: "z-[52] w-auto p-0",
|
|
69436
69436
|
align: "start",
|
|
@@ -69620,7 +69620,7 @@ function lIe(e, t) {
|
|
|
69620
69620
|
setInitialDateRange: i
|
|
69621
69621
|
};
|
|
69622
69622
|
}
|
|
69623
|
-
function
|
|
69623
|
+
function FQe(e) {
|
|
69624
69624
|
const t = te(
|
|
69625
69625
|
(o) => {
|
|
69626
69626
|
var i, s;
|
|
@@ -69738,11 +69738,11 @@ function uIe(e) {
|
|
|
69738
69738
|
} else
|
|
69739
69739
|
return null;
|
|
69740
69740
|
}
|
|
69741
|
-
function
|
|
69741
|
+
function $Qe(e, t, n) {
|
|
69742
69742
|
const r = `SELECT ${n}, COUNT(*) FROM ${t} {{ filters | where }} GROUP BY ${n} ORDER BY ${n} ASC LIMIT 50`, o = `SELECT min(${n}) as min, max(${n}) as max FROM ${t} {{ filters | where }}`;
|
|
69743
69743
|
return uh(e) ? o : r;
|
|
69744
69744
|
}
|
|
69745
|
-
function
|
|
69745
|
+
function LQe(e) {
|
|
69746
69746
|
const t = te(
|
|
69747
69747
|
(i) => {
|
|
69748
69748
|
var s, a;
|
|
@@ -70340,7 +70340,7 @@ function Ba(e, t, ...n) {
|
|
|
70340
70340
|
throw Error.captureStackTrace && Error.captureStackTrace(r, Ba), r;
|
|
70341
70341
|
}
|
|
70342
70342
|
var lk = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(lk || {}), IIe = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(IIe || {});
|
|
70343
|
-
function
|
|
70343
|
+
function gs() {
|
|
70344
70344
|
let e = FIe();
|
|
70345
70345
|
return ye((t) => OIe({ mergeRefs: e, ...t }), [e]);
|
|
70346
70346
|
}
|
|
@@ -70429,7 +70429,7 @@ function _P(...e) {
|
|
|
70429
70429
|
} });
|
|
70430
70430
|
return t;
|
|
70431
70431
|
}
|
|
70432
|
-
function
|
|
70432
|
+
function bs(e) {
|
|
70433
70433
|
var t;
|
|
70434
70434
|
return Object.assign(Er(e), { displayName: (t = e.displayName) != null ? t : e.name });
|
|
70435
70435
|
}
|
|
@@ -70470,9 +70470,9 @@ var RP = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.
|
|
|
70470
70470
|
function jIe(e, t) {
|
|
70471
70471
|
var n;
|
|
70472
70472
|
let { features: r = 1, ...o } = e, i = { ref: t, "aria-hidden": (r & 2) === 2 ? !0 : (n = o["aria-hidden"]) != null ? n : void 0, hidden: (r & 4) === 4 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(r & 4) === 4 && (r & 2) !== 2 && { display: "none" } } };
|
|
70473
|
-
return
|
|
70473
|
+
return gs()({ ourProps: i, theirProps: o, slot: {}, defaultTag: VIe, name: "Hidden" });
|
|
70474
70474
|
}
|
|
70475
|
-
let _q =
|
|
70475
|
+
let _q = bs(jIe), HIe = wn(null);
|
|
70476
70476
|
function UIe({ children: e }) {
|
|
70477
70477
|
let t = jt(HIe);
|
|
70478
70478
|
if (!t) return G.createElement(G.Fragment, null, e);
|
|
@@ -70549,9 +70549,9 @@ function JIe(e, t) {
|
|
|
70549
70549
|
let n = Qu(), r = kP(), { id: o = `headlessui-description-${n}`, ...i } = e, s = Pq(), a = sl(t);
|
|
70550
70550
|
qn(() => s.register(o), [o, s.register]);
|
|
70551
70551
|
let l = r || !1, c = we(() => ({ ...s.slot, disabled: l }), [s.slot, l]), u = { ref: a, ...s.props, id: o };
|
|
70552
|
-
return
|
|
70552
|
+
return gs()({ ourProps: u, theirProps: i, slot: c, defaultTag: QIe, name: s.name || "Description" });
|
|
70553
70553
|
}
|
|
70554
|
-
let eOe =
|
|
70554
|
+
let eOe = bs(JIe);
|
|
70555
70555
|
Object.assign(eOe, {});
|
|
70556
70556
|
var uo = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(uo || {});
|
|
70557
70557
|
let x1 = wn(null);
|
|
@@ -70597,9 +70597,9 @@ function rOe(e, t) {
|
|
|
70597
70597
|
}
|
|
70598
70598
|
}
|
|
70599
70599
|
}), h = s || !1, m = we(() => ({ ...o.slot, disabled: h }), [o.slot, h]), g = { ref: d, ...o.props, id: a, htmlFor: l, onClick: f };
|
|
70600
|
-
return c && ("onClick" in g && (delete g.htmlFor, delete g.onClick), "onClick" in u && delete u.onClick),
|
|
70600
|
+
return c && ("onClick" in g && (delete g.htmlFor, delete g.onClick), "onClick" in u && delete u.onClick), gs()({ ourProps: g, theirProps: u, slot: m, defaultTag: l ? nOe : "div", name: o.name || "Label" });
|
|
70601
70601
|
}
|
|
70602
|
-
let oOe =
|
|
70602
|
+
let oOe = bs(rOe), iOe = Object.assign(oOe, {});
|
|
70603
70603
|
function Td(e, t, n) {
|
|
70604
70604
|
let r = n.initialDeps ?? [], o;
|
|
70605
70605
|
return () => {
|
|
@@ -72139,7 +72139,7 @@ function I5e(e) {
|
|
|
72139
72139
|
t || n !== null && i(n.current);
|
|
72140
72140
|
}, [n, i, t]), o;
|
|
72141
72141
|
}
|
|
72142
|
-
let jq = Vl, O5e =
|
|
72142
|
+
let jq = Vl, O5e = bs(function(e, t) {
|
|
72143
72143
|
let n = e, r = xe(null), o = sl(KIe((d) => {
|
|
72144
72144
|
r.current = d;
|
|
72145
72145
|
}), t), i = S1(r), s = I5e(r), [a] = ne(() => {
|
|
@@ -72154,19 +72154,19 @@ let jq = Vl, O5e = gs(function(e, t) {
|
|
|
72154
72154
|
var d;
|
|
72155
72155
|
!s || !a || (a instanceof Node && s.contains(a) && s.removeChild(a), s.childNodes.length <= 0 && ((d = s.parentElement) == null || d.removeChild(s)));
|
|
72156
72156
|
});
|
|
72157
|
-
let u =
|
|
72157
|
+
let u = gs();
|
|
72158
72158
|
return c ? !s || !a ? null : Ag(u({ ourProps: { ref: o }, theirProps: n, slot: {}, defaultTag: jq, name: "Portal" }), a) : null;
|
|
72159
72159
|
});
|
|
72160
72160
|
function F5e(e, t) {
|
|
72161
|
-
let n = sl(t), { enabled: r = !0, ...o } = e, i =
|
|
72161
|
+
let n = sl(t), { enabled: r = !0, ...o } = e, i = gs();
|
|
72162
72162
|
return r ? G.createElement(O5e, { ...o, ref: n }) : i({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: jq, name: "Portal" });
|
|
72163
72163
|
}
|
|
72164
72164
|
let $5e = Vl, Hq = wn(null);
|
|
72165
72165
|
function L5e(e, t) {
|
|
72166
|
-
let { target: n, ...r } = e, o = { ref: sl(t) }, i =
|
|
72166
|
+
let { target: n, ...r } = e, o = { ref: sl(t) }, i = gs();
|
|
72167
72167
|
return G.createElement(Hq.Provider, { value: n }, i({ ourProps: o, theirProps: r, defaultTag: $5e, name: "Popover.Group" }));
|
|
72168
72168
|
}
|
|
72169
|
-
let z5e = wn(null), B5e =
|
|
72169
|
+
let z5e = wn(null), B5e = bs(F5e), V5e = bs(L5e), j5e = Object.assign(B5e, { Group: V5e });
|
|
72170
72170
|
var H5e = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(H5e || {}), U5e = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(U5e || {}), W5e = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Focus = 1] = "Focus", e[e.Other = 2] = "Other", e))(W5e || {}), q5e = ((e) => (e[e.OpenCombobox = 0] = "OpenCombobox", e[e.CloseCombobox = 1] = "CloseCombobox", e[e.GoToOption = 2] = "GoToOption", e[e.SetTyping = 3] = "SetTyping", e[e.RegisterOption = 4] = "RegisterOption", e[e.UnregisterOption = 5] = "UnregisterOption", e[e.SetActivationTrigger = 6] = "SetActivationTrigger", e[e.UpdateVirtualConfiguration = 7] = "UpdateVirtualConfiguration", e[e.SetInputElement = 8] = "SetInputElement", e[e.SetButtonElement = 9] = "SetButtonElement", e[e.SetOptionsElement = 10] = "SetOptionsElement", e))(q5e || {});
|
|
72171
72171
|
function n2(e, t = (n) => n) {
|
|
72172
72172
|
let n = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, r = t(e.options.slice()), o = r.length > 0 && r[0].dataRef.current.order !== null ? r.sort((s, a) => s.dataRef.current.order - a.dataRef.current.order) : POe(r, (s) => s.dataRef.current.domRef.current), i = n ? o.indexOf(n) : null;
|
|
@@ -72335,7 +72335,7 @@ function X5e(e, t) {
|
|
|
72335
72335
|
C({ type: 10, element: re });
|
|
72336
72336
|
}), U = we(() => ({ onChange: D, registerOption: z, goToOption: B, setIsTyping: A, closeCombobox: L, openCombobox: H, setActivationTrigger: V, selectActiveOption: j, setInputElement: W, setButtonElement: Z, setOptionsElement: q }), []), [Y, Q] = tOe(), ie = t === null ? {} : { ref: t }, ee = ye(() => {
|
|
72337
72337
|
if (x !== void 0) return S == null ? void 0 : S(x);
|
|
72338
|
-
}, [S, x]), de =
|
|
72338
|
+
}, [S, x]), de = gs();
|
|
72339
72339
|
return G.createElement(Q, { value: Y, props: { htmlFor: (r = F.inputElement) == null ? void 0 : r.id }, slot: { open: F.comboboxState === 0, disabled: d } }, G.createElement(w5e, null, G.createElement(IP.Provider, { value: U }, G.createElement(ig.Provider, { value: F }, G.createElement(k5e, { value: Ba(F.comboboxState, { 0: og.Open, 1: og.Closed }) }, c != null && G.createElement(WIe, { disabled: d, data: w != null ? { [c]: w } : {}, form: l, onReset: ee }), de({ ourProps: ie, theirProps: v, slot: $, defaultTag: K5e, name: "Combobox" }))))));
|
|
72340
72340
|
}
|
|
72341
72341
|
let Q5e = "input";
|
|
@@ -72416,7 +72416,7 @@ function J5e(e, t) {
|
|
|
72416
72416
|
Zc(() => l.openCombobox()), l.setActivationTrigger(1);
|
|
72417
72417
|
});
|
|
72418
72418
|
}), I = w1(), $ = XIe(), { isFocused: j, focusProps: H } = wq({ autoFocus: g }), { isHovered: L, hoverProps: A } = xq({ isDisabled: m }), B = we(() => ({ open: a.comboboxState === 0, disabled: m, hover: L, focus: j, autofocus: g }), [a, L, j, g, m]), z = _P({ ref: x, id: d, role: "combobox", type: y, "aria-controls": (n = a.optionsElement) == null ? void 0 : n.id, "aria-expanded": a.comboboxState === 0, "aria-activedescendant": a.activeOptionIndex === null ? void 0 : a.virtual ? (r = a.options.find((D) => !D.dataRef.current.disabled && a.compare(D.dataRef.current.value, a.virtual.options[a.activeOptionIndex]))) == null ? void 0 : r.id : (o = a.options[a.activeOptionIndex]) == null ? void 0 : o.id, "aria-labelledby": I, "aria-describedby": $, "aria-autocomplete": "list", defaultValue: (s = (i = e.defaultValue) != null ? i : a.defaultValue !== void 0 ? h == null ? void 0 : h(a.defaultValue) : null) != null ? s : a.defaultValue, disabled: m || void 0, autoFocus: g, onCompositionStart: R, onCompositionEnd: M, onKeyDown: T, onChange: P, onFocus: F, onBlur: O }, H, A);
|
|
72419
|
-
return
|
|
72419
|
+
return gs()({ ourProps: z, theirProps: b, slot: B, defaultTag: Q5e, name: "Combobox.Input" });
|
|
72420
72420
|
}
|
|
72421
72421
|
let e4e = "button";
|
|
72422
72422
|
function t4e(e, t) {
|
|
@@ -72443,7 +72443,7 @@ function t4e(e, t) {
|
|
|
72443
72443
|
}), h = bt((C) => {
|
|
72444
72444
|
C.preventDefault(), !YIe(C.currentTarget) && (C.button === AP.Left && (r.comboboxState === 0 ? o.closeCombobox() : o.openCombobox()), d());
|
|
72445
72445
|
}), m = w1([a]), { isFocusVisible: g, focusProps: y } = wq({ autoFocus: c }), { isHovered: b, hoverProps: v } = xq({ isDisabled: l }), { pressed: x, pressProps: w } = TIe({ disabled: l }), S = we(() => ({ open: r.comboboxState === 0, active: x || r.comboboxState === 0, disabled: l, value: r.value, hover: b, focus: g }), [r, b, g, x, l]), E = _P({ ref: i, id: a, type: OOe(e, r.buttonElement), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls": (n = r.optionsElement) == null ? void 0 : n.id, "aria-expanded": r.comboboxState === 0, "aria-labelledby": m, disabled: l || void 0, autoFocus: c, onMouseDown: h, onKeyDown: f }, y, v, w);
|
|
72446
|
-
return
|
|
72446
|
+
return gs()({ ourProps: E, theirProps: u, slot: S, defaultTag: e4e, name: "Combobox.Button" });
|
|
72447
72447
|
}
|
|
72448
72448
|
let n4e = "div", r4e = lk.RenderStrategy | lk.Static;
|
|
72449
72449
|
function o4e(e, t) {
|
|
@@ -72474,7 +72474,7 @@ function o4e(e, t) {
|
|
|
72474
72474
|
if (H === void 0) throw new Error("Missing `options` in virtual mode");
|
|
72475
72475
|
Object.assign(f, { children: G.createElement(ig.Provider, { value: H !== h.virtual.options ? { ...h, virtual: { ...h.virtual, options: H } } : h }, G.createElement(Y5e, { slot: O }, f.children)) });
|
|
72476
72476
|
}
|
|
72477
|
-
let B =
|
|
72477
|
+
let B = gs();
|
|
72478
72478
|
return G.createElement(j5e, { enabled: c ? e.static || _ : !1 }, G.createElement(ig.Provider, { value: h.mode === 1 ? h : { ...h, isSelected: A } }, B({ ourProps: $, theirProps: { ...f, children: G.createElement(E5e, { freeze: j }, typeof f.children == "function" ? (o = f.children) == null ? void 0 : o.call(f, O) : f.children) }, slot: O, defaultTag: n4e, features: r4e, visible: _, name: "Combobox.Options" })));
|
|
72479
72479
|
}
|
|
72480
72480
|
let i4e = "div";
|
|
@@ -72508,9 +72508,9 @@ function s4e(e, t) {
|
|
|
72508
72508
|
}), P = bt((I) => {
|
|
72509
72509
|
R.wasMoved(I) && (d || g && (s.optionsPropsRef.current.hold || a.goToOption(pr.Nothing)));
|
|
72510
72510
|
}), O = we(() => ({ active: g, focus: g, selected: y, disabled: d }), [g, y, d]), F = { id: c, ref: w, role: "option", tabIndex: d === !0 ? void 0 : -1, "aria-disabled": d === !0 ? !0 : void 0, "aria-selected": y, disabled: void 0, onMouseDown: C, onFocus: _, onPointerEnter: M, onMouseEnter: M, onPointerMove: T, onMouseMove: T, onPointerLeave: P, onMouseLeave: P };
|
|
72511
|
-
return
|
|
72511
|
+
return gs()({ ourProps: F, theirProps: h, slot: O, defaultTag: i4e, name: "Combobox.Option" });
|
|
72512
72512
|
}
|
|
72513
|
-
let a4e =
|
|
72513
|
+
let a4e = bs(X5e), Wq = bs(t4e), qq = bs(J5e), l4e = iOe, Gq = bs(o4e), Yq = bs(s4e), c4e = Object.assign(a4e, { Input: qq, Button: Wq, Label: l4e, Options: Gq, Option: Yq });
|
|
72514
72514
|
function u4e({ elementId: e }) {
|
|
72515
72515
|
return me(() => {
|
|
72516
72516
|
const t = document.getElementById(e);
|
|
@@ -72844,7 +72844,7 @@ var b4e = [
|
|
|
72844
72844
|
"svg",
|
|
72845
72845
|
"ul"
|
|
72846
72846
|
], vo = b4e.reduce((e, t) => {
|
|
72847
|
-
const n = /* @__PURE__ */
|
|
72847
|
+
const n = /* @__PURE__ */ is(`Primitive.${t}`), r = N.forwardRef((o, i) => {
|
|
72848
72848
|
const { asChild: s, ...a } = o, l = s ? n : t;
|
|
72849
72849
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(l, { ...a, ref: i });
|
|
72850
72850
|
});
|
|
@@ -72886,14 +72886,14 @@ function Qq(e) {
|
|
|
72886
72886
|
return /* @__PURE__ */ p(o, { scope: y, itemMap: x, collectionRef: v, children: b });
|
|
72887
72887
|
};
|
|
72888
72888
|
s.displayName = t;
|
|
72889
|
-
const a = e + "CollectionSlot", l = /* @__PURE__ */
|
|
72889
|
+
const a = e + "CollectionSlot", l = /* @__PURE__ */ is(a), c = G.forwardRef(
|
|
72890
72890
|
(g, y) => {
|
|
72891
72891
|
const { scope: b, children: v } = g, x = i(a, b), w = Io(y, x.collectionRef);
|
|
72892
72892
|
return /* @__PURE__ */ p(l, { ref: w, children: v });
|
|
72893
72893
|
}
|
|
72894
72894
|
);
|
|
72895
72895
|
c.displayName = a;
|
|
72896
|
-
const u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = /* @__PURE__ */
|
|
72896
|
+
const u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = /* @__PURE__ */ is(u), h = G.forwardRef(
|
|
72897
72897
|
(g, y) => {
|
|
72898
72898
|
const { scope: b, children: v, ...x } = g, w = G.useRef(null), S = Io(y, w), E = i(u, b);
|
|
72899
72899
|
return G.useEffect(() => (E.itemMap.set(w, { ref: w, ...x }), () => void E.itemMap.delete(w))), /* @__PURE__ */ p(f, { [d]: "", ref: S, children: v });
|
|
@@ -73826,7 +73826,7 @@ var Ei = "MenuContent", [_Fe, zP] = hd(Ei), MG = N.forwardRef(
|
|
|
73826
73826
|
onDismiss: () => n.onOpenChange(!1)
|
|
73827
73827
|
}
|
|
73828
73828
|
);
|
|
73829
|
-
}), PFe = /* @__PURE__ */
|
|
73829
|
+
}), PFe = /* @__PURE__ */ is("MenuContent.ScrollLock"), BP = N.forwardRef(
|
|
73830
73830
|
(e, t) => {
|
|
73831
73831
|
const {
|
|
73832
73832
|
__scopeMenu: n,
|
|
@@ -74150,7 +74150,7 @@ var LFe = "MenuArrow", BG = N.forwardRef(
|
|
|
74150
74150
|
}
|
|
74151
74151
|
);
|
|
74152
74152
|
BG.displayName = LFe;
|
|
74153
|
-
var zFe = "MenuSub", [
|
|
74153
|
+
var zFe = "MenuSub", [VQe, VG] = hd(zFe), Mp = "MenuSubTrigger", jG = N.forwardRef(
|
|
74154
74154
|
(e, t) => {
|
|
74155
74155
|
const n = pd(Mp, e.__scopeMenu), r = kb(Mp, e.__scopeMenu), o = VG(Mp, e.__scopeMenu), i = zP(Mp, e.__scopeMenu), s = N.useRef(null), { pointerGraceTimerRef: a, onPointerGraceIntentChange: l } = i, c = { __scopeMenu: e.__scopeMenu }, u = N.useCallback(() => {
|
|
74156
74156
|
s.current && window.clearTimeout(s.current), s.current = null;
|
|
@@ -74300,7 +74300,7 @@ function UFe(e, t) {
|
|
|
74300
74300
|
function ag(e) {
|
|
74301
74301
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
74302
74302
|
}
|
|
74303
|
-
var WFe = kG, qFe = $P, GFe = RG, YFe = MG, ZFe = VP, KFe = PG, XFe = E1, QFe = TG, JFe = IG, e$e = FG, t$e = LG, n$e = zG, r$e = BG, o$e = jG, i$e = UG, UP = "ContextMenu", [s$e,
|
|
74303
|
+
var WFe = kG, qFe = $P, GFe = RG, YFe = MG, ZFe = VP, KFe = PG, XFe = E1, QFe = TG, JFe = IG, e$e = FG, t$e = LG, n$e = zG, r$e = BG, o$e = jG, i$e = UG, UP = "ContextMenu", [s$e, jQe] = Sb(UP, [
|
|
74304
74304
|
EG
|
|
74305
74305
|
]), xo = EG(), [a$e, qG] = s$e(UP), GG = (e) => {
|
|
74306
74306
|
const { __scopeContextMenu: t, children: n, onOpenChange: r, dir: o, modal: i = !0 } = e, [s, a] = N.useState(!1), l = xo(t), c = Ks(r), u = N.useCallback(
|
|
@@ -74501,7 +74501,7 @@ const k$e = S$e, _$e = C$e, dF = N$e, R$e = N.forwardRef(({ className: e, inset:
|
|
|
74501
74501
|
...r,
|
|
74502
74502
|
children: [
|
|
74503
74503
|
n,
|
|
74504
|
-
/* @__PURE__ */ p(
|
|
74504
|
+
/* @__PURE__ */ p(ns, { className: "ml-auto h-4 w-4" })
|
|
74505
74505
|
]
|
|
74506
74506
|
}
|
|
74507
74507
|
));
|
|
@@ -74518,7 +74518,7 @@ const M$e = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
|
74518
74518
|
}
|
|
74519
74519
|
));
|
|
74520
74520
|
M$e.displayName = gY.displayName;
|
|
74521
|
-
const bY = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(E$e, { children: /* @__PURE__ */ p(
|
|
74521
|
+
const bY = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(E$e, { children: /* @__PURE__ */ p(ds, { children: /* @__PURE__ */ p(
|
|
74522
74522
|
lY,
|
|
74523
74523
|
{
|
|
74524
74524
|
ref: n,
|
|
@@ -74709,7 +74709,7 @@ function I$e({
|
|
|
74709
74709
|
}),
|
|
74710
74710
|
/* @__PURE__ */ k(dF, { children: [
|
|
74711
74711
|
/* @__PURE__ */ k(L0, { className: "flex items-center gap-1 text-xs text-muted-foreground", children: [
|
|
74712
|
-
/* @__PURE__ */ p(
|
|
74712
|
+
/* @__PURE__ */ p(ns, { className: "h-3 w-3" }),
|
|
74713
74713
|
" Other Fields"
|
|
74714
74714
|
] }),
|
|
74715
74715
|
/* @__PURE__ */ p("div", { className: "my-2 max-h-64 overflow-y-auto", children: c && c.length > 0 ? c.map((E) => /* @__PURE__ */ k(
|
|
@@ -74718,7 +74718,7 @@ function I$e({
|
|
|
74718
74718
|
onSelect: () => h(E),
|
|
74719
74719
|
className: "flex items-center gap-2 hover:bg-muted",
|
|
74720
74720
|
children: [
|
|
74721
|
-
/* @__PURE__ */ p(
|
|
74721
|
+
/* @__PURE__ */ p(ns, { className: "h-4 w-4 text-muted-foreground" }),
|
|
74722
74722
|
/* @__PURE__ */ k("div", { className: "flex flex-col", children: [
|
|
74723
74723
|
/* @__PURE__ */ p("span", { children: E.label }),
|
|
74724
74724
|
/* @__PURE__ */ p("span", { className: "text-xs text-muted-foreground", children: E.qualifiedEntityName })
|
|
@@ -74924,7 +74924,7 @@ function $$e({ cardId: e, className: t }) {
|
|
|
74924
74924
|
/* @__PURE__ */ p(he, { children: u.toField.label || u.toField.name })
|
|
74925
74925
|
] }),
|
|
74926
74926
|
u.granularity && /* @__PURE__ */ k("div", { className: "flex items-center gap-2", children: [
|
|
74927
|
-
/* @__PURE__ */ p(
|
|
74927
|
+
/* @__PURE__ */ p(ts, { className: "h-4 w-4" }),
|
|
74928
74928
|
/* @__PURE__ */ k(he, { children: [
|
|
74929
74929
|
"Granularity: ",
|
|
74930
74930
|
u.granularity
|
|
@@ -74950,9 +74950,9 @@ function $$e({ cardId: e, className: t }) {
|
|
|
74950
74950
|
children: /* @__PURE__ */ p(Yte, { className: "h-3.5 w-3.5" })
|
|
74951
74951
|
}
|
|
74952
74952
|
) }) }),
|
|
74953
|
-
/* @__PURE__ */ p(
|
|
74953
|
+
/* @__PURE__ */ p(ns, { className: "ml-0.5 h-3 w-3 text-muted-foreground" }),
|
|
74954
74954
|
/* @__PURE__ */ p("div", { className: "flex items-center", children: i.map((u, d) => /* @__PURE__ */ k("div", { className: "flex items-center", children: [
|
|
74955
|
-
d > 0 && /* @__PURE__ */ p(
|
|
74955
|
+
d > 0 && /* @__PURE__ */ p(ns, { className: "mx-1 h-3 w-3 text-muted-foreground" }),
|
|
74956
74956
|
/* @__PURE__ */ k(Gs, { children: [
|
|
74957
74957
|
/* @__PURE__ */ p(Ys, { asChild: !0, children: /* @__PURE__ */ p(
|
|
74958
74958
|
ue,
|
|
@@ -75317,7 +75317,7 @@ function fF({ card: e, frame: t }) {
|
|
|
75317
75317
|
b(c, Ce);
|
|
75318
75318
|
},
|
|
75319
75319
|
children: /* @__PURE__ */ p(
|
|
75320
|
-
|
|
75320
|
+
ps,
|
|
75321
75321
|
{
|
|
75322
75322
|
style: {
|
|
75323
75323
|
// borderRadius: currentStyle?.chart?.options?.borderRadius,
|
|
@@ -75630,7 +75630,7 @@ function _b(e, t) {
|
|
|
75630
75630
|
o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
|
|
75631
75631
|
return n;
|
|
75632
75632
|
}
|
|
75633
|
-
var j$e = ["color"],
|
|
75633
|
+
var j$e = ["color"], HQe = /* @__PURE__ */ Er(function(e, t) {
|
|
75634
75634
|
var n = e.color, r = n === void 0 ? "currentColor" : n, o = _b(e, j$e);
|
|
75635
75635
|
return Fn("svg", Object.assign({
|
|
75636
75636
|
width: "15",
|
|
@@ -75662,7 +75662,7 @@ var j$e = ["color"], jQe = /* @__PURE__ */ Er(function(e, t) {
|
|
|
75662
75662
|
fillRule: "evenodd",
|
|
75663
75663
|
clipRule: "evenodd"
|
|
75664
75664
|
}));
|
|
75665
|
-
}), W$e = ["color"],
|
|
75665
|
+
}), W$e = ["color"], UQe = /* @__PURE__ */ Er(function(e, t) {
|
|
75666
75666
|
var n = e.color, r = n === void 0 ? "currentColor" : n, o = _b(e, W$e);
|
|
75667
75667
|
return Fn("svg", Object.assign({
|
|
75668
75668
|
width: "15",
|
|
@@ -75678,7 +75678,7 @@ var j$e = ["color"], jQe = /* @__PURE__ */ Er(function(e, t) {
|
|
|
75678
75678
|
fillRule: "evenodd",
|
|
75679
75679
|
clipRule: "evenodd"
|
|
75680
75680
|
}));
|
|
75681
|
-
}), q$e = ["color"],
|
|
75681
|
+
}), q$e = ["color"], WQe = /* @__PURE__ */ Er(function(e, t) {
|
|
75682
75682
|
var n = e.color, r = n === void 0 ? "currentColor" : n, o = _b(e, q$e);
|
|
75683
75683
|
return Fn("svg", Object.assign({
|
|
75684
75684
|
width: "15",
|
|
@@ -75694,7 +75694,7 @@ var j$e = ["color"], jQe = /* @__PURE__ */ Er(function(e, t) {
|
|
|
75694
75694
|
fillRule: "evenodd",
|
|
75695
75695
|
clipRule: "evenodd"
|
|
75696
75696
|
}));
|
|
75697
|
-
}), G$e = ["color"],
|
|
75697
|
+
}), G$e = ["color"], qQe = /* @__PURE__ */ Er(function(e, t) {
|
|
75698
75698
|
var n = e.color, r = n === void 0 ? "currentColor" : n, o = _b(e, G$e);
|
|
75699
75699
|
return Fn("svg", Object.assign({
|
|
75700
75700
|
width: "15",
|
|
@@ -76167,10 +76167,10 @@ function Z$e({ filter: e }) {
|
|
|
76167
76167
|
};
|
|
76168
76168
|
l(g);
|
|
76169
76169
|
}
|
|
76170
|
-
return /* @__PURE__ */ k(
|
|
76171
|
-
/* @__PURE__ */ p(
|
|
76170
|
+
return /* @__PURE__ */ k(Yi, { open: r, onOpenChange: o, children: [
|
|
76171
|
+
/* @__PURE__ */ p(Zi, { children: /* @__PURE__ */ p(Fa, { className: "invisible h-3 w-3 cursor-pointer text-muted-foreground hover:text-foreground group-hover:visible" }) }),
|
|
76172
76172
|
/* @__PURE__ */ k(
|
|
76173
|
-
|
|
76173
|
+
Ki,
|
|
76174
76174
|
{
|
|
76175
76175
|
onMouseDown: (m) => m.stopPropagation(),
|
|
76176
76176
|
onDoubleClick: (m) => m.stopPropagation(),
|
|
@@ -76193,7 +76193,7 @@ function Z$e({ filter: e }) {
|
|
|
76193
76193
|
/* @__PURE__ */ p("p", { className: "text-sm text-muted-foreground", children: "Customize filter settings and scope" })
|
|
76194
76194
|
] }),
|
|
76195
76195
|
/* @__PURE__ */ k(ta, { defaultValue: "basic", className: "w-full", children: [
|
|
76196
|
-
/* @__PURE__ */ k(
|
|
76196
|
+
/* @__PURE__ */ k(ps, { className: "grid w-full grid-cols-2", children: [
|
|
76197
76197
|
/* @__PURE__ */ p(er, { value: "basic", children: "Basic" }),
|
|
76198
76198
|
/* @__PURE__ */ p(er, { value: "scope", children: "Scope" })
|
|
76199
76199
|
] }),
|
|
@@ -76427,7 +76427,7 @@ function Q$e({ sheetId: e }) {
|
|
|
76427
76427
|
},
|
|
76428
76428
|
className: "group flex h-96 w-[600px] flex-col items-center justify-center gap-3 rounded-lg border-2 border-dashed border-muted-foreground/25 bg-background transition-all hover:border-muted-foreground/50 hover:bg-muted/50",
|
|
76429
76429
|
children: [
|
|
76430
|
-
/* @__PURE__ */ p("div", { className: "rounded-full bg-primary/10 p-3 transition-colors group-hover:bg-primary/20", children: /* @__PURE__ */ p(
|
|
76430
|
+
/* @__PURE__ */ p("div", { className: "rounded-full bg-primary/10 p-3 transition-colors group-hover:bg-primary/20", children: /* @__PURE__ */ p(os, { className: "h-6 w-6 text-primary" }) }),
|
|
76431
76431
|
/* @__PURE__ */ p("span", { className: "text-sm font-medium text-muted-foreground", children: "Add new Visual" })
|
|
76432
76432
|
]
|
|
76433
76433
|
}
|
|
@@ -76840,7 +76840,7 @@ function MY(e) {
|
|
|
76840
76840
|
return t && t instanceof ShadowRoot ? t.host : t;
|
|
76841
76841
|
}
|
|
76842
76842
|
const PY = 1, DY = 2, TY = 4, AY = 8, m3e = c3e() === "coarse";
|
|
76843
|
-
let
|
|
76843
|
+
let Ji = [], wf = !1, Cl = /* @__PURE__ */ new Map(), _1 = /* @__PURE__ */ new Map();
|
|
76844
76844
|
const lg = /* @__PURE__ */ new Set();
|
|
76845
76845
|
function g3e(e, t, n, r, o) {
|
|
76846
76846
|
var i;
|
|
@@ -76856,9 +76856,9 @@ function g3e(e, t, n, r, o) {
|
|
|
76856
76856
|
var u;
|
|
76857
76857
|
_1.delete(e), lg.delete(a);
|
|
76858
76858
|
const d = (u = Cl.get(s)) !== null && u !== void 0 ? u : 1;
|
|
76859
|
-
if (Cl.set(s, d - 1), wx(), d === 1 && Cl.delete(s),
|
|
76860
|
-
const f =
|
|
76861
|
-
f >= 0 &&
|
|
76859
|
+
if (Cl.set(s, d - 1), wx(), d === 1 && Cl.delete(s), Ji.includes(a)) {
|
|
76860
|
+
const f = Ji.indexOf(a);
|
|
76861
|
+
f >= 0 && Ji.splice(f, 1), YP(), o("up", !0, null);
|
|
76862
76862
|
}
|
|
76863
76863
|
};
|
|
76864
76864
|
}
|
|
@@ -76873,7 +76873,7 @@ function bF(e) {
|
|
|
76873
76873
|
target: t,
|
|
76874
76874
|
x: n,
|
|
76875
76875
|
y: r
|
|
76876
|
-
}), wx(),
|
|
76876
|
+
}), wx(), Ji.length > 0 && (Sx("down", e), e.preventDefault(), e.stopPropagation());
|
|
76877
76877
|
}
|
|
76878
76878
|
function lp(e) {
|
|
76879
76879
|
const {
|
|
@@ -76890,7 +76890,7 @@ function lp(e) {
|
|
|
76890
76890
|
y: n
|
|
76891
76891
|
});
|
|
76892
76892
|
}
|
|
76893
|
-
Sx("move", e), YP(),
|
|
76893
|
+
Sx("move", e), YP(), Ji.length > 0 && e.preventDefault();
|
|
76894
76894
|
}
|
|
76895
76895
|
function Ad(e) {
|
|
76896
76896
|
const {
|
|
@@ -76899,7 +76899,7 @@ function Ad(e) {
|
|
|
76899
76899
|
x: n,
|
|
76900
76900
|
y: r
|
|
76901
76901
|
} = k1(e);
|
|
76902
|
-
_1.clear(), wf = !1,
|
|
76902
|
+
_1.clear(), wf = !1, Ji.length > 0 && e.preventDefault(), Sx("up", e), GP({
|
|
76903
76903
|
target: t,
|
|
76904
76904
|
x: n,
|
|
76905
76905
|
y: r
|
|
@@ -76910,7 +76910,7 @@ function GP({
|
|
|
76910
76910
|
x: t,
|
|
76911
76911
|
y: n
|
|
76912
76912
|
}) {
|
|
76913
|
-
|
|
76913
|
+
Ji.splice(0);
|
|
76914
76914
|
let r = null;
|
|
76915
76915
|
(e instanceof HTMLElement || e instanceof SVGElement) && (r = e), lg.forEach((o) => {
|
|
76916
76916
|
const {
|
|
@@ -76938,7 +76938,7 @@ function GP({
|
|
|
76938
76938
|
if (g)
|
|
76939
76939
|
return;
|
|
76940
76940
|
}
|
|
76941
|
-
|
|
76941
|
+
Ji.push(o);
|
|
76942
76942
|
}
|
|
76943
76943
|
});
|
|
76944
76944
|
}
|
|
@@ -76947,7 +76947,7 @@ function l2(e, t) {
|
|
|
76947
76947
|
}
|
|
76948
76948
|
function YP() {
|
|
76949
76949
|
let e = !1, t = !1;
|
|
76950
|
-
|
|
76950
|
+
Ji.forEach((r) => {
|
|
76951
76951
|
const {
|
|
76952
76952
|
direction: o
|
|
76953
76953
|
} = r;
|
|
@@ -76964,7 +76964,7 @@ function wx() {
|
|
|
76964
76964
|
body: n
|
|
76965
76965
|
} = t;
|
|
76966
76966
|
n.removeEventListener("contextmenu", Ad), n.removeEventListener("pointerdown", bF), n.removeEventListener("pointerleave", lp), n.removeEventListener("pointermove", lp);
|
|
76967
|
-
}), window.removeEventListener("pointerup", Ad), window.removeEventListener("pointercancel", Ad), lg.size > 0 && (wf ? (
|
|
76967
|
+
}), window.removeEventListener("pointerup", Ad), window.removeEventListener("pointercancel", Ad), lg.size > 0 && (wf ? (Ji.length > 0 && Cl.forEach((e, t) => {
|
|
76968
76968
|
const {
|
|
76969
76969
|
body: n
|
|
76970
76970
|
} = t;
|
|
@@ -76982,7 +76982,7 @@ function Sx(e, t) {
|
|
|
76982
76982
|
lg.forEach((n) => {
|
|
76983
76983
|
const {
|
|
76984
76984
|
setResizeHandlerState: r
|
|
76985
|
-
} = n, o =
|
|
76985
|
+
} = n, o = Ji.includes(n);
|
|
76986
76986
|
r(e, o, t);
|
|
76987
76987
|
});
|
|
76988
76988
|
}
|
|
@@ -78064,7 +78064,7 @@ const D3e = ({
|
|
|
78064
78064
|
),
|
|
78065
78065
|
...t
|
|
78066
78066
|
}
|
|
78067
|
-
), SF = NY,
|
|
78067
|
+
), SF = NY, GQe = ({
|
|
78068
78068
|
withHandle: e,
|
|
78069
78069
|
className: t,
|
|
78070
78070
|
...n
|
|
@@ -79949,7 +79949,7 @@ function iZ(e, t) {
|
|
|
79949
79949
|
n > 1114111 ? "�" : String.fromCodePoint(n)
|
|
79950
79950
|
);
|
|
79951
79951
|
}
|
|
79952
|
-
function
|
|
79952
|
+
function es(e) {
|
|
79953
79953
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
79954
79954
|
}
|
|
79955
79955
|
const ho = Ec(/[A-Za-z]/), Jr = Ec(/[\dA-Za-z]/), KLe = Ec(/[#-'*+\--9=?A-Z^-~]/);
|
|
@@ -80917,7 +80917,7 @@ function T6e(e, t, n) {
|
|
|
80917
80917
|
)(h);
|
|
80918
80918
|
}
|
|
80919
80919
|
function a(h) {
|
|
80920
|
-
return o =
|
|
80920
|
+
return o = es(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), l) : n(h);
|
|
80921
80921
|
}
|
|
80922
80922
|
function l(h) {
|
|
80923
80923
|
return xn(h) ? mm(e, c)(h) : c(h);
|
|
@@ -81385,7 +81385,7 @@ function e8e(e, t, n) {
|
|
|
81385
81385
|
}
|
|
81386
81386
|
return a;
|
|
81387
81387
|
function a(f) {
|
|
81388
|
-
return i ? i._inactive ? d(f) : (s = r.parser.defined.includes(
|
|
81388
|
+
return i ? i._inactive ? d(f) : (s = r.parser.defined.includes(es(r.sliceSerialize({
|
|
81389
81389
|
start: i.end,
|
|
81390
81390
|
end: r.now()
|
|
81391
81391
|
}))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(f), e.exit("labelMarker"), e.exit("labelEnd"), l) : n(f);
|
|
@@ -81437,7 +81437,7 @@ function n8e(e, t, n) {
|
|
|
81437
81437
|
return dZ.call(r, e, i, s, "reference", "referenceMarker", "referenceString")(a);
|
|
81438
81438
|
}
|
|
81439
81439
|
function i(a) {
|
|
81440
|
-
return r.parser.defined.includes(
|
|
81440
|
+
return r.parser.defined.includes(es(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(a) : n(a);
|
|
81441
81441
|
}
|
|
81442
81442
|
function s(a) {
|
|
81443
81443
|
return n(a);
|
|
@@ -82397,7 +82397,7 @@ function W8e(e) {
|
|
|
82397
82397
|
}
|
|
82398
82398
|
function v(le) {
|
|
82399
82399
|
const ve = this.resume(), Fe = this.stack[this.stack.length - 1];
|
|
82400
|
-
Fe.label = ve, Fe.identifier =
|
|
82400
|
+
Fe.label = ve, Fe.identifier = es(this.sliceSerialize(le)).toLowerCase();
|
|
82401
82401
|
}
|
|
82402
82402
|
function x() {
|
|
82403
82403
|
const le = this.resume(), ve = this.stack[this.stack.length - 1];
|
|
@@ -82481,7 +82481,7 @@ function W8e(e) {
|
|
|
82481
82481
|
}
|
|
82482
82482
|
function H(le) {
|
|
82483
82483
|
const ve = this.sliceSerialize(le), Fe = this.stack[this.stack.length - 2];
|
|
82484
|
-
Fe.label = j8e(ve), Fe.identifier =
|
|
82484
|
+
Fe.label = j8e(ve), Fe.identifier = es(ve).toLowerCase();
|
|
82485
82485
|
}
|
|
82486
82486
|
function L() {
|
|
82487
82487
|
const le = this.stack[this.stack.length - 1], ve = this.resume(), Fe = this.stack[this.stack.length - 1];
|
|
@@ -82507,7 +82507,7 @@ function W8e(e) {
|
|
|
82507
82507
|
}
|
|
82508
82508
|
function V(le) {
|
|
82509
82509
|
const ve = this.resume(), Fe = this.stack[this.stack.length - 1];
|
|
82510
|
-
Fe.label = ve, Fe.identifier =
|
|
82510
|
+
Fe.label = ve, Fe.identifier = es(this.sliceSerialize(le)).toLowerCase(), this.data.referenceType = "full";
|
|
82511
82511
|
}
|
|
82512
82512
|
function W(le) {
|
|
82513
82513
|
this.data.characterReferenceType = le.type;
|
|
@@ -83656,7 +83656,7 @@ function Uze(e, t) {
|
|
|
83656
83656
|
o(null, s);
|
|
83657
83657
|
}
|
|
83658
83658
|
}
|
|
83659
|
-
const
|
|
83659
|
+
const Es = { basename: Wze, dirname: qze, extname: Gze, join: Yze, sep: "/" };
|
|
83660
83660
|
function Wze(e, t) {
|
|
83661
83661
|
if (t !== void 0 && typeof t != "string")
|
|
83662
83662
|
throw new TypeError('"ext" argument must be a string');
|
|
@@ -83862,7 +83862,7 @@ class NZ {
|
|
|
83862
83862
|
* Basename.
|
|
83863
83863
|
*/
|
|
83864
83864
|
get basename() {
|
|
83865
|
-
return typeof this.path == "string" ?
|
|
83865
|
+
return typeof this.path == "string" ? Es.basename(this.path) : void 0;
|
|
83866
83866
|
}
|
|
83867
83867
|
/**
|
|
83868
83868
|
* Set basename (including extname) (`'index.min.js'`).
|
|
@@ -83877,7 +83877,7 @@ class NZ {
|
|
|
83877
83877
|
* Nothing.
|
|
83878
83878
|
*/
|
|
83879
83879
|
set basename(t) {
|
|
83880
|
-
g2(t, "basename"), m2(t, "basename"), this.path =
|
|
83880
|
+
g2(t, "basename"), m2(t, "basename"), this.path = Es.join(this.dirname || "", t);
|
|
83881
83881
|
}
|
|
83882
83882
|
/**
|
|
83883
83883
|
* Get the parent path (example: `'~'`).
|
|
@@ -83886,7 +83886,7 @@ class NZ {
|
|
|
83886
83886
|
* Dirname.
|
|
83887
83887
|
*/
|
|
83888
83888
|
get dirname() {
|
|
83889
|
-
return typeof this.path == "string" ?
|
|
83889
|
+
return typeof this.path == "string" ? Es.dirname(this.path) : void 0;
|
|
83890
83890
|
}
|
|
83891
83891
|
/**
|
|
83892
83892
|
* Set the parent path (example: `'~'`).
|
|
@@ -83899,7 +83899,7 @@ class NZ {
|
|
|
83899
83899
|
* Nothing.
|
|
83900
83900
|
*/
|
|
83901
83901
|
set dirname(t) {
|
|
83902
|
-
s$(this.basename, "dirname"), this.path =
|
|
83902
|
+
s$(this.basename, "dirname"), this.path = Es.join(t || "", this.basename);
|
|
83903
83903
|
}
|
|
83904
83904
|
/**
|
|
83905
83905
|
* Get the extname (including dot) (example: `'.js'`).
|
|
@@ -83908,7 +83908,7 @@ class NZ {
|
|
|
83908
83908
|
* Extname.
|
|
83909
83909
|
*/
|
|
83910
83910
|
get extname() {
|
|
83911
|
-
return typeof this.path == "string" ?
|
|
83911
|
+
return typeof this.path == "string" ? Es.extname(this.path) : void 0;
|
|
83912
83912
|
}
|
|
83913
83913
|
/**
|
|
83914
83914
|
* Set the extname (including dot) (example: `'.js'`).
|
|
@@ -83929,7 +83929,7 @@ class NZ {
|
|
|
83929
83929
|
if (t.includes(".", 1))
|
|
83930
83930
|
throw new Error("`extname` cannot contain multiple dots");
|
|
83931
83931
|
}
|
|
83932
|
-
this.path =
|
|
83932
|
+
this.path = Es.join(this.dirname, this.stem + (t || ""));
|
|
83933
83933
|
}
|
|
83934
83934
|
/**
|
|
83935
83935
|
* Get the full path (example: `'~/index.min.js'`).
|
|
@@ -83962,7 +83962,7 @@ class NZ {
|
|
|
83962
83962
|
* Stem.
|
|
83963
83963
|
*/
|
|
83964
83964
|
get stem() {
|
|
83965
|
-
return typeof this.path == "string" ?
|
|
83965
|
+
return typeof this.path == "string" ? Es.basename(this.path, this.extname) : void 0;
|
|
83966
83966
|
}
|
|
83967
83967
|
/**
|
|
83968
83968
|
* Set the stem (basename w/o extname) (example: `'index.min'`).
|
|
@@ -83977,7 +83977,7 @@ class NZ {
|
|
|
83977
83977
|
* Nothing.
|
|
83978
83978
|
*/
|
|
83979
83979
|
set stem(t) {
|
|
83980
|
-
g2(t, "stem"), m2(t, "stem"), this.path =
|
|
83980
|
+
g2(t, "stem"), m2(t, "stem"), this.path = Es.join(this.dirname || "", t + (this.extname || ""));
|
|
83981
83981
|
}
|
|
83982
83982
|
// Normal prototypal methods.
|
|
83983
83983
|
/**
|
|
@@ -84191,9 +84191,9 @@ class NZ {
|
|
|
84191
84191
|
}
|
|
84192
84192
|
}
|
|
84193
84193
|
function m2(e, t) {
|
|
84194
|
-
if (e && e.includes(
|
|
84194
|
+
if (e && e.includes(Es.sep))
|
|
84195
84195
|
throw new Error(
|
|
84196
|
-
"`" + t + "` cannot be a path: did not expect `" +
|
|
84196
|
+
"`" + t + "` cannot be a path: did not expect `" + Es.sep + "`"
|
|
84197
84197
|
);
|
|
84198
84198
|
}
|
|
84199
84199
|
function g2(e, t) {
|
|
@@ -87901,7 +87901,7 @@ function V7e(e) {
|
|
|
87901
87901
|
}
|
|
87902
87902
|
function j7e(e) {
|
|
87903
87903
|
const t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
87904
|
-
n.type, n.identifier =
|
|
87904
|
+
n.type, n.identifier = es(
|
|
87905
87905
|
this.sliceSerialize(e)
|
|
87906
87906
|
).toLowerCase(), n.label = t;
|
|
87907
87907
|
}
|
|
@@ -87910,7 +87910,7 @@ function H7e(e) {
|
|
|
87910
87910
|
}
|
|
87911
87911
|
function U7e(e) {
|
|
87912
87912
|
const t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
87913
|
-
n.type, n.identifier =
|
|
87913
|
+
n.type, n.identifier = es(
|
|
87914
87914
|
this.sliceSerialize(e)
|
|
87915
87915
|
).toLowerCase(), n.label = t;
|
|
87916
87916
|
}
|
|
@@ -89123,7 +89123,7 @@ function cVe(e, t, n) {
|
|
|
89123
89123
|
function a(l) {
|
|
89124
89124
|
if (!s || !s._balanced)
|
|
89125
89125
|
return n(l);
|
|
89126
|
-
const c =
|
|
89126
|
+
const c = es(r.sliceSerialize({
|
|
89127
89127
|
start: s.end,
|
|
89128
89128
|
end: r.now()
|
|
89129
89129
|
}));
|
|
@@ -89202,7 +89202,7 @@ function dVe(e, t, n) {
|
|
|
89202
89202
|
if (d === 93) {
|
|
89203
89203
|
e.exit("chunkString");
|
|
89204
89204
|
const f = e.exit("gfmFootnoteCallString");
|
|
89205
|
-
return o.includes(
|
|
89205
|
+
return o.includes(es(r.sliceSerialize(f))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(d), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(d);
|
|
89206
89206
|
}
|
|
89207
89207
|
return xn(d) || (s = !0), i++, e.consume(d), d === 92 ? u : c;
|
|
89208
89208
|
}
|
|
@@ -89232,7 +89232,7 @@ function fVe(e, t, n) {
|
|
|
89232
89232
|
if (m === 93) {
|
|
89233
89233
|
e.exit("chunkString");
|
|
89234
89234
|
const g = e.exit("gfmFootnoteDefinitionLabelString");
|
|
89235
|
-
return i =
|
|
89235
|
+
return i = es(r.sliceSerialize(g)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(m), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), f;
|
|
89236
89236
|
}
|
|
89237
89237
|
return xn(m) || (a = !0), s++, e.consume(m), m === 92 ? d : u;
|
|
89238
89238
|
}
|
|
@@ -90206,7 +90206,7 @@ function Tk({
|
|
|
90206
90206
|
filters: (T = n.systemState) == null ? void 0 : T.dashboardFilters,
|
|
90207
90207
|
metadata: n.metadata
|
|
90208
90208
|
};
|
|
90209
|
-
return /* @__PURE__ */ p(
|
|
90209
|
+
return /* @__PURE__ */ p(fs, { open: e, onOpenChange: h, children: /* @__PURE__ */ k(Pi, { className: "max-w-2xl", children: [
|
|
90210
90210
|
/* @__PURE__ */ k(Di, { children: [
|
|
90211
90211
|
/* @__PURE__ */ p(Ti, { children: c ? "Feedback Sent Successfully" : n.category === "dashboard-assistant" ? "Report Dashboard Assistant Issue" : n.category === "editor-assistant" ? "Report Editor Assistant Issue" : "Report Query Generation Issue" }),
|
|
90212
90212
|
/* @__PURE__ */ p(Qs, { children: c ? `Your feedback has been submitted with issue number: ${u == null ? void 0 : u.issueNumber}` : n.category === "dashboard-assistant" || n.category === "editor-assistant" ? "Help us improve by reporting this AI assistant issue. Your feedback will be sent to our support team." : "Help us improve by reporting this query generation issue. Your feedback will be sent to our support team." })
|
|
@@ -90237,7 +90237,7 @@ function Tk({
|
|
|
90237
90237
|
className: "flex flex-1 items-center justify-between p-2 hover:bg-muted",
|
|
90238
90238
|
children: [
|
|
90239
90239
|
/* @__PURE__ */ p("span", { className: "text-sm font-medium", children: "View data to be sent" }),
|
|
90240
|
-
i ? /* @__PURE__ */ p(Ko, { className: "h-4 w-4" }) : /* @__PURE__ */ p(
|
|
90240
|
+
i ? /* @__PURE__ */ p(Ko, { className: "h-4 w-4" }) : /* @__PURE__ */ p(ns, { className: "h-4 w-4" })
|
|
90241
90241
|
]
|
|
90242
90242
|
}
|
|
90243
90243
|
) }),
|
|
@@ -90258,7 +90258,7 @@ function Tk({
|
|
|
90258
90258
|
) }) }) })
|
|
90259
90259
|
] })
|
|
90260
90260
|
] }),
|
|
90261
|
-
/* @__PURE__ */ k(
|
|
90261
|
+
/* @__PURE__ */ k(hs, { children: [
|
|
90262
90262
|
/* @__PURE__ */ p(
|
|
90263
90263
|
ue,
|
|
90264
90264
|
{
|
|
@@ -90275,7 +90275,7 @@ function Tk({
|
|
|
90275
90275
|
disabled: l,
|
|
90276
90276
|
className: "min-w-[100px]",
|
|
90277
90277
|
children: l ? /* @__PURE__ */ k(Ve, { children: [
|
|
90278
|
-
/* @__PURE__ */ p(
|
|
90278
|
+
/* @__PURE__ */ p(rs, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
90279
90279
|
"Sending..."
|
|
90280
90280
|
] }) : "Send Feedback"
|
|
90281
90281
|
}
|
|
@@ -90626,7 +90626,7 @@ function YVe({
|
|
|
90626
90626
|
/* @__PURE__ */ p(Wa, { className: "pb-3", children: /* @__PURE__ */ k("div", { className: "flex items-center justify-between", children: [
|
|
90627
90627
|
/* @__PURE__ */ p("div", { className: "space-y-1", children: /* @__PURE__ */ p("h3", { className: "text-base font-semibold text-foreground", children: M || "Untitled Chart" }) }),
|
|
90628
90628
|
/* @__PURE__ */ k("div", { className: "flex items-center gap-2", children: [
|
|
90629
|
-
C !== "table" && C !== "pivotTable" && /* @__PURE__ */ p(ta, { value: u, onValueChange: d, children: /* @__PURE__ */ k(
|
|
90629
|
+
C !== "table" && C !== "pivotTable" && /* @__PURE__ */ p(ta, { value: u, onValueChange: d, children: /* @__PURE__ */ k(ps, { className: "h-8", children: [
|
|
90630
90630
|
/* @__PURE__ */ p(
|
|
90631
90631
|
er,
|
|
90632
90632
|
{
|
|
@@ -90665,7 +90665,7 @@ function YVe({
|
|
|
90665
90665
|
});
|
|
90666
90666
|
},
|
|
90667
90667
|
"aria-label": "Add visual to dashboard",
|
|
90668
|
-
children: /* @__PURE__ */ p(
|
|
90668
|
+
children: /* @__PURE__ */ p(os, { className: "h-4 w-4" })
|
|
90669
90669
|
}
|
|
90670
90670
|
)
|
|
90671
90671
|
] })
|
|
@@ -96919,7 +96919,7 @@ const aYe = /* @__PURE__ */ Ju(sYe);
|
|
|
96919
96919
|
var lYe = Kk(), mX = (e, t, n) => {
|
|
96920
96920
|
if (!t.has(e))
|
|
96921
96921
|
throw TypeError("Cannot " + n);
|
|
96922
|
-
}, Mn = (e, t, n) => (mX(e, t, "read from private field"), n ? n.call(e) : t.get(e)),
|
|
96922
|
+
}, Mn = (e, t, n) => (mX(e, t, "read from private field"), n ? n.call(e) : t.get(e)), ws = (e, t, n) => {
|
|
96923
96923
|
if (t.has(e))
|
|
96924
96924
|
throw TypeError("Cannot add the same private member more than once");
|
|
96925
96925
|
t instanceof WeakSet ? t.add(e) : t.set(e, n);
|
|
@@ -96929,7 +96929,7 @@ function cYe(e, t) {
|
|
|
96929
96929
|
}
|
|
96930
96930
|
var li, j0, H0, Ap, Ip, Op, Hd, zk, Bk, uYe = class {
|
|
96931
96931
|
constructor(e = []) {
|
|
96932
|
-
|
|
96932
|
+
ws(this, li, void 0), ws(this, j0, "ready"), ws(this, H0, void 0), ws(this, Ap, /* @__PURE__ */ new Set()), ws(this, Ip, /* @__PURE__ */ new Set()), ws(this, Op, /* @__PURE__ */ new Set()), this.pushMessage = (t) => {
|
|
96933
96933
|
wl(this, li, Mn(this, li).concat(t)), Mn(this, Hd).call(this);
|
|
96934
96934
|
}, this.popMessage = () => {
|
|
96935
96935
|
wl(this, li, Mn(this, li).slice(0, -1)), Mn(this, Hd).call(this);
|
|
@@ -96949,11 +96949,11 @@ var li, j0, H0, Ap, Ip, Op, Hd, zk, Bk, uYe = class {
|
|
|
96949
96949
|
Mn(this, Ip).delete(t);
|
|
96950
96950
|
}), this["~registerErrorCallback"] = (t) => (Mn(this, Op).add(t), () => {
|
|
96951
96951
|
Mn(this, Op).delete(t);
|
|
96952
|
-
}),
|
|
96952
|
+
}), ws(this, Hd, () => {
|
|
96953
96953
|
Mn(this, Ap).forEach((t) => t());
|
|
96954
|
-
}),
|
|
96954
|
+
}), ws(this, zk, () => {
|
|
96955
96955
|
Mn(this, Ip).forEach((t) => t());
|
|
96956
|
-
}),
|
|
96956
|
+
}), ws(this, Bk, () => {
|
|
96957
96957
|
Mn(this, Op).forEach((t) => t());
|
|
96958
96958
|
}), wl(this, li, e);
|
|
96959
96959
|
}
|
|
@@ -96988,7 +96988,7 @@ Bk = /* @__PURE__ */ new WeakMap();
|
|
|
96988
96988
|
var Ud, r3 = class extends oYe {
|
|
96989
96989
|
constructor({ messages: e, ...t }) {
|
|
96990
96990
|
const n = new uYe(e);
|
|
96991
|
-
super({ ...t, state: n }),
|
|
96991
|
+
super({ ...t, state: n }), ws(this, Ud, void 0), this["~registerMessagesCallback"] = (r, o) => Mn(this, Ud)["~registerMessagesCallback"](r, o), this["~registerStatusCallback"] = (r) => Mn(this, Ud)["~registerStatusCallback"](r), this["~registerErrorCallback"] = (r) => Mn(this, Ud)["~registerErrorCallback"](r), wl(this, Ud, n);
|
|
96992
96992
|
}
|
|
96993
96993
|
};
|
|
96994
96994
|
Ud = /* @__PURE__ */ new WeakMap();
|
|
@@ -97040,7 +97040,7 @@ function dYe({
|
|
|
97040
97040
|
addToolResult: r.current.addToolResult
|
|
97041
97041
|
};
|
|
97042
97042
|
}
|
|
97043
|
-
function
|
|
97043
|
+
function YQe(e, t) {
|
|
97044
97044
|
return e.some(
|
|
97045
97045
|
(n) => (
|
|
97046
97046
|
// t.connectionId === aiScope.connectionId &&
|
|
@@ -97048,7 +97048,7 @@ function GQe(e, t) {
|
|
|
97048
97048
|
)
|
|
97049
97049
|
);
|
|
97050
97050
|
}
|
|
97051
|
-
function
|
|
97051
|
+
function ZQe(e) {
|
|
97052
97052
|
return e.filter(
|
|
97053
97053
|
(n, r, o) => r === o.findIndex(
|
|
97054
97054
|
(i) => (
|
|
@@ -97058,7 +97058,7 @@ function YQe(e) {
|
|
|
97058
97058
|
)
|
|
97059
97059
|
);
|
|
97060
97060
|
}
|
|
97061
|
-
function
|
|
97061
|
+
function KQe(e, t) {
|
|
97062
97062
|
return e.filter(
|
|
97063
97063
|
(n) => !(n.connectionId === t.connectionId && n.tableName === t.tableName && n.datamodelName === t.datamodelName)
|
|
97064
97064
|
);
|
|
@@ -97360,7 +97360,7 @@ function vYe({
|
|
|
97360
97360
|
variant: "outline",
|
|
97361
97361
|
className: "flex items-center gap-2",
|
|
97362
97362
|
children: [
|
|
97363
|
-
/* @__PURE__ */ p(
|
|
97363
|
+
/* @__PURE__ */ p(os, { className: "h-4 w-4" }),
|
|
97364
97364
|
"Add Datasets"
|
|
97365
97365
|
]
|
|
97366
97366
|
}
|
|
@@ -97542,7 +97542,7 @@ function wYe({
|
|
|
97542
97542
|
function SYe(e) {
|
|
97543
97543
|
return e.type === "dataset" && e.label || e.name;
|
|
97544
97544
|
}
|
|
97545
|
-
function
|
|
97545
|
+
function XQe(e) {
|
|
97546
97546
|
const t = [];
|
|
97547
97547
|
return t.push({ label: "Type", value: e.type }), t.push({ label: "Name", value: e.name }), e.connectionType && t.push({ label: "Connection", value: e.connectionType }), e.database && t.push({ label: "Database", value: e.database }), e.schema && t.push({ label: "Schema", value: e.schema }), e.type === "dataset" && e.label && t.push({
|
|
97548
97548
|
label: "Label",
|
|
@@ -97880,7 +97880,7 @@ function _Ye() {
|
|
|
97880
97880
|
disabled: a,
|
|
97881
97881
|
children: [
|
|
97882
97882
|
/* @__PURE__ */ p(Ft, { className: "w-full", children: /* @__PURE__ */ k("div", { className: "flex items-center gap-2", children: [
|
|
97883
|
-
a && /* @__PURE__ */ p(
|
|
97883
|
+
a && /* @__PURE__ */ p(rs, { className: "h-4 w-4 animate-spin" }),
|
|
97884
97884
|
/* @__PURE__ */ p(
|
|
97885
97885
|
Yt,
|
|
97886
97886
|
{
|
|
@@ -97911,7 +97911,7 @@ function _Ye() {
|
|
|
97911
97911
|
disabled: d,
|
|
97912
97912
|
children: [
|
|
97913
97913
|
/* @__PURE__ */ p(Ft, { className: "w-full", children: /* @__PURE__ */ k("div", { className: "flex items-center gap-2", children: [
|
|
97914
|
-
d && /* @__PURE__ */ p(
|
|
97914
|
+
d && /* @__PURE__ */ p(rs, { className: "h-4 w-4 animate-spin" }),
|
|
97915
97915
|
/* @__PURE__ */ p(
|
|
97916
97916
|
Yt,
|
|
97917
97917
|
{
|
|
@@ -98130,7 +98130,7 @@ function MYe() {
|
|
|
98130
98130
|
size: "sm",
|
|
98131
98131
|
className: "w-full",
|
|
98132
98132
|
children: [
|
|
98133
|
-
/* @__PURE__ */ p(
|
|
98133
|
+
/* @__PURE__ */ p(os, { className: "mr-1 h-3 w-3" }),
|
|
98134
98134
|
"Add Source"
|
|
98135
98135
|
]
|
|
98136
98136
|
}
|
|
@@ -98400,7 +98400,7 @@ function DYe({
|
|
|
98400
98400
|
onValueChange: (M) => d(M),
|
|
98401
98401
|
className: "w-full",
|
|
98402
98402
|
children: [
|
|
98403
|
-
/* @__PURE__ */ k(
|
|
98403
|
+
/* @__PURE__ */ k(ps, { className: "grid w-full grid-cols-2", children: [
|
|
98404
98404
|
/* @__PURE__ */ p(er, { value: "tables", children: "Tables & Views" }),
|
|
98405
98405
|
/* @__PURE__ */ p(er, { value: "datamodels", children: "Data Models" })
|
|
98406
98406
|
] }),
|
|
@@ -98805,7 +98805,7 @@ function yX({
|
|
|
98805
98805
|
t(!1);
|
|
98806
98806
|
}
|
|
98807
98807
|
}
|
|
98808
|
-
return /* @__PURE__ */ p(
|
|
98808
|
+
return /* @__PURE__ */ p(fs, { open: e, onOpenChange: t, children: /* @__PURE__ */ p(Pi, { className: "flex max-w-2xl flex-col", children: /* @__PURE__ */ k("div", { children: [
|
|
98809
98809
|
/* @__PURE__ */ k(Di, { className: "flex-shrink-0", children: [
|
|
98810
98810
|
/* @__PURE__ */ p(Ti, { children: o === "aiContext" ? "Data Context" : "Select Data Source" }),
|
|
98811
98811
|
/* @__PURE__ */ p(Qs, { children: o === "aiContext" ? "Set the overall data scope for the dashboard" : "Select data sets to analyze" })
|
|
@@ -98818,7 +98818,7 @@ function yX({
|
|
|
98818
98818
|
value: (n == null ? void 0 : n.mode) || "database",
|
|
98819
98819
|
onValueChange: w,
|
|
98820
98820
|
className: "w-full",
|
|
98821
|
-
children: /* @__PURE__ */ k(
|
|
98821
|
+
children: /* @__PURE__ */ k(ps, { className: "grid w-full grid-cols-2", children: [
|
|
98822
98822
|
/* @__PURE__ */ p(er, { value: "database", children: "Direct Source" }),
|
|
98823
98823
|
/* @__PURE__ */ p(er, { value: "semanticDomain", children: "Semantic Domain" })
|
|
98824
98824
|
] })
|
|
@@ -98855,7 +98855,7 @@ function yX({
|
|
|
98855
98855
|
onDeselectEntity: E
|
|
98856
98856
|
}
|
|
98857
98857
|
),
|
|
98858
|
-
/* @__PURE__ */ p(
|
|
98858
|
+
/* @__PURE__ */ p(hs, { className: "flex-shrink-0", children: /* @__PURE__ */ p("div", { className: "flex w-full justify-between", children: /* @__PURE__ */ k("div", { className: "flex grow justify-end gap-2", children: [
|
|
98859
98859
|
/* @__PURE__ */ p(
|
|
98860
98860
|
ue,
|
|
98861
98861
|
{
|
|
@@ -99206,7 +99206,7 @@ var WYe = [
|
|
|
99206
99206
|
"svg",
|
|
99207
99207
|
"ul"
|
|
99208
99208
|
], Ob = WYe.reduce((e, t) => {
|
|
99209
|
-
const n = /* @__PURE__ */
|
|
99209
|
+
const n = /* @__PURE__ */ is(`Primitive.${t}`), r = N.forwardRef((o, i) => {
|
|
99210
99210
|
const { asChild: s, ...a } = o, l = s ? n : t;
|
|
99211
99211
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(l, { ...a, ref: i });
|
|
99212
99212
|
});
|
|
@@ -99221,14 +99221,14 @@ function qYe(e) {
|
|
|
99221
99221
|
return /* @__PURE__ */ p(o, { scope: y, itemMap: x, collectionRef: v, children: b });
|
|
99222
99222
|
};
|
|
99223
99223
|
s.displayName = t;
|
|
99224
|
-
const a = e + "CollectionSlot", l = /* @__PURE__ */
|
|
99224
|
+
const a = e + "CollectionSlot", l = /* @__PURE__ */ is(a), c = G.forwardRef(
|
|
99225
99225
|
(g, y) => {
|
|
99226
99226
|
const { scope: b, children: v } = g, x = i(a, b), w = fc(y, x.collectionRef);
|
|
99227
99227
|
return /* @__PURE__ */ p(l, { ref: w, children: v });
|
|
99228
99228
|
}
|
|
99229
99229
|
);
|
|
99230
99230
|
c.displayName = a;
|
|
99231
|
-
const u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = /* @__PURE__ */
|
|
99231
|
+
const u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = /* @__PURE__ */ is(u), h = G.forwardRef(
|
|
99232
99232
|
(g, y) => {
|
|
99233
99233
|
const { scope: b, children: v, ...x } = g, w = G.useRef(null), S = fc(y, w), E = i(u, b);
|
|
99234
99234
|
return G.useEffect(() => (E.itemMap.set(w, { ref: w, ...x }), () => void E.itemMap.delete(w))), /* @__PURE__ */ p(f, { [d]: "", ref: S, children: v });
|
|
@@ -99257,7 +99257,7 @@ var CX = ["PageUp", "PageDown"], EX = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
|
|
|
99257
99257
|
"from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
|
|
99258
99258
|
"from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
|
|
99259
99259
|
"from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"]
|
|
99260
|
-
}, Bh = "Slider", [jk, GYe, YYe] = qYe(Bh), [kX,
|
|
99260
|
+
}, Bh = "Slider", [jk, GYe, YYe] = qYe(Bh), [kX, QQe] = wX(Bh, [
|
|
99261
99261
|
YYe
|
|
99262
99262
|
]), [ZYe, B1] = kX(Bh), _X = N.forwardRef(
|
|
99263
99263
|
(e, t) => {
|
|
@@ -99882,12 +99882,12 @@ const zX = Er(
|
|
|
99882
99882
|
/* @__PURE__ */ k("div", { className: "flex items-center justify-between border-foreground/10 px-3 py-2", children: [
|
|
99883
99883
|
/* @__PURE__ */ k("div", { className: "flex items-center gap-2", children: [
|
|
99884
99884
|
/* @__PURE__ */ k(
|
|
99885
|
-
|
|
99885
|
+
Yi,
|
|
99886
99886
|
{
|
|
99887
99887
|
open: u,
|
|
99888
99888
|
onOpenChange: d,
|
|
99889
99889
|
children: [
|
|
99890
|
-
/* @__PURE__ */ p(
|
|
99890
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: /* @__PURE__ */ p(
|
|
99891
99891
|
ue,
|
|
99892
99892
|
{
|
|
99893
99893
|
variant: "secondary",
|
|
@@ -99898,7 +99898,7 @@ const zX = Er(
|
|
|
99898
99898
|
}
|
|
99899
99899
|
) }),
|
|
99900
99900
|
/* @__PURE__ */ p(
|
|
99901
|
-
|
|
99901
|
+
Ki,
|
|
99902
99902
|
{
|
|
99903
99903
|
className: "w-80 p-0",
|
|
99904
99904
|
align: "start",
|
|
@@ -99945,12 +99945,12 @@ const zX = Er(
|
|
|
99945
99945
|
}
|
|
99946
99946
|
),
|
|
99947
99947
|
/* @__PURE__ */ k(
|
|
99948
|
-
|
|
99948
|
+
Yi,
|
|
99949
99949
|
{
|
|
99950
99950
|
open: m,
|
|
99951
99951
|
onOpenChange: g,
|
|
99952
99952
|
children: [
|
|
99953
|
-
/* @__PURE__ */ p(
|
|
99953
|
+
/* @__PURE__ */ p(Zi, { asChild: !0, children: /* @__PURE__ */ p(
|
|
99954
99954
|
ue,
|
|
99955
99955
|
{
|
|
99956
99956
|
variant: "secondary",
|
|
@@ -99961,7 +99961,7 @@ const zX = Er(
|
|
|
99961
99961
|
}
|
|
99962
99962
|
) }),
|
|
99963
99963
|
/* @__PURE__ */ p(
|
|
99964
|
-
|
|
99964
|
+
Ki,
|
|
99965
99965
|
{
|
|
99966
99966
|
className: "w-72",
|
|
99967
99967
|
align: "start",
|
|
@@ -100767,7 +100767,7 @@ function wZe() {
|
|
|
100767
100767
|
var B, z;
|
|
100768
100768
|
if (b && b.length > 1 || v)
|
|
100769
100769
|
return /* @__PURE__ */ k(
|
|
100770
|
-
|
|
100770
|
+
ps,
|
|
100771
100771
|
{
|
|
100772
100772
|
role: "tab-list",
|
|
100773
100773
|
className: "flex h-11 items-center justify-start gap-2 rounded-none border-b border-b-muted bg-transparent px-2.5 py-3",
|
|
@@ -100815,7 +100815,7 @@ function wZe() {
|
|
|
100815
100815
|
},
|
|
100816
100816
|
className: "flex h-7 items-center justify-center border-none bg-muted p-2 hover:cursor-pointer dark:border-l-background",
|
|
100817
100817
|
onClick: M,
|
|
100818
|
-
children: /* @__PURE__ */ p(
|
|
100818
|
+
children: /* @__PURE__ */ p(os, { className: "size-3" })
|
|
100819
100819
|
}
|
|
100820
100820
|
)
|
|
100821
100821
|
]
|
|
@@ -100960,7 +100960,7 @@ function wZe() {
|
|
|
100960
100960
|
] }) : null;
|
|
100961
100961
|
}
|
|
100962
100962
|
function SZe({ children: e }) {
|
|
100963
|
-
return /* @__PURE__ */ p(
|
|
100963
|
+
return /* @__PURE__ */ p(ds, { style: { height: "100%", width: "100%" }, children: /* @__PURE__ */ p(Fee, { defaultTheme: "system", storageKey: "vite-ui-theme", children: /* @__PURE__ */ p(_h, { delayDuration: 0, children: e }) }) });
|
|
100964
100964
|
}
|
|
100965
100965
|
function CZe({
|
|
100966
100966
|
children: e,
|
|
@@ -100989,7 +100989,7 @@ function EZe(e) {
|
|
|
100989
100989
|
const { preferences: t } = e;
|
|
100990
100990
|
return /* @__PURE__ */ p(Ih, { FallbackComponent: NU, children: /* @__PURE__ */ p(ute, { dashboardProps: e, children: /* @__PURE__ */ p(SZe, { children: /* @__PURE__ */ p(CZe, { preferences: t, children: /* @__PURE__ */ p("main", { className: "flex h-full flex-col", children: /* @__PURE__ */ p(Lie, { ...e, type: "dashboard", children: /* @__PURE__ */ p(wZe, {}) }) }) }) }) }) });
|
|
100991
100991
|
}
|
|
100992
|
-
const
|
|
100992
|
+
const JQe = (e) => {
|
|
100993
100993
|
const {
|
|
100994
100994
|
currentContext: t,
|
|
100995
100995
|
currentMode: n,
|
|
@@ -101385,7 +101385,7 @@ const l3 = {
|
|
|
101385
101385
|
}
|
|
101386
101386
|
}
|
|
101387
101387
|
}))
|
|
101388
|
-
), RZe = () => no((e) => e.searchQuery),
|
|
101388
|
+
), RZe = () => no((e) => e.searchQuery), eJe = () => no((e) => e.selectedUsers), tJe = () => no((e) => e.usersToRemove), nJe = () => no((e) => e.usersToUpdate), rJe = () => no((e) => e.selectedTenant), oJe = () => no((e) => e.selectedTab), iJe = () => no((e) => e.currentContext), sJe = () => no((e) => e.currentMode), aJe = () => no((e) => e.orgWideRole), lJe = () => no((e) => e.allTenantsRole), cJe = () => no((e) => e.tenantWideRole), uJe = () => no((e) => e.groupWideRole), dJe = () => no((e) => e.selectedGroups), fJe = () => no((e) => e.groupsToRemove), hJe = () => no((e) => e.groupsToUpdate), MZe = () => no((e) => e.actions), pJe = () => {
|
|
101389
101389
|
const e = RZe(), t = _Ze(e, 300), n = MZe();
|
|
101390
101390
|
return G.useEffect(() => {
|
|
101391
101391
|
n.setDebouncedSearchQuery(t);
|
|
@@ -101474,7 +101474,7 @@ var Wk = globalThis != null && globalThis.document ? N.useLayoutEffect : () => {
|
|
|
101474
101474
|
"svg",
|
|
101475
101475
|
"ul"
|
|
101476
101476
|
], $D = AZe.reduce((e, t) => {
|
|
101477
|
-
const n = /* @__PURE__ */
|
|
101477
|
+
const n = /* @__PURE__ */ is(`Primitive.${t}`), r = N.forwardRef((o, i) => {
|
|
101478
101478
|
const { asChild: s, ...a } = o, l = s ? n : t;
|
|
101479
101479
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(l, { ...a, ref: i });
|
|
101480
101480
|
});
|
|
@@ -101491,7 +101491,7 @@ function OZe() {
|
|
|
101491
101491
|
return () => {
|
|
101492
101492
|
};
|
|
101493
101493
|
}
|
|
101494
|
-
var LD = "Avatar", [FZe,
|
|
101494
|
+
var LD = "Avatar", [FZe, mJe] = PZe(LD), [$Ze, BX] = FZe(LD), VX = N.forwardRef(
|
|
101495
101495
|
(e, t) => {
|
|
101496
101496
|
const { __scopeAvatar: n, ...r } = e, [o, i] = N.useState("idle");
|
|
101497
101497
|
return /* @__PURE__ */ p(
|
|
@@ -102277,7 +102277,7 @@ function HKe() {
|
|
|
102277
102277
|
})), () => n == null ? void 0 : n.cancel();
|
|
102278
102278
|
}), e;
|
|
102279
102279
|
}
|
|
102280
|
-
var
|
|
102280
|
+
var gJe = HKe;
|
|
102281
102281
|
function UKe(e) {
|
|
102282
102282
|
let t = xe();
|
|
102283
102283
|
return me(() => {
|
|
@@ -102350,7 +102350,7 @@ function qKe({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, la
|
|
|
102350
102350
|
}
|
|
102351
102351
|
return G.createElement(JX, { width: h, height: m, isEditorReady: S, loading: l, _ref: T, className: g, wrapperProps: y });
|
|
102352
102352
|
}
|
|
102353
|
-
var GKe = qKe, YKe = Tg(GKe),
|
|
102353
|
+
var GKe = qKe, YKe = Tg(GKe), bJe = YKe, ll = "Accordion", ZKe = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [BD, KKe, XKe] = nw(ll), [j1, yJe] = Nr(ll, [
|
|
102354
102354
|
XKe,
|
|
102355
102355
|
oK
|
|
102356
102356
|
]), VD = oK(), tQ = G.forwardRef(
|
|
@@ -102564,7 +102564,7 @@ function dQ(e) {
|
|
|
102564
102564
|
return e ? "open" : "closed";
|
|
102565
102565
|
}
|
|
102566
102566
|
var oXe = tQ, iXe = iQ, sXe = aQ, fQ = lQ, hQ = uQ;
|
|
102567
|
-
const
|
|
102567
|
+
const vJe = oXe, aXe = N.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
102568
102568
|
iXe,
|
|
102569
102569
|
{
|
|
102570
102570
|
ref: n,
|
|
@@ -102745,7 +102745,7 @@ const CXe = {
|
|
|
102745
102745
|
selectedSheetId: "string",
|
|
102746
102746
|
eventHandlers: "json",
|
|
102747
102747
|
preferences: "json"
|
|
102748
|
-
},
|
|
102748
|
+
}, xJe = SXe(EZe, {
|
|
102749
102749
|
props: CXe
|
|
102750
102750
|
});
|
|
102751
102751
|
export {
|
|
@@ -102773,29 +102773,29 @@ export {
|
|
|
102773
102773
|
SZe as U,
|
|
102774
102774
|
Mee as V,
|
|
102775
102775
|
et as W,
|
|
102776
|
-
|
|
102777
|
-
|
|
102778
|
-
|
|
102776
|
+
fs as X,
|
|
102777
|
+
QXe as Y,
|
|
102778
|
+
os as Z,
|
|
102779
102779
|
Pi as _,
|
|
102780
102780
|
yY as a,
|
|
102781
|
-
|
|
102781
|
+
lJe as a$,
|
|
102782
102782
|
Ti as a0,
|
|
102783
102783
|
Qs as a1,
|
|
102784
102784
|
he as a2,
|
|
102785
102785
|
$r as a3,
|
|
102786
|
-
|
|
102786
|
+
hs as a4,
|
|
102787
102787
|
Wd as a5,
|
|
102788
102788
|
cm as a6,
|
|
102789
102789
|
d1 as a7,
|
|
102790
|
-
|
|
102790
|
+
RQe as a8,
|
|
102791
102791
|
RNe as a9,
|
|
102792
102792
|
Ja as aA,
|
|
102793
|
-
|
|
102793
|
+
rs as aB,
|
|
102794
102794
|
Nn as aC,
|
|
102795
102795
|
Us as aD,
|
|
102796
102796
|
ar as aE,
|
|
102797
102797
|
IT as aF,
|
|
102798
|
-
|
|
102798
|
+
sJe as aG,
|
|
102799
102799
|
Ua as aH,
|
|
102800
102800
|
Wa as aI,
|
|
102801
102801
|
qa as aJ,
|
|
@@ -102806,19 +102806,19 @@ export {
|
|
|
102806
102806
|
v1 as aO,
|
|
102807
102807
|
cne as aP,
|
|
102808
102808
|
JRe as aQ,
|
|
102809
|
-
|
|
102810
|
-
|
|
102811
|
-
|
|
102812
|
-
|
|
102813
|
-
|
|
102814
|
-
|
|
102815
|
-
|
|
102816
|
-
|
|
102809
|
+
UXe as aR,
|
|
102810
|
+
oJe as aS,
|
|
102811
|
+
rJe as aT,
|
|
102812
|
+
pJe as aU,
|
|
102813
|
+
aJe as aV,
|
|
102814
|
+
dJe as aW,
|
|
102815
|
+
fJe as aX,
|
|
102816
|
+
hJe as aY,
|
|
102817
102817
|
rv as aZ,
|
|
102818
|
-
|
|
102818
|
+
cJe as a_,
|
|
102819
102819
|
Yte as aa,
|
|
102820
102820
|
K as ab,
|
|
102821
|
-
|
|
102821
|
+
UQe as ac,
|
|
102822
102822
|
d_ as ad,
|
|
102823
102823
|
Wte as ae,
|
|
102824
102824
|
Qte as af,
|
|
@@ -102833,9 +102833,9 @@ export {
|
|
|
102833
102833
|
Wn as ao,
|
|
102834
102834
|
Ka as ap,
|
|
102835
102835
|
Em as aq,
|
|
102836
|
-
|
|
102837
|
-
|
|
102838
|
-
|
|
102836
|
+
eJe as ar,
|
|
102837
|
+
tJe as as,
|
|
102838
|
+
nJe as at,
|
|
102839
102839
|
RZe as au,
|
|
102840
102840
|
MZe as av,
|
|
102841
102841
|
_h as aw,
|
|
@@ -102844,31 +102844,31 @@ export {
|
|
|
102844
102844
|
Fg as az,
|
|
102845
102845
|
EU as b,
|
|
102846
102846
|
AL as b$,
|
|
102847
|
-
|
|
102848
|
-
|
|
102847
|
+
HXe as b0,
|
|
102848
|
+
PQe as b1,
|
|
102849
102849
|
Cm as b2,
|
|
102850
102850
|
Wt as b3,
|
|
102851
102851
|
Ft as b4,
|
|
102852
102852
|
Yt as b5,
|
|
102853
102853
|
$t as b6,
|
|
102854
102854
|
Me as b7,
|
|
102855
|
-
|
|
102856
|
-
|
|
102855
|
+
iJe as b8,
|
|
102856
|
+
uJe as b9,
|
|
102857
102857
|
gP as bA,
|
|
102858
102858
|
pP as bB,
|
|
102859
102859
|
yP as bC,
|
|
102860
102860
|
bP as bD,
|
|
102861
|
-
|
|
102862
|
-
|
|
102861
|
+
As as bE,
|
|
102862
|
+
zXe as bF,
|
|
102863
102863
|
yL as bG,
|
|
102864
|
-
|
|
102864
|
+
WXe as bH,
|
|
102865
102865
|
Tr as bI,
|
|
102866
102866
|
bce as bJ,
|
|
102867
|
-
|
|
102868
|
-
|
|
102869
|
-
|
|
102867
|
+
po as bK,
|
|
102868
|
+
ZXe as bL,
|
|
102869
|
+
Xl as bM,
|
|
102870
102870
|
bg as bN,
|
|
102871
|
-
|
|
102871
|
+
YXe as bO,
|
|
102872
102872
|
gw as bP,
|
|
102873
102873
|
f_ as bQ,
|
|
102874
102874
|
qx as bR,
|
|
@@ -102877,25 +102877,25 @@ export {
|
|
|
102877
102877
|
Ece as bU,
|
|
102878
102878
|
$ie as bV,
|
|
102879
102879
|
BL as bW,
|
|
102880
|
-
|
|
102880
|
+
oQe as bX,
|
|
102881
102881
|
X$e as bY,
|
|
102882
102882
|
lre as bZ,
|
|
102883
102883
|
v0 as b_,
|
|
102884
|
-
|
|
102884
|
+
JQe as ba,
|
|
102885
102885
|
NZe as bb,
|
|
102886
102886
|
tl as bc,
|
|
102887
102887
|
dre as bd,
|
|
102888
102888
|
fre as be,
|
|
102889
102889
|
ta as bf,
|
|
102890
|
-
|
|
102890
|
+
ps as bg,
|
|
102891
102891
|
er as bh,
|
|
102892
102892
|
Ir as bi,
|
|
102893
|
-
|
|
102893
|
+
Gi as bj,
|
|
102894
102894
|
Mi as bk,
|
|
102895
102895
|
el as bl,
|
|
102896
102896
|
ed as bm,
|
|
102897
102897
|
$g as bn,
|
|
102898
|
-
|
|
102898
|
+
MQe as bo,
|
|
102899
102899
|
Qa as bp,
|
|
102900
102900
|
Hl as bq,
|
|
102901
102901
|
dh as br,
|
|
@@ -102909,10 +102909,10 @@ export {
|
|
|
102909
102909
|
mP as bz,
|
|
102910
102910
|
z$e as c,
|
|
102911
102911
|
ox as c$,
|
|
102912
|
-
|
|
102913
|
-
|
|
102912
|
+
Yi as c0,
|
|
102913
|
+
Zi as c1,
|
|
102914
102914
|
Ko as c2,
|
|
102915
|
-
|
|
102915
|
+
Ki as c3,
|
|
102916
102916
|
kR as c4,
|
|
102917
102917
|
_R as c5,
|
|
102918
102918
|
RR as c6,
|
|
@@ -102921,16 +102921,16 @@ export {
|
|
|
102921
102921
|
DR as c9,
|
|
102922
102922
|
Pu as cA,
|
|
102923
102923
|
Oh as cB,
|
|
102924
|
-
|
|
102924
|
+
gJe as cC,
|
|
102925
102925
|
H3 as cD,
|
|
102926
102926
|
Yge as cE,
|
|
102927
|
-
|
|
102927
|
+
bJe as cF,
|
|
102928
102928
|
IXe as cG,
|
|
102929
102929
|
eR as cH,
|
|
102930
102930
|
gr as cI,
|
|
102931
102931
|
D3e as cJ,
|
|
102932
102932
|
SF as cK,
|
|
102933
|
-
|
|
102933
|
+
GQe as cL,
|
|
102934
102934
|
rne as cM,
|
|
102935
102935
|
mb as cN,
|
|
102936
102936
|
Tee as cO,
|
|
@@ -102950,17 +102950,17 @@ export {
|
|
|
102950
102950
|
G9 as cb,
|
|
102951
102951
|
af as cc,
|
|
102952
102952
|
uS as cd,
|
|
102953
|
-
|
|
102953
|
+
ts as ce,
|
|
102954
102954
|
o_ as cf,
|
|
102955
102955
|
$ue as cg,
|
|
102956
102956
|
Ga as ch,
|
|
102957
102957
|
Eie as ci,
|
|
102958
102958
|
Jue as cj,
|
|
102959
|
-
|
|
102959
|
+
JXe as ck,
|
|
102960
102960
|
Z8 as cl,
|
|
102961
102961
|
mv as cm,
|
|
102962
102962
|
cue as cn,
|
|
102963
|
-
|
|
102963
|
+
$Qe as co,
|
|
102964
102964
|
Ha as cp,
|
|
102965
102965
|
_L as cq,
|
|
102966
102966
|
Gx as cr,
|
|
@@ -102972,7 +102972,7 @@ export {
|
|
|
102972
102972
|
pg as cx,
|
|
102973
102973
|
DL as cy,
|
|
102974
102974
|
mg as cz,
|
|
102975
|
-
|
|
102975
|
+
FQe as d,
|
|
102976
102976
|
d4e as d$,
|
|
102977
102977
|
nP as d0,
|
|
102978
102978
|
iIe as d1,
|
|
@@ -102985,7 +102985,7 @@ export {
|
|
|
102985
102985
|
FXe as d8,
|
|
102986
102986
|
bL as d9,
|
|
102987
102987
|
vX as dA,
|
|
102988
|
-
|
|
102988
|
+
vJe as dB,
|
|
102989
102989
|
aXe as dC,
|
|
102990
102990
|
lXe as dD,
|
|
102991
102991
|
cXe as dE,
|
|
@@ -102997,7 +102997,7 @@ export {
|
|
|
102997
102997
|
Nte as dK,
|
|
102998
102998
|
H2 as dL,
|
|
102999
102999
|
K$e as dM,
|
|
103000
|
-
|
|
103000
|
+
HQe as dN,
|
|
103001
103001
|
U$e as dO,
|
|
103002
103002
|
r_ as dP,
|
|
103003
103003
|
Cn as dQ,
|
|
@@ -103005,11 +103005,11 @@ export {
|
|
|
103005
103005
|
j8 as dS,
|
|
103006
103006
|
MA as dT,
|
|
103007
103007
|
ane as dU,
|
|
103008
|
-
|
|
103008
|
+
rQe as dV,
|
|
103009
103009
|
eB as dW,
|
|
103010
|
-
|
|
103011
|
-
|
|
103012
|
-
|
|
103010
|
+
fQe as dX,
|
|
103011
|
+
hQe as dY,
|
|
103012
|
+
Ms as dZ,
|
|
103013
103013
|
bi as d_,
|
|
103014
103014
|
PRe as da,
|
|
103015
103015
|
Jte as db,
|
|
@@ -103030,13 +103030,13 @@ export {
|
|
|
103030
103030
|
Cte as dr,
|
|
103031
103031
|
_U as ds,
|
|
103032
103032
|
$0 as dt,
|
|
103033
|
-
|
|
103033
|
+
dQe as du,
|
|
103034
103034
|
nk as dv,
|
|
103035
103035
|
ix as dw,
|
|
103036
103036
|
hx as dx,
|
|
103037
103037
|
Lte as dy,
|
|
103038
|
-
|
|
103039
|
-
|
|
103038
|
+
DQe as dz,
|
|
103039
|
+
LQe as e,
|
|
103040
103040
|
ww as e$,
|
|
103041
103041
|
Sz as e0,
|
|
103042
103042
|
Bue as e1,
|
|
@@ -103050,22 +103050,22 @@ export {
|
|
|
103050
103050
|
dYe as e9,
|
|
103051
103051
|
yX as eA,
|
|
103052
103052
|
ECe as eB,
|
|
103053
|
-
|
|
103054
|
-
|
|
103055
|
-
|
|
103056
|
-
|
|
103057
|
-
|
|
103053
|
+
yQe as eC,
|
|
103054
|
+
vQe as eD,
|
|
103055
|
+
SQe as eE,
|
|
103056
|
+
xQe as eF,
|
|
103057
|
+
CQe as eG,
|
|
103058
103058
|
Pie as eH,
|
|
103059
103059
|
Z3 as eI,
|
|
103060
103060
|
ML as eJ,
|
|
103061
103061
|
Ni as eK,
|
|
103062
103062
|
m_ as eL,
|
|
103063
|
-
|
|
103063
|
+
XQe as eM,
|
|
103064
103064
|
SYe as eN,
|
|
103065
103065
|
rP as eO,
|
|
103066
|
-
|
|
103066
|
+
TQe as eP,
|
|
103067
103067
|
G3 as eQ,
|
|
103068
|
-
|
|
103068
|
+
wQe as eR,
|
|
103069
103069
|
$te as eS,
|
|
103070
103070
|
ide as eT,
|
|
103071
103071
|
Xte as eU,
|
|
@@ -103078,9 +103078,9 @@ export {
|
|
|
103078
103078
|
pX as ea,
|
|
103079
103079
|
Die as eb,
|
|
103080
103080
|
pYe as ec,
|
|
103081
|
-
|
|
103082
|
-
|
|
103083
|
-
|
|
103081
|
+
KQe as ed,
|
|
103082
|
+
ZQe as ee,
|
|
103083
|
+
YQe as ef,
|
|
103084
103084
|
hYe as eg,
|
|
103085
103085
|
G0 as eh,
|
|
103086
103086
|
tw as ei,
|
|
@@ -103118,23 +103118,24 @@ export {
|
|
|
103118
103118
|
Nie as fd,
|
|
103119
103119
|
kie as fe,
|
|
103120
103120
|
_ie as ff,
|
|
103121
|
-
|
|
103122
|
-
|
|
103121
|
+
qQe as fg,
|
|
103122
|
+
WQe as fh,
|
|
103123
103123
|
wZe as fi,
|
|
103124
103124
|
YKe as fj,
|
|
103125
|
-
|
|
103125
|
+
VXe as fk,
|
|
103126
103126
|
Vte as fl,
|
|
103127
103127
|
NL as fm,
|
|
103128
|
-
|
|
103129
|
-
|
|
103130
|
-
|
|
103128
|
+
GXe as fn,
|
|
103129
|
+
qXe as fo,
|
|
103130
|
+
BXe as fp,
|
|
103131
103131
|
pre as fq,
|
|
103132
|
-
|
|
103133
|
-
|
|
103134
|
-
|
|
103135
|
-
|
|
103132
|
+
LXe as fr,
|
|
103133
|
+
jXe as fs,
|
|
103134
|
+
CZe as ft,
|
|
103135
|
+
EQe as g,
|
|
103136
|
+
xJe as h,
|
|
103136
103137
|
OXe as i,
|
|
103137
|
-
|
|
103138
|
+
uQe as j,
|
|
103138
103139
|
kZe as k,
|
|
103139
103140
|
U3 as l,
|
|
103140
103141
|
t_ as m,
|