@overvis/hmi-workspace-ui 0.1.1 → 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.
Files changed (91) hide show
  1. package/README.md +6 -4
  2. package/dist/{alarm-list-sheAq-pb.js → alarm-list-TDg7nwkn.js} +4 -4
  3. package/dist/{alarm-rule-dialog-D_ml7V0v.js → alarm-rule-dialog-DwbRtPZD.js} +10 -10
  4. package/dist/{alarm-rule-lists-DaA4soF4.js → alarm-rule-lists-Ax7PzbQy.js} +4 -4
  5. package/dist/{alarm-rules-page-OFjOQ-dm.js → alarm-rules-page-DisATKLV.js} +11 -11
  6. package/dist/{alert-dialog-B60PF7S9.js → alert-dialog-CskdoiGZ.js} +1 -1
  7. package/dist/{base-revision-DYCOZS0R.js → base-revision-C-tNhqGq.js} +3 -3
  8. package/dist/{breadcrumbs-D2u8KZQo.js → breadcrumbs-B5O9let7.js} +3 -3
  9. package/dist/{catalog-list-LXuRix0-.js → catalog-list-3yaB4bJD.js} +1 -1
  10. package/dist/{code-editor-BMSyzAxu.js → code-editor-B6myrPQm.js} +6 -2
  11. package/dist/{dashboards-page-wnmmLpVC.js → dashboards-page-CoKevu-T.js} +9 -9
  12. package/dist/{de-hkEr2usK.js → de-CPxvTPak.js} +11 -0
  13. package/dist/{diagnostic-text-CsbENUNI.js → diagnostic-text-BS4rdZcE.js} +2 -2
  14. package/dist/{dialogs-AtIYlNSy.js → dialogs-BUyPGimM.js} +6 -6
  15. package/dist/{dialogs-DsHbKgZD.js → dialogs-CF7Baagf.js} +512 -510
  16. package/dist/{display-DSyEwQt8.js → display-DmldtHdd.js} +2 -2
  17. package/dist/{editor-language-CTfJBXMs.js → editor-language-8UJkvBgX.js} +1 -1
  18. package/dist/{editor-page-BWbVGJvU.js → editor-page-_6TxO_iT.js} +14 -14
  19. package/dist/{en-UW_k-Bd6.js → en-DoFtc9Sn.js} +11 -0
  20. package/dist/{entity-controls-BCuRx882.js → entity-controls-rdv-ttvP.js} +3 -3
  21. package/dist/{errors-Cawve9yD.js → errors-BFeJfnyz.js} +2 -2
  22. package/dist/{footer-B9XdpVzq.js → footer-DZUQHVnt.js} +4 -4
  23. package/dist/host.js +1175 -1063
  24. package/dist/{i18n-Dt6xbSK6.js → i18n-D54xfDUE.js} +5 -5
  25. package/dist/i18n.js +1 -1
  26. package/dist/index.js +64 -42
  27. package/dist/{list-page-agHupfNb.js → list-page-Cz5bdD8r.js} +11 -11
  28. package/dist/{location-map-renderer-kxU6cgFl.js → location-map-renderer-Hb5N0AYH.js} +1 -1
  29. package/dist/{notice-card-CH28rYUt.js → notice-card-BMNjc7qi.js} +3 -3
  30. package/dist/{page-CZPHJUmz.js → page-BKnwJyv5.js} +8 -8
  31. package/dist/{page-HCGXXGjy.js → page-CBWLmbIE.js} +11 -11
  32. package/dist/{page-DpdkOGGb.js → page-UoQRnsm3.js} +11 -11
  33. package/dist/{panel-BCwBlB_h.js → panel-Cr3OXiRs.js} +3 -3
  34. package/dist/{pl-BokvsP3J.js → pl-DEPfFtMO.js} +11 -0
  35. package/dist/{presence-code-cT6wxlTg.js → presence-code-DIKs9fBe.js} +2 -2
  36. package/dist/{query-gate-DqmHsZ07.js → query-gate-2sU8OvEb.js} +3 -3
  37. package/dist/{quick-report-DEqqwQxR.js → quick-report-ZvrI5Jkh.js} +3130 -3102
  38. package/dist/{retention-note-nequESpo.js → retention-note-BrkxE2Wo.js} +9 -6
  39. package/dist/{retention-DZ0reGGe.js → retention-wDvnFMbN.js} +2 -2
  40. package/dist/{ru-DZSlsRHq.js → ru-Ct2zNOs8.js} +15 -4
  41. package/dist/{run-text-DneX9rWh.js → run-text-Bmkf_u0N.js} +2 -2
  42. package/dist/{search-DP9_alSQ.js → search-ADhiRT_S.js} +3 -3
  43. package/dist/{sections-BU7NKUOQ.js → sections-BDtBUhxn.js} +1 -1
  44. package/dist/{select-Te6Qv1Zu.js → select-Cpeslz01.js} +2 -2
  45. package/dist/{spinner-BRcNKwjH.js → spinner-LbVGWBQq.js} +2 -2
  46. package/dist/src/code-editor/code-editor.d.ts +3 -0
  47. package/dist/src/code-editor/taskfile-language.d.ts +22 -2
  48. package/dist/src/i18n/catalogs/de/api-error.d.ts +3 -0
  49. package/dist/src/i18n/catalogs/de/audit.d.ts +1 -0
  50. package/dist/src/i18n/catalogs/de/edge-program.d.ts +4 -0
  51. package/dist/src/i18n/catalogs/de/parameter.d.ts +1 -0
  52. package/dist/src/i18n/catalogs/de/starter.d.ts +2 -0
  53. package/dist/src/i18n/catalogs/de.d.ts +11 -0
  54. package/dist/src/i18n/catalogs/en/api-error.d.ts +3 -0
  55. package/dist/src/i18n/catalogs/en/audit.d.ts +1 -0
  56. package/dist/src/i18n/catalogs/en/edge-program.d.ts +4 -0
  57. package/dist/src/i18n/catalogs/en/parameter.d.ts +1 -0
  58. package/dist/src/i18n/catalogs/en/starter.d.ts +2 -0
  59. package/dist/src/i18n/catalogs/en.d.ts +11 -0
  60. package/dist/src/i18n/catalogs/pl/api-error.d.ts +3 -0
  61. package/dist/src/i18n/catalogs/pl/audit.d.ts +1 -0
  62. package/dist/src/i18n/catalogs/pl/edge-program.d.ts +4 -0
  63. package/dist/src/i18n/catalogs/pl/parameter.d.ts +1 -0
  64. package/dist/src/i18n/catalogs/pl/starter.d.ts +2 -0
  65. package/dist/src/i18n/catalogs/pl.d.ts +11 -0
  66. package/dist/src/i18n/catalogs/ru/api-error.d.ts +3 -0
  67. package/dist/src/i18n/catalogs/ru/audit.d.ts +1 -0
  68. package/dist/src/i18n/catalogs/ru/edge-program.d.ts +6 -2
  69. package/dist/src/i18n/catalogs/ru/graphics.d.ts +2 -2
  70. package/dist/src/i18n/catalogs/ru/parameter.d.ts +1 -0
  71. package/dist/src/i18n/catalogs/ru/starter.d.ts +2 -0
  72. package/dist/src/i18n/catalogs/ru.d.ts +15 -4
  73. package/dist/src/i18n/catalogs/uk/api-error.d.ts +3 -0
  74. package/dist/src/i18n/catalogs/uk/audit.d.ts +1 -0
  75. package/dist/src/i18n/catalogs/uk/edge-program.d.ts +6 -2
  76. package/dist/src/i18n/catalogs/uk/graphics.d.ts +2 -2
  77. package/dist/src/i18n/catalogs/uk/parameter.d.ts +1 -0
  78. package/dist/src/i18n/catalogs/uk/starter.d.ts +2 -0
  79. package/dist/src/i18n/catalogs/uk.d.ts +15 -4
  80. package/dist/src/version.d.ts +1 -1
  81. package/dist/src/workspace/device-presets/layout.d.ts +2 -0
  82. package/dist/src/workspace/local-setup-link.d.ts +3 -0
  83. package/dist/src/workspace/parameters/errors.d.ts +5 -0
  84. package/dist/src/workspace/setup/starters/starter-form.d.ts +24 -6
  85. package/dist/starter-fields-BHNS6IQe.js +678 -0
  86. package/dist/styles.css +1 -1
  87. package/dist/ui.js +6 -6
  88. package/dist/{uk-CjXPq9Lk.js → uk-Dbm1i2uh.js} +15 -4
  89. package/dist/{wireguard-docs-CC8XKBR7.js → wireguard-docs-DIBtCviv.js} +3 -3
  90. package/package.json +2 -2
  91. package/dist/starter-fields-yM4B49nd.js +0 -583
