react-semaphor 0.0.632 → 0.0.633
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-C9Zc94LX.js → dashboard-plus-BlOSqp6l.js} +1 -1
- package/dist/chunks/{dashboard-plus-Cj66-ScR.js → dashboard-plus-CBymYEeU.js} +1 -1
- package/dist/chunks/{index-BN9MFMRc.js → index-285H1_10.js} +47 -47
- package/dist/chunks/{index-Ccd0W9ao.js → index-CnqxbwDX.js} +329 -340
- 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/package.json +1 -1
|
@@ -14,7 +14,7 @@ var Lb = (e, t, n, r) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import * as S from "react";
|
|
17
|
-
import G, { createContext as gn, useState as
|
|
17
|
+
import G, { createContext as gn, useState as ne, useEffect as ue, useContext as Wt, forwardRef as Er, useMemo as ye, useCallback as be, createElement as On, isValidElement as Ml, useLayoutEffect as Pg, useRef as me, memo as Tg, useReducer as I_, cloneElement as _x, Suspense as iQ, Component as aQ, Children as $p, Fragment as Rl, useId as Wu, useSyncExternalStore as u0, createRef as sQ } from "react";
|
|
18
18
|
import * as Rs from "react-dom";
|
|
19
19
|
import Jl, { unstable_batchedUpdates as zb, createPortal as kx, flushSync as zc } from "react-dom";
|
|
20
20
|
import * as OP from "react/jsx-runtime";
|
|
@@ -5141,35 +5141,35 @@ z0.exports;
|
|
|
5141
5141
|
} catch {
|
|
5142
5142
|
}
|
|
5143
5143
|
}(), Q = te && te.isTypedArray;
|
|
5144
|
-
function ce(Z,
|
|
5144
|
+
function ce(Z, re, se) {
|
|
5145
5145
|
switch (se.length) {
|
|
5146
5146
|
case 0:
|
|
5147
|
-
return Z.call(
|
|
5147
|
+
return Z.call(re);
|
|
5148
5148
|
case 1:
|
|
5149
|
-
return Z.call(
|
|
5149
|
+
return Z.call(re, se[0]);
|
|
5150
5150
|
case 2:
|
|
5151
|
-
return Z.call(
|
|
5151
|
+
return Z.call(re, se[0], se[1]);
|
|
5152
5152
|
case 3:
|
|
5153
|
-
return Z.call(
|
|
5153
|
+
return Z.call(re, se[0], se[1], se[2]);
|
|
5154
5154
|
}
|
|
5155
|
-
return Z.apply(
|
|
5155
|
+
return Z.apply(re, se);
|
|
5156
5156
|
}
|
|
5157
|
-
function le(Z,
|
|
5157
|
+
function le(Z, re) {
|
|
5158
5158
|
for (var se = -1, Ue = Array(Z); ++se < Z; )
|
|
5159
|
-
Ue[se] =
|
|
5159
|
+
Ue[se] = re(se);
|
|
5160
5160
|
return Ue;
|
|
5161
5161
|
}
|
|
5162
5162
|
function ae(Z) {
|
|
5163
|
-
return function(
|
|
5164
|
-
return Z(
|
|
5163
|
+
return function(re) {
|
|
5164
|
+
return Z(re);
|
|
5165
5165
|
};
|
|
5166
5166
|
}
|
|
5167
|
-
function we(Z,
|
|
5168
|
-
return Z == null ? void 0 : Z[
|
|
5167
|
+
function we(Z, re) {
|
|
5168
|
+
return Z == null ? void 0 : Z[re];
|
|
5169
5169
|
}
|
|
5170
|
-
function Ae(Z,
|
|
5170
|
+
function Ae(Z, re) {
|
|
5171
5171
|
return function(se) {
|
|
5172
|
-
return Z(
|
|
5172
|
+
return Z(re(se));
|
|
5173
5173
|
};
|
|
5174
5174
|
}
|
|
5175
5175
|
var Se = Array.prototype, Te = Function.prototype, Ye = Object.prototype, xt = X["__core-js_shared__"], Xe = Te.toString, Je = Ye.hasOwnProperty, En = function() {
|
|
@@ -5188,20 +5188,20 @@ z0.exports;
|
|
|
5188
5188
|
}(), Wn = $e ? $e.isBuffer : void 0, Ce = Math.max, _e = Date.now, Be = T1(X, "Map"), De = T1(Object, "create"), Fe = /* @__PURE__ */ function() {
|
|
5189
5189
|
function Z() {
|
|
5190
5190
|
}
|
|
5191
|
-
return function(
|
|
5192
|
-
if (!bc(
|
|
5191
|
+
return function(re) {
|
|
5192
|
+
if (!bc(re))
|
|
5193
5193
|
return {};
|
|
5194
5194
|
if (It)
|
|
5195
|
-
return It(
|
|
5196
|
-
Z.prototype =
|
|
5195
|
+
return It(re);
|
|
5196
|
+
Z.prototype = re;
|
|
5197
5197
|
var se = new Z();
|
|
5198
5198
|
return Z.prototype = void 0, se;
|
|
5199
5199
|
};
|
|
5200
5200
|
}();
|
|
5201
5201
|
function Ke(Z) {
|
|
5202
|
-
var
|
|
5203
|
-
for (this.clear(); ++
|
|
5204
|
-
var Ue = Z[
|
|
5202
|
+
var re = -1, se = Z == null ? 0 : Z.length;
|
|
5203
|
+
for (this.clear(); ++re < se; ) {
|
|
5204
|
+
var Ue = Z[re];
|
|
5205
5205
|
this.set(Ue[0], Ue[1]);
|
|
5206
5206
|
}
|
|
5207
5207
|
}
|
|
@@ -5209,30 +5209,30 @@ z0.exports;
|
|
|
5209
5209
|
this.__data__ = De ? De(null) : {}, this.size = 0;
|
|
5210
5210
|
}
|
|
5211
5211
|
function Ge(Z) {
|
|
5212
|
-
var
|
|
5213
|
-
return this.size -=
|
|
5212
|
+
var re = this.has(Z) && delete this.__data__[Z];
|
|
5213
|
+
return this.size -= re ? 1 : 0, re;
|
|
5214
5214
|
}
|
|
5215
5215
|
function it(Z) {
|
|
5216
|
-
var
|
|
5216
|
+
var re = this.__data__;
|
|
5217
5217
|
if (De) {
|
|
5218
|
-
var se =
|
|
5218
|
+
var se = re[Z];
|
|
5219
5219
|
return se === r ? void 0 : se;
|
|
5220
5220
|
}
|
|
5221
|
-
return Je.call(
|
|
5221
|
+
return Je.call(re, Z) ? re[Z] : void 0;
|
|
5222
5222
|
}
|
|
5223
5223
|
function ut(Z) {
|
|
5224
|
-
var
|
|
5225
|
-
return De ?
|
|
5224
|
+
var re = this.__data__;
|
|
5225
|
+
return De ? re[Z] !== void 0 : Je.call(re, Z);
|
|
5226
5226
|
}
|
|
5227
|
-
function Gt(Z,
|
|
5227
|
+
function Gt(Z, re) {
|
|
5228
5228
|
var se = this.__data__;
|
|
5229
|
-
return this.size += this.has(Z) ? 0 : 1, se[Z] = De &&
|
|
5229
|
+
return this.size += this.has(Z) ? 0 : 1, se[Z] = De && re === void 0 ? r : re, this;
|
|
5230
5230
|
}
|
|
5231
5231
|
Ke.prototype.clear = He, Ke.prototype.delete = Ge, Ke.prototype.get = it, Ke.prototype.has = ut, Ke.prototype.set = Gt;
|
|
5232
5232
|
function Ot(Z) {
|
|
5233
|
-
var
|
|
5234
|
-
for (this.clear(); ++
|
|
5235
|
-
var Ue = Z[
|
|
5233
|
+
var re = -1, se = Z == null ? 0 : Z.length;
|
|
5234
|
+
for (this.clear(); ++re < se; ) {
|
|
5235
|
+
var Ue = Z[re];
|
|
5236
5236
|
this.set(Ue[0], Ue[1]);
|
|
5237
5237
|
}
|
|
5238
5238
|
}
|
|
@@ -5240,28 +5240,28 @@ z0.exports;
|
|
|
5240
5240
|
this.__data__ = [], this.size = 0;
|
|
5241
5241
|
}
|
|
5242
5242
|
function ir(Z) {
|
|
5243
|
-
var
|
|
5243
|
+
var re = this.__data__, se = Ib(re, Z);
|
|
5244
5244
|
if (se < 0)
|
|
5245
5245
|
return !1;
|
|
5246
|
-
var Ue =
|
|
5247
|
-
return se == Ue ?
|
|
5246
|
+
var Ue = re.length - 1;
|
|
5247
|
+
return se == Ue ? re.pop() : Ne.call(re, se, 1), --this.size, !0;
|
|
5248
5248
|
}
|
|
5249
5249
|
function fn(Z) {
|
|
5250
|
-
var
|
|
5251
|
-
return se < 0 ? void 0 :
|
|
5250
|
+
var re = this.__data__, se = Ib(re, Z);
|
|
5251
|
+
return se < 0 ? void 0 : re[se][1];
|
|
5252
5252
|
}
|
|
5253
5253
|
function Un(Z) {
|
|
5254
5254
|
return Ib(this.__data__, Z) > -1;
|
|
5255
5255
|
}
|
|
5256
|
-
function ca(Z,
|
|
5256
|
+
function ca(Z, re) {
|
|
5257
5257
|
var se = this.__data__, Ue = Ib(se, Z);
|
|
5258
|
-
return Ue < 0 ? (++this.size, se.push([Z,
|
|
5258
|
+
return Ue < 0 ? (++this.size, se.push([Z, re])) : se[Ue][1] = re, this;
|
|
5259
5259
|
}
|
|
5260
5260
|
Ot.prototype.clear = Yt, Ot.prototype.delete = ir, Ot.prototype.get = fn, Ot.prototype.has = Un, Ot.prototype.set = ca;
|
|
5261
5261
|
function ro(Z) {
|
|
5262
|
-
var
|
|
5263
|
-
for (this.clear(); ++
|
|
5264
|
-
var Ue = Z[
|
|
5262
|
+
var re = -1, se = Z == null ? 0 : Z.length;
|
|
5263
|
+
for (this.clear(); ++re < se; ) {
|
|
5264
|
+
var Ue = Z[re];
|
|
5265
5265
|
this.set(Ue[0], Ue[1]);
|
|
5266
5266
|
}
|
|
5267
5267
|
}
|
|
@@ -5273,8 +5273,8 @@ z0.exports;
|
|
|
5273
5273
|
};
|
|
5274
5274
|
}
|
|
5275
5275
|
function ua(Z) {
|
|
5276
|
-
var
|
|
5277
|
-
return this.size -=
|
|
5276
|
+
var re = $b(this, Z).delete(Z);
|
|
5277
|
+
return this.size -= re ? 1 : 0, re;
|
|
5278
5278
|
}
|
|
5279
5279
|
function Zs(Z) {
|
|
5280
5280
|
return $b(this, Z).get(Z);
|
|
@@ -5282,21 +5282,21 @@ z0.exports;
|
|
|
5282
5282
|
function bX(Z) {
|
|
5283
5283
|
return $b(this, Z).has(Z);
|
|
5284
5284
|
}
|
|
5285
|
-
function yX(Z,
|
|
5285
|
+
function yX(Z, re) {
|
|
5286
5286
|
var se = $b(this, Z), Ue = se.size;
|
|
5287
|
-
return se.set(Z,
|
|
5287
|
+
return se.set(Z, re), this.size += se.size == Ue ? 0 : 1, this;
|
|
5288
5288
|
}
|
|
5289
5289
|
ro.prototype.clear = Vo, ro.prototype.delete = ua, ro.prototype.get = Zs, ro.prototype.has = bX, ro.prototype.set = yX;
|
|
5290
5290
|
function hd(Z) {
|
|
5291
|
-
var
|
|
5292
|
-
this.size =
|
|
5291
|
+
var re = this.__data__ = new Ot(Z);
|
|
5292
|
+
this.size = re.size;
|
|
5293
5293
|
}
|
|
5294
5294
|
function vX() {
|
|
5295
5295
|
this.__data__ = new Ot(), this.size = 0;
|
|
5296
5296
|
}
|
|
5297
5297
|
function xX(Z) {
|
|
5298
|
-
var
|
|
5299
|
-
return this.size =
|
|
5298
|
+
var re = this.__data__, se = re.delete(Z);
|
|
5299
|
+
return this.size = re.size, se;
|
|
5300
5300
|
}
|
|
5301
5301
|
function wX(Z) {
|
|
5302
5302
|
return this.__data__.get(Z);
|
|
@@ -5304,18 +5304,18 @@ z0.exports;
|
|
|
5304
5304
|
function SX(Z) {
|
|
5305
5305
|
return this.__data__.has(Z);
|
|
5306
5306
|
}
|
|
5307
|
-
function CX(Z,
|
|
5307
|
+
function CX(Z, re) {
|
|
5308
5308
|
var se = this.__data__;
|
|
5309
5309
|
if (se instanceof Ot) {
|
|
5310
5310
|
var Ue = se.__data__;
|
|
5311
5311
|
if (!Be || Ue.length < n - 1)
|
|
5312
|
-
return Ue.push([Z,
|
|
5312
|
+
return Ue.push([Z, re]), this.size = ++se.size, this;
|
|
5313
5313
|
se = this.__data__ = new ro(Ue);
|
|
5314
5314
|
}
|
|
5315
|
-
return se.set(Z,
|
|
5315
|
+
return se.set(Z, re), this.size = se.size, this;
|
|
5316
5316
|
}
|
|
5317
5317
|
hd.prototype.clear = vX, hd.prototype.delete = xX, hd.prototype.get = wX, hd.prototype.has = SX, hd.prototype.set = CX;
|
|
5318
|
-
function EX(Z,
|
|
5318
|
+
function EX(Z, re) {
|
|
5319
5319
|
var se = O1(Z), Ue = !se && I1(Z), Bt = !se && !Ue && MP(Z), hn = !se && !Ue && !Bt && DP(Z), Ln = se || Ue || Bt || hn, Zt = Ln ? le(Z.length, String) : [], zn = Zt.length;
|
|
5320
5320
|
for (var Ii in Z)
|
|
5321
5321
|
Ln && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
@@ -5325,26 +5325,26 @@ z0.exports;
|
|
|
5325
5325
|
_P(Ii, zn)) || Zt.push(Ii);
|
|
5326
5326
|
return Zt;
|
|
5327
5327
|
}
|
|
5328
|
-
function D1(Z,
|
|
5329
|
-
(se !== void 0 && !Fb(Z[
|
|
5328
|
+
function D1(Z, re, se) {
|
|
5329
|
+
(se !== void 0 && !Fb(Z[re], se) || se === void 0 && !(re in Z)) && P1(Z, re, se);
|
|
5330
5330
|
}
|
|
5331
|
-
function NX(Z,
|
|
5332
|
-
var Ue = Z[
|
|
5333
|
-
(!(Je.call(Z,
|
|
5331
|
+
function NX(Z, re, se) {
|
|
5332
|
+
var Ue = Z[re];
|
|
5333
|
+
(!(Je.call(Z, re) && Fb(Ue, se)) || se === void 0 && !(re in Z)) && P1(Z, re, se);
|
|
5334
5334
|
}
|
|
5335
|
-
function Ib(Z,
|
|
5335
|
+
function Ib(Z, re) {
|
|
5336
5336
|
for (var se = Z.length; se--; )
|
|
5337
|
-
if (Fb(Z[se][0],
|
|
5337
|
+
if (Fb(Z[se][0], re))
|
|
5338
5338
|
return se;
|
|
5339
5339
|
return -1;
|
|
5340
5340
|
}
|
|
5341
|
-
function P1(Z,
|
|
5342
|
-
|
|
5341
|
+
function P1(Z, re, se) {
|
|
5342
|
+
re == "__proto__" && Et ? Et(Z, re, {
|
|
5343
5343
|
configurable: !0,
|
|
5344
5344
|
enumerable: !0,
|
|
5345
5345
|
value: se,
|
|
5346
5346
|
writable: !0
|
|
5347
|
-
}) : Z[
|
|
5347
|
+
}) : Z[re] = se;
|
|
5348
5348
|
}
|
|
5349
5349
|
var _X = zX();
|
|
5350
5350
|
function Ob(Z) {
|
|
@@ -5356,8 +5356,8 @@ z0.exports;
|
|
|
5356
5356
|
function kX(Z) {
|
|
5357
5357
|
if (!bc(Z) || WX(Z))
|
|
5358
5358
|
return !1;
|
|
5359
|
-
var
|
|
5360
|
-
return
|
|
5359
|
+
var re = F1(Z) ? ge : W;
|
|
5360
|
+
return re.test(KX(Z));
|
|
5361
5361
|
}
|
|
5362
5362
|
function MX(Z) {
|
|
5363
5363
|
return zh(Z) && RP(Z.length) && !!T[Ob(Z)];
|
|
@@ -5365,167 +5365,167 @@ z0.exports;
|
|
|
5365
5365
|
function RX(Z) {
|
|
5366
5366
|
if (!bc(Z))
|
|
5367
5367
|
return UX(Z);
|
|
5368
|
-
var
|
|
5368
|
+
var re = kP(Z), se = [];
|
|
5369
5369
|
for (var Ue in Z)
|
|
5370
|
-
Ue == "constructor" && (
|
|
5370
|
+
Ue == "constructor" && (re || !Je.call(Z, Ue)) || se.push(Ue);
|
|
5371
5371
|
return se;
|
|
5372
5372
|
}
|
|
5373
|
-
function NP(Z,
|
|
5374
|
-
Z !==
|
|
5373
|
+
function NP(Z, re, se, Ue, Bt) {
|
|
5374
|
+
Z !== re && _X(re, function(hn, Ln) {
|
|
5375
5375
|
if (Bt || (Bt = new hd()), bc(hn))
|
|
5376
|
-
DX(Z,
|
|
5376
|
+
DX(Z, re, Ln, se, NP, Ue, Bt);
|
|
5377
5377
|
else {
|
|
5378
|
-
var Zt = Ue ? Ue(A1(Z, Ln), hn, Ln + "", Z,
|
|
5378
|
+
var Zt = Ue ? Ue(A1(Z, Ln), hn, Ln + "", Z, re, Bt) : void 0;
|
|
5379
5379
|
Zt === void 0 && (Zt = hn), D1(Z, Ln, Zt);
|
|
5380
5380
|
}
|
|
5381
5381
|
}, PP);
|
|
5382
5382
|
}
|
|
5383
|
-
function DX(Z,
|
|
5384
|
-
var Zt = A1(Z, se), zn = A1(
|
|
5383
|
+
function DX(Z, re, se, Ue, Bt, hn, Ln) {
|
|
5384
|
+
var Zt = A1(Z, se), zn = A1(re, se), Ii = Ln.get(zn);
|
|
5385
5385
|
if (Ii) {
|
|
5386
5386
|
D1(Z, se, Ii);
|
|
5387
5387
|
return;
|
|
5388
5388
|
}
|
|
5389
|
-
var Ho = hn ? hn(Zt, zn, se + "", Z,
|
|
5389
|
+
var Ho = hn ? hn(Zt, zn, se + "", Z, re, Ln) : void 0, Bh = Ho === void 0;
|
|
5390
5390
|
if (Bh) {
|
|
5391
5391
|
var L1 = O1(zn), z1 = !L1 && MP(zn), AP = !L1 && !z1 && DP(zn);
|
|
5392
5392
|
Ho = zn, L1 || z1 || AP ? O1(Zt) ? Ho = Zt : XX(Zt) ? Ho = $X(Zt) : z1 ? (Bh = !1, Ho = AX(zn)) : AP ? (Bh = !1, Ho = OX(zn)) : Ho = [] : QX(zn) || I1(zn) ? (Ho = Zt, I1(Zt) ? Ho = JX(Zt) : (!bc(Zt) || F1(Zt)) && (Ho = jX(zn))) : Bh = !1;
|
|
5393
5393
|
}
|
|
5394
5394
|
Bh && (Ln.set(zn, Ho), Bt(Ho, zn, Ue, hn, Ln), Ln.delete(zn)), D1(Z, se, Ho);
|
|
5395
5395
|
}
|
|
5396
|
-
function PX(Z,
|
|
5397
|
-
return YX(GX(Z,
|
|
5396
|
+
function PX(Z, re) {
|
|
5397
|
+
return YX(GX(Z, re, TP), Z + "");
|
|
5398
5398
|
}
|
|
5399
|
-
var TX = Et ? function(Z,
|
|
5399
|
+
var TX = Et ? function(Z, re) {
|
|
5400
5400
|
return Et(Z, "toString", {
|
|
5401
5401
|
configurable: !0,
|
|
5402
5402
|
enumerable: !1,
|
|
5403
|
-
value: tQ(
|
|
5403
|
+
value: tQ(re),
|
|
5404
5404
|
writable: !0
|
|
5405
5405
|
});
|
|
5406
5406
|
} : TP;
|
|
5407
|
-
function AX(Z,
|
|
5407
|
+
function AX(Z, re) {
|
|
5408
5408
|
return Z.slice();
|
|
5409
5409
|
}
|
|
5410
5410
|
function IX(Z) {
|
|
5411
|
-
var
|
|
5412
|
-
return new qe(
|
|
5411
|
+
var re = new Z.constructor(Z.byteLength);
|
|
5412
|
+
return new qe(re).set(new qe(Z)), re;
|
|
5413
5413
|
}
|
|
5414
|
-
function OX(Z,
|
|
5414
|
+
function OX(Z, re) {
|
|
5415
5415
|
var se = IX(Z.buffer);
|
|
5416
5416
|
return new Z.constructor(se, Z.byteOffset, Z.length);
|
|
5417
5417
|
}
|
|
5418
|
-
function $X(Z,
|
|
5418
|
+
function $X(Z, re) {
|
|
5419
5419
|
var se = -1, Ue = Z.length;
|
|
5420
|
-
for (
|
|
5421
|
-
|
|
5422
|
-
return
|
|
5420
|
+
for (re || (re = Array(Ue)); ++se < Ue; )
|
|
5421
|
+
re[se] = Z[se];
|
|
5422
|
+
return re;
|
|
5423
5423
|
}
|
|
5424
|
-
function FX(Z,
|
|
5424
|
+
function FX(Z, re, se, Ue) {
|
|
5425
5425
|
var Bt = !se;
|
|
5426
5426
|
se || (se = {});
|
|
5427
|
-
for (var hn = -1, Ln =
|
|
5428
|
-
var Zt =
|
|
5427
|
+
for (var hn = -1, Ln = re.length; ++hn < Ln; ) {
|
|
5428
|
+
var Zt = re[hn], zn = void 0;
|
|
5429
5429
|
zn === void 0 && (zn = Z[Zt]), Bt ? P1(se, Zt, zn) : NX(se, Zt, zn);
|
|
5430
5430
|
}
|
|
5431
5431
|
return se;
|
|
5432
5432
|
}
|
|
5433
5433
|
function LX(Z) {
|
|
5434
|
-
return PX(function(
|
|
5434
|
+
return PX(function(re, se) {
|
|
5435
5435
|
var Ue = -1, Bt = se.length, hn = Bt > 1 ? se[Bt - 1] : void 0, Ln = Bt > 2 ? se[2] : void 0;
|
|
5436
|
-
for (hn = Z.length > 3 && typeof hn == "function" ? (Bt--, hn) : void 0, Ln && VX(se[0], se[1], Ln) && (hn = Bt < 3 ? void 0 : hn, Bt = 1),
|
|
5436
|
+
for (hn = Z.length > 3 && typeof hn == "function" ? (Bt--, hn) : void 0, Ln && VX(se[0], se[1], Ln) && (hn = Bt < 3 ? void 0 : hn, Bt = 1), re = Object(re); ++Ue < Bt; ) {
|
|
5437
5437
|
var Zt = se[Ue];
|
|
5438
|
-
Zt && Z(
|
|
5438
|
+
Zt && Z(re, Zt, Ue, hn);
|
|
5439
5439
|
}
|
|
5440
|
-
return
|
|
5440
|
+
return re;
|
|
5441
5441
|
});
|
|
5442
5442
|
}
|
|
5443
5443
|
function zX(Z) {
|
|
5444
|
-
return function(
|
|
5445
|
-
for (var Bt = -1, hn = Object(
|
|
5444
|
+
return function(re, se, Ue) {
|
|
5445
|
+
for (var Bt = -1, hn = Object(re), Ln = Ue(re), Zt = Ln.length; Zt--; ) {
|
|
5446
5446
|
var zn = Ln[++Bt];
|
|
5447
5447
|
if (se(hn[zn], zn, hn) === !1)
|
|
5448
5448
|
break;
|
|
5449
5449
|
}
|
|
5450
|
-
return
|
|
5450
|
+
return re;
|
|
5451
5451
|
};
|
|
5452
5452
|
}
|
|
5453
|
-
function $b(Z,
|
|
5453
|
+
function $b(Z, re) {
|
|
5454
5454
|
var se = Z.__data__;
|
|
5455
|
-
return HX(
|
|
5455
|
+
return HX(re) ? se[typeof re == "string" ? "string" : "hash"] : se.map;
|
|
5456
5456
|
}
|
|
5457
|
-
function T1(Z,
|
|
5458
|
-
var se = we(Z,
|
|
5457
|
+
function T1(Z, re) {
|
|
5458
|
+
var se = we(Z, re);
|
|
5459
5459
|
return kX(se) ? se : void 0;
|
|
5460
5460
|
}
|
|
5461
5461
|
function BX(Z) {
|
|
5462
|
-
var
|
|
5462
|
+
var re = Je.call(Z, qt), se = Z[qt];
|
|
5463
5463
|
try {
|
|
5464
5464
|
Z[qt] = void 0;
|
|
5465
5465
|
var Ue = !0;
|
|
5466
5466
|
} catch {
|
|
5467
5467
|
}
|
|
5468
5468
|
var Bt = Fn.call(Z);
|
|
5469
|
-
return Ue && (
|
|
5469
|
+
return Ue && (re ? Z[qt] = se : delete Z[qt]), Bt;
|
|
5470
5470
|
}
|
|
5471
5471
|
function jX(Z) {
|
|
5472
5472
|
return typeof Z.constructor == "function" && !kP(Z) ? Fe(ct(Z)) : {};
|
|
5473
5473
|
}
|
|
5474
|
-
function _P(Z,
|
|
5474
|
+
function _P(Z, re) {
|
|
5475
5475
|
var se = typeof Z;
|
|
5476
|
-
return
|
|
5476
|
+
return re = re ?? a, !!re && (se == "number" || se != "symbol" && j.test(Z)) && Z > -1 && Z % 1 == 0 && Z < re;
|
|
5477
5477
|
}
|
|
5478
|
-
function VX(Z,
|
|
5478
|
+
function VX(Z, re, se) {
|
|
5479
5479
|
if (!bc(se))
|
|
5480
5480
|
return !1;
|
|
5481
|
-
var Ue = typeof
|
|
5482
|
-
return (Ue == "number" ? $1(se) && _P(
|
|
5481
|
+
var Ue = typeof re;
|
|
5482
|
+
return (Ue == "number" ? $1(se) && _P(re, se.length) : Ue == "string" && re in se) ? Fb(se[re], Z) : !1;
|
|
5483
5483
|
}
|
|
5484
5484
|
function HX(Z) {
|
|
5485
|
-
var
|
|
5486
|
-
return
|
|
5485
|
+
var re = typeof Z;
|
|
5486
|
+
return re == "string" || re == "number" || re == "symbol" || re == "boolean" ? Z !== "__proto__" : Z === null;
|
|
5487
5487
|
}
|
|
5488
5488
|
function WX(Z) {
|
|
5489
5489
|
return !!En && En in Z;
|
|
5490
5490
|
}
|
|
5491
5491
|
function kP(Z) {
|
|
5492
|
-
var
|
|
5492
|
+
var re = Z && Z.constructor, se = typeof re == "function" && re.prototype || Ye;
|
|
5493
5493
|
return Z === se;
|
|
5494
5494
|
}
|
|
5495
5495
|
function UX(Z) {
|
|
5496
|
-
var
|
|
5496
|
+
var re = [];
|
|
5497
5497
|
if (Z != null)
|
|
5498
5498
|
for (var se in Object(Z))
|
|
5499
|
-
|
|
5500
|
-
return
|
|
5499
|
+
re.push(se);
|
|
5500
|
+
return re;
|
|
5501
5501
|
}
|
|
5502
5502
|
function qX(Z) {
|
|
5503
5503
|
return Fn.call(Z);
|
|
5504
5504
|
}
|
|
5505
|
-
function GX(Z,
|
|
5506
|
-
return
|
|
5507
|
-
for (var Ue = arguments, Bt = -1, hn = Ce(Ue.length -
|
|
5508
|
-
Ln[Bt] = Ue[
|
|
5505
|
+
function GX(Z, re, se) {
|
|
5506
|
+
return re = Ce(re === void 0 ? Z.length - 1 : re, 0), function() {
|
|
5507
|
+
for (var Ue = arguments, Bt = -1, hn = Ce(Ue.length - re, 0), Ln = Array(hn); ++Bt < hn; )
|
|
5508
|
+
Ln[Bt] = Ue[re + Bt];
|
|
5509
5509
|
Bt = -1;
|
|
5510
|
-
for (var Zt = Array(
|
|
5510
|
+
for (var Zt = Array(re + 1); ++Bt < re; )
|
|
5511
5511
|
Zt[Bt] = Ue[Bt];
|
|
5512
|
-
return Zt[
|
|
5512
|
+
return Zt[re] = se(Ln), ce(Z, this, Zt);
|
|
5513
5513
|
};
|
|
5514
5514
|
}
|
|
5515
|
-
function A1(Z,
|
|
5516
|
-
if (!(
|
|
5517
|
-
return Z[
|
|
5515
|
+
function A1(Z, re) {
|
|
5516
|
+
if (!(re === "constructor" && typeof Z[re] == "function") && re != "__proto__")
|
|
5517
|
+
return Z[re];
|
|
5518
5518
|
}
|
|
5519
5519
|
var YX = ZX(TX);
|
|
5520
5520
|
function ZX(Z) {
|
|
5521
|
-
var
|
|
5521
|
+
var re = 0, se = 0;
|
|
5522
5522
|
return function() {
|
|
5523
5523
|
var Ue = _e(), Bt = i - (Ue - se);
|
|
5524
5524
|
if (se = Ue, Bt > 0) {
|
|
5525
|
-
if (++
|
|
5525
|
+
if (++re >= o)
|
|
5526
5526
|
return arguments[0];
|
|
5527
5527
|
} else
|
|
5528
|
-
|
|
5528
|
+
re = 0;
|
|
5529
5529
|
return Z.apply(void 0, arguments);
|
|
5530
5530
|
};
|
|
5531
5531
|
}
|
|
@@ -5542,8 +5542,8 @@ z0.exports;
|
|
|
5542
5542
|
}
|
|
5543
5543
|
return "";
|
|
5544
5544
|
}
|
|
5545
|
-
function Fb(Z,
|
|
5546
|
-
return Z ===
|
|
5545
|
+
function Fb(Z, re) {
|
|
5546
|
+
return Z === re || Z !== Z && re !== re;
|
|
5547
5547
|
}
|
|
5548
5548
|
var I1 = EP(/* @__PURE__ */ function() {
|
|
5549
5549
|
return arguments;
|
|
@@ -5560,15 +5560,15 @@ z0.exports;
|
|
|
5560
5560
|
function F1(Z) {
|
|
5561
5561
|
if (!bc(Z))
|
|
5562
5562
|
return !1;
|
|
5563
|
-
var
|
|
5564
|
-
return
|
|
5563
|
+
var re = Ob(Z);
|
|
5564
|
+
return re == h || re == m || re == c || re == x;
|
|
5565
5565
|
}
|
|
5566
5566
|
function RP(Z) {
|
|
5567
5567
|
return typeof Z == "number" && Z > -1 && Z % 1 == 0 && Z <= a;
|
|
5568
5568
|
}
|
|
5569
5569
|
function bc(Z) {
|
|
5570
|
-
var
|
|
5571
|
-
return Z != null && (
|
|
5570
|
+
var re = typeof Z;
|
|
5571
|
+
return Z != null && (re == "object" || re == "function");
|
|
5572
5572
|
}
|
|
5573
5573
|
function zh(Z) {
|
|
5574
5574
|
return Z != null && typeof Z == "object";
|
|
@@ -5576,10 +5576,10 @@ z0.exports;
|
|
|
5576
5576
|
function QX(Z) {
|
|
5577
5577
|
if (!zh(Z) || Ob(Z) != v)
|
|
5578
5578
|
return !1;
|
|
5579
|
-
var
|
|
5580
|
-
if (
|
|
5579
|
+
var re = ct(Z);
|
|
5580
|
+
if (re === null)
|
|
5581
5581
|
return !0;
|
|
5582
|
-
var se = Je.call(
|
|
5582
|
+
var se = Je.call(re, "constructor") && re.constructor;
|
|
5583
5583
|
return typeof se == "function" && se instanceof se && Xe.call(se) == ie;
|
|
5584
5584
|
}
|
|
5585
5585
|
var DP = Q ? ae(Q) : MX;
|
|
@@ -5589,8 +5589,8 @@ z0.exports;
|
|
|
5589
5589
|
function PP(Z) {
|
|
5590
5590
|
return $1(Z) ? EX(Z) : RX(Z);
|
|
5591
5591
|
}
|
|
5592
|
-
var eQ = LX(function(Z,
|
|
5593
|
-
NP(Z,
|
|
5592
|
+
var eQ = LX(function(Z, re, se) {
|
|
5593
|
+
NP(Z, re, se);
|
|
5594
5594
|
});
|
|
5595
5595
|
function tQ(Z) {
|
|
5596
5596
|
return function() {
|
|
@@ -5616,7 +5616,7 @@ function zJ({
|
|
|
5616
5616
|
storageKey: n = "vite-ui-theme",
|
|
5617
5617
|
...r
|
|
5618
5618
|
}) {
|
|
5619
|
-
const [o, i] =
|
|
5619
|
+
const [o, i] = ne(
|
|
5620
5620
|
() => localStorage.getItem(n) || t
|
|
5621
5621
|
);
|
|
5622
5622
|
ue(() => {
|
|
@@ -7690,7 +7690,7 @@ function fee() {
|
|
|
7690
7690
|
function hee({
|
|
7691
7691
|
children: e
|
|
7692
7692
|
}) {
|
|
7693
|
-
const { setIsSessionExpired: t } = $n(), n = fee(), [r] =
|
|
7693
|
+
const { setIsSessionExpired: t } = $n(), n = fee(), [r] = ne(() => {
|
|
7694
7694
|
const o = new tee({
|
|
7695
7695
|
queryCache: new R3({
|
|
7696
7696
|
onError: (i) => {
|
|
@@ -7892,7 +7892,7 @@ function vee({
|
|
|
7892
7892
|
}) {
|
|
7893
7893
|
const { authToken: s } = Rt();
|
|
7894
7894
|
bee();
|
|
7895
|
-
const l = oe(($) => $.selectedLensId), { data: c, isLoading: u, isFetching: d, isError: f } = gee(), [h, m] =
|
|
7895
|
+
const l = oe(($) => $.selectedLensId), { data: c, isLoading: u, isFetching: d, isError: f } = gee(), [h, m] = ne(o || []), { theme: g, setTheme: b } = BJ(), y = oe(($) => $.dashboard.globalStyle), {
|
|
7896
7896
|
setDashboard: v,
|
|
7897
7897
|
setDashboardWithFilterValues: x,
|
|
7898
7898
|
setSelectedSheetId: w,
|
|
@@ -10276,7 +10276,7 @@ function mKe(e, t) {
|
|
|
10276
10276
|
return Sne(jn.VISUAL, e, t);
|
|
10277
10277
|
}
|
|
10278
10278
|
function gKe() {
|
|
10279
|
-
const [e, t] =
|
|
10279
|
+
const [e, t] = ne(/* @__PURE__ */ new Map()), n = be((i, a) => {
|
|
10280
10280
|
t((s) => {
|
|
10281
10281
|
const l = new Map(s), c = new Set(l.get(i) || []);
|
|
10282
10282
|
return a ? c.add(a) : (c.add("title"), c.add("description")), l.set(i, c), l;
|
|
@@ -10937,7 +10937,7 @@ function tS(e, t) {
|
|
|
10937
10937
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
10938
10938
|
}
|
|
10939
10939
|
function ire(e, t) {
|
|
10940
|
-
var n =
|
|
10940
|
+
var n = ne(function() {
|
|
10941
10941
|
return {
|
|
10942
10942
|
// value
|
|
10943
10943
|
value: e,
|
|
@@ -11877,7 +11877,7 @@ const ck = S.forwardRef(
|
|
|
11877
11877
|
);
|
|
11878
11878
|
ck.displayName = "Textarea";
|
|
11879
11879
|
function aoe({ onDashboardSelect: e }) {
|
|
11880
|
-
const { authToken: t } = Rt(), [n, r] =
|
|
11880
|
+
const { authToken: t } = Rt(), [n, r] = ne(!1), [o, i] = ne(""), [a, s] = ne(""), l = ec(
|
|
11881
11881
|
(b) => b.actions.selectDashboard
|
|
11882
11882
|
), {
|
|
11883
11883
|
resources: c,
|
|
@@ -20584,7 +20584,7 @@ function _le(e) {
|
|
|
20584
20584
|
}, n);
|
|
20585
20585
|
}
|
|
20586
20586
|
function kle() {
|
|
20587
|
-
const [e, t] =
|
|
20587
|
+
const [e, t] = ne("");
|
|
20588
20588
|
return {
|
|
20589
20589
|
announce: be((r) => {
|
|
20590
20590
|
r != null && t(r);
|
|
@@ -20602,7 +20602,7 @@ function Mle(e) {
|
|
|
20602
20602
|
}, [e, t]);
|
|
20603
20603
|
}
|
|
20604
20604
|
function Rle() {
|
|
20605
|
-
const [e] =
|
|
20605
|
+
const [e] = ne(() => /* @__PURE__ */ new Set()), t = be((r) => (e.add(r), () => e.delete(r)), [e]);
|
|
20606
20606
|
return [be((r) => {
|
|
20607
20607
|
let {
|
|
20608
20608
|
type: o,
|
|
@@ -20658,7 +20658,7 @@ function Tle(e) {
|
|
|
20658
20658
|
const {
|
|
20659
20659
|
announce: i,
|
|
20660
20660
|
announcement: a
|
|
20661
|
-
} = kle(), s = Hg("DndLiveRegion"), [l, c] =
|
|
20661
|
+
} = kle(), s = Hg("DndLiveRegion"), [l, c] = ne(!1);
|
|
20662
20662
|
if (ue(() => {
|
|
20663
20663
|
c(!0);
|
|
20664
20664
|
}, []), Mle(ye(() => ({
|
|
@@ -21805,7 +21805,7 @@ function uce(e, t) {
|
|
|
21805
21805
|
dependencies: r,
|
|
21806
21806
|
config: o
|
|
21807
21807
|
} = t;
|
|
21808
|
-
const [i, a] =
|
|
21808
|
+
const [i, a] = ne(null), {
|
|
21809
21809
|
frequency: s,
|
|
21810
21810
|
measure: l,
|
|
21811
21811
|
strategy: c
|
|
@@ -21913,7 +21913,7 @@ function hce(e) {
|
|
|
21913
21913
|
}
|
|
21914
21914
|
function mA(e, t, n) {
|
|
21915
21915
|
t === void 0 && (t = hce);
|
|
21916
|
-
const [r, o] =
|
|
21916
|
+
const [r, o] = ne(null);
|
|
21917
21917
|
function i() {
|
|
21918
21918
|
o((l) => {
|
|
21919
21919
|
if (!e)
|
|
@@ -21962,7 +21962,7 @@ function mce(e) {
|
|
|
21962
21962
|
}, [e]), n;
|
|
21963
21963
|
}
|
|
21964
21964
|
function gce(e) {
|
|
21965
|
-
const [t, n] =
|
|
21965
|
+
const [t, n] = ne(null), r = me(e), o = be((i) => {
|
|
21966
21966
|
const a = SS(i.target);
|
|
21967
21967
|
a && n((s) => s ? (s.set(a, wE(a)), new Map(s)) : null);
|
|
21968
21968
|
}, []);
|
|
@@ -22046,7 +22046,7 @@ function _8(e) {
|
|
|
22046
22046
|
const yA = [];
|
|
22047
22047
|
function vce(e, t) {
|
|
22048
22048
|
t === void 0 && (t = gh);
|
|
22049
|
-
const [n] = e, r = _8(n ? xo(n) : null), [o, i] =
|
|
22049
|
+
const [n] = e, r = _8(n ? xo(n) : null), [o, i] = ne(yA);
|
|
22050
22050
|
function a() {
|
|
22051
22051
|
i(() => e.length ? e.map((l) => w8(l) ? r : new Uk(t(l), l)) : yA);
|
|
22052
22052
|
}
|
|
@@ -22069,7 +22069,7 @@ function xce(e) {
|
|
|
22069
22069
|
let {
|
|
22070
22070
|
measure: t
|
|
22071
22071
|
} = e;
|
|
22072
|
-
const [n, r] =
|
|
22072
|
+
const [n, r] = ne(null), o = be((c) => {
|
|
22073
22073
|
for (const {
|
|
22074
22074
|
target: u
|
|
22075
22075
|
} of c)
|
|
@@ -22409,7 +22409,7 @@ const P8 = /* @__PURE__ */ Tg(function(t) {
|
|
|
22409
22409
|
modifiers: h,
|
|
22410
22410
|
...m
|
|
22411
22411
|
} = t;
|
|
22412
|
-
const g = I_(Nce, void 0, Ece), [b, y] = g, [v, x] = Rle(), [w, C] =
|
|
22412
|
+
const g = I_(Nce, void 0, Ece), [b, y] = g, [v, x] = Rle(), [w, C] = ne(ll.Uninitialized), N = w === ll.Initialized, {
|
|
22413
22413
|
draggable: {
|
|
22414
22414
|
active: E,
|
|
22415
22415
|
nodes: k,
|
|
@@ -22429,7 +22429,7 @@ const P8 = /* @__PURE__ */ Tg(function(t) {
|
|
|
22429
22429
|
data: (Fe = I == null ? void 0 : I.data) != null ? Fe : Sce,
|
|
22430
22430
|
rect: P
|
|
22431
22431
|
} : null;
|
|
22432
|
-
}, [E, I]), O = me(null), [D, $] =
|
|
22432
|
+
}, [E, I]), O = me(null), [D, $] = ne(null), [B, V] = ne(null), L = Dm(m, Object.values(m)), F = Hg("DndDescribedBy", a), W = ye(() => M.getEnabled(), [M]), j = kce(f), {
|
|
22433
22433
|
droppableRects: T,
|
|
22434
22434
|
measureDroppableContainers: H,
|
|
22435
22435
|
measuringScheduled: U
|
|
@@ -22483,7 +22483,7 @@ const P8 = /* @__PURE__ */ Tg(function(t) {
|
|
|
22483
22483
|
droppableRects: T,
|
|
22484
22484
|
droppableContainers: W,
|
|
22485
22485
|
pointerCoordinates: Je
|
|
22486
|
-
}) : null, qe = p8(xe, "id"), [ct, It] =
|
|
22486
|
+
}) : null, qe = p8(xe, "id"), [ct, It] = ne(null), Ut = Ae ? Xe : sf(Xe, ie), Ne = Lle(Ut, (i = ct == null ? void 0 : ct.rect) != null ? i : null, J), qt = me(null), Et = be(
|
|
22487
22487
|
(Fe, Ke) => {
|
|
22488
22488
|
let {
|
|
22489
22489
|
sensor: He,
|
|
@@ -22918,7 +22918,7 @@ function Oce(e) {
|
|
|
22918
22918
|
animation: t,
|
|
22919
22919
|
children: n
|
|
22920
22920
|
} = e;
|
|
22921
|
-
const [r, o] =
|
|
22921
|
+
const [r, o] = ne(null), [i, a] = ne(null), s = tv(n);
|
|
22922
22922
|
return !n && !r && s && o(s), Ji(() => {
|
|
22923
22923
|
if (!i)
|
|
22924
22924
|
return;
|
|
@@ -23417,7 +23417,7 @@ function aue(e) {
|
|
|
23417
23417
|
node: r,
|
|
23418
23418
|
rect: o
|
|
23419
23419
|
} = e;
|
|
23420
|
-
const [i, a] =
|
|
23420
|
+
const [i, a] = ne(null), s = me(n);
|
|
23421
23421
|
return Ji(() => {
|
|
23422
23422
|
if (!t && n !== s.current && r.current) {
|
|
23423
23423
|
const l = o.current;
|
|
@@ -23667,7 +23667,7 @@ function cue(e, t) {
|
|
|
23667
23667
|
return !av(e) || !av(t) || !B8(e, t) ? !1 : e.data.current.sortable.index < t.data.current.sortable.index;
|
|
23668
23668
|
}
|
|
23669
23669
|
function uue(e, t, n) {
|
|
23670
|
-
const [r, o] =
|
|
23670
|
+
const [r, o] = ne(null), [i, a] = ne(""), s = () => {
|
|
23671
23671
|
const m = {
|
|
23672
23672
|
id: `hierarchy_${Date.now()}`,
|
|
23673
23673
|
label: i || "New Hierarchy",
|
|
@@ -26931,7 +26931,7 @@ function wfe({
|
|
|
26931
26931
|
onRemoveStep: i,
|
|
26932
26932
|
isFirstField: a = !1
|
|
26933
26933
|
}) {
|
|
26934
|
-
const [s, l] =
|
|
26934
|
+
const [s, l] = ne(!1), {
|
|
26935
26935
|
attributes: c,
|
|
26936
26936
|
listeners: u,
|
|
26937
26937
|
setNodeRef: d,
|
|
@@ -27028,7 +27028,7 @@ function Cfe({
|
|
|
27028
27028
|
onRemoveStep: n,
|
|
27029
27029
|
onUpdateHierarchy: r
|
|
27030
27030
|
}) {
|
|
27031
|
-
const { sensors: o } = Sfe(r), [i, a] =
|
|
27031
|
+
const { sensors: o } = Sfe(r), [i, a] = ne(null), s = e.steps.filter(
|
|
27032
27032
|
(f) => f && f.field && f.field.id
|
|
27033
27033
|
), c = s.map((f) => f.field).map(
|
|
27034
27034
|
(f, h) => `${e.id}-${f.id}-${h}`
|
|
@@ -27923,7 +27923,7 @@ function rhe({
|
|
|
27923
27923
|
searchPlaceholder: r = "Search fields...",
|
|
27924
27924
|
className: o = ""
|
|
27925
27925
|
}) {
|
|
27926
|
-
const [i, a] =
|
|
27926
|
+
const [i, a] = ne(""), s = e.filter(
|
|
27927
27927
|
(u) => u.label.toLowerCase().includes(i.toLowerCase()) || u.qualifiedEntityName && u.qualifiedEntityName.toLowerCase().includes(i.toLowerCase())
|
|
27928
27928
|
), l = () => {
|
|
27929
27929
|
const u = [
|
|
@@ -28394,14 +28394,14 @@ function xhe({
|
|
|
28394
28394
|
onUpdateClickFilterInteractions: r,
|
|
28395
28395
|
currentClickFilterInteractions: o
|
|
28396
28396
|
}) {
|
|
28397
|
-
const [i, a] =
|
|
28397
|
+
const [i, a] = ne(
|
|
28398
28398
|
o.length > 0
|
|
28399
|
-
), [s, l] =
|
|
28399
|
+
), [s, l] = ne(
|
|
28400
28400
|
o[0] || {
|
|
28401
28401
|
filterFields: [],
|
|
28402
28402
|
highlightSelf: !0
|
|
28403
28403
|
}
|
|
28404
|
-
), [c, u] =
|
|
28404
|
+
), [c, u] = ne(""), d = RJ(), f = e === "clickFilter", h = () => {
|
|
28405
28405
|
const N = !i;
|
|
28406
28406
|
if (a(N), N) {
|
|
28407
28407
|
const E = {
|
|
@@ -28710,23 +28710,23 @@ function whe({
|
|
|
28710
28710
|
return ((L = n.interactionConfig) == null ? void 0 : L.drillInteractions) || [];
|
|
28711
28711
|
},
|
|
28712
28712
|
[(V = n.interactionConfig) == null ? void 0 : V.drillInteractions]
|
|
28713
|
-
), [m, g] =
|
|
28713
|
+
), [m, g] = ne(u), [b, y] = ne(
|
|
28714
28714
|
d || []
|
|
28715
|
-
), [v, x] =
|
|
28715
|
+
), [v, x] = ne(
|
|
28716
28716
|
null
|
|
28717
|
-
), [w, C] =
|
|
28717
|
+
), [w, C] = ne(
|
|
28718
28718
|
() => h.filter(
|
|
28719
28719
|
(L) => L.mode === "drillToURL"
|
|
28720
28720
|
)
|
|
28721
|
-
), [N, E] =
|
|
28721
|
+
), [N, E] = ne(
|
|
28722
28722
|
() => h.filter(
|
|
28723
28723
|
(L) => L.mode === "drillThrough"
|
|
28724
28724
|
)
|
|
28725
|
-
), [k, R] =
|
|
28725
|
+
), [k, R] = ne(
|
|
28726
28726
|
() => h.filter(
|
|
28727
28727
|
(L) => L.mode === "drillToDetail"
|
|
28728
28728
|
)
|
|
28729
|
-
), [M, I] =
|
|
28729
|
+
), [M, I] = ne(f), P = me(null);
|
|
28730
28730
|
G.useEffect(() => {
|
|
28731
28731
|
var L, F, W;
|
|
28732
28732
|
if (e) {
|
|
@@ -33634,7 +33634,7 @@ function Mge({
|
|
|
33634
33634
|
exportFileName: c = "export"
|
|
33635
33635
|
}) {
|
|
33636
33636
|
var v;
|
|
33637
|
-
const [u, d] =
|
|
33637
|
+
const [u, d] = ne(!0), { eventHandlers: f } = Rt(), { onExportData: h } = f || {}, m = oe((x) => x.themeStyle), g = m == null ? void 0 : m.controlInputRadius;
|
|
33638
33638
|
(v = s == null ? void 0 : s.preferences) == null || v.allowDownload;
|
|
33639
33639
|
const { data: b } = Is(s), y = oe((x) => x.isVisualEditing);
|
|
33640
33640
|
return ue(() => {
|
|
@@ -35369,7 +35369,7 @@ function $B({
|
|
|
35369
35369
|
onOpenChange: s
|
|
35370
35370
|
}) {
|
|
35371
35371
|
var b;
|
|
35372
|
-
const [l, c] =
|
|
35372
|
+
const [l, c] = ne(
|
|
35373
35373
|
sI()
|
|
35374
35374
|
), { tokenProps: u } = Rt(), d = (b = u == null ? void 0 : u.params) == null ? void 0 : b.timeZone, f = Intl.DateTimeFormat().resolvedOptions().timeZone, h = () => t.dateFormat.timezone && t.dateFormat.timezone !== "auto" ? t.dateFormat.timezone : d || f, m = () => {
|
|
35375
35375
|
n({
|
|
@@ -36772,16 +36772,16 @@ function FB(e) {
|
|
|
36772
36772
|
card: b,
|
|
36773
36773
|
paginationMetadata: y,
|
|
36774
36774
|
onPaginationChange: v
|
|
36775
|
-
} = e, { displayPreferences: x } = nd(), [w, C] =
|
|
36775
|
+
} = e, { displayPreferences: x } = nd(), [w, C] = ne([]), [N, E] = ne([]), [k, R] = ne(""), [M, I] = ne({}), P = x.mode === "table-print", A = b ? pye(b, x.mode) : P ? "disabled" : "client", O = A === "disabled" ? Number.MAX_SAFE_INTEGER : n || 50, [D, $] = ne({
|
|
36776
36776
|
pageIndex: y && A === "server" ? y.page - 1 : 0,
|
|
36777
36777
|
pageSize: O
|
|
36778
36778
|
});
|
|
36779
36779
|
ue(() => {
|
|
36780
36780
|
b && b.type === "table" && b.config && !b.paginationConfig && v && v(0, O);
|
|
36781
36781
|
}, [b == null ? void 0 : b.id]);
|
|
36782
|
-
const [B, V] =
|
|
36782
|
+
const [B, V] = ne(!1), [L, F] = ne(null), [W, j] = ne({}), T = r || W, [H, U] = ne(
|
|
36783
36783
|
wl()
|
|
36784
|
-
), [X, Y] =
|
|
36784
|
+
), [X, Y] = ne(a || !1), z = s ? a !== void 0 ? a : !1 : X, [q, J] = ne(i || {}), te = o || q, Q = me(null), ce = me(!1), le = oe((Ce) => Ce.themeStyle);
|
|
36785
36785
|
oe(
|
|
36786
36786
|
(Ce) => Ce.isDashboardEditing
|
|
36787
36787
|
);
|
|
@@ -37047,7 +37047,7 @@ function XM({ card: e }) {
|
|
|
37047
37047
|
return ((b = (g = e == null ? void 0 : e.preferences) == null ? void 0 : g.tablePrefs) == null ? void 0 : b.columnSizing) || {};
|
|
37048
37048
|
},
|
|
37049
37049
|
[(m = (h = e == null ? void 0 : e.preferences) == null ? void 0 : h.tablePrefs) == null ? void 0 : m.columnSizing]
|
|
37050
|
-
), [i, a] =
|
|
37050
|
+
), [i, a] = ne(
|
|
37051
37051
|
o
|
|
37052
37052
|
), s = me(!1), l = me({}), c = me(null), u = be((g, b) => {
|
|
37053
37053
|
const y = Object.keys(g), v = Object.keys(b);
|
|
@@ -37086,7 +37086,7 @@ function XM({ card: e }) {
|
|
|
37086
37086
|
);
|
|
37087
37087
|
return ue(() => {
|
|
37088
37088
|
const g = () => {
|
|
37089
|
-
s.current = !1, c.current && (clearTimeout(c.current), c.current = null), d(i);
|
|
37089
|
+
s.current && (s.current = !1, c.current && (clearTimeout(c.current), c.current = null), d(i));
|
|
37090
37090
|
};
|
|
37091
37091
|
return window.addEventListener("mouseup", g), window.addEventListener("touchend", g), () => {
|
|
37092
37092
|
window.removeEventListener("mouseup", g), window.removeEventListener("touchend", g);
|
|
@@ -37392,7 +37392,7 @@ function vye(e) {
|
|
|
37392
37392
|
return ((v = (y = e == null ? void 0 : e.preferences) == null ? void 0 : y.tablePrefs) == null ? void 0 : v.columnSettingsMap) || {};
|
|
37393
37393
|
},
|
|
37394
37394
|
[(b = (g = e == null ? void 0 : e.preferences) == null ? void 0 : g.tablePrefs) == null ? void 0 : b.columnSettingsMap]
|
|
37395
|
-
), [i, a] =
|
|
37395
|
+
), [i, a] = ne(!1), [s, l] = ne(null), [c, u] = ne(
|
|
37396
37396
|
wl()
|
|
37397
37397
|
), d = be(
|
|
37398
37398
|
(y) => {
|
|
@@ -38449,7 +38449,7 @@ function QM({
|
|
|
38449
38449
|
y,
|
|
38450
38450
|
a
|
|
38451
38451
|
]
|
|
38452
|
-
), [{ pageIndex: P, pageSize: A }, O] =
|
|
38452
|
+
), [{ pageIndex: P, pageSize: A }, O] = ne({
|
|
38453
38453
|
pageIndex: 0,
|
|
38454
38454
|
pageSize: d ? Number.MAX_SAFE_INTEGER : 50
|
|
38455
38455
|
}), D = d ? Number.MAX_SAFE_INTEGER : A, $ = !!o && !d, B = IM({
|
|
@@ -53024,7 +53024,7 @@ function SEe(e) {
|
|
|
53024
53024
|
}
|
|
53025
53025
|
function KKe(e) {
|
|
53026
53026
|
var a, s;
|
|
53027
|
-
const [t] =
|
|
53027
|
+
const [t] = ne({
|
|
53028
53028
|
id: "",
|
|
53029
53029
|
title: "",
|
|
53030
53030
|
type: "bar"
|
|
@@ -53034,7 +53034,7 @@ function KKe(e) {
|
|
|
53034
53034
|
}
|
|
53035
53035
|
function Zw(e) {
|
|
53036
53036
|
var P;
|
|
53037
|
-
const { onChartElementClicked: t } = Rt(), [n, r] =
|
|
53037
|
+
const { onChartElementClicked: t } = Rt(), [n, r] = ne(0), o = oe((A) => A.themeStyle), i = oe((A) => A.filteringCards), a = oe((A) => A.selectedSheetId), s = oe((A) => A.selectedLensId), l = oe((A) => A.filterValues), c = me(l), u = (P = e == null ? void 0 : e.preferences) == null ? void 0 : P.onClickFilter, {
|
|
53038
53038
|
addFilteringCard: d,
|
|
53039
53039
|
addOrUpdateFilterValues: f,
|
|
53040
53040
|
removeFilterValues: h,
|
|
@@ -53449,55 +53449,41 @@ function Kw(e, t) {
|
|
|
53449
53449
|
}), [e, t]);
|
|
53450
53450
|
}
|
|
53451
53451
|
function _Ee(e = {}, t) {
|
|
53452
|
-
const { displayPreferences: n, shouldShowElement: r } = nd(), o = n.mode === "table-print", i = e.enabled ?? !0, a = e.serverSide ?? !1, s = o ? Number.MAX_SAFE_INTEGER : e.pageSize || 50, [
|
|
53453
|
-
pageIndex: e.currentPage ? e.currentPage - 1 : 0,
|
|
53454
|
-
pageSize: s
|
|
53455
|
-
}), d = ye(
|
|
53452
|
+
const { displayPreferences: n, shouldShowElement: r } = nd(), o = n.mode === "table-print", i = e.enabled ?? !0, a = e.serverSide ?? !1, s = o ? Number.MAX_SAFE_INTEGER : e.pageSize || 50, l = e.currentPage !== void 0, [c, u] = ne(0), [d, f] = ne(s), h = l ? (e.currentPage || 1) - 1 : c, m = l ? e.pageSize || s : d, g = ye(
|
|
53456
53453
|
() => i && r("showPagination") && !o,
|
|
53457
53454
|
[i, r, o]
|
|
53458
|
-
),
|
|
53459
|
-
var C;
|
|
53460
|
-
a ? (C = e.onPageChange) == null || C.call(e, w + 1, e.pageSize || 50) : u((N) => ({ ...N, pageIndex: w }));
|
|
53461
|
-
}, y = (w) => {
|
|
53462
|
-
var C;
|
|
53463
|
-
a ? (C = e.onPageChange) == null || C.call(e, 1, w) : u({ pageIndex: 0, pageSize: w });
|
|
53464
|
-
}, v = () => {
|
|
53465
|
-
var w;
|
|
53466
|
-
a ? (w = e.onPageChange) == null || w.call(
|
|
53467
|
-
e,
|
|
53468
|
-
(e.currentPage || 1) - 1,
|
|
53469
|
-
e.pageSize || 50
|
|
53470
|
-
) : u((C) => ({
|
|
53471
|
-
...C,
|
|
53472
|
-
pageIndex: Math.max(0, C.pageIndex - 1)
|
|
53473
|
-
}));
|
|
53474
|
-
}, x = () => {
|
|
53475
|
-
var w;
|
|
53476
|
-
a ? (w = e.onPageChange) == null || w.call(
|
|
53477
|
-
e,
|
|
53478
|
-
(e.currentPage || 1) + 1,
|
|
53479
|
-
e.pageSize || 50
|
|
53480
|
-
) : u((C) => ({
|
|
53481
|
-
...C,
|
|
53482
|
-
pageIndex: C.pageIndex + 1
|
|
53483
|
-
}));
|
|
53484
|
-
};
|
|
53455
|
+
), b = ye(() => a ? e.pageCount : Math.ceil(t / m), [a, e.pageCount, t, m]), y = ye(() => a ? e.totalCount || 0 : t, [a, e.totalCount, t]), v = ye(() => a ? (e.currentPage || 1) > 1 : h > 0, [a, e.currentPage, h]), x = ye(() => a ? (e.currentPage || 1) < (e.pageCount || 1) : h < (b || 1) - 1, [a, e.currentPage, e.pageCount, h, b]);
|
|
53485
53456
|
return {
|
|
53486
|
-
pageIndex:
|
|
53487
|
-
pageSize:
|
|
53457
|
+
pageIndex: h,
|
|
53458
|
+
pageSize: m,
|
|
53488
53459
|
isServerSidePagination: a,
|
|
53489
|
-
showPagination:
|
|
53460
|
+
showPagination: g,
|
|
53490
53461
|
paginationEnabled: i,
|
|
53491
53462
|
isTablePrintDisplayMode: o,
|
|
53492
|
-
|
|
53493
|
-
|
|
53494
|
-
|
|
53495
|
-
|
|
53496
|
-
|
|
53497
|
-
|
|
53498
|
-
|
|
53499
|
-
|
|
53500
|
-
|
|
53463
|
+
setPageIndex: (k) => {
|
|
53464
|
+
var R;
|
|
53465
|
+
l ? (R = e.onPageChange) == null || R.call(e, k + 1, m) : u(k);
|
|
53466
|
+
},
|
|
53467
|
+
setPageSize: (k) => {
|
|
53468
|
+
var R;
|
|
53469
|
+
l ? (R = e.onPageChange) == null || R.call(e, 1, k) : (u(0), f(k));
|
|
53470
|
+
},
|
|
53471
|
+
canPreviousPage: v,
|
|
53472
|
+
canNextPage: x,
|
|
53473
|
+
previousPage: () => {
|
|
53474
|
+
var R;
|
|
53475
|
+
if (!v) return;
|
|
53476
|
+
const k = h - 1;
|
|
53477
|
+
l ? (R = e.onPageChange) == null || R.call(e, k + 1, m) : u(k);
|
|
53478
|
+
},
|
|
53479
|
+
nextPage: () => {
|
|
53480
|
+
var R;
|
|
53481
|
+
if (!x) return;
|
|
53482
|
+
const k = h + 1;
|
|
53483
|
+
l ? (R = e.onPageChange) == null || R.call(e, k + 1, m) : u(k);
|
|
53484
|
+
},
|
|
53485
|
+
pageCount: b,
|
|
53486
|
+
totalCount: y
|
|
53501
53487
|
};
|
|
53502
53488
|
}
|
|
53503
53489
|
function kEe(e, t, n) {
|
|
@@ -53585,7 +53571,7 @@ function REe(e, t, n, r, o) {
|
|
|
53585
53571
|
return a && u.push(a), u;
|
|
53586
53572
|
}
|
|
53587
53573
|
function DEe(e, t) {
|
|
53588
|
-
const [n, r] =
|
|
53574
|
+
const [n, r] = ne([]), o = ye(
|
|
53589
53575
|
() => kEe(e, n, t),
|
|
53590
53576
|
[e, n, t]
|
|
53591
53577
|
), i = be((l) => {
|
|
@@ -54238,7 +54224,7 @@ function Ns({
|
|
|
54238
54224
|
isEditable: a = !0,
|
|
54239
54225
|
isPending: s = !1
|
|
54240
54226
|
}) {
|
|
54241
|
-
const [l, c] =
|
|
54227
|
+
const [l, c] = ne(!1), [u, d] = ne(e || ""), f = () => {
|
|
54242
54228
|
c(!1), u !== e && n(u);
|
|
54243
54229
|
}, h = (m) => {
|
|
54244
54230
|
m.key === "Enter" ? (c(!1), n(u)) : m.key === "Escape" && (c(!1), d(e || ""));
|
|
@@ -54536,65 +54522,68 @@ function Xw({
|
|
|
54536
54522
|
onAggregationChange: r,
|
|
54537
54523
|
onAggregationLabelChange: o
|
|
54538
54524
|
}) {
|
|
54539
|
-
const i = oe((
|
|
54525
|
+
const i = oe((N) => N.themeStyle), a = n.showRowTotals ?? !1, { columnSizing: s, onColumnSizingChange: l } = XM({ card: t }), { subtotalColumnKeys: c, grandTotalColumnKeys: u } = ye(
|
|
54540
54526
|
() => OEe(e.columnSubtotalMeta),
|
|
54541
54527
|
[e.columnSubtotalMeta]
|
|
54542
54528
|
), { tableData: d, grandTotalRows: f } = ye(
|
|
54543
54529
|
() => IEe(e),
|
|
54544
54530
|
[e]
|
|
54545
|
-
), { sorting: h, setSorting: m, sortedTableData: g } = DEe(d, e), b =
|
|
54546
|
-
|
|
54547
|
-
|
|
54531
|
+
), { sorting: h, setSorting: m, sortedTableData: g } = DEe(d, e), b = {
|
|
54532
|
+
...n.pagination
|
|
54533
|
+
}, y = _Ee(b, g.length), v = ye(() => {
|
|
54534
|
+
var M;
|
|
54535
|
+
const N = [], E = ((M = e.groupByColumns) == null ? void 0 : M.length) || 1, k = LEe({
|
|
54548
54536
|
groupByColumns: e.groupByColumns,
|
|
54549
|
-
numRowLevels:
|
|
54537
|
+
numRowLevels: E,
|
|
54550
54538
|
onAggregationLabelChange: o
|
|
54551
54539
|
});
|
|
54552
|
-
|
|
54553
|
-
const
|
|
54540
|
+
N.push(...k);
|
|
54541
|
+
const R = zEe({
|
|
54554
54542
|
columnHeaders: e.columnHeaders,
|
|
54555
54543
|
columnDisplayNames: e.columnDisplayNames,
|
|
54556
54544
|
setSorting: m
|
|
54557
54545
|
});
|
|
54558
|
-
if (
|
|
54559
|
-
const
|
|
54546
|
+
if (N.push(...R), a) {
|
|
54547
|
+
const I = BEe({
|
|
54560
54548
|
columnHeaders: e.columnHeaders,
|
|
54561
54549
|
setSorting: m
|
|
54562
54550
|
});
|
|
54563
|
-
|
|
54551
|
+
N.push(I);
|
|
54564
54552
|
}
|
|
54565
|
-
return
|
|
54566
|
-
}, [e, a, o, m]),
|
|
54553
|
+
return N;
|
|
54554
|
+
}, [e, a, o, m]), x = IM({
|
|
54567
54555
|
data: g,
|
|
54568
|
-
columns:
|
|
54556
|
+
columns: v,
|
|
54569
54557
|
state: {
|
|
54570
54558
|
sorting: h,
|
|
54571
54559
|
columnSizing: s,
|
|
54572
54560
|
pagination: {
|
|
54573
|
-
pageIndex:
|
|
54574
|
-
pageSize:
|
|
54561
|
+
pageIndex: y.pageIndex,
|
|
54562
|
+
pageSize: y.pageSize
|
|
54575
54563
|
}
|
|
54576
54564
|
},
|
|
54577
54565
|
onSortingChange: m,
|
|
54578
|
-
onPaginationChange:
|
|
54566
|
+
onPaginationChange: void 0,
|
|
54567
|
+
// Pagination is handled via the pagination options
|
|
54579
54568
|
getCoreRowModel: TM(),
|
|
54580
54569
|
// Remove getSortedRowModel since we're doing custom sorting
|
|
54581
|
-
getPaginationRowModel: !
|
|
54582
|
-
manualPagination:
|
|
54570
|
+
getPaginationRowModel: !y.isServerSidePagination && !y.isTablePrintDisplayMode ? AM() : void 0,
|
|
54571
|
+
manualPagination: y.isServerSidePagination || y.isTablePrintDisplayMode,
|
|
54583
54572
|
manualSorting: !0,
|
|
54584
54573
|
// Tell TanStack we're handling sorting manually
|
|
54585
|
-
pageCount:
|
|
54574
|
+
pageCount: y.pageCount,
|
|
54586
54575
|
enableColumnResizing: !0,
|
|
54587
54576
|
columnResizeMode: "onChange",
|
|
54588
54577
|
onColumnSizingChange: l
|
|
54589
|
-
}), { buildColumnHeaderRows:
|
|
54578
|
+
}), { buildColumnHeaderRows: w } = AEe({
|
|
54590
54579
|
data: e,
|
|
54591
54580
|
card: t,
|
|
54592
|
-
table:
|
|
54581
|
+
table: x,
|
|
54593
54582
|
sorting: h,
|
|
54594
54583
|
setSorting: m,
|
|
54595
54584
|
showRowTotals: a,
|
|
54596
54585
|
onAggregationChange: r
|
|
54597
|
-
}),
|
|
54586
|
+
}), C = w();
|
|
54598
54587
|
return /* @__PURE__ */ _("div", { className: "flex h-full w-full flex-col gap-4", children: [
|
|
54599
54588
|
/* @__PURE__ */ _(
|
|
54600
54589
|
Sh,
|
|
@@ -54603,21 +54592,21 @@ function Xw({
|
|
|
54603
54592
|
borderRadius: i == null ? void 0 : i.cardBorderRadius
|
|
54604
54593
|
},
|
|
54605
54594
|
className: "relative h-full rounded-none border",
|
|
54606
|
-
onMouseDown: (
|
|
54595
|
+
onMouseDown: (N) => N.stopPropagation(),
|
|
54607
54596
|
children: [
|
|
54608
54597
|
/* @__PURE__ */ _(
|
|
54609
54598
|
"table",
|
|
54610
54599
|
{
|
|
54611
54600
|
className: "w-full border-separate border-spacing-0 bg-background text-sm",
|
|
54612
|
-
onMouseDown: (
|
|
54601
|
+
onMouseDown: (N) => N.stopPropagation(),
|
|
54613
54602
|
children: [
|
|
54614
|
-
/* @__PURE__ */ p(Rw, { className: "sticky top-0 z-20 bg-background", children:
|
|
54603
|
+
/* @__PURE__ */ p(Rw, { className: "sticky top-0 z-20 bg-background", children: C }),
|
|
54615
54604
|
/* @__PURE__ */ p(Om, { children: /* @__PURE__ */ p(
|
|
54616
54605
|
$Ee,
|
|
54617
54606
|
{
|
|
54618
|
-
table:
|
|
54607
|
+
table: x,
|
|
54619
54608
|
data: e,
|
|
54620
|
-
columns:
|
|
54609
|
+
columns: v,
|
|
54621
54610
|
subtotalColumnKeys: c,
|
|
54622
54611
|
grandTotalColumnKeys: u
|
|
54623
54612
|
}
|
|
@@ -54628,7 +54617,7 @@ function Xw({
|
|
|
54628
54617
|
grandTotalRows: f,
|
|
54629
54618
|
data: e,
|
|
54630
54619
|
card: t,
|
|
54631
|
-
table:
|
|
54620
|
+
table: x,
|
|
54632
54621
|
showRowTotals: a,
|
|
54633
54622
|
onAggregationLabelChange: o
|
|
54634
54623
|
}
|
|
@@ -54641,21 +54630,21 @@ function Xw({
|
|
|
54641
54630
|
]
|
|
54642
54631
|
}
|
|
54643
54632
|
),
|
|
54644
|
-
|
|
54633
|
+
y.showPagination && /* @__PURE__ */ p(
|
|
54645
54634
|
jM,
|
|
54646
54635
|
{
|
|
54647
|
-
totalColumns:
|
|
54648
|
-
pageCount:
|
|
54649
|
-
pageIndex:
|
|
54650
|
-
pageSize:
|
|
54651
|
-
rowCount:
|
|
54636
|
+
totalColumns: v.length,
|
|
54637
|
+
pageCount: y.pageCount || x.getPageCount(),
|
|
54638
|
+
pageIndex: y.pageIndex,
|
|
54639
|
+
pageSize: y.pageSize,
|
|
54640
|
+
rowCount: y.totalCount,
|
|
54652
54641
|
selectedRowCount: 0,
|
|
54653
|
-
setPageIndex:
|
|
54654
|
-
setPageSize:
|
|
54655
|
-
canPreviousPage:
|
|
54656
|
-
canNextPage:
|
|
54657
|
-
previousPage:
|
|
54658
|
-
nextPage:
|
|
54642
|
+
setPageIndex: y.setPageIndex,
|
|
54643
|
+
setPageSize: y.setPageSize,
|
|
54644
|
+
canPreviousPage: y.canPreviousPage,
|
|
54645
|
+
canNextPage: y.canNextPage,
|
|
54646
|
+
previousPage: y.previousPage,
|
|
54647
|
+
nextPage: y.nextPage,
|
|
54659
54648
|
onClearSelection: () => {
|
|
54660
54649
|
}
|
|
54661
54650
|
}
|
|
@@ -57022,7 +57011,7 @@ function Ike(e) {
|
|
|
57022
57011
|
return e.reduce((n, r) => n.concat(r.weeks.slice()), t.slice());
|
|
57023
57012
|
}
|
|
57024
57013
|
function Qw(e, t) {
|
|
57025
|
-
const [n, r] =
|
|
57014
|
+
const [n, r] = ne(e);
|
|
57026
57015
|
return [t === void 0 ? n : t, r];
|
|
57027
57016
|
}
|
|
57028
57017
|
function Oke(e, t) {
|
|
@@ -57089,7 +57078,7 @@ function gH(e, t, n, r, o, i, a, s = 0) {
|
|
|
57089
57078
|
return !c && !u ? f : gH(e, t, f, r, o, i, a, s + 1);
|
|
57090
57079
|
}
|
|
57091
57080
|
function Lke(e, t, n, r, o) {
|
|
57092
|
-
const { autoFocus: i } = e, [a, s] =
|
|
57081
|
+
const { autoFocus: i } = e, [a, s] = ne(), l = $ke(t.days, n, r || (() => !1), a), [c, u] = ne(i ? l : void 0);
|
|
57093
57082
|
return {
|
|
57094
57083
|
isFocusTarget: (g) => !!(l != null && l.isEqualTo(g)),
|
|
57095
57084
|
setFocused: u,
|
|
@@ -57798,7 +57787,7 @@ function Xke({
|
|
|
57798
57787
|
maxDate: r,
|
|
57799
57788
|
className: o
|
|
57800
57789
|
}) {
|
|
57801
|
-
const [i, a] =
|
|
57790
|
+
const [i, a] = ne(!1), [s, l] = ne(), c = () => {
|
|
57802
57791
|
if (s) {
|
|
57803
57792
|
const h = Gr(s, "yyyy-MM-dd");
|
|
57804
57793
|
e.includes(h) || t([...e, h].sort()), l(void 0), a(!1);
|
|
@@ -57937,7 +57926,7 @@ function Qke({
|
|
|
57937
57926
|
emails: e,
|
|
57938
57927
|
onChange: t
|
|
57939
57928
|
}) {
|
|
57940
|
-
const [n, r] =
|
|
57929
|
+
const [n, r] = ne(""), [o, i] = ne(null), a = (u) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(u), s = () => {
|
|
57941
57930
|
if (i(null), !n.trim()) {
|
|
57942
57931
|
i("Please enter at least one email address");
|
|
57943
57932
|
return;
|
|
@@ -58057,7 +58046,7 @@ function tMe({
|
|
|
58057
58046
|
onChangeTenantUsers: n,
|
|
58058
58047
|
onChangeOrgUsers: r
|
|
58059
58048
|
}) {
|
|
58060
|
-
const [o, i] =
|
|
58049
|
+
const [o, i] = ne(""), [a, s] = ne("");
|
|
58061
58050
|
ue(() => {
|
|
58062
58051
|
const b = setTimeout(() => {
|
|
58063
58052
|
s(o);
|
|
@@ -58210,7 +58199,7 @@ function oMe({
|
|
|
58210
58199
|
groupIds: e,
|
|
58211
58200
|
onChange: t
|
|
58212
58201
|
}) {
|
|
58213
|
-
const [n, r] =
|
|
58202
|
+
const [n, r] = ne(""), { currentUser: o } = Yu(), { groups: i, isLoading: a, error: s } = bH({
|
|
58214
58203
|
search: n,
|
|
58215
58204
|
type: "all",
|
|
58216
58205
|
// Get both org and tenant groups
|
|
@@ -58475,7 +58464,7 @@ function iMe({
|
|
|
58475
58464
|
onChange: t,
|
|
58476
58465
|
className: n
|
|
58477
58466
|
}) {
|
|
58478
|
-
const [r, o] =
|
|
58467
|
+
const [r, o] = ne("emails"), i = e.emails.length + e.tenantUserIds.length + e.orgUserIds.length + e.groupIds.length, a = (u) => {
|
|
58479
58468
|
t({
|
|
58480
58469
|
...e,
|
|
58481
58470
|
...u
|
|
@@ -58673,7 +58662,7 @@ function hMe({
|
|
|
58673
58662
|
className: i
|
|
58674
58663
|
}) {
|
|
58675
58664
|
var y;
|
|
58676
|
-
const { currentUser: a } = Yu(), [s, l] =
|
|
58665
|
+
const { currentUser: a } = Yu(), [s, l] = ne(!1), c = () => {
|
|
58677
58666
|
if (t != null && t.recipients && typeof t.recipients == "object" && "emails" in t.recipients)
|
|
58678
58667
|
return t.recipients;
|
|
58679
58668
|
const v = (t == null ? void 0 : t.recipientsString) || (typeof (t == null ? void 0 : t.recipients) == "string" ? t.recipients : "") || (a == null ? void 0 : a.email) || "";
|
|
@@ -58701,7 +58690,7 @@ function hMe({
|
|
|
58701
58690
|
orgUserIds: [],
|
|
58702
58691
|
groupIds: []
|
|
58703
58692
|
};
|
|
58704
|
-
}, [u, d] =
|
|
58693
|
+
}, [u, d] = ne({
|
|
58705
58694
|
recipients: c(),
|
|
58706
58695
|
subject: (t == null ? void 0 : t.subject) || "",
|
|
58707
58696
|
frequency: (t == null ? void 0 : t.frequency) || "daily",
|
|
@@ -58712,7 +58701,7 @@ function hMe({
|
|
|
58712
58701
|
skipDates: (t == null ? void 0 : t.skipDates) || [],
|
|
58713
58702
|
startDate: t == null ? void 0 : t.startDate,
|
|
58714
58703
|
endDate: t == null ? void 0 : t.endDate
|
|
58715
|
-
}), [f, h] =
|
|
58704
|
+
}), [f, h] = ne(null);
|
|
58716
58705
|
ue(() => {
|
|
58717
58706
|
(u.skipDates && u.skipDates.length > 0 || u.startDate || u.endDate) && l(!0);
|
|
58718
58707
|
}, []), ue(() => {
|
|
@@ -59672,7 +59661,7 @@ function GMe(e) {
|
|
|
59672
59661
|
frameId: o,
|
|
59673
59662
|
pageSettings: i,
|
|
59674
59663
|
enabled: a = !0
|
|
59675
|
-
} = e, [s, l] =
|
|
59664
|
+
} = e, [s, l] = ne(!1), [c, u] = ne(null), [d, f] = ne(null), h = oe((M) => M.authToken), m = oe((M) => {
|
|
59676
59665
|
var I;
|
|
59677
59666
|
return (I = M.dashboard) == null ? void 0 : I.id;
|
|
59678
59667
|
}), g = oe((M) => {
|
|
@@ -59919,17 +59908,17 @@ function iW({
|
|
|
59919
59908
|
}) {
|
|
59920
59909
|
const { currentUser: i } = Yu();
|
|
59921
59910
|
oe((ae) => ae.filterValues);
|
|
59922
|
-
const [a, s] =
|
|
59911
|
+
const [a, s] = ne({
|
|
59923
59912
|
reportTitle: (r == null ? void 0 : r.title) || "Report",
|
|
59924
59913
|
pageSize: "letter",
|
|
59925
59914
|
orientation: "portrait",
|
|
59926
59915
|
password: "",
|
|
59927
59916
|
showPassword: !1
|
|
59928
|
-
}), [l, c] =
|
|
59917
|
+
}), [l, c] = ne({
|
|
59929
59918
|
recipients: (i == null ? void 0 : i.email) || "",
|
|
59930
59919
|
subject: `Report: ${(r == null ? void 0 : r.title) || "Visual"}`,
|
|
59931
59920
|
message: "Please find the attached report."
|
|
59932
|
-
}), [u, d] =
|
|
59921
|
+
}), [u, d] = ne("download"), [f, h] = ne("pdf"), [m, g] = ne(!1), [b, y] = ne(!1), {
|
|
59933
59922
|
schedules: v,
|
|
59934
59923
|
isLoading: x,
|
|
59935
59924
|
createSchedule: w,
|
|
@@ -59990,7 +59979,7 @@ function iW({
|
|
|
59990
59979
|
}
|
|
59991
59980
|
!e && b && y(!1);
|
|
59992
59981
|
}, [e, b, r == null ? void 0 : r.title, i == null ? void 0 : i.email, F]);
|
|
59993
|
-
const W = me(null), [j, T] =
|
|
59982
|
+
const W = me(null), [j, T] = ne({
|
|
59994
59983
|
width: 0,
|
|
59995
59984
|
height: 0
|
|
59996
59985
|
}), H = ye(() => {
|
|
@@ -60677,7 +60666,7 @@ function F5({
|
|
|
60677
60666
|
disabled: o = !1,
|
|
60678
60667
|
isDynamicText: i = !1
|
|
60679
60668
|
}) {
|
|
60680
|
-
const a = me(null), [s, l] =
|
|
60669
|
+
const a = me(null), [s, l] = ne(!1), [c, u] = ne(!1), d = me(), f = me(e), [h, m] = ne(e), g = me(!1), y = oe(
|
|
60681
60670
|
(k) => k.isDashboardEditing
|
|
60682
60671
|
) && !o && !i;
|
|
60683
60672
|
ue(() => {
|
|
@@ -63377,7 +63366,7 @@ function aD({
|
|
|
63377
63366
|
onChartClick: n
|
|
63378
63367
|
}) {
|
|
63379
63368
|
var h;
|
|
63380
|
-
const [r, o] =
|
|
63369
|
+
const [r, o] = ne(""), i = oe((m) => m.selectedLensId), a = me(null), [s, l] = ne(), c = oe((m) => m.themeStyle);
|
|
63381
63370
|
ue(() => {
|
|
63382
63371
|
if (a.current) {
|
|
63383
63372
|
const m = window.getComputedStyle(a.current);
|
|
@@ -63479,7 +63468,7 @@ async function TPe(e) {
|
|
|
63479
63468
|
}
|
|
63480
63469
|
}
|
|
63481
63470
|
const APe = (e) => {
|
|
63482
|
-
const [t, n] =
|
|
63471
|
+
const [t, n] = ne([]), [r, o] = ne(!1), [i, a] = ne(null);
|
|
63483
63472
|
ue(() => {
|
|
63484
63473
|
window.React = G, window.ReactDOM = Jl, window.React.jsx = OP.jsx, window.React.jsxs = OP.jsxs, o(!0);
|
|
63485
63474
|
}, []), ue(() => {
|
|
@@ -63530,11 +63519,11 @@ function WW({
|
|
|
63530
63519
|
frame: t
|
|
63531
63520
|
}) {
|
|
63532
63521
|
var v, x, w, C, N, E, k, R, M, I;
|
|
63533
|
-
const [n, r] =
|
|
63522
|
+
const [n, r] = ne(
|
|
63534
63523
|
[]
|
|
63535
63524
|
), { authToken: o } = Rt(), i = OJ(o == null ? void 0 : o.accessToken), a = oe((P) => P.themeStyle), s = {
|
|
63536
63525
|
colors: ((x = (v = a == null ? void 0 : a.chart) == null ? void 0 : v.dataset) == null ? void 0 : x.backgroundColor) || []
|
|
63537
|
-
}, [l, c] =
|
|
63526
|
+
}, [l, c] = ne(!1), { getCard: u } = APe(((w = e.customCardPreferences) == null ? void 0 : w.url) || ""), d = ((C = e.customCardPreferences) == null ? void 0 : C.visualType) || "single", f = (N = e.customCardPreferences) == null ? void 0 : N.componentName, { data: h } = Is(e), m = be((P, A) => {
|
|
63538
63527
|
r((O) => ({
|
|
63539
63528
|
...O,
|
|
63540
63529
|
[P]: A
|
|
@@ -63834,7 +63823,7 @@ function LPe({
|
|
|
63834
63823
|
data: o
|
|
63835
63824
|
}) {
|
|
63836
63825
|
var E;
|
|
63837
|
-
const [i, a] =
|
|
63826
|
+
const [i, a] = ne(!1), s = oe((k) => k.isDownloadingPdf), {
|
|
63838
63827
|
isError: l,
|
|
63839
63828
|
isLoading: c,
|
|
63840
63829
|
isFetching: u,
|
|
@@ -64042,7 +64031,7 @@ function zPe({
|
|
|
64042
64031
|
isExpandedViewOpen: n = !1,
|
|
64043
64032
|
onExpandClick: r
|
|
64044
64033
|
}) {
|
|
64045
|
-
const [o, i] =
|
|
64034
|
+
const [o, i] = ne(!1), [a, s] = ne(!1), [l, c] = ne(!1), [u, d] = ne(!1), [f, h] = ne(""), [m, g] = ne(!1), [b, y] = ne(!1), v = r ? n : b, x = r || (() => y(!0)), w = me(null), C = me(
|
|
64046
64035
|
null
|
|
64047
64036
|
), N = oe(
|
|
64048
64037
|
(z) => z.isDashboardEditing
|
|
@@ -64370,7 +64359,7 @@ function Xv({
|
|
|
64370
64359
|
placeholder: a,
|
|
64371
64360
|
enabled: s
|
|
64372
64361
|
}) {
|
|
64373
|
-
const [l, c] =
|
|
64362
|
+
const [l, c] = ne(!1), [u, d] = ne(r), f = oe(
|
|
64374
64363
|
(y) => y.isDashboardEditing
|
|
64375
64364
|
);
|
|
64376
64365
|
ue(() => {
|
|
@@ -64898,7 +64887,7 @@ function XW({
|
|
|
64898
64887
|
showRegionBadges: o = !0,
|
|
64899
64888
|
maxDisplayResults: i = 50
|
|
64900
64889
|
}) {
|
|
64901
|
-
const [a, s] =
|
|
64890
|
+
const [a, s] = ne(""), [l, c] = ne(!1), u = ye(
|
|
64902
64891
|
() => Kd.find((v) => v.id === e),
|
|
64903
64892
|
[e]
|
|
64904
64893
|
), d = ye(() => {
|
|
@@ -66853,7 +66842,7 @@ function ATe({
|
|
|
66853
66842
|
buttonClassName: s,
|
|
66854
66843
|
contentClassName: l
|
|
66855
66844
|
}) {
|
|
66856
|
-
const [c, u] =
|
|
66845
|
+
const [c, u] = ne(!1), [d, f] = ne("static"), [h, m] = ne(!1), [g, b] = ne(!1), [y, v] = ne("Days"), [x, w] = ne("0"), [C, N] = ne("0"), E = Intl.DateTimeFormat().resolvedOptions().timeZone, k = o || E, R = ye(() => TTe(), []), M = () => {
|
|
66857
66846
|
if (e != null && e.from && (e != null && e.to)) {
|
|
66858
66847
|
const D = YE(
|
|
66859
66848
|
e.from,
|
|
@@ -67110,7 +67099,7 @@ function ATe({
|
|
|
67110
67099
|
] }) });
|
|
67111
67100
|
}
|
|
67112
67101
|
function mU(e) {
|
|
67113
|
-
const { authToken: t } = Rt(), n = oe((w) => w.authToken), r = t || n, o = oe((w) => w.dashboard.filters), i = oe((w) => w.selectedSheetId), a = oe((w) => w.filterValues), [s, l] =
|
|
67102
|
+
const { authToken: t } = Rt(), n = oe((w) => w.authToken), r = t || n, o = oe((w) => w.dashboard.filters), i = oe((w) => w.selectedSheetId), a = oe((w) => w.filterValues), [s, l] = ne(!0), c = o == null ? void 0 : o.filter(
|
|
67114
67103
|
(w) => w.sheetId === i || !w.sheetId
|
|
67115
67104
|
), u = a == null ? void 0 : a.filter(
|
|
67116
67105
|
(w) => (c == null ? void 0 : c.some((C) => C.id === w.filterId)) || w.filterId.endsWith(i)
|
|
@@ -67152,9 +67141,9 @@ function mU(e) {
|
|
|
67152
67141
|
}, [x, s]), { data: m, isLoading: g, isFetching: b, isError: y, refetch: v };
|
|
67153
67142
|
}
|
|
67154
67143
|
function ITe(e, t) {
|
|
67155
|
-
const [n, r] =
|
|
67144
|
+
const [n, r] = ne(
|
|
67156
67145
|
t
|
|
67157
|
-
), [o, i] =
|
|
67146
|
+
), [o, i] = ne(), a = ye(
|
|
67158
67147
|
() => t,
|
|
67159
67148
|
[t]
|
|
67160
67149
|
);
|
|
@@ -67312,9 +67301,9 @@ function oXe(e) {
|
|
|
67312
67301
|
return o;
|
|
67313
67302
|
}
|
|
67314
67303
|
function fD(e) {
|
|
67315
|
-
const [t, n] =
|
|
67304
|
+
const [t, n] = ne(
|
|
67316
67305
|
[]
|
|
67317
|
-
), [r, o] =
|
|
67306
|
+
), [r, o] = ne(""), i = oe((N) => N.filterValues), a = oe((N) => N.selectedSheetId), { addOrUpdateFilterValue: s, removeFilterValues: l } = $n(), { data: c, isLoading: u, isFetching: d, isError: f } = mU(e), h = ye(() => {
|
|
67318
67307
|
var E;
|
|
67319
67308
|
return e.column ? (E = c == null ? void 0 : c.records) == null ? void 0 : E.map(
|
|
67320
67309
|
(k, R) => {
|
|
@@ -67679,7 +67668,7 @@ function QTe() {
|
|
|
67679
67668
|
};
|
|
67680
67669
|
}
|
|
67681
67670
|
function NU(e) {
|
|
67682
|
-
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] =
|
|
67671
|
+
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] = ne(!1), s = me({
|
|
67683
67672
|
isHovered: !1,
|
|
67684
67673
|
ignoreEmulatedMouseEvents: !1,
|
|
67685
67674
|
pointerType: "",
|
|
@@ -67742,7 +67731,7 @@ function _U(e = {}) {
|
|
|
67742
67731
|
let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = me({
|
|
67743
67732
|
isFocused: !1,
|
|
67744
67733
|
isFocusVisible: t || EU()
|
|
67745
|
-
}), [i, a] =
|
|
67734
|
+
}), [i, a] = ne(!1), [s, l] = ne(() => o.current.isFocused && o.current.isFocusVisible), c = be(() => l(o.current.isFocused && o.current.isFocusVisible), []), u = be((h) => {
|
|
67746
67735
|
o.current.isFocused = h, a(h), c();
|
|
67747
67736
|
}, [
|
|
67748
67737
|
c
|
|
@@ -67840,7 +67829,7 @@ function Va() {
|
|
|
67840
67829
|
return t;
|
|
67841
67830
|
}
|
|
67842
67831
|
function gb() {
|
|
67843
|
-
let [e] =
|
|
67832
|
+
let [e] = ne(Va);
|
|
67844
67833
|
return ue(() => () => e.dispose(), [e]), e;
|
|
67845
67834
|
}
|
|
67846
67835
|
let Gn = (e, t) => {
|
|
@@ -67864,7 +67853,7 @@ function rAe(e, t) {
|
|
|
67864
67853
|
return !(!e || !t || e.right < t.left || e.left > t.right || e.bottom < t.top || e.top > t.bottom);
|
|
67865
67854
|
}
|
|
67866
67855
|
function oAe({ disabled: e = !1 } = {}) {
|
|
67867
|
-
let t = me(null), [n, r] =
|
|
67856
|
+
let t = me(null), [n, r] = ne(!1), o = gb(), i = gt(() => {
|
|
67868
67857
|
t.current = null, r(!1), o.dispose();
|
|
67869
67858
|
}), a = gt((s) => {
|
|
67870
67859
|
if (o.dispose(), t.current === null) {
|
|
@@ -68005,11 +67994,11 @@ function uAe(e) {
|
|
|
68005
67994
|
return G.version.split(".")[0] >= "19" ? e.props.ref : e.ref;
|
|
68006
67995
|
}
|
|
68007
67996
|
function dAe(e, t, n) {
|
|
68008
|
-
let [r, o] =
|
|
67997
|
+
let [r, o] = ne(n), i = e !== void 0, a = me(i), s = me(!1), l = me(!1);
|
|
68009
67998
|
return i && !a.current && !s.current ? (s.current = !0, a.current = i, console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")) : !i && a.current && !l.current && (l.current = !0, a.current = i, console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")), [i ? e : r, gt((c) => (i || o(c), t == null ? void 0 : t(c)))];
|
|
68010
67999
|
}
|
|
68011
68000
|
function fAe(e) {
|
|
68012
|
-
let [t] =
|
|
68001
|
+
let [t] = ne(e);
|
|
68013
68002
|
return t;
|
|
68014
68003
|
}
|
|
68015
68004
|
function RU(e = {}, t = null, n = []) {
|
|
@@ -68038,7 +68027,7 @@ function gAe({ children: e }) {
|
|
|
68038
68027
|
return n ? kx(G.createElement(G.Fragment, null, e), n) : null;
|
|
68039
68028
|
}
|
|
68040
68029
|
function bAe({ data: e, form: t, disabled: n, onReset: r, overrides: o }) {
|
|
68041
|
-
let [i, a] =
|
|
68030
|
+
let [i, a] = ne(null), s = gb();
|
|
68042
68031
|
return ue(() => {
|
|
68043
68032
|
if (r && i) return s.addEventListener(i, "reset", r);
|
|
68044
68033
|
}, [i, t, r]), G.createElement(gAe, null, G.createElement(yAe, { setForm: a, formId: t }), RU(e).map(([l, c]) => G.createElement(TU, { features: gD.Hidden, ...Tc({ key: l, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: t, disabled: n, name: l, value: c, ...o }) })));
|
|
@@ -68128,7 +68117,7 @@ function s1(e) {
|
|
|
68128
68117
|
return ((r = e == null ? void 0 : e.length) != null ? r : 0) > 0 ? [o, ...e].filter(Boolean).join(" ") : o;
|
|
68129
68118
|
}
|
|
68130
68119
|
function kAe({ inherit: e = !1 } = {}) {
|
|
68131
|
-
let t = s1(), [n, r] =
|
|
68120
|
+
let t = s1(), [n, r] = ne([]), o = e ? [t, ...n].filter(Boolean) : n;
|
|
68132
68121
|
return [o.length > 0 ? o.join(" ") : void 0, ye(() => function(i) {
|
|
68133
68122
|
let a = gt((l) => (r((c) => [...c, l]), () => r((c) => {
|
|
68134
68123
|
let u = c.slice(), d = u.indexOf(l);
|
|
@@ -69024,7 +69013,7 @@ function pIe() {
|
|
|
69024
69013
|
} };
|
|
69025
69014
|
}
|
|
69026
69015
|
function mIe(e = 0) {
|
|
69027
|
-
let [t, n] =
|
|
69016
|
+
let [t, n] = ne(e), r = be((l) => n(l), [t]), o = be((l) => n((c) => c | l), [t]), i = be((l) => (t & l) === l, [t]), a = be((l) => n((c) => c & ~l), [n]), s = be((l) => n((c) => c ^ l), [n]);
|
|
69028
69017
|
return { flags: t, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: s };
|
|
69029
69018
|
}
|
|
69030
69019
|
var b4, y4;
|
|
@@ -69039,7 +69028,7 @@ function bIe(e) {
|
|
|
69039
69028
|
return t;
|
|
69040
69029
|
}
|
|
69041
69030
|
function yIe(e, t, n, r) {
|
|
69042
|
-
let [o, i] =
|
|
69031
|
+
let [o, i] = ne(n), { hasFlag: a, addFlag: s, removeFlag: l } = mIe(e && o ? 3 : 0), c = me(!1), u = me(!1), d = gb();
|
|
69043
69032
|
return Gn(() => {
|
|
69044
69033
|
var f;
|
|
69045
69034
|
if (e) {
|
|
@@ -69484,7 +69473,7 @@ function qIe(e = null) {
|
|
|
69484
69473
|
}
|
|
69485
69474
|
let N4 = 4;
|
|
69486
69475
|
function GIe({ children: e, enabled: t = !0 }) {
|
|
69487
|
-
let [n, r] =
|
|
69476
|
+
let [n, r] = ne(null), [o, i] = ne(0), a = me(null), [s, l] = ne(null);
|
|
69488
69477
|
YIe(s);
|
|
69489
69478
|
let c = t && n !== null && s !== null, { to: u = "bottom", gap: d = 0, offset: f = 0, padding: h = 0, inner: m } = ZIe(n, s), [g, b = "center"] = u.split(" ");
|
|
69490
69479
|
Gn(() => {
|
|
@@ -69566,7 +69555,7 @@ function VC(e, t, n = void 0) {
|
|
|
69566
69555
|
}];
|
|
69567
69556
|
}
|
|
69568
69557
|
return [n, null];
|
|
69569
|
-
}), i = ye(() => o(e, t)[0], [e, t]), [a = i, s] =
|
|
69558
|
+
}), i = ye(() => o(e, t)[0], [e, t]), [a = i, s] = ne();
|
|
69570
69559
|
return Gn(() => {
|
|
69571
69560
|
let [l, c] = o(e, t);
|
|
69572
69561
|
if (s(l), !!c) return c(s);
|
|
@@ -69593,7 +69582,7 @@ function KIe({ children: e, freeze: t }) {
|
|
|
69593
69582
|
return G.createElement(G.Fragment, null, n);
|
|
69594
69583
|
}
|
|
69595
69584
|
function t_(e, t) {
|
|
69596
|
-
let [n, r] =
|
|
69585
|
+
let [n, r] = ne(t);
|
|
69597
69586
|
return !e && n !== t && r(t), e ? n : t;
|
|
69598
69587
|
}
|
|
69599
69588
|
let xD = gn(null);
|
|
@@ -69681,7 +69670,7 @@ function iOe() {
|
|
|
69681
69670
|
return Wt(oOe);
|
|
69682
69671
|
}
|
|
69683
69672
|
function aOe(e) {
|
|
69684
|
-
let t = iOe(), n = Wt(YU), r = l1(e), [o, i] =
|
|
69673
|
+
let t = iOe(), n = Wt(YU), r = l1(e), [o, i] = ne(() => {
|
|
69685
69674
|
var a;
|
|
69686
69675
|
if (!t && n !== null) return (a = n.current) != null ? a : null;
|
|
69687
69676
|
if (bu.isServer) return null;
|
|
@@ -69700,7 +69689,7 @@ function aOe(e) {
|
|
|
69700
69689
|
let GU = Rl, sOe = la(function(e, t) {
|
|
69701
69690
|
let n = e, r = me(null), o = qs(SAe((d) => {
|
|
69702
69691
|
r.current = d;
|
|
69703
|
-
}), t), i = l1(r), a = aOe(r), [s] =
|
|
69692
|
+
}), t), i = l1(r), a = aOe(r), [s] = ne(() => {
|
|
69704
69693
|
var d;
|
|
69705
69694
|
return bu.isServer ? null : (d = i == null ? void 0 : i.createElement("div")) != null ? d : null;
|
|
69706
69695
|
}), l = Wt(dOe), c = rOe();
|
|
@@ -69808,7 +69797,7 @@ function xOe(e) {
|
|
|
69808
69797
|
return 40;
|
|
69809
69798
|
}, getScrollElement() {
|
|
69810
69799
|
return t.optionsElement;
|
|
69811
|
-
}, overscan: 12 }), [a, s] =
|
|
69800
|
+
}, overscan: 12 }), [a, s] = ne(0);
|
|
69812
69801
|
Gn(() => {
|
|
69813
69802
|
s((c) => c + 1);
|
|
69814
69803
|
}, [n]);
|
|
@@ -70008,7 +69997,7 @@ function DOe(e, t) {
|
|
|
70008
69997
|
var n, r, o;
|
|
70009
69998
|
let i = Wu(), { id: a = `headlessui-combobox-options-${i}`, hold: s = !1, anchor: l, portal: c = !1, modal: u = !0, transition: d = !1, ...f } = e, h = Ih("Combobox.Options"), m = yb("Combobox.Options"), g = HIe(l);
|
|
70010
69999
|
g && (c = !0);
|
|
70011
|
-
let [b, y] = qIe(g), [v, x] =
|
|
70000
|
+
let [b, y] = qIe(g), [v, x] = ne(null), w = UIe(), C = qs(t, g ? b : null, m.setOptionsElement, x), N = l1(h.optionsElement), E = XIe(), [k, R] = yIe(d, v, E !== null ? (E & sg.Open) === sg.Open : h.comboboxState === 0);
|
|
70012
70001
|
KAe(k, h.inputElement, m.closeCombobox);
|
|
70013
70002
|
let M = h.__demoMode ? !1 : u && h.comboboxState === 0;
|
|
70014
70003
|
hIe(M, N);
|
|
@@ -70090,7 +70079,7 @@ function FOe({
|
|
|
70090
70079
|
renderFilterModeButton: l,
|
|
70091
70080
|
showNegativeIndicator: c
|
|
70092
70081
|
}) {
|
|
70093
|
-
const [u, d] =
|
|
70082
|
+
const [u, d] = ne(""), f = oe((v) => v.themeStyle), h = o || (u === "" ? e : e == null ? void 0 : e.filter((v) => {
|
|
70094
70083
|
var x;
|
|
70095
70084
|
return v != null && v.value ? (x = v.value) == null ? void 0 : x.toLowerCase().includes(u == null ? void 0 : u.toLowerCase()) : !1;
|
|
70096
70085
|
}));
|
|
@@ -70268,7 +70257,7 @@ function eq({ filter: e }) {
|
|
|
70268
70257
|
return ch(e.dataType) ? /* @__PURE__ */ p(OTe, { filter: e }) : e.uiType === "radio" && e.type === "single" ? /* @__PURE__ */ p(BOe, { filter: e }) : /* @__PURE__ */ p(LOe, { filter: e });
|
|
70269
70258
|
}
|
|
70270
70259
|
function jOe({ frame: e }) {
|
|
70271
|
-
const [t, n] =
|
|
70260
|
+
const [t, n] = ne(!1), r = e == null ? void 0 : e.cards[0], { data: o, isPending: i } = Is(r), a = e == null ? void 0 : e.cards[1], {
|
|
70272
70261
|
data: s,
|
|
70273
70262
|
isLoading: l,
|
|
70274
70263
|
isFetching: c
|
|
@@ -73264,7 +73253,7 @@ function dg({
|
|
|
73264
73253
|
text: e,
|
|
73265
73254
|
className: t
|
|
73266
73255
|
}) {
|
|
73267
|
-
const [n, r] =
|
|
73256
|
+
const [n, r] = ne(!1);
|
|
73268
73257
|
return /* @__PURE__ */ p(
|
|
73269
73258
|
de,
|
|
73270
73259
|
{
|
|
@@ -84664,7 +84653,7 @@ prismjs/prism.js:
|
|
|
84664
84653
|
*/
|
|
84665
84654
|
function Hze({ children: e, handleRun: t }) {
|
|
84666
84655
|
var c;
|
|
84667
|
-
const n = oe((u) => u.isVisualEditing), [r, o] =
|
|
84656
|
+
const n = oe((u) => u.isVisualEditing), [r, o] = ne(!1);
|
|
84668
84657
|
me(null);
|
|
84669
84658
|
const i = (c = e == null ? void 0 : e.props) == null ? void 0 : c.className, a = i == null ? void 0 : i.split("-")[1], s = () => {
|
|
84670
84659
|
navigator.clipboard.writeText(l).then(() => {
|
|
@@ -87256,7 +87245,7 @@ function CBe({
|
|
|
87256
87245
|
onAddToDashboard: t
|
|
87257
87246
|
}) {
|
|
87258
87247
|
var I, P;
|
|
87259
|
-
const n = e.output, r = e.input, [o, i] =
|
|
87248
|
+
const n = e.output, r = e.input, [o, i] = ne(!1), [a, s] = ne(!1), [l, c] = ne("visual"), u = ye(() => (e == null ? void 0 : e.toolCallId) ?? fo(), [e]), { queueMessage: d } = $g(), f = () => {
|
|
87260
87249
|
const A = e.toolCallId;
|
|
87261
87250
|
M().label;
|
|
87262
87251
|
const O = `Can you explain how this visual was calculated? [ref: ${A}]`;
|
|
@@ -93745,7 +93734,7 @@ function Vqe({
|
|
|
93745
93734
|
onRemoveAll: l,
|
|
93746
93735
|
onAddContext: c
|
|
93747
93736
|
}) {
|
|
93748
|
-
const [u, d] =
|
|
93737
|
+
const [u, d] = ne(""), [f, h] = ne(""), m = o.filter((w) => {
|
|
93749
93738
|
if (!u) return !0;
|
|
93750
93739
|
const C = r0(w).toLowerCase(), N = MF(w).toLowerCase(), E = u.toLowerCase();
|
|
93751
93740
|
return C.includes(E) || N.includes(E);
|
|
@@ -93924,7 +93913,7 @@ function Wqe({
|
|
|
93924
93913
|
// onAddAllEntities,
|
|
93925
93914
|
onRemoveEntities: r
|
|
93926
93915
|
}) {
|
|
93927
|
-
const [o, i] =
|
|
93916
|
+
const [o, i] = ne(!1), a = e.length > 0;
|
|
93928
93917
|
e.length, t.length, e.length < t.length;
|
|
93929
93918
|
const s = e.length >= 3 ? e.slice(0, 2) : e, l = e.length >= 3 ? e.slice(2) : [], c = l.length > 0;
|
|
93930
93919
|
return /* @__PURE__ */ p(Jg, { children: /* @__PURE__ */ p("div", { className: "space-y-2", children: a && /* @__PURE__ */ _("div", { className: "flex flex-wrap gap-1", children: [
|
|
@@ -94276,7 +94265,7 @@ function Kqe() {
|
|
|
94276
94265
|
);
|
|
94277
94266
|
const t = Ve(
|
|
94278
94267
|
(k) => k.actions.updateDataSource
|
|
94279
|
-
), [n, r] =
|
|
94268
|
+
), [n, r] = ne(""), {
|
|
94280
94269
|
selectedConnection: o,
|
|
94281
94270
|
error: i
|
|
94282
94271
|
} = Wa(), {
|
|
@@ -94423,7 +94412,7 @@ function Kqe() {
|
|
|
94423
94412
|
function Xqe() {
|
|
94424
94413
|
const e = Ve((l) => l.card.dataSource), t = Ve(
|
|
94425
94414
|
(l) => l.actions.updateDataSource
|
|
94426
|
-
), [n, r] =
|
|
94415
|
+
), [n, r] = ne(!1), o = (l) => {
|
|
94427
94416
|
if (!l || (e == null ? void 0 : e.mode) !== "upload") return;
|
|
94428
94417
|
const c = Array.from(l).map((d) => ({
|
|
94429
94418
|
id: `file-${Date.now()}-${Math.random()}`,
|
|
@@ -94535,7 +94524,7 @@ function Xqe() {
|
|
|
94535
94524
|
function Qqe() {
|
|
94536
94525
|
const e = Ve((d) => d.card.dataSource), t = Ve(
|
|
94537
94526
|
(d) => d.actions.updateDataSource
|
|
94538
|
-
), [n, r] =
|
|
94527
|
+
), [n, r] = ne(""), [o, i] = ne(""), [a, s] = ne(
|
|
94539
94528
|
"api"
|
|
94540
94529
|
), l = () => {
|
|
94541
94530
|
if (!n.trim() || !o.trim() || !e) return;
|
|
@@ -94733,7 +94722,7 @@ function Jqe({
|
|
|
94733
94722
|
selectedEntities: n,
|
|
94734
94723
|
onRegisterSelectAll: r
|
|
94735
94724
|
}) {
|
|
94736
|
-
const { connections: o, isPending: i } = Wa(), [a, s] =
|
|
94725
|
+
const { connections: o, isPending: i } = Wa(), [a, s] = ne(""), [l, c] = ne(""), [u, d] = ne(""), [f, h] = ne("tables"), { updateDataSource: m, setSelectedConnectionId: g } = Ti(), {
|
|
94737
94726
|
entities: b,
|
|
94738
94727
|
isLoading: y,
|
|
94739
94728
|
error: v
|
|
@@ -94993,7 +94982,7 @@ function eGe({
|
|
|
94993
94982
|
onRegisterSelectAll: s
|
|
94994
94983
|
}) {
|
|
94995
94984
|
var C;
|
|
94996
|
-
const [l, c] =
|
|
94985
|
+
const [l, c] = ne(""), u = be(
|
|
94997
94986
|
(N) => {
|
|
94998
94987
|
const E = {
|
|
94999
94988
|
...e,
|
|
@@ -95180,7 +95169,7 @@ function wK({
|
|
|
95180
95169
|
dialogMode: o,
|
|
95181
95170
|
incomingSelectedEntities: i
|
|
95182
95171
|
}) {
|
|
95183
|
-
const { tokenProps: a } = Rt(), { allowedSemanticDomains: s } = a, [l, c] =
|
|
95172
|
+
const { tokenProps: a } = Rt(), { allowedSemanticDomains: s } = a, [l, c] = ne([]), { updateDataSource: u } = Ti(), d = oe((P) => P.isVisualEditing), f = oe((P) => P.dashboard.aiContext), { setAiContext: h } = $n(), m = me(null), [g, b] = ne(!1);
|
|
95184
95173
|
vK();
|
|
95185
95174
|
const y = s && s.length > 0, v = !y, x = y && s.length === 1 ? s[0] : void 0, w = be(
|
|
95186
95175
|
(P) => {
|
|
@@ -95413,7 +95402,7 @@ function nGe({
|
|
|
95413
95402
|
currentFileCount: r = 0,
|
|
95414
95403
|
className: o
|
|
95415
95404
|
}) {
|
|
95416
|
-
const [i, a] =
|
|
95405
|
+
const [i, a] = ne(!1), s = be((d) => {
|
|
95417
95406
|
d.preventDefault(), d.stopPropagation(), n || a(!0);
|
|
95418
95407
|
}, [n]), l = be((d) => {
|
|
95419
95408
|
d.preventDefault(), d.stopPropagation();
|
|
@@ -96151,7 +96140,7 @@ const up = ["low", "medium", "high"], TF = { low: "Low", medium: "Medium", high:
|
|
|
96151
96140
|
high: "bg-orange-100 text-orange-700 dark:bg-orange-950 dark:text-orange-300"
|
|
96152
96141
|
};
|
|
96153
96142
|
function IGe({ value: e, onValueChange: t }) {
|
|
96154
|
-
const n = (l) => up.indexOf(l), r = (l) => up[l], [o, i] =
|
|
96143
|
+
const n = (l) => up.indexOf(l), r = (l) => up[l], [o, i] = ne([n(e)]);
|
|
96155
96144
|
ue(() => {
|
|
96156
96145
|
const l = up.indexOf(e);
|
|
96157
96146
|
i([l]);
|
|
@@ -96190,7 +96179,7 @@ const VK = Er(
|
|
|
96190
96179
|
status: s,
|
|
96191
96180
|
assistantType: l
|
|
96192
96181
|
}, c) => {
|
|
96193
|
-
const [u, d] =
|
|
96182
|
+
const [u, d] = ne(!1), [f, h] = ne(!1), [m, g] = ne(!1), b = me(null), y = GL(), v = Ioe(), x = Aoe(), {
|
|
96194
96183
|
setCurrentAIContext: w,
|
|
96195
96184
|
updateSelectedEntities: C,
|
|
96196
96185
|
setReasoningEffort: N,
|
|
@@ -96547,7 +96536,7 @@ function FGe(e, t = {}) {
|
|
|
96547
96536
|
// No delay for real-time scrolling
|
|
96548
96537
|
dependencies: o = [],
|
|
96549
96538
|
forceScrollOnStream: i = !0
|
|
96550
|
-
} = t, a = me(null), [s, l] =
|
|
96539
|
+
} = t, a = me(null), [s, l] = ne(!0), [c, u] = ne(!0), [d, f] = ne(!1), [h, m] = ne(0), g = me(), b = me(e.length), y = me(!1), v = me(!1), x = me(0), w = me(0), C = me(), N = be(() => {
|
|
96551
96540
|
const M = a.current;
|
|
96552
96541
|
if (!M) return !0;
|
|
96553
96542
|
const { scrollTop: I, scrollHeight: P, clientHeight: A } = M;
|
|
@@ -96630,7 +96619,7 @@ function LGe(e, t = {}) {
|
|
|
96630
96619
|
// Start with 20 messages
|
|
96631
96620
|
loadMoreCount: o = 10
|
|
96632
96621
|
// Load 10 more when requested
|
|
96633
|
-
} = t, [i, a] =
|
|
96622
|
+
} = t, [i, a] = ne(r), s = ye(() => {
|
|
96634
96623
|
if (e.length <= i)
|
|
96635
96624
|
return e;
|
|
96636
96625
|
const f = Math.max(0, e.length - i);
|
|
@@ -96690,7 +96679,7 @@ function jGe({
|
|
|
96690
96679
|
open: e,
|
|
96691
96680
|
setOpen: t
|
|
96692
96681
|
}) {
|
|
96693
|
-
const [n, r] =
|
|
96682
|
+
const [n, r] = ne(!1), [o, i] = ne(F0), [a, s] = ne(!1), [l, c] = ne(!1), { isLocalDev: u, isConsoleMode: d } = AD(), f = me(null);
|
|
96694
96683
|
oe(
|
|
96695
96684
|
(xe) => xe.dashboard.aiScopeTables
|
|
96696
96685
|
);
|
|
@@ -96713,7 +96702,7 @@ function jGe({
|
|
|
96713
96702
|
stop: W,
|
|
96714
96703
|
errorMessage: j,
|
|
96715
96704
|
clearError: T
|
|
96716
|
-
} = Lqe(), [H, U] =
|
|
96705
|
+
} = Lqe(), [H, U] = ne(""), X = (xe) => {
|
|
96717
96706
|
U(xe.target.value);
|
|
96718
96707
|
};
|
|
96719
96708
|
function Y({
|
|
@@ -97117,7 +97106,7 @@ function VGe(e) {
|
|
|
97117
97106
|
]);
|
|
97118
97107
|
}
|
|
97119
97108
|
function HGe(e, t) {
|
|
97120
|
-
const [n, r] =
|
|
97109
|
+
const [n, r] = ne(() => {
|
|
97121
97110
|
const o = localStorage.getItem(e);
|
|
97122
97111
|
return o ? JSON.parse(o) : t;
|
|
97123
97112
|
});
|
|
@@ -97127,7 +97116,7 @@ function HGe(e, t) {
|
|
|
97127
97116
|
}
|
|
97128
97117
|
function WGe() {
|
|
97129
97118
|
var P;
|
|
97130
|
-
const { showAssistant: e } = Rt(), { preferences: t } = AD(), n = ((P = t == null ? void 0 : t.cardDisplay) == null ? void 0 : P.mode) === "print", r = me(null), o = me(null), [i, a] =
|
|
97119
|
+
const { showAssistant: e } = Rt(), { preferences: t } = AD(), n = ((P = t == null ? void 0 : t.cardDisplay) == null ? void 0 : P.mode) === "print", r = me(null), o = me(null), [i, a] = ne(!1), [s, l] = HGe("dashboardAssistantOpen", !1), c = oe((A) => A.isVisualEditing), u = oe((A) => A.themeStyle), d = oe((A) => {
|
|
97131
97120
|
var O;
|
|
97132
97121
|
return (O = A.dashboard) == null ? void 0 : O.sheets;
|
|
97133
97122
|
}), f = oe(
|
|
@@ -97534,7 +97523,7 @@ function ZGe(e) {
|
|
|
97534
97523
|
};
|
|
97535
97524
|
}
|
|
97536
97525
|
function KGe(e, t) {
|
|
97537
|
-
const [n, r] =
|
|
97526
|
+
const [n, r] = ne(e);
|
|
97538
97527
|
return ue(() => {
|
|
97539
97528
|
const o = setTimeout(() => {
|
|
97540
97529
|
r(e);
|
|
@@ -98590,7 +98579,7 @@ function rX(e, t) {
|
|
|
98590
98579
|
return e.Uri.parse(t);
|
|
98591
98580
|
}
|
|
98592
98581
|
function uZe({ original: e, modified: t, language: n, originalLanguage: r, modifiedLanguage: o, originalModelPath: i, modifiedModelPath: a, keepCurrentOriginalModel: s = !1, keepCurrentModifiedModel: l = !1, theme: c = "light", loading: u = "Loading...", options: d = {}, height: f = "100%", width: h = "100%", className: m, wrapperProps: g = {}, beforeMount: b = vm, onMount: y = vm }) {
|
|
98593
|
-
let [v, x] =
|
|
98582
|
+
let [v, x] = ne(!1), [w, C] = ne(!0), N = me(null), E = me(null), k = me(null), R = me(y), M = me(b), I = me(!1);
|
|
98594
98583
|
xP(() => {
|
|
98595
98584
|
let D = Ex.init();
|
|
98596
98585
|
return D.then(($) => (E.current = $) && C(!1)).catch(($) => ($ == null ? void 0 : $.type) !== "cancelation" && console.error("Monaco initialization: error:", $)), () => N.current ? O() : D.cancel();
|
|
@@ -98645,7 +98634,7 @@ function uZe({ original: e, modified: t, language: n, originalLanguage: r, modif
|
|
|
98645
98634
|
var dZe = uZe;
|
|
98646
98635
|
Tg(dZe);
|
|
98647
98636
|
function fZe() {
|
|
98648
|
-
let [e, t] =
|
|
98637
|
+
let [e, t] = ne(Ex.__getMonacoInstance());
|
|
98649
98638
|
return xP(() => {
|
|
98650
98639
|
let n;
|
|
98651
98640
|
return e || (n = Ex.init(), n.then((r) => {
|
|
@@ -98662,7 +98651,7 @@ function hZe(e) {
|
|
|
98662
98651
|
}
|
|
98663
98652
|
var pZe = hZe, i0 = /* @__PURE__ */ new Map();
|
|
98664
98653
|
function mZe({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, language: o, path: i, theme: a = "light", line: s, loading: l = "Loading...", options: c = {}, overrideServices: u = {}, saveViewState: d = !0, keepCurrentModel: f = !1, width: h = "100%", height: m = "100%", className: g, wrapperProps: b = {}, beforeMount: y = vm, onMount: v = vm, onChange: x, onValidate: w = vm }) {
|
|
98665
|
-
let [C, N] =
|
|
98654
|
+
let [C, N] = ne(!1), [E, k] = ne(!0), R = me(null), M = me(null), I = me(null), P = me(v), A = me(y), O = me(), D = me(r), $ = pZe(i), B = me(!1), V = me(!1);
|
|
98666
98655
|
xP(() => {
|
|
98667
98656
|
let W = Ex.init();
|
|
98668
98657
|
return W.then((j) => (R.current = j) && k(!1)).catch((j) => (j == null ? void 0 : j.type) !== "cancelation" && console.error("Monaco initialization: error:", j)), () => M.current ? F() : W.cancel();
|