@overvis/hmi-workspace-ui 0.1.0 → 0.1.2
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/alarm-list-DKFio0hg.js +414 -0
- package/dist/alarm-rule-dialog-mb4_nHRW.js +417 -0
- package/dist/{alarm-rule-lists-C5v1Kf7A.js → alarm-rule-lists-CfZXTWkK.js} +123 -125
- package/dist/{alarm-rules-page-CqFzofPd.js → alarm-rules-page-DBLSkrrG.js} +15 -18
- package/dist/alert-dialog-D_iDv2lQ.js +891 -0
- package/dist/{base-revision-YCO27zR4.js → base-revision-DLF9EnGV.js} +26 -29
- package/dist/{breadcrumbs-0cjsV2cq.js → breadcrumbs-D5R6Fz74.js} +6 -7
- package/dist/{catalog-list-DjZojYLJ.js → catalog-list-BkWosvh1.js} +2 -4
- package/dist/{code-editor-BVimvjDV.js → code-editor-DCM0KdMJ.js} +9 -6
- package/dist/dashboard-bindings.js +1 -2
- package/dist/{dashboards-page-BlrJguNz.js → dashboards-page-DLc11Vzu.js} +335 -359
- package/dist/{de-14WdmJxZ.js → de-Z2er-E5v.js} +4 -2
- package/dist/diagnostic-text-CYZFPiND.js +116 -0
- package/dist/{dialogs-D_v1LeH4.js → dialogs-BX023zml.js} +2523 -2590
- package/dist/{dialogs-B6BRnf3Q.js → dialogs-DEOg9lxy.js} +219 -227
- package/dist/{display-DmOo23mi.js → display-VYGzneE0.js} +4 -6
- package/dist/{editor-language-To9MxloY.js → editor-language-CGENZxbI.js} +3 -5
- package/dist/editor-page-CaN52OQh.js +1337 -0
- package/dist/{en-BgercpT0.js → en-CKPPL6bQ.js} +4 -2
- package/dist/entity-controls-DJT47yeV.js +71 -0
- package/dist/errors-BAWoH_5w.js +25 -0
- package/dist/{footer-DC-Q0052.js → footer-CbPMP8aq.js} +2404 -2515
- package/dist/host.js +8254 -675
- package/dist/{i18n-BgzakKoC.js → i18n-ChjEbYEg.js} +77 -90
- package/dist/i18n.js +1 -2
- package/dist/index.js +5168 -5353
- package/dist/{lat-lng-B12P7QyY.js → lat-lng-Bl77AGSO.js} +1 -2
- package/dist/{list-page-CvsdZb86.js → list-page-Fa29SkaJ.js} +116 -123
- package/dist/{location-map-renderer-DO5yfdSU.js → location-map-renderer-DvXIYc1Z.js} +6 -6
- package/dist/{location-picker-renderer-CjCxg6ai.js → location-picker-renderer-B1_-n8lf.js} +3 -4
- package/dist/{model-B8gGi4OK.js → model-tpg_xpFB.js} +1 -2
- package/dist/{notice-card-DyGywFsW.js → notice-card-V_0K0lO0.js} +54 -58
- package/dist/page-B5te_1Lc.js +449 -0
- package/dist/{page-v6LCwswN.js → page-BorlLnMX.js} +92 -100
- package/dist/page-DxF7FOve.js +507 -0
- package/dist/panel-DuZD-cBP.js +949 -0
- package/dist/parameter-values.js +3 -16
- package/dist/{pl-lQ9HXV9k.js → pl-DVABrn5G.js} +4 -2
- package/dist/presence-code-DsabLTZs.js +73 -0
- package/dist/{query-gate-DVhNIkge.js → query-gate-BbIo1Xrj.js} +6 -6
- package/dist/{provider-DoEpKcQ-.js → quick-report-BcZsfkCZ.js} +9423 -5102
- package/dist/{retention-BYXNpYmR.js → retention-C7EZsq8u.js} +4 -6
- package/dist/retention-note-CmMeHV_u.js +40 -0
- package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
- package/dist/{ru-qTKINoUj.js → ru-CBRLC_xM.js} +8 -6
- package/dist/run-text-CDdfbKbg.js +112 -0
- package/dist/{search-D4rDnE9T.js → search-C6xQ_Hvo.js} +26 -29
- package/dist/{sections-kCOyc4NR.js → sections-D_SBfVzV.js} +2 -3
- package/dist/{select-BKiOWdSr.js → select-nNLG-AMz.js} +17 -23
- package/dist/{spinner-C-HPNxOc.js → spinner-B-KLtBjp.js} +182 -201
- package/dist/src/code-editor/code-editor.d.ts +3 -0
- package/dist/src/code-editor/taskfile-language.d.ts +22 -2
- package/dist/src/i18n/catalogs/de/edge-program.d.ts +3 -0
- package/dist/src/i18n/catalogs/de.d.ts +3 -0
- package/dist/src/i18n/catalogs/en/edge-program.d.ts +3 -0
- package/dist/src/i18n/catalogs/en.d.ts +3 -0
- package/dist/src/i18n/catalogs/pl/edge-program.d.ts +3 -0
- package/dist/src/i18n/catalogs/pl.d.ts +3 -0
- package/dist/src/i18n/catalogs/ru/edge-program.d.ts +5 -2
- package/dist/src/i18n/catalogs/ru/graphics.d.ts +2 -2
- package/dist/src/i18n/catalogs/ru.d.ts +7 -4
- package/dist/src/i18n/catalogs/uk/edge-program.d.ts +5 -2
- package/dist/src/i18n/catalogs/uk/graphics.d.ts +2 -2
- package/dist/src/i18n/catalogs/uk.d.ts +7 -4
- package/dist/src/version.d.ts +1 -1
- package/dist/src/workspace/graphics/inspector/item.d.ts +6 -6
- package/dist/src/workspace/local-workspace-app.d.ts +1 -1
- package/dist/src/workspace/routes.d.ts +1 -1
- package/dist/{starter-fields-BRLX0z-v.js → starter-fields-7S3LmtGa.js} +154 -157
- package/dist/{starter-handoff-BA3ucMKL.js → starter-handoff-BaK8Ss8I.js} +1 -2
- package/dist/styles.css +1 -1
- package/dist/ui.js +334 -374
- package/dist/{uk-CwpJAxmx.js → uk-17pbVYZa.js} +8 -6
- package/dist/{wireguard-docs-AfU6NzTL.js → wireguard-docs-Clb-7xRY.js} +14 -17
- package/package.json +15 -9
- package/dist/alarm-list-BL3xQ5Lf.js +0 -423
- package/dist/alarm-rule-dialog-S1ZUg-74.js +0 -423
- package/dist/alert-B8MAoIO8.js +0 -45
- package/dist/alert-dialog-CYkuMg5D.js +0 -129
- package/dist/api-error-9rQmUN5L.js +0 -93
- package/dist/breadcrumb-DzVL1yHa.js +0 -74
- package/dist/button-6SxPBYMz.js +0 -44
- package/dist/context-u9KJQmdB.js +0 -102
- package/dist/copyable-id-DYGiAcnq.js +0 -40
- package/dist/dashboard-context-CBfG6DoT.js +0 -191
- package/dist/date-time-picker-C3FhMXk6.js +0 -266
- package/dist/diagnostic-text-BAkzW0SE.js +0 -111
- package/dist/diagnostic-text-DiKd2i1w.js +0 -76
- package/dist/dialog-BIhQXcZC.js +0 -237
- package/dist/dialog-BqyIxMD-.js +0 -54
- package/dist/dropdown-menu-DSzbBq3v.js +0 -136
- package/dist/editor-page-BiSZJz5b.js +0 -1353
- package/dist/empty-B-QJ-06w.js +0 -59
- package/dist/entity-controls-D1K4Ot3O.js +0 -76
- package/dist/errors-CcsvDHu8.js +0 -26
- package/dist/history-page-sAAhG54V.js +0 -1400
- package/dist/icon-D-pR9htW.js +0 -57
- package/dist/index-page-DMH82fZe.js +0 -214
- package/dist/item-B5SaTFQU.js +0 -120
- package/dist/mutation-form-validators-BNz5bsv1.js +0 -2408
- package/dist/mutations-THtGG6Ai.js +0 -240
- package/dist/page-2KPemaAj.js +0 -328
- package/dist/page-6rIoTg2L.js +0 -459
- package/dist/page-C6giEoEd.js +0 -1935
- package/dist/page-DCbTxKsi.js +0 -313
- package/dist/page-DWO427hT.js +0 -208
- package/dist/page-LXu_2zm3.js +0 -137
- package/dist/page-aaUiVOnk.js +0 -513
- package/dist/page-header-RB2YFWlE.js +0 -55
- package/dist/page-title-CdCbiLt8.js +0 -14
- package/dist/panel-DDy8tUNR.js +0 -338
- package/dist/presence-code-BfSXr50g.js +0 -83
- package/dist/progress-C7cxNJA1.js +0 -83
- package/dist/provider-BOeYHi0n.js +0 -134
- package/dist/quick-report-CUVJnbKP.js +0 -416
- package/dist/radio-group-CZGqVbkJ.js +0 -26
- package/dist/retention-note-CHhA6gjY.js +0 -42
- package/dist/run-text-DvaO8LDF.js +0 -113
- package/dist/select-eNgZdZ30.js +0 -521
- package/dist/skeleton-6yk8Tdh5.js +0 -19
- package/dist/slider-DorDsoF8.js +0 -37
- package/dist/status-page-DAHiKM9P.js +0 -3286
- package/dist/switch-BqD0RH_G.js +0 -18
- package/dist/table-Q2-voLuw.js +0 -65
- package/dist/tabs-CSIucYFP.js +0 -57
- package/dist/theme-provider-BkRohQFU.js +0 -61
- package/dist/toggle-group-9Bs0Mm3r.js +0 -82
- package/dist/trpc-CvJUuUXp.js +0 -153
- package/dist/utils-CX-Pz5p6.js +0 -8
- package/dist/writability-BuH-spxv.js +0 -57
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/i18n/catalogs/de/messages.ts
|
|
2
2
|
var e = {
|
|
3
3
|
messages_title: "Meldungen und Benachrichtigungen",
|
|
4
4
|
messages_tab: "Meldungen",
|
|
@@ -3140,6 +3140,8 @@ var e = {
|
|
|
3140
3140
|
edge_program_delete_description: "Das Programm wird bei der nächsten Bereitstellung vom Gerät entfernt, und das Gerät startet seine anderen Programme neu.",
|
|
3141
3141
|
edge_program_delete_submit: "Löschen",
|
|
3142
3142
|
edge_program_delete_toast: "Programm gelöscht",
|
|
3143
|
+
edge_program_indent_if_actions: "Aktionen nach IF einrücken",
|
|
3144
|
+
edge_program_indent_if_actions_hint: "Rückt die Aktion nach jedem IF um vier Leerzeichen ein (Umschalt+Alt+F)",
|
|
3143
3145
|
edge_program_enabled_label: "Programm aktiviert",
|
|
3144
3146
|
edge_program_enabled: "Aktiviert",
|
|
3145
3147
|
edge_program_disabled: "Deaktiviert",
|
|
@@ -3270,6 +3272,7 @@ var e = {
|
|
|
3270
3272
|
taskfile_error_param_map_multiple_writers: "Ein anderes Programm schreibt diesen abgebildeten Parameter. Nur ein Programm darf ihn schreiben.",
|
|
3271
3273
|
taskfile_error_obsolete_file_layout: "Die Dateien auf dem Gerät verwenden ein veraltetes Layout.",
|
|
3272
3274
|
taskfile_error_unknown: "Das Gerät hat den Fehler {code} gemeldet.",
|
|
3275
|
+
taskfile_warning_consecutive_if: "Dieses IF wird nur geprüft, wenn das IF davor wahr ist; sonst wird es übersprungen und die Aktion danach ausgeführt. Um beide Bedingungen zu verlangen, verwenden Sie IF AND.",
|
|
3273
3276
|
taskfile_warning_depends_on_invalid_definition: "Diese Zeile verwendet eine Definition, die einen Fehler enthält.",
|
|
3274
3277
|
taskfile_warning_filename_ignored: "Das Gerät überspringt {filename}: .MAP-, .OBJ- und .CNF-Dateien sind reserviert.",
|
|
3275
3278
|
taskfile_warning_filename_invalid: "{filename} ist kein 8.3-Dateiname, daher überspringt das Gerät die Datei.",
|
|
@@ -4574,5 +4577,4 @@ var e = {
|
|
|
4574
4577
|
...k,
|
|
4575
4578
|
...A
|
|
4576
4579
|
};
|
|
4577
|
-
//#endregion
|
|
4578
4580
|
export { F as default };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Qt as e, Zt as t } from "./quick-report-BcZsfkCZ.js";
|
|
2
|
+
import { f as n, p as r } from "./i18n-ChjEbYEg.js";
|
|
3
|
+
// src/workspace/automations/diagnostic-text.ts
|
|
4
|
+
function i(e) {
|
|
5
|
+
return String(e ?? "");
|
|
6
|
+
}
|
|
7
|
+
function a(e) {
|
|
8
|
+
return String(Number(e) / 1e3);
|
|
9
|
+
}
|
|
10
|
+
function o(e, t) {
|
|
11
|
+
let n = i(e).split(",").filter((e) => e.length > 0);
|
|
12
|
+
return new Intl.ListFormat(r(), { type: t }).format(n);
|
|
13
|
+
}
|
|
14
|
+
function s(e) {
|
|
15
|
+
switch (e) {
|
|
16
|
+
case "string": return n("formula_type_string");
|
|
17
|
+
case "number": return n("formula_type_number");
|
|
18
|
+
case "boolean": return n("formula_type_boolean");
|
|
19
|
+
case "integer": return n("automation_json_integer");
|
|
20
|
+
case "array": return n("automation_json_array");
|
|
21
|
+
case "object": return n("automation_json_object");
|
|
22
|
+
case "null": return n("automation_json_null");
|
|
23
|
+
default: return e;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function c(e) {
|
|
27
|
+
let t = i(e.limit);
|
|
28
|
+
switch (e.reason) {
|
|
29
|
+
case "missing": return n("automation_shape_missing", { properties: o(e.properties, "conjunction") });
|
|
30
|
+
case "unexpected": return n("automation_shape_unexpected", { properties: o(e.properties, "conjunction") });
|
|
31
|
+
case "type": {
|
|
32
|
+
let t = i(e.expected).split(",").map(s).join(",");
|
|
33
|
+
return n("automation_shape_type", { expected: o(t, "disjunction") });
|
|
34
|
+
}
|
|
35
|
+
case "too_few": return n("automation_shape_too_few", { limit: t });
|
|
36
|
+
case "too_many": return n("automation_shape_too_many", { limit: t });
|
|
37
|
+
case "too_short": return n("automation_shape_too_short", { limit: t });
|
|
38
|
+
case "too_long": return n("automation_shape_too_long", { limit: t });
|
|
39
|
+
case "too_small": return n("automation_shape_too_small", { limit: t });
|
|
40
|
+
case "too_large": return n("automation_shape_too_large", { limit: t });
|
|
41
|
+
case "allowed": return n("automation_shape_allowed", { values: o(e.values, "disjunction") });
|
|
42
|
+
case "kind": return n("automation_shape_kind", { values: o(e.values, "disjunction") });
|
|
43
|
+
case "duplicate": return n("automation_shape_duplicate");
|
|
44
|
+
case "format": return e.format === "uuid" ? n("automation_shape_format_uuid") : n("automation_shape_format_other", { format: i(e.format) });
|
|
45
|
+
case "form": switch (e.form) {
|
|
46
|
+
case "name": return n("automation_shape_form_name");
|
|
47
|
+
case "key": return n("automation_shape_form_key");
|
|
48
|
+
case "time": return n("automation_shape_form_time");
|
|
49
|
+
case "command": return n("automation_shape_form_command");
|
|
50
|
+
case "language": return n("automation_shape_form_language");
|
|
51
|
+
default: return n("automation_shape_form_other");
|
|
52
|
+
}
|
|
53
|
+
default: return n("automation_diagnostic_invalid_shape");
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function l(r) {
|
|
57
|
+
let o = r.args;
|
|
58
|
+
switch (r.code) {
|
|
59
|
+
case "invalid_shape": return c(o);
|
|
60
|
+
case "duplicate_name": return n("automation_diagnostic_duplicate_name", { name: i(o.name) });
|
|
61
|
+
case "reserved_name": return n("automation_diagnostic_reserved_name", { name: i(o.name) });
|
|
62
|
+
case "unknown_procedure": return n("automation_diagnostic_unknown_procedure", { name: i(o.name) });
|
|
63
|
+
case "recursive_call": return n("automation_diagnostic_recursive_call", { cycle: i(o.cycle) });
|
|
64
|
+
case "unknown_variable": return n("automation_diagnostic_unknown_variable", { name: i(o.name) });
|
|
65
|
+
case "not_an_input": return n("automation_diagnostic_not_an_input", { name: i(o.name) });
|
|
66
|
+
case "not_a_state_variable": return n("automation_diagnostic_not_a_state_variable", { name: i(o.name) });
|
|
67
|
+
case "state_not_allowed": return n("automation_diagnostic_state_not_allowed", { name: i(o.name) });
|
|
68
|
+
case "variable_type": return n("automation_diagnostic_variable_type", {
|
|
69
|
+
name: i(o.name),
|
|
70
|
+
actual: e(o.actual, "conjunction"),
|
|
71
|
+
expected: e(o.expected, "disjunction")
|
|
72
|
+
});
|
|
73
|
+
case "calc_cycle": return n("automation_diagnostic_calc_cycle", { cycle: i(o.cycle) });
|
|
74
|
+
case "unknown_parameter": return n("automation_diagnostic_unknown_parameter");
|
|
75
|
+
case "unknown_endpoint": return n("automation_diagnostic_unknown_endpoint");
|
|
76
|
+
case "unknown_alarm": return o.key === void 0 ? n("automation_diagnostic_unknown_alarm") : n("automation_diagnostic_unknown_alarm_key", { key: i(o.key) });
|
|
77
|
+
case "unknown_automation": return n("automation_diagnostic_unknown_automation");
|
|
78
|
+
case "unknown_member": return n("automation_diagnostic_unknown_member");
|
|
79
|
+
case "unknown_cancel_key": return n("automation_diagnostic_unknown_cancel_key", { key: i(o.key) });
|
|
80
|
+
case "parameter_not_writable": return n("automation_diagnostic_parameter_not_writable");
|
|
81
|
+
case "parameter_disabled": return n("automation_diagnostic_parameter_disabled");
|
|
82
|
+
case "key_required": return n("automation_diagnostic_key_required");
|
|
83
|
+
case "duplicate_key": return n("automation_diagnostic_duplicate_key", { key: i(o.key) });
|
|
84
|
+
case "unknown_placeholder": return n("automation_diagnostic_unknown_placeholder", { name: `{${i(o.name)}}` });
|
|
85
|
+
case "unused_param": return n("automation_diagnostic_unused_param", { name: i(o.name) });
|
|
86
|
+
case "unused_procedure": return n("automation_diagnostic_unused_procedure", { name: i(o.name) });
|
|
87
|
+
case "steps_over_limit": return n("automation_diagnostic_steps_over_limit", {
|
|
88
|
+
steps: i(o.steps),
|
|
89
|
+
limit: i(o.limit)
|
|
90
|
+
});
|
|
91
|
+
case "interval_under_limit": return n("automation_diagnostic_interval_under_limit", {
|
|
92
|
+
interval: a(o.intervalMs),
|
|
93
|
+
limit: a(o.limitMs)
|
|
94
|
+
});
|
|
95
|
+
case "write_rate_over_limit": return n("automation_diagnostic_write_rate_over_limit", {
|
|
96
|
+
rate: i(o.perMinute),
|
|
97
|
+
limit: i(o.limit)
|
|
98
|
+
});
|
|
99
|
+
case "automation_trigger_cycle": return n("automation_diagnostic_automation_trigger_cycle", { cycle: i(o.cycle) });
|
|
100
|
+
case "location_missing": return n("automation_diagnostic_location_missing");
|
|
101
|
+
case "reply_without_command": return n("automation_diagnostic_reply_without_command");
|
|
102
|
+
case "reserved_command": return n("automation_diagnostic_reserved_command", { command: i(o.command) });
|
|
103
|
+
default: {
|
|
104
|
+
let e = {
|
|
105
|
+
code: r.code,
|
|
106
|
+
range: r.range ?? {
|
|
107
|
+
start: 0,
|
|
108
|
+
end: 0
|
|
109
|
+
},
|
|
110
|
+
args: o
|
|
111
|
+
};
|
|
112
|
+
return t(e);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
export { l as t };
|