@overvis/hmi-workspace-ui 0.1.2 → 0.1.3
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/README.md +6 -4
- package/dist/{alarm-list-DKFio0hg.js → alarm-list-TDg7nwkn.js} +4 -4
- package/dist/{alarm-rule-dialog-mb4_nHRW.js → alarm-rule-dialog-DwbRtPZD.js} +10 -10
- package/dist/{alarm-rule-lists-CfZXTWkK.js → alarm-rule-lists-Ax7PzbQy.js} +4 -4
- package/dist/{alarm-rules-page-DBLSkrrG.js → alarm-rules-page-DisATKLV.js} +11 -11
- package/dist/{alert-dialog-D_iDv2lQ.js → alert-dialog-CskdoiGZ.js} +1 -1
- package/dist/{base-revision-DLF9EnGV.js → base-revision-C-tNhqGq.js} +3 -3
- package/dist/{breadcrumbs-D5R6Fz74.js → breadcrumbs-B5O9let7.js} +3 -3
- package/dist/{catalog-list-BkWosvh1.js → catalog-list-3yaB4bJD.js} +1 -1
- package/dist/{code-editor-DCM0KdMJ.js → code-editor-B6myrPQm.js} +2 -2
- package/dist/{dashboards-page-DLc11Vzu.js → dashboards-page-CoKevu-T.js} +9 -9
- package/dist/{de-Z2er-E5v.js → de-CPxvTPak.js} +8 -0
- package/dist/{diagnostic-text-CYZFPiND.js → diagnostic-text-BS4rdZcE.js} +2 -2
- package/dist/{dialogs-DEOg9lxy.js → dialogs-BUyPGimM.js} +6 -6
- package/dist/{dialogs-BX023zml.js → dialogs-CF7Baagf.js} +512 -510
- package/dist/{display-VYGzneE0.js → display-DmldtHdd.js} +2 -2
- package/dist/{editor-language-CGENZxbI.js → editor-language-8UJkvBgX.js} +1 -1
- package/dist/{editor-page-CaN52OQh.js → editor-page-_6TxO_iT.js} +14 -14
- package/dist/{en-CKPPL6bQ.js → en-DoFtc9Sn.js} +8 -0
- package/dist/{entity-controls-DJT47yeV.js → entity-controls-rdv-ttvP.js} +3 -3
- package/dist/{errors-BAWoH_5w.js → errors-BFeJfnyz.js} +2 -2
- package/dist/{footer-CbPMP8aq.js → footer-DZUQHVnt.js} +4 -4
- package/dist/host.js +28 -27
- package/dist/{i18n-ChjEbYEg.js → i18n-D54xfDUE.js} +5 -5
- package/dist/i18n.js +1 -1
- package/dist/index.js +45 -34
- package/dist/{list-page-Fa29SkaJ.js → list-page-Cz5bdD8r.js} +11 -11
- package/dist/{location-map-renderer-DvXIYc1Z.js → location-map-renderer-Hb5N0AYH.js} +1 -1
- package/dist/{notice-card-V_0K0lO0.js → notice-card-BMNjc7qi.js} +3 -3
- package/dist/{page-BorlLnMX.js → page-BKnwJyv5.js} +8 -8
- package/dist/{page-DxF7FOve.js → page-CBWLmbIE.js} +11 -11
- package/dist/{page-B5te_1Lc.js → page-UoQRnsm3.js} +11 -11
- package/dist/{panel-DuZD-cBP.js → panel-Cr3OXiRs.js} +3 -3
- package/dist/{pl-DVABrn5G.js → pl-DEPfFtMO.js} +8 -0
- package/dist/{presence-code-DsabLTZs.js → presence-code-DIKs9fBe.js} +2 -2
- package/dist/{query-gate-BbIo1Xrj.js → query-gate-2sU8OvEb.js} +3 -3
- package/dist/{quick-report-BcZsfkCZ.js → quick-report-ZvrI5Jkh.js} +3130 -3102
- package/dist/{retention-note-CmMeHV_u.js → retention-note-BrkxE2Wo.js} +9 -6
- package/dist/{retention-C7EZsq8u.js → retention-wDvnFMbN.js} +2 -2
- package/dist/{ru-CBRLC_xM.js → ru-Ct2zNOs8.js} +8 -0
- package/dist/{run-text-CDdfbKbg.js → run-text-Bmkf_u0N.js} +2 -2
- package/dist/{search-C6xQ_Hvo.js → search-ADhiRT_S.js} +3 -3
- package/dist/{sections-D_SBfVzV.js → sections-BDtBUhxn.js} +1 -1
- package/dist/{select-nNLG-AMz.js → select-Cpeslz01.js} +2 -2
- package/dist/{spinner-B-KLtBjp.js → spinner-LbVGWBQq.js} +2 -2
- package/dist/src/i18n/catalogs/de/api-error.d.ts +3 -0
- package/dist/src/i18n/catalogs/de/audit.d.ts +1 -0
- package/dist/src/i18n/catalogs/de/edge-program.d.ts +1 -0
- package/dist/src/i18n/catalogs/de/parameter.d.ts +1 -0
- package/dist/src/i18n/catalogs/de/starter.d.ts +2 -0
- package/dist/src/i18n/catalogs/de.d.ts +8 -0
- package/dist/src/i18n/catalogs/en/api-error.d.ts +3 -0
- package/dist/src/i18n/catalogs/en/audit.d.ts +1 -0
- package/dist/src/i18n/catalogs/en/edge-program.d.ts +1 -0
- package/dist/src/i18n/catalogs/en/parameter.d.ts +1 -0
- package/dist/src/i18n/catalogs/en/starter.d.ts +2 -0
- package/dist/src/i18n/catalogs/en.d.ts +8 -0
- package/dist/src/i18n/catalogs/pl/api-error.d.ts +3 -0
- package/dist/src/i18n/catalogs/pl/audit.d.ts +1 -0
- package/dist/src/i18n/catalogs/pl/edge-program.d.ts +1 -0
- package/dist/src/i18n/catalogs/pl/parameter.d.ts +1 -0
- package/dist/src/i18n/catalogs/pl/starter.d.ts +2 -0
- package/dist/src/i18n/catalogs/pl.d.ts +8 -0
- package/dist/src/i18n/catalogs/ru/api-error.d.ts +3 -0
- package/dist/src/i18n/catalogs/ru/audit.d.ts +1 -0
- package/dist/src/i18n/catalogs/ru/edge-program.d.ts +1 -0
- package/dist/src/i18n/catalogs/ru/parameter.d.ts +1 -0
- package/dist/src/i18n/catalogs/ru/starter.d.ts +2 -0
- package/dist/src/i18n/catalogs/ru.d.ts +8 -0
- package/dist/src/i18n/catalogs/uk/api-error.d.ts +3 -0
- package/dist/src/i18n/catalogs/uk/audit.d.ts +1 -0
- package/dist/src/i18n/catalogs/uk/edge-program.d.ts +1 -0
- package/dist/src/i18n/catalogs/uk/parameter.d.ts +1 -0
- package/dist/src/i18n/catalogs/uk/starter.d.ts +2 -0
- package/dist/src/i18n/catalogs/uk.d.ts +8 -0
- package/dist/src/version.d.ts +1 -1
- package/dist/src/workspace/device-presets/layout.d.ts +2 -0
- package/dist/src/workspace/graphics/inspector/item.d.ts +6 -6
- package/dist/src/workspace/local-setup-link.d.ts +3 -0
- package/dist/src/workspace/parameters/errors.d.ts +5 -0
- package/dist/src/workspace/setup/starters/starter-form.d.ts +24 -6
- package/dist/starter-fields-BHNS6IQe.js +678 -0
- package/dist/styles.css +1 -1
- package/dist/ui.js +6 -6
- package/dist/{uk-17pbVYZa.js → uk-Dbm1i2uh.js} +8 -0
- package/dist/{wireguard-docs-Clb-7xRY.js → wireguard-docs-DIBtCviv.js} +3 -3
- package/package.json +2 -2
- package/dist/starter-fields-7S3LmtGa.js +0 -583
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ii as e } from "./quick-report-
|
|
2
|
-
import { f as t } from "./i18n-
|
|
1
|
+
import { ii as e } from "./quick-report-ZvrI5Jkh.js";
|
|
2
|
+
import { f as t } from "./i18n-D54xfDUE.js";
|
|
3
3
|
import { skipToken as n } from "@tanstack/react-query";
|
|
4
4
|
import { createContext as r, useCallback as i, useContext as a, useEffect as o, useMemo as s, useState as c, useSyncExternalStore as l } from "react";
|
|
5
5
|
import { jsx as u } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as e } from "./i18n-
|
|
1
|
+
import { f as e } from "./i18n-D54xfDUE.js";
|
|
2
2
|
import { automationLanguageDocsUrl as t, formulaCompletions as n, formulaHover as r, formulaSignatureHelp as i } from "@overvis/hmi-shared/automation";
|
|
3
3
|
// src/workspace/automations/item-descriptions.ts
|
|
4
4
|
var a = {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Fr as e, Jr as t, Kn as n, Nt as r, Qn as i, Wn as a, ii as o, zn as s } from "./quick-report-
|
|
2
|
-
import { h as c, m as l, n as u } from "./i18n-
|
|
3
|
-
import { $ as d, B as f, Nt as p, R as m, at as h, ct as g, jt as _, lt as v, rt as y, st as b, tt as x, ut as S, xt as C } from "./alert-dialog-
|
|
4
|
-
import { A as w, H as T, L as E, M as D, Y as O, j as k, l as A, t as j } from "./spinner-
|
|
5
|
-
import { a as M, c as N, d as P, i as F, n as ee, r as I, s as L, u as R } from "./notice-card-
|
|
6
|
-
import { t as z } from "./diagnostic-text-
|
|
7
|
-
import { a as te, b as ne, i as re, n as ie } from "./panel-
|
|
8
|
-
import { n as ae, r as oe, t as B } from "./query-gate-
|
|
9
|
-
import { t as se } from "./breadcrumbs-
|
|
10
|
-
import { n as ce, t as le } from "./base-revision-
|
|
11
|
-
import { t as ue } from "./code-editor-
|
|
12
|
-
import { a as de, i as fe, n as pe, o as V, r as me, t as he } from "./run-text-
|
|
13
|
-
import { n as ge, t as _e } from "./editor-language-
|
|
1
|
+
import { Fr as e, Jr as t, Kn as n, Nt as r, Qn as i, Wn as a, ii as o, zn as s } from "./quick-report-ZvrI5Jkh.js";
|
|
2
|
+
import { h as c, m as l, n as u } from "./i18n-D54xfDUE.js";
|
|
3
|
+
import { $ as d, B as f, Nt as p, R as m, at as h, ct as g, jt as _, lt as v, rt as y, st as b, tt as x, ut as S, xt as C } from "./alert-dialog-CskdoiGZ.js";
|
|
4
|
+
import { A as w, H as T, L as E, M as D, Y as O, j as k, l as A, t as j } from "./spinner-LbVGWBQq.js";
|
|
5
|
+
import { a as M, c as N, d as P, i as F, n as ee, r as I, s as L, u as R } from "./notice-card-BMNjc7qi.js";
|
|
6
|
+
import { t as z } from "./diagnostic-text-BS4rdZcE.js";
|
|
7
|
+
import { a as te, b as ne, i as re, n as ie } from "./panel-Cr3OXiRs.js";
|
|
8
|
+
import { n as ae, r as oe, t as B } from "./query-gate-2sU8OvEb.js";
|
|
9
|
+
import { t as se } from "./breadcrumbs-B5O9let7.js";
|
|
10
|
+
import { n as ce, t as le } from "./base-revision-C-tNhqGq.js";
|
|
11
|
+
import { t as ue } from "./code-editor-B6myrPQm.js";
|
|
12
|
+
import { a as de, i as fe, n as pe, o as V, r as me, t as he } from "./run-text-Bmkf_u0N.js";
|
|
13
|
+
import { n as ge, t as _e } from "./editor-language-8UJkvBgX.js";
|
|
14
14
|
import { n as ve } from "./starter-handoff-BaK8Ss8I.js";
|
|
15
|
-
import { n as ye, t as be } from "./entity-controls-
|
|
15
|
+
import { n as ye, t as be } from "./entity-controls-rdv-ttvP.js";
|
|
16
16
|
import { useCallback as xe, useDeferredValue as Se, useEffect as Ce, useId as we, useMemo as H, useRef as Te, useState as U } from "react";
|
|
17
17
|
import { Fragment as Ee, jsx as W, jsxs as G } from "react/jsx-runtime";
|
|
18
18
|
import K from "typebox";
|
|
@@ -106,6 +106,7 @@ var e = {
|
|
|
106
106
|
}, s = {
|
|
107
107
|
error_input_invalid: "The submitted data is invalid.",
|
|
108
108
|
error_workspace_no_access: "You do not have access to this workspace.",
|
|
109
|
+
error_workspace_public_link_not_found: "This public address is not available.",
|
|
109
110
|
error_workspace_suspended: "This workspace is suspended. Open it to see why.",
|
|
110
111
|
error_workspace_not_owner: "Only the workspace owner can do that.",
|
|
111
112
|
error_workspace_not_admin: "Only a workspace admin or owner can do that.",
|
|
@@ -333,6 +334,8 @@ var e = {
|
|
|
333
334
|
error_authentication_required: "Sign in to continue.",
|
|
334
335
|
error_admission_required: "Your account does not have access yet. Use an invitation or access code to continue.",
|
|
335
336
|
error_onboarding_required: "Complete your profile in the web app to continue.",
|
|
337
|
+
error_guest_not_allowed: "Sign in to do this. Guests can only view this workspace.",
|
|
338
|
+
error_guest_rate_limited: "Too many requests from your network. Wait a minute, or sign in.",
|
|
336
339
|
error_audit_invalid_cursor: "This history page is no longer valid. Reload the history.",
|
|
337
340
|
error_audit_archived_workspace_required: "Choose a deleted workspace to view its history.",
|
|
338
341
|
error_checkpoint_not_found: "This checkpoint no longer exists. Reload the history.",
|
|
@@ -1252,6 +1255,7 @@ var e = {
|
|
|
1252
1255
|
parameter_field_addresses_placeholder: "0, 1, 2",
|
|
1253
1256
|
parameter_field_addresses_invalid: "Enter 1–64 addresses (0–65535), comma-separated.",
|
|
1254
1257
|
parameter_field_addresses_too_short: "The addresses supply {available} bytes, but this value type needs {required}. Each register supplies 2 bytes, each coil or discrete input 1. Add addresses or change the value type.",
|
|
1258
|
+
parameter_field_write_limit_exceeds_storage: "This write limit does not fit the value type's storage. Change the limit, or change the value type and then write the value again.",
|
|
1255
1259
|
parameter_field_write_function: "Write function",
|
|
1256
1260
|
parameter_field_source_invalid: "Source configuration is invalid.",
|
|
1257
1261
|
parameter_field_value_type_invalid: "Value type configuration is invalid.",
|
|
@@ -1444,6 +1448,7 @@ var e = {
|
|
|
1444
1448
|
audit_target_type_workspace: "Workspace",
|
|
1445
1449
|
audit_target_type_workspace_permission: "Workspace access",
|
|
1446
1450
|
audit_target_type_workspace_invitation: "Invitation",
|
|
1451
|
+
audit_target_type_workspace_public_link: "Public address",
|
|
1447
1452
|
audit_target_type_workspace_file: "Workspace file",
|
|
1448
1453
|
audit_target_type_dashboard: "Dashboard",
|
|
1449
1454
|
audit_target_type_endpoint: "Endpoint",
|
|
@@ -2603,6 +2608,8 @@ var e = {
|
|
|
2603
2608
|
starter_add_row: "Add",
|
|
2604
2609
|
starter_remove_row: "Remove {row}",
|
|
2605
2610
|
starter_recipients_none: "Nobody",
|
|
2611
|
+
starter_unit: "Unit",
|
|
2612
|
+
starter_unit_ms: "ms",
|
|
2606
2613
|
starter_unit_s: "s",
|
|
2607
2614
|
starter_unit_min: "min",
|
|
2608
2615
|
starter_unit_h: "h",
|
|
@@ -3278,6 +3285,7 @@ var e = {
|
|
|
3278
3285
|
taskfile_warning_filename_invalid: "{filename} is not an 8.3 file name, so the device skips it.",
|
|
3279
3286
|
taskfile_warning_implicit_indirect_index: "Define the index variable before using it; the device may handle an undefined one unpredictably.",
|
|
3280
3287
|
taskfile_warning_memory_log_target: "Logging a parameter kept in device memory fails and stops all program logging. Map it to a Modbus register of a device instead.",
|
|
3288
|
+
taskfile_warning_missing_return: "{name} is called with CALL or TRYCALL, but its actions can run on without a RETURN into another function or past the end of the file. A RETURN right after IF runs only when the condition is true.",
|
|
3281
3289
|
taskfile_warning_nonstandard_holding_name: "The device accepts this name here, but it does not follow the usual naming rules.",
|
|
3282
3290
|
taskfile_warning_string_output_limit: "This string can grow longer than {limit} bytes, and the device cuts off the rest.",
|
|
3283
3291
|
taskfile_warning_unknown: "Possible problem: {code}.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Kn as e, Mt as t, Nt as n, Qn as r, Wn as i, zn as a } from "./quick-report-
|
|
2
|
-
import { m as o, n as s } from "./i18n-
|
|
3
|
-
import { $ as c, H as l, K as u, U as d, V as f, jt as p } from "./alert-dialog-
|
|
1
|
+
import { Kn as e, Mt as t, Nt as n, Qn as r, Wn as i, zn as a } from "./quick-report-ZvrI5Jkh.js";
|
|
2
|
+
import { m as o, n as s } from "./i18n-D54xfDUE.js";
|
|
3
|
+
import { $ as c, H as l, K as u, U as d, V as f, jt as p } from "./alert-dialog-CskdoiGZ.js";
|
|
4
4
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
5
5
|
// src/workspace/setup/automations/entity-controls.tsx
|
|
6
6
|
function g(e, r) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Gn as e, Un as t } from "./quick-report-
|
|
2
|
-
import { f as n } from "./i18n-
|
|
1
|
+
import { Gn as e, Un as t } from "./quick-report-ZvrI5Jkh.js";
|
|
2
|
+
import { f as n } from "./i18n-D54xfDUE.js";
|
|
3
3
|
// src/workspace/reports/preset/errors.ts
|
|
4
4
|
function r(e) {
|
|
5
5
|
switch (e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $r as e, An as t, Bt as n, Ct as r, Dt as i, Et as a, Gn as o, Hn as s, Kn as c, Qn as l, St as u, Un as d, Wn as f, bt as p, ii as m, jn as h, vt as g, yt as _, zn as v } from "./quick-report-
|
|
2
|
-
import { f as y, h as b, m as x, n as S, u as C, v as w } from "./i18n-
|
|
3
|
-
import { B as T, D as E, F as D, H as O, K as k, L as A, M as j, Nt as M, P as N, R as P, U as F, V as I, _t as ee, b as L, dt as R, ft as te, gt as z, ht as B, jt as V, mt as H, p as ne, v as re, vt as ie, xt as ae } from "./alert-dialog-
|
|
4
|
-
import { A as oe, B as se, H as ce, J as le, L as ue, M as de, V as fe, Y as pe, c as me } from "./spinner-
|
|
1
|
+
import { $r as e, An as t, Bt as n, Ct as r, Dt as i, Et as a, Gn as o, Hn as s, Kn as c, Qn as l, St as u, Un as d, Wn as f, bt as p, ii as m, jn as h, vt as g, yt as _, zn as v } from "./quick-report-ZvrI5Jkh.js";
|
|
2
|
+
import { f as y, h as b, m as x, n as S, u as C, v as w } from "./i18n-D54xfDUE.js";
|
|
3
|
+
import { B as T, D as E, F as D, H as O, K as k, L as A, M as j, Nt as M, P as N, R as P, U as F, V as I, _t as ee, b as L, dt as R, ft as te, gt as z, ht as B, jt as V, mt as H, p as ne, v as re, vt as ie, xt as ae } from "./alert-dialog-CskdoiGZ.js";
|
|
4
|
+
import { A as oe, B as se, H as ce, J as le, L as ue, M as de, V as fe, Y as pe, c as me } from "./spinner-LbVGWBQq.js";
|
|
5
5
|
import { skipToken as he } from "@tanstack/react-query";
|
|
6
6
|
import { Fragment as ge, createContext as _e, memo as ve, useCallback as ye, useContext as be, useEffect as U, useId as xe, useLayoutEffect as Se, useMemo as W, useRef as G, useState as K, useSyncExternalStore as Ce } from "react";
|
|
7
7
|
import { Fragment as we, jsx as q, jsxs as J } from "react/jsx-runtime";
|
package/dist/host.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { $r as t, $t as n, Ar as r, Bn as i, Cn as a, Cr as o, Dn as s, En as c, Er as l, Fr as u, Hn as d, Ht as f, Ir as p, It as m, Jr as h, Jt as g, Kn as _, Kt as v, L as y, Lr as b, Mr as x, Nr as S, Pn as C, Pr as w, Pt as T, Qn as E, Rn as D, Rt as O, Tn as k, Tr as ee, Un as A, Ur as te, Ut as j, Vn as M, Vt as ne, Wn as N, Wt as re, Yt as ie, _r as ae, ai as oe, an as se, cn as ce, cr as le, dn as ue, en as de, hn as fe, i as pe, ii as P, in as me, jr as he, jt as ge, kn as _e, ln as ve, lr as ye, n as be, ni as xe, nn as Se, on as Ce, or as we, qt as Te, ri as Ee, rn as De, sn as Oe, sr as ke, t as Ae, tn as je, un as Me, vt as Ne, zn as Pe, zt as Fe } from "./quick-report-
|
|
3
|
-
import { f as F, h as Ie, m as I, n as Le, r as Re, t as ze } from "./i18n-
|
|
4
|
-
import { $ as Be, B as Ve, E as He, Et as Ue, F as We, H as Ge, I as Ke, K as qe, L as Je, M as Ye, Mt as Xe, N as Ze, Nt as L, P as Qe, R as $e, S as et, T as tt, Tt as nt, U as rt, V as it, X as at, Y as ot, _ as st, _t as ct, a as lt, at as ut, b as dt, ct as ft, d as pt, dt as mt, ft as ht, gt as R, h as gt, i as _t, it as vt, jt as z, lt as yt, mt as B, n as bt, nt as xt, o as St, ot as Ct, p as wt, r as Tt, rt as Et, s as Dt, st as Ot, t as kt, tt as At, ut as jt, v as Mt, vt as Nt, xt as V } from "./alert-dialog-
|
|
5
|
-
import { A as Pt, B as Ft, H as It, L as Lt, M as H, V as Rt, Y as zt, a as Bt, c as Vt, d as Ht, f as Ut, g as Wt, j as Gt, l as Kt, n as qt, r as Jt, t as Yt } from "./spinner-
|
|
6
|
-
import { a as Xt, i as Zt, l as Qt, n as $t, o as en, r as tn, s as nn, t as rn, u as an } from "./dialogs-
|
|
7
|
-
import { t as on } from "./notice-card-
|
|
8
|
-
import { _ as sn, h as cn, n as ln, r as un, t as dn, v as fn } from "./footer-
|
|
9
|
-
import { M as pn, a as mn, b as hn, c as gn, f as _n, g as vn, h as yn, i as bn, l as xn, n as Sn, s as Cn, t as wn, u as Tn } from "./panel-
|
|
10
|
-
import { n as En, r as Dn, t as On } from "./query-gate-
|
|
11
|
-
import { c as kn, d as An, f as jn, h as Mn, i as Nn, l as Pn, m as Fn, o as In, p as Ln, s as Rn, u as zn } from "./dashboards-page-
|
|
12
|
-
import { r as Bn, t as Vn } from "./sections-
|
|
13
|
-
import { n as Hn, r as Un } from "./search-
|
|
14
|
-
import { a as Wn, i as Gn, n as Kn, r as qn, t as Jn } from "./display-
|
|
15
|
-
import { a as Yn } from "./alarm-rule-lists-
|
|
16
|
-
import { t as Xn } from "./breadcrumbs-
|
|
17
|
-
import { a as Zn, n as Qn, r as $n, t as er } from "./presence-code-
|
|
18
|
-
import { n as tr } from "./page-
|
|
19
|
-
import { n as nr, t as rr } from "./base-revision-
|
|
20
|
-
import { a as ir, c as ar, d as or, i as sr, l as cr, n as lr, o as ur, r as dr, s as fr, t as pr, u as mr } from "./catalog-list-
|
|
21
|
-
import {
|
|
22
|
-
import { t as _r } from "./errors-
|
|
2
|
+
import { $r as t, $t as n, Ar as r, Bn as i, Cn as a, Cr as o, Dn as s, En as c, Er as l, Fr as u, Hn as d, Ht as f, Ir as p, It as m, Jr as h, Jt as g, Kn as _, Kt as v, L as y, Lr as b, Mr as x, Nr as S, Pn as C, Pr as w, Pt as T, Qn as E, Rn as D, Rt as O, Tn as k, Tr as ee, Un as A, Ur as te, Ut as j, Vn as M, Vt as ne, Wn as N, Wt as re, Yt as ie, _r as ae, ai as oe, an as se, cn as ce, cr as le, dn as ue, en as de, hn as fe, i as pe, ii as P, in as me, jr as he, jt as ge, kn as _e, ln as ve, lr as ye, n as be, ni as xe, nn as Se, on as Ce, or as we, qt as Te, ri as Ee, rn as De, sn as Oe, sr as ke, t as Ae, tn as je, un as Me, vt as Ne, zn as Pe, zt as Fe } from "./quick-report-ZvrI5Jkh.js";
|
|
3
|
+
import { f as F, h as Ie, m as I, n as Le, r as Re, t as ze } from "./i18n-D54xfDUE.js";
|
|
4
|
+
import { $ as Be, B as Ve, E as He, Et as Ue, F as We, H as Ge, I as Ke, K as qe, L as Je, M as Ye, Mt as Xe, N as Ze, Nt as L, P as Qe, R as $e, S as et, T as tt, Tt as nt, U as rt, V as it, X as at, Y as ot, _ as st, _t as ct, a as lt, at as ut, b as dt, ct as ft, d as pt, dt as mt, ft as ht, gt as R, h as gt, i as _t, it as vt, jt as z, lt as yt, mt as B, n as bt, nt as xt, o as St, ot as Ct, p as wt, r as Tt, rt as Et, s as Dt, st as Ot, t as kt, tt as At, ut as jt, v as Mt, vt as Nt, xt as V } from "./alert-dialog-CskdoiGZ.js";
|
|
5
|
+
import { A as Pt, B as Ft, H as It, L as Lt, M as H, V as Rt, Y as zt, a as Bt, c as Vt, d as Ht, f as Ut, g as Wt, j as Gt, l as Kt, n as qt, r as Jt, t as Yt } from "./spinner-LbVGWBQq.js";
|
|
6
|
+
import { a as Xt, i as Zt, l as Qt, n as $t, o as en, r as tn, s as nn, t as rn, u as an } from "./dialogs-CF7Baagf.js";
|
|
7
|
+
import { t as on } from "./notice-card-BMNjc7qi.js";
|
|
8
|
+
import { _ as sn, h as cn, n as ln, r as un, t as dn, v as fn } from "./footer-DZUQHVnt.js";
|
|
9
|
+
import { M as pn, a as mn, b as hn, c as gn, f as _n, g as vn, h as yn, i as bn, l as xn, n as Sn, s as Cn, t as wn, u as Tn } from "./panel-Cr3OXiRs.js";
|
|
10
|
+
import { n as En, r as Dn, t as On } from "./query-gate-2sU8OvEb.js";
|
|
11
|
+
import { c as kn, d as An, f as jn, h as Mn, i as Nn, l as Pn, m as Fn, o as In, p as Ln, s as Rn, u as zn } from "./dashboards-page-CoKevu-T.js";
|
|
12
|
+
import { r as Bn, t as Vn } from "./sections-BDtBUhxn.js";
|
|
13
|
+
import { n as Hn, r as Un } from "./search-ADhiRT_S.js";
|
|
14
|
+
import { a as Wn, i as Gn, n as Kn, r as qn, t as Jn } from "./display-DmldtHdd.js";
|
|
15
|
+
import { a as Yn } from "./alarm-rule-lists-Ax7PzbQy.js";
|
|
16
|
+
import { t as Xn } from "./breadcrumbs-B5O9let7.js";
|
|
17
|
+
import { a as Zn, n as Qn, r as $n, t as er } from "./presence-code-DIKs9fBe.js";
|
|
18
|
+
import { n as tr } from "./page-UoQRnsm3.js";
|
|
19
|
+
import { n as nr, t as rr } from "./base-revision-C-tNhqGq.js";
|
|
20
|
+
import { a as ir, c as ar, d as or, i as sr, l as cr, n as lr, o as ur, r as dr, s as fr, t as pr, u as mr } from "./catalog-list-3yaB4bJD.js";
|
|
21
|
+
import { i as hr, t as gr } from "./retention-note-BrkxE2Wo.js";
|
|
22
|
+
import { t as _r } from "./errors-BFeJfnyz.js";
|
|
23
23
|
import { t as vr } from "./model-tpg_xpFB.js";
|
|
24
|
-
import { t as yr } from "./code-editor-
|
|
25
|
-
import { i as br, n as xr, r as Sr, t as Cr } from "./starter-fields-
|
|
26
|
-
import { c as wr, d as Tr, f as Er, h as Dr, l as Or, m as kr, n as Ar, o as jr, p as Mr, s as Nr, u as Pr } from "./dialogs-
|
|
24
|
+
import { t as yr } from "./code-editor-B6myrPQm.js";
|
|
25
|
+
import { i as br, n as xr, r as Sr, t as Cr } from "./starter-fields-BHNS6IQe.js";
|
|
26
|
+
import { c as wr, d as Tr, f as Er, h as Dr, l as Or, m as kr, n as Ar, o as jr, p as Mr, s as Nr, u as Pr } from "./dialogs-BUyPGimM.js";
|
|
27
27
|
import { QueryClientProvider as Fr, skipToken as Ir, useQuery as Lr, useQueryClient as Rr } from "@tanstack/react-query";
|
|
28
28
|
import { Component as zr, Fragment as Br, createContext as Vr, createElement as Hr, memo as Ur, useCallback as U, useContext as Wr, useDeferredValue as Gr, useEffect as W, useMemo as G, useRef as Kr, useState as K, useSyncExternalStore as qr } from "react";
|
|
29
29
|
import { HMI_CLIENT_HEADER as Jr, formatHmiClient as Yr, isPublicApiErrorCode as Xr } from "@overvis/hmi-shared/api-errors";
|
|
@@ -248,7 +248,7 @@ function So() {
|
|
|
248
248
|
});
|
|
249
249
|
}
|
|
250
250
|
// src/version.ts
|
|
251
|
-
var Co = "0.1.
|
|
251
|
+
var Co = "0.1.3", wo = Vr(null);
|
|
252
252
|
function To({ children: e }) {
|
|
253
253
|
let [t, n] = K(null), r = U((e, t, r) => {
|
|
254
254
|
n(e ? {
|
|
@@ -811,7 +811,7 @@ function ns(e) {
|
|
|
811
811
|
return t === "editor" ? {} : { tab: t };
|
|
812
812
|
}
|
|
813
813
|
// src/workspace/routes.tsx
|
|
814
|
-
var rs = $(() => Promise.resolve().then(() => Uc), "WorkspaceIndexPage"), is = $(() => Promise.resolve().then(() => nu), "DashboardPage"), as = $(() => Promise.resolve().then(() => su), "ReportPage"), os = $(() => import("./page-
|
|
814
|
+
var rs = $(() => Promise.resolve().then(() => Uc), "WorkspaceIndexPage"), is = $(() => Promise.resolve().then(() => nu), "DashboardPage"), as = $(() => Promise.resolve().then(() => su), "ReportPage"), os = $(() => import("./page-BKnwJyv5.js"), "AlarmsPage"), ss = $(() => Promise.resolve().then(() => Nl), "AuditHistoryPage"), cs = $(() => Promise.resolve().then(() => Of), "SetupEndpointStatusPage"), ls = $(() => import("./dashboards-page-CoKevu-T.js").then((e) => e.a), "SetupDashboardsPage"), us = $(() => import("./page-UoQRnsm3.js").then((e) => e.r), "SetupEndpointsPage"), ds = $(() => import("./wireguard-docs-DIBtCviv.js").then((e) => e.n), "WireGuardDocsProvider"), fs = $(() => Promise.resolve().then(() => nm), "SetupFilesPage"), ps = $(() => import("./page-CBWLmbIE.js"), "SetupStoragePage"), ms = $(() => Promise.resolve().then(() => Bp), "SetupParametersPage"), hs = $(() => Promise.resolve().then(() => Up), "SetupReportsPage"), gs = $(() => import("./list-page-Cz5bdD8r.js"), "SetupAutomationsPage"), _s = $(() => import("./alarm-rules-page-DisATKLV.js"), "SetupAlarmRulesPage"), vs = $(() => import("./editor-page-_6TxO_iT.js"), "SetupAutomationEditorPage"), ys = $(() => import("./alarm-rule-dialog-DwbRtPZD.js"), "SetupAlarmRuleFormDialog"), bs = () => import("./dialogs-CF7Baagf.js").then((e) => e.c), xs = $(bs, "SetupDashboardCreateDialog"), Ss = $(bs, "SetupDashboardCreateFromReportDialog"), Cs = $(bs, "SetupDashboardSettingsDialog"), ws = $(bs, "SetupEndpointCreateDialog"), Ts = $(bs, "SetupEndpointEditDialog"), Es = $(bs, "SetupParameterFormDialog"), Ds = $(bs, "SetupReportFormDialog");
|
|
815
815
|
function Os(e, ...t) {
|
|
816
816
|
return Object.assign(e, { preload: async () => {
|
|
817
817
|
await Promise.all(t.flatMap((e) => e.preload == null ? [] : [e.preload()]));
|
|
@@ -1837,7 +1837,7 @@ function ll(e) {
|
|
|
1837
1837
|
return r.length === 0 ? null : r.join(", ");
|
|
1838
1838
|
}
|
|
1839
1839
|
function ul(e) {
|
|
1840
|
-
return e === "workspace" ? F("audit_target_type_workspace") : e === "workspace_permission" ? F("audit_target_type_workspace_permission") : e === "workspace_invitation" ? F("audit_target_type_workspace_invitation") : e === "workspace_file" ? F("audit_target_type_workspace_file") : e === "dashboard" ? F("audit_target_type_dashboard") : e === "endpoint" ? F("audit_target_type_endpoint") : e === "device_api" ? F("audit_target_type_device_api") : e === "readings" ? F("audit_target_type_readings") : e === "audit_history" ? F("audit_target_type_audit_history") : e === "alarm_log" ? F("audit_target_type_alarm_log") : e === "readings_retention_override" ? F("audit_target_type_readings_retention_override") : e === "edge_program" ? F("audit_target_type_edge_program") : e === "parameter_tree_branch" ? F("audit_target_type_parameter_tree_branch") : e === "parameter" ? F("audit_target_type_parameter") : e === "report_preset" ? F("audit_target_type_report_preset") : e === "report_preset_parameter" ? F("audit_target_type_report_preset_parameter") : e === "report_comment" ? F("audit_target_type_report_comment") : e === "alarm_rule" ? F("audit_target_type_alarm_rule") : e === "automation" ? F("audit_target_type_automation") : e === "workspace_billing_link" ? F("audit_target_type_workspace_billing_link") : e === "workspace_suspension" ? F("audit_target_type_workspace_suspension") : e === "user" ? F("audit_target_type_user") : e === "account" ? F("audit_target_type_account") : e === "api_key" ? F("audit_target_type_api_key") : e === "impersonation_grant" ? F("audit_target_type_impersonation_grant") : e === "session" ? F("audit_target_type_support_session") : e === "audit_probe" ? F("audit_target_type_audit_probe") : e;
|
|
1840
|
+
return e === "workspace" ? F("audit_target_type_workspace") : e === "workspace_permission" ? F("audit_target_type_workspace_permission") : e === "workspace_invitation" ? F("audit_target_type_workspace_invitation") : e === "workspace_public_link" ? F("audit_target_type_workspace_public_link") : e === "workspace_file" ? F("audit_target_type_workspace_file") : e === "dashboard" ? F("audit_target_type_dashboard") : e === "endpoint" ? F("audit_target_type_endpoint") : e === "device_api" ? F("audit_target_type_device_api") : e === "readings" ? F("audit_target_type_readings") : e === "audit_history" ? F("audit_target_type_audit_history") : e === "alarm_log" ? F("audit_target_type_alarm_log") : e === "readings_retention_override" ? F("audit_target_type_readings_retention_override") : e === "edge_program" ? F("audit_target_type_edge_program") : e === "parameter_tree_branch" ? F("audit_target_type_parameter_tree_branch") : e === "parameter" ? F("audit_target_type_parameter") : e === "report_preset" ? F("audit_target_type_report_preset") : e === "report_preset_parameter" ? F("audit_target_type_report_preset_parameter") : e === "report_comment" ? F("audit_target_type_report_comment") : e === "alarm_rule" ? F("audit_target_type_alarm_rule") : e === "automation" ? F("audit_target_type_automation") : e === "workspace_billing_link" ? F("audit_target_type_workspace_billing_link") : e === "workspace_suspension" ? F("audit_target_type_workspace_suspension") : e === "user" ? F("audit_target_type_user") : e === "account" ? F("audit_target_type_account") : e === "api_key" ? F("audit_target_type_api_key") : e === "impersonation_grant" ? F("audit_target_type_impersonation_grant") : e === "session" ? F("audit_target_type_support_session") : e === "audit_probe" ? F("audit_target_type_audit_probe") : e;
|
|
1841
1841
|
}
|
|
1842
1842
|
function dl(e) {
|
|
1843
1843
|
return $c(e) ?? ul(e.targetType);
|
|
@@ -3895,6 +3895,7 @@ function Nu(e) {
|
|
|
3895
3895
|
case "filename_invalid": return F("taskfile_warning_filename_invalid", { filename: t });
|
|
3896
3896
|
case "implicit_indirect_index": return F("taskfile_warning_implicit_indirect_index");
|
|
3897
3897
|
case "memory_log_target": return F("taskfile_warning_memory_log_target");
|
|
3898
|
+
case "missing_return": return F("taskfile_warning_missing_return", { name: String(e.args.name ?? "") });
|
|
3898
3899
|
case "nonstandard_holding_name": return F("taskfile_warning_nonstandard_holding_name");
|
|
3899
3900
|
case "hmi_type_mismatch": return F("taskfile_warning_hmi_type_mismatch", {
|
|
3900
3901
|
parameter: String(e.args.parameter ?? ""),
|
|
@@ -47,11 +47,11 @@ function C() {
|
|
|
47
47
|
}
|
|
48
48
|
// src/i18n/messages.ts
|
|
49
49
|
var w = u({
|
|
50
|
-
en: () => import("./en-
|
|
51
|
-
pl: () => import("./pl-
|
|
52
|
-
de: () => import("./de-
|
|
53
|
-
uk: () => import("./uk-
|
|
54
|
-
ru: () => import("./ru-
|
|
50
|
+
en: () => import("./en-DoFtc9Sn.js"),
|
|
51
|
+
pl: () => import("./pl-DEPfFtMO.js"),
|
|
52
|
+
de: () => import("./de-CPxvTPak.js"),
|
|
53
|
+
uk: () => import("./uk-Dbm1i2uh.js"),
|
|
54
|
+
ru: () => import("./ru-Ct2zNOs8.js")
|
|
55
55
|
});
|
|
56
56
|
_.register(w.load);
|
|
57
57
|
var ee = w.get, T = null;
|
package/dist/i18n.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { g as browserLocale, _ as detectLocale, v as getLocale, u as getTranslations, d as inTranslationLocale, y as initializeLocale, b as setLocale, f as t, p as translationLocale, t as useLanguageChange, h as useLocale, m as useTranslation } from "./i18n-
|
|
1
|
+
export { g as browserLocale, _ as detectLocale, v as getLocale, u as getTranslations, d as inTranslationLocale, y as initializeLocale, b as setLocale, f as t, p as translationLocale, t as useLanguageChange, h as useLocale, m as useTranslation } from "./i18n-D54xfDUE.js";
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $ as e, $n as t, $r as n, $t as r, A as i, B as a, Bn as o, Br as s, C as c, Cr as l, D as u, Dr as d, E as f, Er as p, F as m, Fn as h, Fr as g, Ft as _, G as v, Gn as y, Gr as b, Hn as x, Hr as S, I as C, In as w, J as T, Jn as E, K as D, Kn as O, Kr as k, Ln as A, M as j, Mn as M, Mr as ee, N, Nn as te, Nr as ne, O as re, On as ie, Or as ae, P as oe, Pr as se, Qn as ce, Qr as le, R as ue, Rn as de, Rr as fe, Rt as pe, S as me, Sn as he, T as P, Tr as ge, Un as _e, Ur as ve, V as ye, Vn as F, Vr as be, Wn as xe, Wr as Se, Xn as Ce, Xr as I, Xt as we, Yn as Te, Yt as Ee, Zn as De, Zr as Oe, Zt as ke, _ as Ae, a as je, b as Me, c as Ne, ct as Pe, d as Fe, ei as Ie, en as Le, er as Re, f as ze, g as Be, h as L, i as Ve, ii as R, it as He, j as Ue, k as We, kn as Ge, kr as Ke, kt as qe, l as Je, m as Ye, nr as Xe, ot as Ze, p as Qe, qn as $e, r as et, rr as tt, s as nt, t as rt, ti as it, tr as at, tt as ot, u as st, v as ct, w as lt, wn as ut, wr as dt, x as ft, xn as pt, y as mt, z as ht, zn as gt, zr as _t } from "./quick-report-
|
|
2
|
-
import { d as vt, f as z, h as yt, m as B, u as bt, v as xt } from "./i18n-
|
|
3
|
-
import { $ as St, B as Ct, F as wt, H as Tt, I as Et, K as Dt, L as Ot, Mt as kt, N as At, Nt as V, P as jt, R as Mt, St as Nt, U as Pt, V as Ft, X as It, Y as Lt, _t as Rt, a as zt, at as Bt, bt as Vt, ct as Ht, d as Ut, dt as Wt, et as Gt, ft as Kt, gt as qt, ht as Jt, i as Yt, it as Xt, jt as H, mt as Zt, nt as Qt, o as $t, q as en, r as tn, rt as nn, s as rn, st as an, t as on, tt as sn, vt as cn, xt as ln, yt as un, z as dn } from "./alert-dialog-
|
|
4
|
-
import { A as fn, B as pn, H as mn, J as hn, K as gn, L as _n, M as U, O as vn, V as yn, Y as bn, a as xn, c as Sn, k as Cn, l as wn, n as Tn, o as En, q as Dn, r as On, z as kn } from "./spinner-
|
|
1
|
+
import { $ as e, $n as t, $r as n, $t as r, A as i, B as a, Bn as o, Br as s, C as c, Cr as l, D as u, Dr as d, E as f, Er as p, F as m, Fn as h, Fr as g, Ft as _, G as v, Gn as y, Gr as b, Hn as x, Hr as S, I as C, In as w, J as T, Jn as E, K as D, Kn as O, Kr as k, Ln as A, M as j, Mn as M, Mr as ee, N, Nn as te, Nr as ne, O as re, On as ie, Or as ae, P as oe, Pr as se, Qn as ce, Qr as le, R as ue, Rn as de, Rr as fe, Rt as pe, S as me, Sn as he, T as P, Tr as ge, Un as _e, Ur as ve, V as ye, Vn as F, Vr as be, Wn as xe, Wr as Se, Xn as Ce, Xr as I, Xt as we, Yn as Te, Yt as Ee, Zn as De, Zr as Oe, Zt as ke, _ as Ae, a as je, b as Me, c as Ne, ct as Pe, d as Fe, ei as Ie, en as Le, er as Re, f as ze, g as Be, h as L, i as Ve, ii as R, it as He, j as Ue, k as We, kn as Ge, kr as Ke, kt as qe, l as Je, m as Ye, nr as Xe, ot as Ze, p as Qe, qn as $e, r as et, rr as tt, s as nt, t as rt, ti as it, tr as at, tt as ot, u as st, v as ct, w as lt, wn as ut, wr as dt, x as ft, xn as pt, y as mt, z as ht, zn as gt, zr as _t } from "./quick-report-ZvrI5Jkh.js";
|
|
2
|
+
import { d as vt, f as z, h as yt, m as B, u as bt, v as xt } from "./i18n-D54xfDUE.js";
|
|
3
|
+
import { $ as St, B as Ct, F as wt, H as Tt, I as Et, K as Dt, L as Ot, Mt as kt, N as At, Nt as V, P as jt, R as Mt, St as Nt, U as Pt, V as Ft, X as It, Y as Lt, _t as Rt, a as zt, at as Bt, bt as Vt, ct as Ht, d as Ut, dt as Wt, et as Gt, ft as Kt, gt as qt, ht as Jt, i as Yt, it as Xt, jt as H, mt as Zt, nt as Qt, o as $t, q as en, r as tn, rt as nn, s as rn, st as an, t as on, tt as sn, vt as cn, xt as ln, yt as un, z as dn } from "./alert-dialog-CskdoiGZ.js";
|
|
4
|
+
import { A as fn, B as pn, H as mn, J as hn, K as gn, L as _n, M as U, O as vn, V as yn, Y as bn, a as xn, c as Sn, k as Cn, l as wn, n as Tn, o as En, q as Dn, r as On, z as kn } from "./spinner-LbVGWBQq.js";
|
|
5
5
|
import { combineParameterValuesDemands as An, groupParameterDiagnostics as jn, isCurrentParameterValue as Mn, isParameterValuePending as Nn, latestParameterReceivedAt as Pn, noDemandParameterValueState as Fn, parameterDiagnosticKey as In, parameterStatesStaleSince as Ln, parameterValueBoolean as Rn, parameterValueComparable as zn, parameterValueFlag as Bn, parameterValueNumber as Vn, parameterValueTime as Hn, parameterWriteOutcome as Un, primaryParameterDiagnosticKind as Wn } from "./parameter-values.js";
|
|
6
|
-
import { C as Gn, E as Kn, S as qn, T as Jn, _ as Yn, b as Xn, c as Zn, g as Qn, h as $n, i as er, l as tr, m as nr, n as rr, p as ir, s as ar, t as or, v as sr, w as cr, x as lr, y as ur } from "./select-
|
|
7
|
-
import { a as dr, c as fr, d as pr, i as mr, l as hr, n as gr, o as _r, r as vr, s as yr, t as br, u as xr } from "./notice-card-
|
|
8
|
-
import { a as Sr, b as Cr, c as wr, d as Tr, f as Er, g as Dr, h as Or, i as kr, l as Ar, m as jr, n as Mr, o as Nr, p as Pr, r as Fr, s as Ir, t as Lr, u as Rr, v as zr, y as Br } from "./footer-
|
|
9
|
-
import { t as Vr } from "./alarm-list-
|
|
10
|
-
import { t as Hr } from "./diagnostic-text-
|
|
6
|
+
import { C as Gn, E as Kn, S as qn, T as Jn, _ as Yn, b as Xn, c as Zn, g as Qn, h as $n, i as er, l as tr, m as nr, n as rr, p as ir, s as ar, t as or, v as sr, w as cr, x as lr, y as ur } from "./select-Cpeslz01.js";
|
|
7
|
+
import { a as dr, c as fr, d as pr, i as mr, l as hr, n as gr, o as _r, r as vr, s as yr, t as br, u as xr } from "./notice-card-BMNjc7qi.js";
|
|
8
|
+
import { a as Sr, b as Cr, c as wr, d as Tr, f as Er, g as Dr, h as Or, i as kr, l as Ar, m as jr, n as Mr, o as Nr, p as Pr, r as Fr, s as Ir, t as Lr, u as Rr, v as zr, y as Br } from "./footer-DZUQHVnt.js";
|
|
9
|
+
import { t as Vr } from "./alarm-list-TDg7nwkn.js";
|
|
10
|
+
import { t as Hr } from "./diagnostic-text-BS4rdZcE.js";
|
|
11
11
|
import { t as Ur } from "./lat-lng-Bl77AGSO.js";
|
|
12
12
|
import { keepPreviousData as Wr, skipToken as Gr, useQueries as Kr, useQuery as qr, useQueryClient as Jr } from "@tanstack/react-query";
|
|
13
13
|
import { Component as Yr, Fragment as Xr, Suspense as Zr, createContext as Qr, lazy as $r, memo as ei, useCallback as ti, useContext as ni, useEffect as W, useEffectEvent as ri, useId as G, useLayoutEffect as ii, useMemo as K, useReducer as ai, useRef as q, useState as J, useSyncExternalStore as oi } from "react";
|
|
@@ -8281,13 +8281,16 @@ function Oh({ element: e, editing: t, selected: n }) {
|
|
|
8281
8281
|
}
|
|
8282
8282
|
// src/workspace/graphics/node.tsx
|
|
8283
8283
|
function kh({ data: e, selected: t }) {
|
|
8284
|
-
let n = B(), { element: r, props: i, resolved: a, bindings: o, latest: s, locale: c } = e, l = nt(), u = r.kind === "symbol" ? l.get(r.symbolId) : void 0, d = _c(), { appearance: f, width: p, height: m, rotation: h, quality: g } = a, _ = Qa(f.text, c), v = i.editing && r.name || _, y =
|
|
8284
|
+
let n = B(), { element: r, props: i, resolved: a, bindings: o, latest: s, locale: c } = e, l = nt(), u = r.kind === "symbol" ? l.get(r.symbolId) : void 0, d = _c(), { appearance: f, width: p, height: m, rotation: h, quality: g } = a, _ = Qa(f.text, c), v = i.editing && r.name || _, y = {
|
|
8285
|
+
"data-context-element-id": r.id,
|
|
8286
|
+
"data-context-label": r.name || _ || r.kind
|
|
8287
|
+
}, b = G(), x = G(), S = Gf({
|
|
8285
8288
|
...r,
|
|
8286
8289
|
width: p,
|
|
8287
8290
|
height: m,
|
|
8288
8291
|
rotation: h
|
|
8289
|
-
}),
|
|
8290
|
-
function
|
|
8292
|
+
}), C = pp(i.workspaceId, r.kind === "image" ? r.assetId : null), w = "points" in r ? r.points.map((e) => `${String(e.x * p)},${String(e.y * m)}`).join(" ") : "";
|
|
8293
|
+
function T(e, t) {
|
|
8291
8294
|
if (e.buttons !== 1 || !("points" in r)) return;
|
|
8292
8295
|
e.stopPropagation();
|
|
8293
8296
|
let n = d.screenToFlowPosition({
|
|
@@ -8303,10 +8306,11 @@ function kh({ data: e, selected: t }) {
|
|
|
8303
8306
|
}));
|
|
8304
8307
|
}
|
|
8305
8308
|
return /* @__PURE__ */ Z(Y, { children: [r.kind === "symbol" ? /* @__PURE__ */ Z("div", {
|
|
8306
|
-
|
|
8309
|
+
...y,
|
|
8310
|
+
"data-graphics-placement": x,
|
|
8307
8311
|
className: "absolute",
|
|
8308
8312
|
children: [
|
|
8309
|
-
/* @__PURE__ */ X("style", { children: `[data-graphics-placement="${
|
|
8313
|
+
/* @__PURE__ */ X("style", { children: `[data-graphics-placement="${x}"]{left:${String((S.width - p) / 2)}px;top:${String((S.height - m) / 2)}px;width:${String(p)}px;height:${String(m)}px}` }),
|
|
8310
8314
|
/* @__PURE__ */ X(Mm, {
|
|
8311
8315
|
element: r,
|
|
8312
8316
|
definition: u,
|
|
@@ -8325,6 +8329,7 @@ function kh({ data: e, selected: t }) {
|
|
|
8325
8329
|
})
|
|
8326
8330
|
]
|
|
8327
8331
|
}) : /* @__PURE__ */ Z("svg", {
|
|
8332
|
+
...y,
|
|
8328
8333
|
width: p,
|
|
8329
8334
|
height: m,
|
|
8330
8335
|
viewBox: `0 0 ${String(p)} ${String(m)}`,
|
|
@@ -8334,7 +8339,7 @@ function kh({ data: e, selected: t }) {
|
|
|
8334
8339
|
children: [
|
|
8335
8340
|
/* @__PURE__ */ Z("title", { children: [v, g === "fresh" ? "" : ` · ${n(g === "stale" ? "graphics_stale" : "graphics_unknown")}`] }),
|
|
8336
8341
|
/* @__PURE__ */ X("defs", { children: /* @__PURE__ */ X("clipPath", {
|
|
8337
|
-
id:
|
|
8342
|
+
id: b,
|
|
8338
8343
|
children: /* @__PURE__ */ X("rect", {
|
|
8339
8344
|
x: 0,
|
|
8340
8345
|
y: m * (1 - f.fillLevel),
|
|
@@ -8362,7 +8367,7 @@ function kh({ data: e, selected: t }) {
|
|
|
8362
8367
|
width: p,
|
|
8363
8368
|
height: m,
|
|
8364
8369
|
rx: r.kind === "rounded-rectangle" ? 12 : 0,
|
|
8365
|
-
clipPath: `url(#${
|
|
8370
|
+
clipPath: `url(#${b})`
|
|
8366
8371
|
})] }),
|
|
8367
8372
|
i.editing && r.kind === "junction" && /* @__PURE__ */ X("circle", {
|
|
8368
8373
|
cx: p / 2,
|
|
@@ -8382,22 +8387,22 @@ function kh({ data: e, selected: t }) {
|
|
|
8382
8387
|
cy: m / 2,
|
|
8383
8388
|
rx: p / 2,
|
|
8384
8389
|
ry: m / 2,
|
|
8385
|
-
clipPath: `url(#${
|
|
8390
|
+
clipPath: `url(#${b})`
|
|
8386
8391
|
})] }),
|
|
8387
8392
|
r.kind === "polygon" && /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X("polygon", {
|
|
8388
|
-
points:
|
|
8393
|
+
points: w,
|
|
8389
8394
|
fill: "none"
|
|
8390
8395
|
}), /* @__PURE__ */ X("polygon", {
|
|
8391
|
-
points:
|
|
8392
|
-
clipPath: `url(#${
|
|
8396
|
+
points: w,
|
|
8397
|
+
clipPath: `url(#${b})`
|
|
8393
8398
|
})] }),
|
|
8394
|
-
r.kind === "image" && (
|
|
8399
|
+
r.kind === "image" && (C.url == null ? /* @__PURE__ */ X(Y, { children: /* @__PURE__ */ X("rect", {
|
|
8395
8400
|
width: p,
|
|
8396
8401
|
height: m,
|
|
8397
8402
|
fill: "none",
|
|
8398
8403
|
strokeDasharray: "5 5"
|
|
8399
8404
|
}) }) : /* @__PURE__ */ X("image", {
|
|
8400
|
-
href:
|
|
8405
|
+
href: C.url,
|
|
8401
8406
|
width: p,
|
|
8402
8407
|
height: m,
|
|
8403
8408
|
preserveAspectRatio: "xMidYMid meet"
|
|
@@ -8429,7 +8434,7 @@ function kh({ data: e, selected: t }) {
|
|
|
8429
8434
|
e.stopPropagation(), s.current.onBeginEdit(), e.currentTarget.setPointerCapture(e.pointerId);
|
|
8430
8435
|
},
|
|
8431
8436
|
onPointerMove: (e) => {
|
|
8432
|
-
|
|
8437
|
+
T(e, t);
|
|
8433
8438
|
}
|
|
8434
8439
|
}, t))
|
|
8435
8440
|
]
|
|
@@ -8440,10 +8445,11 @@ function kh({ data: e, selected: t }) {
|
|
|
8440
8445
|
selected: t
|
|
8441
8446
|
})
|
|
8442
8447
|
]
|
|
8443
|
-
}), (g !== "fresh" || r.kind === "image" &&
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8448
|
+
}), (g !== "fresh" || r.kind === "image" && C.status === "unavailable") && /* @__PURE__ */ Z("svg", {
|
|
8449
|
+
...y,
|
|
8450
|
+
width: S.width,
|
|
8451
|
+
height: S.height,
|
|
8452
|
+
viewBox: `0 0 ${String(S.width)} ${String(S.height)}`,
|
|
8447
8453
|
className: "pointer-events-none absolute inset-0 overflow-visible",
|
|
8448
8454
|
role: "group",
|
|
8449
8455
|
children: [g !== "fresh" && /* @__PURE__ */ X(hh, {
|
|
@@ -8452,15 +8458,15 @@ function kh({ data: e, selected: t }) {
|
|
|
8452
8458
|
width: p,
|
|
8453
8459
|
height: m,
|
|
8454
8460
|
rotation: h
|
|
8455
|
-
},
|
|
8456
|
-
x:
|
|
8461
|
+
}, S) : {
|
|
8462
|
+
x: S.width - 6,
|
|
8457
8463
|
y: 6
|
|
8458
8464
|
},
|
|
8459
8465
|
quality: g,
|
|
8460
8466
|
onInspect: () => {
|
|
8461
8467
|
s.current.onInspect(r);
|
|
8462
8468
|
}
|
|
8463
|
-
}), r.kind === "image" &&
|
|
8469
|
+
}), r.kind === "image" && C.status === "unavailable" && /* @__PURE__ */ X("foreignObject", {
|
|
8464
8470
|
width: p,
|
|
8465
8471
|
height: m,
|
|
8466
8472
|
children: /* @__PURE__ */ Z("div", {
|
|
@@ -8471,7 +8477,7 @@ function kh({ data: e, selected: t }) {
|
|
|
8471
8477
|
variant: "outline",
|
|
8472
8478
|
className: "pointer-events-auto! touch-none select-none",
|
|
8473
8479
|
onClick: (e) => {
|
|
8474
|
-
e.stopPropagation(),
|
|
8480
|
+
e.stopPropagation(), C.retry();
|
|
8475
8481
|
},
|
|
8476
8482
|
children: n("graphics_image_retry")
|
|
8477
8483
|
})]
|
|
@@ -11506,6 +11512,9 @@ function e_({ workspaceId: e, dashboardId: n, drawingId: r, defaultDocument: i,
|
|
|
11506
11512
|
className: L || He ? "relative h-full outline-none" : "relative",
|
|
11507
11513
|
"data-theme": "light",
|
|
11508
11514
|
"data-testid": "graphics-canvas",
|
|
11515
|
+
"data-context-workspace-id": e,
|
|
11516
|
+
"data-context-dashboard-id": n,
|
|
11517
|
+
"data-context-drawing-id": r,
|
|
11509
11518
|
children: [
|
|
11510
11519
|
!L && !He && /* @__PURE__ */ X(fm, {
|
|
11511
11520
|
viewBox: De,
|
|
@@ -12026,7 +12035,7 @@ var f_ = class extends Yr {
|
|
|
12026
12035
|
render() {
|
|
12027
12036
|
return this.state.failed ? null : this.props.children;
|
|
12028
12037
|
}
|
|
12029
|
-
}, p_ = $r(() => import("./location-map-renderer-
|
|
12038
|
+
}, p_ = $r(() => import("./location-map-renderer-Hb5N0AYH.js"));
|
|
12030
12039
|
function m_({ locations: e, workspaceId: t, dashboardId: n, theme: r, unavailable: i, empty: a, retryLabel: o, clusterLabel: s, legend: c }) {
|
|
12031
12040
|
let l = Pf({
|
|
12032
12041
|
workspaceId: t,
|
|
@@ -17560,7 +17569,8 @@ function bS({ id: e, title: t, subtitle: n, image: r, workspaceId: i, dashboardI
|
|
|
17560
17569
|
d == null ? null : c?.({
|
|
17561
17570
|
page: d.id,
|
|
17562
17571
|
connected: v,
|
|
17563
|
-
readAgain: _
|
|
17572
|
+
readAgain: _,
|
|
17573
|
+
live: f
|
|
17564
17574
|
}),
|
|
17565
17575
|
d == null ? y == null ? null : /* @__PURE__ */ X(fl, { home: {
|
|
17566
17576
|
path: y.path,
|
|
@@ -17568,7 +17578,8 @@ function bS({ id: e, title: t, subtitle: n, image: r, workspaceId: i, dashboardI
|
|
|
17568
17578
|
} }) : l({
|
|
17569
17579
|
page: d.id,
|
|
17570
17580
|
connected: v,
|
|
17571
|
-
readAgain: _
|
|
17581
|
+
readAgain: _,
|
|
17582
|
+
live: f
|
|
17572
17583
|
})
|
|
17573
17584
|
]
|
|
17574
17585
|
})
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Kn as e, Qn as t, Wn as n, ii as r, zn as i } from "./quick-report-
|
|
2
|
-
import { h as a, m as o, n as s } from "./i18n-
|
|
3
|
-
import { B as c, H as l, K as u, R as d, U as f, V as p, jt as m, xt as h } from "./alert-dialog-
|
|
4
|
-
import { l as g } from "./spinner-
|
|
5
|
-
import { a as _, b as v, i as y, n as b } from "./panel-
|
|
6
|
-
import { r as x, t as S } from "./query-gate-
|
|
7
|
-
import { t as C } from "./breadcrumbs-
|
|
8
|
-
import { a as w, c as T, d as E, i as D, l as O, n as k, o as A, r as j, s as M, t as ee, u as te } from "./catalog-list-
|
|
9
|
-
import { t as ne } from "./run-text-
|
|
10
|
-
import { i as re, n as ie, r as ae, t as oe } from "./starter-fields-
|
|
1
|
+
import { Kn as e, Qn as t, Wn as n, ii as r, zn as i } from "./quick-report-ZvrI5Jkh.js";
|
|
2
|
+
import { h as a, m as o, n as s } from "./i18n-D54xfDUE.js";
|
|
3
|
+
import { B as c, H as l, K as u, R as d, U as f, V as p, jt as m, xt as h } from "./alert-dialog-CskdoiGZ.js";
|
|
4
|
+
import { l as g } from "./spinner-LbVGWBQq.js";
|
|
5
|
+
import { a as _, b as v, i as y, n as b } from "./panel-Cr3OXiRs.js";
|
|
6
|
+
import { r as x, t as S } from "./query-gate-2sU8OvEb.js";
|
|
7
|
+
import { t as C } from "./breadcrumbs-B5O9let7.js";
|
|
8
|
+
import { a as w, c as T, d as E, i as D, l as O, n as k, o as A, r as j, s as M, t as ee, u as te } from "./catalog-list-3yaB4bJD.js";
|
|
9
|
+
import { t as ne } from "./run-text-Bmkf_u0N.js";
|
|
10
|
+
import { i as re, n as ie, r as ae, t as oe } from "./starter-fields-BHNS6IQe.js";
|
|
11
11
|
import { r as N } from "./starter-handoff-BaK8Ss8I.js";
|
|
12
|
-
import { n as P, t as F } from "./entity-controls-
|
|
12
|
+
import { n as P, t as F } from "./entity-controls-rdv-ttvP.js";
|
|
13
13
|
import { useRef as I, useState as L } from "react";
|
|
14
14
|
import { Fragment as R, jsx as z, jsxs as B } from "react/jsx-runtime";
|
|
15
15
|
import { LayoutTemplateIcon as V, PlusIcon as H, Trash2Icon as U, WorkflowIcon as W } from "lucide-react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nt as e } from "./alert-dialog-
|
|
1
|
+
import { Nt as e } from "./alert-dialog-CskdoiGZ.js";
|
|
2
2
|
import { useCallback as t, useEffect as n, useEffectEvent as r, useState as i } from "react";
|
|
3
3
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
4
4
|
import { APIProvider as c, AdvancedMarker as l, InfoWindow as u, Map as d, useMap as f } from "@vis.gl/react-google-maps";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as e } from "./i18n-
|
|
2
|
-
import { Mt as t, Nt as n, jt as r } from "./alert-dialog-
|
|
3
|
-
import { t as i } from "./spinner-
|
|
1
|
+
import { m as e } from "./i18n-D54xfDUE.js";
|
|
2
|
+
import { Mt as t, Nt as n, jt as r } from "./alert-dialog-CskdoiGZ.js";
|
|
3
|
+
import { t as i } from "./spinner-LbVGWBQq.js";
|
|
4
4
|
import * as a from "react";
|
|
5
5
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
6
|
import { ChevronRightIcon as l, CircleAlertIcon as u, InfoIcon as d, RefreshCwIcon as f, TriangleAlertIcon as p } from "lucide-react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Nr as e, Wn as t, fn as n, hn as r, ii as i, mn as a, pn as o } from "./quick-report-
|
|
2
|
-
import { f as s, h as c, m as l } from "./i18n-
|
|
3
|
-
import { jt as u, xt as d } from "./alert-dialog-
|
|
4
|
-
import { A as f, M as p, j as m, l as h } from "./spinner-
|
|
5
|
-
import { i as g, n as _, r as v, t as y } from "./alarm-list-
|
|
6
|
-
import { M as b, a as x, b as S, i as C, n as w, r as T } from "./panel-
|
|
7
|
-
import { r as E, t as D } from "./query-gate-
|
|
8
|
-
import { i as O, n as k, t as A } from "./search-
|
|
1
|
+
import { Nr as e, Wn as t, fn as n, hn as r, ii as i, mn as a, pn as o } from "./quick-report-ZvrI5Jkh.js";
|
|
2
|
+
import { f as s, h as c, m as l } from "./i18n-D54xfDUE.js";
|
|
3
|
+
import { jt as u, xt as d } from "./alert-dialog-CskdoiGZ.js";
|
|
4
|
+
import { A as f, M as p, j as m, l as h } from "./spinner-LbVGWBQq.js";
|
|
5
|
+
import { i as g, n as _, r as v, t as y } from "./alarm-list-TDg7nwkn.js";
|
|
6
|
+
import { M as b, a as x, b as S, i as C, n as w, r as T } from "./panel-Cr3OXiRs.js";
|
|
7
|
+
import { r as E, t as D } from "./query-gate-2sU8OvEb.js";
|
|
8
|
+
import { i as O, n as k, t as A } from "./search-ADhiRT_S.js";
|
|
9
9
|
import { jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
10
10
|
import { SirenIcon as N, XIcon as P } from "lucide-react";
|
|
11
11
|
import { formatAppDateTime as F, parseExactAppDateTime as I } from "@overvis/hmi-shared";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Pr as e, ii as t } from "./quick-report-
|
|
2
|
-
import { f as n, h as r, m as i, n as a } from "./i18n-
|
|
3
|
-
import { B as o, R as s, _t as c, dt as l, ft as u, gt as d, jt as f, mt as p, rt as m, tt as h, vt as g, xt as _ } from "./alert-dialog-
|
|
4
|
-
import { c as v, l as y } from "./spinner-
|
|
5
|
-
import { a as b, c as x, d as S, o as C, s as w, u as T } from "./notice-card-
|
|
6
|
-
import { b as E } from "./panel-
|
|
7
|
-
import { t as D } from "./query-gate-
|
|
8
|
-
import { t as O } from "./breadcrumbs-
|
|
9
|
-
import { l as k, n as ee } from "./catalog-list-
|
|
10
|
-
import { a as A, i as j, n as te, o as M, t as ne } from "./retention-
|
|
11
|
-
import { a as re, i as ie, n as ae, r as oe, t as se } from "./dialogs-
|
|
1
|
+
import { Pr as e, ii as t } from "./quick-report-ZvrI5Jkh.js";
|
|
2
|
+
import { f as n, h as r, m as i, n as a } from "./i18n-D54xfDUE.js";
|
|
3
|
+
import { B as o, R as s, _t as c, dt as l, ft as u, gt as d, jt as f, mt as p, rt as m, tt as h, vt as g, xt as _ } from "./alert-dialog-CskdoiGZ.js";
|
|
4
|
+
import { c as v, l as y } from "./spinner-LbVGWBQq.js";
|
|
5
|
+
import { a as b, c as x, d as S, o as C, s as w, u as T } from "./notice-card-BMNjc7qi.js";
|
|
6
|
+
import { b as E } from "./panel-Cr3OXiRs.js";
|
|
7
|
+
import { t as D } from "./query-gate-2sU8OvEb.js";
|
|
8
|
+
import { t as O } from "./breadcrumbs-B5O9let7.js";
|
|
9
|
+
import { l as k, n as ee } from "./catalog-list-3yaB4bJD.js";
|
|
10
|
+
import { a as A, i as j, n as te, o as M, t as ne } from "./retention-wDvnFMbN.js";
|
|
11
|
+
import { a as re, i as ie, n as ae, r as oe, t as se } from "./dialogs-BUyPGimM.js";
|
|
12
12
|
import { useEffect as N, useMemo as ce, useState as P } from "react";
|
|
13
13
|
import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
14
14
|
import { FolderIcon as le, HardDriveIcon as ue, PencilIcon as R, PlusIcon as de, Trash2Icon as z, TriangleAlertIcon as B } from "lucide-react";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { Bn as t, Kn as n, Lt as r, Qn as i, Wn as a, ii as o, zn as s } from "./quick-report-
|
|
3
|
-
import { f as c, h as l, m as u, n as d } from "./i18n-
|
|
4
|
-
import { $ as f, B as p, H as m, K as h, Nt as g, R as _, U as v, V as y, X as b, Y as x, jt as S, xt as C } from "./alert-dialog-
|
|
5
|
-
import { G as w, V as T } from "./spinner-
|
|
6
|
-
import { b as E } from "./panel-
|
|
7
|
-
import { r as D, t as O } from "./query-gate-
|
|
8
|
-
import { i as k, n as A, t as ee } from "./display-
|
|
9
|
-
import { t as te } from "./breadcrumbs-
|
|
10
|
-
import { a as ne, i as re, n as ie, r as j, t as M } from "./presence-code-
|
|
11
|
-
import { a as N, c as P, d as F, i as I, l as L, n as R, o as z, r as B, s as V, t as H, u as U } from "./catalog-list-
|
|
12
|
-
import { t as W } from "./wireguard-docs-
|
|
2
|
+
import { Bn as t, Kn as n, Lt as r, Qn as i, Wn as a, ii as o, zn as s } from "./quick-report-ZvrI5Jkh.js";
|
|
3
|
+
import { f as c, h as l, m as u, n as d } from "./i18n-D54xfDUE.js";
|
|
4
|
+
import { $ as f, B as p, H as m, K as h, Nt as g, R as _, U as v, V as y, X as b, Y as x, jt as S, xt as C } from "./alert-dialog-CskdoiGZ.js";
|
|
5
|
+
import { G as w, V as T } from "./spinner-LbVGWBQq.js";
|
|
6
|
+
import { b as E } from "./panel-Cr3OXiRs.js";
|
|
7
|
+
import { r as D, t as O } from "./query-gate-2sU8OvEb.js";
|
|
8
|
+
import { i as k, n as A, t as ee } from "./display-DmldtHdd.js";
|
|
9
|
+
import { t as te } from "./breadcrumbs-B5O9let7.js";
|
|
10
|
+
import { a as ne, i as re, n as ie, r as j, t as M } from "./presence-code-DIKs9fBe.js";
|
|
11
|
+
import { a as N, c as P, d as F, i as I, l as L, n as R, o as z, r as B, s as V, t as H, u as U } from "./catalog-list-3yaB4bJD.js";
|
|
12
|
+
import { t as W } from "./wireguard-docs-DIBtCviv.js";
|
|
13
13
|
import { useState as G } from "react";
|
|
14
14
|
import { Fragment as K, jsx as q, jsxs as J } from "react/jsx-runtime";
|
|
15
15
|
import { BookOpenIcon as Y, CableIcon as ae, PencilIcon as oe, PlusIcon as se, Trash2Icon as ce } from "lucide-react";
|