react-semaphor 0.0.631 → 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-DQulUok7.js → dashboard-plus-BlOSqp6l.js} +2996 -2997
- package/dist/chunks/dashboard-plus-CBymYEeU.js +355 -0
- package/dist/chunks/{index-CXL7gvuy.js → index-285H1_10.js} +47 -47
- package/dist/chunks/{index-CCBLRfsE.js → index-CnqxbwDX.js} +342 -360
- 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/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/main.d.ts +5 -0
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-B3mZd8dr.js +0 -355
|
@@ -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,
|
|
@@ -9627,33 +9627,26 @@ function Tte(e) {
|
|
|
9627
9627
|
}
|
|
9628
9628
|
function Ate({
|
|
9629
9629
|
dashboard: e,
|
|
9630
|
-
onView: t
|
|
9631
|
-
|
|
9632
|
-
// Random view count for demo
|
|
9630
|
+
onView: t
|
|
9631
|
+
// _viewCount = Math.floor(Math.random() * 2000) + 100, // Random view count for demo
|
|
9633
9632
|
}) {
|
|
9634
|
-
const { Icon:
|
|
9633
|
+
const { Icon: n, color: r } = Pte(e.title);
|
|
9635
9634
|
return /* @__PURE__ */ _(
|
|
9636
9635
|
Ps,
|
|
9637
9636
|
{
|
|
9638
9637
|
className: "group h-full cursor-pointer transition-all hover:shadow-lg",
|
|
9639
9638
|
onClick: () => t(e.id),
|
|
9640
9639
|
children: [
|
|
9641
|
-
/* @__PURE__ */ p(Ts, { className: "p-4 pb-3", children: /* @__PURE__ */
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
),
|
|
9652
|
-
/* @__PURE__ */ _("span", { className: "text-xs text-muted-foreground", children: [
|
|
9653
|
-
n.toLocaleString(),
|
|
9654
|
-
" views"
|
|
9655
|
-
] })
|
|
9656
|
-
] }) }),
|
|
9640
|
+
/* @__PURE__ */ p(Ts, { className: "p-4 pb-3", children: /* @__PURE__ */ p("div", { className: "flex items-start justify-between", children: /* @__PURE__ */ p(
|
|
9641
|
+
"div",
|
|
9642
|
+
{
|
|
9643
|
+
className: K(
|
|
9644
|
+
"flex size-9 items-center justify-center rounded-lg text-white",
|
|
9645
|
+
r
|
|
9646
|
+
),
|
|
9647
|
+
children: /* @__PURE__ */ p(n, { className: "h-5 w-5" })
|
|
9648
|
+
}
|
|
9649
|
+
) }) }),
|
|
9657
9650
|
/* @__PURE__ */ _(Fl, { className: "space-y-3 p-4 pt-0", children: [
|
|
9658
9651
|
/* @__PURE__ */ _("div", { children: [
|
|
9659
9652
|
/* @__PURE__ */ p("h3", { className: "mb-1 font-semibold text-foreground", children: e.title }),
|
|
@@ -10283,7 +10276,7 @@ function mKe(e, t) {
|
|
|
10283
10276
|
return Sne(jn.VISUAL, e, t);
|
|
10284
10277
|
}
|
|
10285
10278
|
function gKe() {
|
|
10286
|
-
const [e, t] =
|
|
10279
|
+
const [e, t] = ne(/* @__PURE__ */ new Map()), n = be((i, a) => {
|
|
10287
10280
|
t((s) => {
|
|
10288
10281
|
const l = new Map(s), c = new Set(l.get(i) || []);
|
|
10289
10282
|
return a ? c.add(a) : (c.add("title"), c.add("description")), l.set(i, c), l;
|
|
@@ -10944,7 +10937,7 @@ function tS(e, t) {
|
|
|
10944
10937
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
10945
10938
|
}
|
|
10946
10939
|
function ire(e, t) {
|
|
10947
|
-
var n =
|
|
10940
|
+
var n = ne(function() {
|
|
10948
10941
|
return {
|
|
10949
10942
|
// value
|
|
10950
10943
|
value: e,
|
|
@@ -11884,7 +11877,7 @@ const ck = S.forwardRef(
|
|
|
11884
11877
|
);
|
|
11885
11878
|
ck.displayName = "Textarea";
|
|
11886
11879
|
function aoe({ onDashboardSelect: e }) {
|
|
11887
|
-
const { authToken: t } = Rt(), [n, r] =
|
|
11880
|
+
const { authToken: t } = Rt(), [n, r] = ne(!1), [o, i] = ne(""), [a, s] = ne(""), l = ec(
|
|
11888
11881
|
(b) => b.actions.selectDashboard
|
|
11889
11882
|
), {
|
|
11890
11883
|
resources: c,
|
|
@@ -20591,7 +20584,7 @@ function _le(e) {
|
|
|
20591
20584
|
}, n);
|
|
20592
20585
|
}
|
|
20593
20586
|
function kle() {
|
|
20594
|
-
const [e, t] =
|
|
20587
|
+
const [e, t] = ne("");
|
|
20595
20588
|
return {
|
|
20596
20589
|
announce: be((r) => {
|
|
20597
20590
|
r != null && t(r);
|
|
@@ -20609,7 +20602,7 @@ function Mle(e) {
|
|
|
20609
20602
|
}, [e, t]);
|
|
20610
20603
|
}
|
|
20611
20604
|
function Rle() {
|
|
20612
|
-
const [e] =
|
|
20605
|
+
const [e] = ne(() => /* @__PURE__ */ new Set()), t = be((r) => (e.add(r), () => e.delete(r)), [e]);
|
|
20613
20606
|
return [be((r) => {
|
|
20614
20607
|
let {
|
|
20615
20608
|
type: o,
|
|
@@ -20665,7 +20658,7 @@ function Tle(e) {
|
|
|
20665
20658
|
const {
|
|
20666
20659
|
announce: i,
|
|
20667
20660
|
announcement: a
|
|
20668
|
-
} = kle(), s = Hg("DndLiveRegion"), [l, c] =
|
|
20661
|
+
} = kle(), s = Hg("DndLiveRegion"), [l, c] = ne(!1);
|
|
20669
20662
|
if (ue(() => {
|
|
20670
20663
|
c(!0);
|
|
20671
20664
|
}, []), Mle(ye(() => ({
|
|
@@ -21812,7 +21805,7 @@ function uce(e, t) {
|
|
|
21812
21805
|
dependencies: r,
|
|
21813
21806
|
config: o
|
|
21814
21807
|
} = t;
|
|
21815
|
-
const [i, a] =
|
|
21808
|
+
const [i, a] = ne(null), {
|
|
21816
21809
|
frequency: s,
|
|
21817
21810
|
measure: l,
|
|
21818
21811
|
strategy: c
|
|
@@ -21920,7 +21913,7 @@ function hce(e) {
|
|
|
21920
21913
|
}
|
|
21921
21914
|
function mA(e, t, n) {
|
|
21922
21915
|
t === void 0 && (t = hce);
|
|
21923
|
-
const [r, o] =
|
|
21916
|
+
const [r, o] = ne(null);
|
|
21924
21917
|
function i() {
|
|
21925
21918
|
o((l) => {
|
|
21926
21919
|
if (!e)
|
|
@@ -21969,7 +21962,7 @@ function mce(e) {
|
|
|
21969
21962
|
}, [e]), n;
|
|
21970
21963
|
}
|
|
21971
21964
|
function gce(e) {
|
|
21972
|
-
const [t, n] =
|
|
21965
|
+
const [t, n] = ne(null), r = me(e), o = be((i) => {
|
|
21973
21966
|
const a = SS(i.target);
|
|
21974
21967
|
a && n((s) => s ? (s.set(a, wE(a)), new Map(s)) : null);
|
|
21975
21968
|
}, []);
|
|
@@ -22053,7 +22046,7 @@ function _8(e) {
|
|
|
22053
22046
|
const yA = [];
|
|
22054
22047
|
function vce(e, t) {
|
|
22055
22048
|
t === void 0 && (t = gh);
|
|
22056
|
-
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);
|
|
22057
22050
|
function a() {
|
|
22058
22051
|
i(() => e.length ? e.map((l) => w8(l) ? r : new Uk(t(l), l)) : yA);
|
|
22059
22052
|
}
|
|
@@ -22076,7 +22069,7 @@ function xce(e) {
|
|
|
22076
22069
|
let {
|
|
22077
22070
|
measure: t
|
|
22078
22071
|
} = e;
|
|
22079
|
-
const [n, r] =
|
|
22072
|
+
const [n, r] = ne(null), o = be((c) => {
|
|
22080
22073
|
for (const {
|
|
22081
22074
|
target: u
|
|
22082
22075
|
} of c)
|
|
@@ -22416,7 +22409,7 @@ const P8 = /* @__PURE__ */ Tg(function(t) {
|
|
|
22416
22409
|
modifiers: h,
|
|
22417
22410
|
...m
|
|
22418
22411
|
} = t;
|
|
22419
|
-
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, {
|
|
22420
22413
|
draggable: {
|
|
22421
22414
|
active: E,
|
|
22422
22415
|
nodes: k,
|
|
@@ -22436,7 +22429,7 @@ const P8 = /* @__PURE__ */ Tg(function(t) {
|
|
|
22436
22429
|
data: (Fe = I == null ? void 0 : I.data) != null ? Fe : Sce,
|
|
22437
22430
|
rect: P
|
|
22438
22431
|
} : null;
|
|
22439
|
-
}, [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), {
|
|
22440
22433
|
droppableRects: T,
|
|
22441
22434
|
measureDroppableContainers: H,
|
|
22442
22435
|
measuringScheduled: U
|
|
@@ -22490,7 +22483,7 @@ const P8 = /* @__PURE__ */ Tg(function(t) {
|
|
|
22490
22483
|
droppableRects: T,
|
|
22491
22484
|
droppableContainers: W,
|
|
22492
22485
|
pointerCoordinates: Je
|
|
22493
|
-
}) : 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(
|
|
22494
22487
|
(Fe, Ke) => {
|
|
22495
22488
|
let {
|
|
22496
22489
|
sensor: He,
|
|
@@ -22925,7 +22918,7 @@ function Oce(e) {
|
|
|
22925
22918
|
animation: t,
|
|
22926
22919
|
children: n
|
|
22927
22920
|
} = e;
|
|
22928
|
-
const [r, o] =
|
|
22921
|
+
const [r, o] = ne(null), [i, a] = ne(null), s = tv(n);
|
|
22929
22922
|
return !n && !r && s && o(s), Ji(() => {
|
|
22930
22923
|
if (!i)
|
|
22931
22924
|
return;
|
|
@@ -23424,7 +23417,7 @@ function aue(e) {
|
|
|
23424
23417
|
node: r,
|
|
23425
23418
|
rect: o
|
|
23426
23419
|
} = e;
|
|
23427
|
-
const [i, a] =
|
|
23420
|
+
const [i, a] = ne(null), s = me(n);
|
|
23428
23421
|
return Ji(() => {
|
|
23429
23422
|
if (!t && n !== s.current && r.current) {
|
|
23430
23423
|
const l = o.current;
|
|
@@ -23674,7 +23667,7 @@ function cue(e, t) {
|
|
|
23674
23667
|
return !av(e) || !av(t) || !B8(e, t) ? !1 : e.data.current.sortable.index < t.data.current.sortable.index;
|
|
23675
23668
|
}
|
|
23676
23669
|
function uue(e, t, n) {
|
|
23677
|
-
const [r, o] =
|
|
23670
|
+
const [r, o] = ne(null), [i, a] = ne(""), s = () => {
|
|
23678
23671
|
const m = {
|
|
23679
23672
|
id: `hierarchy_${Date.now()}`,
|
|
23680
23673
|
label: i || "New Hierarchy",
|
|
@@ -26938,7 +26931,7 @@ function wfe({
|
|
|
26938
26931
|
onRemoveStep: i,
|
|
26939
26932
|
isFirstField: a = !1
|
|
26940
26933
|
}) {
|
|
26941
|
-
const [s, l] =
|
|
26934
|
+
const [s, l] = ne(!1), {
|
|
26942
26935
|
attributes: c,
|
|
26943
26936
|
listeners: u,
|
|
26944
26937
|
setNodeRef: d,
|
|
@@ -27035,7 +27028,7 @@ function Cfe({
|
|
|
27035
27028
|
onRemoveStep: n,
|
|
27036
27029
|
onUpdateHierarchy: r
|
|
27037
27030
|
}) {
|
|
27038
|
-
const { sensors: o } = Sfe(r), [i, a] =
|
|
27031
|
+
const { sensors: o } = Sfe(r), [i, a] = ne(null), s = e.steps.filter(
|
|
27039
27032
|
(f) => f && f.field && f.field.id
|
|
27040
27033
|
), c = s.map((f) => f.field).map(
|
|
27041
27034
|
(f, h) => `${e.id}-${f.id}-${h}`
|
|
@@ -27930,7 +27923,7 @@ function rhe({
|
|
|
27930
27923
|
searchPlaceholder: r = "Search fields...",
|
|
27931
27924
|
className: o = ""
|
|
27932
27925
|
}) {
|
|
27933
|
-
const [i, a] =
|
|
27926
|
+
const [i, a] = ne(""), s = e.filter(
|
|
27934
27927
|
(u) => u.label.toLowerCase().includes(i.toLowerCase()) || u.qualifiedEntityName && u.qualifiedEntityName.toLowerCase().includes(i.toLowerCase())
|
|
27935
27928
|
), l = () => {
|
|
27936
27929
|
const u = [
|
|
@@ -28401,14 +28394,14 @@ function xhe({
|
|
|
28401
28394
|
onUpdateClickFilterInteractions: r,
|
|
28402
28395
|
currentClickFilterInteractions: o
|
|
28403
28396
|
}) {
|
|
28404
|
-
const [i, a] =
|
|
28397
|
+
const [i, a] = ne(
|
|
28405
28398
|
o.length > 0
|
|
28406
|
-
), [s, l] =
|
|
28399
|
+
), [s, l] = ne(
|
|
28407
28400
|
o[0] || {
|
|
28408
28401
|
filterFields: [],
|
|
28409
28402
|
highlightSelf: !0
|
|
28410
28403
|
}
|
|
28411
|
-
), [c, u] =
|
|
28404
|
+
), [c, u] = ne(""), d = RJ(), f = e === "clickFilter", h = () => {
|
|
28412
28405
|
const N = !i;
|
|
28413
28406
|
if (a(N), N) {
|
|
28414
28407
|
const E = {
|
|
@@ -28717,23 +28710,23 @@ function whe({
|
|
|
28717
28710
|
return ((L = n.interactionConfig) == null ? void 0 : L.drillInteractions) || [];
|
|
28718
28711
|
},
|
|
28719
28712
|
[(V = n.interactionConfig) == null ? void 0 : V.drillInteractions]
|
|
28720
|
-
), [m, g] =
|
|
28713
|
+
), [m, g] = ne(u), [b, y] = ne(
|
|
28721
28714
|
d || []
|
|
28722
|
-
), [v, x] =
|
|
28715
|
+
), [v, x] = ne(
|
|
28723
28716
|
null
|
|
28724
|
-
), [w, C] =
|
|
28717
|
+
), [w, C] = ne(
|
|
28725
28718
|
() => h.filter(
|
|
28726
28719
|
(L) => L.mode === "drillToURL"
|
|
28727
28720
|
)
|
|
28728
|
-
), [N, E] =
|
|
28721
|
+
), [N, E] = ne(
|
|
28729
28722
|
() => h.filter(
|
|
28730
28723
|
(L) => L.mode === "drillThrough"
|
|
28731
28724
|
)
|
|
28732
|
-
), [k, R] =
|
|
28725
|
+
), [k, R] = ne(
|
|
28733
28726
|
() => h.filter(
|
|
28734
28727
|
(L) => L.mode === "drillToDetail"
|
|
28735
28728
|
)
|
|
28736
|
-
), [M, I] =
|
|
28729
|
+
), [M, I] = ne(f), P = me(null);
|
|
28737
28730
|
G.useEffect(() => {
|
|
28738
28731
|
var L, F, W;
|
|
28739
28732
|
if (e) {
|
|
@@ -33641,7 +33634,7 @@ function Mge({
|
|
|
33641
33634
|
exportFileName: c = "export"
|
|
33642
33635
|
}) {
|
|
33643
33636
|
var v;
|
|
33644
|
-
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;
|
|
33645
33638
|
(v = s == null ? void 0 : s.preferences) == null || v.allowDownload;
|
|
33646
33639
|
const { data: b } = Is(s), y = oe((x) => x.isVisualEditing);
|
|
33647
33640
|
return ue(() => {
|
|
@@ -35376,7 +35369,7 @@ function $B({
|
|
|
35376
35369
|
onOpenChange: s
|
|
35377
35370
|
}) {
|
|
35378
35371
|
var b;
|
|
35379
|
-
const [l, c] =
|
|
35372
|
+
const [l, c] = ne(
|
|
35380
35373
|
sI()
|
|
35381
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 = () => {
|
|
35382
35375
|
n({
|
|
@@ -36779,16 +36772,16 @@ function FB(e) {
|
|
|
36779
36772
|
card: b,
|
|
36780
36773
|
paginationMetadata: y,
|
|
36781
36774
|
onPaginationChange: v
|
|
36782
|
-
} = 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({
|
|
36783
36776
|
pageIndex: y && A === "server" ? y.page - 1 : 0,
|
|
36784
36777
|
pageSize: O
|
|
36785
36778
|
});
|
|
36786
36779
|
ue(() => {
|
|
36787
36780
|
b && b.type === "table" && b.config && !b.paginationConfig && v && v(0, O);
|
|
36788
36781
|
}, [b == null ? void 0 : b.id]);
|
|
36789
|
-
const [B, V] =
|
|
36782
|
+
const [B, V] = ne(!1), [L, F] = ne(null), [W, j] = ne({}), T = r || W, [H, U] = ne(
|
|
36790
36783
|
wl()
|
|
36791
|
-
), [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);
|
|
36792
36785
|
oe(
|
|
36793
36786
|
(Ce) => Ce.isDashboardEditing
|
|
36794
36787
|
);
|
|
@@ -37054,7 +37047,7 @@ function XM({ card: e }) {
|
|
|
37054
37047
|
return ((b = (g = e == null ? void 0 : e.preferences) == null ? void 0 : g.tablePrefs) == null ? void 0 : b.columnSizing) || {};
|
|
37055
37048
|
},
|
|
37056
37049
|
[(m = (h = e == null ? void 0 : e.preferences) == null ? void 0 : h.tablePrefs) == null ? void 0 : m.columnSizing]
|
|
37057
|
-
), [i, a] =
|
|
37050
|
+
), [i, a] = ne(
|
|
37058
37051
|
o
|
|
37059
37052
|
), s = me(!1), l = me({}), c = me(null), u = be((g, b) => {
|
|
37060
37053
|
const y = Object.keys(g), v = Object.keys(b);
|
|
@@ -37093,7 +37086,7 @@ function XM({ card: e }) {
|
|
|
37093
37086
|
);
|
|
37094
37087
|
return ue(() => {
|
|
37095
37088
|
const g = () => {
|
|
37096
|
-
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));
|
|
37097
37090
|
};
|
|
37098
37091
|
return window.addEventListener("mouseup", g), window.addEventListener("touchend", g), () => {
|
|
37099
37092
|
window.removeEventListener("mouseup", g), window.removeEventListener("touchend", g);
|
|
@@ -37399,7 +37392,7 @@ function vye(e) {
|
|
|
37399
37392
|
return ((v = (y = e == null ? void 0 : e.preferences) == null ? void 0 : y.tablePrefs) == null ? void 0 : v.columnSettingsMap) || {};
|
|
37400
37393
|
},
|
|
37401
37394
|
[(b = (g = e == null ? void 0 : e.preferences) == null ? void 0 : g.tablePrefs) == null ? void 0 : b.columnSettingsMap]
|
|
37402
|
-
), [i, a] =
|
|
37395
|
+
), [i, a] = ne(!1), [s, l] = ne(null), [c, u] = ne(
|
|
37403
37396
|
wl()
|
|
37404
37397
|
), d = be(
|
|
37405
37398
|
(y) => {
|
|
@@ -38456,7 +38449,7 @@ function QM({
|
|
|
38456
38449
|
y,
|
|
38457
38450
|
a
|
|
38458
38451
|
]
|
|
38459
|
-
), [{ pageIndex: P, pageSize: A }, O] =
|
|
38452
|
+
), [{ pageIndex: P, pageSize: A }, O] = ne({
|
|
38460
38453
|
pageIndex: 0,
|
|
38461
38454
|
pageSize: d ? Number.MAX_SAFE_INTEGER : 50
|
|
38462
38455
|
}), D = d ? Number.MAX_SAFE_INTEGER : A, $ = !!o && !d, B = IM({
|
|
@@ -53031,7 +53024,7 @@ function SEe(e) {
|
|
|
53031
53024
|
}
|
|
53032
53025
|
function KKe(e) {
|
|
53033
53026
|
var a, s;
|
|
53034
|
-
const [t] =
|
|
53027
|
+
const [t] = ne({
|
|
53035
53028
|
id: "",
|
|
53036
53029
|
title: "",
|
|
53037
53030
|
type: "bar"
|
|
@@ -53041,7 +53034,7 @@ function KKe(e) {
|
|
|
53041
53034
|
}
|
|
53042
53035
|
function Zw(e) {
|
|
53043
53036
|
var P;
|
|
53044
|
-
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, {
|
|
53045
53038
|
addFilteringCard: d,
|
|
53046
53039
|
addOrUpdateFilterValues: f,
|
|
53047
53040
|
removeFilterValues: h,
|
|
@@ -53456,55 +53449,41 @@ function Kw(e, t) {
|
|
|
53456
53449
|
}), [e, t]);
|
|
53457
53450
|
}
|
|
53458
53451
|
function _Ee(e = {}, t) {
|
|
53459
|
-
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, [
|
|
53460
|
-
pageIndex: e.currentPage ? e.currentPage - 1 : 0,
|
|
53461
|
-
pageSize: s
|
|
53462
|
-
}), 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(
|
|
53463
53453
|
() => i && r("showPagination") && !o,
|
|
53464
53454
|
[i, r, o]
|
|
53465
|
-
),
|
|
53466
|
-
var C;
|
|
53467
|
-
a ? (C = e.onPageChange) == null || C.call(e, w + 1, e.pageSize || 50) : u((N) => ({ ...N, pageIndex: w }));
|
|
53468
|
-
}, y = (w) => {
|
|
53469
|
-
var C;
|
|
53470
|
-
a ? (C = e.onPageChange) == null || C.call(e, 1, w) : u({ pageIndex: 0, pageSize: w });
|
|
53471
|
-
}, v = () => {
|
|
53472
|
-
var w;
|
|
53473
|
-
a ? (w = e.onPageChange) == null || w.call(
|
|
53474
|
-
e,
|
|
53475
|
-
(e.currentPage || 1) - 1,
|
|
53476
|
-
e.pageSize || 50
|
|
53477
|
-
) : u((C) => ({
|
|
53478
|
-
...C,
|
|
53479
|
-
pageIndex: Math.max(0, C.pageIndex - 1)
|
|
53480
|
-
}));
|
|
53481
|
-
}, x = () => {
|
|
53482
|
-
var w;
|
|
53483
|
-
a ? (w = e.onPageChange) == null || w.call(
|
|
53484
|
-
e,
|
|
53485
|
-
(e.currentPage || 1) + 1,
|
|
53486
|
-
e.pageSize || 50
|
|
53487
|
-
) : u((C) => ({
|
|
53488
|
-
...C,
|
|
53489
|
-
pageIndex: C.pageIndex + 1
|
|
53490
|
-
}));
|
|
53491
|
-
};
|
|
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]);
|
|
53492
53456
|
return {
|
|
53493
|
-
pageIndex:
|
|
53494
|
-
pageSize:
|
|
53457
|
+
pageIndex: h,
|
|
53458
|
+
pageSize: m,
|
|
53495
53459
|
isServerSidePagination: a,
|
|
53496
|
-
showPagination:
|
|
53460
|
+
showPagination: g,
|
|
53497
53461
|
paginationEnabled: i,
|
|
53498
53462
|
isTablePrintDisplayMode: o,
|
|
53499
|
-
|
|
53500
|
-
|
|
53501
|
-
|
|
53502
|
-
|
|
53503
|
-
|
|
53504
|
-
|
|
53505
|
-
|
|
53506
|
-
|
|
53507
|
-
|
|
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
|
|
53508
53487
|
};
|
|
53509
53488
|
}
|
|
53510
53489
|
function kEe(e, t, n) {
|
|
@@ -53592,7 +53571,7 @@ function REe(e, t, n, r, o) {
|
|
|
53592
53571
|
return a && u.push(a), u;
|
|
53593
53572
|
}
|
|
53594
53573
|
function DEe(e, t) {
|
|
53595
|
-
const [n, r] =
|
|
53574
|
+
const [n, r] = ne([]), o = ye(
|
|
53596
53575
|
() => kEe(e, n, t),
|
|
53597
53576
|
[e, n, t]
|
|
53598
53577
|
), i = be((l) => {
|
|
@@ -54245,7 +54224,7 @@ function Ns({
|
|
|
54245
54224
|
isEditable: a = !0,
|
|
54246
54225
|
isPending: s = !1
|
|
54247
54226
|
}) {
|
|
54248
|
-
const [l, c] =
|
|
54227
|
+
const [l, c] = ne(!1), [u, d] = ne(e || ""), f = () => {
|
|
54249
54228
|
c(!1), u !== e && n(u);
|
|
54250
54229
|
}, h = (m) => {
|
|
54251
54230
|
m.key === "Enter" ? (c(!1), n(u)) : m.key === "Escape" && (c(!1), d(e || ""));
|
|
@@ -54543,65 +54522,68 @@ function Xw({
|
|
|
54543
54522
|
onAggregationChange: r,
|
|
54544
54523
|
onAggregationLabelChange: o
|
|
54545
54524
|
}) {
|
|
54546
|
-
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(
|
|
54547
54526
|
() => OEe(e.columnSubtotalMeta),
|
|
54548
54527
|
[e.columnSubtotalMeta]
|
|
54549
54528
|
), { tableData: d, grandTotalRows: f } = ye(
|
|
54550
54529
|
() => IEe(e),
|
|
54551
54530
|
[e]
|
|
54552
|
-
), { sorting: h, setSorting: m, sortedTableData: g } = DEe(d, e), b =
|
|
54553
|
-
|
|
54554
|
-
|
|
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({
|
|
54555
54536
|
groupByColumns: e.groupByColumns,
|
|
54556
|
-
numRowLevels:
|
|
54537
|
+
numRowLevels: E,
|
|
54557
54538
|
onAggregationLabelChange: o
|
|
54558
54539
|
});
|
|
54559
|
-
|
|
54560
|
-
const
|
|
54540
|
+
N.push(...k);
|
|
54541
|
+
const R = zEe({
|
|
54561
54542
|
columnHeaders: e.columnHeaders,
|
|
54562
54543
|
columnDisplayNames: e.columnDisplayNames,
|
|
54563
54544
|
setSorting: m
|
|
54564
54545
|
});
|
|
54565
|
-
if (
|
|
54566
|
-
const
|
|
54546
|
+
if (N.push(...R), a) {
|
|
54547
|
+
const I = BEe({
|
|
54567
54548
|
columnHeaders: e.columnHeaders,
|
|
54568
54549
|
setSorting: m
|
|
54569
54550
|
});
|
|
54570
|
-
|
|
54551
|
+
N.push(I);
|
|
54571
54552
|
}
|
|
54572
|
-
return
|
|
54573
|
-
}, [e, a, o, m]),
|
|
54553
|
+
return N;
|
|
54554
|
+
}, [e, a, o, m]), x = IM({
|
|
54574
54555
|
data: g,
|
|
54575
|
-
columns:
|
|
54556
|
+
columns: v,
|
|
54576
54557
|
state: {
|
|
54577
54558
|
sorting: h,
|
|
54578
54559
|
columnSizing: s,
|
|
54579
54560
|
pagination: {
|
|
54580
|
-
pageIndex:
|
|
54581
|
-
pageSize:
|
|
54561
|
+
pageIndex: y.pageIndex,
|
|
54562
|
+
pageSize: y.pageSize
|
|
54582
54563
|
}
|
|
54583
54564
|
},
|
|
54584
54565
|
onSortingChange: m,
|
|
54585
|
-
onPaginationChange:
|
|
54566
|
+
onPaginationChange: void 0,
|
|
54567
|
+
// Pagination is handled via the pagination options
|
|
54586
54568
|
getCoreRowModel: TM(),
|
|
54587
54569
|
// Remove getSortedRowModel since we're doing custom sorting
|
|
54588
|
-
getPaginationRowModel: !
|
|
54589
|
-
manualPagination:
|
|
54570
|
+
getPaginationRowModel: !y.isServerSidePagination && !y.isTablePrintDisplayMode ? AM() : void 0,
|
|
54571
|
+
manualPagination: y.isServerSidePagination || y.isTablePrintDisplayMode,
|
|
54590
54572
|
manualSorting: !0,
|
|
54591
54573
|
// Tell TanStack we're handling sorting manually
|
|
54592
|
-
pageCount:
|
|
54574
|
+
pageCount: y.pageCount,
|
|
54593
54575
|
enableColumnResizing: !0,
|
|
54594
54576
|
columnResizeMode: "onChange",
|
|
54595
54577
|
onColumnSizingChange: l
|
|
54596
|
-
}), { buildColumnHeaderRows:
|
|
54578
|
+
}), { buildColumnHeaderRows: w } = AEe({
|
|
54597
54579
|
data: e,
|
|
54598
54580
|
card: t,
|
|
54599
|
-
table:
|
|
54581
|
+
table: x,
|
|
54600
54582
|
sorting: h,
|
|
54601
54583
|
setSorting: m,
|
|
54602
54584
|
showRowTotals: a,
|
|
54603
54585
|
onAggregationChange: r
|
|
54604
|
-
}),
|
|
54586
|
+
}), C = w();
|
|
54605
54587
|
return /* @__PURE__ */ _("div", { className: "flex h-full w-full flex-col gap-4", children: [
|
|
54606
54588
|
/* @__PURE__ */ _(
|
|
54607
54589
|
Sh,
|
|
@@ -54610,21 +54592,21 @@ function Xw({
|
|
|
54610
54592
|
borderRadius: i == null ? void 0 : i.cardBorderRadius
|
|
54611
54593
|
},
|
|
54612
54594
|
className: "relative h-full rounded-none border",
|
|
54613
|
-
onMouseDown: (
|
|
54595
|
+
onMouseDown: (N) => N.stopPropagation(),
|
|
54614
54596
|
children: [
|
|
54615
54597
|
/* @__PURE__ */ _(
|
|
54616
54598
|
"table",
|
|
54617
54599
|
{
|
|
54618
54600
|
className: "w-full border-separate border-spacing-0 bg-background text-sm",
|
|
54619
|
-
onMouseDown: (
|
|
54601
|
+
onMouseDown: (N) => N.stopPropagation(),
|
|
54620
54602
|
children: [
|
|
54621
|
-
/* @__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 }),
|
|
54622
54604
|
/* @__PURE__ */ p(Om, { children: /* @__PURE__ */ p(
|
|
54623
54605
|
$Ee,
|
|
54624
54606
|
{
|
|
54625
|
-
table:
|
|
54607
|
+
table: x,
|
|
54626
54608
|
data: e,
|
|
54627
|
-
columns:
|
|
54609
|
+
columns: v,
|
|
54628
54610
|
subtotalColumnKeys: c,
|
|
54629
54611
|
grandTotalColumnKeys: u
|
|
54630
54612
|
}
|
|
@@ -54635,7 +54617,7 @@ function Xw({
|
|
|
54635
54617
|
grandTotalRows: f,
|
|
54636
54618
|
data: e,
|
|
54637
54619
|
card: t,
|
|
54638
|
-
table:
|
|
54620
|
+
table: x,
|
|
54639
54621
|
showRowTotals: a,
|
|
54640
54622
|
onAggregationLabelChange: o
|
|
54641
54623
|
}
|
|
@@ -54648,21 +54630,21 @@ function Xw({
|
|
|
54648
54630
|
]
|
|
54649
54631
|
}
|
|
54650
54632
|
),
|
|
54651
|
-
|
|
54633
|
+
y.showPagination && /* @__PURE__ */ p(
|
|
54652
54634
|
jM,
|
|
54653
54635
|
{
|
|
54654
|
-
totalColumns:
|
|
54655
|
-
pageCount:
|
|
54656
|
-
pageIndex:
|
|
54657
|
-
pageSize:
|
|
54658
|
-
rowCount:
|
|
54636
|
+
totalColumns: v.length,
|
|
54637
|
+
pageCount: y.pageCount || x.getPageCount(),
|
|
54638
|
+
pageIndex: y.pageIndex,
|
|
54639
|
+
pageSize: y.pageSize,
|
|
54640
|
+
rowCount: y.totalCount,
|
|
54659
54641
|
selectedRowCount: 0,
|
|
54660
|
-
setPageIndex:
|
|
54661
|
-
setPageSize:
|
|
54662
|
-
canPreviousPage:
|
|
54663
|
-
canNextPage:
|
|
54664
|
-
previousPage:
|
|
54665
|
-
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,
|
|
54666
54648
|
onClearSelection: () => {
|
|
54667
54649
|
}
|
|
54668
54650
|
}
|
|
@@ -57029,7 +57011,7 @@ function Ike(e) {
|
|
|
57029
57011
|
return e.reduce((n, r) => n.concat(r.weeks.slice()), t.slice());
|
|
57030
57012
|
}
|
|
57031
57013
|
function Qw(e, t) {
|
|
57032
|
-
const [n, r] =
|
|
57014
|
+
const [n, r] = ne(e);
|
|
57033
57015
|
return [t === void 0 ? n : t, r];
|
|
57034
57016
|
}
|
|
57035
57017
|
function Oke(e, t) {
|
|
@@ -57096,7 +57078,7 @@ function gH(e, t, n, r, o, i, a, s = 0) {
|
|
|
57096
57078
|
return !c && !u ? f : gH(e, t, f, r, o, i, a, s + 1);
|
|
57097
57079
|
}
|
|
57098
57080
|
function Lke(e, t, n, r, o) {
|
|
57099
|
-
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);
|
|
57100
57082
|
return {
|
|
57101
57083
|
isFocusTarget: (g) => !!(l != null && l.isEqualTo(g)),
|
|
57102
57084
|
setFocused: u,
|
|
@@ -57805,7 +57787,7 @@ function Xke({
|
|
|
57805
57787
|
maxDate: r,
|
|
57806
57788
|
className: o
|
|
57807
57789
|
}) {
|
|
57808
|
-
const [i, a] =
|
|
57790
|
+
const [i, a] = ne(!1), [s, l] = ne(), c = () => {
|
|
57809
57791
|
if (s) {
|
|
57810
57792
|
const h = Gr(s, "yyyy-MM-dd");
|
|
57811
57793
|
e.includes(h) || t([...e, h].sort()), l(void 0), a(!1);
|
|
@@ -57944,7 +57926,7 @@ function Qke({
|
|
|
57944
57926
|
emails: e,
|
|
57945
57927
|
onChange: t
|
|
57946
57928
|
}) {
|
|
57947
|
-
const [n, r] =
|
|
57929
|
+
const [n, r] = ne(""), [o, i] = ne(null), a = (u) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(u), s = () => {
|
|
57948
57930
|
if (i(null), !n.trim()) {
|
|
57949
57931
|
i("Please enter at least one email address");
|
|
57950
57932
|
return;
|
|
@@ -58064,7 +58046,7 @@ function tMe({
|
|
|
58064
58046
|
onChangeTenantUsers: n,
|
|
58065
58047
|
onChangeOrgUsers: r
|
|
58066
58048
|
}) {
|
|
58067
|
-
const [o, i] =
|
|
58049
|
+
const [o, i] = ne(""), [a, s] = ne("");
|
|
58068
58050
|
ue(() => {
|
|
58069
58051
|
const b = setTimeout(() => {
|
|
58070
58052
|
s(o);
|
|
@@ -58217,7 +58199,7 @@ function oMe({
|
|
|
58217
58199
|
groupIds: e,
|
|
58218
58200
|
onChange: t
|
|
58219
58201
|
}) {
|
|
58220
|
-
const [n, r] =
|
|
58202
|
+
const [n, r] = ne(""), { currentUser: o } = Yu(), { groups: i, isLoading: a, error: s } = bH({
|
|
58221
58203
|
search: n,
|
|
58222
58204
|
type: "all",
|
|
58223
58205
|
// Get both org and tenant groups
|
|
@@ -58482,7 +58464,7 @@ function iMe({
|
|
|
58482
58464
|
onChange: t,
|
|
58483
58465
|
className: n
|
|
58484
58466
|
}) {
|
|
58485
|
-
const [r, o] =
|
|
58467
|
+
const [r, o] = ne("emails"), i = e.emails.length + e.tenantUserIds.length + e.orgUserIds.length + e.groupIds.length, a = (u) => {
|
|
58486
58468
|
t({
|
|
58487
58469
|
...e,
|
|
58488
58470
|
...u
|
|
@@ -58680,7 +58662,7 @@ function hMe({
|
|
|
58680
58662
|
className: i
|
|
58681
58663
|
}) {
|
|
58682
58664
|
var y;
|
|
58683
|
-
const { currentUser: a } = Yu(), [s, l] =
|
|
58665
|
+
const { currentUser: a } = Yu(), [s, l] = ne(!1), c = () => {
|
|
58684
58666
|
if (t != null && t.recipients && typeof t.recipients == "object" && "emails" in t.recipients)
|
|
58685
58667
|
return t.recipients;
|
|
58686
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) || "";
|
|
@@ -58708,7 +58690,7 @@ function hMe({
|
|
|
58708
58690
|
orgUserIds: [],
|
|
58709
58691
|
groupIds: []
|
|
58710
58692
|
};
|
|
58711
|
-
}, [u, d] =
|
|
58693
|
+
}, [u, d] = ne({
|
|
58712
58694
|
recipients: c(),
|
|
58713
58695
|
subject: (t == null ? void 0 : t.subject) || "",
|
|
58714
58696
|
frequency: (t == null ? void 0 : t.frequency) || "daily",
|
|
@@ -58719,7 +58701,7 @@ function hMe({
|
|
|
58719
58701
|
skipDates: (t == null ? void 0 : t.skipDates) || [],
|
|
58720
58702
|
startDate: t == null ? void 0 : t.startDate,
|
|
58721
58703
|
endDate: t == null ? void 0 : t.endDate
|
|
58722
|
-
}), [f, h] =
|
|
58704
|
+
}), [f, h] = ne(null);
|
|
58723
58705
|
ue(() => {
|
|
58724
58706
|
(u.skipDates && u.skipDates.length > 0 || u.startDate || u.endDate) && l(!0);
|
|
58725
58707
|
}, []), ue(() => {
|
|
@@ -59679,7 +59661,7 @@ function GMe(e) {
|
|
|
59679
59661
|
frameId: o,
|
|
59680
59662
|
pageSettings: i,
|
|
59681
59663
|
enabled: a = !0
|
|
59682
|
-
} = 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) => {
|
|
59683
59665
|
var I;
|
|
59684
59666
|
return (I = M.dashboard) == null ? void 0 : I.id;
|
|
59685
59667
|
}), g = oe((M) => {
|
|
@@ -59926,17 +59908,17 @@ function iW({
|
|
|
59926
59908
|
}) {
|
|
59927
59909
|
const { currentUser: i } = Yu();
|
|
59928
59910
|
oe((ae) => ae.filterValues);
|
|
59929
|
-
const [a, s] =
|
|
59911
|
+
const [a, s] = ne({
|
|
59930
59912
|
reportTitle: (r == null ? void 0 : r.title) || "Report",
|
|
59931
59913
|
pageSize: "letter",
|
|
59932
59914
|
orientation: "portrait",
|
|
59933
59915
|
password: "",
|
|
59934
59916
|
showPassword: !1
|
|
59935
|
-
}), [l, c] =
|
|
59917
|
+
}), [l, c] = ne({
|
|
59936
59918
|
recipients: (i == null ? void 0 : i.email) || "",
|
|
59937
59919
|
subject: `Report: ${(r == null ? void 0 : r.title) || "Visual"}`,
|
|
59938
59920
|
message: "Please find the attached report."
|
|
59939
|
-
}), [u, d] =
|
|
59921
|
+
}), [u, d] = ne("download"), [f, h] = ne("pdf"), [m, g] = ne(!1), [b, y] = ne(!1), {
|
|
59940
59922
|
schedules: v,
|
|
59941
59923
|
isLoading: x,
|
|
59942
59924
|
createSchedule: w,
|
|
@@ -59997,7 +59979,7 @@ function iW({
|
|
|
59997
59979
|
}
|
|
59998
59980
|
!e && b && y(!1);
|
|
59999
59981
|
}, [e, b, r == null ? void 0 : r.title, i == null ? void 0 : i.email, F]);
|
|
60000
|
-
const W = me(null), [j, T] =
|
|
59982
|
+
const W = me(null), [j, T] = ne({
|
|
60001
59983
|
width: 0,
|
|
60002
59984
|
height: 0
|
|
60003
59985
|
}), H = ye(() => {
|
|
@@ -60684,7 +60666,7 @@ function F5({
|
|
|
60684
60666
|
disabled: o = !1,
|
|
60685
60667
|
isDynamicText: i = !1
|
|
60686
60668
|
}) {
|
|
60687
|
-
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(
|
|
60688
60670
|
(k) => k.isDashboardEditing
|
|
60689
60671
|
) && !o && !i;
|
|
60690
60672
|
ue(() => {
|
|
@@ -63384,7 +63366,7 @@ function aD({
|
|
|
63384
63366
|
onChartClick: n
|
|
63385
63367
|
}) {
|
|
63386
63368
|
var h;
|
|
63387
|
-
const [r, o] =
|
|
63369
|
+
const [r, o] = ne(""), i = oe((m) => m.selectedLensId), a = me(null), [s, l] = ne(), c = oe((m) => m.themeStyle);
|
|
63388
63370
|
ue(() => {
|
|
63389
63371
|
if (a.current) {
|
|
63390
63372
|
const m = window.getComputedStyle(a.current);
|
|
@@ -63486,7 +63468,7 @@ async function TPe(e) {
|
|
|
63486
63468
|
}
|
|
63487
63469
|
}
|
|
63488
63470
|
const APe = (e) => {
|
|
63489
|
-
const [t, n] =
|
|
63471
|
+
const [t, n] = ne([]), [r, o] = ne(!1), [i, a] = ne(null);
|
|
63490
63472
|
ue(() => {
|
|
63491
63473
|
window.React = G, window.ReactDOM = Jl, window.React.jsx = OP.jsx, window.React.jsxs = OP.jsxs, o(!0);
|
|
63492
63474
|
}, []), ue(() => {
|
|
@@ -63537,11 +63519,11 @@ function WW({
|
|
|
63537
63519
|
frame: t
|
|
63538
63520
|
}) {
|
|
63539
63521
|
var v, x, w, C, N, E, k, R, M, I;
|
|
63540
|
-
const [n, r] =
|
|
63522
|
+
const [n, r] = ne(
|
|
63541
63523
|
[]
|
|
63542
63524
|
), { authToken: o } = Rt(), i = OJ(o == null ? void 0 : o.accessToken), a = oe((P) => P.themeStyle), s = {
|
|
63543
63525
|
colors: ((x = (v = a == null ? void 0 : a.chart) == null ? void 0 : v.dataset) == null ? void 0 : x.backgroundColor) || []
|
|
63544
|
-
}, [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) => {
|
|
63545
63527
|
r((O) => ({
|
|
63546
63528
|
...O,
|
|
63547
63529
|
[P]: A
|
|
@@ -63841,7 +63823,7 @@ function LPe({
|
|
|
63841
63823
|
data: o
|
|
63842
63824
|
}) {
|
|
63843
63825
|
var E;
|
|
63844
|
-
const [i, a] =
|
|
63826
|
+
const [i, a] = ne(!1), s = oe((k) => k.isDownloadingPdf), {
|
|
63845
63827
|
isError: l,
|
|
63846
63828
|
isLoading: c,
|
|
63847
63829
|
isFetching: u,
|
|
@@ -64049,7 +64031,7 @@ function zPe({
|
|
|
64049
64031
|
isExpandedViewOpen: n = !1,
|
|
64050
64032
|
onExpandClick: r
|
|
64051
64033
|
}) {
|
|
64052
|
-
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(
|
|
64053
64035
|
null
|
|
64054
64036
|
), N = oe(
|
|
64055
64037
|
(z) => z.isDashboardEditing
|
|
@@ -64377,7 +64359,7 @@ function Xv({
|
|
|
64377
64359
|
placeholder: a,
|
|
64378
64360
|
enabled: s
|
|
64379
64361
|
}) {
|
|
64380
|
-
const [l, c] =
|
|
64362
|
+
const [l, c] = ne(!1), [u, d] = ne(r), f = oe(
|
|
64381
64363
|
(y) => y.isDashboardEditing
|
|
64382
64364
|
);
|
|
64383
64365
|
ue(() => {
|
|
@@ -64905,7 +64887,7 @@ function XW({
|
|
|
64905
64887
|
showRegionBadges: o = !0,
|
|
64906
64888
|
maxDisplayResults: i = 50
|
|
64907
64889
|
}) {
|
|
64908
|
-
const [a, s] =
|
|
64890
|
+
const [a, s] = ne(""), [l, c] = ne(!1), u = ye(
|
|
64909
64891
|
() => Kd.find((v) => v.id === e),
|
|
64910
64892
|
[e]
|
|
64911
64893
|
), d = ye(() => {
|
|
@@ -66860,7 +66842,7 @@ function ATe({
|
|
|
66860
66842
|
buttonClassName: s,
|
|
66861
66843
|
contentClassName: l
|
|
66862
66844
|
}) {
|
|
66863
|
-
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 = () => {
|
|
66864
66846
|
if (e != null && e.from && (e != null && e.to)) {
|
|
66865
66847
|
const D = YE(
|
|
66866
66848
|
e.from,
|
|
@@ -67117,7 +67099,7 @@ function ATe({
|
|
|
67117
67099
|
] }) });
|
|
67118
67100
|
}
|
|
67119
67101
|
function mU(e) {
|
|
67120
|
-
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(
|
|
67121
67103
|
(w) => w.sheetId === i || !w.sheetId
|
|
67122
67104
|
), u = a == null ? void 0 : a.filter(
|
|
67123
67105
|
(w) => (c == null ? void 0 : c.some((C) => C.id === w.filterId)) || w.filterId.endsWith(i)
|
|
@@ -67159,9 +67141,9 @@ function mU(e) {
|
|
|
67159
67141
|
}, [x, s]), { data: m, isLoading: g, isFetching: b, isError: y, refetch: v };
|
|
67160
67142
|
}
|
|
67161
67143
|
function ITe(e, t) {
|
|
67162
|
-
const [n, r] =
|
|
67144
|
+
const [n, r] = ne(
|
|
67163
67145
|
t
|
|
67164
|
-
), [o, i] =
|
|
67146
|
+
), [o, i] = ne(), a = ye(
|
|
67165
67147
|
() => t,
|
|
67166
67148
|
[t]
|
|
67167
67149
|
);
|
|
@@ -67319,9 +67301,9 @@ function oXe(e) {
|
|
|
67319
67301
|
return o;
|
|
67320
67302
|
}
|
|
67321
67303
|
function fD(e) {
|
|
67322
|
-
const [t, n] =
|
|
67304
|
+
const [t, n] = ne(
|
|
67323
67305
|
[]
|
|
67324
|
-
), [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(() => {
|
|
67325
67307
|
var E;
|
|
67326
67308
|
return e.column ? (E = c == null ? void 0 : c.records) == null ? void 0 : E.map(
|
|
67327
67309
|
(k, R) => {
|
|
@@ -67686,7 +67668,7 @@ function QTe() {
|
|
|
67686
67668
|
};
|
|
67687
67669
|
}
|
|
67688
67670
|
function NU(e) {
|
|
67689
|
-
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({
|
|
67690
67672
|
isHovered: !1,
|
|
67691
67673
|
ignoreEmulatedMouseEvents: !1,
|
|
67692
67674
|
pointerType: "",
|
|
@@ -67749,7 +67731,7 @@ function _U(e = {}) {
|
|
|
67749
67731
|
let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = me({
|
|
67750
67732
|
isFocused: !1,
|
|
67751
67733
|
isFocusVisible: t || EU()
|
|
67752
|
-
}), [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) => {
|
|
67753
67735
|
o.current.isFocused = h, a(h), c();
|
|
67754
67736
|
}, [
|
|
67755
67737
|
c
|
|
@@ -67847,7 +67829,7 @@ function Va() {
|
|
|
67847
67829
|
return t;
|
|
67848
67830
|
}
|
|
67849
67831
|
function gb() {
|
|
67850
|
-
let [e] =
|
|
67832
|
+
let [e] = ne(Va);
|
|
67851
67833
|
return ue(() => () => e.dispose(), [e]), e;
|
|
67852
67834
|
}
|
|
67853
67835
|
let Gn = (e, t) => {
|
|
@@ -67871,7 +67853,7 @@ function rAe(e, t) {
|
|
|
67871
67853
|
return !(!e || !t || e.right < t.left || e.left > t.right || e.bottom < t.top || e.top > t.bottom);
|
|
67872
67854
|
}
|
|
67873
67855
|
function oAe({ disabled: e = !1 } = {}) {
|
|
67874
|
-
let t = me(null), [n, r] =
|
|
67856
|
+
let t = me(null), [n, r] = ne(!1), o = gb(), i = gt(() => {
|
|
67875
67857
|
t.current = null, r(!1), o.dispose();
|
|
67876
67858
|
}), a = gt((s) => {
|
|
67877
67859
|
if (o.dispose(), t.current === null) {
|
|
@@ -68012,11 +67994,11 @@ function uAe(e) {
|
|
|
68012
67994
|
return G.version.split(".")[0] >= "19" ? e.props.ref : e.ref;
|
|
68013
67995
|
}
|
|
68014
67996
|
function dAe(e, t, n) {
|
|
68015
|
-
let [r, o] =
|
|
67997
|
+
let [r, o] = ne(n), i = e !== void 0, a = me(i), s = me(!1), l = me(!1);
|
|
68016
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)))];
|
|
68017
67999
|
}
|
|
68018
68000
|
function fAe(e) {
|
|
68019
|
-
let [t] =
|
|
68001
|
+
let [t] = ne(e);
|
|
68020
68002
|
return t;
|
|
68021
68003
|
}
|
|
68022
68004
|
function RU(e = {}, t = null, n = []) {
|
|
@@ -68045,7 +68027,7 @@ function gAe({ children: e }) {
|
|
|
68045
68027
|
return n ? kx(G.createElement(G.Fragment, null, e), n) : null;
|
|
68046
68028
|
}
|
|
68047
68029
|
function bAe({ data: e, form: t, disabled: n, onReset: r, overrides: o }) {
|
|
68048
|
-
let [i, a] =
|
|
68030
|
+
let [i, a] = ne(null), s = gb();
|
|
68049
68031
|
return ue(() => {
|
|
68050
68032
|
if (r && i) return s.addEventListener(i, "reset", r);
|
|
68051
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 }) })));
|
|
@@ -68135,7 +68117,7 @@ function s1(e) {
|
|
|
68135
68117
|
return ((r = e == null ? void 0 : e.length) != null ? r : 0) > 0 ? [o, ...e].filter(Boolean).join(" ") : o;
|
|
68136
68118
|
}
|
|
68137
68119
|
function kAe({ inherit: e = !1 } = {}) {
|
|
68138
|
-
let t = s1(), [n, r] =
|
|
68120
|
+
let t = s1(), [n, r] = ne([]), o = e ? [t, ...n].filter(Boolean) : n;
|
|
68139
68121
|
return [o.length > 0 ? o.join(" ") : void 0, ye(() => function(i) {
|
|
68140
68122
|
let a = gt((l) => (r((c) => [...c, l]), () => r((c) => {
|
|
68141
68123
|
let u = c.slice(), d = u.indexOf(l);
|
|
@@ -69031,7 +69013,7 @@ function pIe() {
|
|
|
69031
69013
|
} };
|
|
69032
69014
|
}
|
|
69033
69015
|
function mIe(e = 0) {
|
|
69034
|
-
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]);
|
|
69035
69017
|
return { flags: t, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: s };
|
|
69036
69018
|
}
|
|
69037
69019
|
var b4, y4;
|
|
@@ -69046,7 +69028,7 @@ function bIe(e) {
|
|
|
69046
69028
|
return t;
|
|
69047
69029
|
}
|
|
69048
69030
|
function yIe(e, t, n, r) {
|
|
69049
|
-
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();
|
|
69050
69032
|
return Gn(() => {
|
|
69051
69033
|
var f;
|
|
69052
69034
|
if (e) {
|
|
@@ -69491,7 +69473,7 @@ function qIe(e = null) {
|
|
|
69491
69473
|
}
|
|
69492
69474
|
let N4 = 4;
|
|
69493
69475
|
function GIe({ children: e, enabled: t = !0 }) {
|
|
69494
|
-
let [n, r] =
|
|
69476
|
+
let [n, r] = ne(null), [o, i] = ne(0), a = me(null), [s, l] = ne(null);
|
|
69495
69477
|
YIe(s);
|
|
69496
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(" ");
|
|
69497
69479
|
Gn(() => {
|
|
@@ -69573,7 +69555,7 @@ function VC(e, t, n = void 0) {
|
|
|
69573
69555
|
}];
|
|
69574
69556
|
}
|
|
69575
69557
|
return [n, null];
|
|
69576
|
-
}), i = ye(() => o(e, t)[0], [e, t]), [a = i, s] =
|
|
69558
|
+
}), i = ye(() => o(e, t)[0], [e, t]), [a = i, s] = ne();
|
|
69577
69559
|
return Gn(() => {
|
|
69578
69560
|
let [l, c] = o(e, t);
|
|
69579
69561
|
if (s(l), !!c) return c(s);
|
|
@@ -69600,7 +69582,7 @@ function KIe({ children: e, freeze: t }) {
|
|
|
69600
69582
|
return G.createElement(G.Fragment, null, n);
|
|
69601
69583
|
}
|
|
69602
69584
|
function t_(e, t) {
|
|
69603
|
-
let [n, r] =
|
|
69585
|
+
let [n, r] = ne(t);
|
|
69604
69586
|
return !e && n !== t && r(t), e ? n : t;
|
|
69605
69587
|
}
|
|
69606
69588
|
let xD = gn(null);
|
|
@@ -69688,7 +69670,7 @@ function iOe() {
|
|
|
69688
69670
|
return Wt(oOe);
|
|
69689
69671
|
}
|
|
69690
69672
|
function aOe(e) {
|
|
69691
|
-
let t = iOe(), n = Wt(YU), r = l1(e), [o, i] =
|
|
69673
|
+
let t = iOe(), n = Wt(YU), r = l1(e), [o, i] = ne(() => {
|
|
69692
69674
|
var a;
|
|
69693
69675
|
if (!t && n !== null) return (a = n.current) != null ? a : null;
|
|
69694
69676
|
if (bu.isServer) return null;
|
|
@@ -69707,7 +69689,7 @@ function aOe(e) {
|
|
|
69707
69689
|
let GU = Rl, sOe = la(function(e, t) {
|
|
69708
69690
|
let n = e, r = me(null), o = qs(SAe((d) => {
|
|
69709
69691
|
r.current = d;
|
|
69710
|
-
}), t), i = l1(r), a = aOe(r), [s] =
|
|
69692
|
+
}), t), i = l1(r), a = aOe(r), [s] = ne(() => {
|
|
69711
69693
|
var d;
|
|
69712
69694
|
return bu.isServer ? null : (d = i == null ? void 0 : i.createElement("div")) != null ? d : null;
|
|
69713
69695
|
}), l = Wt(dOe), c = rOe();
|
|
@@ -69815,7 +69797,7 @@ function xOe(e) {
|
|
|
69815
69797
|
return 40;
|
|
69816
69798
|
}, getScrollElement() {
|
|
69817
69799
|
return t.optionsElement;
|
|
69818
|
-
}, overscan: 12 }), [a, s] =
|
|
69800
|
+
}, overscan: 12 }), [a, s] = ne(0);
|
|
69819
69801
|
Gn(() => {
|
|
69820
69802
|
s((c) => c + 1);
|
|
69821
69803
|
}, [n]);
|
|
@@ -70015,7 +69997,7 @@ function DOe(e, t) {
|
|
|
70015
69997
|
var n, r, o;
|
|
70016
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);
|
|
70017
69999
|
g && (c = !0);
|
|
70018
|
-
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);
|
|
70019
70001
|
KAe(k, h.inputElement, m.closeCombobox);
|
|
70020
70002
|
let M = h.__demoMode ? !1 : u && h.comboboxState === 0;
|
|
70021
70003
|
hIe(M, N);
|
|
@@ -70097,7 +70079,7 @@ function FOe({
|
|
|
70097
70079
|
renderFilterModeButton: l,
|
|
70098
70080
|
showNegativeIndicator: c
|
|
70099
70081
|
}) {
|
|
70100
|
-
const [u, d] =
|
|
70082
|
+
const [u, d] = ne(""), f = oe((v) => v.themeStyle), h = o || (u === "" ? e : e == null ? void 0 : e.filter((v) => {
|
|
70101
70083
|
var x;
|
|
70102
70084
|
return v != null && v.value ? (x = v.value) == null ? void 0 : x.toLowerCase().includes(u == null ? void 0 : u.toLowerCase()) : !1;
|
|
70103
70085
|
}));
|
|
@@ -70275,7 +70257,7 @@ function eq({ filter: e }) {
|
|
|
70275
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 });
|
|
70276
70258
|
}
|
|
70277
70259
|
function jOe({ frame: e }) {
|
|
70278
|
-
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], {
|
|
70279
70261
|
data: s,
|
|
70280
70262
|
isLoading: l,
|
|
70281
70263
|
isFetching: c
|
|
@@ -73271,7 +73253,7 @@ function dg({
|
|
|
73271
73253
|
text: e,
|
|
73272
73254
|
className: t
|
|
73273
73255
|
}) {
|
|
73274
|
-
const [n, r] =
|
|
73256
|
+
const [n, r] = ne(!1);
|
|
73275
73257
|
return /* @__PURE__ */ p(
|
|
73276
73258
|
de,
|
|
73277
73259
|
{
|
|
@@ -84671,7 +84653,7 @@ prismjs/prism.js:
|
|
|
84671
84653
|
*/
|
|
84672
84654
|
function Hze({ children: e, handleRun: t }) {
|
|
84673
84655
|
var c;
|
|
84674
|
-
const n = oe((u) => u.isVisualEditing), [r, o] =
|
|
84656
|
+
const n = oe((u) => u.isVisualEditing), [r, o] = ne(!1);
|
|
84675
84657
|
me(null);
|
|
84676
84658
|
const i = (c = e == null ? void 0 : e.props) == null ? void 0 : c.className, a = i == null ? void 0 : i.split("-")[1], s = () => {
|
|
84677
84659
|
navigator.clipboard.writeText(l).then(() => {
|
|
@@ -87263,7 +87245,7 @@ function CBe({
|
|
|
87263
87245
|
onAddToDashboard: t
|
|
87264
87246
|
}) {
|
|
87265
87247
|
var I, P;
|
|
87266
|
-
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 = () => {
|
|
87267
87249
|
const A = e.toolCallId;
|
|
87268
87250
|
M().label;
|
|
87269
87251
|
const O = `Can you explain how this visual was calculated? [ref: ${A}]`;
|
|
@@ -93752,7 +93734,7 @@ function Vqe({
|
|
|
93752
93734
|
onRemoveAll: l,
|
|
93753
93735
|
onAddContext: c
|
|
93754
93736
|
}) {
|
|
93755
|
-
const [u, d] =
|
|
93737
|
+
const [u, d] = ne(""), [f, h] = ne(""), m = o.filter((w) => {
|
|
93756
93738
|
if (!u) return !0;
|
|
93757
93739
|
const C = r0(w).toLowerCase(), N = MF(w).toLowerCase(), E = u.toLowerCase();
|
|
93758
93740
|
return C.includes(E) || N.includes(E);
|
|
@@ -93931,7 +93913,7 @@ function Wqe({
|
|
|
93931
93913
|
// onAddAllEntities,
|
|
93932
93914
|
onRemoveEntities: r
|
|
93933
93915
|
}) {
|
|
93934
|
-
const [o, i] =
|
|
93916
|
+
const [o, i] = ne(!1), a = e.length > 0;
|
|
93935
93917
|
e.length, t.length, e.length < t.length;
|
|
93936
93918
|
const s = e.length >= 3 ? e.slice(0, 2) : e, l = e.length >= 3 ? e.slice(2) : [], c = l.length > 0;
|
|
93937
93919
|
return /* @__PURE__ */ p(Jg, { children: /* @__PURE__ */ p("div", { className: "space-y-2", children: a && /* @__PURE__ */ _("div", { className: "flex flex-wrap gap-1", children: [
|
|
@@ -94283,7 +94265,7 @@ function Kqe() {
|
|
|
94283
94265
|
);
|
|
94284
94266
|
const t = Ve(
|
|
94285
94267
|
(k) => k.actions.updateDataSource
|
|
94286
|
-
), [n, r] =
|
|
94268
|
+
), [n, r] = ne(""), {
|
|
94287
94269
|
selectedConnection: o,
|
|
94288
94270
|
error: i
|
|
94289
94271
|
} = Wa(), {
|
|
@@ -94430,7 +94412,7 @@ function Kqe() {
|
|
|
94430
94412
|
function Xqe() {
|
|
94431
94413
|
const e = Ve((l) => l.card.dataSource), t = Ve(
|
|
94432
94414
|
(l) => l.actions.updateDataSource
|
|
94433
|
-
), [n, r] =
|
|
94415
|
+
), [n, r] = ne(!1), o = (l) => {
|
|
94434
94416
|
if (!l || (e == null ? void 0 : e.mode) !== "upload") return;
|
|
94435
94417
|
const c = Array.from(l).map((d) => ({
|
|
94436
94418
|
id: `file-${Date.now()}-${Math.random()}`,
|
|
@@ -94542,7 +94524,7 @@ function Xqe() {
|
|
|
94542
94524
|
function Qqe() {
|
|
94543
94525
|
const e = Ve((d) => d.card.dataSource), t = Ve(
|
|
94544
94526
|
(d) => d.actions.updateDataSource
|
|
94545
|
-
), [n, r] =
|
|
94527
|
+
), [n, r] = ne(""), [o, i] = ne(""), [a, s] = ne(
|
|
94546
94528
|
"api"
|
|
94547
94529
|
), l = () => {
|
|
94548
94530
|
if (!n.trim() || !o.trim() || !e) return;
|
|
@@ -94740,7 +94722,7 @@ function Jqe({
|
|
|
94740
94722
|
selectedEntities: n,
|
|
94741
94723
|
onRegisterSelectAll: r
|
|
94742
94724
|
}) {
|
|
94743
|
-
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(), {
|
|
94744
94726
|
entities: b,
|
|
94745
94727
|
isLoading: y,
|
|
94746
94728
|
error: v
|
|
@@ -95000,7 +94982,7 @@ function eGe({
|
|
|
95000
94982
|
onRegisterSelectAll: s
|
|
95001
94983
|
}) {
|
|
95002
94984
|
var C;
|
|
95003
|
-
const [l, c] =
|
|
94985
|
+
const [l, c] = ne(""), u = be(
|
|
95004
94986
|
(N) => {
|
|
95005
94987
|
const E = {
|
|
95006
94988
|
...e,
|
|
@@ -95187,7 +95169,7 @@ function wK({
|
|
|
95187
95169
|
dialogMode: o,
|
|
95188
95170
|
incomingSelectedEntities: i
|
|
95189
95171
|
}) {
|
|
95190
|
-
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);
|
|
95191
95173
|
vK();
|
|
95192
95174
|
const y = s && s.length > 0, v = !y, x = y && s.length === 1 ? s[0] : void 0, w = be(
|
|
95193
95175
|
(P) => {
|
|
@@ -95420,7 +95402,7 @@ function nGe({
|
|
|
95420
95402
|
currentFileCount: r = 0,
|
|
95421
95403
|
className: o
|
|
95422
95404
|
}) {
|
|
95423
|
-
const [i, a] =
|
|
95405
|
+
const [i, a] = ne(!1), s = be((d) => {
|
|
95424
95406
|
d.preventDefault(), d.stopPropagation(), n || a(!0);
|
|
95425
95407
|
}, [n]), l = be((d) => {
|
|
95426
95408
|
d.preventDefault(), d.stopPropagation();
|
|
@@ -96158,7 +96140,7 @@ const up = ["low", "medium", "high"], TF = { low: "Low", medium: "Medium", high:
|
|
|
96158
96140
|
high: "bg-orange-100 text-orange-700 dark:bg-orange-950 dark:text-orange-300"
|
|
96159
96141
|
};
|
|
96160
96142
|
function IGe({ value: e, onValueChange: t }) {
|
|
96161
|
-
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)]);
|
|
96162
96144
|
ue(() => {
|
|
96163
96145
|
const l = up.indexOf(e);
|
|
96164
96146
|
i([l]);
|
|
@@ -96197,7 +96179,7 @@ const VK = Er(
|
|
|
96197
96179
|
status: s,
|
|
96198
96180
|
assistantType: l
|
|
96199
96181
|
}, c) => {
|
|
96200
|
-
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(), {
|
|
96201
96183
|
setCurrentAIContext: w,
|
|
96202
96184
|
updateSelectedEntities: C,
|
|
96203
96185
|
setReasoningEffort: N,
|
|
@@ -96554,7 +96536,7 @@ function FGe(e, t = {}) {
|
|
|
96554
96536
|
// No delay for real-time scrolling
|
|
96555
96537
|
dependencies: o = [],
|
|
96556
96538
|
forceScrollOnStream: i = !0
|
|
96557
|
-
} = 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(() => {
|
|
96558
96540
|
const M = a.current;
|
|
96559
96541
|
if (!M) return !0;
|
|
96560
96542
|
const { scrollTop: I, scrollHeight: P, clientHeight: A } = M;
|
|
@@ -96637,7 +96619,7 @@ function LGe(e, t = {}) {
|
|
|
96637
96619
|
// Start with 20 messages
|
|
96638
96620
|
loadMoreCount: o = 10
|
|
96639
96621
|
// Load 10 more when requested
|
|
96640
|
-
} = t, [i, a] =
|
|
96622
|
+
} = t, [i, a] = ne(r), s = ye(() => {
|
|
96641
96623
|
if (e.length <= i)
|
|
96642
96624
|
return e;
|
|
96643
96625
|
const f = Math.max(0, e.length - i);
|
|
@@ -96697,7 +96679,7 @@ function jGe({
|
|
|
96697
96679
|
open: e,
|
|
96698
96680
|
setOpen: t
|
|
96699
96681
|
}) {
|
|
96700
|
-
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);
|
|
96701
96683
|
oe(
|
|
96702
96684
|
(xe) => xe.dashboard.aiScopeTables
|
|
96703
96685
|
);
|
|
@@ -96720,7 +96702,7 @@ function jGe({
|
|
|
96720
96702
|
stop: W,
|
|
96721
96703
|
errorMessage: j,
|
|
96722
96704
|
clearError: T
|
|
96723
|
-
} = Lqe(), [H, U] =
|
|
96705
|
+
} = Lqe(), [H, U] = ne(""), X = (xe) => {
|
|
96724
96706
|
U(xe.target.value);
|
|
96725
96707
|
};
|
|
96726
96708
|
function Y({
|
|
@@ -97124,7 +97106,7 @@ function VGe(e) {
|
|
|
97124
97106
|
]);
|
|
97125
97107
|
}
|
|
97126
97108
|
function HGe(e, t) {
|
|
97127
|
-
const [n, r] =
|
|
97109
|
+
const [n, r] = ne(() => {
|
|
97128
97110
|
const o = localStorage.getItem(e);
|
|
97129
97111
|
return o ? JSON.parse(o) : t;
|
|
97130
97112
|
});
|
|
@@ -97134,7 +97116,7 @@ function HGe(e, t) {
|
|
|
97134
97116
|
}
|
|
97135
97117
|
function WGe() {
|
|
97136
97118
|
var P;
|
|
97137
|
-
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) => {
|
|
97138
97120
|
var O;
|
|
97139
97121
|
return (O = A.dashboard) == null ? void 0 : O.sheets;
|
|
97140
97122
|
}), f = oe(
|
|
@@ -97541,7 +97523,7 @@ function ZGe(e) {
|
|
|
97541
97523
|
};
|
|
97542
97524
|
}
|
|
97543
97525
|
function KGe(e, t) {
|
|
97544
|
-
const [n, r] =
|
|
97526
|
+
const [n, r] = ne(e);
|
|
97545
97527
|
return ue(() => {
|
|
97546
97528
|
const o = setTimeout(() => {
|
|
97547
97529
|
r(e);
|
|
@@ -98597,7 +98579,7 @@ function rX(e, t) {
|
|
|
98597
98579
|
return e.Uri.parse(t);
|
|
98598
98580
|
}
|
|
98599
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 }) {
|
|
98600
|
-
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);
|
|
98601
98583
|
xP(() => {
|
|
98602
98584
|
let D = Ex.init();
|
|
98603
98585
|
return D.then(($) => (E.current = $) && C(!1)).catch(($) => ($ == null ? void 0 : $.type) !== "cancelation" && console.error("Monaco initialization: error:", $)), () => N.current ? O() : D.cancel();
|
|
@@ -98652,7 +98634,7 @@ function uZe({ original: e, modified: t, language: n, originalLanguage: r, modif
|
|
|
98652
98634
|
var dZe = uZe;
|
|
98653
98635
|
Tg(dZe);
|
|
98654
98636
|
function fZe() {
|
|
98655
|
-
let [e, t] =
|
|
98637
|
+
let [e, t] = ne(Ex.__getMonacoInstance());
|
|
98656
98638
|
return xP(() => {
|
|
98657
98639
|
let n;
|
|
98658
98640
|
return e || (n = Ex.init(), n.then((r) => {
|
|
@@ -98669,7 +98651,7 @@ function hZe(e) {
|
|
|
98669
98651
|
}
|
|
98670
98652
|
var pZe = hZe, i0 = /* @__PURE__ */ new Map();
|
|
98671
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 }) {
|
|
98672
|
-
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);
|
|
98673
98655
|
xP(() => {
|
|
98674
98656
|
let W = Ex.init();
|
|
98675
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();
|