react-semaphor 0.1.524 → 0.1.526
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/brand-studio/index.js +37 -37
- package/dist/briefings/index.js +38 -33
- package/dist/chunks/{calculated-field-identity-Dy_WpDdo.js → calculated-field-identity-D1ofR4KJ.js} +28 -28
- package/dist/chunks/{card-config-utils-CAyjC5Tp.js → card-config-utils-9sv4e-Vb.js} +15 -15
- package/dist/chunks/{switch-CWPcwAZ4.js → code-highlight-994tgM9v.js} +6309 -8642
- package/dist/chunks/dashboard-CsHvEtjN.js +15 -0
- package/dist/chunks/{dashboard-briefing-launcher-CTEyh3FQ.js → dashboard-briefing-launcher-DXz1GhFZ.js} +364 -370
- package/dist/chunks/{dashboard-controls-C3KbYzz-.js → dashboard-controls-Df8qOSrs.js} +163 -168
- package/dist/chunks/dashboard-json-Xldp0qww.js +65 -0
- package/dist/chunks/{edit-dashboard-visual-DqRmfRqN.js → edit-dashboard-visual-COHBqyic.js} +2836 -2829
- package/dist/chunks/editor-action-buttons-DahlP57T.js +2071 -0
- package/dist/chunks/{index-D9HDUSye.js → index-CbjuruKe.js} +1187 -1018
- package/dist/chunks/{matrix-control-sources-B1K7x0SL.js → matrix-control-sources-2VAzGlt8.js} +29 -29
- package/dist/chunks/pre-block-Cq1RqhZX.js +3987 -0
- package/dist/chunks/report-preferences-dialog-BcH-0lR-.js +1232 -0
- package/dist/chunks/search-CJz-QQ0Q.js +24 -0
- package/dist/chunks/{selection-reducer-CvCBQbl2.js → selection-reducer-NF5C07yM.js} +25 -46
- package/dist/chunks/{index-D7GVxl4a.js → semaphor-ready-indicator-BLRDuLr4.js} +55200 -59783
- package/dist/chunks/slider-BYIH4icg.js +877 -0
- package/dist/chunks/switch-XaAACBrJ.js +2234 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +4 -4
- package/dist/data-app-builder/index.js +67 -67
- package/dist/data-app-sdk/index.js +33 -32
- package/dist/index.js +435 -243
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +4 -5
- package/dist/types/briefings/index.d.ts +1 -1
- package/dist/types/briefings/schedule.d.ts +49 -2
- package/dist/types/components/briefings/briefing-author/form-primitives.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/schedule-model.d.ts +12 -2
- package/dist/types/components/dashboard/dashboard-container.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +1 -1
- package/dist/types/components/editor/editor-main/text-card.d.ts +1 -1
- package/dist/types/components/editor/editor.d.ts +1 -1
- package/dist/types/components/providers/semaphor-context-provider.d.ts +1 -1
- package/dist/types/components/providers/theme-provider-context.d.ts +1 -1
- package/dist/types/components/providers/theme-provider.d.ts +1 -1
- package/dist/types/components/shared/unsaved-changes/use-pristine-snapshot-initializer.d.ts +1 -1
- package/dist/types/components/sharing-and-management/hooks/use-groups.d.ts +5 -1
- package/dist/types/components/sharing-and-management/hooks/use-unified-users.d.ts +9 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/index.d.ts +1 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/adapter.d.ts +21 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/configs.d.ts +12 -0
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/invite-combobox.d.ts +5 -0
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/share-shape.d.ts +7 -0
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/types.d.ts +2 -0
- package/dist/types/components/sharing-and-management/utils/shares-types.d.ts +8 -0
- package/dist/types/components/sharing-and-management/utils/types.d.ts +2 -0
- package/dist/types/components/surfboard/dashboard-plus.d.ts +1 -1
- package/dist/types/components/ui/resizable.d.ts +1 -1
- package/dist/types/components/visual/column-display-utils.d.ts +1 -1
- package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +1 -1
- package/dist/types/components/visual/settings/color-format.d.ts +1 -1
- package/dist/types/components/visual/visual-utils.d.ts +1 -1
- package/dist/types/lib/actions/data-point-click-action.d.ts +2 -1
- package/dist/types/lib/charts/area-chart.d.ts +1 -1
- package/dist/types/lib/charts/bar-chart.d.ts +1 -1
- package/dist/types/lib/charts/cartesian-data.d.ts +72 -0
- package/dist/types/lib/charts/cartesian-fields.d.ts +60 -0
- package/dist/types/lib/charts/chart-utils.d.ts +3 -0
- package/dist/types/lib/charts/combo-chart.d.ts +1 -1
- package/dist/types/lib/charts/create-chart.d.ts +1 -1
- package/dist/types/lib/charts/line-chart.d.ts +1 -1
- package/dist/types/lib/charts/shared/category-group-axis-plugin.d.ts +23 -0
- package/dist/types/lib/charts/stacked-line-chart.d.ts +2 -0
- package/dist/types/lib/charts/types.d.ts +1 -7
- package/dist/types/lib/dashboard/normalize-dashboard-for-dirty-check.d.ts +1 -1
- package/dist/types/lib/formatters/cartesian-temporal-presentation.d.ts +6 -1
- package/dist/types/lib/hooks/explorer/use-schemas.d.ts +1 -1
- package/dist/types/lib/hooks/use-dashboard.d.ts +2 -2
- package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +1 -2
- package/dist/types/lib/stores/editor-store.d.ts +1 -2
- package/dist/types/lib/stores/table-actions.d.ts +2 -1
- package/dist/types/lib/types/token-types.d.ts +0 -12
- package/dist/types/lib/utils.d.ts +0 -2
- package/package.json +2 -1
- package/dist/chunks/dashboard-json-Kc_M7nLP.js +0 -75
- package/dist/chunks/editor-action-buttons-s-ByVR9x.js +0 -2019
- package/dist/chunks/report-preferences-dialog-RAp0DAuw.js +0 -723
- package/dist/types/lib/encrypt-utils.d.ts +0 -9
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s, Fragment as F } from "react/jsx-runtime";
|
|
2
|
-
import { u as C, B as V,
|
|
3
|
-
import {
|
|
4
|
-
import { c as ne, X as Wt, C as
|
|
5
|
-
import "
|
|
2
|
+
import { u as C, B as V, at as Tr, au as Fr, av as Xe, c as xe, _ as D, aw as ve, ax as tt, ay as jt, L as Re, az as qt, Z as $r, G as Ct, j as Gr, aA as Br } from "./code-highlight-994tgM9v.js";
|
|
3
|
+
import { bl as Hr, bm as Vr, bn as rt, bo as jr, bp as qr, bq as zr, br as Kr, bs as Qr, bt as Wr, ax as W, bu as ye, bv as Jr, aU as Yr, aV as Xr, aX as kt, aY as Et, bw as zt, b9 as at, bx as Zr, by as ea, bz as Kt, bA as ta, bB as Qt, bC as U, bD as ra, ak as aa, aJ as na, bE as oa, bF as sa, bG as ia, k as da, u as Pe, o as ca, R as Qe, bH as la, bI as ua, bJ as ma, bK as ha, G as pa, bL as fa, bM as ba, I as At, bN as ga, aL as xa, bO as va, bP as ya, bQ as wa, bR as It, bS as Mt, bT as Lt, bU as Na, bV as Sa, bW as Da, bX as Ca, bY as _e, bZ as ka, b_ as We, n as Ea, b$ as Aa } from "./semaphor-ready-indicator-BLRDuLr4.js";
|
|
4
|
+
import { c as ne, X as Wt, C as Ia } from "./x-CXDkqdur.js";
|
|
5
|
+
import * as k from "react";
|
|
6
|
+
import Jt, { useMemo as Q, useState as N, useEffect as Ue, useRef as Pt, useLayoutEffect as Ma } from "react";
|
|
7
|
+
import { d as La, c as Pa, u as _a, A as Oa, a as Ra, g as Ua, V as Ta, N as Fa, h as $a, U as Ga } from "./dashboard-briefing-launcher-DXz1GhFZ.js";
|
|
8
|
+
import "./card-config-utils-9sv4e-Vb.js";
|
|
9
|
+
import { createPortal as Ba } from "react-dom";
|
|
6
10
|
import "./validators-CsdOtZI6.js";
|
|
7
11
|
import "./matrix-operation-contract-D32U2CSw.js";
|
|
8
12
|
import "../value-format-preferences/index.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import "./appearance-context-DEYtWinQ.js";
|
|
12
|
-
import "./index-CLIro-EG.js";
|
|
13
|
-
import "./field-aggregations-BQjogiI1.js";
|
|
14
|
-
import "zod";
|
|
15
|
-
import "./matrix-continuation-C4sRcjZU.js";
|
|
16
|
-
import "./color-CJvdlFM_.js";
|
|
17
|
-
import { createPortal as $a } from "react-dom";
|
|
18
|
-
import "./index-D9HDUSye.js";
|
|
19
|
-
import { d as Ba, c as Ga, u as Ha, A as Va, a as qa, g as za, V as ja, N as Ka, h as Qa, U as Wa } from "./dashboard-briefing-launcher-CTEyh3FQ.js";
|
|
20
|
-
import { S as Ja, C as Ya } from "./selection-reducer-CvCBQbl2.js";
|
|
13
|
+
import { u as we, P as ae, C as _t, A as Ha, g as Va, h as ja, i as qa, j as za, k as Ka, l as Qa, m as Ot } from "./pre-block-Cq1RqhZX.js";
|
|
14
|
+
import { S as Wa, C as Ja } from "./search-CJz-QQ0Q.js";
|
|
21
15
|
import { d as Yt } from "./semantic-format-Baqp8kD_.js";
|
|
22
|
-
import {
|
|
23
|
-
import { R as
|
|
16
|
+
import { K as Ze } from "./calculated-field-identity-D1ofR4KJ.js";
|
|
17
|
+
import { R as Ya } from "./report-preferences-dialog-BcH-0lR-.js";
|
|
18
|
+
import { i as Rt, j as Ut, k as Tt, l as Ft, I as Xa } from "./switch-XaAACBrJ.js";
|
|
24
19
|
import { u as Za } from "./use-debounced-dirty-check-BwAbnX_5.js";
|
|
25
20
|
import { s as en } from "./normalize-dashboard-for-dirty-check-Bk3VYv_q.js";
|
|
26
21
|
import { S as tn } from "./save-DgMfP0j8.js";
|
|
@@ -163,9 +158,9 @@ var Ye = {};
|
|
|
163
158
|
* This source code is licensed under the MIT license found in the
|
|
164
159
|
* LICENSE file in the root directory of this source tree.
|
|
165
160
|
*/
|
|
166
|
-
var
|
|
161
|
+
var Gt;
|
|
167
162
|
function un() {
|
|
168
|
-
return
|
|
163
|
+
return Gt || (Gt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
169
164
|
function t(i, x) {
|
|
170
165
|
return i === x && (i !== 0 || 1 / i === 1 / x) || i !== i && x !== x;
|
|
171
166
|
}
|
|
@@ -220,7 +215,7 @@ process.env.NODE_ENV === "production" ? et.exports = ln() : et.exports = un();
|
|
|
220
215
|
var mn = et.exports;
|
|
221
216
|
const Oe = ["light", "dark", "system"];
|
|
222
217
|
function hn() {
|
|
223
|
-
const { theme: t, setTheme: n } =
|
|
218
|
+
const { theme: t, setTheme: n } = Hr(), a = C(
|
|
224
219
|
(m) => m.actions.setDashboardTheme
|
|
225
220
|
);
|
|
226
221
|
function r() {
|
|
@@ -243,18 +238,18 @@ function hn() {
|
|
|
243
238
|
);
|
|
244
239
|
}
|
|
245
240
|
function pn() {
|
|
246
|
-
const { displayPreferences: t, shouldShowElement: n } =
|
|
247
|
-
() =>
|
|
241
|
+
const { displayPreferences: t, shouldShowElement: n } = Vr(), { currentUser: a, userContext: r } = rt(), o = Q(
|
|
242
|
+
() => jr(a),
|
|
248
243
|
[a]
|
|
249
244
|
), l = Q(() => (u) => o && o[u] !== void 0 && o[u] === !1 ? !1 : n(u), [o, n, t]), m = Q(
|
|
250
245
|
() => {
|
|
251
246
|
var u, g, f, b, c;
|
|
252
247
|
return {
|
|
253
|
-
canEdit: ((u = r == null ? void 0 : r.permissions) == null ? void 0 : u.canEdit) ??
|
|
254
|
-
canUseFilters: ((g = r == null ? void 0 : r.permissions) == null ? void 0 : g.canEdit) ??
|
|
255
|
-
canManageDashboards: ((f = r == null ? void 0 : r.permissions) == null ? void 0 : f.canCreateDashboard) ??
|
|
256
|
-
canCreateDashboards: ((b = r == null ? void 0 : r.permissions) == null ? void 0 : b.canCreateDashboard) ??
|
|
257
|
-
canAccessVisuals: ((c = r == null ? void 0 : r.permissions) == null ? void 0 : c.canEdit) ??
|
|
248
|
+
canEdit: ((u = r == null ? void 0 : r.permissions) == null ? void 0 : u.canEdit) ?? Wr(a),
|
|
249
|
+
canUseFilters: ((g = r == null ? void 0 : r.permissions) == null ? void 0 : g.canEdit) ?? Qr(a),
|
|
250
|
+
canManageDashboards: ((f = r == null ? void 0 : r.permissions) == null ? void 0 : f.canCreateDashboard) ?? Kr(a),
|
|
251
|
+
canCreateDashboards: ((b = r == null ? void 0 : r.permissions) == null ? void 0 : b.canCreateDashboard) ?? zr(a),
|
|
252
|
+
canAccessVisuals: ((c = r == null ? void 0 : r.permissions) == null ? void 0 : c.canEdit) ?? qr(a)
|
|
258
253
|
};
|
|
259
254
|
},
|
|
260
255
|
[a, r]
|
|
@@ -393,15 +388,15 @@ var ar = "AvatarFallback", nr = k.forwardRef(
|
|
|
393
388
|
}
|
|
394
389
|
);
|
|
395
390
|
nr.displayName = ar;
|
|
396
|
-
function
|
|
391
|
+
function Bt(t, n) {
|
|
397
392
|
return t ? n ? (t.src !== n && (t.src = n), t.complete && t.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
|
|
398
393
|
}
|
|
399
394
|
function Nn(t, { referrerPolicy: n, crossOrigin: a }) {
|
|
400
395
|
const r = xn(), o = k.useRef(null), l = r ? (o.current || (o.current = new window.Image()), o.current) : null, [m, u] = k.useState(
|
|
401
|
-
() =>
|
|
396
|
+
() => Bt(l, t)
|
|
402
397
|
);
|
|
403
398
|
return Xe(() => {
|
|
404
|
-
u(
|
|
399
|
+
u(Bt(l, t));
|
|
405
400
|
}, [l, t]), Xe(() => {
|
|
406
401
|
const g = (c) => () => {
|
|
407
402
|
u(c);
|
|
@@ -449,7 +444,7 @@ const cr = k.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ e(
|
|
|
449
444
|
cr.displayName = ir.displayName;
|
|
450
445
|
const Dn = async (t, n, a) => {
|
|
451
446
|
const r = `${t}/management/v1/groups`;
|
|
452
|
-
return await
|
|
447
|
+
return await jt(r, n, a);
|
|
453
448
|
}, Cn = async (t, n, a, r) => {
|
|
454
449
|
const o = `${t}/management/v1/groups/${a}`;
|
|
455
450
|
return tt(o, n, "PATCH", r);
|
|
@@ -458,14 +453,14 @@ const Dn = async (t, n, a) => {
|
|
|
458
453
|
await tt(r, n, "DELETE");
|
|
459
454
|
}, En = async (t, n, a, r) => {
|
|
460
455
|
const o = `${t}/management/v1/groups/${a}/members`;
|
|
461
|
-
return await
|
|
456
|
+
return await jt(o, n, r);
|
|
462
457
|
}, An = async (t, n, a, r) => {
|
|
463
458
|
const o = `${t}/management/v1/groups/${a}/members`;
|
|
464
459
|
await tt(o, n, "DELETE", r);
|
|
465
460
|
};
|
|
466
461
|
function In() {
|
|
467
|
-
const { authToken: t, tokenProps: n } = W(), a =
|
|
468
|
-
return
|
|
462
|
+
const { authToken: t, tokenProps: n } = W(), a = we();
|
|
463
|
+
return ye({
|
|
469
464
|
mutationFn: (r) => Dn(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r),
|
|
470
465
|
onSuccess: () => {
|
|
471
466
|
a.invalidateQueries({ queryKey: ["groups"] }), D.success("Group created successfully");
|
|
@@ -478,8 +473,8 @@ function In() {
|
|
|
478
473
|
});
|
|
479
474
|
}
|
|
480
475
|
function Mn() {
|
|
481
|
-
const { authToken: t, tokenProps: n } = W(), a =
|
|
482
|
-
return
|
|
476
|
+
const { authToken: t, tokenProps: n } = W(), a = we();
|
|
477
|
+
return ye({
|
|
483
478
|
mutationFn: ({
|
|
484
479
|
groupId: r,
|
|
485
480
|
data: o
|
|
@@ -495,8 +490,8 @@ function Mn() {
|
|
|
495
490
|
});
|
|
496
491
|
}
|
|
497
492
|
function Ln() {
|
|
498
|
-
const { authToken: t, tokenProps: n } = W(), a =
|
|
499
|
-
return
|
|
493
|
+
const { authToken: t, tokenProps: n } = W(), a = we();
|
|
494
|
+
return ye({
|
|
500
495
|
mutationFn: (r) => kn(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r),
|
|
501
496
|
onSuccess: (r, o) => {
|
|
502
497
|
a.invalidateQueries({ queryKey: ["groups"] }), a.removeQueries({ queryKey: ["group", o] }), D.success("Group deleted successfully");
|
|
@@ -509,8 +504,8 @@ function Ln() {
|
|
|
509
504
|
});
|
|
510
505
|
}
|
|
511
506
|
function Pn() {
|
|
512
|
-
const { authToken: t, tokenProps: n } = W(), a =
|
|
513
|
-
return
|
|
507
|
+
const { authToken: t, tokenProps: n } = W(), a = we();
|
|
508
|
+
return ye({
|
|
514
509
|
mutationFn: ({
|
|
515
510
|
groupId: r,
|
|
516
511
|
data: o
|
|
@@ -528,8 +523,8 @@ function Pn() {
|
|
|
528
523
|
});
|
|
529
524
|
}
|
|
530
525
|
function _n() {
|
|
531
|
-
const { authToken: t, tokenProps: n } = W(), a =
|
|
532
|
-
return
|
|
526
|
+
const { authToken: t, tokenProps: n } = W(), a = we();
|
|
527
|
+
return ye({
|
|
533
528
|
mutationFn: ({
|
|
534
529
|
groupId: r,
|
|
535
530
|
data: o
|
|
@@ -557,7 +552,7 @@ function Rn({
|
|
|
557
552
|
isLoading: u,
|
|
558
553
|
error: g,
|
|
559
554
|
refetch: f
|
|
560
|
-
} =
|
|
555
|
+
} = Jr({
|
|
561
556
|
type: o ? "TENANT_GROUP" : "all",
|
|
562
557
|
tenantId: o ? l : void 0,
|
|
563
558
|
includeMembers: !1
|
|
@@ -572,10 +567,10 @@ function Rn({
|
|
|
572
567
|
} catch {
|
|
573
568
|
}
|
|
574
569
|
};
|
|
575
|
-
return /* @__PURE__ */ e(
|
|
570
|
+
return /* @__PURE__ */ e(Yr, { open: t, onOpenChange: n, children: /* @__PURE__ */ s(Xr, { className: "flex max-h-[640px] w-[720px] max-w-[92vw] flex-col gap-0 overflow-hidden p-0", children: [
|
|
576
571
|
c.kind === "list" ? /* @__PURE__ */ s("div", { className: "shrink-0 border-b border-border px-5 pt-4 pb-3.5", children: [
|
|
577
|
-
/* @__PURE__ */ e(
|
|
578
|
-
/* @__PURE__ */ e(
|
|
572
|
+
/* @__PURE__ */ e(kt, { className: "text-[15px] font-semibold tracking-tight", children: "Group management" }),
|
|
573
|
+
/* @__PURE__ */ e(Et, { className: "mt-1 text-[12px] leading-[1.5] text-muted-foreground", children: "Organize people into groups for shared access." })
|
|
579
574
|
] }) : c.kind === "create" ? /* @__PURE__ */ s("div", { className: "flex h-10 shrink-0 items-center gap-1.5 border-b border-border px-5", children: [
|
|
580
575
|
/* @__PURE__ */ e(
|
|
581
576
|
"button",
|
|
@@ -584,11 +579,11 @@ function Rn({
|
|
|
584
579
|
onClick: () => h({ kind: "list" }),
|
|
585
580
|
"aria-label": "Back",
|
|
586
581
|
className: "-ml-1 flex h-6 w-6 items-center justify-center rounded-[3px] text-muted-foreground hover:bg-accent hover:text-foreground",
|
|
587
|
-
children: /* @__PURE__ */ e(
|
|
582
|
+
children: /* @__PURE__ */ e(zt, { className: "h-3.5 w-3.5" })
|
|
588
583
|
}
|
|
589
584
|
),
|
|
590
|
-
/* @__PURE__ */ e(
|
|
591
|
-
/* @__PURE__ */ e(
|
|
585
|
+
/* @__PURE__ */ e(kt, { className: "truncate text-[13px] font-medium", children: "New group" }),
|
|
586
|
+
/* @__PURE__ */ e(Et, { className: "sr-only", children: "Create a new group to organize members." })
|
|
592
587
|
] }) : null,
|
|
593
588
|
c.kind === "list" && /* @__PURE__ */ e(
|
|
594
589
|
Un,
|
|
@@ -619,7 +614,7 @@ function Rn({
|
|
|
619
614
|
w.id
|
|
620
615
|
),
|
|
621
616
|
c.kind === "create" && /* @__PURE__ */ e(
|
|
622
|
-
|
|
617
|
+
Gn,
|
|
623
618
|
{
|
|
624
619
|
isTenantUser: o,
|
|
625
620
|
tenantId: l,
|
|
@@ -683,7 +678,7 @@ function Un({
|
|
|
683
678
|
return /* @__PURE__ */ s("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
|
|
684
679
|
/* @__PURE__ */ s("div", { className: "flex shrink-0 items-center gap-2 border-b border-border px-5 py-2.5", children: [
|
|
685
680
|
/* @__PURE__ */ s("div", { className: "flex flex-1 items-center gap-2 rounded-[5px] border border-border bg-background px-2 focus-within:border-foreground/40", children: [
|
|
686
|
-
/* @__PURE__ */ e(
|
|
681
|
+
/* @__PURE__ */ e(Wa, { className: "h-3 w-3 text-muted-foreground" }),
|
|
687
682
|
/* @__PURE__ */ e(
|
|
688
683
|
"input",
|
|
689
684
|
{
|
|
@@ -770,7 +765,7 @@ function Tn({
|
|
|
770
765
|
onClick: a,
|
|
771
766
|
className: "group flex w-full items-center gap-3 border-b border-border/60 px-5 py-2.5 text-left hover:bg-accent/40",
|
|
772
767
|
children: [
|
|
773
|
-
/* @__PURE__ */ e("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] border border-border bg-background text-muted-foreground", children: /* @__PURE__ */ e(
|
|
768
|
+
/* @__PURE__ */ e("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] border border-border bg-background text-muted-foreground", children: /* @__PURE__ */ e(ta, { className: "h-3.5 w-3.5" }) }),
|
|
774
769
|
/* @__PURE__ */ s("div", { className: "min-w-0 flex-1", children: [
|
|
775
770
|
/* @__PURE__ */ e("div", { className: "truncate text-[13px] font-medium text-foreground", children: t.name }),
|
|
776
771
|
/* @__PURE__ */ s("div", { className: "mt-0.5 flex items-center gap-2 text-[11px] text-muted-foreground", children: [
|
|
@@ -810,7 +805,7 @@ function Tn({
|
|
|
810
805
|
children: /* @__PURE__ */ e(at, { className: "h-3 w-3" })
|
|
811
806
|
}
|
|
812
807
|
),
|
|
813
|
-
/* @__PURE__ */ e(
|
|
808
|
+
/* @__PURE__ */ e(Ja, { className: "h-3.5 w-3.5 text-muted-foreground" })
|
|
814
809
|
] })
|
|
815
810
|
]
|
|
816
811
|
}
|
|
@@ -851,7 +846,7 @@ function $n({
|
|
|
851
846
|
isLoading: b,
|
|
852
847
|
error: c,
|
|
853
848
|
refetch: h
|
|
854
|
-
} =
|
|
849
|
+
} = Zr(t.id), i = (f == null ? void 0 : f.members) ?? On, x = c ? lr(c, "Unable to load members for this group.") : null, v = t.type === "TENANT_GROUP" ? "tenant" : "organization", { users: w } = ea({
|
|
855
850
|
type: v,
|
|
856
851
|
tenantId: t.tenantId || void 0,
|
|
857
852
|
active: !0,
|
|
@@ -859,7 +854,7 @@ function $n({
|
|
|
859
854
|
}), S = Q(
|
|
860
855
|
() => new Set(i.map((y) => y.userId)),
|
|
861
856
|
[i]
|
|
862
|
-
), p = Pn(), $ = _n(), T = Mn(), [M, A] = N(!1), [E, J] = N(t.name), [Te,
|
|
857
|
+
), p = Pn(), $ = _n(), T = Mn(), [M, A] = N(!1), [E, J] = N(t.name), [Te, j] = N(!1), [oe, q] = N(t.description || ""), [se, ie] = N(""), [Ne, Y] = N(!1), Fe = Q(() => {
|
|
863
858
|
const y = se.trim().toLowerCase();
|
|
864
859
|
return w.filter((R) => !S.has(R.id)).filter(
|
|
865
860
|
(R) => !y || (R.name || "").toLowerCase().includes(y) || (R.email || "").toLowerCase().includes(y)
|
|
@@ -876,7 +871,7 @@ function $n({
|
|
|
876
871
|
}
|
|
877
872
|
}, Se = async () => {
|
|
878
873
|
const y = oe.trim();
|
|
879
|
-
if (
|
|
874
|
+
if (j(!1), y !== (t.description || ""))
|
|
880
875
|
try {
|
|
881
876
|
await T.mutateAsync({
|
|
882
877
|
groupId: t.id,
|
|
@@ -908,11 +903,11 @@ function $n({
|
|
|
908
903
|
} catch {
|
|
909
904
|
}
|
|
910
905
|
};
|
|
911
|
-
let
|
|
906
|
+
let G = "";
|
|
912
907
|
try {
|
|
913
|
-
|
|
908
|
+
G = Yt(new Date(t.createdAt), "MMM d, yyyy");
|
|
914
909
|
} catch {
|
|
915
|
-
|
|
910
|
+
G = "";
|
|
916
911
|
}
|
|
917
912
|
return /* @__PURE__ */ s("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
|
|
918
913
|
/* @__PURE__ */ s("div", { className: "flex h-10 shrink-0 items-center gap-1.5 border-b border-border px-5", children: [
|
|
@@ -923,7 +918,7 @@ function $n({
|
|
|
923
918
|
onClick: l,
|
|
924
919
|
"aria-label": "Back",
|
|
925
920
|
className: "-ml-1 flex h-6 w-6 items-center justify-center rounded-[3px] text-muted-foreground hover:bg-accent hover:text-foreground",
|
|
926
|
-
children: /* @__PURE__ */ e(
|
|
921
|
+
children: /* @__PURE__ */ e(zt, { className: "h-3.5 w-3.5" })
|
|
927
922
|
}
|
|
928
923
|
),
|
|
929
924
|
M ? /* @__PURE__ */ e(
|
|
@@ -965,10 +960,10 @@ function $n({
|
|
|
965
960
|
autoFocus: !0,
|
|
966
961
|
rows: 2,
|
|
967
962
|
value: oe,
|
|
968
|
-
onChange: (y) =>
|
|
963
|
+
onChange: (y) => q(y.target.value),
|
|
969
964
|
maxLength: 200,
|
|
970
965
|
onKeyDown: (y) => {
|
|
971
|
-
y.key === "Escape" && (
|
|
966
|
+
y.key === "Escape" && (q(t.description || ""), j(!1)), y.key === "Enter" && (y.metaKey || y.ctrlKey) && Se();
|
|
972
967
|
},
|
|
973
968
|
placeholder: "What is this group for?",
|
|
974
969
|
className: "block w-full resize-none rounded-[5px] border border-border bg-background px-2 py-1.5 text-[12px] text-foreground placeholder:text-muted-foreground focus:border-foreground/40 focus:outline-none"
|
|
@@ -985,7 +980,7 @@ function $n({
|
|
|
985
980
|
{
|
|
986
981
|
type: "button",
|
|
987
982
|
onClick: () => {
|
|
988
|
-
|
|
983
|
+
q(t.description || ""), j(!1);
|
|
989
984
|
},
|
|
990
985
|
className: "h-6 rounded-[5px] px-2 text-[11px] font-medium text-foreground/80 hover:bg-accent",
|
|
991
986
|
children: "Cancel"
|
|
@@ -1007,7 +1002,7 @@ function $n({
|
|
|
1007
1002
|
{
|
|
1008
1003
|
type: "button",
|
|
1009
1004
|
onClick: () => {
|
|
1010
|
-
a && (
|
|
1005
|
+
a && (q(t.description || ""), j(!0));
|
|
1011
1006
|
},
|
|
1012
1007
|
disabled: !a,
|
|
1013
1008
|
title: a ? "Click to edit description" : void 0,
|
|
@@ -1015,14 +1010,14 @@ function $n({
|
|
|
1015
1010
|
children: [
|
|
1016
1011
|
t.description ? /* @__PURE__ */ e("p", { className: "text-[12px] leading-[1.55] text-foreground/90", children: t.description }) : /* @__PURE__ */ e("p", { className: "text-[12px] leading-[1.55] text-muted-foreground", children: a ? "Add a description…" : "No description" }),
|
|
1017
1012
|
/* @__PURE__ */ s("p", { className: "mt-1 text-[10.5px] text-muted-foreground", children: [
|
|
1018
|
-
|
|
1013
|
+
G ? `Created ${G}` : "Recently created",
|
|
1019
1014
|
a ? " · You can edit this group" : ""
|
|
1020
1015
|
] })
|
|
1021
1016
|
]
|
|
1022
1017
|
}
|
|
1023
1018
|
) }),
|
|
1024
1019
|
o && /* @__PURE__ */ e(
|
|
1025
|
-
|
|
1020
|
+
Bn,
|
|
1026
1021
|
{
|
|
1027
1022
|
query: se,
|
|
1028
1023
|
setQuery: ie,
|
|
@@ -1051,7 +1046,7 @@ function $n({
|
|
|
1051
1046
|
/* @__PURE__ */ e("div", { className: "text-[12px] text-foreground", children: "No members yet" }),
|
|
1052
1047
|
/* @__PURE__ */ e("div", { className: "text-[11px] text-muted-foreground", children: o ? "Search above to add people to this group." : "This group does not have any members." })
|
|
1053
1048
|
] }) : i.map((y) => {
|
|
1054
|
-
var R, ce,
|
|
1049
|
+
var R, ce, z, De, le, I;
|
|
1055
1050
|
return /* @__PURE__ */ s(
|
|
1056
1051
|
"div",
|
|
1057
1052
|
{
|
|
@@ -1059,7 +1054,7 @@ function $n({
|
|
|
1059
1054
|
children: [
|
|
1060
1055
|
/* @__PURE__ */ e(mr, { name: ((R = y.user) == null ? void 0 : R.name) || ((ce = y.user) == null ? void 0 : ce.email) || "?" }),
|
|
1061
1056
|
/* @__PURE__ */ s("div", { className: "min-w-0 flex-1", children: [
|
|
1062
|
-
/* @__PURE__ */ e("div", { className: "truncate text-[12.5px] font-medium text-foreground", children: ((
|
|
1057
|
+
/* @__PURE__ */ e("div", { className: "truncate text-[12.5px] font-medium text-foreground", children: ((z = y.user) == null ? void 0 : z.name) || ((De = y.user) == null ? void 0 : De.email) || "Unknown" }),
|
|
1063
1058
|
((le = y.user) == null ? void 0 : le.email) && y.user.name && /* @__PURE__ */ e("div", { className: "truncate text-[10.5px] text-muted-foreground", children: y.user.email })
|
|
1064
1059
|
] }),
|
|
1065
1060
|
!n && /* @__PURE__ */ e("span", { className: "text-[10px] uppercase tracking-[0.06em] text-muted-foreground", children: y.userType }),
|
|
@@ -1093,7 +1088,7 @@ function $n({
|
|
|
1093
1088
|
) })
|
|
1094
1089
|
] });
|
|
1095
1090
|
}
|
|
1096
|
-
function
|
|
1091
|
+
function Gn({
|
|
1097
1092
|
isTenantUser: t,
|
|
1098
1093
|
tenantId: n,
|
|
1099
1094
|
onCancel: a,
|
|
@@ -1180,7 +1175,7 @@ function Bn({
|
|
|
1180
1175
|
] })
|
|
1181
1176
|
] });
|
|
1182
1177
|
}
|
|
1183
|
-
function
|
|
1178
|
+
function Bn({
|
|
1184
1179
|
query: t,
|
|
1185
1180
|
setQuery: n,
|
|
1186
1181
|
open: a,
|
|
@@ -1190,8 +1185,8 @@ function Gn({
|
|
|
1190
1185
|
onAdd: m,
|
|
1191
1186
|
busy: u
|
|
1192
1187
|
}) {
|
|
1193
|
-
const g =
|
|
1194
|
-
|
|
1188
|
+
const g = Pt(null), f = Pt(null), [b, c] = N(null);
|
|
1189
|
+
Ma(() => {
|
|
1195
1190
|
if (!a) {
|
|
1196
1191
|
c(null);
|
|
1197
1192
|
return;
|
|
@@ -1244,7 +1239,7 @@ function Gn({
|
|
|
1244
1239
|
]
|
|
1245
1240
|
}
|
|
1246
1241
|
),
|
|
1247
|
-
h && typeof document < "u" &&
|
|
1242
|
+
h && typeof document < "u" && Ba(
|
|
1248
1243
|
/* @__PURE__ */ e(
|
|
1249
1244
|
"div",
|
|
1250
1245
|
{
|
|
@@ -1321,14 +1316,14 @@ function be(t, n, a) {
|
|
|
1321
1316
|
);
|
|
1322
1317
|
if (r)
|
|
1323
1318
|
return r.label;
|
|
1324
|
-
const o = (m = (l =
|
|
1319
|
+
const o = (m = (l = qt(t, n)) == null ? void 0 : l.controls) == null ? void 0 : m.find(
|
|
1325
1320
|
(u) => u.id === a
|
|
1326
1321
|
);
|
|
1327
1322
|
return (o == null ? void 0 : o.label) || a;
|
|
1328
1323
|
}
|
|
1329
1324
|
function ge(t, n) {
|
|
1330
1325
|
var a;
|
|
1331
|
-
return ((a =
|
|
1326
|
+
return ((a = qt(t, n)) == null ? void 0 : a.title) || n;
|
|
1332
1327
|
}
|
|
1333
1328
|
function Hn(t) {
|
|
1334
1329
|
const { errors: n, dashboard: a } = t;
|
|
@@ -1420,11 +1415,11 @@ function Vn({
|
|
|
1420
1415
|
onSelect: n
|
|
1421
1416
|
}) {
|
|
1422
1417
|
return t ? /* @__PURE__ */ s(U, { onSelect: n, children: [
|
|
1423
|
-
/* @__PURE__ */ e(
|
|
1418
|
+
/* @__PURE__ */ e(ra, { className: "h-3.5 w-3.5" }),
|
|
1424
1419
|
"Schedule email report"
|
|
1425
1420
|
] }) : null;
|
|
1426
1421
|
}
|
|
1427
|
-
function
|
|
1422
|
+
function jn({
|
|
1428
1423
|
scheduleReportVisible: t,
|
|
1429
1424
|
analyticalBriefingVisible: n,
|
|
1430
1425
|
onScheduleReport: a,
|
|
@@ -1450,27 +1445,27 @@ function Vt(t, n) {
|
|
|
1450
1445
|
semanticExecutionPayload: Ze(n)
|
|
1451
1446
|
};
|
|
1452
1447
|
}
|
|
1453
|
-
function
|
|
1448
|
+
function fo() {
|
|
1454
1449
|
var vt, yt, wt, Nt, St;
|
|
1455
|
-
|
|
1450
|
+
La(), Pa();
|
|
1456
1451
|
const {
|
|
1457
1452
|
authToken: t,
|
|
1458
1453
|
tokenProps: n,
|
|
1459
1454
|
id: a,
|
|
1460
1455
|
showBriefings: r
|
|
1461
|
-
} = W(), o =
|
|
1456
|
+
} = W(), o = aa(), { isLocalDev: l } = na(), {
|
|
1462
1457
|
canEditDashboard: m,
|
|
1463
1458
|
hasInspectionUser: u,
|
|
1464
1459
|
inspectionMessage: g,
|
|
1465
1460
|
isInspectionMode: f,
|
|
1466
1461
|
isInspectionSurface: b
|
|
1467
|
-
} =
|
|
1462
|
+
} = oa(), { openBrandStudioPreview: c } = sa(), { permissions: h } = pn(), i = ia(), { isLoading: x } = da(), v = C((d) => d.theme), w = C((d) => d.isDownloadingPdf), S = C(
|
|
1468
1463
|
(d) => d.dashboardAssistantDraftScopeKey
|
|
1469
1464
|
), p = C((d) => d.dashboard), $ = C((d) => d.selectedSheetId), T = (vt = p == null ? void 0 : p.sheets) == null ? void 0 : vt.find(
|
|
1470
1465
|
(d) => d.id === $
|
|
1471
1466
|
), M = $r(T), A = M ? (yt = T == null ? void 0 : T.document) == null ? void 0 : yt.page : void 0, E = C(
|
|
1472
1467
|
(d) => d.isDashboardEditing
|
|
1473
|
-
), { setDashboardTitle: J } = C((d) => d.actions), [Te,
|
|
1468
|
+
), { setDashboardTitle: J } = C((d) => d.actions), [Te, j] = N(!1), [oe, q] = N(!1), [se, ie] = N(!1), [Ne, Y] = N(null), [Fe, de] = N(!1), [Se, X] = N(!1), [Z, G] = N(null), [y, R] = N([]), [ce, z] = N(!1), [De, le] = N(!1), I = C((d) => d.isVisualEditing);
|
|
1474
1469
|
Ct((d) => d.card);
|
|
1475
1470
|
const hr = Pe(
|
|
1476
1471
|
(d) => d.selectedDashboard
|
|
@@ -1486,15 +1481,15 @@ function yo() {
|
|
|
1486
1481
|
(d) => d.actions
|
|
1487
1482
|
), { setInitialDashboard: ct, clearSelectedDashboard: $e } = Pe(
|
|
1488
1483
|
(d) => d.actions
|
|
1489
|
-
), ue = !!n.orgUserId || !!(n.tenantId && n.endUserId && n.endUserEmail), { resources: Ce } =
|
|
1484
|
+
), ue = !!n.orgUserId || !!(n.tenantId && n.endUserId && n.endUserEmail), { resources: Ce } = ca(Qe.DASHBOARD), { data: Ge } = la(), fr = ((wt = Ge == null ? void 0 : Ge.preference) == null ? void 0 : wt.defaultDashboardId) || null, { mutate: br, isPending: gr } = ua(), { currentUser: xr } = rt(), vr = ma(xr), B = hr || pr, ee = ha({
|
|
1490
1485
|
config: n.config,
|
|
1491
1486
|
canNavigateDashboardHub: ue,
|
|
1492
|
-
canShareDashboard: ((Nt =
|
|
1487
|
+
canShareDashboard: ((Nt = B == null ? void 0 : B.permissions) == null ? void 0 : Nt.canShare) === !0,
|
|
1493
1488
|
canManageGroups: vr
|
|
1494
|
-
}), lt =
|
|
1495
|
-
id:
|
|
1496
|
-
title: (p == null ? void 0 : p.title) ||
|
|
1497
|
-
} : null, { handleAddNewFrame: yr } =
|
|
1489
|
+
}), lt = B ? {
|
|
1490
|
+
id: B.id,
|
|
1491
|
+
title: (p == null ? void 0 : p.title) || B.title || "Dashboard"
|
|
1492
|
+
} : null, { handleAddNewFrame: yr } = pa(), [Be, He] = N(!1), [wr, me] = N(!1), [Ve, ke] = N("close"), he = fa(Qe.DASHBOARD), [L, pe] = N(null), Nr = async (d, P) => {
|
|
1498
1493
|
if (!f) {
|
|
1499
1494
|
if (!(p != null && p.id)) {
|
|
1500
1495
|
console.log("No dashboard ID found");
|
|
@@ -1538,8 +1533,8 @@ function yo() {
|
|
|
1538
1533
|
}
|
|
1539
1534
|
}
|
|
1540
1535
|
}, [Ce, p == null ? void 0 : p.id, ct]);
|
|
1541
|
-
const Sr = n.orgUserId || n.tenantId,
|
|
1542
|
-
() =>
|
|
1536
|
+
const Sr = n.orgUserId || n.tenantId, je = Q(
|
|
1537
|
+
() => qn({
|
|
1543
1538
|
accessToken: t == null ? void 0 : t.accessToken,
|
|
1544
1539
|
dashboardId: (p == null ? void 0 : p.id) || a || n.dashboard_id,
|
|
1545
1540
|
selectedSheetId: M ? $ : void 0,
|
|
@@ -1558,7 +1553,7 @@ function yo() {
|
|
|
1558
1553
|
v,
|
|
1559
1554
|
n.dashboard_id
|
|
1560
1555
|
]
|
|
1561
|
-
), ut = E && !I && !f && Sr && m, { setDashboard:
|
|
1556
|
+
), ut = E && !I && !f && Sr && m, { setDashboard: qe } = C((d) => d.actions), mt = C(
|
|
1562
1557
|
(d) => d.semanticExecutionPayload
|
|
1563
1558
|
), Dr = () => {
|
|
1564
1559
|
it(!0);
|
|
@@ -1589,30 +1584,30 @@ function yo() {
|
|
|
1589
1584
|
300,
|
|
1590
1585
|
1e3,
|
|
1591
1586
|
en
|
|
1592
|
-
), ft =
|
|
1587
|
+
), ft = _a(
|
|
1593
1588
|
ht,
|
|
1594
1589
|
f,
|
|
1595
1590
|
m
|
|
1596
|
-
), bt = pt || Cr, Ae =
|
|
1591
|
+
), bt = pt || Cr, Ae = Be || he.isPending, kr = () => {
|
|
1597
1592
|
if (f) {
|
|
1598
|
-
L &&
|
|
1593
|
+
L && qe(L.dashboard, {
|
|
1599
1594
|
semanticExecutionPayload: L.semanticExecutionPayload
|
|
1600
1595
|
}), Ee(), fe();
|
|
1601
1596
|
return;
|
|
1602
1597
|
}
|
|
1603
1598
|
ft() ? (ke("close"), me(!0)) : (Ee(), fe());
|
|
1604
1599
|
}, Er = async () => {
|
|
1605
|
-
await
|
|
1600
|
+
await ze({
|
|
1606
1601
|
closeAfterSave: !0,
|
|
1607
1602
|
navigateHomeAfterSave: Ve === "home"
|
|
1608
1603
|
});
|
|
1609
1604
|
}, Ar = () => {
|
|
1610
1605
|
const d = Ve === "home" && !!ue;
|
|
1611
|
-
L &&
|
|
1606
|
+
L && qe(L.dashboard, {
|
|
1612
1607
|
semanticExecutionPayload: L.semanticExecutionPayload
|
|
1613
1608
|
}), Ee(), d && $e(), ke("close"), me(!1), fe();
|
|
1614
1609
|
}, Ir = () => {
|
|
1615
|
-
L && (
|
|
1610
|
+
L && (qe(L.dashboard, {
|
|
1616
1611
|
semanticExecutionPayload: L.semanticExecutionPayload
|
|
1617
1612
|
}), fe());
|
|
1618
1613
|
}, Mr = () => {
|
|
@@ -1624,16 +1619,16 @@ function yo() {
|
|
|
1624
1619
|
$e();
|
|
1625
1620
|
}
|
|
1626
1621
|
};
|
|
1627
|
-
async function
|
|
1622
|
+
async function ze(d) {
|
|
1628
1623
|
if (f)
|
|
1629
1624
|
return;
|
|
1630
1625
|
const P = C.getState().dashboard;
|
|
1631
1626
|
if (!P)
|
|
1632
1627
|
return;
|
|
1633
1628
|
const _ = (d == null ? void 0 : d.closeAfterSave) ?? ce, re = (d == null ? void 0 : d.navigateHomeAfterSave) ?? !1;
|
|
1634
|
-
|
|
1629
|
+
z(_), _ && me(!1);
|
|
1635
1630
|
const Rr = Ze(P);
|
|
1636
|
-
X(!0),
|
|
1631
|
+
X(!0), G(null), R([]), He(!0);
|
|
1637
1632
|
const Ur = {
|
|
1638
1633
|
template: P
|
|
1639
1634
|
};
|
|
@@ -1647,7 +1642,7 @@ function yo() {
|
|
|
1647
1642
|
var Ie, Me, Dt;
|
|
1648
1643
|
const K = (O == null ? void 0 : O.id) || ((Ie = O == null ? void 0 : O.dashboard) == null ? void 0 : Ie.id) || ((Me = O == null ? void 0 : O.resource) == null ? void 0 : Me.id) || ((Dt = O == null ? void 0 : O.template) == null ? void 0 : Dt.id) || null;
|
|
1649
1644
|
if (!P.id && K) {
|
|
1650
|
-
const Ke =
|
|
1645
|
+
const Ke = Br.getState(), Le = Ke.pendingDashboardDraftMigration;
|
|
1651
1646
|
(Le == null ? void 0 : Le.scopeKey) === S ? Ke.actions.setPendingDashboardDraftMigrationExpectedDashboardId(
|
|
1652
1647
|
K
|
|
1653
1648
|
) : Le && Ke.actions.clearPendingDashboardDraftMigration();
|
|
@@ -1657,10 +1652,10 @@ function yo() {
|
|
|
1657
1652
|
Rr,
|
|
1658
1653
|
C.getState().semanticExecutionPayload
|
|
1659
1654
|
)
|
|
1660
|
-
), X(!1),
|
|
1655
|
+
), X(!1), z(!1), _ && (Ee(), fe(), re && ue && $e()), ke("close");
|
|
1661
1656
|
},
|
|
1662
1657
|
onError: (O) => {
|
|
1663
|
-
He(!1),
|
|
1658
|
+
He(!1), G("Failed to save dashboard. Please try again.");
|
|
1664
1659
|
const K = O.details, Ie = Array.isArray(
|
|
1665
1660
|
K == null ? void 0 : K.errors
|
|
1666
1661
|
) ? (K.errors || []).filter(
|
|
@@ -1682,7 +1677,7 @@ function yo() {
|
|
|
1682
1677
|
dashboardStateTitle: p.title,
|
|
1683
1678
|
dashboardId: p == null ? void 0 : p.id
|
|
1684
1679
|
});
|
|
1685
|
-
const Lr = ue && !!(t != null && t.accessToken) && !!(n != null && n.apiServiceUrl), Pr = !f && ee.showDashboardHub && Lr, _r = !f && i && ee.showDashboardHub, H = (p == null ? void 0 : p.id) || null, xt =
|
|
1680
|
+
const Lr = ue && !!(t != null && t.accessToken) && !!(n != null && n.apiServiceUrl), Pr = !f && ee.showDashboardHub && Lr, _r = !f && i && ee.showDashboardHub, H = (p == null ? void 0 : p.id) || null, xt = ba(
|
|
1686
1681
|
(St = n.config) == null ? void 0 : St.showBriefings,
|
|
1687
1682
|
r
|
|
1688
1683
|
), te = !!H && fr === H, Or = () => {
|
|
@@ -1698,14 +1693,14 @@ function yo() {
|
|
|
1698
1693
|
children: [
|
|
1699
1694
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
|
|
1700
1695
|
_r && !I && /* @__PURE__ */ e(
|
|
1701
|
-
|
|
1696
|
+
At,
|
|
1702
1697
|
{
|
|
1703
1698
|
"aria-label": "Dashboard Hub",
|
|
1704
1699
|
tooltip: "Dashboard Hub",
|
|
1705
1700
|
onClick: Mr,
|
|
1706
1701
|
className: "h-7 w-7 px-0",
|
|
1707
1702
|
buttonProps: { size: "xs" },
|
|
1708
|
-
children: /* @__PURE__ */ e(
|
|
1703
|
+
children: /* @__PURE__ */ e(ga, { className: "h-3.5 w-3.5" })
|
|
1709
1704
|
}
|
|
1710
1705
|
),
|
|
1711
1706
|
!I && i && (x ? /* @__PURE__ */ e(
|
|
@@ -1718,7 +1713,7 @@ function yo() {
|
|
|
1718
1713
|
}
|
|
1719
1714
|
) : /* @__PURE__ */ s(F, { children: [
|
|
1720
1715
|
/* @__PURE__ */ e(
|
|
1721
|
-
|
|
1716
|
+
xa,
|
|
1722
1717
|
{
|
|
1723
1718
|
value: gt || "Untitled Dashboard",
|
|
1724
1719
|
onSave: (d) => {
|
|
@@ -1730,7 +1725,7 @@ function yo() {
|
|
|
1730
1725
|
const P = (p == null ? void 0 : p.title) || "";
|
|
1731
1726
|
J(d), Nr(d, P);
|
|
1732
1727
|
},
|
|
1733
|
-
isEditable:
|
|
1728
|
+
isEditable: va({
|
|
1734
1729
|
isDashboardEditing: E,
|
|
1735
1730
|
canEditDashboard: m === !0 && !f
|
|
1736
1731
|
}),
|
|
@@ -1748,8 +1743,8 @@ function yo() {
|
|
|
1748
1743
|
children: "Default"
|
|
1749
1744
|
}
|
|
1750
1745
|
),
|
|
1751
|
-
Pr && H && /* @__PURE__ */ e(
|
|
1752
|
-
/* @__PURE__ */ e(
|
|
1746
|
+
Pr && H && /* @__PURE__ */ e(Rt, { children: /* @__PURE__ */ s(Ut, { children: [
|
|
1747
|
+
/* @__PURE__ */ e(Tt, { asChild: !0, children: /* @__PURE__ */ e(
|
|
1753
1748
|
V,
|
|
1754
1749
|
{
|
|
1755
1750
|
variant: "ghost",
|
|
@@ -1762,31 +1757,31 @@ function yo() {
|
|
|
1762
1757
|
),
|
|
1763
1758
|
"aria-pressed": te,
|
|
1764
1759
|
"aria-label": te ? "Remove as default dashboard" : "Set as default dashboard",
|
|
1765
|
-
children: /* @__PURE__ */ e(
|
|
1760
|
+
children: /* @__PURE__ */ e(ya, { className: "h-3.5 w-3.5" })
|
|
1766
1761
|
}
|
|
1767
1762
|
) }),
|
|
1768
|
-
/* @__PURE__ */ e(
|
|
1763
|
+
/* @__PURE__ */ e(Ft, { children: /* @__PURE__ */ e("p", { children: te ? "Remove as default dashboard" : "Set as default dashboard" }) })
|
|
1769
1764
|
] }) })
|
|
1770
1765
|
] }))
|
|
1771
1766
|
] }),
|
|
1772
1767
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
|
|
1773
1768
|
I && /* @__PURE__ */ s(F, { children: [
|
|
1774
|
-
/* @__PURE__ */ e(
|
|
1775
|
-
/* @__PURE__ */ e(
|
|
1769
|
+
/* @__PURE__ */ e(Oa, {}),
|
|
1770
|
+
/* @__PURE__ */ e(Ra, {})
|
|
1776
1771
|
] }),
|
|
1777
1772
|
!I && i && !f && ee.showDashboardSharing && /* @__PURE__ */ s(
|
|
1778
1773
|
V,
|
|
1779
1774
|
{
|
|
1780
1775
|
variant: "outline",
|
|
1781
1776
|
size: "xs",
|
|
1782
|
-
onClick: () =>
|
|
1777
|
+
onClick: () => j(!0),
|
|
1783
1778
|
children: [
|
|
1784
|
-
/* @__PURE__ */ e(
|
|
1779
|
+
/* @__PURE__ */ e(wa, { className: "h-3.5 w-3.5" }),
|
|
1785
1780
|
"Share"
|
|
1786
1781
|
]
|
|
1787
1782
|
}
|
|
1788
1783
|
),
|
|
1789
|
-
!I && E && !f && h.canUseFilters && i && /* @__PURE__ */ e(
|
|
1784
|
+
!I && E && !f && h.canUseFilters && i && /* @__PURE__ */ e(Ua, {}),
|
|
1790
1785
|
E && !I && !f && i && !M && /* @__PURE__ */ s("div", { className: "inline-flex h-7 items-stretch overflow-hidden rounded-control border border-input bg-background", children: [
|
|
1791
1786
|
/* @__PURE__ */ s(
|
|
1792
1787
|
V,
|
|
@@ -1802,8 +1797,8 @@ function yo() {
|
|
|
1802
1797
|
]
|
|
1803
1798
|
}
|
|
1804
1799
|
),
|
|
1805
|
-
/* @__PURE__ */ s(
|
|
1806
|
-
/* @__PURE__ */ e(
|
|
1800
|
+
/* @__PURE__ */ s(It, { modal: !1, children: [
|
|
1801
|
+
/* @__PURE__ */ e(Mt, { asChild: !0, children: /* @__PURE__ */ e(
|
|
1807
1802
|
V,
|
|
1808
1803
|
{
|
|
1809
1804
|
variant: "ghost",
|
|
@@ -1811,11 +1806,11 @@ function yo() {
|
|
|
1811
1806
|
className: "h-full w-7 rounded-none border-0 border-l border-border/60 px-0 shadow-none hover:bg-accent",
|
|
1812
1807
|
"aria-label": "Open visual options",
|
|
1813
1808
|
disabled: !E,
|
|
1814
|
-
children: /* @__PURE__ */ e(
|
|
1809
|
+
children: /* @__PURE__ */ e(Ia, { className: "h-3.5 w-3.5" })
|
|
1815
1810
|
}
|
|
1816
1811
|
) }),
|
|
1817
1812
|
/* @__PURE__ */ e(
|
|
1818
|
-
|
|
1813
|
+
Lt,
|
|
1819
1814
|
{
|
|
1820
1815
|
align: "end",
|
|
1821
1816
|
className: "z-[60] w-48 rounded-[6px] border-border/60 p-1 shadow-sm",
|
|
@@ -1827,7 +1822,7 @@ function yo() {
|
|
|
1827
1822
|
)
|
|
1828
1823
|
] }),
|
|
1829
1824
|
/* @__PURE__ */ e(
|
|
1830
|
-
|
|
1825
|
+
Ta,
|
|
1831
1826
|
{
|
|
1832
1827
|
open: De,
|
|
1833
1828
|
onOpenChange: le
|
|
@@ -1836,20 +1831,20 @@ function yo() {
|
|
|
1836
1831
|
] }),
|
|
1837
1832
|
!I && !E && (m || f) && (!b || !u || m !== void 0) && i && /* @__PURE__ */ s("div", { className: "inline-flex items-center gap-1", children: [
|
|
1838
1833
|
/* @__PURE__ */ s(V, { size: "xs", onClick: Dr, children: [
|
|
1839
|
-
/* @__PURE__ */ e(
|
|
1834
|
+
/* @__PURE__ */ e(Na, { className: "h-3.5 w-3.5" }),
|
|
1840
1835
|
f ? "Inspect" : "Edit"
|
|
1841
1836
|
] }),
|
|
1842
|
-
g ? /* @__PURE__ */ e(
|
|
1843
|
-
/* @__PURE__ */ e(
|
|
1837
|
+
g ? /* @__PURE__ */ e(Rt, { children: /* @__PURE__ */ s(Ut, { children: [
|
|
1838
|
+
/* @__PURE__ */ e(Tt, { asChild: !0, children: /* @__PURE__ */ e(
|
|
1844
1839
|
"button",
|
|
1845
1840
|
{
|
|
1846
1841
|
type: "button",
|
|
1847
1842
|
"aria-label": g,
|
|
1848
1843
|
className: "inline-flex size-6 items-center justify-center rounded-control text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
1849
|
-
children: /* @__PURE__ */ e(
|
|
1844
|
+
children: /* @__PURE__ */ e(Xa, { "aria-hidden": "true", className: "size-3.5" })
|
|
1850
1845
|
}
|
|
1851
1846
|
) }),
|
|
1852
|
-
/* @__PURE__ */ e(
|
|
1847
|
+
/* @__PURE__ */ e(Ft, { children: /* @__PURE__ */ e("p", { children: g }) })
|
|
1853
1848
|
] }) }) : null
|
|
1854
1849
|
] }),
|
|
1855
1850
|
ut && i && pt && /* @__PURE__ */ s(
|
|
@@ -1860,7 +1855,7 @@ function yo() {
|
|
|
1860
1855
|
onClick: Ir,
|
|
1861
1856
|
disabled: Ae,
|
|
1862
1857
|
children: [
|
|
1863
|
-
/* @__PURE__ */ e(
|
|
1858
|
+
/* @__PURE__ */ e(Sa, { className: "h-3.5 w-3.5" }),
|
|
1864
1859
|
"Undo"
|
|
1865
1860
|
]
|
|
1866
1861
|
}
|
|
@@ -1871,7 +1866,7 @@ function yo() {
|
|
|
1871
1866
|
size: "xs",
|
|
1872
1867
|
className: xe(!bt && "opacity-60"),
|
|
1873
1868
|
disabled: Ae || !bt,
|
|
1874
|
-
onClick: () =>
|
|
1869
|
+
onClick: () => ze(),
|
|
1875
1870
|
children: [
|
|
1876
1871
|
Ae ? /* @__PURE__ */ e(Re, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(tn, { className: "h-3.5 w-3.5" }),
|
|
1877
1872
|
Ae ? "Saving..." : "Save"
|
|
@@ -1879,14 +1874,14 @@ function yo() {
|
|
|
1879
1874
|
}
|
|
1880
1875
|
),
|
|
1881
1876
|
E && !I && i && /* @__PURE__ */ s(V, { variant: "outline", size: "xs", onClick: kr, children: [
|
|
1882
|
-
/* @__PURE__ */ e(
|
|
1877
|
+
/* @__PURE__ */ e(Da, { className: "h-3.5 w-3.5" }),
|
|
1883
1878
|
"Close"
|
|
1884
1879
|
] }),
|
|
1885
|
-
!I && i && /* @__PURE__ */ e("div", { className: "ml-2 flex items-center", children: /* @__PURE__ */ e(
|
|
1880
|
+
!I && i && /* @__PURE__ */ e("div", { className: "ml-2 flex items-center", children: /* @__PURE__ */ e(Fa, {}) }),
|
|
1886
1881
|
!I && l && /* @__PURE__ */ e(hn, {}),
|
|
1887
|
-
!I && i && !f && /* @__PURE__ */ s(
|
|
1888
|
-
/* @__PURE__ */ e(
|
|
1889
|
-
|
|
1882
|
+
!I && i && !f && /* @__PURE__ */ s(It, { children: [
|
|
1883
|
+
/* @__PURE__ */ e(Mt, { asChild: !0, children: /* @__PURE__ */ e(
|
|
1884
|
+
At,
|
|
1890
1885
|
{
|
|
1891
1886
|
tooltip: "More Options",
|
|
1892
1887
|
className: "w-7 px-0 text-muted-foreground hover:text-foreground",
|
|
@@ -1895,11 +1890,11 @@ function yo() {
|
|
|
1895
1890
|
variant: "ghost",
|
|
1896
1891
|
"aria-label": "More dashboard options"
|
|
1897
1892
|
},
|
|
1898
|
-
children: /* @__PURE__ */ e(
|
|
1893
|
+
children: /* @__PURE__ */ e(Ca, { className: "h-3.5 w-3.5" })
|
|
1899
1894
|
}
|
|
1900
1895
|
) }),
|
|
1901
1896
|
/* @__PURE__ */ s(
|
|
1902
|
-
|
|
1897
|
+
Lt,
|
|
1903
1898
|
{
|
|
1904
1899
|
align: "end",
|
|
1905
1900
|
className: "w-56 rounded-control border border-border/60 p-1 shadow-sm",
|
|
@@ -1911,13 +1906,13 @@ function yo() {
|
|
|
1911
1906
|
disabled: w,
|
|
1912
1907
|
onSelect: () => de(!0),
|
|
1913
1908
|
children: [
|
|
1914
|
-
/* @__PURE__ */ e(
|
|
1909
|
+
/* @__PURE__ */ e(ka, { className: "h-3.5 w-3.5" }),
|
|
1915
1910
|
"Export"
|
|
1916
1911
|
]
|
|
1917
1912
|
}
|
|
1918
1913
|
),
|
|
1919
1914
|
/* @__PURE__ */ e(
|
|
1920
|
-
|
|
1915
|
+
jn,
|
|
1921
1916
|
{
|
|
1922
1917
|
scheduleReportVisible: !!(xt && o.surfaceVisible && H && !E),
|
|
1923
1918
|
analyticalBriefingVisible: !!(xt && o.surfaceVisible && H && !E),
|
|
@@ -1931,7 +1926,7 @@ function yo() {
|
|
|
1931
1926
|
/* @__PURE__ */ s(
|
|
1932
1927
|
U,
|
|
1933
1928
|
{
|
|
1934
|
-
onClick: () =>
|
|
1929
|
+
onClick: () => q(!0),
|
|
1935
1930
|
children: [
|
|
1936
1931
|
/* @__PURE__ */ e(Kt, { className: "h-3.5 w-3.5" }),
|
|
1937
1932
|
"Manage Groups"
|
|
@@ -1958,7 +1953,7 @@ function yo() {
|
|
|
1958
1953
|
).catch(() => D.error("Unable to copy token")) : D.error("Clipboard not available"));
|
|
1959
1954
|
},
|
|
1960
1955
|
children: [
|
|
1961
|
-
/* @__PURE__ */ e(
|
|
1956
|
+
/* @__PURE__ */ e(_t, { className: "h-3.5 w-3.5" }),
|
|
1962
1957
|
"Copy token"
|
|
1963
1958
|
]
|
|
1964
1959
|
}
|
|
@@ -1966,16 +1961,16 @@ function yo() {
|
|
|
1966
1961
|
M && /* @__PURE__ */ s(
|
|
1967
1962
|
U,
|
|
1968
1963
|
{
|
|
1969
|
-
disabled: !
|
|
1964
|
+
disabled: !je,
|
|
1970
1965
|
onSelect: () => {
|
|
1971
1966
|
var d;
|
|
1972
|
-
if (!
|
|
1967
|
+
if (!je) {
|
|
1973
1968
|
D.error(
|
|
1974
1969
|
"Open a document sheet with a token to copy the local PDF URL"
|
|
1975
1970
|
);
|
|
1976
1971
|
return;
|
|
1977
1972
|
}
|
|
1978
|
-
(d = navigator == null ? void 0 : navigator.clipboard) != null && d.writeText ? navigator.clipboard.writeText(
|
|
1973
|
+
(d = navigator == null ? void 0 : navigator.clipboard) != null && d.writeText ? navigator.clipboard.writeText(je).then(
|
|
1979
1974
|
() => D.success(
|
|
1980
1975
|
"Local document PDF URL copied to clipboard"
|
|
1981
1976
|
)
|
|
@@ -1986,7 +1981,7 @@ function yo() {
|
|
|
1986
1981
|
) : D.error("Clipboard not available");
|
|
1987
1982
|
},
|
|
1988
1983
|
children: [
|
|
1989
|
-
/* @__PURE__ */ e(
|
|
1984
|
+
/* @__PURE__ */ e(_t, { className: "h-3.5 w-3.5" }),
|
|
1990
1985
|
"Copy local document PDF URL"
|
|
1991
1986
|
]
|
|
1992
1987
|
}
|
|
@@ -2021,32 +2016,32 @@ function yo() {
|
|
|
2021
2016
|
)
|
|
2022
2017
|
] }),
|
|
2023
2018
|
Te && lt && /* @__PURE__ */ e(
|
|
2024
|
-
|
|
2019
|
+
Ea,
|
|
2025
2020
|
{
|
|
2026
2021
|
resource: lt,
|
|
2027
2022
|
resourceType: Qe.DASHBOARD,
|
|
2028
|
-
onClose: () =>
|
|
2023
|
+
onClose: () => j(!1)
|
|
2029
2024
|
}
|
|
2030
2025
|
),
|
|
2031
2026
|
ee.showGroupManagement && /* @__PURE__ */ e(
|
|
2032
2027
|
Rn,
|
|
2033
2028
|
{
|
|
2034
2029
|
open: oe,
|
|
2035
|
-
onOpenChange:
|
|
2030
|
+
onOpenChange: q
|
|
2036
2031
|
}
|
|
2037
2032
|
),
|
|
2038
2033
|
/* @__PURE__ */ e(
|
|
2039
|
-
|
|
2034
|
+
Ya,
|
|
2040
2035
|
{
|
|
2041
2036
|
open: se,
|
|
2042
2037
|
onOpenChange: ie
|
|
2043
2038
|
}
|
|
2044
2039
|
),
|
|
2045
2040
|
H && Ne ? /* @__PURE__ */ e(
|
|
2046
|
-
|
|
2041
|
+
$a,
|
|
2047
2042
|
{
|
|
2048
2043
|
dashboardId: H,
|
|
2049
|
-
dashboardTitle: (p == null ? void 0 : p.title) || (
|
|
2044
|
+
dashboardTitle: (p == null ? void 0 : p.title) || (B == null ? void 0 : B.title),
|
|
2050
2045
|
open: !0,
|
|
2051
2046
|
onOpenChange: (d) => {
|
|
2052
2047
|
d || Y(null);
|
|
@@ -2056,43 +2051,43 @@ function yo() {
|
|
|
2056
2051
|
}
|
|
2057
2052
|
) : null,
|
|
2058
2053
|
i && /* @__PURE__ */ e(
|
|
2059
|
-
|
|
2054
|
+
Aa,
|
|
2060
2055
|
{
|
|
2061
2056
|
open: Fe,
|
|
2062
2057
|
onOpenChange: de
|
|
2063
2058
|
}
|
|
2064
2059
|
),
|
|
2065
2060
|
/* @__PURE__ */ e(
|
|
2066
|
-
|
|
2061
|
+
Ha,
|
|
2067
2062
|
{
|
|
2068
2063
|
open: Se,
|
|
2069
2064
|
onOpenChange: (d) => {
|
|
2070
|
-
!d &&
|
|
2065
|
+
!d && Be && !Z || (X(d), d || (G(null), R([]), z(!1)));
|
|
2071
2066
|
},
|
|
2072
|
-
children: /* @__PURE__ */ s(
|
|
2073
|
-
/* @__PURE__ */ s(
|
|
2074
|
-
/* @__PURE__ */ e(
|
|
2075
|
-
/* @__PURE__ */ e(
|
|
2067
|
+
children: /* @__PURE__ */ s(Va, { className: "max-w-sm", children: [
|
|
2068
|
+
/* @__PURE__ */ s(ja, { children: [
|
|
2069
|
+
/* @__PURE__ */ e(qa, { children: Z ? "Save failed" : "Saving dashboard" }),
|
|
2070
|
+
/* @__PURE__ */ e(za, { className: "pt-2", children: Z ? "We could not save the dashboard. Please try again." : "Please wait while we save your changes." }),
|
|
2076
2071
|
y.length > 0 && /* @__PURE__ */ s("div", { className: "space-y-1 rounded-md border border-destructive/20 bg-destructive/5 p-3 text-left", children: [
|
|
2077
2072
|
/* @__PURE__ */ e("div", { className: "text-sm font-medium text-destructive", children: "What needs attention" }),
|
|
2078
2073
|
/* @__PURE__ */ e("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children: y.slice(0, 5).map((d) => /* @__PURE__ */ e("li", { children: d }, d)) })
|
|
2079
2074
|
] })
|
|
2080
2075
|
] }),
|
|
2081
|
-
/* @__PURE__ */ e(
|
|
2076
|
+
/* @__PURE__ */ e(Ka, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: Z ? /* @__PURE__ */ s(F, { children: [
|
|
2082
2077
|
/* @__PURE__ */ e(
|
|
2083
|
-
|
|
2078
|
+
Qa,
|
|
2084
2079
|
{
|
|
2085
2080
|
onClick: () => {
|
|
2086
|
-
X(!1),
|
|
2081
|
+
X(!1), G(null), R([]), z(!1);
|
|
2087
2082
|
},
|
|
2088
2083
|
className: "m-0",
|
|
2089
2084
|
children: "Close"
|
|
2090
2085
|
}
|
|
2091
2086
|
),
|
|
2092
2087
|
/* @__PURE__ */ e(
|
|
2093
|
-
|
|
2088
|
+
Ot,
|
|
2094
2089
|
{
|
|
2095
|
-
onClick: () =>
|
|
2090
|
+
onClick: () => ze({
|
|
2096
2091
|
closeAfterSave: ce,
|
|
2097
2092
|
navigateHomeAfterSave: Ve === "home"
|
|
2098
2093
|
}),
|
|
@@ -2100,7 +2095,7 @@ function yo() {
|
|
|
2100
2095
|
children: "Retry"
|
|
2101
2096
|
}
|
|
2102
2097
|
)
|
|
2103
|
-
] }) : /* @__PURE__ */ s(
|
|
2098
|
+
] }) : /* @__PURE__ */ s(Ot, { disabled: !0, className: "m-0 cursor-default", children: [
|
|
2104
2099
|
/* @__PURE__ */ e(Re, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
2105
2100
|
"Saving..."
|
|
2106
2101
|
] }) })
|
|
@@ -2108,7 +2103,7 @@ function yo() {
|
|
|
2108
2103
|
}
|
|
2109
2104
|
),
|
|
2110
2105
|
/* @__PURE__ */ e(
|
|
2111
|
-
|
|
2106
|
+
Ga,
|
|
2112
2107
|
{
|
|
2113
2108
|
open: wr,
|
|
2114
2109
|
onOpenChange: (d) => {
|
|
@@ -2116,7 +2111,7 @@ function yo() {
|
|
|
2116
2111
|
},
|
|
2117
2112
|
onSave: Er,
|
|
2118
2113
|
onDiscard: Ar,
|
|
2119
|
-
isSaving:
|
|
2114
|
+
isSaving: Be,
|
|
2120
2115
|
saveLabel: "Save",
|
|
2121
2116
|
discardLabel: "Discard changes"
|
|
2122
2117
|
}
|
|
@@ -2126,7 +2121,7 @@ function yo() {
|
|
|
2126
2121
|
}
|
|
2127
2122
|
);
|
|
2128
2123
|
}
|
|
2129
|
-
function
|
|
2124
|
+
function qn({
|
|
2130
2125
|
accessToken: t,
|
|
2131
2126
|
dashboardId: n,
|
|
2132
2127
|
selectedSheetId: a,
|
|
@@ -2142,5 +2137,5 @@ function zn({
|
|
|
2142
2137
|
return u.searchParams.set("pdfMode", "document"), u.searchParams.set("pageSize", r || "letter"), u.searchParams.set("orientation", o || "portrait"), u.searchParams.set("url", m.toString()), u.toString();
|
|
2143
2138
|
}
|
|
2144
2139
|
export {
|
|
2145
|
-
|
|
2140
|
+
fo as default
|
|
2146
2141
|
};
|