@nar-bus/ui-shared 2.3.0 → 2.3.1
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/index.js
CHANGED
|
@@ -352,7 +352,7 @@ const r4 = {
|
|
|
352
352
|
}, cg = [
|
|
353
353
|
"METER_READOUT",
|
|
354
354
|
"METER_UPDATE"
|
|
355
|
-
],
|
|
355
|
+
], LC = [
|
|
356
356
|
"GATEWAY_SETTINGS",
|
|
357
357
|
"OTHER"
|
|
358
358
|
], Z5 = [
|
|
@@ -5948,23 +5948,23 @@ kr.getAdapter = gm.getAdapter;
|
|
|
5948
5948
|
kr.HttpStatusCode = Y3;
|
|
5949
5949
|
kr.default = kr;
|
|
5950
5950
|
const {
|
|
5951
|
-
Axios:
|
|
5952
|
-
AxiosError:
|
|
5953
|
-
CanceledError:
|
|
5954
|
-
isCancel:
|
|
5955
|
-
CancelToken:
|
|
5956
|
-
VERSION:
|
|
5957
|
-
all:
|
|
5958
|
-
Cancel:
|
|
5959
|
-
isAxiosError:
|
|
5960
|
-
spread:
|
|
5961
|
-
toFormData:
|
|
5962
|
-
AxiosHeaders:
|
|
5963
|
-
HttpStatusCode:
|
|
5964
|
-
formToJSON:
|
|
5965
|
-
getAdapter:
|
|
5966
|
-
mergeConfig:
|
|
5967
|
-
create:
|
|
5951
|
+
Axios: BC,
|
|
5952
|
+
AxiosError: VC,
|
|
5953
|
+
CanceledError: UC,
|
|
5954
|
+
isCancel: GC,
|
|
5955
|
+
CancelToken: ZC,
|
|
5956
|
+
VERSION: jC,
|
|
5957
|
+
all: WC,
|
|
5958
|
+
Cancel: KC,
|
|
5959
|
+
isAxiosError: HC,
|
|
5960
|
+
spread: qC,
|
|
5961
|
+
toFormData: $C,
|
|
5962
|
+
AxiosHeaders: YC,
|
|
5963
|
+
HttpStatusCode: XC,
|
|
5964
|
+
formToJSON: QC,
|
|
5965
|
+
getAdapter: JC,
|
|
5966
|
+
mergeConfig: eM,
|
|
5967
|
+
create: tM
|
|
5968
5968
|
} = kr, T4 = 16;
|
|
5969
5969
|
function eb(s) {
|
|
5970
5970
|
const u = globalThis.crypto;
|
|
@@ -6148,7 +6148,7 @@ class cb {
|
|
|
6148
6148
|
}
|
|
6149
6149
|
}
|
|
6150
6150
|
let vm = "real", bm = "", n2 = null;
|
|
6151
|
-
function
|
|
6151
|
+
function rM(s) {
|
|
6152
6152
|
s.mode !== void 0 && (vm = s.mode), s.baseUrl !== void 0 && (bm = s.baseUrl), n2 = null;
|
|
6153
6153
|
}
|
|
6154
6154
|
function ub() {
|
|
@@ -6194,15 +6194,15 @@ async function w4(s, u, y) {
|
|
|
6194
6194
|
const v = await lu.put(s, u, y);
|
|
6195
6195
|
return await cu(v);
|
|
6196
6196
|
}
|
|
6197
|
-
async function
|
|
6197
|
+
async function aM(s, u) {
|
|
6198
6198
|
const y = await lu.delete(s, u);
|
|
6199
6199
|
return await cu(y);
|
|
6200
6200
|
}
|
|
6201
|
-
async function
|
|
6201
|
+
async function iM(s, u) {
|
|
6202
6202
|
const y = await lu.search(s, u);
|
|
6203
6203
|
return await cu(y);
|
|
6204
6204
|
}
|
|
6205
|
-
function
|
|
6205
|
+
function nM(s) {
|
|
6206
6206
|
const { sorting: u, pagination: y, globalFilter: v, columnFilters: I } = s, M = I.filter((L) => L.value !== void 0 && L.value !== null && L.value !== "").map((L) => ({
|
|
6207
6207
|
field: L.id,
|
|
6208
6208
|
operator: "=",
|
|
@@ -6557,7 +6557,7 @@ function xm(s) {
|
|
|
6557
6557
|
isRead: y ?? u ?? !1
|
|
6558
6558
|
};
|
|
6559
6559
|
}
|
|
6560
|
-
function
|
|
6560
|
+
function sM(s, u) {
|
|
6561
6561
|
const y = s.data, I = (Array.isArray(y == null ? void 0 : y.notifications) ? y.notifications : []).map(xm), M = (y == null ? void 0 : y.totalElements) ?? 0, T = (y == null ? void 0 : y.size) ?? u.size, l = T > 0 ? Math.ceil(M / T) : 0, L = typeof (y == null ? void 0 : y.unreadCount) == "number" ? y.unreadCount : I.filter((G) => !G.isRead).length;
|
|
6562
6562
|
return {
|
|
6563
6563
|
data: I,
|
|
@@ -6577,7 +6577,7 @@ const pb = {
|
|
|
6577
6577
|
topEndpoints: [],
|
|
6578
6578
|
hourlyDistribution: []
|
|
6579
6579
|
};
|
|
6580
|
-
function
|
|
6580
|
+
function oM(s) {
|
|
6581
6581
|
const u = s.data;
|
|
6582
6582
|
if (!u) return { ...pb };
|
|
6583
6583
|
const y = Array.isArray(u.topUsers) ? u.topUsers.map((M) => ({
|
|
@@ -6604,7 +6604,7 @@ const mb = {
|
|
|
6604
6604
|
trend30d: [],
|
|
6605
6605
|
belowSlaGroups: []
|
|
6606
6606
|
}, Si = (s) => typeof s == "number" && Number.isFinite(s) ? s : 0;
|
|
6607
|
-
function
|
|
6607
|
+
function lM(s) {
|
|
6608
6608
|
if (!s) return { ...mb };
|
|
6609
6609
|
const u = Array.isArray(s.trendDays) ? s.trendDays.map((v) => v == null ? void 0 : v.percent).filter((v) => typeof v == "number" && Number.isFinite(v)) : [], y = Array.isArray(s.belowSlaGroups) ? s.belowSlaGroups.filter(
|
|
6610
6610
|
(v) => v != null && typeof v.groupName == "string" && v.groupName.length > 0 && typeof v.percent == "number" && Number.isFinite(v.percent)
|
|
@@ -6625,7 +6625,7 @@ const Ga = (s) => typeof s == "number" && Number.isFinite(s) ? Math.max(0, Math.
|
|
|
6625
6625
|
newOfflineToday: 0,
|
|
6626
6626
|
offlineBreakdown: { lessThan1h: 0, hours1to24: 0, hours24to72: 0, moreThan72h: 0 }
|
|
6627
6627
|
};
|
|
6628
|
-
function
|
|
6628
|
+
function cM(s) {
|
|
6629
6629
|
return s ? {
|
|
6630
6630
|
online: Ga(s.online),
|
|
6631
6631
|
offline: Ga(s.offline),
|
|
@@ -6650,7 +6650,7 @@ function M3(s) {
|
|
|
6650
6650
|
const u = String(s).toUpperCase();
|
|
6651
6651
|
return u === "HEALTHY" || u === "OK" ? "ok" : u === "IDLE" || u === "WARNING" || u === "WARN" ? "warning" : "critical";
|
|
6652
6652
|
}
|
|
6653
|
-
function
|
|
6653
|
+
function uM(s) {
|
|
6654
6654
|
if (!s) return { ...fb };
|
|
6655
6655
|
const u = Array.isArray(s.hourlyThroughput) ? s.hourlyThroughput.map((y) => y == null ? void 0 : y.value).filter((y) => typeof y == "number" && Number.isFinite(y)) : [];
|
|
6656
6656
|
return {
|
|
@@ -6675,7 +6675,7 @@ const gb = {
|
|
|
6675
6675
|
avgResponseP95: 0,
|
|
6676
6676
|
avgResponseP99: 0
|
|
6677
6677
|
};
|
|
6678
|
-
function
|
|
6678
|
+
function dM(s) {
|
|
6679
6679
|
return s ? {
|
|
6680
6680
|
createdToday: Ga(s.todayCreated),
|
|
6681
6681
|
completedToday: Ga(s.todayCompleted),
|
|
@@ -6709,14 +6709,14 @@ function vb(s) {
|
|
|
6709
6709
|
const u = String(s).toUpperCase();
|
|
6710
6710
|
return u === "CRITICAL" || u === "ERROR" || u === "HIGH" ? "CRITICAL" : u === "WARNING" || u === "WARN" || u === "MEDIUM" ? "WARNING" : "INFO";
|
|
6711
6711
|
}
|
|
6712
|
-
function
|
|
6712
|
+
function hM(s) {
|
|
6713
6713
|
return s ? {
|
|
6714
6714
|
activeCount: Ga(s.activeOutages),
|
|
6715
6715
|
affectedMeters: Ga(s.affectedMeters),
|
|
6716
6716
|
avgDurationMinutes: _b(s.avgDuration ?? null)
|
|
6717
6717
|
} : { ...yb };
|
|
6718
6718
|
}
|
|
6719
|
-
function
|
|
6719
|
+
function pM(s) {
|
|
6720
6720
|
return !s || !Array.isArray(s.recentAlarms) ? [] : s.recentAlarms.filter((u) => u != null && typeof u == "object").map((u) => ({
|
|
6721
6721
|
id: typeof u.id == "number" ? u.id : 0,
|
|
6722
6722
|
time: typeof u.time == "string" ? u.time : "",
|
|
@@ -6730,7 +6730,7 @@ function xb(s, u) {
|
|
|
6730
6730
|
const y = `${s} ${u}`.toUpperCase();
|
|
6731
6731
|
return y.includes("CRITICAL") ? "CRITICAL" : y.includes("WARNING") || y.includes("WARN") ? "WARNING" : "INFO";
|
|
6732
6732
|
}
|
|
6733
|
-
function
|
|
6733
|
+
function mM(s) {
|
|
6734
6734
|
return !s || !Array.isArray(s.buckets) ? { ...bb } : {
|
|
6735
6735
|
buckets: s.buckets.filter((u) => u != null && typeof u == "object").map((u) => {
|
|
6736
6736
|
const y = typeof u.label == "string" ? u.label : "", v = typeof u.key == "string" ? u.key : y;
|
|
@@ -6744,7 +6744,7 @@ function hM(s) {
|
|
|
6744
6744
|
};
|
|
6745
6745
|
}
|
|
6746
6746
|
const Tb = { calendars: [], nextExecutions: [] };
|
|
6747
|
-
function
|
|
6747
|
+
function fM(s) {
|
|
6748
6748
|
if (!s) return { ...Tb };
|
|
6749
6749
|
const u = Array.isArray(s.calendars) ? s.calendars.filter((v) => v != null && typeof v == "object").map((v) => ({
|
|
6750
6750
|
name: typeof v.name == "string" ? v.name : "",
|
|
@@ -6770,7 +6770,7 @@ function Ta(s, u) {
|
|
|
6770
6770
|
}
|
|
6771
6771
|
return u;
|
|
6772
6772
|
}
|
|
6773
|
-
function
|
|
6773
|
+
function gM(s) {
|
|
6774
6774
|
if (!s || typeof s != "object") return {};
|
|
6775
6775
|
const u = {};
|
|
6776
6776
|
for (const [y, v] of Object.entries(s)) {
|
|
@@ -6788,14 +6788,14 @@ function mM(s) {
|
|
|
6788
6788
|
}
|
|
6789
6789
|
return u;
|
|
6790
6790
|
}
|
|
6791
|
-
function
|
|
6791
|
+
function yM(s) {
|
|
6792
6792
|
return Array.isArray(s) ? s.filter((u) => !!u && typeof u == "object").map((u) => ({
|
|
6793
6793
|
stage: String(u.stage ?? ""),
|
|
6794
6794
|
throughput: Ta(u.throughput, 0),
|
|
6795
6795
|
dropPct: Ta(u.dropPct, 0)
|
|
6796
6796
|
})) : [];
|
|
6797
6797
|
}
|
|
6798
|
-
function
|
|
6798
|
+
function _M(s) {
|
|
6799
6799
|
return Array.isArray(s) ? s.filter((u) => !!u && typeof u == "object").map((u) => ({
|
|
6800
6800
|
code: String(u.code ?? ""),
|
|
6801
6801
|
template: String(u.template ?? ""),
|
|
@@ -6805,7 +6805,7 @@ function gM(s) {
|
|
|
6805
6805
|
})) : [];
|
|
6806
6806
|
}
|
|
6807
6807
|
const Eb = /* @__PURE__ */ new Set(["TURKCELL", "VODAFONE", "TT"]);
|
|
6808
|
-
function
|
|
6808
|
+
function vM(s) {
|
|
6809
6809
|
return Array.isArray(s) ? s.filter((u) => !!u && typeof u == "object").filter((u) => Eb.has(u.op)).map((u) => ({
|
|
6810
6810
|
op: u.op,
|
|
6811
6811
|
online: Ta(u.online, 0),
|
|
@@ -6813,7 +6813,7 @@ function yM(s) {
|
|
|
6813
6813
|
})) : [];
|
|
6814
6814
|
}
|
|
6815
6815
|
const wb = /* @__PURE__ */ new Set(["ok", "warn", "crit"]);
|
|
6816
|
-
function
|
|
6816
|
+
function bM(s) {
|
|
6817
6817
|
return Array.isArray(s) ? s.filter((u) => !!u && typeof u == "object").map((u) => {
|
|
6818
6818
|
const y = String(u.status ?? "warn").toLowerCase(), v = wb.has(y) ? y : "warn", I = typeof u.metricCode == "string" && u.metricCode !== "" ? u.metricCode : void 0, M = typeof u.metricValue == "number" && Number.isFinite(u.metricValue) ? u.metricValue : void 0;
|
|
6819
6819
|
return {
|
|
@@ -6834,7 +6834,7 @@ const S4 = (s) => ({
|
|
|
6834
6834
|
akdeniz: 0,
|
|
6835
6835
|
diger: 0
|
|
6836
6836
|
});
|
|
6837
|
-
function
|
|
6837
|
+
function xM(s) {
|
|
6838
6838
|
if (!Array.isArray(s))
|
|
6839
6839
|
return Array.from({ length: 24 }, (y, v) => S4(v));
|
|
6840
6840
|
const u = /* @__PURE__ */ new Map();
|
|
@@ -6854,7 +6854,7 @@ function vM(s) {
|
|
|
6854
6854
|
return Array.from({ length: 24 }, (y, v) => u.get(v) ?? S4(v));
|
|
6855
6855
|
}
|
|
6856
6856
|
const Ab = { bottom: [], top: [] };
|
|
6857
|
-
function
|
|
6857
|
+
function TM(s) {
|
|
6858
6858
|
if (!s || typeof s != "object") return Ab;
|
|
6859
6859
|
const u = s, y = (v) => Array.isArray(v) ? v.filter((I) => !!I && typeof I == "object").map((I) => {
|
|
6860
6860
|
const M = String(I.group ?? ""), T = Math.min(100, Math.max(0, Ta(I.sla, 0)));
|
|
@@ -6884,11 +6884,11 @@ function Sb(s) {
|
|
|
6884
6884
|
version: s.version
|
|
6885
6885
|
};
|
|
6886
6886
|
}
|
|
6887
|
-
function
|
|
6887
|
+
function EM(s) {
|
|
6888
6888
|
return Array.isArray(s) ? s.map(Sb) : [];
|
|
6889
6889
|
}
|
|
6890
6890
|
const jd = (s) => typeof s == "number" && Number.isFinite(s) ? s : 0, Ib = { total: 0, active: 0, locked: 0, disabled: 0 };
|
|
6891
|
-
function
|
|
6891
|
+
function wM(s) {
|
|
6892
6892
|
return s ? {
|
|
6893
6893
|
total: jd(s.total),
|
|
6894
6894
|
active: jd(s.active),
|
|
@@ -6897,7 +6897,7 @@ function TM(s) {
|
|
|
6897
6897
|
} : { ...Ib };
|
|
6898
6898
|
}
|
|
6899
6899
|
const Wd = (s) => typeof s == "number" && Number.isFinite(s) ? s : 0, Cb = (s) => s < 0 ? 0 : s > 100 ? 100 : s, Mb = { total: 0, active: 0, disabled: 0, lastSuccessRate: 0 };
|
|
6900
|
-
function
|
|
6900
|
+
function AM(s) {
|
|
6901
6901
|
return s ? {
|
|
6902
6902
|
total: Wd(s.total),
|
|
6903
6903
|
active: Wd(s.active),
|
|
@@ -7125,7 +7125,7 @@ db(async () => {
|
|
|
7125
7125
|
await s() || (u(), window.location.href = "/login");
|
|
7126
7126
|
});
|
|
7127
7127
|
rb(() => Fo.getState().token);
|
|
7128
|
-
function
|
|
7128
|
+
function SM() {
|
|
7129
7129
|
const {
|
|
7130
7130
|
user: s,
|
|
7131
7131
|
token: u,
|
|
@@ -7150,7 +7150,7 @@ function Kd(s, u, y) {
|
|
|
7150
7150
|
(v) => v.type === u && (v.key === y || v.key === "*")
|
|
7151
7151
|
);
|
|
7152
7152
|
}
|
|
7153
|
-
function
|
|
7153
|
+
function IM() {
|
|
7154
7154
|
const s = Fo((l) => l.user), u = Nt(() => (s == null ? void 0 : s.permissions) ?? [], [s]), y = Nt(
|
|
7155
7155
|
() => (l) => {
|
|
7156
7156
|
const L = Kd(u, "SCREEN_ACCESS", l);
|
|
@@ -7195,13 +7195,13 @@ function Em(s) {
|
|
|
7195
7195
|
serial: s.slice(u + 1)
|
|
7196
7196
|
};
|
|
7197
7197
|
}
|
|
7198
|
-
function
|
|
7198
|
+
function CM(s, u) {
|
|
7199
7199
|
return `${s}:${u}`;
|
|
7200
7200
|
}
|
|
7201
|
-
function
|
|
7201
|
+
function MM(s) {
|
|
7202
7202
|
return Em(s).flag;
|
|
7203
7203
|
}
|
|
7204
|
-
function
|
|
7204
|
+
function RM(s) {
|
|
7205
7205
|
const u = Nt(() => s ? Em(s) : { flag: "", serial: "" }, [s]);
|
|
7206
7206
|
return {
|
|
7207
7207
|
flag: u.flag,
|
|
@@ -7429,7 +7429,7 @@ function Zb(s) {
|
|
|
7429
7429
|
} };
|
|
7430
7430
|
}
|
|
7431
7431
|
let J3 = null, eh = !1;
|
|
7432
|
-
function
|
|
7432
|
+
function kM(s) {
|
|
7433
7433
|
J3 = s, eh = !1;
|
|
7434
7434
|
}
|
|
7435
7435
|
function jb(s) {
|
|
@@ -7689,7 +7689,7 @@ function ix(s) {
|
|
|
7689
7689
|
staleTime: rx
|
|
7690
7690
|
};
|
|
7691
7691
|
}
|
|
7692
|
-
function
|
|
7692
|
+
function PM(s) {
|
|
7693
7693
|
const { data: u, isLoading: y, isError: v } = hi({
|
|
7694
7694
|
...ix(s),
|
|
7695
7695
|
select: tx,
|
|
@@ -7717,7 +7717,7 @@ function nx(s, u) {
|
|
|
7717
7717
|
staleTime: 3e4
|
|
7718
7718
|
});
|
|
7719
7719
|
}
|
|
7720
|
-
const Sm = "outage", Im = "34", sx = 300,
|
|
7720
|
+
const Sm = "outage", Im = "34", sx = 300, NM = ["outage", "rssi", "sim", "sla"];
|
|
7721
7721
|
function ox() {
|
|
7722
7722
|
const s = new URLSearchParams(window.location.search), u = s.get("layer"), y = u === "outage" || u === "rssi" || u === "sim" || u === "sla" ? u : Sm, v = s.get("city") ?? "", I = parseInt(v, 10), M = Number.isFinite(I) && I >= 1 && I <= 81 ? String(I).padStart(2, "0") : Im;
|
|
7723
7723
|
return { layer: y, city: M };
|
|
@@ -7839,7 +7839,7 @@ function R3({
|
|
|
7839
7839
|
}
|
|
7840
7840
|
);
|
|
7841
7841
|
}
|
|
7842
|
-
function
|
|
7842
|
+
function DM({
|
|
7843
7843
|
lifecycleStatus: s,
|
|
7844
7844
|
networkStatus: u,
|
|
7845
7845
|
powerStatus: y,
|
|
@@ -7875,7 +7875,7 @@ function N4({
|
|
|
7875
7875
|
const v = y[s] ?? "default";
|
|
7876
7876
|
return /* @__PURE__ */ R(Ns, { variant: v, dot: !0, size: "sm", children: u });
|
|
7877
7877
|
}
|
|
7878
|
-
function
|
|
7878
|
+
function LM(s) {
|
|
7879
7879
|
const { status: u, statusLabel: y, className: v } = s;
|
|
7880
7880
|
return /* @__PURE__ */ Y("div", { className: Ke("inline-flex items-center gap-[var(--space-1)]", v), children: [
|
|
7881
7881
|
/* @__PURE__ */ R(N4, { code: u, label: y, colorMap: bx }),
|
|
@@ -8677,7 +8677,7 @@ function rE(s, u) {
|
|
|
8677
8677
|
const y = new Date(s, u, 1).getDay();
|
|
8678
8678
|
return y === 0 ? 6 : y - 1;
|
|
8679
8679
|
}
|
|
8680
|
-
function
|
|
8680
|
+
function OM({
|
|
8681
8681
|
data: s,
|
|
8682
8682
|
month: u,
|
|
8683
8683
|
onMonthChange: y,
|
|
@@ -8809,7 +8809,7 @@ const aE = [6, 10, 14, 18, 22];
|
|
|
8809
8809
|
function iE(s) {
|
|
8810
8810
|
return s >= 3 ? "var(--color-status-success)" : s === 2 ? "var(--color-status-warning)" : s === 1 ? "var(--color-status-danger)" : "var(--color-text-muted)";
|
|
8811
8811
|
}
|
|
8812
|
-
function
|
|
8812
|
+
function zM({ strength: s }) {
|
|
8813
8813
|
const u = Math.max(0, Math.min(5, s ?? 0));
|
|
8814
8814
|
return /* @__PURE__ */ R(
|
|
8815
8815
|
"div",
|
|
@@ -8873,7 +8873,7 @@ function nE(s) {
|
|
|
8873
8873
|
u = (u << 5) - u + s.charCodeAt(y) | 0;
|
|
8874
8874
|
return F4[Math.abs(u) % F4.length];
|
|
8875
8875
|
}
|
|
8876
|
-
function
|
|
8876
|
+
function FM({ tags: s, onTagClick: u, className: y }) {
|
|
8877
8877
|
return s.length === 0 ? null : /* @__PURE__ */ R("div", { className: Ke("flex flex-wrap items-center gap-[var(--space-1)]", y), children: s.map((v) => /* @__PURE__ */ R(
|
|
8878
8878
|
Ns,
|
|
8879
8879
|
{
|
|
@@ -8974,7 +8974,7 @@ const sE = {
|
|
|
8974
8974
|
{ value: "POWER", label: "Enerji" },
|
|
8975
8975
|
{ value: "LIFECYCLE", label: "Yaşam Döngüsü" }
|
|
8976
8976
|
];
|
|
8977
|
-
function
|
|
8977
|
+
function BM({
|
|
8978
8978
|
events: s,
|
|
8979
8979
|
onFilterChange: u,
|
|
8980
8980
|
isLoading: y,
|
|
@@ -9079,7 +9079,7 @@ const uE = {
|
|
|
9079
9079
|
crit: "var(--color-status-danger)",
|
|
9080
9080
|
info: "var(--color-status-info)"
|
|
9081
9081
|
};
|
|
9082
|
-
function
|
|
9082
|
+
function VM({
|
|
9083
9083
|
entries: s,
|
|
9084
9084
|
isLoading: u,
|
|
9085
9085
|
emptyText: y,
|
|
@@ -9137,7 +9137,7 @@ const dE = {
|
|
|
9137
9137
|
DATA_RECEIVED: "var(--color-primary)",
|
|
9138
9138
|
CONFIG_CHANGE: "var(--color-status-warning)"
|
|
9139
9139
|
};
|
|
9140
|
-
function
|
|
9140
|
+
function UM({ modemId: s, className: u }) {
|
|
9141
9141
|
const { t: y, i18n: v } = ct(), [I, M] = Tt(!1), [T, l] = Tt([]), L = zt(null), G = zt(!0), W = s ? `/api/sse/modem/${s}` : null, { events: K, connectionState: ie, close: fe } = Hb(W, {
|
|
9142
9142
|
maxEvents: 100,
|
|
9143
9143
|
onEvent: (te) => {
|
|
@@ -10263,7 +10263,7 @@ const HE = [
|
|
|
10263
10263
|
{ value: "URGENT", labelKey: "order.priority.urgent", fallback: "Acil" },
|
|
10264
10264
|
{ value: "BULK", labelKey: "order.priority.bulk", fallback: "Toplu" }
|
|
10265
10265
|
];
|
|
10266
|
-
function
|
|
10266
|
+
function GM({
|
|
10267
10267
|
open: s,
|
|
10268
10268
|
onClose: u,
|
|
10269
10269
|
mode: y = "single",
|
|
@@ -10691,7 +10691,7 @@ const QE = {
|
|
|
10691
10691
|
warn: "dg-tile--warn",
|
|
10692
10692
|
crit: "dg-tile--crit"
|
|
10693
10693
|
};
|
|
10694
|
-
function
|
|
10694
|
+
function ZM({ icon: s, label: u, value: y, tone: v = "default", className: I }) {
|
|
10695
10695
|
return /* @__PURE__ */ Y("div", { className: Ke("dg-tile", QE[v], I), children: [
|
|
10696
10696
|
s && /* @__PURE__ */ R(s, { size: 14, className: "dg-tile-icon", "aria-hidden": "true" }),
|
|
10697
10697
|
/* @__PURE__ */ R("div", { className: "dg-tile-label", children: u }),
|
|
@@ -10855,7 +10855,7 @@ function sw({
|
|
|
10855
10855
|
/* @__PURE__ */ R(xt, { className: "h-4 w-2/3" })
|
|
10856
10856
|
] }) : s != null && y ? /* @__PURE__ */ R(f0, { label: T, children: /* @__PURE__ */ R("p", { className: "text-[length:var(--font-xs)] text-[var(--color-status-danger-text)]", children: M }) }) : /* @__PURE__ */ R(qE, { order: I });
|
|
10857
10857
|
}
|
|
10858
|
-
function
|
|
10858
|
+
function jM({
|
|
10859
10859
|
open: s,
|
|
10860
10860
|
onClose: u,
|
|
10861
10861
|
order: y,
|
|
@@ -10990,7 +10990,7 @@ function GM({
|
|
|
10990
10990
|
function ow(s) {
|
|
10991
10991
|
return s >= 90 ? "var(--color-status-success)" : s >= 70 ? "var(--color-status-warning)" : "var(--color-status-danger)";
|
|
10992
10992
|
}
|
|
10993
|
-
function
|
|
10993
|
+
function WM({ groups: s, onGroupClick: u, className: y }) {
|
|
10994
10994
|
const { t: v } = ct(), I = Jr();
|
|
10995
10995
|
return /* @__PURE__ */ Y(
|
|
10996
10996
|
"div",
|
|
@@ -11129,7 +11129,7 @@ function jm(s, u, y) {
|
|
|
11129
11129
|
const { dayOfMonth: I, dayOfWeek: M } = v2(v, u);
|
|
11130
11130
|
return (y || u === 6) && Ua(I) && Ua(M) ? "dayConflict" : u === 6 && I === "?" == (M === "?") ? "quartzDay" : null;
|
|
11131
11131
|
}
|
|
11132
|
-
function
|
|
11132
|
+
function KM(s, u = {}) {
|
|
11133
11133
|
const y = u.fields ?? 5;
|
|
11134
11134
|
return jm(s, y, u.dayFieldSemantics === "exclusive") === null;
|
|
11135
11135
|
}
|
|
@@ -11341,7 +11341,7 @@ function Ow(s, u, y) {
|
|
|
11341
11341
|
})
|
|
11342
11342
|
) : M ? v.push(M) : T && v.push(T), v.join(", ");
|
|
11343
11343
|
}
|
|
11344
|
-
function
|
|
11344
|
+
function HM({
|
|
11345
11345
|
value: s,
|
|
11346
11346
|
onChange: u,
|
|
11347
11347
|
dayFieldSemantics: y = "or",
|
|
@@ -11525,7 +11525,7 @@ const zw = {
|
|
|
11525
11525
|
ORDER: "var(--color-status-info)",
|
|
11526
11526
|
SYSTEM: "var(--color-text-muted)"
|
|
11527
11527
|
};
|
|
11528
|
-
function
|
|
11528
|
+
function qM({ className: s, formatNotification: u, sources: y, viewAllHref: v }) {
|
|
11529
11529
|
const { t: I, i18n: M } = ct(), T = Bo(M), [l, L] = Tt(!1), { entries: G, unreadCount: W, markAsRead: K, markAllRead: ie } = Jb({ sources: y }), fe = Jr(), Te = kt(() => {
|
|
11530
11530
|
L((xe) => !xe);
|
|
11531
11531
|
}, []), ye = /* @__PURE__ */ Y(
|
|
@@ -11664,7 +11664,7 @@ function Vw(s, u, y, v) {
|
|
|
11664
11664
|
function Uw(s) {
|
|
11665
11665
|
return Number.isFinite(s) ? s >= 1e6 ? `${(s / 1e6).toFixed(1)}M` : s >= 1e3 ? `${(s / 1e3).toFixed(0)}K` : String(s) : "—";
|
|
11666
11666
|
}
|
|
11667
|
-
function
|
|
11667
|
+
function $M({ kpis: s, className: u }) {
|
|
11668
11668
|
const { t: y } = ct();
|
|
11669
11669
|
return s ? /* @__PURE__ */ R("div", { className: Ke("flex items-center gap-[var(--space-4)]", u), children: Bw.map((v) => {
|
|
11670
11670
|
const I = s[v.key], M = Vw(
|
|
@@ -11704,12 +11704,12 @@ function HM({ kpis: s, className: u }) {
|
|
|
11704
11704
|
}) }) : null;
|
|
11705
11705
|
}
|
|
11706
11706
|
const Hm = v9(!1);
|
|
11707
|
-
function
|
|
11707
|
+
function YM() {
|
|
11708
11708
|
return _9(Hm);
|
|
11709
11709
|
}
|
|
11710
11710
|
const Gw = () => () => {
|
|
11711
11711
|
}, Zw = () => !0, jw = () => !1;
|
|
11712
|
-
function
|
|
11712
|
+
function XM({ title: s, children: u, className: y }) {
|
|
11713
11713
|
const { t: v } = ct(), I = Jr(), [M, T] = Tt(!1), l = zt(null), L = zt(null), [G] = Tt(() => {
|
|
11714
11714
|
if (typeof document > "u") return null;
|
|
11715
11715
|
const ye = document.createElement("div");
|
|
@@ -11814,7 +11814,7 @@ function $M({ title: s, children: u, className: y }) {
|
|
|
11814
11814
|
K && G && J6(fe, G)
|
|
11815
11815
|
] });
|
|
11816
11816
|
}
|
|
11817
|
-
function
|
|
11817
|
+
function QM({
|
|
11818
11818
|
children: s,
|
|
11819
11819
|
columns: u = 4,
|
|
11820
11820
|
className: y
|
|
@@ -11844,7 +11844,7 @@ function Yw(s, u) {
|
|
|
11844
11844
|
return new Date(s).toLocaleDateString(u, { day: "numeric", month: "short" });
|
|
11845
11845
|
}
|
|
11846
11846
|
const Xw = (s) => ({ value: s.okCount, total: s.totalCount });
|
|
11847
|
-
function
|
|
11847
|
+
function JM({
|
|
11848
11848
|
data: s,
|
|
11849
11849
|
colors: u,
|
|
11850
11850
|
valueAccessor: y = Xw,
|
|
@@ -11968,7 +11968,7 @@ function XM({
|
|
|
11968
11968
|
)
|
|
11969
11969
|
] });
|
|
11970
11970
|
}
|
|
11971
|
-
function
|
|
11971
|
+
function eR({
|
|
11972
11972
|
title: s,
|
|
11973
11973
|
subtitle: u,
|
|
11974
11974
|
headerContent: y,
|
|
@@ -12053,7 +12053,7 @@ function QM({
|
|
|
12053
12053
|
}
|
|
12054
12054
|
);
|
|
12055
12055
|
}
|
|
12056
|
-
function
|
|
12056
|
+
function tR({ onEdit: s, onDelete: u, extra: y }) {
|
|
12057
12057
|
const { t: v } = ct();
|
|
12058
12058
|
return !s && !u && !y ? null : /* @__PURE__ */ Y("div", { className: "flex shrink-0 items-center gap-[var(--space-1)]", children: [
|
|
12059
12059
|
y,
|
|
@@ -12102,7 +12102,7 @@ function qm(s, u) {
|
|
|
12102
12102
|
}
|
|
12103
12103
|
};
|
|
12104
12104
|
}
|
|
12105
|
-
function
|
|
12105
|
+
function rR({
|
|
12106
12106
|
open: s,
|
|
12107
12107
|
onOpenChange: u,
|
|
12108
12108
|
title: y,
|
|
@@ -12161,7 +12161,7 @@ function eR({
|
|
|
12161
12161
|
}
|
|
12162
12162
|
);
|
|
12163
12163
|
}
|
|
12164
|
-
function
|
|
12164
|
+
function aR({
|
|
12165
12165
|
open: s,
|
|
12166
12166
|
onOpenChange: u,
|
|
12167
12167
|
title: y,
|
|
@@ -12264,7 +12264,7 @@ function aA({ width: s, height: u }) {
|
|
|
12264
12264
|
}
|
|
12265
12265
|
);
|
|
12266
12266
|
}
|
|
12267
|
-
function
|
|
12267
|
+
function iR({
|
|
12268
12268
|
data: s,
|
|
12269
12269
|
direction: u = "flat",
|
|
12270
12270
|
state: y = "default",
|
|
@@ -12336,7 +12336,7 @@ const $m = {
|
|
|
12336
12336
|
healthy: "var(--mon-gauge-healthy)",
|
|
12337
12337
|
excellent: "var(--mon-gauge-excellent)"
|
|
12338
12338
|
}, q4 = ["critical", "warning", "healthy", "excellent"];
|
|
12339
|
-
function
|
|
12339
|
+
function nR(s) {
|
|
12340
12340
|
return s === null || Number.isNaN(s) ? "warning" : s < 40 ? "critical" : s < 70 ? "warning" : s < 90 ? "healthy" : "excellent";
|
|
12341
12341
|
}
|
|
12342
12342
|
function iA(s) {
|
|
@@ -12354,7 +12354,7 @@ function sA(s, u, y, v) {
|
|
|
12354
12354
|
y: y - v * Math.sin(M)
|
|
12355
12355
|
};
|
|
12356
12356
|
}
|
|
12357
|
-
function
|
|
12357
|
+
function sR({
|
|
12358
12358
|
score: s,
|
|
12359
12359
|
band: u,
|
|
12360
12360
|
size: y = "md",
|
|
@@ -12538,7 +12538,7 @@ const oA = ["1h", "24h", "7d", "30d"], lA = {
|
|
|
12538
12538
|
"7d": "7g",
|
|
12539
12539
|
"30d": "30g"
|
|
12540
12540
|
};
|
|
12541
|
-
function
|
|
12541
|
+
function oR({
|
|
12542
12542
|
value: s,
|
|
12543
12543
|
onChange: u,
|
|
12544
12544
|
state: y = "default",
|
|
@@ -12621,7 +12621,7 @@ function dA() {
|
|
|
12621
12621
|
/* @__PURE__ */ R(xt, { width: 36, height: 14 })
|
|
12622
12622
|
] }, u)) });
|
|
12623
12623
|
}
|
|
12624
|
-
function
|
|
12624
|
+
function lR({
|
|
12625
12625
|
codes: s,
|
|
12626
12626
|
onCodeClick: u,
|
|
12627
12627
|
state: y = "default",
|
|
@@ -12802,7 +12802,7 @@ const fA = L5(function({
|
|
|
12802
12802
|
}
|
|
12803
12803
|
) });
|
|
12804
12804
|
});
|
|
12805
|
-
function
|
|
12805
|
+
function cR({
|
|
12806
12806
|
rows: s,
|
|
12807
12807
|
daysInMonth: u = 30,
|
|
12808
12808
|
statusColors: y,
|
|
@@ -12930,7 +12930,7 @@ function oR({
|
|
|
12930
12930
|
);
|
|
12931
12931
|
}
|
|
12932
12932
|
const yA = Array.from({ length: 24 }, (s, u) => u);
|
|
12933
|
-
function
|
|
12933
|
+
function uR({
|
|
12934
12934
|
cells: s,
|
|
12935
12935
|
selectedHour: u,
|
|
12936
12936
|
onSelectHour: y,
|
|
@@ -12966,7 +12966,7 @@ function lR({
|
|
|
12966
12966
|
);
|
|
12967
12967
|
}) });
|
|
12968
12968
|
}
|
|
12969
|
-
function
|
|
12969
|
+
function dR({ items: s, statusColors: u, markers: y, className: v }) {
|
|
12970
12970
|
return /* @__PURE__ */ Y("div", { className: Ke("hmg-legend", v), children: [
|
|
12971
12971
|
s.map(({ status: I, label: M }) => /* @__PURE__ */ Y("div", { className: "hmg-legend-item", children: [
|
|
12972
12972
|
/* @__PURE__ */ R(
|
|
@@ -12984,7 +12984,7 @@ function cR({ items: s, statusColors: u, markers: y, className: v }) {
|
|
|
12984
12984
|
] }, `marker:${M}`))
|
|
12985
12985
|
] });
|
|
12986
12986
|
}
|
|
12987
|
-
function
|
|
12987
|
+
function hR({
|
|
12988
12988
|
label: s,
|
|
12989
12989
|
children: u,
|
|
12990
12990
|
defaultOpen: y = !0,
|
|
@@ -13023,7 +13023,7 @@ function uR({
|
|
|
13023
13023
|
/* @__PURE__ */ R("div", { className: "fg-section-body", children: u })
|
|
13024
13024
|
] });
|
|
13025
13025
|
}
|
|
13026
|
-
function
|
|
13026
|
+
function pR({
|
|
13027
13027
|
children: s,
|
|
13028
13028
|
divided: u = !1,
|
|
13029
13029
|
columns: y = 1,
|
|
@@ -13044,7 +13044,7 @@ function dR({
|
|
|
13044
13044
|
}
|
|
13045
13045
|
);
|
|
13046
13046
|
}
|
|
13047
|
-
function
|
|
13047
|
+
function mR({
|
|
13048
13048
|
label: s,
|
|
13049
13049
|
children: u,
|
|
13050
13050
|
htmlFor: y,
|
|
@@ -13069,7 +13069,7 @@ function hR({
|
|
|
13069
13069
|
)
|
|
13070
13070
|
] });
|
|
13071
13071
|
}
|
|
13072
|
-
function
|
|
13072
|
+
function fR({ children: s, className: u }) {
|
|
13073
13073
|
return /* @__PURE__ */ R("div", { className: Ke("fg-group", u), children: s });
|
|
13074
13074
|
}
|
|
13075
13075
|
const _A = {
|
|
@@ -13261,7 +13261,7 @@ function MA(s, u) {
|
|
|
13261
13261
|
}
|
|
13262
13262
|
return y;
|
|
13263
13263
|
}
|
|
13264
|
-
function
|
|
13264
|
+
function gR(s, u = {}) {
|
|
13265
13265
|
const y = u.critical ?? !1, v = u.includeComposite ?? !0, I = { v: SA(s) }, M = wA[s], T = bA(), l = IA(I, $d, T, y), L = CA(I, $d, M, y), G = xA(I, $d, T, y), W = TA(I, $d, y), K = MA(
|
|
13266
13266
|
{ silentDevices: l, spontaneousEvents: G, pushAdherence: W, pushVolume: L },
|
|
13267
13267
|
T
|
|
@@ -13321,7 +13321,7 @@ function kA(s, u, y) {
|
|
|
13321
13321
|
function PA(s, u) {
|
|
13322
13322
|
return u in s && typeof s[u] == "number";
|
|
13323
13323
|
}
|
|
13324
|
-
function
|
|
13324
|
+
function yR(s, u = {}) {
|
|
13325
13325
|
const y = u.critical ?? !1, v = y ? {
|
|
13326
13326
|
inboundPerSec: Math.max(s.inboundPerSec, Yd.inboundPerSec),
|
|
13327
13327
|
parsePerSec: Math.max(s.parsePerSec, Yd.parsePerSec),
|
|
@@ -13545,7 +13545,7 @@ const UA = {
|
|
|
13545
13545
|
avgSignalScore: null,
|
|
13546
13546
|
modemCount: 0
|
|
13547
13547
|
};
|
|
13548
|
-
function
|
|
13548
|
+
function _R(s, u = {}) {
|
|
13549
13549
|
if (u.empty)
|
|
13550
13550
|
return { window: s, scopeProvinces: [], districts: [], points: [], kpis: UA };
|
|
13551
13551
|
const y = { v: DA(s) }, v = [], I = [];
|
|
@@ -13605,7 +13605,7 @@ function gR(s, u = {}) {
|
|
|
13605
13605
|
};
|
|
13606
13606
|
}
|
|
13607
13607
|
const i5 = "UNKNOWN";
|
|
13608
|
-
async function
|
|
13608
|
+
async function vR(s) {
|
|
13609
13609
|
try {
|
|
13610
13610
|
const u = await ai(
|
|
13611
13611
|
"/api/locations/map",
|
|
@@ -13616,7 +13616,7 @@ async function yR(s) {
|
|
|
13616
13616
|
return [];
|
|
13617
13617
|
}
|
|
13618
13618
|
}
|
|
13619
|
-
function
|
|
13619
|
+
function bR(s) {
|
|
13620
13620
|
const u = [];
|
|
13621
13621
|
for (const y of s ?? []) {
|
|
13622
13622
|
if (y == null || typeof y.modemId != "number" || y.latitude == null || y.longitude == null) continue;
|
|
@@ -13673,7 +13673,7 @@ function HA(s) {
|
|
|
13673
13673
|
const u = s;
|
|
13674
13674
|
return typeof u.districtCode == "string" && u.districtCode !== "" && typeof u.cityCode == "string" && u.cityCode !== "";
|
|
13675
13675
|
}
|
|
13676
|
-
async function
|
|
13676
|
+
async function xR(s, u) {
|
|
13677
13677
|
var I;
|
|
13678
13678
|
const y = await ai(
|
|
13679
13679
|
"/api/monitoring/network-health/map",
|
|
@@ -14102,7 +14102,7 @@ function iS({ sla: s, delta: u, isLoading: y }) {
|
|
|
14102
14102
|
)
|
|
14103
14103
|
] });
|
|
14104
14104
|
}
|
|
14105
|
-
function
|
|
14105
|
+
function TR({
|
|
14106
14106
|
fleet: s,
|
|
14107
14107
|
sla: u,
|
|
14108
14108
|
slaDelta: y,
|
|
@@ -14170,7 +14170,7 @@ function bR({
|
|
|
14170
14170
|
}
|
|
14171
14171
|
);
|
|
14172
14172
|
}
|
|
14173
|
-
function
|
|
14173
|
+
function ER() {
|
|
14174
14174
|
return /* @__PURE__ */ R(
|
|
14175
14175
|
"div",
|
|
14176
14176
|
{
|
|
@@ -14737,7 +14737,7 @@ function bS({ data: s, isLoading: u, formatMetric: y }) {
|
|
|
14737
14737
|
}) })
|
|
14738
14738
|
] });
|
|
14739
14739
|
}
|
|
14740
|
-
function
|
|
14740
|
+
function wR({
|
|
14741
14741
|
pipeline: s,
|
|
14742
14742
|
parseErrors: u,
|
|
14743
14743
|
simRanking: y,
|
|
@@ -15151,7 +15151,7 @@ function NS({ data: s, isLoading: u }) {
|
|
|
15151
15151
|
/* @__PURE__ */ R("div", { className: "mt-3 grid flex-1 grid-cols-3", children: (s ?? []).map((T, l) => /* @__PURE__ */ R(kS, { ring: T, isFirst: l === 0 }, T.label)) })
|
|
15152
15152
|
] });
|
|
15153
15153
|
}
|
|
15154
|
-
function
|
|
15154
|
+
function AR({ slaCities: s, outageTrend24h: u, calendars: y, isLoading: v }) {
|
|
15155
15155
|
const I = hS((y == null ? void 0 : y.calendars) ?? []);
|
|
15156
15156
|
return /* @__PURE__ */ Y("div", { className: "grid shrink-0 grid-cols-3 gap-6", style: { height: 300 }, children: [
|
|
15157
15157
|
/* @__PURE__ */ R(xS, { data: s, isLoading: v }),
|
|
@@ -15159,7 +15159,7 @@ function ER({ slaCities: s, outageTrend24h: u, calendars: y, isLoading: v }) {
|
|
|
15159
15159
|
/* @__PURE__ */ R(NS, { data: I, isLoading: v })
|
|
15160
15160
|
] });
|
|
15161
15161
|
}
|
|
15162
|
-
function
|
|
15162
|
+
function SR() {
|
|
15163
15163
|
const { t: s } = ct();
|
|
15164
15164
|
return /* @__PURE__ */ R(
|
|
15165
15165
|
"div",
|
|
@@ -41163,7 +41163,7 @@ const gI = {
|
|
|
41163
41163
|
sim: "SIM",
|
|
41164
41164
|
sla: "SLA"
|
|
41165
41165
|
};
|
|
41166
|
-
function
|
|
41166
|
+
function IR({ mapLayers: s, isLoading: u }) {
|
|
41167
41167
|
const { layer: y, city: v, setLayer: I, setCity: M } = lx(), T = Nt(() => s ?? {}, [s]), l = DS(v, T, a8), L = gI[y], G = ux(v, L), W = px(v, 7);
|
|
41168
41168
|
return /* @__PURE__ */ Y(
|
|
41169
41169
|
"div",
|
|
@@ -41197,7 +41197,7 @@ function AR({ mapLayers: s, isLoading: u }) {
|
|
|
41197
41197
|
}
|
|
41198
41198
|
);
|
|
41199
41199
|
}
|
|
41200
|
-
const
|
|
41200
|
+
const CR = n8, V3 = 440, yI = {
|
|
41201
41201
|
left: "flex-start",
|
|
41202
41202
|
center: "center",
|
|
41203
41203
|
right: "flex-end"
|
|
@@ -41278,7 +41278,7 @@ const vI = {
|
|
|
41278
41278
|
textTransform: "uppercase",
|
|
41279
41279
|
color: "var(--lx-text-secondary)"
|
|
41280
41280
|
};
|
|
41281
|
-
function
|
|
41281
|
+
function MR({
|
|
41282
41282
|
scene: s,
|
|
41283
41283
|
form: u,
|
|
41284
41284
|
formPosition: y,
|
|
@@ -41377,7 +41377,7 @@ const o8 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAGKCAYAAADANLP8AA
|
|
|
41377
41377
|
color: "rgb(248, 113, 113)",
|
|
41378
41378
|
marginTop: 4
|
|
41379
41379
|
};
|
|
41380
|
-
function
|
|
41380
|
+
function RR({
|
|
41381
41381
|
labels: s,
|
|
41382
41382
|
tone: u = "on-card",
|
|
41383
41383
|
align: y = "left",
|
|
@@ -41547,7 +41547,7 @@ const II = {
|
|
|
41547
41547
|
balanced: 42,
|
|
41548
41548
|
dense: 68
|
|
41549
41549
|
};
|
|
41550
|
-
function
|
|
41550
|
+
function kR({
|
|
41551
41551
|
density: s = "balanced",
|
|
41552
41552
|
className: u,
|
|
41553
41553
|
ariaLabel: y = "Animated gradient mesh background"
|
|
@@ -41845,7 +41845,7 @@ const kI = {
|
|
|
41845
41845
|
animationName: "df-sway",
|
|
41846
41846
|
animationDuration: "11s"
|
|
41847
41847
|
}
|
|
41848
|
-
}, PI = {
|
|
41848
|
+
}, PI = 2, NI = 1, DI = {
|
|
41849
41849
|
trunk: {
|
|
41850
41850
|
stroke: "url(#df-trunk)",
|
|
41851
41851
|
width: 0.34,
|
|
@@ -41868,14 +41868,14 @@ const kI = {
|
|
|
41868
41868
|
opacity: 0.85
|
|
41869
41869
|
}
|
|
41870
41870
|
};
|
|
41871
|
-
function
|
|
41871
|
+
function LI(s, u, y, v) {
|
|
41872
41872
|
const I = y - s, M = v - u;
|
|
41873
41873
|
if (Math.abs(M) < 1.5)
|
|
41874
41874
|
return `M ${s} ${u} L ${y} ${v}`;
|
|
41875
41875
|
const T = s + I * 0.55, l = u, L = y - I * 0.55;
|
|
41876
41876
|
return `M ${s} ${u} C ${T} ${l}, ${L} ${v}, ${y} ${v}`;
|
|
41877
41877
|
}
|
|
41878
|
-
function
|
|
41878
|
+
function OI({ node: s }) {
|
|
41879
41879
|
const u = kI[s.emphasis], y = s.Icon, { t: v } = ct(), I = !!(s.label || s.sub), M = {
|
|
41880
41880
|
position: "absolute",
|
|
41881
41881
|
left: `${s.x}%`,
|
|
@@ -41891,12 +41891,13 @@ function DI({ node: s }) {
|
|
|
41891
41891
|
display: "flex",
|
|
41892
41892
|
alignItems: "center",
|
|
41893
41893
|
justifyContent: "center",
|
|
41894
|
-
|
|
41894
|
+
// Opaque scene base instead of backdrop-filter: a blur under a moving box is
|
|
41895
|
+
// recomputed every frame. The tint keeps the same look over the scene.
|
|
41896
|
+
backgroundColor: "var(--lx-scene-via)",
|
|
41897
|
+
backgroundImage: `linear-gradient(${u.bgColor}, ${u.bgColor})`,
|
|
41895
41898
|
border: `1px solid ${u.borderColor}`,
|
|
41896
|
-
backdropFilter: "blur(14px) saturate(140%)",
|
|
41897
|
-
WebkitBackdropFilter: "blur(14px) saturate(140%)",
|
|
41898
41899
|
boxShadow: u.glow,
|
|
41899
|
-
animation: `${u.animationName} ${u.animationDuration} ease-in-out
|
|
41900
|
+
animation: `${u.animationName} ${u.animationDuration} ease-in-out ${NI}`,
|
|
41900
41901
|
animationDelay: `${s.delay}s`
|
|
41901
41902
|
}, l = u.containerSize / 2 + 8, L = {
|
|
41902
41903
|
position: "absolute",
|
|
@@ -41941,7 +41942,7 @@ function DI({ node: s }) {
|
|
|
41941
41942
|
] })
|
|
41942
41943
|
] });
|
|
41943
41944
|
}
|
|
41944
|
-
function
|
|
41945
|
+
function PR({
|
|
41945
41946
|
meterCount: s,
|
|
41946
41947
|
formPosition: u = "center",
|
|
41947
41948
|
className: y,
|
|
@@ -42019,7 +42020,7 @@ function RR({
|
|
|
42019
42020
|
E5.map((G, W) => {
|
|
42020
42021
|
const K = T.get(G.from), ie = T.get(G.to);
|
|
42021
42022
|
if (!K || !ie) return null;
|
|
42022
|
-
const fe =
|
|
42023
|
+
const fe = DI[G.stream], Te = LI(K.x, K.y, ie.x, ie.y);
|
|
42023
42024
|
return /* @__PURE__ */ Y("g", { opacity: fe.opacity, children: [
|
|
42024
42025
|
/* @__PURE__ */ R(
|
|
42025
42026
|
"path",
|
|
@@ -42041,7 +42042,7 @@ function RR({
|
|
|
42041
42042
|
strokeLinecap: "round",
|
|
42042
42043
|
strokeDasharray: fe.dashArray,
|
|
42043
42044
|
style: {
|
|
42044
|
-
animation: `df-flow ${fe.duration} linear
|
|
42045
|
+
animation: `df-flow ${fe.duration} linear ${PI} forwards`,
|
|
42045
42046
|
animationDelay: `${G.delay}s`
|
|
42046
42047
|
}
|
|
42047
42048
|
}
|
|
@@ -42081,7 +42082,7 @@ function RR({
|
|
|
42081
42082
|
]
|
|
42082
42083
|
}
|
|
42083
42084
|
),
|
|
42084
|
-
M.map((G) => /* @__PURE__ */ R(
|
|
42085
|
+
M.map((G) => /* @__PURE__ */ R(OI, { node: G }, G.id)),
|
|
42085
42086
|
/* @__PURE__ */ R(
|
|
42086
42087
|
"div",
|
|
42087
42088
|
{
|
|
@@ -42128,7 +42129,7 @@ function RR({
|
|
|
42128
42129
|
}
|
|
42129
42130
|
);
|
|
42130
42131
|
}
|
|
42131
|
-
const
|
|
42132
|
+
const zI = {
|
|
42132
42133
|
id: "lena-brand",
|
|
42133
42134
|
label: "Lena Brand",
|
|
42134
42135
|
description: "Mevcut teal marka kimliği — dashboard ile tam uyumlu.",
|
|
@@ -42155,7 +42156,7 @@ const LI = {
|
|
|
42155
42156
|
"--lx-line-stroke": "rgba(94, 234, 212, 0.9)",
|
|
42156
42157
|
"--lx-line-soft": "rgba(94, 234, 212, 0.25)"
|
|
42157
42158
|
}
|
|
42158
|
-
},
|
|
42159
|
+
}, FI = {
|
|
42159
42160
|
id: "dark-cyan",
|
|
42160
42161
|
label: "Dark Navy + Electric Cyan",
|
|
42161
42162
|
description: "Enterprise tech estetiği — derin navy zemin, elektrik mavisi vurgu.",
|
|
@@ -42182,7 +42183,7 @@ const LI = {
|
|
|
42182
42183
|
"--lx-line-stroke": "rgba(103, 232, 249, 0.95)",
|
|
42183
42184
|
"--lx-line-soft": "rgba(99, 102, 241, 0.25)"
|
|
42184
42185
|
}
|
|
42185
|
-
},
|
|
42186
|
+
}, BI = {
|
|
42186
42187
|
id: "warm-amber",
|
|
42187
42188
|
label: "Warm Earth + Amber",
|
|
42188
42189
|
description: "Yumuşak, sıcak ton — kahverengi zemin, kehribar vurgu.",
|
|
@@ -42209,7 +42210,7 @@ const LI = {
|
|
|
42209
42210
|
"--lx-line-stroke": "rgba(252, 211, 77, 0.90)",
|
|
42210
42211
|
"--lx-line-soft": "rgba(217, 119, 6, 0.25)"
|
|
42211
42212
|
}
|
|
42212
|
-
},
|
|
42213
|
+
}, VI = {
|
|
42213
42214
|
id: "bordeaux",
|
|
42214
42215
|
label: "Vişne Çürüğü",
|
|
42215
42216
|
description: "Koyu vişne tonu — sıcak, asil, otoriter; enerji kurumlarına yakışan klasik kırmızı.",
|
|
@@ -42236,16 +42237,16 @@ const LI = {
|
|
|
42236
42237
|
"--lx-line-stroke": "rgba(199, 62, 104, 0.90)",
|
|
42237
42238
|
"--lx-line-soft": "rgba(162, 25, 66, 0.25)"
|
|
42238
42239
|
}
|
|
42239
|
-
},
|
|
42240
|
-
"lena-brand":
|
|
42241
|
-
"dark-cyan":
|
|
42242
|
-
"warm-amber":
|
|
42243
|
-
bordeaux:
|
|
42240
|
+
}, UI = {
|
|
42241
|
+
"lena-brand": zI,
|
|
42242
|
+
"dark-cyan": FI,
|
|
42243
|
+
"warm-amber": BI,
|
|
42244
|
+
bordeaux: VI
|
|
42244
42245
|
};
|
|
42245
|
-
function
|
|
42246
|
-
return
|
|
42246
|
+
function NR(s) {
|
|
42247
|
+
return UI[s];
|
|
42247
42248
|
}
|
|
42248
|
-
function
|
|
42249
|
+
function DR({ height: s = 32 } = {}) {
|
|
42249
42250
|
return /* @__PURE__ */ R(
|
|
42250
42251
|
"img",
|
|
42251
42252
|
{
|
|
@@ -42260,7 +42261,7 @@ function PR({ height: s = 32 } = {}) {
|
|
|
42260
42261
|
}
|
|
42261
42262
|
);
|
|
42262
42263
|
}
|
|
42263
|
-
function
|
|
42264
|
+
function LR({
|
|
42264
42265
|
labels: s,
|
|
42265
42266
|
onSubmit: u,
|
|
42266
42267
|
emailField: y,
|
|
@@ -42322,12 +42323,12 @@ function NR({
|
|
|
42322
42323
|
}
|
|
42323
42324
|
);
|
|
42324
42325
|
}
|
|
42325
|
-
const
|
|
42326
|
+
const OR = {
|
|
42326
42327
|
backgroundColor: "var(--lx-bg-elevated)",
|
|
42327
42328
|
borderColor: "var(--lx-border)",
|
|
42328
42329
|
color: "var(--lx-text-primary)"
|
|
42329
42330
|
};
|
|
42330
|
-
function
|
|
42331
|
+
function zR({
|
|
42331
42332
|
labels: s,
|
|
42332
42333
|
onSubmit: u,
|
|
42333
42334
|
passwordField: y,
|
|
@@ -42377,13 +42378,13 @@ function LR({
|
|
|
42377
42378
|
}
|
|
42378
42379
|
);
|
|
42379
42380
|
}
|
|
42380
|
-
function
|
|
42381
|
+
function GI({
|
|
42381
42382
|
palette: s = "cyan",
|
|
42382
42383
|
children: u
|
|
42383
42384
|
}) {
|
|
42384
42385
|
return /* @__PURE__ */ R("div", { "data-detail-palette": s, className: "w-full", children: u });
|
|
42385
42386
|
}
|
|
42386
|
-
const
|
|
42387
|
+
const ZI = {
|
|
42387
42388
|
compact: { cell: "h-5 w-full min-w-0", gap: "gap-1", font: "text-[9px]" },
|
|
42388
42389
|
comfortable: { cell: "h-7 w-full min-w-0", gap: "gap-1.5", font: "text-[10px]" },
|
|
42389
42390
|
hero: { cell: "h-9 w-full min-w-0", gap: "gap-2", font: "text-[11px]" }
|
|
@@ -42419,7 +42420,7 @@ const G3 = (s) => s.year * 12 + (s.month - 1), A5 = (s) => ({
|
|
|
42419
42420
|
"disabled:cursor-not-allowed disabled:opacity-40",
|
|
42420
42421
|
"disabled:hover:bg-transparent disabled:hover:text-[var(--ops-fg-secondary)]"
|
|
42421
42422
|
);
|
|
42422
|
-
function
|
|
42423
|
+
function jI({
|
|
42423
42424
|
readings: s,
|
|
42424
42425
|
size: u = "comfortable",
|
|
42425
42426
|
showDayNumbers: y,
|
|
@@ -42463,7 +42464,7 @@ function GI({
|
|
|
42463
42464
|
He.push({ key: Kt, reading: vr, dayNum: Lt });
|
|
42464
42465
|
}
|
|
42465
42466
|
return He;
|
|
42466
|
-
}, [s, be.year, be.month, ke]), Ve =
|
|
42467
|
+
}, [s, be.year, be.month, ke]), Ve = ZI[u], Xe = y ?? u !== "compact";
|
|
42467
42468
|
return /* @__PURE__ */ Y("div", { className: "flex flex-col gap-3", children: [
|
|
42468
42469
|
v && /* @__PURE__ */ Y("div", { className: "flex items-center justify-between", children: [
|
|
42469
42470
|
/* @__PURE__ */ R(
|
|
@@ -42649,16 +42650,16 @@ function cn({
|
|
|
42649
42650
|
}
|
|
42650
42651
|
);
|
|
42651
42652
|
}
|
|
42652
|
-
function
|
|
42653
|
+
function WI({ tags: s, orientation: u = "row", label: y = "Etiketler" }) {
|
|
42653
42654
|
return s.length === 0 ? null : /* @__PURE__ */ Y("div", { className: Ke("flex", "flex-col gap-2"), children: [
|
|
42654
42655
|
y !== null && /* @__PURE__ */ Y("span", { className: "inline-flex items-center gap-1.5 text-[10px] tracking-[0.16em] text-[var(--ops-fg-muted)] uppercase", children: [
|
|
42655
42656
|
/* @__PURE__ */ R(nh, { size: 11 }),
|
|
42656
42657
|
y
|
|
42657
42658
|
] }),
|
|
42658
|
-
/* @__PURE__ */ R("div", { className: Ke("flex", u === "row" ? "flex-row flex-wrap gap-1.5" : "flex-col gap-1.5"), children: s.map((v) => /* @__PURE__ */ R(
|
|
42659
|
+
/* @__PURE__ */ R("div", { className: Ke("flex", u === "row" ? "flex-row flex-wrap gap-1.5" : "flex-col gap-1.5"), children: s.map((v) => /* @__PURE__ */ R(KI, { label: v }, v)) })
|
|
42659
42660
|
] });
|
|
42660
42661
|
}
|
|
42661
|
-
function
|
|
42662
|
+
function KI({ label: s }) {
|
|
42662
42663
|
return /* @__PURE__ */ Y(
|
|
42663
42664
|
"span",
|
|
42664
42665
|
{
|
|
@@ -42676,17 +42677,17 @@ function jI({ label: s }) {
|
|
|
42676
42677
|
}
|
|
42677
42678
|
);
|
|
42678
42679
|
}
|
|
42679
|
-
function
|
|
42680
|
+
function HI(s) {
|
|
42680
42681
|
const u = s.length, y = s.filter((T) => T.status === "ok").length, v = s.filter((T) => T.status === "warn").length, I = s.filter((T) => T.status === "crit").length, M = s.filter((T) => T.status === "noData").length;
|
|
42681
42682
|
return { total: u, ok: y, warn: v, crit: I, noData: M };
|
|
42682
42683
|
}
|
|
42683
|
-
function
|
|
42684
|
+
function FR(s, u = 1) {
|
|
42684
42685
|
return s.toLocaleString("tr-TR", {
|
|
42685
42686
|
minimumFractionDigits: u,
|
|
42686
42687
|
maximumFractionDigits: u
|
|
42687
42688
|
});
|
|
42688
42689
|
}
|
|
42689
|
-
function
|
|
42690
|
+
function BR({
|
|
42690
42691
|
data: s,
|
|
42691
42692
|
palette: u,
|
|
42692
42693
|
actionsSlot: y,
|
|
@@ -42694,8 +42695,8 @@ function zR({
|
|
|
42694
42695
|
calendarLabels: I,
|
|
42695
42696
|
calendarNavigation: M
|
|
42696
42697
|
}) {
|
|
42697
|
-
const { t: T, i18n: l } = ct(), L =
|
|
42698
|
-
return /* @__PURE__ */ R(
|
|
42698
|
+
const { t: T, i18n: l } = ct(), L = HI(s.readings), G = Math.round(L.ok / L.total * 100);
|
|
42699
|
+
return /* @__PURE__ */ R(GI, { palette: u, children: /* @__PURE__ */ Y(
|
|
42699
42700
|
"section",
|
|
42700
42701
|
{
|
|
42701
42702
|
className: Ke(
|
|
@@ -42704,7 +42705,7 @@ function zR({
|
|
|
42704
42705
|
),
|
|
42705
42706
|
children: [
|
|
42706
42707
|
/* @__PURE__ */ Y("div", { className: "flex items-center gap-4 border-b border-[color-mix(in_oklab,var(--detail-glass-stroke)_60%,transparent)] pb-3", children: [
|
|
42707
|
-
/* @__PURE__ */ R("div", { className: "flex min-w-0 flex-1 justify-start", children: /* @__PURE__ */ R(
|
|
42708
|
+
/* @__PURE__ */ R("div", { className: "flex min-w-0 flex-1 justify-start", children: /* @__PURE__ */ R(WI, { tags: s.tags, orientation: "row", label: null }) }),
|
|
42708
42709
|
/* @__PURE__ */ Y("div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
42709
42710
|
/* @__PURE__ */ Y(
|
|
42710
42711
|
"span",
|
|
@@ -42749,7 +42750,7 @@ function zR({
|
|
|
42749
42750
|
" · ",
|
|
42750
42751
|
s.model
|
|
42751
42752
|
] }),
|
|
42752
|
-
/* @__PURE__ */ R(
|
|
42753
|
+
/* @__PURE__ */ R(XI, { data: s })
|
|
42753
42754
|
] })
|
|
42754
42755
|
] }),
|
|
42755
42756
|
/* @__PURE__ */ Y("div", { className: "border-t border-[color-mix(in_oklab,var(--detail-glass-stroke)_40%,transparent)] pt-2", children: [
|
|
@@ -42802,7 +42803,7 @@ function zR({
|
|
|
42802
42803
|
),
|
|
42803
42804
|
children: [
|
|
42804
42805
|
/* @__PURE__ */ R(
|
|
42805
|
-
|
|
42806
|
+
jI,
|
|
42806
42807
|
{
|
|
42807
42808
|
readings: s.readings,
|
|
42808
42809
|
size: "comfortable",
|
|
@@ -42847,7 +42848,7 @@ function zR({
|
|
|
42847
42848
|
label: T("detail_hero.activeOrders"),
|
|
42848
42849
|
value: String(s.activeOrders),
|
|
42849
42850
|
tone: "neutral",
|
|
42850
|
-
...
|
|
42851
|
+
...JI(s, v, T)
|
|
42851
42852
|
}
|
|
42852
42853
|
),
|
|
42853
42854
|
/* @__PURE__ */ R(
|
|
@@ -42879,7 +42880,7 @@ function zR({
|
|
|
42879
42880
|
}
|
|
42880
42881
|
)
|
|
42881
42882
|
] }),
|
|
42882
|
-
s.kind === "modem" && s.signalStrength !== void 0 && /* @__PURE__ */ R(
|
|
42883
|
+
s.kind === "modem" && s.signalStrength !== void 0 && /* @__PURE__ */ R(tC, { value: s.signalStrength })
|
|
42883
42884
|
] })
|
|
42884
42885
|
] })
|
|
42885
42886
|
]
|
|
@@ -42890,7 +42891,7 @@ function I5(s, u) {
|
|
|
42890
42891
|
const y = s ? new Date(s).getTime() : 0;
|
|
42891
42892
|
return y > 0 ? new Date(y).toLocaleString(Ii(u), { dateStyle: "short", timeStyle: "short" }) : "—";
|
|
42892
42893
|
}
|
|
42893
|
-
const
|
|
42894
|
+
const qI = {
|
|
42894
42895
|
ACTIVE: "ok",
|
|
42895
42896
|
INACTIVE: "warn",
|
|
42896
42897
|
MAINTENANCE: "warn",
|
|
@@ -42903,19 +42904,19 @@ const KI = {
|
|
|
42903
42904
|
CONNECTED: "ok",
|
|
42904
42905
|
DISCONNECTED: "crit",
|
|
42905
42906
|
UNKNOWN: "muted"
|
|
42906
|
-
},
|
|
42907
|
+
}, $I = {
|
|
42907
42908
|
ON: "ok",
|
|
42908
42909
|
OFF: "crit",
|
|
42909
42910
|
UNKNOWN: "warn"
|
|
42910
|
-
},
|
|
42911
|
+
}, YI = {
|
|
42911
42912
|
ON: "ok",
|
|
42912
42913
|
OFF: "crit",
|
|
42913
42914
|
UNKNOWN: "muted",
|
|
42914
42915
|
OPENING: "info",
|
|
42915
42916
|
CLOSING: "amber"
|
|
42916
42917
|
};
|
|
42917
|
-
function
|
|
42918
|
-
const { t: u } = ct(), y = s.status.lifecycle || "UNKNOWN", v = s.lifecycleTone ??
|
|
42918
|
+
function XI({ data: s }) {
|
|
42919
|
+
const { t: u } = ct(), y = s.status.lifecycle || "UNKNOWN", v = s.lifecycleTone ?? qI[y] ?? "muted", I = s.lifecycleLabel ?? u(`detail_status.lifecycle.${y}`, { defaultValue: y }), M = s.kind === "modem" && s.status.network ? Object.prototype.hasOwnProperty.call(C5, s.status.network) ? s.status.network : "UNKNOWN" : null, T = s.status.power ? $I[s.status.power] : null, l = s.status.power ? u(`detail_status.power.${s.status.power}`, { defaultValue: s.status.power }) : null, L = s.kind === "meter" && s.status.disconnection ? YI[s.status.disconnection] : null, G = s.kind === "meter" && s.status.disconnection ? u(`detail_status.disconnection.${s.status.disconnection}`, { defaultValue: s.status.disconnection }) : null;
|
|
42919
42920
|
return /* @__PURE__ */ Y("div", { className: "mt-1 flex flex-wrap items-center gap-1.5", children: [
|
|
42920
42921
|
/* @__PURE__ */ R(Jd, { tone: v, label: I }),
|
|
42921
42922
|
M && /* @__PURE__ */ R(Jd, { tone: C5[M], label: u(`detail_status.network.${M}`) }),
|
|
@@ -42941,20 +42942,20 @@ function Jd({ tone: s, label: u }) {
|
|
|
42941
42942
|
u
|
|
42942
42943
|
] });
|
|
42943
42944
|
}
|
|
42944
|
-
const
|
|
42945
|
+
const QI = {
|
|
42945
42946
|
SUITABLE: "ok",
|
|
42946
42947
|
NO_ORDERS: "muted",
|
|
42947
42948
|
NOT_SUITABLE: "crit",
|
|
42948
42949
|
UNKNOWN: "amber"
|
|
42949
42950
|
};
|
|
42950
|
-
function
|
|
42951
|
+
function JI(s, u, y) {
|
|
42951
42952
|
const v = s.kind === "modem" ? s.orderSuitability ?? null : null, I = s.kind === "modem" ? s.activeOrdersByPriority ?? null : null;
|
|
42952
42953
|
let M, T = null;
|
|
42953
42954
|
if (v) {
|
|
42954
42955
|
const K = y(`detail_hero.orderSuitability.status.${v.status}`, {
|
|
42955
42956
|
defaultValue: v.status
|
|
42956
42957
|
}), ie = v.hasNetworkAccess ? y("detail_hero.orderSuitability.accessYes", { defaultValue: "Erişim Var" }) : y("detail_hero.orderSuitability.accessNo", { defaultValue: "Erişim Yok" });
|
|
42957
|
-
T = `${K} · ${ie}`, M = { tone:
|
|
42958
|
+
T = `${K} · ${ie}`, M = { tone: QI[v.status] ?? "amber", label: T };
|
|
42958
42959
|
}
|
|
42959
42960
|
if (u !== void 0) return { indicator: M, tooltip: u };
|
|
42960
42961
|
if (!v && !I) return M ? { indicator: M } : {};
|
|
@@ -42970,7 +42971,7 @@ function XI(s, u, y) {
|
|
|
42970
42971
|
].filter(Boolean), G = /* @__PURE__ */ R("span", { className: "flex flex-col gap-0.5", children: L.map((K, ie) => /* @__PURE__ */ R("span", { className: ie === 0 && T ? "font-semibold" : void 0, children: K }, ie)) }), W = L.map((K) => /[.!?…]$/.test(K) ? K : `${K}.`).join(" ");
|
|
42971
42972
|
return { indicator: M, tooltip: G, description: W };
|
|
42972
42973
|
}
|
|
42973
|
-
const
|
|
42974
|
+
const eC = {
|
|
42974
42975
|
ok: "bg-[var(--detail-status-ok)]",
|
|
42975
42976
|
warn: "bg-[var(--detail-status-warn)]",
|
|
42976
42977
|
crit: "bg-[var(--detail-status-crit)]",
|
|
@@ -43017,7 +43018,7 @@ function l0({ icon: s, label: u, value: y, unit: v, tone: I, indicator: M, toolt
|
|
|
43017
43018
|
{
|
|
43018
43019
|
"aria-hidden": "true",
|
|
43019
43020
|
"data-tone": M.tone,
|
|
43020
|
-
className: Ke("h-2 w-2 shrink-0 rounded-full",
|
|
43021
|
+
className: Ke("h-2 w-2 shrink-0 rounded-full", eC[M.tone])
|
|
43021
43022
|
}
|
|
43022
43023
|
),
|
|
43023
43024
|
M && !G && /* @__PURE__ */ R("span", { className: "sr-only", children: M.label })
|
|
@@ -43030,7 +43031,7 @@ function l0({ icon: s, label: u, value: y, unit: v, tone: I, indicator: M, toolt
|
|
|
43030
43031
|
);
|
|
43031
43032
|
return G ? /* @__PURE__ */ R(Po, { content: T, children: K }) : K;
|
|
43032
43033
|
}
|
|
43033
|
-
function
|
|
43034
|
+
function tC({ value: s }) {
|
|
43034
43035
|
const y = Math.round(s / 100 * 12);
|
|
43035
43036
|
return /* @__PURE__ */ Y("div", { className: "mt-1 flex flex-col gap-1", children: [
|
|
43036
43037
|
/* @__PURE__ */ Y("div", { className: "flex items-center justify-between text-[9px] tracking-[0.14em] text-[var(--ops-fg-muted)] uppercase", children: [
|
|
@@ -43063,7 +43064,7 @@ function JI({ value: s }) {
|
|
|
43063
43064
|
}) })
|
|
43064
43065
|
] });
|
|
43065
43066
|
}
|
|
43066
|
-
function
|
|
43067
|
+
function VR({
|
|
43067
43068
|
palette: s = "cyan",
|
|
43068
43069
|
children: u,
|
|
43069
43070
|
tabs: y,
|
|
@@ -43214,7 +43215,7 @@ function m8(s) {
|
|
|
43214
43215
|
}
|
|
43215
43216
|
return [];
|
|
43216
43217
|
}
|
|
43217
|
-
function
|
|
43218
|
+
function rC(s) {
|
|
43218
43219
|
if (!s) return "UNKNOWN";
|
|
43219
43220
|
switch (s) {
|
|
43220
43221
|
case "INSTALLED":
|
|
@@ -43232,7 +43233,7 @@ function eC(s) {
|
|
|
43232
43233
|
return s;
|
|
43233
43234
|
}
|
|
43234
43235
|
}
|
|
43235
|
-
function
|
|
43236
|
+
function aC(s) {
|
|
43236
43237
|
switch (s) {
|
|
43237
43238
|
case "ONLINE":
|
|
43238
43239
|
return "CONNECTED";
|
|
@@ -43244,7 +43245,7 @@ function tC(s) {
|
|
|
43244
43245
|
return "UNKNOWN";
|
|
43245
43246
|
}
|
|
43246
43247
|
}
|
|
43247
|
-
function
|
|
43248
|
+
function iC(s) {
|
|
43248
43249
|
switch (s) {
|
|
43249
43250
|
case "GRID_OK":
|
|
43250
43251
|
return "ON";
|
|
@@ -43261,7 +43262,7 @@ function rC(s) {
|
|
|
43261
43262
|
return "UNKNOWN";
|
|
43262
43263
|
}
|
|
43263
43264
|
}
|
|
43264
|
-
function
|
|
43265
|
+
function nC(s) {
|
|
43265
43266
|
if (!s) return "UNKNOWN";
|
|
43266
43267
|
switch (s) {
|
|
43267
43268
|
case "ACTIVE":
|
|
@@ -43286,7 +43287,7 @@ function aC(s) {
|
|
|
43286
43287
|
return s;
|
|
43287
43288
|
}
|
|
43288
43289
|
}
|
|
43289
|
-
function
|
|
43290
|
+
function UR(s, u) {
|
|
43290
43291
|
var I, M, T, l, L, G;
|
|
43291
43292
|
const y = u == null ? void 0 : u.commHealth, v = m8(u == null ? void 0 : u.timeline);
|
|
43292
43293
|
return {
|
|
@@ -43307,9 +43308,9 @@ function BR(s, u) {
|
|
|
43307
43308
|
location: h8(s.locationGroup),
|
|
43308
43309
|
tags: p8(s.tags),
|
|
43309
43310
|
status: {
|
|
43310
|
-
lifecycle:
|
|
43311
|
-
network:
|
|
43312
|
-
power:
|
|
43311
|
+
lifecycle: rC(s.lifecycleStatus),
|
|
43312
|
+
network: aC(s.networkStatus),
|
|
43313
|
+
power: iC(s.powerStatus)
|
|
43313
43314
|
},
|
|
43314
43315
|
// NB-DETAIL-NETWORK-01 (FIX-882, K1): "Son Okuma" is the newest reading of the meters linked to the unit
|
|
43315
43316
|
// (`lastReadDate`). `lastSeen`, which the API never sent, is only the old path's fallback.
|
|
@@ -43337,7 +43338,7 @@ function BR(s, u) {
|
|
|
43337
43338
|
readings: y ? c8(y.slice(-31)) : []
|
|
43338
43339
|
};
|
|
43339
43340
|
}
|
|
43340
|
-
function
|
|
43341
|
+
function GR(s, u) {
|
|
43341
43342
|
var M, T, l, L, G, W;
|
|
43342
43343
|
const y = u == null ? void 0 : u.heatmap, v = m8(u == null ? void 0 : u.timeline), I = (u == null ? void 0 : u.meterTypeLabel) ?? (s.phaseType === "THREE_PHASE" ? "3-Faz Aktif/Reaktif" : "Mono-Faz");
|
|
43343
43344
|
return {
|
|
@@ -43351,7 +43352,7 @@ function VR(s, u) {
|
|
|
43351
43352
|
location: h8(s.locationGroup),
|
|
43352
43353
|
tags: p8(s.tags),
|
|
43353
43354
|
status: {
|
|
43354
|
-
lifecycle:
|
|
43355
|
+
lifecycle: nC(s.status),
|
|
43355
43356
|
network: s.connectionStatus,
|
|
43356
43357
|
// STORY-242 (D-238-D2): coerce null/missing → "UNKNOWN" (D-238-D9 FE-side)
|
|
43357
43358
|
disconnection: ((T = s.disconnection) == null ? void 0 : T.status) ?? "UNKNOWN"
|
|
@@ -43367,7 +43368,7 @@ function VR(s, u) {
|
|
|
43367
43368
|
readings: y ? c8(y) : []
|
|
43368
43369
|
};
|
|
43369
43370
|
}
|
|
43370
|
-
const
|
|
43371
|
+
const sC = ["QUEUED", "RUNNING"], Z3 = (s) => sC.includes(s.status), oC = {
|
|
43371
43372
|
QUEUED: "info",
|
|
43372
43373
|
RUNNING: "info",
|
|
43373
43374
|
COMPLETED: "success",
|
|
@@ -43381,7 +43382,7 @@ function f8(s, u) {
|
|
|
43381
43382
|
const y = Math.min(1, u.processedRows / u.totalRows);
|
|
43382
43383
|
return _2(s, y * 100);
|
|
43383
43384
|
}
|
|
43384
|
-
function
|
|
43385
|
+
function lC(s, u) {
|
|
43385
43386
|
if (u == null || !Number.isFinite(u) || u < 0) return null;
|
|
43386
43387
|
const y = ["B", "KB", "MB", "GB", "TB"];
|
|
43387
43388
|
let v = u, I = 0;
|
|
@@ -43390,11 +43391,11 @@ function sC(s, u) {
|
|
|
43390
43391
|
const M = Ii(s), T = I === 0 ? 0 : 1;
|
|
43391
43392
|
return `${v.toLocaleString(M, { minimumFractionDigits: T, maximumFractionDigits: T })} ${y[I]}`;
|
|
43392
43393
|
}
|
|
43393
|
-
function
|
|
43394
|
+
function cC(s, u) {
|
|
43394
43395
|
const y = Ii(s), v = u.processedRows.toLocaleString(y);
|
|
43395
43396
|
return u.totalRows == null ? v : `${v} / ${u.totalRows.toLocaleString(y)}`;
|
|
43396
43397
|
}
|
|
43397
|
-
function
|
|
43398
|
+
function uC(s, u) {
|
|
43398
43399
|
switch (u) {
|
|
43399
43400
|
case "QUEUED":
|
|
43400
43401
|
return s("export_job.status_queued", { defaultValue: "Sırada" });
|
|
@@ -43460,19 +43461,19 @@ function g8(s) {
|
|
|
43460
43461
|
for (const y of s.matchAll(/(\w+)=([^,}]+)/g)) u[y[1]] = y[2].trim();
|
|
43461
43462
|
return u;
|
|
43462
43463
|
}
|
|
43463
|
-
function
|
|
43464
|
+
function dC(s, u) {
|
|
43464
43465
|
if (u.status !== "FAILED" || !u.errorCode) return null;
|
|
43465
43466
|
const y = Mh(s, u.errorCode, g8(u.errorMessage));
|
|
43466
43467
|
return s("export_job.hata_satiri", { code: u.errorCode, message: y, defaultValue: "Kod: {{code}}, Hata: {{message}}" });
|
|
43467
43468
|
}
|
|
43468
43469
|
const uu = "/api/exports/jobs";
|
|
43469
|
-
function
|
|
43470
|
+
function hC(s) {
|
|
43470
43471
|
return qn(uu, s);
|
|
43471
43472
|
}
|
|
43472
|
-
function
|
|
43473
|
+
function pC(s, u) {
|
|
43473
43474
|
return ai(`${uu}/${s}`, void 0, u ? { signal: u } : void 0);
|
|
43474
43475
|
}
|
|
43475
|
-
function
|
|
43476
|
+
function mC(s, u, y) {
|
|
43476
43477
|
return ai(uu, { scope: s, page: String(u), size: String(y) });
|
|
43477
43478
|
}
|
|
43478
43479
|
function y8(s) {
|
|
@@ -43487,7 +43488,7 @@ async function _8(s, u) {
|
|
|
43487
43488
|
if (v.type.includes("json")) {
|
|
43488
43489
|
let M;
|
|
43489
43490
|
try {
|
|
43490
|
-
M = JSON.parse(await
|
|
43491
|
+
M = JSON.parse(await gC(v));
|
|
43491
43492
|
} catch {
|
|
43492
43493
|
return { ok: !1, error: { code: "EXPORT_DOWNLOAD_FAILED" } };
|
|
43493
43494
|
}
|
|
@@ -43497,33 +43498,33 @@ async function _8(s, u) {
|
|
|
43497
43498
|
}
|
|
43498
43499
|
function v8(s, u = {}) {
|
|
43499
43500
|
if (s.kind === "link") {
|
|
43500
|
-
|
|
43501
|
+
_C(s.url, u.onFailed);
|
|
43501
43502
|
return;
|
|
43502
43503
|
}
|
|
43503
43504
|
const y = URL.createObjectURL(s.blob);
|
|
43504
43505
|
try {
|
|
43505
|
-
|
|
43506
|
+
vC(y, s.fileName);
|
|
43506
43507
|
} finally {
|
|
43507
43508
|
setTimeout(() => URL.revokeObjectURL(y), 0);
|
|
43508
43509
|
}
|
|
43509
43510
|
}
|
|
43510
|
-
async function
|
|
43511
|
+
async function fC(s, u, y) {
|
|
43511
43512
|
const v = await _8(s, u);
|
|
43512
43513
|
return v.ok ? (v8(v.download, y), { ok: !0 }) : v;
|
|
43513
43514
|
}
|
|
43514
|
-
function
|
|
43515
|
+
function gC(s) {
|
|
43515
43516
|
return typeof s.text == "function" ? s.text() : new Promise((u, y) => {
|
|
43516
43517
|
const v = new FileReader();
|
|
43517
43518
|
v.onload = () => u(typeof v.result == "string" ? v.result : ""), v.onerror = () => y(v.error), v.readAsText(s);
|
|
43518
43519
|
});
|
|
43519
43520
|
}
|
|
43520
|
-
const
|
|
43521
|
-
function
|
|
43521
|
+
const yC = 6e4;
|
|
43522
|
+
function _C(s, u) {
|
|
43522
43523
|
const y = document.createElement("iframe");
|
|
43523
43524
|
y.dataset.exportDownload = "", y.setAttribute("aria-hidden", "true"), y.tabIndex = -1, y.style.display = "none", y.src = s;
|
|
43524
43525
|
const v = () => {
|
|
43525
43526
|
clearTimeout(I), y.remove();
|
|
43526
|
-
}, I = setTimeout(v,
|
|
43527
|
+
}, I = setTimeout(v, yC);
|
|
43527
43528
|
y.addEventListener(
|
|
43528
43529
|
"load",
|
|
43529
43530
|
() => {
|
|
@@ -43532,7 +43533,7 @@ function gC(s, u) {
|
|
|
43532
43533
|
{ once: !0 }
|
|
43533
43534
|
), document.body.appendChild(y);
|
|
43534
43535
|
}
|
|
43535
|
-
function
|
|
43536
|
+
function vC(s, u) {
|
|
43536
43537
|
const y = document.createElement("a");
|
|
43537
43538
|
y.href = s, y.rel = "noopener", u && (y.download = u), y.style.display = "none", document.body.appendChild(y);
|
|
43538
43539
|
try {
|
|
@@ -43541,14 +43542,14 @@ function yC(s, u) {
|
|
|
43541
43542
|
y.remove();
|
|
43542
43543
|
}
|
|
43543
43544
|
}
|
|
43544
|
-
const
|
|
43545
|
+
const bC = ["starting", "running", "downloading"];
|
|
43545
43546
|
function Kc(s) {
|
|
43546
43547
|
!s || s.over || (s.over = !0, s.pollTimer !== null && clearTimeout(s.pollTimer), s.deadlineTimer !== null && clearTimeout(s.deadlineTimer), s.abort.abort());
|
|
43547
43548
|
}
|
|
43548
43549
|
function M5(s, u, y) {
|
|
43549
43550
|
return s.current === y && !y.over && u.current;
|
|
43550
43551
|
}
|
|
43551
|
-
function
|
|
43552
|
+
function xC({
|
|
43552
43553
|
pollIntervalMs: s = 2e3,
|
|
43553
43554
|
waitMs: u = 3e4,
|
|
43554
43555
|
onPhaseChange: y,
|
|
@@ -43572,7 +43573,7 @@ function vC({
|
|
|
43572
43573
|
}, 0);
|
|
43573
43574
|
}), []);
|
|
43574
43575
|
const ye = kt(async (oe) => {
|
|
43575
|
-
if (
|
|
43576
|
+
if (bC.includes(l.current)) return;
|
|
43576
43577
|
Kc(T.current);
|
|
43577
43578
|
const te = {
|
|
43578
43579
|
abort: new AbortController(),
|
|
@@ -43597,7 +43598,7 @@ function vC({
|
|
|
43597
43598
|
}, u);
|
|
43598
43599
|
const pe = async () => {
|
|
43599
43600
|
if (te.pollTimer = null, !fe(te) || te.jobId === null) return;
|
|
43600
|
-
const he = await
|
|
43601
|
+
const he = await pC(te.jobId, te.abort.signal);
|
|
43601
43602
|
if (!fe(te)) return;
|
|
43602
43603
|
if (he.status === "error" || !he.data) {
|
|
43603
43604
|
J(he.error ?? { code: "EXPORT_POLL_FAILED" });
|
|
@@ -43644,7 +43645,7 @@ function vC({
|
|
|
43644
43645
|
};
|
|
43645
43646
|
await be(async () => {
|
|
43646
43647
|
var $;
|
|
43647
|
-
const he = await
|
|
43648
|
+
const he = await hC(oe);
|
|
43648
43649
|
if (!fe(te)) return;
|
|
43649
43650
|
const we = he.status === "success" ? ($ = he.data) == null ? void 0 : $.jobId : void 0;
|
|
43650
43651
|
if (typeof we != "number") {
|
|
@@ -43670,10 +43671,10 @@ function vC({
|
|
|
43670
43671
|
}, [ie]);
|
|
43671
43672
|
return { state: I, start: ye, cancel: xe, reset: de };
|
|
43672
43673
|
}
|
|
43673
|
-
const
|
|
43674
|
-
function
|
|
43674
|
+
const TC = ["XLSX", "CSV", "PDF"], EC = 1e4;
|
|
43675
|
+
function ZR({
|
|
43675
43676
|
getRequest: s,
|
|
43676
|
-
formats: u =
|
|
43677
|
+
formats: u = TC,
|
|
43677
43678
|
totalRows: y,
|
|
43678
43679
|
pdfMaxRows: v = 1e4,
|
|
43679
43680
|
label: I,
|
|
@@ -43691,8 +43692,8 @@ function UR({
|
|
|
43691
43692
|
label: G.label ?? fe("export_job.gecmisi_ac", { defaultValue: "İndirme Geçmişi'ni aç" }),
|
|
43692
43693
|
onClick: G.onOpen
|
|
43693
43694
|
},
|
|
43694
|
-
duration:
|
|
43695
|
-
} : void 0, { state: $, start: Z } =
|
|
43695
|
+
duration: EC
|
|
43696
|
+
} : void 0, { state: $, start: Z } = xC({
|
|
43696
43697
|
pollIntervalMs: T,
|
|
43697
43698
|
waitMs: l,
|
|
43698
43699
|
onDownloadFailed: () => {
|
|
@@ -43807,7 +43808,7 @@ function UR({
|
|
|
43807
43808
|
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
43808
43809
|
),
|
|
43809
43810
|
children: [
|
|
43810
|
-
/* @__PURE__ */ R("span", { children:
|
|
43811
|
+
/* @__PURE__ */ R("span", { children: wC(fe, nt) }),
|
|
43811
43812
|
mt && /* @__PURE__ */ R("span", { className: "text-[length:var(--font-xs)] text-[var(--color-text-secondary)]", children: Xe })
|
|
43812
43813
|
]
|
|
43813
43814
|
},
|
|
@@ -43822,7 +43823,7 @@ function UR({
|
|
|
43822
43823
|
function R5(s) {
|
|
43823
43824
|
return s ? Array.from(s.querySelectorAll('[role="menuitem"]:not(:disabled)')) : [];
|
|
43824
43825
|
}
|
|
43825
|
-
function
|
|
43826
|
+
function wC(s, u) {
|
|
43826
43827
|
switch (u) {
|
|
43827
43828
|
case "XLSX":
|
|
43828
43829
|
return s("export_job.format_xlsx", { defaultValue: "Excel (XLSX)" });
|
|
@@ -43834,16 +43835,16 @@ function TC(s, u) {
|
|
|
43834
43835
|
return u;
|
|
43835
43836
|
}
|
|
43836
43837
|
}
|
|
43837
|
-
function
|
|
43838
|
+
function AC({ status: s, label: u, className: y }) {
|
|
43838
43839
|
const { t: v } = ct();
|
|
43839
|
-
return /* @__PURE__ */ R(Ns, { variant:
|
|
43840
|
+
return /* @__PURE__ */ R(Ns, { variant: oC[s] ?? "default", dot: !0, pulse: s === "RUNNING", className: y, children: u ?? uC(v, s) });
|
|
43840
43841
|
}
|
|
43841
43842
|
const k5 = [25, 50, 100];
|
|
43842
43843
|
function P5(s) {
|
|
43843
43844
|
const u = Number.isFinite(s) ? Math.min(100, Math.max(1, Math.round(s))) : k5[0];
|
|
43844
43845
|
return k5.find((y) => y >= u) ?? 100;
|
|
43845
43846
|
}
|
|
43846
|
-
function
|
|
43847
|
+
function jR({
|
|
43847
43848
|
scope: s = "own",
|
|
43848
43849
|
pageSize: u = 25,
|
|
43849
43850
|
renderOwner: y,
|
|
@@ -43857,7 +43858,7 @@ function GR({
|
|
|
43857
43858
|
queryKey: Se.exportJobs.list(s, L, W),
|
|
43858
43859
|
queryFn: async () => {
|
|
43859
43860
|
var Q, ge, ke, Ue;
|
|
43860
|
-
const Z = await
|
|
43861
|
+
const Z = await mC(s, L, W);
|
|
43861
43862
|
if (Z.status === "error")
|
|
43862
43863
|
throw Object.assign(new Error(((Q = Z.error) == null ? void 0 : Q.code) ?? "EXPORT_LIST_FAILED"), { apiError: Z.error });
|
|
43863
43864
|
return {
|
|
@@ -43875,7 +43876,7 @@ function GR({
|
|
|
43875
43876
|
}), oe = () => l.invalidateQueries({ queryKey: Se.exportJobs.all }), te = async (Z) => {
|
|
43876
43877
|
if (ye(Z.id))
|
|
43877
43878
|
try {
|
|
43878
|
-
const ge = await
|
|
43879
|
+
const ge = await fC(Z, void 0, { onFailed: () => Ai.error(M("export_job.gecmis_indirme_basarisiz", { defaultValue: "Dosya indirilemedi. Biraz sonra tekrar deneyin." })) });
|
|
43879
43880
|
if (!ge.ok) {
|
|
43880
43881
|
Ai.error(u2(M, ge.error)), oe();
|
|
43881
43882
|
return;
|
|
@@ -43922,7 +43923,7 @@ function GR({
|
|
|
43922
43923
|
id: "status",
|
|
43923
43924
|
header: M("export_job.kolon_durum", { defaultValue: "Durum" }),
|
|
43924
43925
|
cell: ({ row: ge }) => /* @__PURE__ */ Y("div", { className: "flex flex-col items-start gap-[2px]", children: [
|
|
43925
|
-
/* @__PURE__ */ R(
|
|
43926
|
+
/* @__PURE__ */ R(AC, { status: ge.original.status }),
|
|
43926
43927
|
ge.original.cancelRequested && Z3(ge.original) && /* @__PURE__ */ R("span", { className: "text-[length:var(--font-xs)] text-[var(--color-text-secondary)]", children: M("export_job.iptal_istendi", { defaultValue: "İptal istendi" }) })
|
|
43927
43928
|
] })
|
|
43928
43929
|
},
|
|
@@ -43934,18 +43935,18 @@ function GR({
|
|
|
43934
43935
|
{
|
|
43935
43936
|
id: "rows",
|
|
43936
43937
|
header: M("export_job.kolon_kayit", { defaultValue: "Kayıt" }),
|
|
43937
|
-
cell: ({ row: ge }) => /* @__PURE__ */ R("span", { className: "tabular-nums", children:
|
|
43938
|
+
cell: ({ row: ge }) => /* @__PURE__ */ R("span", { className: "tabular-nums", children: cC(T, ge.original) })
|
|
43938
43939
|
},
|
|
43939
43940
|
{
|
|
43940
43941
|
id: "size",
|
|
43941
43942
|
header: M("export_job.kolon_boyut", { defaultValue: "Boyut" }),
|
|
43942
|
-
cell: ({ row: ge }) =>
|
|
43943
|
+
cell: ({ row: ge }) => lC(T, ge.original.sizeBytes) ?? "--"
|
|
43943
43944
|
},
|
|
43944
43945
|
{
|
|
43945
43946
|
id: "error",
|
|
43946
43947
|
header: M("export_job.kolon_hata", { defaultValue: "Hata" }),
|
|
43947
43948
|
cell: ({ row: ge }) => {
|
|
43948
|
-
const ke =
|
|
43949
|
+
const ke = dC(M, ge.original);
|
|
43949
43950
|
return ke ? /* @__PURE__ */ R("span", { className: "text-[var(--color-status-danger-text,var(--error))]", children: ke }) : null;
|
|
43950
43951
|
}
|
|
43951
43952
|
},
|
|
@@ -44019,80 +44020,80 @@ function GR({
|
|
|
44019
44020
|
);
|
|
44020
44021
|
}
|
|
44021
44022
|
export {
|
|
44022
|
-
|
|
44023
|
-
|
|
44024
|
-
|
|
44023
|
+
OR as AUTH_INPUT_STYLE,
|
|
44024
|
+
ER as AtmosphericBackdrop,
|
|
44025
|
+
DR as BrandMark,
|
|
44025
44026
|
NS as CalendarRings,
|
|
44026
|
-
|
|
44027
|
-
|
|
44027
|
+
JM as CommHealthGrid,
|
|
44028
|
+
HM as CronBuilder,
|
|
44028
44029
|
ks as DEFAULT_NOTIFICATION_SOURCE_ID,
|
|
44029
|
-
|
|
44030
|
-
|
|
44031
|
-
|
|
44032
|
-
|
|
44033
|
-
|
|
44030
|
+
TR as DashboardHero,
|
|
44031
|
+
XM as DashboardWidget,
|
|
44032
|
+
QM as DashboardWidgetGrid,
|
|
44033
|
+
PR as DataFlowScene,
|
|
44034
|
+
tR as DetailActions,
|
|
44034
44035
|
XE as DetailContentBlock,
|
|
44035
44036
|
Gm as DetailFieldGrid,
|
|
44036
44037
|
Co as DetailFieldRow,
|
|
44037
|
-
|
|
44038
|
+
GI as DetailLayoutBody,
|
|
44038
44039
|
YE as DetailPill,
|
|
44039
44040
|
f0 as DetailSection,
|
|
44040
|
-
|
|
44041
|
-
|
|
44041
|
+
VR as DetailShellFrame,
|
|
44042
|
+
ZM as DetailTile,
|
|
44042
44043
|
cE as EVENT_TYPE_OPTIONS,
|
|
44043
44044
|
uu as EXPORT_JOBS_PATH,
|
|
44044
|
-
|
|
44045
|
-
|
|
44046
|
-
|
|
44045
|
+
ZR as ExportButton,
|
|
44046
|
+
jR as ExportHistoryTable,
|
|
44047
|
+
AC as ExportJobStatusBadge,
|
|
44047
44048
|
qc as FLOW_RATE_CEILING,
|
|
44048
|
-
|
|
44049
|
-
|
|
44050
|
-
|
|
44051
|
-
|
|
44052
|
-
|
|
44053
|
-
|
|
44054
|
-
|
|
44055
|
-
|
|
44056
|
-
|
|
44057
|
-
|
|
44058
|
-
|
|
44059
|
-
|
|
44049
|
+
LR as ForgotPasswordForm,
|
|
44050
|
+
mR as FormFieldRow,
|
|
44051
|
+
pR as FormFieldStack,
|
|
44052
|
+
hR as FormSection,
|
|
44053
|
+
fR as FormSectionGroup,
|
|
44054
|
+
rR as FormSheet,
|
|
44055
|
+
kR as GradientMeshScene,
|
|
44056
|
+
sR as HealthScoreGauge,
|
|
44057
|
+
OM as HeatmapCalendar,
|
|
44058
|
+
uR as HourStrip,
|
|
44059
|
+
dR as HourlyGridLegend,
|
|
44060
|
+
cR as HourlyMonthGrid,
|
|
44060
44061
|
cn as InfoChip,
|
|
44061
44062
|
bS as IntegrationHealth,
|
|
44062
44063
|
VS as KesintiView,
|
|
44063
|
-
|
|
44064
|
-
|
|
44065
|
-
|
|
44066
|
-
|
|
44064
|
+
eR as ListDetailPanel,
|
|
44065
|
+
UM as LiveMonitorPanel,
|
|
44066
|
+
MR as LoginCanvas,
|
|
44067
|
+
RR as LoginForm,
|
|
44067
44068
|
cg as METER_ORDER_CATEGORIES,
|
|
44068
|
-
|
|
44069
|
-
|
|
44070
|
-
|
|
44069
|
+
LC as MODEM_ORDER_CATEGORIES,
|
|
44070
|
+
WM as MapView,
|
|
44071
|
+
LM as MeterStatusBadge,
|
|
44071
44072
|
o_ as MockAdapter,
|
|
44072
|
-
|
|
44073
|
-
|
|
44074
|
-
|
|
44073
|
+
DM as ModemStatusBadge,
|
|
44074
|
+
iR as MonitoringSparkline,
|
|
44075
|
+
qM as NotificationBell,
|
|
44075
44076
|
ug as ORDER_CATEGORY_LABELS,
|
|
44076
44077
|
r4 as ORDER_CATEGORY_MAP,
|
|
44077
44078
|
w2 as ORDER_TYPE_LABELS,
|
|
44078
|
-
|
|
44079
|
-
|
|
44079
|
+
GM as OrderCreateSheet,
|
|
44080
|
+
jM as OrderDetailSheet,
|
|
44080
44081
|
Ex as OrderStatusBadge,
|
|
44081
44082
|
MS as OutageTrend24h,
|
|
44082
|
-
|
|
44083
|
+
UI as PALETTES,
|
|
44083
44084
|
a8 as PROVINCE_NAMES,
|
|
44084
44085
|
uS as ParseErrorDonut,
|
|
44085
44086
|
oS as PipelineFunnel,
|
|
44086
44087
|
cx as REGION_DETAIL_KEY,
|
|
44087
44088
|
dx as REGION_OUTAGE_TREND_KEY,
|
|
44088
|
-
|
|
44089
|
-
|
|
44089
|
+
jI as ReadingHeatmap,
|
|
44090
|
+
aR as ReadonlySheet,
|
|
44090
44091
|
cb as RealAdapter,
|
|
44091
|
-
|
|
44092
|
+
$M as RealTimeStatusBar,
|
|
44092
44093
|
QS as RegionInsightPanel,
|
|
44093
|
-
|
|
44094
|
+
zR as ResetPasswordForm,
|
|
44094
44095
|
da as SectionHeader,
|
|
44095
|
-
|
|
44096
|
+
zM as SignalStrengthBar,
|
|
44096
44097
|
gS as SimOpRanking,
|
|
44097
44098
|
qS as SimView,
|
|
44098
44099
|
KS as SinyalView,
|
|
@@ -44101,109 +44102,109 @@ export {
|
|
|
44101
44102
|
z4 as SlugLink,
|
|
44102
44103
|
Jd as StatusPill,
|
|
44103
44104
|
dg as TERMINAL_STATUSES,
|
|
44104
|
-
|
|
44105
|
-
|
|
44106
|
-
|
|
44107
|
-
|
|
44108
|
-
|
|
44109
|
-
|
|
44110
|
-
|
|
44111
|
-
|
|
44105
|
+
CR as TURKEY_PROVINCES_GEOJSON,
|
|
44106
|
+
FM as TagList,
|
|
44107
|
+
WI as TagRail,
|
|
44108
|
+
oR as TimeWindowToggle,
|
|
44109
|
+
VM as Timeline,
|
|
44110
|
+
BM as TimelineView,
|
|
44111
|
+
lR as TopErrorCodesMini,
|
|
44112
|
+
BR as TriColumnSymmetric,
|
|
44112
44113
|
fI as TurkeyMap,
|
|
44113
|
-
|
|
44114
|
-
|
|
44115
|
-
|
|
44116
|
-
|
|
44117
|
-
|
|
44114
|
+
NM as VALID_LAYERS,
|
|
44115
|
+
IR as ZoneA,
|
|
44116
|
+
SR as ZoneAPlaceholder,
|
|
44117
|
+
wR as ZoneB,
|
|
44118
|
+
AR as ZoneC,
|
|
44118
44119
|
lu as api,
|
|
44119
|
-
|
|
44120
|
+
aM as apiDelete,
|
|
44120
44121
|
ai as apiGet,
|
|
44121
44122
|
qn as apiPost,
|
|
44122
44123
|
w4 as apiPut,
|
|
44123
|
-
|
|
44124
|
+
iM as apiSearch,
|
|
44124
44125
|
ng as buildDataPerformanceV2,
|
|
44125
|
-
|
|
44126
|
-
|
|
44127
|
-
|
|
44128
|
-
|
|
44126
|
+
yR as buildFlowEdgeRates,
|
|
44127
|
+
_R as buildNetworkHealthMap,
|
|
44128
|
+
nM as buildSearchRequest,
|
|
44129
|
+
CM as buildSlug,
|
|
44129
44130
|
Tg as buildWorkPerfProblems,
|
|
44130
44131
|
bA as buildWorkPerfPushThresholds,
|
|
44131
44132
|
gg as buildWorkPerfThresholds,
|
|
44132
|
-
|
|
44133
|
+
gR as buildWorkPerformancePush,
|
|
44133
44134
|
Og as buildWorkPerformanceV2,
|
|
44134
44135
|
hS as calendarRingsFromCalendars,
|
|
44135
44136
|
y8 as cancelExportJob,
|
|
44136
|
-
|
|
44137
|
-
|
|
44137
|
+
rM as configureApi,
|
|
44138
|
+
hC as createExportJob,
|
|
44138
44139
|
H9 as dashboardMockSlices,
|
|
44139
44140
|
d8 as deriveReadingRatePercent,
|
|
44140
44141
|
u8 as deriveUptimePercent,
|
|
44141
|
-
|
|
44142
|
+
fC as downloadExportJob,
|
|
44142
44143
|
ix as enumValuesQueryOptions,
|
|
44143
44144
|
xg as evaluateWorkPerfAttentionRules,
|
|
44144
44145
|
MA as evaluateWorkPerfPushAttentionRules,
|
|
44145
44146
|
ax as fetchEnumValues,
|
|
44146
44147
|
_8 as fetchExportDownload,
|
|
44147
|
-
|
|
44148
|
-
|
|
44148
|
+
vR as fetchLocationsMap,
|
|
44149
|
+
xR as fetchNetworkHealthMap,
|
|
44149
44150
|
gx as formatOrderReason,
|
|
44150
|
-
|
|
44151
|
+
FR as formatPercentTR,
|
|
44151
44152
|
hb as getErrorI18nKey,
|
|
44152
|
-
|
|
44153
|
-
|
|
44154
|
-
|
|
44153
|
+
pC as getExportJob,
|
|
44154
|
+
NR as getPalette,
|
|
44155
|
+
MM as getSlugFlag,
|
|
44155
44156
|
cw as hasCronDayOrSemantics,
|
|
44156
44157
|
c8 as heatmapDaysToReadings,
|
|
44157
44158
|
fx as isOrderReasonCodeFormat,
|
|
44158
|
-
|
|
44159
|
-
|
|
44160
|
-
|
|
44161
|
-
|
|
44162
|
-
|
|
44159
|
+
KM as isValidCronExpression,
|
|
44160
|
+
mC as listExportJobs,
|
|
44161
|
+
bR as mapToModemPoints,
|
|
44162
|
+
GR as meterRowToDetailEntity,
|
|
44163
|
+
UR as modemRowToDetailEntity,
|
|
44163
44164
|
y2 as navigateTo,
|
|
44164
|
-
|
|
44165
|
-
|
|
44166
|
-
|
|
44167
|
-
|
|
44168
|
-
|
|
44165
|
+
oM as normalizeApiStatsSummary,
|
|
44166
|
+
fM as normalizeCalendars,
|
|
44167
|
+
cM as normalizeFleetHealth,
|
|
44168
|
+
bM as normalizeIntegrationHealth,
|
|
44169
|
+
gM as normalizeMapLayers,
|
|
44169
44170
|
xm as normalizeNotificationItem,
|
|
44170
|
-
|
|
44171
|
-
|
|
44172
|
-
|
|
44173
|
-
|
|
44174
|
-
|
|
44175
|
-
|
|
44176
|
-
|
|
44177
|
-
|
|
44178
|
-
|
|
44179
|
-
|
|
44180
|
-
|
|
44171
|
+
sM as normalizeNotificationListResponse,
|
|
44172
|
+
mM as normalizeOfflineDistribution,
|
|
44173
|
+
dM as normalizeOrders,
|
|
44174
|
+
xM as normalizeOutageTrend24h,
|
|
44175
|
+
hM as normalizeOutages,
|
|
44176
|
+
_M as normalizeParseErrorDistribution,
|
|
44177
|
+
AM as normalizePeriodicJobKpi,
|
|
44178
|
+
uM as normalizePipeline,
|
|
44179
|
+
yM as normalizePipelineFunnel,
|
|
44180
|
+
lM as normalizeReadingSla,
|
|
44181
|
+
pM as normalizeRecentAlarms,
|
|
44181
44182
|
Sb as normalizeServerConfig,
|
|
44182
|
-
|
|
44183
|
-
|
|
44184
|
-
|
|
44185
|
-
|
|
44183
|
+
EM as normalizeServerConfigList,
|
|
44184
|
+
vM as normalizeSimOperatorRanking,
|
|
44185
|
+
TM as normalizeSlaCities,
|
|
44186
|
+
wM as normalizeUserKpi,
|
|
44186
44187
|
Em as parseSlug,
|
|
44187
44188
|
Se as queryKeys,
|
|
44188
|
-
|
|
44189
|
+
HI as readingSummary,
|
|
44189
44190
|
v8 as saveExportDownload,
|
|
44190
|
-
|
|
44191
|
+
nR as scoreToBand,
|
|
44191
44192
|
db as setOnUnauthorized,
|
|
44192
|
-
|
|
44193
|
+
kM as setSSEDefaultMode,
|
|
44193
44194
|
rb as setTokenProvider,
|
|
44194
44195
|
h8 as splitLocationGroup,
|
|
44195
44196
|
th as splitOrderReasonCodes,
|
|
44196
44197
|
ea as tr,
|
|
44197
|
-
|
|
44198
|
+
SM as useAuth,
|
|
44198
44199
|
Fo as useAuthStore,
|
|
44199
44200
|
lx as useDashboardLayerState,
|
|
44200
|
-
|
|
44201
|
-
|
|
44201
|
+
PM as useEnumValues,
|
|
44202
|
+
xC as useExportJob,
|
|
44202
44203
|
Jb as useNotifications,
|
|
44203
|
-
|
|
44204
|
+
IM as usePermissions,
|
|
44204
44205
|
ux as useRegionDetail,
|
|
44205
44206
|
px as useRegionOutageTrend,
|
|
44206
44207
|
Hb as useSSE,
|
|
44207
|
-
|
|
44208
|
-
|
|
44208
|
+
RM as useSlug,
|
|
44209
|
+
YM as useWidgetFullscreen
|
|
44209
44210
|
};
|