@declarion/react 0.53.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/{DraggableChildrenTable-BQZTvZaU.js → DraggableChildrenTable-CPoUY99R.js} +1 -1
- package/dist-lib/{Grid-B9Tiytbd.js → Grid--QAEby8k.js} +2 -2
- package/dist-lib/{LayoutRenderer-D_v9OD_A.js → LayoutRenderer-BxZ7Nd9b.js} +6 -6
- package/dist-lib/{ListCardsBody-dRnXsQ7A.js → ListCardsBody-BPV4GPrv.js} +4 -4
- package/dist-lib/{MarkdownRenderer-BCyrsLrd.js → MarkdownRenderer-CIKuh_0i.js} +1 -1
- package/dist-lib/{RefreshControl-CV8nGACW.js → RefreshControl-DMLkZP3R.js} +2 -2
- package/dist-lib/{SmartDetailPage.impl-DWprVNMb.js → SmartDetailPage.impl-SnNu6Ug-.js} +8 -8
- package/dist-lib/{SmartListPage.impl-BwWURGwa.js → SmartListPage.impl-C73pR7Iw.js} +11 -11
- package/dist-lib/{SmartRecordListPage.impl-BKKBShAg.js → SmartRecordListPage.impl-rJjQZe1V.js} +9 -9
- package/dist-lib/{SortHeaderMenu-pgi4sxMs.js → SortHeaderMenu-DQ_KrkWk.js} +1 -1
- package/dist-lib/{action-dispatch-DlHTYag7.js → action-dispatch-DsuUS7ae.js} +3 -3
- package/dist-lib/api/agents.d.ts +0 -1
- package/dist-lib/{cardProjection-C7Orz841.js → cardProjection-BadzqyeQ.js} +2 -2
- package/dist-lib/components/actions/ObjectActionBar.d.ts +1 -1
- package/dist-lib/components/chrome/Breadcrumbs.d.ts +1 -1
- package/dist-lib/components/detail-layout/DetailAuditStrip.d.ts +1 -1
- package/dist-lib/components/detail-layout/DetailHighlights.d.ts +1 -1
- package/dist-lib/components/detail-layout/DraggableChildrenTable.d.ts +1 -1
- package/dist-lib/components/detail-layout/EditableChildrenTable.d.ts +1 -1
- package/dist-lib/components/detail-layout/LayoutRenderer.d.ts +1 -1
- package/dist-lib/components/file-widgets/host.d.ts +1 -1
- package/dist-lib/components/layout/Layout.d.ts +1 -1
- package/dist-lib/components/layout/TopBar.d.ts +1 -1
- package/dist-lib/components/list/InlineEditCell.d.ts +1 -1
- package/dist-lib/components/list/PeekFieldCell.d.ts +1 -1
- package/dist-lib/components/list/QuickPeek.d.ts +1 -1
- package/dist-lib/components/pages/auth/AuthShell.d.ts +1 -1
- package/dist-lib/components/pages/list/ListCardRow.d.ts +1 -1
- package/dist-lib/components/pages/list/ListCardsBody.d.ts +1 -1
- package/dist-lib/components/pages/list/ListFloatbar.d.ts +1 -1
- package/dist-lib/components/pages/list/ListHeader.d.ts +1 -1
- package/dist-lib/components/pages/list/columns.d.ts +1 -1
- package/dist-lib/components/pages/list/filter-meta.d.ts +1 -1
- package/dist-lib/components/pages/list/use-filter-value-labels.d.ts +1 -1
- package/dist-lib/components/pages/list/useListRowInteraction.d.ts +1 -1
- package/dist-lib/components/pages/list/useListViews.d.ts +1 -1
- package/dist-lib/components/pages/list/useRowMenu.d.ts +1 -1
- package/dist-lib/{field-classification-EY8CFF3P.js → field-classification-sMkkAEg9.js} +1 -1
- package/dist-lib/{format-count-BHkaDr9V.js → format-count-B5SLlNOb.js} +5 -5
- package/dist-lib/index.js +269 -250
- package/dist-lib/lib/action-dispatch.d.ts +1 -1
- package/dist-lib/{peekDraftStore-1pIajluX.js → peekDraftStore-CbHFwz_F.js} +1 -1
- package/dist-lib/{registry-C5ug25M8.js → registry-D0RhCnEL.js} +3 -3
- package/dist-lib/testing.js +1 -1
- package/dist-lib/types/api.d.ts +8 -4
- package/dist-lib/types/schema.d.ts +6 -0
- package/dist-lib/{useCurrentScreen-BdnZq8vZ.js → useCurrentScreen-DVTXCj_K.js} +350 -346
- package/dist-lib/{useListQuery-BxgrPZIB.js → useListQuery-C2nq58YV.js} +2 -2
- package/dist-lib/{useProperties-Bhi9Wn5O.js → useProperties-BcIz-MyO.js} +1 -1
- package/dist-lib/{useTabSearchMirror-Dl5x0xKu.js → useTabSearchMirror-UYCsopxP.js} +2 -2
- package/dist-lib/{value-Rp-5W3o8.js → value-CQzGOI0F.js} +1 -1
- package/package.json +9 -9
package/dist-lib/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { a as e, r as t, s as n, t as r } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { $ as i, $n as a, Ar as o, At as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, Er as h, F as g, Fn as _, Fr as v, Gt as y, Hn as b, Ht as x, In as S, Ir as C, Jn as w, Ln as T, Lt as E, M as D, Mn as O, Mr as k, Mt as A, N as ee, Nn as te, Nr as j, Nt as M, O as N, On as ne, Or as re, Ot as ie, P as ae, Pn as oe, Pr as P, Pt as se, Qn as ce, Qt as F, Rn as le, Rt as ue, S as de, Sn as fe, Sr as pe, St as me, T as he, Tr as ge, U as _e, Un as ve, Vn as ye, Vt as be, Wt as xe, Xn as Se, Y as Ce, Yt as we, Zn as I, Zt as Te, _ as Ee, _n as De, _r as Oe, _t as ke, an as L, at as Ae, b as je, bn as Me, br as Ne, bt as Pe, cn as Fe, ct as Ie, dn as Le, dr as Re, dt as ze, en as Be, er as Ve, et as He, fn as Ue, fr as R, ft as We, gn as Ge, gr as Ke, hn as qe, hr as Je, i as Ye, in as Xe, j as Ze, jn as Qe, jr as $e, jt as et, kn as tt, kr as nt, kt as rt, l as it, ln as at, lr as ot, lt as st, mn as ct, mr as lt, n as ut, nt as dt, o as ft, on as z, ot as pt, pn as mt, pr as ht, qn as gt, qt as _t, r as vt, rr as yt, rt as bt, sn as xt, st as St, t as Ct, tr as wt, tt as Tt, un as Et, ur as Dt, ut as Ot, v as kt, vn as At, vr as jt, vt as Mt, w as Nt, wn as Pt, wr as B, x as Ft, xn as It, xr as V, xt as Lt, y as Rt, yr as zt, yt as Bt, zt as Vt } from "./useCurrentScreen-
|
|
3
|
-
import { _ as Ht, a as Ut, c as Wt, d as Gt, f as Kt, g as qt, h as Jt, i as Yt, l as Xt, m as Zt, n as Qt, o as $t, p as en, r as tn, s as nn, t as rn, u as an } from "./RefreshControl-
|
|
4
|
-
import { a as on, d as sn, f as cn, i as ln, n as un, o as dn, r as fn, s as pn, t as mn, u as hn } from "./registry-
|
|
2
|
+
import { $ as i, $n as a, Ar as o, At as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, Er as h, F as g, Fn as _, Fr as v, Gt as y, Hn as b, Ht as x, In as S, Ir as C, Jn as w, Ln as T, Lt as E, M as D, Mn as O, Mr as k, Mt as A, N as ee, Nn as te, Nr as j, Nt as M, O as N, On as ne, Or as re, Ot as ie, P as ae, Pn as oe, Pr as P, Pt as se, Qn as ce, Qt as F, Rn as le, Rt as ue, S as de, Sn as fe, Sr as pe, St as me, T as he, Tr as ge, U as _e, Un as ve, Vn as ye, Vt as be, Wt as xe, Xn as Se, Y as Ce, Yt as we, Zn as I, Zt as Te, _ as Ee, _n as De, _r as Oe, _t as ke, an as L, at as Ae, b as je, bn as Me, br as Ne, bt as Pe, cn as Fe, ct as Ie, dn as Le, dr as Re, dt as ze, en as Be, er as Ve, et as He, fn as Ue, fr as R, ft as We, gn as Ge, gr as Ke, hn as qe, hr as Je, i as Ye, in as Xe, j as Ze, jn as Qe, jr as $e, jt as et, kn as tt, kr as nt, kt as rt, l as it, ln as at, lr as ot, lt as st, mn as ct, mr as lt, n as ut, nt as dt, o as ft, on as z, ot as pt, pn as mt, pr as ht, qn as gt, qt as _t, r as vt, rr as yt, rt as bt, sn as xt, st as St, t as Ct, tr as wt, tt as Tt, un as Et, ur as Dt, ut as Ot, v as kt, vn as At, vr as jt, vt as Mt, w as Nt, wn as Pt, wr as B, x as Ft, xn as It, xr as V, xt as Lt, y as Rt, yr as zt, yt as Bt, zt as Vt } from "./useCurrentScreen-DVTXCj_K.js";
|
|
3
|
+
import { _ as Ht, a as Ut, c as Wt, d as Gt, f as Kt, g as qt, h as Jt, i as Yt, l as Xt, m as Zt, n as Qt, o as $t, p as en, r as tn, s as nn, t as rn, u as an } from "./RefreshControl-DMLkZP3R.js";
|
|
4
|
+
import { a as on, d as sn, f as cn, i as ln, n as un, o as dn, r as fn, s as pn, t as mn, u as hn } from "./registry-D0RhCnEL.js";
|
|
5
5
|
import { t as gn } from "./RecordIdBadge-CGxPR-8q.js";
|
|
6
6
|
import { t as _n } from "./Check-DAfMbQIw.js";
|
|
7
|
-
import { A as vn, B as yn, D as bn, E as xn, F as Sn, I as Cn, L as wn, M as H, N as Tn, O as En, P as U, R as Dn, S as On, T as W, _ as kn, a as An, b as jn, d as Mn, g as Nn, h as Pn, i as Fn, j as In, k as Ln, l as Rn, m as zn, n as Bn, o as Vn, p as Hn, r as Un, s as Wn, t as Gn, u as Kn, v as qn, w as Jn, z as Yn } from "./field-classification-
|
|
8
|
-
import { C as Xn, S as Zn, _ as Qn, a as $n, b as er, c as tr, g as nr, i as rr, n as ir, o as ar, r as or, s as sr, t as cr, v as lr, x as ur, y as dr } from "./action-dispatch-
|
|
9
|
-
import { a as fr, c as pr, d as mr, f as hr, i as gr, l as _r, m as vr, n as yr, o as br, p as xr, r as Sr, s as Cr, t as wr, u as Tr } from "./format-count-
|
|
10
|
-
import { n as Er, r as Dr, t as Or } from "./useProperties-
|
|
11
|
-
import { a as kr, d as Ar, f as jr, h as Mr, o as Nr, p as Pr, r as Fr, s as Ir, t as Lr } from "./useTabSearchMirror-
|
|
7
|
+
import { A as vn, B as yn, D as bn, E as xn, F as Sn, I as Cn, L as wn, M as H, N as Tn, O as En, P as U, R as Dn, S as On, T as W, _ as kn, a as An, b as jn, d as Mn, g as Nn, h as Pn, i as Fn, j as In, k as Ln, l as Rn, m as zn, n as Bn, o as Vn, p as Hn, r as Un, s as Wn, t as Gn, u as Kn, v as qn, w as Jn, z as Yn } from "./field-classification-sMkkAEg9.js";
|
|
8
|
+
import { C as Xn, S as Zn, _ as Qn, a as $n, b as er, c as tr, g as nr, i as rr, n as ir, o as ar, r as or, s as sr, t as cr, v as lr, x as ur, y as dr } from "./action-dispatch-DsuUS7ae.js";
|
|
9
|
+
import { a as fr, c as pr, d as mr, f as hr, i as gr, l as _r, m as vr, n as yr, o as br, p as xr, r as Sr, s as Cr, t as wr, u as Tr } from "./format-count-B5SLlNOb.js";
|
|
10
|
+
import { n as Er, r as Dr, t as Or } from "./useProperties-BcIz-MyO.js";
|
|
11
|
+
import { a as kr, d as Ar, f as jr, h as Mr, o as Nr, p as Pr, r as Fr, s as Ir, t as Lr } from "./useTabSearchMirror-UYCsopxP.js";
|
|
12
12
|
import { Fragment as Rr, Suspense as zr, createElement as Br, lazy as Vr, useCallback as G, useEffect as K, useMemo as q, useRef as J, useState as Y } from "react";
|
|
13
13
|
import { BrowserRouter as Hr, Link as Ur, Navigate as Wr, Outlet as Gr, Route as X, Routes as Kr, useLocation as qr, useLocation as Jr, useNavigate as Yr, useNavigate as Xr, useNavigationType as Zr, useParams as Qr, useSearchParams as $r, useSearchParams as ei } from "react-router";
|
|
14
14
|
import { QueryClient as ti, QueryClientProvider as ni, useMutation as ri, useQuery as ii, useQueryClient as ai } from "@tanstack/react-query";
|
|
@@ -6811,12 +6811,12 @@ function Cs({ type: e, value: t, structure: n }) {
|
|
|
6811
6811
|
});
|
|
6812
6812
|
}
|
|
6813
6813
|
function ws({ param: e, current: t, error: r, onCancel: i, onSave: a }) {
|
|
6814
|
-
let [o, s] = Y(() =>
|
|
6814
|
+
let [o, s] = Y(() => Ds(e, t)), [c, l] = Y(!1), [d, f] = Y(null);
|
|
6815
6815
|
async function p() {
|
|
6816
6816
|
f(null);
|
|
6817
6817
|
let t;
|
|
6818
6818
|
try {
|
|
6819
|
-
t =
|
|
6819
|
+
t = Os(e, o);
|
|
6820
6820
|
} catch (e) {
|
|
6821
6821
|
f(e instanceof Error ? e.message : "Invalid value.");
|
|
6822
6822
|
return;
|
|
@@ -6919,19 +6919,11 @@ function Ts({ param: e, value: t, onChange: n }) {
|
|
|
6919
6919
|
value: t === !0,
|
|
6920
6920
|
onChange: n
|
|
6921
6921
|
});
|
|
6922
|
-
if (e.type
|
|
6923
|
-
value: typeof t == "string" ? t : "",
|
|
6924
|
-
options: e.choices.map((e) => ({
|
|
6925
|
-
value: e,
|
|
6926
|
-
label: e
|
|
6927
|
-
})),
|
|
6928
|
-
onChange: (e) => n(e),
|
|
6929
|
-
placeholder: "Select…"
|
|
6930
|
-
});
|
|
6931
|
-
if (e.type === "structure") {
|
|
6922
|
+
if (Es.has(e.type)) {
|
|
6932
6923
|
let i = {
|
|
6933
|
-
type:
|
|
6934
|
-
structure: e.structure
|
|
6924
|
+
type: e.type,
|
|
6925
|
+
structure: e.structure,
|
|
6926
|
+
values: e.values
|
|
6935
6927
|
};
|
|
6936
6928
|
return /* @__PURE__ */ Q(Z, { children: bt({
|
|
6937
6929
|
field: i,
|
|
@@ -6963,10 +6955,15 @@ function Ts({ param: e, value: t, onChange: n }) {
|
|
|
6963
6955
|
onChange: n
|
|
6964
6956
|
});
|
|
6965
6957
|
}
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6958
|
+
var Es = /* @__PURE__ */ new Set([
|
|
6959
|
+
"structure",
|
|
6960
|
+
"enum",
|
|
6961
|
+
"string_array"
|
|
6962
|
+
]);
|
|
6969
6963
|
function Ds(e, t) {
|
|
6964
|
+
return e.type === "bool" ? t === !0 : e.type === "structure" ? t ?? {} : e.type === "string_array" ? t ?? [] : e.type === "enum" || e.type === "decimal" ? t ?? "" : e.type === "json" ? t == null ? "" : typeof t == "string" ? t : JSON.stringify(t, null, 2) : ot(t);
|
|
6965
|
+
}
|
|
6966
|
+
function Os(e, t) {
|
|
6970
6967
|
switch (e.type) {
|
|
6971
6968
|
case "bool": return t === !0;
|
|
6972
6969
|
case "int": {
|
|
@@ -6989,27 +6986,31 @@ function Ds(e, t) {
|
|
|
6989
6986
|
}
|
|
6990
6987
|
}
|
|
6991
6988
|
case "structure": return t ?? {};
|
|
6989
|
+
case "string_array": return t ?? [];
|
|
6992
6990
|
default: return t;
|
|
6993
6991
|
}
|
|
6994
6992
|
}
|
|
6995
|
-
var
|
|
6993
|
+
var ks = /* @__PURE__ */ new Set([
|
|
6996
6994
|
"server",
|
|
6997
6995
|
"database",
|
|
6998
6996
|
"auth",
|
|
6999
6997
|
"sso",
|
|
7000
6998
|
"seeder"
|
|
7001
6999
|
]);
|
|
7002
|
-
function
|
|
7000
|
+
function As(e) {
|
|
7003
7001
|
let t = e.scopes ?? [];
|
|
7004
|
-
return t.length === 0 ? !
|
|
7002
|
+
return t.length === 0 ? !ks.has(e.category ?? "") : t.includes("tenant");
|
|
7005
7003
|
}
|
|
7006
7004
|
//#endregion
|
|
7007
7005
|
//#region src/components/params/ParamsBlock.tsx
|
|
7008
|
-
function
|
|
7006
|
+
function js(e) {
|
|
7007
|
+
return e === "tenant" || e === "role" || e === "user" ? e : "object";
|
|
7008
|
+
}
|
|
7009
|
+
function Ms(e, t) {
|
|
7009
7010
|
return e ? e.filter((e) => e.scopes?.includes(t)) : [];
|
|
7010
7011
|
}
|
|
7011
|
-
function
|
|
7012
|
-
let o = Sn(), s = q(() =>
|
|
7012
|
+
function Ns({ carrierEntityCode: e, carrierScope: t, rowId: r, title: i = "Parameters", icon: a }) {
|
|
7013
|
+
let o = Sn(), s = q(() => Ms(o.data, t), [o.data, t]), [c, l] = Y(null), { overrideByCode: d, missingParams: f, isLoading: p, error: m, clearError: h, save: g, reset: _ } = Cn({
|
|
7013
7014
|
carrierEntityCode: e,
|
|
7014
7015
|
rowId: r,
|
|
7015
7016
|
enabled: s.length > 0,
|
|
@@ -7028,7 +7029,7 @@ function js({ carrierEntityCode: e, carrierScope: t, rowId: r, title: i = "Param
|
|
|
7028
7029
|
gap: 10
|
|
7029
7030
|
},
|
|
7030
7031
|
children: [m && !c && /* @__PURE__ */ Q(Ss, { text: m }), s.map((e) => {
|
|
7031
|
-
let
|
|
7032
|
+
let r = d.get(e.code), i = r !== void 0, a = i && e.source === js(t);
|
|
7032
7033
|
return /* @__PURE__ */ $("div", {
|
|
7033
7034
|
"data-testid": `param-row-${e.code}`,
|
|
7034
7035
|
style: {
|
|
@@ -7059,14 +7060,23 @@ function js({ carrierEntityCode: e, carrierScope: t, rowId: r, title: i = "Param
|
|
|
7059
7060
|
}),
|
|
7060
7061
|
/* @__PURE__ */ Q(Cs, {
|
|
7061
7062
|
type: e.type,
|
|
7062
|
-
value:
|
|
7063
|
+
value: e.value,
|
|
7063
7064
|
structure: e.structure
|
|
7064
7065
|
}),
|
|
7065
|
-
|
|
7066
|
+
a && /* @__PURE__ */ Q(P, {
|
|
7066
7067
|
tone: "violet",
|
|
7067
7068
|
size: "xs",
|
|
7068
7069
|
children: "overridden"
|
|
7069
7070
|
}),
|
|
7071
|
+
i && !a && /* @__PURE__ */ Q("span", {
|
|
7072
|
+
"data-testid": `param-not-applied-${e.code}`,
|
|
7073
|
+
title: `You set ${JSON.stringify(r.value)}, and it no longer satisfies this parameter's declaration. The value in effect comes from ${e.source}. Reset to remove what you set, or edit it to a value the declaration accepts.`,
|
|
7074
|
+
children: /* @__PURE__ */ Q(P, {
|
|
7075
|
+
tone: "amber",
|
|
7076
|
+
size: "xs",
|
|
7077
|
+
children: "not applied"
|
|
7078
|
+
})
|
|
7079
|
+
}),
|
|
7070
7080
|
/* @__PURE__ */ Q(C, {
|
|
7071
7081
|
size: "xs",
|
|
7072
7082
|
icon: /* @__PURE__ */ Q(n.edit, { size: 12 }),
|
|
@@ -7075,7 +7085,7 @@ function js({ carrierEntityCode: e, carrierScope: t, rowId: r, title: i = "Param
|
|
|
7075
7085
|
},
|
|
7076
7086
|
children: "Edit"
|
|
7077
7087
|
}),
|
|
7078
|
-
|
|
7088
|
+
i && /* @__PURE__ */ Q(v, {
|
|
7079
7089
|
icon: /* @__PURE__ */ Q(n.refresh, { size: 13 }),
|
|
7080
7090
|
title: "Reset to default",
|
|
7081
7091
|
onClick: () => _(e)
|
|
@@ -7096,12 +7106,12 @@ function js({ carrierEntityCode: e, carrierScope: t, rowId: r, title: i = "Param
|
|
|
7096
7106
|
}
|
|
7097
7107
|
//#endregion
|
|
7098
7108
|
//#region src/components/pages/profile/Profile.tsx
|
|
7099
|
-
var
|
|
7109
|
+
var Ps = [
|
|
7100
7110
|
"image/png",
|
|
7101
7111
|
"image/jpeg",
|
|
7102
7112
|
"image/webp"
|
|
7103
|
-
],
|
|
7104
|
-
function
|
|
7113
|
+
], Fs = 5242880;
|
|
7114
|
+
function Is() {
|
|
7105
7115
|
let e = En(), t = z((e) => e.user), r = z((e) => e.activeTenant), i = z((e) => e.refreshMe), a = p().isPhone, [s, c] = Y(!1), [l, d] = Y(!1), [f, m] = Y(!1), [h, g] = Y({
|
|
7106
7116
|
email: !0,
|
|
7107
7117
|
inapp: !0,
|
|
@@ -7118,7 +7128,7 @@ function Ps() {
|
|
|
7118
7128
|
let n = e.target.files?.[0];
|
|
7119
7129
|
if (!n || !t) return;
|
|
7120
7130
|
e.target.value = "";
|
|
7121
|
-
let r = We(n,
|
|
7131
|
+
let r = We(n, Ps, Fs);
|
|
7122
7132
|
if (r) {
|
|
7123
7133
|
A.error(r.message);
|
|
7124
7134
|
return;
|
|
@@ -7222,7 +7232,7 @@ function Ps() {
|
|
|
7222
7232
|
/* @__PURE__ */ Q("input", {
|
|
7223
7233
|
ref: _,
|
|
7224
7234
|
type: "file",
|
|
7225
|
-
accept:
|
|
7235
|
+
accept: Ps.join(","),
|
|
7226
7236
|
style: { display: "none" },
|
|
7227
7237
|
onChange: ee
|
|
7228
7238
|
}),
|
|
@@ -7342,7 +7352,7 @@ function Ps() {
|
|
|
7342
7352
|
}),
|
|
7343
7353
|
/* @__PURE__ */ Q(ui, {
|
|
7344
7354
|
label: "Timezone",
|
|
7345
|
-
children:
|
|
7355
|
+
children: zs()
|
|
7346
7356
|
}),
|
|
7347
7357
|
/* @__PURE__ */ Q(ui, {
|
|
7348
7358
|
label: "Language",
|
|
@@ -7368,7 +7378,7 @@ function Ps() {
|
|
|
7368
7378
|
gap: 10
|
|
7369
7379
|
},
|
|
7370
7380
|
children: [
|
|
7371
|
-
/* @__PURE__ */ Q(
|
|
7381
|
+
/* @__PURE__ */ Q(Rs, {
|
|
7372
7382
|
icon: /* @__PURE__ */ Q(n.key, { size: 13 }),
|
|
7373
7383
|
label: "Password",
|
|
7374
7384
|
hint: "Update at any time",
|
|
@@ -7378,7 +7388,7 @@ function Ps() {
|
|
|
7378
7388
|
children: "Change"
|
|
7379
7389
|
})
|
|
7380
7390
|
}),
|
|
7381
|
-
/* @__PURE__ */ Q(
|
|
7391
|
+
/* @__PURE__ */ Q(Rs, {
|
|
7382
7392
|
icon: /* @__PURE__ */ Q(n.shield, { size: 13 }),
|
|
7383
7393
|
label: "Two-factor authentication",
|
|
7384
7394
|
hint: "Authenticator app recommended",
|
|
@@ -7388,7 +7398,7 @@ function Ps() {
|
|
|
7388
7398
|
children: "Not set up"
|
|
7389
7399
|
})
|
|
7390
7400
|
}),
|
|
7391
|
-
/* @__PURE__ */ Q(
|
|
7401
|
+
/* @__PURE__ */ Q(Rs, {
|
|
7392
7402
|
icon: /* @__PURE__ */ Q(n.device, { size: 13 }),
|
|
7393
7403
|
label: "Trusted devices",
|
|
7394
7404
|
hint: "Sign-in sessions by device",
|
|
@@ -7398,7 +7408,7 @@ function Ps() {
|
|
|
7398
7408
|
children: "Manage"
|
|
7399
7409
|
})
|
|
7400
7410
|
}),
|
|
7401
|
-
/* @__PURE__ */ Q(
|
|
7411
|
+
/* @__PURE__ */ Q(Rs, {
|
|
7402
7412
|
icon: /* @__PURE__ */ Q(n.activity, { size: 13 }),
|
|
7403
7413
|
label: "Sign-in history",
|
|
7404
7414
|
hint: "Audit trail of recent logins",
|
|
@@ -7528,8 +7538,8 @@ function Ps() {
|
|
|
7528
7538
|
})
|
|
7529
7539
|
]
|
|
7530
7540
|
}),
|
|
7531
|
-
/* @__PURE__ */ Q(
|
|
7532
|
-
t?.id && /* @__PURE__ */ Q(
|
|
7541
|
+
/* @__PURE__ */ Q(Vs, { userId: t?.id }),
|
|
7542
|
+
t?.id && /* @__PURE__ */ Q(Bs, { userId: t.id }),
|
|
7533
7543
|
t && /* @__PURE__ */ $("div", {
|
|
7534
7544
|
style: {
|
|
7535
7545
|
fontSize: 11,
|
|
@@ -7553,7 +7563,7 @@ function Ps() {
|
|
|
7553
7563
|
})
|
|
7554
7564
|
]
|
|
7555
7565
|
}),
|
|
7556
|
-
/* @__PURE__ */ Q(
|
|
7566
|
+
/* @__PURE__ */ Q(Ls, {
|
|
7557
7567
|
open: l,
|
|
7558
7568
|
initialName: t?.display_name ?? "",
|
|
7559
7569
|
userId: t?.id ?? "",
|
|
@@ -7572,7 +7582,7 @@ function Ps() {
|
|
|
7572
7582
|
]
|
|
7573
7583
|
});
|
|
7574
7584
|
}
|
|
7575
|
-
function
|
|
7585
|
+
function Ls({ open: e, initialName: t, userId: r, onClose: i, onSaved: a }) {
|
|
7576
7586
|
let o = p().isPhone, [s, c] = Y(t), [l, d] = Y(!1), [f, m] = Y(null);
|
|
7577
7587
|
if (!e) return null;
|
|
7578
7588
|
let h = () => {
|
|
@@ -7718,7 +7728,7 @@ function Fs({ open: e, initialName: t, userId: r, onClose: i, onSaved: a }) {
|
|
|
7718
7728
|
]
|
|
7719
7729
|
})] });
|
|
7720
7730
|
}
|
|
7721
|
-
function
|
|
7731
|
+
function Rs({ icon: e, label: t, hint: n, action: r }) {
|
|
7722
7732
|
return /* @__PURE__ */ $("div", {
|
|
7723
7733
|
style: {
|
|
7724
7734
|
display: "flex",
|
|
@@ -7764,22 +7774,22 @@ function Is({ icon: e, label: t, hint: n, action: r }) {
|
|
|
7764
7774
|
]
|
|
7765
7775
|
});
|
|
7766
7776
|
}
|
|
7767
|
-
function
|
|
7777
|
+
function zs() {
|
|
7768
7778
|
try {
|
|
7769
7779
|
return Intl.DateTimeFormat().resolvedOptions().timeZone || "—";
|
|
7770
7780
|
} catch {
|
|
7771
7781
|
return "—";
|
|
7772
7782
|
}
|
|
7773
7783
|
}
|
|
7774
|
-
function
|
|
7784
|
+
function Bs({ userId: e }) {
|
|
7775
7785
|
let { data: t } = L(), n = t?.entities.profile?.params_scope ?? "profile";
|
|
7776
|
-
return /* @__PURE__ */ Q(
|
|
7786
|
+
return /* @__PURE__ */ Q(Ns, {
|
|
7777
7787
|
carrierEntityCode: "profile",
|
|
7778
7788
|
carrierScope: n,
|
|
7779
7789
|
rowId: e
|
|
7780
7790
|
});
|
|
7781
7791
|
}
|
|
7782
|
-
function
|
|
7792
|
+
function Vs({ userId: e }) {
|
|
7783
7793
|
let { data: t } = L();
|
|
7784
7794
|
if (!e || !t) return null;
|
|
7785
7795
|
let n = t.entities.profile;
|
|
@@ -7798,13 +7808,13 @@ function zs({ userId: e }) {
|
|
|
7798
7808
|
}
|
|
7799
7809
|
//#endregion
|
|
7800
7810
|
//#region src/components/pages/tenant-params/TenantParamsPage.tsx
|
|
7801
|
-
var
|
|
7802
|
-
function
|
|
7811
|
+
var Hs = "my_tenant";
|
|
7812
|
+
function Us(e) {
|
|
7803
7813
|
return e === "tenant" ? "violet" : e === "env" ? "amber" : "slate";
|
|
7804
7814
|
}
|
|
7805
|
-
function
|
|
7815
|
+
function Ws(e) {
|
|
7806
7816
|
let t = z((e) => e.activeTenant?.id) ?? "", r = Sn("tenant"), [i, a] = Y(""), [o, s] = Y(""), [c, l] = Y(""), [d, f] = Y(!1), [p, m] = Y(null), { overrideByCode: h, missingParams: g, isLoading: _, error: y, clearError: b, save: x, reset: S } = Cn({
|
|
7807
|
-
carrierEntityCode:
|
|
7817
|
+
carrierEntityCode: Hs,
|
|
7808
7818
|
rowId: t,
|
|
7809
7819
|
onWritten: () => m(null)
|
|
7810
7820
|
}), w = q(() => r.data ?? [], [r.data]), T = q(() => Array.from(new Set(w.map((e) => e.category).filter(Boolean))).sort(), [w]), E = q(() => {
|
|
@@ -7958,13 +7968,13 @@ function Hs(e) {
|
|
|
7958
7968
|
textAlign: "left"
|
|
7959
7969
|
},
|
|
7960
7970
|
children: [
|
|
7961
|
-
/* @__PURE__ */ Q(
|
|
7962
|
-
/* @__PURE__ */ Q(
|
|
7963
|
-
/* @__PURE__ */ Q(
|
|
7964
|
-
/* @__PURE__ */ Q(
|
|
7965
|
-
/* @__PURE__ */ Q(
|
|
7966
|
-
/* @__PURE__ */ Q(
|
|
7967
|
-
/* @__PURE__ */ Q(
|
|
7971
|
+
/* @__PURE__ */ Q(Gs, { children: "Name" }),
|
|
7972
|
+
/* @__PURE__ */ Q(Gs, { children: "Code" }),
|
|
7973
|
+
/* @__PURE__ */ Q(Gs, { children: "Category" }),
|
|
7974
|
+
/* @__PURE__ */ Q(Gs, { children: "Type" }),
|
|
7975
|
+
/* @__PURE__ */ Q(Gs, { children: "Value" }),
|
|
7976
|
+
/* @__PURE__ */ Q(Gs, { children: "Source" }),
|
|
7977
|
+
/* @__PURE__ */ Q(Gs, { children: "" })
|
|
7968
7978
|
]
|
|
7969
7979
|
}) }), /* @__PURE__ */ Q("tbody", { children: E.length === 0 ? /* @__PURE__ */ Q("tr", { children: /* @__PURE__ */ Q("td", {
|
|
7970
7980
|
colSpan: 7,
|
|
@@ -7975,42 +7985,55 @@ function Hs(e) {
|
|
|
7975
7985
|
},
|
|
7976
7986
|
children: "No parameters match."
|
|
7977
7987
|
}) }) : E.map((e) => {
|
|
7978
|
-
let t = h.get(e.code), r = t !== void 0, i =
|
|
7988
|
+
let t = h.get(e.code), r = t !== void 0, i = As(e), a = r && e.source === "tenant";
|
|
7979
7989
|
return /* @__PURE__ */ $("tr", {
|
|
7980
7990
|
"data-testid": `tenant-param-row-${e.code}`,
|
|
7981
7991
|
style: { borderTop: "1px solid var(--divider)" },
|
|
7982
7992
|
children: [
|
|
7983
|
-
/* @__PURE__ */ Q(
|
|
7984
|
-
/* @__PURE__ */ Q(
|
|
7993
|
+
/* @__PURE__ */ Q(Ks, { children: I(e.name) || e.code }),
|
|
7994
|
+
/* @__PURE__ */ Q(Ks, { children: /* @__PURE__ */ Q("span", {
|
|
7985
7995
|
className: "mono",
|
|
7986
7996
|
style: { color: "var(--text-3)" },
|
|
7987
7997
|
children: e.code
|
|
7988
7998
|
}) }),
|
|
7989
|
-
/* @__PURE__ */ Q(
|
|
7990
|
-
/* @__PURE__ */ Q(
|
|
7991
|
-
/* @__PURE__ */ Q(
|
|
7999
|
+
/* @__PURE__ */ Q(Ks, { children: e.category ?? "—" }),
|
|
8000
|
+
/* @__PURE__ */ Q(Ks, { children: e.type }),
|
|
8001
|
+
/* @__PURE__ */ Q(Ks, { children: /* @__PURE__ */ Q(Cs, {
|
|
7992
8002
|
type: e.type,
|
|
7993
|
-
value:
|
|
8003
|
+
value: e.value,
|
|
7994
8004
|
structure: e.structure
|
|
7995
8005
|
}) }),
|
|
7996
|
-
/* @__PURE__ */ Q(
|
|
8006
|
+
/* @__PURE__ */ Q(Ks, { children: /* @__PURE__ */ $("span", {
|
|
7997
8007
|
style: {
|
|
7998
8008
|
display: "inline-flex",
|
|
7999
8009
|
gap: 6,
|
|
8000
8010
|
alignItems: "center"
|
|
8001
8011
|
},
|
|
8002
|
-
children: [
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
+
children: [
|
|
8013
|
+
/* @__PURE__ */ Q(P, {
|
|
8014
|
+
tone: Us(e.source),
|
|
8015
|
+
size: "xs",
|
|
8016
|
+
children: e.source
|
|
8017
|
+
}),
|
|
8018
|
+
a && /* @__PURE__ */ Q(P, {
|
|
8019
|
+
tone: "violet",
|
|
8020
|
+
size: "xs",
|
|
8021
|
+
dot: !0,
|
|
8022
|
+
children: "overridden"
|
|
8023
|
+
}),
|
|
8024
|
+
r && !a && /* @__PURE__ */ Q("span", {
|
|
8025
|
+
"data-testid": `tenant-param-not-applied-${e.code}`,
|
|
8026
|
+
title: `This tenant is set to ${JSON.stringify(t.value)}, and it no longer satisfies the parameter's declaration. The value in effect comes from ${e.source}. Reset to remove it, or edit it to a value the declaration accepts.`,
|
|
8027
|
+
children: /* @__PURE__ */ Q(P, {
|
|
8028
|
+
tone: "amber",
|
|
8029
|
+
size: "xs",
|
|
8030
|
+
dot: !0,
|
|
8031
|
+
children: "not applied"
|
|
8032
|
+
})
|
|
8033
|
+
})
|
|
8034
|
+
]
|
|
8012
8035
|
}) }),
|
|
8013
|
-
/* @__PURE__ */ Q(
|
|
8036
|
+
/* @__PURE__ */ Q(Ks, { children: /* @__PURE__ */ Q("span", {
|
|
8014
8037
|
style: {
|
|
8015
8038
|
display: "inline-flex",
|
|
8016
8039
|
gap: 6,
|
|
@@ -8057,7 +8080,7 @@ function Hs(e) {
|
|
|
8057
8080
|
})]
|
|
8058
8081
|
});
|
|
8059
8082
|
}
|
|
8060
|
-
function
|
|
8083
|
+
function Gs({ children: e }) {
|
|
8061
8084
|
return /* @__PURE__ */ Q("th", {
|
|
8062
8085
|
style: {
|
|
8063
8086
|
padding: "8px 12px",
|
|
@@ -8068,7 +8091,7 @@ function Us({ children: e }) {
|
|
|
8068
8091
|
children: e
|
|
8069
8092
|
});
|
|
8070
8093
|
}
|
|
8071
|
-
function
|
|
8094
|
+
function Ks({ children: e }) {
|
|
8072
8095
|
return /* @__PURE__ */ Q("td", {
|
|
8073
8096
|
style: {
|
|
8074
8097
|
padding: "8px 12px",
|
|
@@ -8079,7 +8102,7 @@ function Ws({ children: e }) {
|
|
|
8079
8102
|
}
|
|
8080
8103
|
//#endregion
|
|
8081
8104
|
//#region src/components/pages/profile/Preferences.tsx
|
|
8082
|
-
var
|
|
8105
|
+
var qs = [
|
|
8083
8106
|
{
|
|
8084
8107
|
id: "violet",
|
|
8085
8108
|
c: "#5B5BD6"
|
|
@@ -8100,11 +8123,11 @@ var Gs = [
|
|
|
8100
8123
|
id: "rose",
|
|
8101
8124
|
c: "#BE123C"
|
|
8102
8125
|
}
|
|
8103
|
-
],
|
|
8126
|
+
], Js = [
|
|
8104
8127
|
"compact",
|
|
8105
8128
|
"comfortable",
|
|
8106
8129
|
"cozy"
|
|
8107
|
-
],
|
|
8130
|
+
], Ys = [
|
|
8108
8131
|
["Command palette", "⌘ K"],
|
|
8109
8132
|
["Toggle AI assistant", "⌘ /"],
|
|
8110
8133
|
["Collapse sidebar", "⌘ B"],
|
|
@@ -8112,7 +8135,7 @@ var Gs = [
|
|
|
8112
8135
|
["Quick search", "/"],
|
|
8113
8136
|
["Escape / close", "Esc"]
|
|
8114
8137
|
];
|
|
8115
|
-
function
|
|
8138
|
+
function Xs() {
|
|
8116
8139
|
let e = U((e) => e.colorScheme), t = U((e) => e.accent), r = U((e) => e.density), i = U((e) => e.radius), a = U((e) => e.zebra), o = U((e) => e.set), s = U((e) => e.resetToDefaults), { branding: c } = an(), l = p().isPhone;
|
|
8117
8140
|
return /* @__PURE__ */ Q("div", {
|
|
8118
8141
|
style: {
|
|
@@ -8180,7 +8203,7 @@ function Js() {
|
|
|
8180
8203
|
gap: 12
|
|
8181
8204
|
},
|
|
8182
8205
|
children: [
|
|
8183
|
-
/* @__PURE__ */ Q(
|
|
8206
|
+
/* @__PURE__ */ Q(Zs, {
|
|
8184
8207
|
label: "Theme",
|
|
8185
8208
|
hint: "Pick light or dark (system sync coming soon)",
|
|
8186
8209
|
children: /* @__PURE__ */ Q("div", {
|
|
@@ -8188,14 +8211,14 @@ function Js() {
|
|
|
8188
8211
|
display: "flex",
|
|
8189
8212
|
gap: 6
|
|
8190
8213
|
},
|
|
8191
|
-
children: [["light", "Light"], ["dark", "Dark"]].map(([t, n]) => /* @__PURE__ */ Q(
|
|
8214
|
+
children: [["light", "Light"], ["dark", "Dark"]].map(([t, n]) => /* @__PURE__ */ Q(Qs, {
|
|
8192
8215
|
active: e === t,
|
|
8193
8216
|
onClick: () => o("colorScheme", t),
|
|
8194
8217
|
children: n
|
|
8195
8218
|
}, t))
|
|
8196
8219
|
})
|
|
8197
8220
|
}),
|
|
8198
|
-
/* @__PURE__ */ Q(
|
|
8221
|
+
/* @__PURE__ */ Q(Zs, {
|
|
8199
8222
|
label: "Accent color",
|
|
8200
8223
|
hint: "Your personal accent across the app",
|
|
8201
8224
|
children: /* @__PURE__ */ Q("div", {
|
|
@@ -8203,7 +8226,7 @@ function Js() {
|
|
|
8203
8226
|
display: "flex",
|
|
8204
8227
|
gap: 8
|
|
8205
8228
|
},
|
|
8206
|
-
children:
|
|
8229
|
+
children: qs.map((e) => /* @__PURE__ */ Q("button", {
|
|
8207
8230
|
onClick: () => o("accent", e.id),
|
|
8208
8231
|
"aria-label": `Accent ${e.id}`,
|
|
8209
8232
|
style: {
|
|
@@ -8217,7 +8240,7 @@ function Js() {
|
|
|
8217
8240
|
}, e.id))
|
|
8218
8241
|
})
|
|
8219
8242
|
}),
|
|
8220
|
-
/* @__PURE__ */ Q(
|
|
8243
|
+
/* @__PURE__ */ Q(Zs, {
|
|
8221
8244
|
label: "Density",
|
|
8222
8245
|
hint: "Compact saves space; cozy is easier on the eyes",
|
|
8223
8246
|
children: /* @__PURE__ */ Q("div", {
|
|
@@ -8225,7 +8248,7 @@ function Js() {
|
|
|
8225
8248
|
display: "flex",
|
|
8226
8249
|
gap: 6
|
|
8227
8250
|
},
|
|
8228
|
-
children:
|
|
8251
|
+
children: Js.map((e) => /* @__PURE__ */ Q(Qs, {
|
|
8229
8252
|
active: r === e,
|
|
8230
8253
|
onClick: () => o("density", e),
|
|
8231
8254
|
capitalize: !0,
|
|
@@ -8233,7 +8256,7 @@ function Js() {
|
|
|
8233
8256
|
}, e))
|
|
8234
8257
|
})
|
|
8235
8258
|
}),
|
|
8236
|
-
/* @__PURE__ */ $(
|
|
8259
|
+
/* @__PURE__ */ $(Zs, {
|
|
8237
8260
|
label: "Border radius",
|
|
8238
8261
|
children: [/* @__PURE__ */ Q("input", {
|
|
8239
8262
|
type: "range",
|
|
@@ -8252,7 +8275,7 @@ function Js() {
|
|
|
8252
8275
|
children: [i, "px"]
|
|
8253
8276
|
})]
|
|
8254
8277
|
}),
|
|
8255
|
-
/* @__PURE__ */ Q(
|
|
8278
|
+
/* @__PURE__ */ Q(Zs, {
|
|
8256
8279
|
label: "Zebra rows",
|
|
8257
8280
|
hint: "Alternating row backgrounds on tables",
|
|
8258
8281
|
children: /* @__PURE__ */ Q(ge, {
|
|
@@ -8273,7 +8296,7 @@ function Js() {
|
|
|
8273
8296
|
gridTemplateColumns: l ? "minmax(0, 1fr)" : "repeat(2, minmax(0, 1fr))",
|
|
8274
8297
|
gap: 8
|
|
8275
8298
|
},
|
|
8276
|
-
children:
|
|
8299
|
+
children: Ys.map(([e, t]) => /* @__PURE__ */ $("div", {
|
|
8277
8300
|
style: {
|
|
8278
8301
|
display: "flex",
|
|
8279
8302
|
alignItems: "center",
|
|
@@ -8294,7 +8317,7 @@ function Js() {
|
|
|
8294
8317
|
})
|
|
8295
8318
|
});
|
|
8296
8319
|
}
|
|
8297
|
-
function
|
|
8320
|
+
function Zs({ label: e, hint: t, children: n }) {
|
|
8298
8321
|
let r = p().isPhone;
|
|
8299
8322
|
return /* @__PURE__ */ $("div", {
|
|
8300
8323
|
style: {
|
|
@@ -8337,7 +8360,7 @@ function Ys({ label: e, hint: t, children: n }) {
|
|
|
8337
8360
|
})]
|
|
8338
8361
|
});
|
|
8339
8362
|
}
|
|
8340
|
-
function
|
|
8363
|
+
function Qs({ active: e, onClick: t, children: n, capitalize: r }) {
|
|
8341
8364
|
return /* @__PURE__ */ Q("button", {
|
|
8342
8365
|
onClick: t,
|
|
8343
8366
|
style: {
|
|
@@ -8355,7 +8378,7 @@ function Xs({ active: e, onClick: t, children: n, capitalize: r }) {
|
|
|
8355
8378
|
}
|
|
8356
8379
|
//#endregion
|
|
8357
8380
|
//#region src/components/pages/AdminCatalogPage.tsx
|
|
8358
|
-
function
|
|
8381
|
+
function $s() {
|
|
8359
8382
|
let { data: e } = L(), [t, n] = Y("handlers"), r = p().isPhone;
|
|
8360
8383
|
return e ? /* @__PURE__ */ $("div", {
|
|
8361
8384
|
style: {
|
|
@@ -8419,11 +8442,11 @@ function Zs() {
|
|
|
8419
8442
|
paddingRight: 20
|
|
8420
8443
|
}
|
|
8421
8444
|
},
|
|
8422
|
-
children: [t === "handlers" && /* @__PURE__ */ Q(
|
|
8445
|
+
children: [t === "handlers" && /* @__PURE__ */ Q(ec, { schema: e }), t === "actions" && /* @__PURE__ */ Q(rc, { schema: e })]
|
|
8423
8446
|
})]
|
|
8424
8447
|
}) : null;
|
|
8425
8448
|
}
|
|
8426
|
-
function
|
|
8449
|
+
function ec({ schema: e }) {
|
|
8427
8450
|
let t = q(() => {
|
|
8428
8451
|
let t = [];
|
|
8429
8452
|
if (e.handlers) for (let [n, r] of Object.entries(e.handlers)) t.push({
|
|
@@ -8456,7 +8479,7 @@ function Qs({ schema: e }) {
|
|
|
8456
8479
|
flexDirection: "column",
|
|
8457
8480
|
gap: 8
|
|
8458
8481
|
},
|
|
8459
|
-
children: t.map(({ code: e, handler: t, entity: n }) => /* @__PURE__ */ Q(
|
|
8482
|
+
children: t.map(({ code: e, handler: t, entity: n }) => /* @__PURE__ */ Q(tc, {
|
|
8460
8483
|
code: e,
|
|
8461
8484
|
handler: t,
|
|
8462
8485
|
entity: n
|
|
@@ -8464,7 +8487,7 @@ function Qs({ schema: e }) {
|
|
|
8464
8487
|
})]
|
|
8465
8488
|
});
|
|
8466
8489
|
}
|
|
8467
|
-
function
|
|
8490
|
+
function tc({ code: e, handler: t, entity: n }) {
|
|
8468
8491
|
let [i, a] = Y(!1), o = p().isPhone, s = t.display?.name ? I(t.display.name) : e;
|
|
8469
8492
|
return /* @__PURE__ */ $("div", {
|
|
8470
8493
|
style: {
|
|
@@ -8563,7 +8586,7 @@ function $s({ code: e, handler: t, entity: n }) {
|
|
|
8563
8586
|
},
|
|
8564
8587
|
children: (t.params?.names() ?? []).map((e) => {
|
|
8565
8588
|
let n = t.params.get(e);
|
|
8566
|
-
return n ? /* @__PURE__ */ Q(
|
|
8589
|
+
return n ? /* @__PURE__ */ Q(nc, {
|
|
8567
8590
|
code: e,
|
|
8568
8591
|
param: n
|
|
8569
8592
|
}, e) : null;
|
|
@@ -8572,7 +8595,7 @@ function $s({ code: e, handler: t, entity: n }) {
|
|
|
8572
8595
|
})]
|
|
8573
8596
|
});
|
|
8574
8597
|
}
|
|
8575
|
-
function
|
|
8598
|
+
function nc({ code: e, param: t }) {
|
|
8576
8599
|
let n = t.display?.name ? I(t.display.name) : void 0, r = p().isPhone;
|
|
8577
8600
|
return /* @__PURE__ */ $("div", {
|
|
8578
8601
|
style: {
|
|
@@ -8629,7 +8652,7 @@ function ec({ code: e, param: t }) {
|
|
|
8629
8652
|
]
|
|
8630
8653
|
});
|
|
8631
8654
|
}
|
|
8632
|
-
function
|
|
8655
|
+
function rc({ schema: e }) {
|
|
8633
8656
|
let t = q(() => {
|
|
8634
8657
|
let t = [];
|
|
8635
8658
|
if (e.actions) for (let [n, r] of Object.entries(e.actions)) t.push({
|
|
@@ -8677,14 +8700,14 @@ function tc({ schema: e }) {
|
|
|
8677
8700
|
flexDirection: "column",
|
|
8678
8701
|
gap: 6
|
|
8679
8702
|
},
|
|
8680
|
-
children: t.map(({ code: e, action: t }) => /* @__PURE__ */ Q(
|
|
8703
|
+
children: t.map(({ code: e, action: t }) => /* @__PURE__ */ Q(ic, {
|
|
8681
8704
|
code: e,
|
|
8682
8705
|
action: t
|
|
8683
8706
|
}, e))
|
|
8684
8707
|
})] }, e))]
|
|
8685
8708
|
});
|
|
8686
8709
|
}
|
|
8687
|
-
function
|
|
8710
|
+
function ic({ code: e, action: t }) {
|
|
8688
8711
|
let n = I(t.display?.name), i = p().isPhone;
|
|
8689
8712
|
return /* @__PURE__ */ $("div", {
|
|
8690
8713
|
style: {
|
|
@@ -8777,34 +8800,34 @@ function nc({ code: e, action: t }) {
|
|
|
8777
8800
|
}
|
|
8778
8801
|
//#endregion
|
|
8779
8802
|
//#region src/components/pages/SmartListPage.tsx
|
|
8780
|
-
var
|
|
8781
|
-
function
|
|
8803
|
+
var ac = Vr(() => import("./SmartListPage.impl-C73pR7Iw.js").then((e) => ({ default: e.SmartListPage })));
|
|
8804
|
+
function oc(e) {
|
|
8782
8805
|
return /* @__PURE__ */ Q(zr, {
|
|
8783
8806
|
fallback: null,
|
|
8784
|
-
children: /* @__PURE__ */ Q(
|
|
8807
|
+
children: /* @__PURE__ */ Q(ac, { ...e })
|
|
8785
8808
|
});
|
|
8786
8809
|
}
|
|
8787
8810
|
//#endregion
|
|
8788
8811
|
//#region src/components/pages/SmartDetailPage.tsx
|
|
8789
|
-
var
|
|
8790
|
-
function
|
|
8812
|
+
var sc = Vr(() => import("./SmartDetailPage.impl-SnNu6Ug-.js").then((e) => ({ default: e.SmartDetailPage })));
|
|
8813
|
+
function cc(e) {
|
|
8791
8814
|
return /* @__PURE__ */ Q(zr, {
|
|
8792
8815
|
fallback: null,
|
|
8793
|
-
children: /* @__PURE__ */ Q(
|
|
8816
|
+
children: /* @__PURE__ */ Q(sc, { ...e })
|
|
8794
8817
|
});
|
|
8795
8818
|
}
|
|
8796
8819
|
//#endregion
|
|
8797
8820
|
//#region src/components/pages/SmartRecordListPage.tsx
|
|
8798
|
-
var
|
|
8799
|
-
function
|
|
8821
|
+
var lc = Vr(() => import("./SmartRecordListPage.impl-rJjQZe1V.js").then((e) => ({ default: e.SmartRecordListPage })));
|
|
8822
|
+
function uc(e) {
|
|
8800
8823
|
return /* @__PURE__ */ Q(zr, {
|
|
8801
8824
|
fallback: null,
|
|
8802
|
-
children: /* @__PURE__ */ Q(
|
|
8825
|
+
children: /* @__PURE__ */ Q(lc, { ...e })
|
|
8803
8826
|
});
|
|
8804
8827
|
}
|
|
8805
8828
|
//#endregion
|
|
8806
8829
|
//#region src/hooks/useVersionWatcher.ts
|
|
8807
|
-
function
|
|
8830
|
+
function dc() {
|
|
8808
8831
|
let e = ai();
|
|
8809
8832
|
K(() => {
|
|
8810
8833
|
let t = !1, n = null, r = 6e4, i = r, a = 0, o = 0;
|
|
@@ -8861,34 +8884,34 @@ function lc() {
|
|
|
8861
8884
|
}
|
|
8862
8885
|
//#endregion
|
|
8863
8886
|
//#region src/lib/capabilityPrefetch.ts
|
|
8864
|
-
var
|
|
8865
|
-
() => import("./MarkdownRenderer-
|
|
8887
|
+
var fc = [
|
|
8888
|
+
() => import("./MarkdownRenderer-CIKuh_0i.js"),
|
|
8866
8889
|
() => import("./JsonEditor-DoNmyrYd.js"),
|
|
8867
|
-
() => import("./Grid
|
|
8868
|
-
() => import("./DraggableChildrenTable-
|
|
8890
|
+
() => import("./Grid--QAEby8k.js"),
|
|
8891
|
+
() => import("./DraggableChildrenTable-CPoUY99R.js")
|
|
8869
8892
|
];
|
|
8870
|
-
function dc() {
|
|
8871
|
-
for (let e of uc) e().catch(() => {});
|
|
8872
|
-
}
|
|
8873
|
-
var fc = !1;
|
|
8874
8893
|
function pc() {
|
|
8875
|
-
|
|
8876
|
-
|
|
8894
|
+
for (let e of fc) e().catch(() => {});
|
|
8895
|
+
}
|
|
8896
|
+
var mc = !1;
|
|
8897
|
+
function hc() {
|
|
8898
|
+
if (mc) return;
|
|
8899
|
+
mc = !0;
|
|
8877
8900
|
let e = globalThis.requestIdleCallback;
|
|
8878
|
-
typeof e == "function" ? e(
|
|
8901
|
+
typeof e == "function" ? e(pc) : setTimeout(pc, 0);
|
|
8879
8902
|
}
|
|
8880
8903
|
//#endregion
|
|
8881
8904
|
//#region src/stores/screen-registry.ts
|
|
8882
|
-
var
|
|
8883
|
-
function
|
|
8884
|
-
|
|
8905
|
+
var gc = /* @__PURE__ */ new Map();
|
|
8906
|
+
function _c(e, t) {
|
|
8907
|
+
gc.set(e, t);
|
|
8885
8908
|
}
|
|
8886
|
-
function
|
|
8887
|
-
return
|
|
8909
|
+
function vc(e) {
|
|
8910
|
+
return gc.get(e);
|
|
8888
8911
|
}
|
|
8889
8912
|
//#endregion
|
|
8890
8913
|
//#region src/lib/brand-tokens.ts
|
|
8891
|
-
var
|
|
8914
|
+
var yc = ["light", "dark"], bc = ["page_title_size", "page_title_line_height"], xc = [
|
|
8892
8915
|
"background",
|
|
8893
8916
|
"surface",
|
|
8894
8917
|
"surface_2",
|
|
@@ -8904,19 +8927,19 @@ var _c = ["light", "dark"], vc = ["page_title_size", "page_title_line_height"],
|
|
|
8904
8927
|
"sidebar",
|
|
8905
8928
|
"rail"
|
|
8906
8929
|
];
|
|
8907
|
-
function
|
|
8930
|
+
function Sc(e) {
|
|
8908
8931
|
return `--${e.replace(/_/g, "-")}`;
|
|
8909
8932
|
}
|
|
8910
|
-
function
|
|
8933
|
+
function Cc(e) {
|
|
8911
8934
|
if (typeof e != "string") return null;
|
|
8912
8935
|
let t = e.trim();
|
|
8913
8936
|
return !t || /[;{}]/.test(t) ? null : t;
|
|
8914
8937
|
}
|
|
8915
|
-
function
|
|
8916
|
-
let t =
|
|
8938
|
+
function wc(e) {
|
|
8939
|
+
let t = Cc(e);
|
|
8917
8940
|
return !t || typeof CSS < "u" && CSS.supports && !CSS.supports("color", t) ? null : t;
|
|
8918
8941
|
}
|
|
8919
|
-
var
|
|
8942
|
+
var Tc = {
|
|
8920
8943
|
light: {
|
|
8921
8944
|
soft: 10,
|
|
8922
8945
|
ring: 28,
|
|
@@ -8928,60 +8951,60 @@ var Cc = {
|
|
|
8928
8951
|
row: 22
|
|
8929
8952
|
}
|
|
8930
8953
|
};
|
|
8931
|
-
function
|
|
8932
|
-
if (!
|
|
8933
|
-
let n =
|
|
8954
|
+
function Ec(e, t) {
|
|
8955
|
+
if (!wc(t.accent)) return [];
|
|
8956
|
+
let n = Tc[e];
|
|
8934
8957
|
return [
|
|
8935
8958
|
`--accent-soft: color-mix(in srgb, var(--accent) ${n.soft}%, var(--surface))`,
|
|
8936
8959
|
`--accent-ring: color-mix(in srgb, var(--accent) ${n.ring}%, transparent)`,
|
|
8937
8960
|
`--row-selected-bg: color-mix(in srgb, var(--accent) ${n.row}%, var(--surface))`
|
|
8938
8961
|
];
|
|
8939
8962
|
}
|
|
8940
|
-
function
|
|
8963
|
+
function Dc(e, t) {
|
|
8941
8964
|
let n = [];
|
|
8942
|
-
for (let e of
|
|
8943
|
-
let r =
|
|
8944
|
-
r && n.push(`${
|
|
8965
|
+
for (let e of xc) {
|
|
8966
|
+
let r = wc(t[e]);
|
|
8967
|
+
r && n.push(`${Sc(e)}: ${r}`);
|
|
8945
8968
|
}
|
|
8946
|
-
return n.push(...
|
|
8969
|
+
return n.push(...Ec(e, t)), n;
|
|
8947
8970
|
}
|
|
8948
|
-
function
|
|
8971
|
+
function Oc(e) {
|
|
8949
8972
|
if (!e) return "";
|
|
8950
|
-
let t = [], n = [], r =
|
|
8973
|
+
let t = [], n = [], r = Cc(e.font_sans), i = Cc(e.font_mono);
|
|
8951
8974
|
r && n.push(`--font-sans: ${r}`), i && n.push(`--font-mono: ${i}`);
|
|
8952
|
-
for (let t of
|
|
8953
|
-
let r =
|
|
8954
|
-
r && n.push(`${
|
|
8975
|
+
for (let t of bc) {
|
|
8976
|
+
let r = Cc(e.typography?.[t]);
|
|
8977
|
+
r && n.push(`${Sc(t)}: ${r}`);
|
|
8955
8978
|
}
|
|
8956
8979
|
n.length && t.push(`:root { ${n.join("; ")}; }`);
|
|
8957
|
-
for (let n of
|
|
8980
|
+
for (let n of yc) {
|
|
8958
8981
|
let r = e.colors?.[n];
|
|
8959
8982
|
if (!r) continue;
|
|
8960
|
-
let i =
|
|
8983
|
+
let i = Dc(n, r);
|
|
8961
8984
|
i.length && t.push(`html[data-color-scheme="${n}"] { ${i.join("; ")}; }`);
|
|
8962
8985
|
}
|
|
8963
8986
|
return t.join("\n");
|
|
8964
8987
|
}
|
|
8965
|
-
var
|
|
8966
|
-
function
|
|
8988
|
+
var kc = "declarion-brand-tokens", Ac = "consumer-brand-css";
|
|
8989
|
+
function jc(e) {
|
|
8967
8990
|
if (typeof document > "u") return;
|
|
8968
|
-
let t = document.head, n = document.getElementById(
|
|
8991
|
+
let t = document.head, n = document.getElementById(kc);
|
|
8969
8992
|
if (!e) {
|
|
8970
8993
|
n?.remove();
|
|
8971
8994
|
return;
|
|
8972
8995
|
}
|
|
8973
8996
|
let r = n ?? document.createElement("style");
|
|
8974
|
-
n || (r.id =
|
|
8975
|
-
let i = document.getElementById(
|
|
8997
|
+
n || (r.id = kc, t.appendChild(r)), r.textContent !== e && (r.textContent = e);
|
|
8998
|
+
let i = document.getElementById(Ac);
|
|
8976
8999
|
i && i.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING && t.appendChild(i);
|
|
8977
9000
|
}
|
|
8978
|
-
|
|
8979
|
-
var
|
|
9001
|
+
_c("Profile", Is), _c("TenantParameters", Ws);
|
|
9002
|
+
var Mc = "declarion-managed-favicon", Nc = new ti({ defaultOptions: { queries: {
|
|
8980
9003
|
staleTime: 3e5,
|
|
8981
9004
|
retry: 1
|
|
8982
9005
|
} } });
|
|
8983
|
-
zn(
|
|
8984
|
-
function
|
|
9006
|
+
zn(Nc, xn);
|
|
9007
|
+
function Pc(e) {
|
|
8985
9008
|
if (typeof window > "u") return null;
|
|
8986
9009
|
try {
|
|
8987
9010
|
let t = new URL(e, window.location.origin);
|
|
@@ -8990,7 +9013,7 @@ function Mc(e) {
|
|
|
8990
9013
|
return null;
|
|
8991
9014
|
}
|
|
8992
9015
|
}
|
|
8993
|
-
function
|
|
9016
|
+
function Fc() {
|
|
8994
9017
|
let { data: e } = L();
|
|
8995
9018
|
return {
|
|
8996
9019
|
routes: q(() => {
|
|
@@ -9004,7 +9027,7 @@ function Nc() {
|
|
|
9004
9027
|
path: r.route,
|
|
9005
9028
|
element: /* @__PURE__ */ Q(dn, { children: /* @__PURE__ */ Q(Ct, {
|
|
9006
9029
|
code: n,
|
|
9007
|
-
children: /* @__PURE__ */ Q(
|
|
9030
|
+
children: /* @__PURE__ */ Q(oc, { screenCode: n })
|
|
9008
9031
|
}) })
|
|
9009
9032
|
}, n));
|
|
9010
9033
|
continue;
|
|
@@ -9014,7 +9037,7 @@ function Nc() {
|
|
|
9014
9037
|
path: r.route,
|
|
9015
9038
|
element: /* @__PURE__ */ Q(dn, { children: /* @__PURE__ */ Q(Ct, {
|
|
9016
9039
|
code: n,
|
|
9017
|
-
children: /* @__PURE__ */ Q(
|
|
9040
|
+
children: /* @__PURE__ */ Q(cc, { screenCode: n })
|
|
9018
9041
|
}) })
|
|
9019
9042
|
}, n));
|
|
9020
9043
|
continue;
|
|
@@ -9024,13 +9047,13 @@ function Nc() {
|
|
|
9024
9047
|
path: r.route,
|
|
9025
9048
|
element: /* @__PURE__ */ Q(dn, { children: /* @__PURE__ */ Q(Ct, {
|
|
9026
9049
|
code: n,
|
|
9027
|
-
children: /* @__PURE__ */ Q(
|
|
9050
|
+
children: /* @__PURE__ */ Q(uc, { screenCode: n })
|
|
9028
9051
|
}) })
|
|
9029
9052
|
}, n));
|
|
9030
9053
|
continue;
|
|
9031
9054
|
}
|
|
9032
9055
|
if (r.type === "custom") {
|
|
9033
|
-
let e = r.component ?
|
|
9056
|
+
let e = r.component ? vc(r.component) : void 0;
|
|
9034
9057
|
e && t.push(/* @__PURE__ */ Q(X, {
|
|
9035
9058
|
path: r.route,
|
|
9036
9059
|
element: /* @__PURE__ */ Q(dn, { children: /* @__PURE__ */ Q(Ct, {
|
|
@@ -9045,8 +9068,8 @@ function Nc() {
|
|
|
9045
9068
|
defaultRoute: q(() => Qo(e), [e])
|
|
9046
9069
|
};
|
|
9047
9070
|
}
|
|
9048
|
-
function
|
|
9049
|
-
let t = z((e) => e.initialize), n = z((e) => e.isLoading), r = z((e) => e.isAuthenticated), { data: i } = L(), { data: a, isLoading: o } = Yn(), { branding: s, isLoading: c } = an(), { routes: l, defaultRoute: u } =
|
|
9071
|
+
function Ic() {
|
|
9072
|
+
let t = z((e) => e.initialize), n = z((e) => e.isLoading), r = z((e) => e.isAuthenticated), { data: i } = L(), { data: a, isLoading: o } = Yn(), { branding: s, isLoading: c } = an(), { routes: l, defaultRoute: u } = Fc(), d = x(), f = typeof window < "u" && window.self !== window.top && !d.enabled;
|
|
9050
9073
|
K(() => {
|
|
9051
9074
|
d.enabled || f || t();
|
|
9052
9075
|
}, [
|
|
@@ -9058,7 +9081,7 @@ function Pc() {
|
|
|
9058
9081
|
K(() => {
|
|
9059
9082
|
e(p ?? {});
|
|
9060
9083
|
}, [p]), K(() => {
|
|
9061
|
-
|
|
9084
|
+
hc();
|
|
9062
9085
|
}, []);
|
|
9063
9086
|
let m = s?.identity, h = s?.theme;
|
|
9064
9087
|
K(() => {
|
|
@@ -9067,7 +9090,7 @@ function Pc() {
|
|
|
9067
9090
|
e && (document.title = e);
|
|
9068
9091
|
}, [m?.app_name]), K(() => {
|
|
9069
9092
|
if (typeof document > "u") return;
|
|
9070
|
-
let e = m?.app_logo, t = en(e) ?
|
|
9093
|
+
let e = m?.app_logo, t = en(e) ? Pc(e.trim()) : null, n = document.getElementById(Mc);
|
|
9071
9094
|
if (!t) {
|
|
9072
9095
|
n && n.remove();
|
|
9073
9096
|
return;
|
|
@@ -9075,22 +9098,22 @@ function Pc() {
|
|
|
9075
9098
|
if (!n) {
|
|
9076
9099
|
document.querySelectorAll("link[rel=\"icon\"], link[rel=\"shortcut icon\"]").forEach((e) => e.remove());
|
|
9077
9100
|
let e = document.createElement("link");
|
|
9078
|
-
e.id =
|
|
9101
|
+
e.id = Mc, e.rel = "icon", e.href = t, document.head.appendChild(e);
|
|
9079
9102
|
return;
|
|
9080
9103
|
}
|
|
9081
9104
|
n.href !== t && (n.href = t);
|
|
9082
9105
|
}, [m?.app_logo]);
|
|
9083
|
-
let g = h?.css_url ?? null, _ = q(() =>
|
|
9106
|
+
let g = h?.css_url ?? null, _ = q(() => Oc(h), [h]);
|
|
9084
9107
|
K(() => {
|
|
9085
|
-
|
|
9108
|
+
jc(_);
|
|
9086
9109
|
}, [_]), K(() => {
|
|
9087
9110
|
if (typeof document > "u") return;
|
|
9088
|
-
let e = document.getElementById(
|
|
9111
|
+
let e = document.getElementById(Ac);
|
|
9089
9112
|
if (!g) {
|
|
9090
9113
|
e && e.remove();
|
|
9091
9114
|
return;
|
|
9092
9115
|
}
|
|
9093
|
-
let t =
|
|
9116
|
+
let t = Pc(g);
|
|
9094
9117
|
if (!t) {
|
|
9095
9118
|
e && e.remove(), console.error(`[declarion] branding.theme.css_url rejected: ${g}. Only same-origin, relative URLs are allowed (e.g. /modules/crm/public/brand.css).`);
|
|
9096
9119
|
return;
|
|
@@ -9098,7 +9121,7 @@ function Pc() {
|
|
|
9098
9121
|
if (e && e.href === t) return;
|
|
9099
9122
|
e && e.remove();
|
|
9100
9123
|
let n = document.createElement("link");
|
|
9101
|
-
n.id =
|
|
9124
|
+
n.id = Ac, n.rel = "stylesheet", n.href = t, document.head.appendChild(n);
|
|
9102
9125
|
}, [g]);
|
|
9103
9126
|
let v = d.enabled && !r;
|
|
9104
9127
|
return f || v || n || o && !a || c || r && !i ? /* @__PURE__ */ Q("div", {
|
|
@@ -9151,11 +9174,11 @@ function Pc() {
|
|
|
9151
9174
|
l,
|
|
9152
9175
|
/* @__PURE__ */ Q(X, {
|
|
9153
9176
|
path: "/preferences",
|
|
9154
|
-
element: /* @__PURE__ */ Q(
|
|
9177
|
+
element: /* @__PURE__ */ Q(Xs, {})
|
|
9155
9178
|
}),
|
|
9156
9179
|
/* @__PURE__ */ Q(X, {
|
|
9157
9180
|
path: "/admin/catalog",
|
|
9158
|
-
element: /* @__PURE__ */ Q(
|
|
9181
|
+
element: /* @__PURE__ */ Q($s, {})
|
|
9159
9182
|
}),
|
|
9160
9183
|
/* @__PURE__ */ Q(X, {
|
|
9161
9184
|
path: "*",
|
|
@@ -9165,12 +9188,12 @@ function Pc() {
|
|
|
9165
9188
|
})
|
|
9166
9189
|
] });
|
|
9167
9190
|
}
|
|
9168
|
-
function
|
|
9169
|
-
|
|
9191
|
+
function Lc() {
|
|
9192
|
+
dc();
|
|
9170
9193
|
let e = U((e) => e.toastPosition);
|
|
9171
9194
|
return /* @__PURE__ */ $(Hr, { children: [
|
|
9172
9195
|
/* @__PURE__ */ Q(xi, {}),
|
|
9173
|
-
/* @__PURE__ */ Q(
|
|
9196
|
+
/* @__PURE__ */ Q(Ic, {}),
|
|
9174
9197
|
/* @__PURE__ */ Q(oi, {
|
|
9175
9198
|
position: e,
|
|
9176
9199
|
toastOptions: { unstyled: !0 },
|
|
@@ -9181,7 +9204,7 @@ function Fc() {
|
|
|
9181
9204
|
})
|
|
9182
9205
|
] });
|
|
9183
9206
|
}
|
|
9184
|
-
function
|
|
9207
|
+
function Rc({ children: e }) {
|
|
9185
9208
|
let t = Xt(), n = $t();
|
|
9186
9209
|
return /* @__PURE__ */ Q(h, {
|
|
9187
9210
|
viewport: t,
|
|
@@ -9189,20 +9212,20 @@ function Ic({ children: e }) {
|
|
|
9189
9212
|
children: e
|
|
9190
9213
|
});
|
|
9191
9214
|
}
|
|
9192
|
-
function
|
|
9215
|
+
function zc() {
|
|
9193
9216
|
return /* @__PURE__ */ Q(dn, { children: /* @__PURE__ */ Q(ni, {
|
|
9194
|
-
client:
|
|
9195
|
-
children: /* @__PURE__ */ Q(be, { children: /* @__PURE__ */ Q(
|
|
9217
|
+
client: Nc,
|
|
9218
|
+
children: /* @__PURE__ */ Q(be, { children: /* @__PURE__ */ Q(Rc, { children: /* @__PURE__ */ Q(Lc, {}) }) })
|
|
9196
9219
|
}) });
|
|
9197
9220
|
}
|
|
9198
9221
|
//#endregion
|
|
9199
9222
|
//#region src/api/batch.ts
|
|
9200
|
-
var
|
|
9223
|
+
var Bc = class {
|
|
9201
9224
|
ops = [];
|
|
9202
9225
|
call(e, t) {
|
|
9203
9226
|
return this.ops.push({
|
|
9204
9227
|
action: e,
|
|
9205
|
-
params:
|
|
9228
|
+
params: Vc(t)
|
|
9206
9229
|
}), this;
|
|
9207
9230
|
}
|
|
9208
9231
|
upsert(e, t, n = "upsert", r = []) {
|
|
@@ -9224,13 +9247,13 @@ var Rc = class {
|
|
|
9224
9247
|
return this.ops;
|
|
9225
9248
|
}
|
|
9226
9249
|
};
|
|
9227
|
-
function
|
|
9250
|
+
function Vc(e) {
|
|
9228
9251
|
return e == null ? null : typeof e == "object" && !Array.isArray(e) ? e : { value: e };
|
|
9229
9252
|
}
|
|
9230
9253
|
//#endregion
|
|
9231
9254
|
//#region src/hooks/useAllEntityData.ts
|
|
9232
|
-
var
|
|
9233
|
-
function
|
|
9255
|
+
var Hc = 1e3, Uc = 20;
|
|
9256
|
+
function Wc(e, t = {}) {
|
|
9234
9257
|
return ii({
|
|
9235
9258
|
queryKey: [
|
|
9236
9259
|
"entity-data-all",
|
|
@@ -9241,7 +9264,7 @@ function Hc(e, t = {}) {
|
|
|
9241
9264
|
queryFn: async ({ signal: n }) => {
|
|
9242
9265
|
let r = {
|
|
9243
9266
|
...t,
|
|
9244
|
-
per_page:
|
|
9267
|
+
per_page: Hc,
|
|
9245
9268
|
count: "with"
|
|
9246
9269
|
}, i;
|
|
9247
9270
|
try {
|
|
@@ -9254,7 +9277,7 @@ function Hc(e, t = {}) {
|
|
|
9254
9277
|
}
|
|
9255
9278
|
let a = i.meta.total_pages ?? 1;
|
|
9256
9279
|
if (a <= 1) return i;
|
|
9257
|
-
if (a >
|
|
9280
|
+
if (a > Uc) throw Error(`useAllEntityData: entity "${e}" spans ${a} pages (limit ${Uc}); it is not a bounded entity. Use useEntityData with server-side pagination instead.`);
|
|
9258
9281
|
let o = await Promise.all(Array.from({ length: a - 1 }, (t, i) => F(e, {
|
|
9259
9282
|
...r,
|
|
9260
9283
|
page: i + 2
|
|
@@ -9277,7 +9300,7 @@ function Hc(e, t = {}) {
|
|
|
9277
9300
|
}
|
|
9278
9301
|
//#endregion
|
|
9279
9302
|
//#region src/hooks/useLiveObject.ts
|
|
9280
|
-
function
|
|
9303
|
+
function Gc(e, t) {
|
|
9281
9304
|
let n = on(e, t), { data: r } = L(), i = n.data?.data ? Tt(n.data.data) : void 0, a = it(e ? r?.entities?.[e]?.realtime : void 0, e ?? ""), o = e ? a : !1;
|
|
9282
9305
|
return {
|
|
9283
9306
|
...n,
|
|
@@ -9288,7 +9311,7 @@ function Uc(e, t) {
|
|
|
9288
9311
|
}
|
|
9289
9312
|
//#endregion
|
|
9290
9313
|
//#region src/hooks/useColumns.ts
|
|
9291
|
-
function
|
|
9314
|
+
function Kc(e, t) {
|
|
9292
9315
|
let [n, r] = ei(), i = q(() => {
|
|
9293
9316
|
let r = n.get("columns");
|
|
9294
9317
|
return r ? r.split(",").filter(Boolean).filter((t) => e.includes(t)) : t.length > 0 ? t : e;
|
|
@@ -9298,7 +9321,7 @@ function Wc(e, t) {
|
|
|
9298
9321
|
t
|
|
9299
9322
|
]), a = G((e) => {
|
|
9300
9323
|
let i = new URLSearchParams(n);
|
|
9301
|
-
e.length === 0 ||
|
|
9324
|
+
e.length === 0 || qc(e, t) ? i.delete("columns") : i.set("columns", e.join(",")), r(i);
|
|
9302
9325
|
}, [
|
|
9303
9326
|
n,
|
|
9304
9327
|
r,
|
|
@@ -9324,18 +9347,18 @@ function Wc(e, t) {
|
|
|
9324
9347
|
}, [i, a])
|
|
9325
9348
|
};
|
|
9326
9349
|
}
|
|
9327
|
-
function
|
|
9350
|
+
function qc(e, t) {
|
|
9328
9351
|
return e.length === t.length && e.every((e, n) => e === t[n]);
|
|
9329
9352
|
}
|
|
9330
9353
|
//#endregion
|
|
9331
9354
|
//#region src/hooks/useScreenTab.ts
|
|
9332
|
-
function
|
|
9355
|
+
function Jc(e) {
|
|
9333
9356
|
let t = Jr(), [n] = ei(), r = e?.route ?? t.pathname, i = J(n.toString());
|
|
9334
9357
|
Fr(r, e?.title ?? r, e?.icon, i.current), Lr(r);
|
|
9335
9358
|
}
|
|
9336
9359
|
//#endregion
|
|
9337
9360
|
//#region src/components/chrome/PageHeader.tsx
|
|
9338
|
-
function
|
|
9361
|
+
function Yc({ title: e, description: t, backTo: r, actions: i }) {
|
|
9339
9362
|
let a = ut(), o = e ?? I(a?.screen?.display?.name) ?? "", s = t ?? I(a?.screen?.display?.description), c = nn("custom"), l = c.isVisible("show_title"), u = c.isVisible("show_actions"), d = x(), f = M(), p = G(() => {
|
|
9340
9363
|
if (r) {
|
|
9341
9364
|
if (!d.enabled) {
|
|
@@ -9404,8 +9427,8 @@ function qc({ title: e, description: t, backTo: r, actions: i }) {
|
|
|
9404
9427
|
}
|
|
9405
9428
|
//#endregion
|
|
9406
9429
|
//#region src/components/actions/ObjectActionBar.tsx
|
|
9407
|
-
function
|
|
9408
|
-
let { data: s } = L(), { run: c, isRunning: l } = Ye(), u = M(), d = En(), f = dt(), p = Jr(), m = s?.entities?.[e], h = q(() =>
|
|
9430
|
+
function Xc({ entity: e, object: t, slot: n, screen: r, select: a, onAfterRun: o }) {
|
|
9431
|
+
let { data: s } = L(), { run: c, isRunning: l } = Ye(), u = M(), d = En(), f = dt(), p = Jr(), m = s?.entities?.[e], h = q(() => Qc(s, e, r, p.pathname), [
|
|
9409
9432
|
s,
|
|
9410
9433
|
e,
|
|
9411
9434
|
r,
|
|
@@ -9414,7 +9437,7 @@ function Jc({ entity: e, object: t, slot: n, screen: r, select: a, onAfterRun: o
|
|
|
9414
9437
|
return {
|
|
9415
9438
|
nodes: q(() => {
|
|
9416
9439
|
if (!m || !t) return [];
|
|
9417
|
-
let e =
|
|
9440
|
+
let e = el(i(h?.action_layout, m.action_layout, m.actions, g, n), a);
|
|
9418
9441
|
return _e(e, m.actions, g, t, [], ar(m, t));
|
|
9419
9442
|
}, [
|
|
9420
9443
|
h?.action_layout,
|
|
@@ -9468,8 +9491,8 @@ function Jc({ entity: e, object: t, slot: n, screen: r, select: a, onAfterRun: o
|
|
|
9468
9491
|
])
|
|
9469
9492
|
};
|
|
9470
9493
|
}
|
|
9471
|
-
function
|
|
9472
|
-
let { data: s } = L(), { nodes: c, run: l, widgetContext: u } =
|
|
9494
|
+
function Zc({ entity: e, object: t, slot: n, screen: r, select: i, extraActions: a, onAfterRun: o }) {
|
|
9495
|
+
let { data: s } = L(), { nodes: c, run: l, widgetContext: u } = Xc({
|
|
9473
9496
|
entity: e,
|
|
9474
9497
|
object: t,
|
|
9475
9498
|
slot: n,
|
|
@@ -9491,24 +9514,24 @@ function Yc({ entity: e, object: t, slot: n, screen: r, select: i, extraActions:
|
|
|
9491
9514
|
}), a]
|
|
9492
9515
|
});
|
|
9493
9516
|
}
|
|
9494
|
-
function
|
|
9517
|
+
function Qc(e, t, n, r) {
|
|
9495
9518
|
if (!e?.screens) return;
|
|
9496
9519
|
if (n) return e.screens[n];
|
|
9497
9520
|
let i = r.replace(/\/+$/, "") || "/";
|
|
9498
|
-
return Object.values(e.screens).find((e) => e.entity !== t || !e.route ? !1 :
|
|
9521
|
+
return Object.values(e.screens).find((e) => e.entity !== t || !e.route ? !1 : $c(e.route).test(i));
|
|
9499
9522
|
}
|
|
9500
|
-
function
|
|
9523
|
+
function $c(e) {
|
|
9501
9524
|
let t = (e.replace(/\/+$/, "") || "/").split("/").map((e) => e.startsWith(":") ? "[^/]+" : e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
|
|
9502
9525
|
return RegExp(`^${t.join("/")}$`);
|
|
9503
9526
|
}
|
|
9504
|
-
function
|
|
9527
|
+
function el(e, t) {
|
|
9505
9528
|
if (!t) return e;
|
|
9506
9529
|
let n = t.include ? new Set(t.include) : null, r = t.exclude ? new Set(t.exclude) : null;
|
|
9507
|
-
return e.map((e) =>
|
|
9530
|
+
return e.map((e) => tl(e, n, r)).filter((e) => e !== null);
|
|
9508
9531
|
}
|
|
9509
|
-
function
|
|
9532
|
+
function tl(e, t, n) {
|
|
9510
9533
|
if (e.kind === "action") return t && !t.has(e.code) || n?.has(e.code) ? null : e;
|
|
9511
|
-
let r = e.items.map((e) =>
|
|
9534
|
+
let r = e.items.map((e) => tl(e, t, n)).filter((e) => e !== null);
|
|
9512
9535
|
return r.length > 0 ? {
|
|
9513
9536
|
...e,
|
|
9514
9537
|
items: r
|
|
@@ -9516,7 +9539,7 @@ function $c(e, t, n) {
|
|
|
9516
9539
|
}
|
|
9517
9540
|
//#endregion
|
|
9518
9541
|
//#region src/components/list/InlineEditCell.tsx
|
|
9519
|
-
var
|
|
9542
|
+
var nl = {
|
|
9520
9543
|
padding: "4px 6px",
|
|
9521
9544
|
margin: "-4px -6px",
|
|
9522
9545
|
borderRadius: 4,
|
|
@@ -9527,7 +9550,7 @@ var el = {
|
|
|
9527
9550
|
alignItems: "center",
|
|
9528
9551
|
gap: 4
|
|
9529
9552
|
};
|
|
9530
|
-
function
|
|
9553
|
+
function rl({ value: e, onSave: t, type: r = "text", options: i, trigger: a = "always", label: o, placeholder: s }) {
|
|
9531
9554
|
let [c, l] = Y(e), [u, d] = Y(e), [f, p] = Y(!1), [m, h] = Y(e), g = J(null);
|
|
9532
9555
|
K(() => {
|
|
9533
9556
|
l(e), d(e), h(e);
|
|
@@ -9599,7 +9622,7 @@ function tl({ value: e, onSave: t, type: r = "text", options: i, trigger: a = "a
|
|
|
9599
9622
|
onMouseLeave: (e) => {
|
|
9600
9623
|
e.currentTarget.style.borderColor = "transparent";
|
|
9601
9624
|
},
|
|
9602
|
-
style:
|
|
9625
|
+
style: nl,
|
|
9603
9626
|
children: u ?? /* @__PURE__ */ Q("span", {
|
|
9604
9627
|
style: { color: "var(--text-4)" },
|
|
9605
9628
|
children: "Click to edit"
|
|
@@ -9608,7 +9631,7 @@ function tl({ value: e, onSave: t, type: r = "text", options: i, trigger: a = "a
|
|
|
9608
9631
|
}
|
|
9609
9632
|
//#endregion
|
|
9610
9633
|
//#region src/components/pages/home/HomeStub.tsx
|
|
9611
|
-
var
|
|
9634
|
+
var il = [
|
|
9612
9635
|
{
|
|
9613
9636
|
id: "a1",
|
|
9614
9637
|
title: "James Gallagher moved to Discovery",
|
|
@@ -9624,7 +9647,7 @@ var nl = [
|
|
|
9624
9647
|
title: "Refill enrichment job completed (32 leads)",
|
|
9625
9648
|
when: "10:00 AM"
|
|
9626
9649
|
}
|
|
9627
|
-
],
|
|
9650
|
+
], al = [
|
|
9628
9651
|
{
|
|
9629
9652
|
label: "Open leads",
|
|
9630
9653
|
val: "127",
|
|
@@ -9649,7 +9672,7 @@ var nl = [
|
|
|
9649
9672
|
delta: "2 failed",
|
|
9650
9673
|
tone: "amber"
|
|
9651
9674
|
}
|
|
9652
|
-
],
|
|
9675
|
+
], ol = [
|
|
9653
9676
|
[
|
|
9654
9677
|
"leads",
|
|
9655
9678
|
"Leads",
|
|
@@ -9681,7 +9704,7 @@ var nl = [
|
|
|
9681
9704
|
"entity"
|
|
9682
9705
|
]
|
|
9683
9706
|
];
|
|
9684
|
-
function
|
|
9707
|
+
function sl({ onOpenNav: e, greeting: t = "Good afternoon, Konstantin", tenantLabel: r = "Acme · production" }) {
|
|
9685
9708
|
return /* @__PURE__ */ Q("div", {
|
|
9686
9709
|
style: {
|
|
9687
9710
|
paddingTop: 22,
|
|
@@ -9727,7 +9750,7 @@ function al({ onOpenNav: e, greeting: t = "Good afternoon, Konstantin", tenantLa
|
|
|
9727
9750
|
gap: 10,
|
|
9728
9751
|
margin: "16px 0"
|
|
9729
9752
|
},
|
|
9730
|
-
children:
|
|
9753
|
+
children: al.map((e) => /* @__PURE__ */ $("div", {
|
|
9731
9754
|
style: {
|
|
9732
9755
|
padding: 14,
|
|
9733
9756
|
background: "var(--surface)",
|
|
@@ -9775,7 +9798,7 @@ function al({ onOpenNav: e, greeting: t = "Good afternoon, Konstantin", tenantLa
|
|
|
9775
9798
|
gridTemplateColumns: "repeat(3,1fr)",
|
|
9776
9799
|
gap: 8
|
|
9777
9800
|
},
|
|
9778
|
-
children:
|
|
9801
|
+
children: ol.map(([t, r, i]) => {
|
|
9779
9802
|
let a = n[i];
|
|
9780
9803
|
return /* @__PURE__ */ $("button", {
|
|
9781
9804
|
onClick: () => e?.(t),
|
|
@@ -9820,7 +9843,7 @@ function al({ onOpenNav: e, greeting: t = "Good afternoon, Konstantin", tenantLa
|
|
|
9820
9843
|
flexDirection: "column",
|
|
9821
9844
|
gap: 8
|
|
9822
9845
|
},
|
|
9823
|
-
children:
|
|
9846
|
+
children: il.slice(0, 3).map((e) => /* @__PURE__ */ $("div", {
|
|
9824
9847
|
style: {
|
|
9825
9848
|
fontSize: 12,
|
|
9826
9849
|
color: "var(--text-2)"
|
|
@@ -9849,19 +9872,19 @@ function al({ onOpenNav: e, greeting: t = "Good afternoon, Konstantin", tenantLa
|
|
|
9849
9872
|
}
|
|
9850
9873
|
//#endregion
|
|
9851
9874
|
//#region src/components/pages/pipeline/Pipeline.tsx
|
|
9852
|
-
var
|
|
9875
|
+
var cl = {
|
|
9853
9876
|
"1-New": { color: "slate" },
|
|
9854
9877
|
"2-Contacted": { color: "sky" },
|
|
9855
9878
|
"3-Qualified": { color: "violet" },
|
|
9856
9879
|
"4-Proposal": { color: "amber" },
|
|
9857
9880
|
"5-Won": { color: "emerald" },
|
|
9858
9881
|
"6-Lost": { color: "rose" }
|
|
9859
|
-
},
|
|
9882
|
+
}, ll = {
|
|
9860
9883
|
P0: "rose",
|
|
9861
9884
|
P1: "amber",
|
|
9862
9885
|
P2: "sky",
|
|
9863
9886
|
P3: "slate"
|
|
9864
|
-
},
|
|
9887
|
+
}, ul = [
|
|
9865
9888
|
{
|
|
9866
9889
|
id: "l1",
|
|
9867
9890
|
contact: "James Gallagher",
|
|
@@ -9927,11 +9950,11 @@ var ol = {
|
|
|
9927
9950
|
score: 58
|
|
9928
9951
|
}
|
|
9929
9952
|
];
|
|
9930
|
-
function
|
|
9931
|
-
let e = Object.entries(
|
|
9953
|
+
function dl() {
|
|
9954
|
+
let e = Object.entries(cl).map(([e, t]) => ({
|
|
9932
9955
|
key: e,
|
|
9933
9956
|
color: t.color,
|
|
9934
|
-
leads:
|
|
9957
|
+
leads: ul.filter((t) => t.pipeline === e)
|
|
9935
9958
|
}));
|
|
9936
9959
|
return /* @__PURE__ */ $("div", {
|
|
9937
9960
|
style: {
|
|
@@ -9964,7 +9987,7 @@ function ll() {
|
|
|
9964
9987
|
fontSize: 12,
|
|
9965
9988
|
color: "var(--text-3)"
|
|
9966
9989
|
},
|
|
9967
|
-
children: [
|
|
9990
|
+
children: [ul.length, " leads · $2.4M pipeline"]
|
|
9968
9991
|
})]
|
|
9969
9992
|
}), /* @__PURE__ */ Q("div", {
|
|
9970
9993
|
style: {
|
|
@@ -10050,7 +10073,7 @@ function ll() {
|
|
|
10050
10073
|
flexWrap: "wrap"
|
|
10051
10074
|
},
|
|
10052
10075
|
children: [e.priority && e.priority !== "-" && /* @__PURE__ */ Q(P, {
|
|
10053
|
-
tone:
|
|
10076
|
+
tone: ll[e.priority] ?? "slate",
|
|
10054
10077
|
size: "xs",
|
|
10055
10078
|
dot: !0,
|
|
10056
10079
|
children: e.priority
|
|
@@ -10069,7 +10092,7 @@ function ll() {
|
|
|
10069
10092
|
}
|
|
10070
10093
|
//#endregion
|
|
10071
10094
|
//#region src/components/pages/jobs/Jobs.tsx
|
|
10072
|
-
var
|
|
10095
|
+
var fl = [
|
|
10073
10096
|
{
|
|
10074
10097
|
id: "job_91a4",
|
|
10075
10098
|
name: "reparse_leads_with_llm",
|
|
@@ -10113,12 +10136,12 @@ var ul = [
|
|
|
10113
10136
|
worker: "wk-us-01",
|
|
10114
10137
|
took: "2m 02s"
|
|
10115
10138
|
}
|
|
10116
|
-
],
|
|
10139
|
+
], pl = {
|
|
10117
10140
|
running: "sky",
|
|
10118
10141
|
success: "emerald",
|
|
10119
10142
|
queued: "slate",
|
|
10120
10143
|
failed: "rose"
|
|
10121
|
-
},
|
|
10144
|
+
}, ml = [
|
|
10122
10145
|
"ID",
|
|
10123
10146
|
"Name",
|
|
10124
10147
|
"Status",
|
|
@@ -10128,7 +10151,7 @@ var ul = [
|
|
|
10128
10151
|
"Worker",
|
|
10129
10152
|
""
|
|
10130
10153
|
];
|
|
10131
|
-
function
|
|
10154
|
+
function hl() {
|
|
10132
10155
|
return /* @__PURE__ */ $("div", {
|
|
10133
10156
|
style: {
|
|
10134
10157
|
paddingTop: 14,
|
|
@@ -10179,7 +10202,7 @@ function pl() {
|
|
|
10179
10202
|
background: "var(--surface-2)",
|
|
10180
10203
|
color: "var(--text-3)"
|
|
10181
10204
|
},
|
|
10182
|
-
children:
|
|
10205
|
+
children: ml.map((e, t) => /* @__PURE__ */ Q("th", {
|
|
10183
10206
|
style: {
|
|
10184
10207
|
padding: "0 10px",
|
|
10185
10208
|
textAlign: "left",
|
|
@@ -10191,7 +10214,7 @@ function pl() {
|
|
|
10191
10214
|
},
|
|
10192
10215
|
children: e
|
|
10193
10216
|
}, e || `_h${t}`))
|
|
10194
|
-
}) }), /* @__PURE__ */ Q("tbody", { children:
|
|
10217
|
+
}) }), /* @__PURE__ */ Q("tbody", { children: fl.map((e) => /* @__PURE__ */ $("tr", {
|
|
10195
10218
|
style: { height: 32 },
|
|
10196
10219
|
children: [
|
|
10197
10220
|
/* @__PURE__ */ Q("td", {
|
|
@@ -10223,7 +10246,7 @@ function pl() {
|
|
|
10223
10246
|
borderBottom: "1px solid var(--divider)"
|
|
10224
10247
|
},
|
|
10225
10248
|
children: /* @__PURE__ */ Q(P, {
|
|
10226
|
-
tone:
|
|
10249
|
+
tone: pl[e.status],
|
|
10227
10250
|
size: "xs",
|
|
10228
10251
|
dot: !0,
|
|
10229
10252
|
children: e.status
|
|
@@ -10253,7 +10276,7 @@ function pl() {
|
|
|
10253
10276
|
display: "block",
|
|
10254
10277
|
height: "100%",
|
|
10255
10278
|
width: `${e.progress}%`,
|
|
10256
|
-
background: `var(--pill-${
|
|
10279
|
+
background: `var(--pill-${pl[e.status]})`
|
|
10257
10280
|
} })
|
|
10258
10281
|
}), /* @__PURE__ */ $("span", {
|
|
10259
10282
|
className: "mono num",
|
|
@@ -10308,7 +10331,7 @@ function pl() {
|
|
|
10308
10331
|
}
|
|
10309
10332
|
//#endregion
|
|
10310
10333
|
//#region src/components/layout/ImpersonationStartModal.tsx
|
|
10311
|
-
function
|
|
10334
|
+
function gl({ open: e, targetUserId: t, targetUserLabel: n, onClose: r, onStarted: i }) {
|
|
10312
10335
|
let { start: a, isStarting: o } = Vi(), { value: s } = Dn("impersonation.require_reason_min_length", 10), [c, l] = Y(""), [u, d] = Y("");
|
|
10313
10336
|
if (!e) return null;
|
|
10314
10337
|
let f = c.trim(), p = f.length >= s;
|
|
@@ -10468,7 +10491,7 @@ function ml({ open: e, targetUserId: t, targetUserLabel: n, onClose: r, onStarte
|
|
|
10468
10491
|
}
|
|
10469
10492
|
//#endregion
|
|
10470
10493
|
//#region src/components/agents/AgentConversationDrawer.tsx
|
|
10471
|
-
function
|
|
10494
|
+
function _l({ open: e, onClose: t, conversations: r, activeId: i, onSelect: a, onNew: o, onRefresh: s }) {
|
|
10472
10495
|
return K(() => {
|
|
10473
10496
|
e && s();
|
|
10474
10497
|
}, [e, s]), e ? /* @__PURE__ */ $("aside", {
|
|
@@ -10498,11 +10521,7 @@ function hl({ open: e, onClose: t, conversations: r, activeId: i, onSelect: a, o
|
|
|
10498
10521
|
children: e.title || "Untitled"
|
|
10499
10522
|
}), /* @__PURE__ */ $("div", {
|
|
10500
10523
|
className: "text-xs text-muted-foreground",
|
|
10501
|
-
children: [
|
|
10502
|
-
e.agent ? `${e.agent} · ` : "",
|
|
10503
|
-
e.status,
|
|
10504
|
-
e.token_usage?.cost_cents ? ` · $${(e.token_usage.cost_cents / 100).toFixed(2)}` : ""
|
|
10505
|
-
]
|
|
10524
|
+
children: [e.agent ? `${e.agent} · ` : "", e.status]
|
|
10506
10525
|
})]
|
|
10507
10526
|
}, e.id))]
|
|
10508
10527
|
}),
|
|
@@ -10518,4 +10537,4 @@ function hl({ open: e, onClose: t, conversations: r, activeId: i, onSelect: a, o
|
|
|
10518
10537
|
}) : null;
|
|
10519
10538
|
}
|
|
10520
10539
|
//#endregion
|
|
10521
|
-
export { Ee as ACTION_DATA_CURSOR_KEY, kt as ACTION_DATA_KEY, xe as ActionBatchError, vt as ActionRunnerProvider, ro as AgentChatPanel,
|
|
10540
|
+
export { Ee as ACTION_DATA_CURSOR_KEY, kt as ACTION_DATA_KEY, xe as ActionBatchError, vt as ActionRunnerProvider, ro as AgentChatPanel, _l as AgentConversationDrawer, za as AgentElicitForm, Ga as AgentPicker, zc as App, zc as Declarion, Jo as AuthShell, Ht as Avatar, Bc as Batch, ge as BoolToggle, ci as BrandGlyph, Xi as Breadcrumbs, C as Btn, S as CURSOR_LOCALE_CHANGED, T as CURSOR_SEMANTICS_MISMATCH, xs as ChangePasswordDialog, _n as Check, o as Chip, Qn as CircleImage, sn as ClassifiedFieldLocked, Cr as ColumnPicker, ca as CommandPalette, Ni as ConfirmDialog, Ct as CurrentScreenProvider, re as DEFAULT_RESPONSIVE_BREAKPOINTS, Re as DateInput, k as Dropdown, r as DynamicIcon, Tr as EmptyState, m as EntityClient, R as FieldLabel, Ae as FileDraftScope, pr as FilterChips, _r as FilterDrawer, us as Forgot, sl as HomeStub, $e as HoverCard, n as Icon, v as IconBtn, na as ImpersonationBanner, ra as ImpersonationFrame, gl as ImpersonationStartModal, Zt as InfoTooltip, rl as InlineEditCell, hl as JobsStub, ht as JsonField, j as Kbd, Ze as MULTIPLE_VALUES, B as MenuItem, lt as MultiSelect, kr as NO_VALUE_OPS, Nr as OP_LABELS, Zc as ObjectActionBar, Dt as OrderedMap, kn as PAGE_STATE_TTL_PARAM, Yc as PageHeader, Je as PasswordInput, P as Pill, dl as PipelineStub, Xs as Preferences, Is as Profile, D as PropertyGridEditor, gr as QEField, Ke as QuickEditCell, fr as QuickPeek, pi as Rail, gn as RecordIdBadge, d as RefCache, ke as RefCombobox, Oe as RefField, rn as RefreshControl, _s as Reset, h as ResponsiveModeProvider, ui as RowField, Qt as SCROLL_STATE_KEY, cn as SectionCard, jt as Select, Fi as Sidebar, os as SignIn, cs as SignUp, cc as SmartDetailPage, oc as SmartListPage, uc as SmartRecordListPage, u as Spinner, lr as SquareImage, $i as TabStrip, zt as TagsInput, qi as TenantChip, Ne as TextArea, V as TextInput, Jt as Tooltip, Qi as TopBar, vs as TwoFA, Ie as UploadError, pe as ViewField, br as ViewSwitcher, nr as WideBanner, Rt as actionDataQueryKey, fa as answerQuestion, ma as approveInvocation, y as buildActionBody, ye as buildDetailHrefFromId, b as buildEntityDetailHref, ae as buildMassEditTargets, ve as buildRowDetailHref, Ii as buildSections, _a as cancelConversation, ga as cancelInvocation, jn as canonicalUrl, Gn as classificationTier, ot as coerceDisplayString, ir as commonVariantActionCodes, Ir as countActiveFilters, ua as createConversation, je as cursorActionDataQueryKey, c as cursorEntityDataQueryKey, Nt as cursorEntityStableKey, _t as deleteObject, ee as detectCommonValue, st as discardFile, or as effectiveScreenForRecord, N as entityClient, Pe as entityDataQueryKey, Ki as envTone, sr as evaluateFilterTree, we as executeAction, gt as extractPkValues, Bn as fieldAccessInfo, Un as fieldClassification, w as fieldDisplayName, Fn as fieldRequiredPermission, Ot as formatBytes, wr as formatCount, yr as formatEstimatedCount, Sr as formatExactCount, ur as getFileWidget, t as getIcon, dr as getImageCropper, mn as getLayoutWidget, Se as getPrimaryKeyFields, Zn as hasFileWidget, un as hasLayoutWidget, Ar as hasOrGroups, le as isCursorStaleError, An as isFieldReadable, Vn as isFieldSoDProtected, Wn as isFieldWritable, la as listAvailableAgents, va as listConversations, ba as loadConversationInvocations, ya as loadConversationTurns, xa as loadHistory, I as loc, ln as objectQueryKey, jr as parseFilterURLState, Pr as parseFiltersFromURL, g as parseTargetFilter, ce as pkValuePartsToId, a as pkValuesFromId, Ve as pkValuesToDetailId, wt as pkValuesToId, Xn as registerFileWidget, fn as registerLayoutWidget, _c as registerScreen, ha as rejectInvocation, yt as resolveDetailRoute, rr as resolveEntityVariantCode, $n as resolveScreenVariantCode, nt as resolveViewportCategory, Be as restoreObject, pa as sendElicitResponse, da as sendMessage, Mr as setFiltersInURL, e as setIconRegistry, er as setImageCropper, ze as uploadFile, Ft as useActionData, Ye as useActionRunner, Ra as useAgentConversation, Wc as useAllEntityData, Bi as useAuth, Kc as useColumns, Kn as useCreateObject, ut as useCurrentScreen, de as useCursorActionData, he as useCursorEntityData, Bt as useDebounce, Mn as useDeleteObject, Or as useDeleteProperty, pt as useDraftRegistration, wn as useEffectiveParam, Mt as useEntity, Lt as useEntityCount, me as useEntityData, St as useFileDraftScope, xr as useFilters, Vi as useImpersonation, Gc as useLiveObject, qr as useLocation, Yr as useNavigate, on as useObject, Xc as useObjectActions, mr as usePageState, qn as usePageStateTtl, Dn as useParam, Qr as useParams, tn as usePlainScrollRestoration, Yn as usePublicParams, Nn as useRegisterRetainedQuery, yn as useResolvedParam, p as useResponsiveMode, Yt as useSavedScrollOffset, L as useSchema, vr as useScreen, Rn as useScreenBack, Jc as useScreenTab, $r as useSearchParams, Er as useSetProperty, Dr as useSetStatus, En as useTabNavigate, Lr as useTabSearchMirror, H as useTabStore, Hn as useUpdateObject, dt as useUserLocale, hr as useViews, Ut as useVirtualScrollRestoration, We as validateClientSide, ar as variantActionCodesForRecord };
|