@@ -1,5 +1,5 @@
1
- import { ii as e } from "./quick-report-DEqqwQxR.js";
2
- import { f as t } from "./i18n-Dt6xbSK6.js";
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-Dt6xbSK6.js";
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-DEqqwQxR.js";
2
- import { h as c, m as l, n as u } from "./i18n-Dt6xbSK6.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-B60PF7S9.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-BRcNKwjH.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-CH28rYUt.js";
6
- import { t as z } from "./diagnostic-text-CsbENUNI.js";
7
- import { a as te, b as ne, i as re, n as ie } from "./panel-BCwBlB_h.js";
8
- import { n as ae, r as oe, t as B } from "./query-gate-DqmHsZ07.js";
9
- import { t as se } from "./breadcrumbs-D2u8KZQo.js";
10
- import { n as ce, t as le } from "./base-revision-DYCOZS0R.js";
11
- import { t as ue } from "./code-editor-BMSyzAxu.js";
12
- import { a as de, i as fe, n as pe, o as V, r as me, t as he } from "./run-text-DneX9rWh.js";
13
- import { n as ge, t as _e } from "./editor-language-CTfJBXMs.js";
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-BCuRx882.js";
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",
@@ -3140,6 +3147,8 @@ var e = {
3140
3147
  edge_program_delete_description: "The program is removed from the device at the next deploy, and the device restarts its other programs.",
3141
3148
  edge_program_delete_submit: "Delete",
3142
3149
  edge_program_delete_toast: "Program deleted",
3150
+ edge_program_indent_if_actions: "Indent actions after IF",
3151
+ edge_program_indent_if_actions_hint: "Indents the action after each IF by four spaces (Shift+Alt+F)",
3143
3152
  edge_program_enabled_label: "Program enabled",
3144
3153
  edge_program_enabled: "Enabled",
3145
3154
  edge_program_disabled: "Disabled",
@@ -3270,11 +3279,13 @@ var e = {
3270
3279
  taskfile_error_param_map_multiple_writers: "Another program writes this mapped parameter. Only one program may write it.",
3271
3280
  taskfile_error_obsolete_file_layout: "The files on the device use an obsolete layout.",
3272
3281
  taskfile_error_unknown: "The device reported error {code}.",
3282
+ taskfile_warning_consecutive_if: "This IF is checked only when the IF before it is true; otherwise it is skipped and the action after it runs. To require both conditions, use IF AND.",
3273
3283
  taskfile_warning_depends_on_invalid_definition: "This line uses a definition that has an error.",
3274
3284
  taskfile_warning_filename_ignored: "The device skips {filename}: .MAP, .OBJ and .CNF files are reserved.",
3275
3285
  taskfile_warning_filename_invalid: "{filename} is not an 8.3 file name, so the device skips it.",
3276
3286
  taskfile_warning_implicit_indirect_index: "Define the index variable before using it; the device may handle an undefined one unpredictably.",
3277
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.",
3278
3289
  taskfile_warning_nonstandard_holding_name: "The device accepts this name here, but it does not follow the usual naming rules.",
3279
3290
  taskfile_warning_string_output_limit: "This string can grow longer than {limit} bytes, and the device cuts off the rest.",
3280
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-DEqqwQxR.js";
2
- import { m as o, n as s } from "./i18n-Dt6xbSK6.js";
3
- import { $ as c, H as l, K as u, U as d, V as f, jt as p } from "./alert-dialog-B60PF7S9.js";
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-DEqqwQxR.js";
2
- import { f as n } from "./i18n-Dt6xbSK6.js";
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-DEqqwQxR.js";
2
- import { f as y, h as b, m as x, n as S, u as C, v as w } from "./i18n-Dt6xbSK6.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-B60PF7S9.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-BRcNKwjH.js";
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";