iobroker.influxdb 5.1.7 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +93 -14
- package/admin/custom/assets/Components-B4TwooZ9.js +1 -0
- package/admin/custom/assets/index-P4p_ImSn.js +1 -0
- package/admin/custom/assets/{mf-entry-bootstrap-0-2589264d.js → mf-entry-bootstrap-0-f81fb8c7.js} +1 -1
- package/admin/custom/customComponents.js +1 -1
- package/admin/custom/i18n/de.json +1 -0
- package/admin/custom/i18n/en.json +1 -0
- package/admin/custom/i18n/es.json +1 -0
- package/admin/custom/i18n/fr.json +1 -0
- package/admin/custom/i18n/it.json +1 -0
- package/admin/custom/i18n/nl.json +1 -0
- package/admin/custom/i18n/pl.json +1 -0
- package/admin/custom/i18n/pt.json +1 -0
- package/admin/custom/i18n/ru.json +1 -0
- package/admin/custom/i18n/uk.json +1 -0
- package/admin/custom/i18n/zh-cn.json +1 -0
- package/admin/custom/mf-manifest.json +1 -1
- package/admin/i18n/de.json +2 -0
- package/admin/i18n/en.json +2 -0
- package/admin/i18n/es.json +3 -1
- package/admin/i18n/fr.json +3 -1
- package/admin/i18n/it.json +3 -1
- package/admin/i18n/nl.json +3 -1
- package/admin/i18n/pl.json +3 -1
- package/admin/i18n/pt.json +3 -1
- package/admin/i18n/ru.json +3 -1
- package/admin/i18n/uk.json +3 -1
- package/admin/i18n/zh-cn.json +3 -1
- package/admin/jsonConfig.json +14 -4
- package/build/lib/Database.js.map +1 -1
- package/build/lib/DatabaseInfluxDB3x.js +439 -0
- package/build/lib/DatabaseInfluxDB3x.js.map +1 -0
- package/build/lib/influx3Helpers.js +175 -0
- package/build/lib/influx3Helpers.js.map +1 -0
- package/build/lib/statistics.js +6 -4
- package/build/lib/statistics.js.map +1 -1
- package/build/main.js +174 -33
- package/build/main.js.map +1 -1
- package/docs/de/influxdb.md +11 -6
- package/docs/en/influxdb.md +11 -6
- package/io-package.json +28 -28
- package/package.json +1 -1
- package/admin/custom/assets/Components-BePqbwvo.js +0 -1
- package/admin/custom/assets/index-Bq5Wk8fk.js +0 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
This adapter saves state history into InfluxDB.
|
|
13
13
|
|
|
14
|
-
**The Adapter supports InfluxDB 1.x and
|
|
14
|
+
**The Adapter supports InfluxDB 1.x, 2.x and 3.x (Core and Enterprise)**
|
|
15
15
|
|
|
16
16
|
**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.
|
|
17
17
|
|
|
@@ -36,15 +36,39 @@ When doing custom queries via the "query" message, you can use Flux queries to s
|
|
|
36
36
|
#### Store metadata information as tags instead of fields
|
|
37
37
|
For `Influx 1.x` state value, as well as associated metadata fields (`q`, `ack` and `from`) are stored as fields within InfluxDB. When using Flux-commands to retrieve this data (instead of `InfluxQL`) the data is returned in separate tables, which makes it more difficult to view the data in a joined way when using external database clients or Influx CLI `query` command. This is by design, as Influx only supports one field per data-point.
|
|
38
38
|
|
|
39
|
-
With `Influx 2.x` it is now also possible, to store this metadata-information besides the actual value of the state as Influx Tags. Tags are indexed and allow for faster search queries. In addition, they are closely linked to the measurement stored within the db, meaning they will be returned in one table with the queried measurement which makes them much easier to handle, when used outside this adapter. There are limitations with this, however:
|
|
39
|
+
With `Influx 2.x` and `3.x` it is now also possible, to store this metadata-information besides the actual value of the state as Influx Tags. Tags are indexed and allow for faster search queries. In addition, they are closely linked to the measurement stored within the db, meaning they will be returned in one table with the queried measurement which makes them much easier to handle, when used outside this adapter. There are limitations with this, however:
|
|
40
40
|
- The use of tags for metadata needs to be enabled under `Advanced Settings`. It is disabled by default.
|
|
41
41
|
- If you decide to use tags, you cannot continue to use old measurements that were gathered with Influx 1.x, as they are stored in fields.
|
|
42
42
|
- Attempting to use an existing database that was set up without enabling the Tag-feature will cause the adapter to fail to initialize, and you will see an error message about it in the log.
|
|
43
43
|
- This also is valid the other way: Once you start using the Tag-feature in a new database, you cannot switch back to using fields for this database.
|
|
44
|
-
- This feature is
|
|
44
|
+
- This feature is only available if you use Influx 2.x or 3.x. And only if you use the new responsive GUI of Admin 5.
|
|
45
|
+
|
|
46
|
+
### InfluxDB 3.x
|
|
47
|
+
InfluxDB 3 (Core and Enterprise) is supported. It has no organizations and no buckets, so the settings are the simplest of all three versions:
|
|
48
|
+
* **Host, port, protocol**: InfluxDB 3 listens on port `8181` by default.
|
|
49
|
+
* **Authentication Token**: a token that may write to and read from the database. Create one with `influxdb3 create token --admin` (or a database token). If the server runs without authentication (`--without-auth`) leave the field empty.
|
|
50
|
+
* **DB Name**: the name of the database. The default is `iobroker`. The adapter creates it on the first start (a token that is not allowed to create databases is fine: the first write creates it).
|
|
51
|
+
* **Path** and **Validate SSL certificate** work as for 2.x.
|
|
52
|
+
|
|
53
|
+
The adapter writes with the InfluxDB line protocol over HTTP (`/api/v3/write_lp`) and reads with **InfluxQL** over HTTP (`/api/v3/query_influxql`), the same way as for 1.x. No additional client library is needed. The [metadata-as-tags](#store-metadata-information-as-tags-instead-of-fields) and the [custom tags](#custom-tags) work as for 2.x.
|
|
54
|
+
|
|
55
|
+
When doing custom queries via the "query" message, use InfluxQL as described for [Influx 1.x](#influx-1x). The server accepts one statement per request; the adapter splits several statements separated by `;` and runs them one after the other, so the result is an array with one entry per statement, as with 1.x.
|
|
56
|
+
|
|
57
|
+
What InfluxDB 3 cannot do, and what the adapter does about it:
|
|
58
|
+
|
|
59
|
+
| Function | With InfluxDB 3.x |
|
|
60
|
+
|---|---|
|
|
61
|
+
| Retention | Supported: `Storage retention` is applied to the database with `PUT /api/v3/configure/database` on every start, like for the other versions. A retention that was set on the server (e.g. with `influxdb3 update database --retention-period`) is overwritten by the adapter setting; choose `infinite` and set it on the server if you prefer that. |
|
|
62
|
+
| `delete` / `deleteRange` | Not supported: InfluxDB 3 can not delete single values or a time range. The commands answer with an error and are not listed in `features`. |
|
|
63
|
+
| `deleteAll` and the cleanup of orphaned datapoints | Supported. The whole measurement (table) is deleted. InfluxDB 3 keeps the name of a deleted table in its catalog, renamed to `<name>-YYYYMMDDTHHMMSS`; the adapter does not show these leftovers. |
|
|
64
|
+
| `update` | Supported when `q`, `ack` and `from` are stored as fields: a value with the same time replaces the old one. Not supported with metadata as tags, as the tags are part of the series. |
|
|
65
|
+
| Number of series (Statistics tab) | Unknown, the column stays empty. |
|
|
66
|
+
| Write latency | InfluxDB 3 answers a write after the next write-ahead-log flush, which takes about a second. The adapter awaits the direct write of a value (`Buffer Datapoints` = 0), so by default it writes single values with `no_sync`: the answer comes at once and rejected values are still reported, but the value is readable and durable up to a second later. Enable `Wait for the database to store each value` (Expert Settings, `syncWrites`) to wait for the flush instead; single values then take about a second each, so prefer a buffer in that case. Batches (buffer flushes) are always written the regular way. |
|
|
67
|
+
| Limits of InfluxDB 3 Core | At most 2000 tables in all databases and 500 columns per table. The adapter writes one measurement (table) per datapoint, so Core can log at most about 2000 datapoints. InfluxDB 3 Enterprise has higher, configurable limits. |
|
|
68
|
+
| Types | InfluxDB 3 fixes the type of a field per measurement like the other versions. A type conflict is handled as before (the value is converted and the datatype of the datapoint is pinned). |
|
|
45
69
|
|
|
46
70
|
### Custom tags
|
|
47
|
-
Every datapoint can carry additional, static InfluxDB tags. They are defined in the datapoint settings (`Custom tags`) as a list of name/value pairs and are written with every value of this datapoint - for
|
|
71
|
+
Every datapoint can carry additional, static InfluxDB tags. They are defined in the datapoint settings (`Custom tags`) as a list of name/value pairs and are written with every value of this datapoint - for all InfluxDB versions and independent of the setting [Store metadata information as tags instead of fields](#store-metadata-information-as-tags-instead-of-fields).
|
|
48
72
|
|
|
49
73
|
This allows selecting and grouping the values of different datapoints by their meaning instead of by their IDs, e.g. give all datapoints of the kitchen the tag `room=kitchen` and all temperature sensors the tag `type=temperature`. In Grafana, the values can then be filtered or grouped by these tags:
|
|
50
74
|
|
|
@@ -80,9 +104,50 @@ Please refer to the [official guides on how to migrate](https://docs.influxdata.
|
|
|
80
104
|
|
|
81
105
|
After the migration, the adapter is able to work with the old data (e.g. for history-queries) as well. This only applies if you don't decide to [use Tags for storing metadata fields](#Store-metadata-information-as-tags-instead-of-fields).
|
|
82
106
|
|
|
107
|
+
### Migration to InfluxDB 3
|
|
108
|
+
|
|
109
|
+
InfluxDB 3 cannot open the data files of 1.x or 2.x, and there is no upgrade tool. The data has to be exported as line protocol and written into the new database. Both paths below were tried with InfluxDB 1.8 / 2.7 and 3 Core 3.12: the exported points arrive with the same measurements, fields and tags that the adapter writes itself. Please always create a backup before you start.
|
|
110
|
+
|
|
111
|
+
Prepare the new server first: create a token (`influxdb3 create token --admin`), set the version to `3.x` in the adapter and let it create the database (or create it with `influxdb3 create database iobroker`). Stop the adapter while you import. The adapter applies the retention setting to the new database on start.
|
|
112
|
+
|
|
113
|
+
#### From InfluxDB 1.x
|
|
114
|
+
|
|
115
|
+
1. Export the database as line protocol. The tool lives in the InfluxDB 1.x installation:
|
|
116
|
+
```
|
|
117
|
+
influx_inspect export -datadir /var/lib/influxdb/data -waldir /var/lib/influxdb/wal -database iobroker -out export.lp
|
|
118
|
+
```
|
|
119
|
+
2. Remove the header of the file (the lines that begin with `#` or `CREATE`):
|
|
120
|
+
```
|
|
121
|
+
grep -vE '^(#|CREATE)' export.lp > data.lp
|
|
122
|
+
```
|
|
123
|
+
3. Write it into InfluxDB 3. The export uses nanosecond timestamps:
|
|
124
|
+
```
|
|
125
|
+
curl -X POST "http://localhost:8181/api/v3/write_lp?db=iobroker&precision=nanosecond&accept_partial=true" \
|
|
126
|
+
-H "Authorization: Bearer <token>" --data-binary @data.lp
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
The metadata `q`, `ack` and `from` are stored as fields in 1.x, so keep `Store metadata information as tags` **disabled** in the adapter.
|
|
130
|
+
|
|
131
|
+
#### From InfluxDB 2.x
|
|
132
|
+
|
|
133
|
+
1. Export the bucket as line protocol (the tool is part of `influxd`; look up the bucket ID with `influx bucket list`):
|
|
134
|
+
```
|
|
135
|
+
influxd inspect export-lp --bucket-id <bucket-id> --engine-path /var/lib/influxdb2/engine --output-path data.lp
|
|
136
|
+
```
|
|
137
|
+
2. Write the file as shown above for 1.x.
|
|
138
|
+
|
|
139
|
+
Keep the adapter setting `Store metadata information as tags` as it was in 2.x: with tags enabled the export contains `q`, `ack` and `from` as tags, otherwise as fields. A database must not be mixed - the adapter refuses to start if the stored metadata does not match the setting.
|
|
140
|
+
|
|
141
|
+
#### Notes
|
|
142
|
+
- A large export has to be sent in several requests, e.g. split the file with `split -l 200000 data.lp part-` and write the parts one after the other. A line that is rejected (e.g. because of a type conflict inside the data) is reported with `accept_partial=true`; the remaining lines are stored.
|
|
143
|
+
- InfluxDB 3 Core allows only a few databases (5 by default); a deleted database still counts. Migrate everything into the one database of the adapter.
|
|
144
|
+
- Delete the line protocol file afterwards, it contains all of your data.
|
|
145
|
+
|
|
83
146
|
## Retention Policy
|
|
84
147
|
While Influx 1.x supports the concept of multiple **retention policies** for one database, Influx 2 by design allows only one **retention period** per bucket. Therefore, it is only possible to set one policy for the whole database/bucket with this adapter via _Default Settings -> Storage retention_. The retention selected here will be applied on the fly and can be changed at any time. Retention policies set by the adapter will never be deleted, but instead altered if required, as otherwise Influx 1.x would delete all data that the policy applied to.
|
|
85
148
|
|
|
149
|
+
With InfluxDB 3.x the setting is applied to the database as its retention period, see [InfluxDB 3.x](#influxdb-3x).
|
|
150
|
+
|
|
86
151
|
Please also read [Understanding Retention Policies](RetentionPolicies.md).
|
|
87
152
|
|
|
88
153
|
## Direct writes or buffered writes?
|
|
@@ -107,9 +172,10 @@ Please refer to the official InfluxDB pages for installation instructions depend
|
|
|
107
172
|
|
|
108
173
|
* InfluxDB 1.x: https://docs.influxdata.com/influxdb/v1.8/introduction/install/
|
|
109
174
|
* InfluxDB 2.x: https://docs.influxdata.com/influxdb/v2.2/install/
|
|
175
|
+
* InfluxDB 3.x: https://docs.influxdata.com/influxdb3/core/install/
|
|
110
176
|
|
|
111
177
|
### Setup authentication for InfluxDB 1.x (optional)
|
|
112
|
-
**NOTE:** Influx DB V2.x relies on organization/token login, instead of username/password! This is only applicable for InfluxDB 1.x
|
|
178
|
+
**NOTE:** Influx DB V2.x relies on organization/token login, instead of username/password! InfluxDB 3.x needs only a token. This is only applicable for InfluxDB 1.x
|
|
113
179
|
|
|
114
180
|
If you use DB locally, you may leave authentication disabled and skip this part.
|
|
115
181
|
|
|
@@ -138,7 +204,7 @@ Enable authentication by editing /etc/influxdb/influxdb.conf:
|
|
|
138
204
|
- Restart service: ``` service influxdb restart ```
|
|
139
205
|
|
|
140
206
|
## Self-hosted docker image for InfluxDB
|
|
141
|
-
This version of the adapter could start a self-hosted docker image of InfluxDB 2.x and, optionally, Grafana next to it.
|
|
207
|
+
This version of the adapter could start a self-hosted docker image of InfluxDB 2.x (not 3.x) and, optionally, Grafana next to it.
|
|
142
208
|
Of course, the docker environment must be installed and running on the host.
|
|
143
209
|
|
|
144
210
|
The `iobroker` user must have access to the docker CLI. To fix the rights start `iob fix`.
|
|
@@ -211,8 +277,9 @@ After the installation, open `http://<host>:3000` and log in with `admin` / `adm
|
|
|
211
277
|
Then create a data source as described [here](https://grafana.com/docs/grafana/latest/datasources/influxdb/):
|
|
212
278
|
- InfluxDB 1.x: query language _InfluxQL_, URL of InfluxDB, database name and the user/password of the adapter settings.
|
|
213
279
|
- InfluxDB 2.x: query language _Flux_, URL of InfluxDB, organization, token and default bucket of the adapter settings.
|
|
280
|
+
- InfluxDB 3.x: query language _InfluxQL_ (or _SQL_), URL of InfluxDB, database name and token of the adapter settings.
|
|
214
281
|
|
|
215
|
-
The query from [The first dashboard](#the-first-dashboard) works for InfluxDB 2.x. For InfluxDB 1.x with InfluxQL use e.g.:
|
|
282
|
+
The query from [The first dashboard](#the-first-dashboard) works for InfluxDB 2.x. For InfluxDB 1.x and 3.x with InfluxQL use e.g.:
|
|
216
283
|
|
|
217
284
|
```
|
|
218
285
|
SELECT mean("value") FROM "system.adapter.admin.0.memRss" WHERE $timeFilter GROUP BY time($__interval) fill(previous)
|
|
@@ -560,7 +627,8 @@ Two things are worth knowing about the numbers:
|
|
|
560
627
|
- **There is no size per datapoint.** InfluxDB does not report one, neither in 1.x (`SHOW STATS` and
|
|
561
628
|
`SHOW SHARDS` only know the engine and the shards) nor in 2.x (disk usage is monitored per bucket). The
|
|
562
629
|
number of **series** is shown instead: it is what drives the memory the index needs, and
|
|
563
|
-
[custom tags](#custom-tags) are the usual way to increase it unintentionally.
|
|
630
|
+
[custom tags](#custom-tags) are the usual way to increase it unintentionally. InfluxDB 3.x can not tell the
|
|
631
|
+
number of series, the column stays empty.
|
|
564
632
|
- **Counting is a full scan.** InfluxDB has no row count it could look up, so the values of the examined
|
|
565
633
|
range are really read. On a database with years of data that takes a while - the time range selector
|
|
566
634
|
above the table limits the scan if the full count is not needed.
|
|
@@ -612,16 +680,33 @@ sendTo('influxdb.0', 'cleanupOrphaned', {
|
|
|
612
680
|
|
|
613
681
|
A datapoint that is being logged is never selected, whatever the scope says.
|
|
614
682
|
|
|
683
|
+
`scope.ids` limits a run to some of these datapoints. The IDs only narrow the selection made by the statuses,
|
|
684
|
+
so an ID that would not be removed anyway (e.g. one that is being logged) is ignored:
|
|
685
|
+
|
|
686
|
+
```javascript
|
|
687
|
+
sendTo('influxdb.0', 'cleanupOrphaned', {
|
|
688
|
+
scope: { objectMissing: true, ids: ['javascript.0.oldState'] },
|
|
689
|
+
confirm: true,
|
|
690
|
+
});
|
|
691
|
+
```
|
|
692
|
+
|
|
615
693
|
## Changelog
|
|
616
694
|
<!--
|
|
617
695
|
Placeholder for the next version (at the beginning of the line):
|
|
618
696
|
### **WORK IN PROGRESS**
|
|
619
697
|
-->
|
|
698
|
+
### 5.2.0 (2026-10-24)
|
|
699
|
+
* (GermanBluefox) The cleanup dialog of the statistics tab has checkboxes, so only the selected datapoints are deleted (#565)
|
|
700
|
+
|
|
701
|
+
### 5.1.8 (2026-10-23)
|
|
702
|
+
* (@GermanBluefox) The timed relog (`changesRelogInterval`) starts right after the adapter start or a change of the datapoint settings, not only with the first update of the state
|
|
703
|
+
|
|
620
704
|
### 5.1.7 (2026-10-21)
|
|
621
705
|
* (@GermanBluefox) Points buffered by version 4.x (`influxdata.json`) are converted when read, instead of failing with "invalid float value for field 'q': undefined" on every flush (#517)
|
|
622
706
|
* (@GermanBluefox) The ports of the docker containers (InfluxDB, Grafana) are reported to js-controller 8 as occupied (`registerUsedResource`). The port of the database itself is no longer counted as a port used by the instance
|
|
623
707
|
* (@GermanBluefox) HTTP errors from InfluxDB (e.g. 500 "timeout") are no longer treated as a lost connection (#551)
|
|
624
708
|
* (@GermanBluefox) Start values (`relogLastValueOnStart`) are written only once after the adapter start, not on every reconnect (#551)
|
|
709
|
+
* (jhoos70) Added support for InfluxDB 3.x (Core and Enterprise): data is written with the line protocol and read with InfluxQL over HTTP (inspired by the InfluxDB 3 fork of [dirkhe](https://github.com/dirkhe/ioBroker.influxdb))
|
|
625
710
|
|
|
626
711
|
### 5.1.6 (2026-10-13)
|
|
627
712
|
* (@GermanBluefox) The "Statistics" tab works now with InfluxDB 2.0
|
|
@@ -629,12 +714,6 @@ A datapoint that is being logged is never selected, whatever the scope says.
|
|
|
629
714
|
### 5.1.5 (2026-10-13)
|
|
630
715
|
* (@GermanBluefox) Added missing translations. Compact mode no longer can exit the whole host process. The Grafana admin password is protected now
|
|
631
716
|
|
|
632
|
-
### 5.1.4 (2026-10-13)
|
|
633
|
-
* (@GermanBluefox) The "Statistics" tab works now also with InfluxDB 2.0. A datapoint without storage type that received a numeric string is shown there as number
|
|
634
|
-
|
|
635
|
-
### 5.1.3 (2026-10-13)
|
|
636
|
-
* (@GermanBluefox) The error of a failed save or delete in the data browser is no longer hidden by the reload of the table
|
|
637
|
-
|
|
638
717
|
[Older changelogs can be found there](CHANGELOG_OLD.md)
|
|
639
718
|
|
|
640
719
|
## License
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$t as e,Dn as t,Dt as n,Gt as r,H as i,Hn as a,Ht as o,In as s,Jr as c,Jt as l,Kt as u,L as d,O as f,Tn as p,Ut as m,Wt as h,Xt as g,Yr as _,bn as v,dn as y,en as b,f as x,fn as S,hn as C,in as w,kn as T,mn as E,nn as D,on as O,pn as k,qr as A,qt as j,sn as M,wn as N,zn as P}from"./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js";import{t as F}from"./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare__shared-3YWGBSiP.js";import{t as I}from"./DataBrowser-D47Iap2M.js";var L={all:null,year:31536e6,month:2592e6},R={all:`influxdb_range_all`,year:`influxdb_range_year`,month:`influxdb_range_month`};function z(e){return e==null?`—`:e.toLocaleString()}function B(e){return e?new Date(e).toLocaleString():`—`}var V={active:`success`,loggingDisabled:`warning`,objectMissing:`error`},H={active:`influxdb_status_active`,loggingDisabled:`influxdb_status_disabled`,objectMissing:`influxdb_status_missing`},U={DataBrowser:I,Statistics:class extends F{constructor(e){super(e),Object.assign(this.state,{stats:null,summary:null,loading:!1,errorText:``,filter:``,range:`all`,sortField:`count`,sortAsc:!1,preview:null,selected:[],includeDisabled:!1,deleting:!1,doneText:``})}async componentDidMount(){await super.componentDidMount(),this.props.alive&&await this.load()}async componentDidUpdate(e){this.props.alive&&!e.alive&&!this.state.stats&&await this.load()}get instance(){return`${this.props.oContext.adapterName}.${this.props.oContext.instance}`}async sendToInstance(e,t){let n=await this.props.oContext.socket.sendTo(this.instance,e,t);if(n!=null&&n.error)throw Error(n.error);return n}async load(){this.setState({loading:!0,errorText:``,doneText:``});try{let e=L[this.state.range],t=await this.sendToInstance(`getDpStatistics`,e?{start:Date.now()-e,end:Date.now()}:{});this.setState({stats:(t==null?void 0:t.result)||[],summary:(t==null?void 0:t.summary)||null,loading:!1})}catch(e){this.setState({loading:!1,stats:[],summary:null,errorText:e.message})}}async requestPreview(e){this.setState({loading:!0,errorText:``});try{let t=await this.sendToInstance(`cleanupOrphaned`,{scope:{objectMissing:!0,loggingDisabled:e}}),n=t.items||[];this.setState({loading:!1,includeDisabled:e,preview:{datapoints:t.datapoints,values:t.values,items:n},selected:n.map(e=>e.id)})}catch(e){this.setState({loading:!1,errorText:e.message})}}async confirmCleanup(){this.setState({deleting:!0,errorText:``});try{var e;let t=await this.sendToInstance(`cleanupOrphaned`,{scope:{objectMissing:!0,loggingDisabled:this.state.includeDisabled,ids:this.state.selected},confirm:!0});this.setState({deleting:!1,preview:null,doneText:x.t(`influxdb_cleanup_done`,t.deleted.values,t.deleted.datapoints),errorText:(e=t.failed)!=null&&e.length?x.t(`influxdb_cleanup_failed`,t.failed.length):``},()=>void this.load())}catch(e){this.setState({deleting:!1,errorText:e.message})}}sortedStats(){let{stats:e,filter:t,sortField:n,sortAsc:r}=this.state,i=t.trim().toLowerCase(),a=(e||[]).filter(e=>!i||e.id.toLowerCase().includes(i)),o=r?1:-1;return a.sort((e,t)=>{let r=e[n],i=t[n];return r===i?e.id>t.id?1:e.id<t.id?-1:0:r==null?1:i==null?-1:(r>i?1:-1)*o})}renderSortLabel(e,t){return c(l,{active:this.state.sortField===e,direction:this.state.sortField===e&&this.state.sortAsc?`asc`:`desc`,onClick:()=>this.setState({sortField:e,sortAsc:this.state.sortField!==e||!this.state.sortAsc}),children:x.t(t)})}renderSummary(){let{summary:e}=this.state;if(!e)return null;let t=e.byStatus.objectMissing,n=e.byStatus.loggingDisabled;return _(D,{sx:{display:`flex`,gap:2,flexWrap:`wrap`,alignItems:`center`,mb:1},children:[c(b,{variant:`body2`,children:x.t(`influxdb_summary_total`,e.datapoints,e.values,z(e.cardinality))}),!!t.datapoints&&c(M,{color:`error`,size:`small`,label:x.t(`influxdb_summary_missing`,t.datapoints,t.values)}),!!n.datapoints&&c(M,{color:`warning`,size:`small`,label:x.t(`influxdb_summary_disabled`,n.datapoints,n.values)})]})}renderConfirmDialog(){let{preview:e,includeDisabled:t,deleting:n,selected:a}=this.state;if(!e)return null;let s=e.items.filter(e=>a.includes(e.id)),l=s.reduce((e,t)=>e+t.count,0),p=!!e.items.length&&s.length===e.items.length;return _(y,{open:!0,onClose:()=>!n&&this.setState({preview:null}),maxWidth:`md`,fullWidth:!0,children:[c(C,{children:x.t(`influxdb_cleanup_confirm_title`)}),c(k,{children:e.datapoints?_(A,{children:[c(E,{sx:{mb:1},children:x.t(`influxdb_cleanup_confirm_text`,e.datapoints,e.values)}),c(E,{sx:{mb:1},children:x.t(`influxdb_cleanup_selected`,s.length,l)}),c(r,{component:P,sx:{maxHeight:320},children:_(o,{size:`small`,stickyHeader:!0,children:[c(u,{children:_(j,{children:[c(h,{padding:`checkbox`,children:c(O,{size:`small`,checked:p,indeterminate:!!s.length&&!p,disabled:n,onChange:()=>this.setState({selected:p?[]:e.items.map(e=>e.id)})})}),c(h,{children:x.t(`influxdb_col_id`)}),c(h,{children:x.t(`influxdb_col_status`)}),c(h,{align:`right`,children:x.t(`influxdb_col_count`)})]})}),c(m,{children:e.items.map(e=>_(j,{children:[c(h,{padding:`checkbox`,children:c(O,{size:`small`,checked:a.includes(e.id),disabled:n,onChange:t=>this.setState({selected:t.target.checked?[...a,e.id]:a.filter(t=>t!==e.id)})})}),c(h,{sx:{wordBreak:`break-all`},children:e.id}),c(h,{children:c(M,{size:`small`,color:V[e.status],label:x.t(H[e.status])})}),c(h,{align:`right`,children:z(e.count)})]},e.id))})]})}),t&&c(N,{severity:`warning`,icon:c(f,{}),sx:{mt:1},children:x.t(`influxdb_cleanup_disabled_warning`)})]}):c(E,{children:x.t(`influxdb_cleanup_nothing`)})}),_(S,{children:[c(w,{onClick:()=>this.setState({preview:null}),disabled:n,startIcon:c(d,{}),children:x.t(`influxdb_cancel`)}),c(w,{variant:`contained`,color:`error`,disabled:n||!s.length,startIcon:c(i,{}),onClick:()=>void this.confirmCleanup(),children:x.t(`influxdb_cleanup_delete`)})]})]})}renderItem(){if(!this.props.alive)return c(N,{severity:`info`,children:x.t(`influxdb_stats_not_running`)});let l=this.sortedStats();return _(D,{sx:{width:`100%`},children:[_(D,{sx:{display:`flex`,gap:1,alignItems:`center`,flexWrap:`wrap`,mb:1},children:[c(g,{variant:`standard`,size:`small`,value:this.state.filter,placeholder:x.t(`influxdb_filter`),onChange:e=>this.setState({filter:e.target.value}),slotProps:{input:{endAdornment:this.state.filter?c(t,{position:`end`,children:c(p,{size:`small`,onClick:()=>this.setState({filter:``}),children:c(d,{})})}):null}}}),c(a,{variant:`standard`,size:`small`,value:this.state.range,onChange:e=>this.setState({range:e.target.value},()=>void this.load()),children:Object.keys(R).map(e=>c(s,{value:e,children:x.t(R[e])},e))}),c(e,{title:x.t(`influxdb_refresh`),children:c(p,{onClick:()=>void this.load(),disabled:this.state.loading,children:c(n,{})})}),c(D,{sx:{flexGrow:1}}),c(v,{control:c(O,{checked:this.state.includeDisabled,onChange:e=>this.setState({includeDisabled:e.target.checked})}),label:x.t(`influxdb_include_disabled`)}),c(w,{variant:`contained`,color:`error`,startIcon:c(i,{}),disabled:this.state.loading,onClick:()=>void this.requestPreview(this.state.includeDisabled),children:x.t(`influxdb_cleanup`)})]}),this.state.loading&&c(T,{}),!!this.state.errorText&&c(N,{severity:`error`,sx:{mb:1},onClose:()=>this.setState({errorText:``}),children:this.state.errorText}),!!this.state.doneText&&c(N,{severity:`success`,sx:{mb:1},onClose:()=>this.setState({doneText:``}),children:this.state.doneText}),this.renderSummary(),c(r,{component:P,children:_(o,{size:`small`,stickyHeader:!0,children:[c(u,{children:_(j,{children:[c(h,{children:this.renderSortLabel(`id`,`influxdb_col_id`)}),c(h,{children:x.t(`influxdb_col_type`)}),c(h,{children:this.renderSortLabel(`status`,`influxdb_col_status`)}),c(h,{align:`right`,children:this.renderSortLabel(`count`,`influxdb_col_count`)}),c(h,{align:`right`,children:this.renderSortLabel(`cardinality`,`influxdb_col_series`)}),c(h,{children:x.t(`influxdb_col_first`)}),c(h,{children:this.renderSortLabel(`lastTs`,`influxdb_col_last`)})]})}),_(m,{children:[l.map(e=>_(j,{hover:!0,children:[c(h,{sx:{wordBreak:`break-all`},children:e.id}),c(h,{children:e.type||`—`}),c(h,{children:c(M,{size:`small`,color:V[e.status],label:x.t(H[e.status])})}),c(h,{align:`right`,children:z(e.count)}),c(h,{align:`right`,children:z(e.cardinality)}),c(h,{children:B(e.firstTs)}),c(h,{children:B(e.lastTs)})]},e.id)),!l.length&&!this.state.loading&&c(j,{children:c(h,{colSpan:7,children:c(b,{variant:`body2`,sx:{opacity:.7},children:x.t(this.state.filter?`influxdb_stats_no_match`:`influxdb_no_datapoints`)})})})]})]})}),c(b,{variant:`caption`,sx:{display:`block`,mt:1,opacity:.7},children:x.t(`influxdb_no_size`)}),this.renderConfirmDialog()]})}}};export{U as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Jr as e,Kr as t,Or as n,d as r,f as i,nn as a,p as o,ti as s}from"./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js";import{r as c}from"./_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare__shared-3YWGBSiP.js";import{t as l}from"./DataBrowser-D47Iap2M.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var u={influxdb_ack:`Ack`,influxdb_add:`Insert value`,influxdb_cancel:`Cancel`,influxdb_cleanup:`Clean up`,influxdb_cleanup_confirm_text:`%s datapoints with %s values will be deleted. This cannot be undone.`,influxdb_cleanup_confirm_title:`Delete data of datapoints that are no longer logged?`,influxdb_cleanup_delete:`Delete now`,influxdb_cleanup_disabled_warning:`These states still exist - their history is only unreachable because logging is switched off. Deleting it cannot be undone.`,influxdb_cleanup_done:`Deleted %s values of %s datapoints`,influxdb_cleanup_failed:`%s datapoints could not be removed, see the log`,influxdb_cleanup_nothing:`There is nothing to clean up.`,influxdb_cleanup_selected:`Selected for deletion: %s datapoints with %s values. Untick the datapoints you want to keep.`,influxdb_col_count:`Values`,influxdb_col_first:`Oldest value`,influxdb_col_id:`ID`,influxdb_col_last:`Newest value`,influxdb_col_series:`Series`,influxdb_col_status:`Status`,influxdb_col_type:`Type`,influxdb_confirm_delete:`Delete %s selected entries? This cannot be undone.`,influxdb_confirm_delete_one:`Delete the entry from %s? This cannot be undone.`,influxdb_datapoints:`Datapoints`,influxdb_date:`Date`,influxdb_delete:`Delete`,influxdb_delete_selected:`Delete selected entries`,influxdb_entries:`%s entries`,influxdb_filter:`Filter`,influxdb_from:`From`,influxdb_include_disabled:`Also those with logging switched off`,influxdb_instance_not_alive:`The instance is not running. Start it to see the stored values.`,influxdb_ms:`ms`,influxdb_no_data:`No values stored for this datapoint`,influxdb_no_datapoints:`The database contains no datapoints yet`,influxdb_no_size:`InfluxDB reports no size per datapoint, neither in 1.x nor in 2.x. The number of series is shown instead: it drives the memory the index needs, and custom tags are the usual way to increase it unintentionally.`,influxdb_page:`%s - %s of %s`,influxdb_quality:`Quality`,influxdb_range_all:`All values`,influxdb_range_end:`To`,influxdb_range_month:`Last 30 days`,influxdb_range_start:`From`,influxdb_range_year:`Last year`,influxdb_refresh:`Refresh`,influxdb_rows_per_page:`Rows`,influxdb_save:`Save`,influxdb_select_datapoint:`Select a datapoint on the left to see its stored values`,influxdb_sort_asc:`Oldest first`,influxdb_sort_desc:`Newest first`,influxdb_stats_no_match:`No datapoint matches the filter`,influxdb_stats_not_running:`The instance is not running, so no statistics can be read`,influxdb_status_active:`logged`,influxdb_status_disabled:`logging off`,influxdb_status_missing:`state deleted`,influxdb_summary_disabled:`%s with logging off, %s values`,influxdb_summary_missing:`%s deleted states with %s values`,influxdb_summary_total:`%s datapoints, %s values, %s series`,influxdb_time:`Time`,influxdb_value:`Value`},d={app:e=>({backgroundColor:e.palette.background.default,color:e.palette.text.primary,height:`100%`})},f=class extends r{constructor(e){super(e,{...e}),this.state={...this.state,theme:this.createTheme()},i.setTranslations({en:u}),i.setLanguage((navigator.language||`en`).substring(0,2).toLowerCase())}render(){return this.state.loaded?e(t,{injectFirst:!0,children:e(n,{theme:this.state.theme,children:e(a,{sx:d.app,children:e(l,{oContext:{adapterName:`influxdb`,socket:this.socket,instance:0,themeType:this.state.theme.palette.mode,isFloatComma:!1,dateFormat:``,forceUpdate:()=>{},systemConfig:{},theme:this.state.theme,_themeName:this.state.themeName,onCommandRunning:()=>{}},alive:!0,changed:!1,themeName:this.state.theme.palette.mode,common:{},attr:`dataBrowser`,data:{},originalData:{},onError:()=>{},schema:{url:``,i18n:!0,name:`InfluxDBComponentsSet/Components/DataBrowser`,type:`custom`},onChange:()=>{}})})})}):e(t,{injectFirst:!0,children:e(n,{theme:this.state.theme,children:e(o,{themeType:this.state.themeType})})})}};window.adapterName=`influxdb`;var p=document.getElementById(`root`);p&&c(p).render(e(s.StrictMode,{children:e(f,{socket:{port:8081}})}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as e}from"./assets/vite-preload-helper-BbbETgeG.js";import{t}from"./assets/dist-CSJEdwl2.js";import{t as n}from"./assets/helpers-DT5-3o-l.js";var r={},i=new Set,a=new Map;function o(e,t){let n=a.get(e);return n||(n=Promise.resolve().then(t).catch(t=>{throw a.delete(e),t}),a.set(e,n)),n}async function s(e){if(typeof document>`u`)return;let t=r[e]||[];await Promise.all(t.map(e=>{let t=new URL(e,import.meta.url).href;return i.has(t)||(i.add(t),document.querySelector(`link[rel="stylesheet"][href="${t}"]`))?Promise.resolve():new Promise((e,n)=>{let r=document.createElement(`link`);r.rel=`stylesheet`,r.href=t,r.onload=()=>e(),r.onerror=()=>n(Error(`[Module Federation] Failed to load CSS asset: ${t}`)),document.head.appendChild(r)})}))}var c={"./Components":async()=>{await s(`./Components`),await Promise.all([]);let t=await o(`./Components`,()=>e(()=>import(`./assets/Components-BePqbwvo.js`),[],import.meta.url)),n=t&&t.__mf_remote_dependency_pending;n&&typeof n.then==`function`&&await n;let r={};return Object.assign(r,t),Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),r}};typeof __VUE_HMR_RUNTIME__>`u`&&(globalThis.__VUE_HMR_RUNTIME__={createRecord(){},rerender(){},reload(){}});var l=`__mf_init__virtual:mf:__mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__mf_v__runtimeInit__mf_v__.js__`,u=globalThis[l];if(!u){let e,t,n=new Promise((n,r)=>{e=n,t=r});u=globalThis[l]={initPromise:n,initResolve:e,initReject:t}}var d=u.initResolve,f=`__mf_module_cache__`;globalThis[f]||={share:{},remote:{}},globalThis[f].share||={},globalThis[f].remote||={};var p=globalThis[f];for(let e of Object.keys(p.share))if(e.startsWith(`default:`)){let t=e.slice(8);p.share[t]===void 0&&(p.share[t]=p.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;p.share[t]===void 0&&(p.share[t]=p.share[e])}var m={},h=Array.isArray(`default`)?`default`:[`default`],g=`default`,_=`InfluxDBComponentsSet`,v=[[`react`],[`react/jsx-runtime`,`react-dom`],[`react-dom/client`,`@mui/material`],[`@mui/icons-material`],[`@iobroker/gui-components`],[`@iobroker/json-config`]],y,b;async function x(e){for(let t=0;;t++)try{return await e()}catch(e){throw e}}var S=Symbol(`mf.originalSharedProvider`),C={emit:e=>e},w=e=>Array.isArray(e.scope)?e.scope:[e.scope||`default`],T=(e,t)=>{if(t!==`version-first`)return e;let n={};for(let[t,r]of Object.entries(e))n[t]=Object.assign({},r,{[S]:r});return n},E=(e,t)=>{if(!t)return;let n=Object.entries(e||{}),r=n.find(([,e])=>e===t);if(r)return{version:r[0],provider:t,registered:!0};if(typeof t.version==`string`&&t.version)return{version:t.version,provider:t,registered:!1};let i=n.filter(([,e])=>e===t||!!(t.from&&(e==null?void 0:e.from)===t.from));if(i.length===1)return{version:i[0][0],provider:t,registered:!1}},D=(e,t,r,i)=>{var a;if(!e||!r)return;let o=Object.fromEntries(Object.entries(e).filter(([,e])=>{var t;return(e==null||(t=e.shareConfig)==null?void 0:t.import)!==!1}));if(Object.keys(o).length===0)return;let s=w(r),c=T(o,i),l={};for(let e of s)l[e||`default`]={[t]:c};let u=(a=n.getRegisteredShare(l,t,{...r,scope:s,strategy:i},C))==null?void 0:a.shared;return(u==null?void 0:u[S])||u},O=(e,t,n,r)=>{var i;let a=e=>k(e,n),o=Object.fromEntries(Object.entries(e||{}).filter(([,e])=>{var t;return!a(e)&&(e==null||(t=e.shareConfig)==null?void 0:t.import)!==!1}));n!=null&&n.version&&((i=n.shareConfig)==null?void 0:i.import)!==!1&&(o[n.version]||(o[n.version]=n));let s=D(o,t,n,r);return a(s)?void 0:s},k=(e,t)=>e===t||!!(t!=null&&t.from&&(e==null?void 0:e.from)===t.from),A=(e,t,n,r,i,a,o,s,c)=>{var l,u;if(c!==`version-first`||!s)return;let d=t==null||(l=t.options)==null||(l=l.shared)==null?void 0:l[i],f=Array.isArray(d)?d.find(e=>(e==null?void 0:e.version)===a):void 0,p=((s==null?void 0:s.from)===(t==null||(u=t.options)==null?void 0:u.name)?s:void 0)||(k(f,s)?f:t?void 0:s);if(p)return e.some(e=>{var i,a;return e!==t&&(e==null||(i=e.options)==null?void 0:i.name)===(o==null?void 0:o.from)&&(e==null||(a=e.shareScopeMap)==null?void 0:a[r])===n})?p:void 0},ee=(e,t,n,r,i,a,o,s,c)=>{let l=a.registered?A(e,t,n,r,i,a.version,a.provider,s,c):void 0,u=l||o;if(u&&(!a.registered||k(u,s)))return{provider:u,scopeRootProvider:l}};async function te(){return y||=x(()=>e(()=>import(`./assets/_virtual_mf-localSharedImportMap___mfe_internal__InfluxDBComponentsSet__mf_owner__1-Du-iBqZ7.js`),[],import.meta.url)).catch(e=>{throw y=void 0,e}),y}async function j(){return c}async function M(e={},n=[],r={}){var i,a;let o=(e,t,n,r)=>{let i=(Array.isArray(r)?r[0]:r)||`default`,a=t||!n?e:e+`@`+n,o={canonical:i+`:`+a};return i==="default"&&(o.aliases=[a]),o},s=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},c=Symbol.for(`module-federation.shared-cache-listeners`),l=Symbol.for(`module-federation.shared-cache-owners`),f=e=>{let t=e[l];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,l,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},y=(e,t)=>{var n;return(n=e[l])==null?void 0:n[t.canonical]},S=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},C=(e,t)=>{if(e===t)return!0;let n=S(e),r=S(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},w=(e,t,n,r)=>{var i;let a=s(e,t);if(a!==void 0&&C(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let u=e[l];r===void 0?u&&delete u[t.canonical]:f(e)[t.canonical]=r;let d=(i=e[c])==null?void 0:i[t.canonical];if(d)for(let e of d)e(n);return n},T=Symbol.for(`module-federation.tree-shaking-shared-cache`),A=e=>{let t=e[T];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,T,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},j=(e,t,n,r)=>{if(!Array.isArray(n))return r;let i=[...new Set(n)].sort(),a=A(e),o=a[t.canonical]||=[],s=o.find(e=>e.providedExports.length===i.length&&e.providedExports.every((e,t)=>e===i[t]));return s?s.value=r:o.push({providedExports:i,value:r}),r},M=Symbol.for(`module-federation.tree-shaking-shared-selection-cache`),N=e=>{let t=e[M];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,M,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},P=(e,t,n)=>{var r;let i=s(e,t);return i===void 0?(r=e[M])==null||(r=r[t.canonical])==null?void 0:r[n]:i},F=(e,t,n,r)=>{let i=N(e),a=i[t.canonical]||=Object.create(null);return a[n]=r,r},I=((i=globalThis.__FEDERATION__)==null?void 0:i.__INSTANCES__)||[],L=(a=n.find(e=>e==null?void 0:e.from))==null?void 0:a.from,ne=I.find(t=>{var n,r;return(t==null||(n=t.options)==null?void 0:n.name)===L&&(t==null||(r=t.shareScopeMap)==null?void 0:r.default)===e})||I.find(t=>{var n,r;return(t==null||(n=t.options)==null?void 0:n.name)!==_&&(t==null||(r=t.shareScopeMap)==null?void 0:r.default)===e}),R=Object.create(null),re=e=>{let t=Object.create(null);for(let[n,r]of Object.entries(e||{}))t[n]=Object.assign(Object.create(null),r);return t},ie=(e,t)=>{var n;for(let[i,a]of Object.entries(((n=q.shareScopeMap)==null?void 0:n[e])||{}))for(let[e,n]of Object.entries(a||{})){var r;if(!n||n.get===((r=B[i])==null?void 0:r.get))continue;let a=t[i]||={};a[e]===void 0&&(a[e]=n)}},ae=(e,t)=>{ie(e,t);let n=!ne&&Object.values(t||{}).some(e=>Object.values(e||{}).some(V)),r=n?re(t):t;return R[e]={host:t,runtime:r,isWebpackScope:n},r},oe=()=>{let e=Object.values(R).filter(({isWebpackScope:e})=>e);if(e.length!==0)for(let{host:t,runtime:n}of e)for(let[e,r]of Object.entries(t||{})){let t=n[e]||=Object.create(null);for(let[e,n]of Object.entries(r||{}))t[e]=n}},z=Object.create(null);for(let[t,n]of Object.entries(e)){let e=z[t]=Object.create(null);for(let[t,r]of Object.entries(n))e[t]=Object.assign({},r)}let{usedShared:B,usedRemotes:se}=await te();function V(e){if(typeof(e==null?void 0:e.get)!=`function`)return!1;let t=Function.prototype.toString.call(e.get);return t.includes(`__webpack_require__`)||/\.\s*e\s*\([^)]*\)\s*\.then\s*\(/.test(t)}let ce=Object.values(z).some(e=>Object.values(e||{}).some(V)),le=e=>{let t=e.split(`/`);return e.startsWith(`@`)?t.slice(0,2).join(`/`):t[0]},H=(t,n,r,i)=>{if(typeof O!=`function`)return;let a=le(t),o=!i||a===t?[[t,n]]:[[t,n],[a,B[a]]];for(let[n,i]of o){if(!i)continue;let a=O(r?n===t?r:z[n]:z[n]??e[n],n,i,`version-first`);if(a)return a}},ue=(e,t,n)=>{let r=H(e,t,n,!0);return r&&V(r)&&!r.lib&&!r.loaded?r:void 0};var U=m[g];if(U||=m[g]={from:_},n.indexOf(U)>=0)return;n.push(U);let de=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},fe=[],pe=globalThis.window===void 0?await Promise.all([]):[],W=`__mf_vite_runtime_share_load_id__`,me=0,G=new Map,K=new Map,q=t({name:_,remotes:se,shared:B,plugins:[he(),ge(),...fe,...pe],shareStrategy:`version-first`});q.initShareScopeMap(`default`,ae(`default`,e));function he(){return{name:`vite-share-pin-lifecycle-plugin`,resolveShare(e){var t;let n=(t=e.shareInfo)==null?void 0:t[W],r=n===void 0?void 0:K.get(n);if(!r)return e;let i=e.resolver;return e.resolver=(...e)=>(r.pinned.reapply(),i(...e)),r.pinned.reveal(),e}}}function ge(){return{name:`vite-real-name-snapshot-plugin`,afterLoadSnapshot(e){let t=e&&e.remoteSnapshot,n=t&&t.globalName,r=t&&t.version;if(!n||!r||!t.remoteEntry)return e;let i=globalThis.__FEDERATION__&&globalThis.__FEDERATION__.moduleInfo,a=n+`:`+r;return i&&!i[a]&&(i[a]=t),e}}}let _e=q.sharedHandler.hooks.lifecycle.resolveShare;if(!q.__mfKeepAdoptedProviders){var J,ve;q.__mfKeepAdoptedProviders=!0,(J=q.sharedHandler)==null||(J=J.hooks)==null||(J=J.lifecycle)==null||(J=J.afterRegisterShare)==null||(ve=J.on)==null||ve.call(J,e=>{var t,n,r;let{shared:i,previousShared:a,registeredShared:o}=e||{};if((i==null||(t=i.shareConfig)==null?void 0:t.import)!==!1||o!==i||!a||((n=a.shareConfig)==null?void 0:n.import)===!1)return;let s=(r=q.shareScopeMap)==null||(r=r[e.scope])==null?void 0:r[e.pkgName];s&&s[i.version]===i&&(s[i.version]=a)})}let Y=new WeakMap;_e.on(e=>{var t;let n=(t=e.shareInfo)==null?void 0:t[W],r=e.resolver;return typeof r==`function`&&(e.resolver=(...t)=>{var i;let a=r(...t);if((a==null||(i=a.shared)==null||(i=i.shareConfig)==null?void 0:i.import)===!1&&typeof D==`function`&&B[e.pkgName]){var o,s;let t=D((o=e.shareScopeMap)==null||(o=o[e.scope])==null?void 0:o[e.pkgName],e.pkgName,B[e.pkgName],`version-first`);t&&((s=t.shareConfig)==null?void 0:s.import)!==!1&&(a={shared:t,useTreesShaking:a.useTreesShaking})}let c=a==null?void 0:a.shared;return c&&(typeof c==`object`||typeof c==`function`)&&!Y.has(c)&&Y.set(c,{from:c.from}),n!==void 0&&c&&G.set(n,c),a}),e});let ye=(e,t,n,r)=>{if(!e||e[t]!==n)return;let i=Object.assign({},r,{version:r.version??t,scope:r.scope??(n==null?void 0:n.scope)??[`default`],strategy:`loaded-first`}),a=r.from;e[t]=i;let o=()=>n===void 0?e[t]===void 0:e[t]===n;return{provider:i,reveal(){return e[t]===i&&(n===void 0?delete e[t]:e[t]=n,!0)},reapply(){return o()?(e[t]=i,!0):!1},release(s,c=!0){return r.from=a,e[t]===i?c?s?(i.from=a,s&&i.lib&&(i.loaded=!0),r.strategy===void 0?delete i.strategy:i.strategy=r.strategy,!0):(n===void 0?delete e[t]:e[t]=n,!1):(n===void 0?delete e[t]:e[t]=n,!0):!c&&o()}}},be=e=>Object.entries(e||{}).map(([e,t])=>({provider:t,version:e,from:t.from,registered:!0})),xe=(e,t)=>{if(t===void 0)return;let n;for(let r of e){let e=r.provider,i=e.treeShaking||e;if(r.loadedFactory===t||e.lib===t||i.lib===t){if(n)return;n=r}}return n},Se=async(e,t,n)=>{let r=++me;K.set(r,{pinned:n});try{let n=await q.loadShare(e,{customShareInfo:{shareConfig:t,[W]:r}});return{factory:n===!1?void 0:n,selectedProvider:G.get(r)}}finally{G.delete(r),K.delete(r)}},Ce=async(e,t,n,r,i,a,o=!0)=>{let s=a.from,c=ye(n,r,i,a);if(!c)return;let l;try{l=await Se(e,t,c)}catch(e){throw c.release(!1),e}let u=l==null?void 0:l.factory;if(u===void 0){c.release(!1);return}let d=be(n),f=c.provider.treeShaking||c.provider,p=c.provider.lib===u||f.lib===u;if(!o&&p){let e=d.findIndex(e=>e.provider===c.provider);e!==-1&&d.splice(e,1)}!o&&!d.some(e=>e.provider===a)&&d.push({provider:a,version:r,from:s,registered:!1,loadedFactory:p?u:void 0});let m=!o&&l.selectedProvider===c.provider&&p?a:l.selectedProvider;if(m&&!d.some(e=>e.provider===m)){let e=Y.get(m),t=typeof m.version==`string`&&m.version?m.version:r;d.push({provider:m,version:t,from:e?e.from:m.from,registered:(n==null?void 0:n[t])===m,loadedFactory:u})}let h=d.find(e=>e.provider===m)??xe(d,u);if(!c.release(!0,(h==null?void 0:h.provider)===c.provider)||!h)return;let g=Y.get(h.provider);h.from=h.provider===a?s:g?g.from:h.provider.from,g&&(h.provider.from=g.from);let _=typeof u==`function`?u():u,v=await Promise.resolve(_);if(!(h.registered&&(n==null?void 0:n[h.version])!==h.provider))return{provider:h.provider,selection:h,resolved:v}},X=new Set,we=new Map,Te=async(t,n,r)=>{var i;let a=!!((i=n.shareConfig)!=null&&i.singleton);if(!a&&n.canLiveRebind!==!1)try{var c,l;let i=O(r,t,n,`version-first`),u=E(r,i);if(!u||((c=n.shareConfig)==null?void 0:c.import)===!1&&k(i,n)||(i==null||(l=i.shareConfig)==null?void 0:l.import)===!1)return;let{version:d}=u;if(!a&&d!==n.version||!i.lib&&!i.loading&&!(i.loaded&&typeof i.get==`function`))return;let f=o(t,a,n.version,n.scope);if(s(p.share,f)!==void 0)return;let m=e[t],h=m==null?void 0:m[d];if(u.registered&&!k(h,i))return;let g,_=i.lib;if(!_&&V(i)||(!_&&i.loading&&(_=await i.loading),!_&&i.loaded&&typeof i.get==`function`&&(_=await i.get()),!_))return;let v=typeof _==`function`?_():_,y=await Promise.resolve(v),b=u.registered?h:i;g={provider:b,selection:{provider:b,version:d,from:i.from,registered:u.registered},resolved:y};let x=g==null?void 0:g.provider,S=g==null?void 0:g.selection;if(!S)return;let C=g==null?void 0:g.resolved;if(C===void 0||s(p.share,f)!==void 0||S.registered&&(m==null?void 0:m[S.version])!==x)return;w(p.share,f,de(C),S.from),X.add(x)}catch(e){console.error(`[Module Federation] Failed to bridge materialized shared module "`+t+`"`,e)}},Ee=async(t,n,r,i,a)=>{try{var c,l,u,d;let f=o(t,(c=n.shareConfig)==null?void 0:c.singleton,n.version,n.scope),m=s(p.share,f),h=y(p.share,f),g=O(r,t,n,`version-first`),v=g||D(r,t,n,`version-first`)||n,b=E(r,v);if(!b)return;let x=k(v,n),{version:S}=b;if(!((l=n.shareConfig)!=null&&l.singleton)&&S!==n.version)return;let C=i==null?void 0:i[S],T=ee(I,ne,e,`default`,t,b,g,C,`version-first`);if(!T&&!x)return;let{provider:A,scopeRootProvider:te}=T||{provider:v,scopeRootProvider:void 0};if(n.canLiveRebind===!1||((u=n.shareConfig)==null?void 0:u.import)===!1&&k(A,n)||(A==null||(d=A.shareConfig)==null?void 0:d.import)===!1||m!==void 0&&h!==_)return;let j=e[t],M=j==null?void 0:j[S];if(b.registered&&!te&&!k(M,A))return;let N=await Ce(t,n.shareConfig,j,S,M,A,b.registered&&!x),P=N==null?void 0:N.provider,F=N==null?void 0:N.selection;if(!F||k(P,n)||a&&(a.version!==F.version||!k({from:F.from},a.provider))||X.has(P))return;let L=N==null?void 0:N.resolved;if(L===void 0)return;let R=s(p.share,f),re=y(p.share,f);if(R!==void 0&&re!==_||F.registered&&(j==null?void 0:j[F.version])!==P)return;a||we.set(t,{version:F.version,provider:{from:F.from}}),X.add(P);let ie=de(L);w(p.share,f,ie,F.from)}catch(e){console.error(`[Module Federation] Failed to bridge external shared module "`+t+`"`,e)}};for(let e of v)await Promise.all(e.map(async e=>{let t=B[e];t&&t.materialize!==!1&&!t.treeShaking&&await Te(e,t,z[e])}));for(let[e,t]of Object.entries(B)){var De;if(t.treeShaking)continue;let n=o(e,(De=t.shareConfig)==null?void 0:De.singleton,t.version,t.scope);if(s(p.share,n)!==void 0)continue;let r=o(e,!0,t.version,t.scope),i=s(p.share,r);i!==void 0&&w(p.share,n,i,y(p.share,r))}let Oe=[`react`,`react/jsx-runtime`,`react-dom`,`react-dom/client`,`@mui/material`,`@mui/icons-material`,`@iobroker/gui-components`,`@iobroker/json-config`],ke=[[`react`],[`react/jsx-runtime`,`react-dom`],[`react-dom/client`,`@mui/material`],[`@mui/icons-material`],[`@iobroker/gui-components`],[`@iobroker/json-config`]],Z=new Map(Oe.map((e,t)=>[e,t])),Ae={1:[0],2:[0],3:[0,2],4:[0,2],5:[4,0],6:[0,2,5,4],7:[6,5,4,0,2]},Q=Oe.filter(e=>{var t;return B[e]&&(B[e].materialize!==!1||((t=B[e].shareConfig)==null?void 0:t.import)===!1&&!B[e].lazy)});p.providerInit||=new Map;let je=(e,t)=>{let n=p.providerInit.get(e);if(n)return n;let r=Promise.resolve().then(t);return p.providerInit.set(e,r),r.catch(()=>p.providerInit.delete(e)),r};var Me=async e=>{let t=new Set(e);for(let e of ke)await Promise.all(e.filter(e=>t.has(e)).map(async e=>{var t,n,r;let i=B[e],a=o(e,(t=i.shareConfig)==null?void 0:t.singleton,i.version,i.scope);if(((n=i.shareConfig)==null?void 0:n.import)===!1||i.treeShaking||s(p.share,a)!==void 0)return;let c=o(e,!0,i.version,i.scope),l=s(p.share,c);if(l!==void 0){w(p.share,a,l,y(p.share,c));return}let u=typeof H==`function`?H(e,i):void 0;if(u){var d,f;let t=u.lib;if(!t&&u.loading&&(t=await u.loading),!t&&u.loaded&&typeof u.get==`function`&&(t=await u.get()),t){let e=typeof t==`function`?t():t,n=await Promise.resolve(e);w(p.share,a,(e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t})(n),u.from);return}if(typeof V==`function`&&V(u)&&((d=i.shareConfig)!=null&&d.singleton||((f=E(z[e],u))==null?void 0:f.version)===i.version))return}let m=a.canonical,h=await je(m,async()=>{let e=await i.get(),t=typeof e==`function`?e():e;return Promise.resolve(t)});for(let t of((r=q.options.shared)==null?void 0:r[e])||[])t.get===i.get&&(t.eager=!0);let g=(e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t})(h),v=g===h?{...h}:g;v.__esModule!==!0&&Object.defineProperty(v,"__esModule",{value:!0,enumerable:!1}),w(p.share,a,v,_)}))};let $=e=>{var t,n;let r=B[e];if(!r.treeShaking&&((t=r.shareConfig)==null?void 0:t.import)!==!1)return!1;let i=o(e,(n=r.shareConfig)==null?void 0:n.singleton,r.version,r.scope);return r.treeShaking?P(p.share,i,_)===void 0&&s(p.share,i)===void 0:s(p.share,i)===void 0},Ne=e=>{var t,n;let r=B[e],i=o(e,(t=r.shareConfig)==null?void 0:t.singleton,r.version,r.scope);return(r.treeShaking?P(p.share,i,_)??s(p.share,i):s(p.share,i))===void 0?r.treeShaking||((n=r.shareConfig)==null?void 0:n.import)===!1?!0:typeof O==`function`&&!!O(z[e],e,r,`version-first`):!1},Pe=e=>{let t=!0;for(;t;){t=!1;for(let n of Q){let r=Z.get(n);e.has(r)||(Ae[r]||[]).some(t=>e.has(t))&&(e.add(r),t=!0)}}return e},Fe=Pe(new Set(Q.filter(Ne).map(e=>Z.get(e)))),Ie=Q.filter(e=>!Fe.has(Z.get(e)));var Le=Q.filter(e=>Fe.has(Z.get(e)));await Me(Ie);try{await x(async()=>{await Promise.all(await q.initializeSharing(`default`,{strategy:`version-first`,from:`build`,initScope:n}))})}catch(e){console.error(`[Module Federation]`,e)}oe();let Re=async()=>{for(let t of v)await Promise.all(t.map(async t=>{let n=B[t];n&&n.materialize!==!1&&!n.treeShaking&&await Ee(t,n,e[t],z[t],void 0)}))};ce?b=Re:await Re();try{var ze;let e=(ze=globalThis.__FEDERATION__)==null?void 0:ze.__SHARE__,t=Object.create(null);if(e)for(let[,n]of Object.entries(e))for(let e of h){let r=n==null?void 0:n[e];if(r)for(let[e,n]of Object.entries(r)){let r=B==null?void 0:B[e],i=z[e],a=we.get(e);if(!r||!i||!a||r.treeShaking)continue;let o=t[e]||(t[e]=Object.create(null));for(let[e,t]of Object.entries(n)){if(!t.lib||a.version!==e||!k(t,a.provider))continue;let n=i[e];(t===n||n!=null&&n.from&&t.from===n.from)&&(t===r||r.from&&t.from===r.from||o[e]===void 0&&(o[e]=t))}}}for(let e of v)await Promise.all(e.map(async e=>{let n=t[e];n&&await Ee(e,B[e],n,z[e],we.get(e))}))}catch(e){console.error(`[Module Federation] Failed to bridge external shared modules`,e)}let Be=async()=>{},Ve=async(t,n)=>{var r,i;let a=o(t,(r=n.shareConfig)==null?void 0:r.singleton,n.version,n.scope),c=n.treeShaking?P(p.share,a,_):s(p.share,a);if(((i=n.shareConfig)==null?void 0:i.import)!==!1||c!==void 0||ue(t,n,z[t]))return;let l=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},u=e==null?void 0:e[t],d=D(u,t,n,`version-first`)||n,f=E(u,d);if(!f)return;let m=e=>{var t;return e===n||(e==null||(t=e.shareConfig)==null?void 0:t.import)===!1};if(m(d))return;let{version:h}=f,g=u==null?void 0:u[h],v=await Ce(t,n.shareConfig,u,h,g,d,f.registered),y=v==null?void 0:v.selection,b=v==null?void 0:v.provider,x=v==null?void 0:v.resolved;if(!y||m(b)||x===void 0||(n.treeShaking?P(p.share,a,_):s(p.share,a))!==void 0||y.registered&&(u==null?void 0:u[y.version])!==b)return;let S=l(x);if(n.treeShaking){let e=n.treeShaking.providedExports??n.treeShaking.usedExports??[];j(p.share,a,e,S),F(p.share,a,_,S)}else w(p.share,a,S,y.from)},He=[],Ue=new Set;for(let e of Le){let t=B[e],n=Z.get(e);if($(e))try{var We;t.treeShaking?await Be(e,t):((We=t.shareConfig)==null?void 0:We.import)===!1&&await Ve(e,t)}catch(t){console.error(`[Module Federation] Failed to resolve runtime-only shared module "${e}"`,t)}$(e)&&Ue.add(n)}Pe(Ue),He.push(...Le.filter(e=>!Ue.has(Z.get(e)))),await Me(He);let Ge=new Map;return u.loadLazyShares=async t=>{let n=new Set(t);for(let t of v)await Promise.all(t.filter(e=>n.has(e)).map(t=>{let n=B[t];if(!n||!n.lazy||!$(t))return;let r=Ge.get(t);return r||(r=Ee(t,n,e[t],z[t],void 0).then(()=>$(t)?Ve(t,n):void 0),r.catch(()=>Ge.delete(t)),Ge.set(t,r)),r}))},d(q),q}async function N(e){let t=await j();if(!(e in t))throw Error(`[Module Federation] Module ${e} does not exist in container.`);return b&&await b(),p.pendingShareLoads&&await Promise.all(p.pendingShareLoads),t[e]().then(e=>()=>e)}export{N as get,M as init};
|
|
1
|
+
import{t as e}from"./assets/vite-preload-helper-BbbETgeG.js";import{t}from"./assets/dist-CSJEdwl2.js";import{t as n}from"./assets/helpers-DT5-3o-l.js";var r={},i=new Set,a=new Map;function o(e,t){let n=a.get(e);return n||(n=Promise.resolve().then(t).catch(t=>{throw a.delete(e),t}),a.set(e,n)),n}async function s(e){if(typeof document>`u`)return;let t=r[e]||[];await Promise.all(t.map(e=>{let t=new URL(e,import.meta.url).href;return i.has(t)||(i.add(t),document.querySelector(`link[rel="stylesheet"][href="${t}"]`))?Promise.resolve():new Promise((e,n)=>{let r=document.createElement(`link`);r.rel=`stylesheet`,r.href=t,r.onload=()=>e(),r.onerror=()=>n(Error(`[Module Federation] Failed to load CSS asset: ${t}`)),document.head.appendChild(r)})}))}var c={"./Components":async()=>{await s(`./Components`),await Promise.all([]);let t=await o(`./Components`,()=>e(()=>import(`./assets/Components-B4TwooZ9.js`),[],import.meta.url)),n=t&&t.__mf_remote_dependency_pending;n&&typeof n.then==`function`&&await n;let r={};return Object.assign(r,t),Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),r}};typeof __VUE_HMR_RUNTIME__>`u`&&(globalThis.__VUE_HMR_RUNTIME__={createRecord(){},rerender(){},reload(){}});var l=`__mf_init__virtual:mf:__mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__mf_v__runtimeInit__mf_v__.js__`,u=globalThis[l];if(!u){let e,t,n=new Promise((n,r)=>{e=n,t=r});u=globalThis[l]={initPromise:n,initResolve:e,initReject:t}}var d=u.initResolve,f=`__mf_module_cache__`;globalThis[f]||={share:{},remote:{}},globalThis[f].share||={},globalThis[f].remote||={};var p=globalThis[f];for(let e of Object.keys(p.share))if(e.startsWith(`default:`)){let t=e.slice(8);p.share[t]===void 0&&(p.share[t]=p.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;p.share[t]===void 0&&(p.share[t]=p.share[e])}var m={},h=Array.isArray(`default`)?`default`:[`default`],g=`default`,_=`InfluxDBComponentsSet`,v=[[`react`],[`react/jsx-runtime`,`react-dom`],[`react-dom/client`,`@mui/material`],[`@mui/icons-material`],[`@iobroker/gui-components`],[`@iobroker/json-config`]],y,b;async function x(e){for(let t=0;;t++)try{return await e()}catch(e){throw e}}var S=Symbol(`mf.originalSharedProvider`),C={emit:e=>e},w=e=>Array.isArray(e.scope)?e.scope:[e.scope||`default`],T=(e,t)=>{if(t!==`version-first`)return e;let n={};for(let[t,r]of Object.entries(e))n[t]=Object.assign({},r,{[S]:r});return n},E=(e,t)=>{if(!t)return;let n=Object.entries(e||{}),r=n.find(([,e])=>e===t);if(r)return{version:r[0],provider:t,registered:!0};if(typeof t.version==`string`&&t.version)return{version:t.version,provider:t,registered:!1};let i=n.filter(([,e])=>e===t||!!(t.from&&(e==null?void 0:e.from)===t.from));if(i.length===1)return{version:i[0][0],provider:t,registered:!1}},D=(e,t,r,i)=>{var a;if(!e||!r)return;let o=Object.fromEntries(Object.entries(e).filter(([,e])=>{var t;return(e==null||(t=e.shareConfig)==null?void 0:t.import)!==!1}));if(Object.keys(o).length===0)return;let s=w(r),c=T(o,i),l={};for(let e of s)l[e||`default`]={[t]:c};let u=(a=n.getRegisteredShare(l,t,{...r,scope:s,strategy:i},C))==null?void 0:a.shared;return(u==null?void 0:u[S])||u},O=(e,t,n,r)=>{var i;let a=e=>k(e,n),o=Object.fromEntries(Object.entries(e||{}).filter(([,e])=>{var t;return!a(e)&&(e==null||(t=e.shareConfig)==null?void 0:t.import)!==!1}));n!=null&&n.version&&((i=n.shareConfig)==null?void 0:i.import)!==!1&&(o[n.version]||(o[n.version]=n));let s=D(o,t,n,r);return a(s)?void 0:s},k=(e,t)=>e===t||!!(t!=null&&t.from&&(e==null?void 0:e.from)===t.from),A=(e,t,n,r,i,a,o,s,c)=>{var l,u;if(c!==`version-first`||!s)return;let d=t==null||(l=t.options)==null||(l=l.shared)==null?void 0:l[i],f=Array.isArray(d)?d.find(e=>(e==null?void 0:e.version)===a):void 0,p=((s==null?void 0:s.from)===(t==null||(u=t.options)==null?void 0:u.name)?s:void 0)||(k(f,s)?f:t?void 0:s);if(p)return e.some(e=>{var i,a;return e!==t&&(e==null||(i=e.options)==null?void 0:i.name)===(o==null?void 0:o.from)&&(e==null||(a=e.shareScopeMap)==null?void 0:a[r])===n})?p:void 0},ee=(e,t,n,r,i,a,o,s,c)=>{let l=a.registered?A(e,t,n,r,i,a.version,a.provider,s,c):void 0,u=l||o;if(u&&(!a.registered||k(u,s)))return{provider:u,scopeRootProvider:l}};async function te(){return y||=x(()=>e(()=>import(`./assets/_virtual_mf-localSharedImportMap___mfe_internal__InfluxDBComponentsSet__mf_owner__1-Du-iBqZ7.js`),[],import.meta.url)).catch(e=>{throw y=void 0,e}),y}async function j(){return c}async function M(e={},n=[],r={}){var i,a;let o=(e,t,n,r)=>{let i=(Array.isArray(r)?r[0]:r)||`default`,a=t||!n?e:e+`@`+n,o={canonical:i+`:`+a};return i==="default"&&(o.aliases=[a]),o},s=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},c=Symbol.for(`module-federation.shared-cache-listeners`),l=Symbol.for(`module-federation.shared-cache-owners`),f=e=>{let t=e[l];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,l,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},y=(e,t)=>{var n;return(n=e[l])==null?void 0:n[t.canonical]},S=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},C=(e,t)=>{if(e===t)return!0;let n=S(e),r=S(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},w=(e,t,n,r)=>{var i;let a=s(e,t);if(a!==void 0&&C(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let u=e[l];r===void 0?u&&delete u[t.canonical]:f(e)[t.canonical]=r;let d=(i=e[c])==null?void 0:i[t.canonical];if(d)for(let e of d)e(n);return n},T=Symbol.for(`module-federation.tree-shaking-shared-cache`),A=e=>{let t=e[T];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,T,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},j=(e,t,n,r)=>{if(!Array.isArray(n))return r;let i=[...new Set(n)].sort(),a=A(e),o=a[t.canonical]||=[],s=o.find(e=>e.providedExports.length===i.length&&e.providedExports.every((e,t)=>e===i[t]));return s?s.value=r:o.push({providedExports:i,value:r}),r},M=Symbol.for(`module-federation.tree-shaking-shared-selection-cache`),N=e=>{let t=e[M];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,M,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},P=(e,t,n)=>{var r;let i=s(e,t);return i===void 0?(r=e[M])==null||(r=r[t.canonical])==null?void 0:r[n]:i},F=(e,t,n,r)=>{let i=N(e),a=i[t.canonical]||=Object.create(null);return a[n]=r,r},I=((i=globalThis.__FEDERATION__)==null?void 0:i.__INSTANCES__)||[],L=(a=n.find(e=>e==null?void 0:e.from))==null?void 0:a.from,ne=I.find(t=>{var n,r;return(t==null||(n=t.options)==null?void 0:n.name)===L&&(t==null||(r=t.shareScopeMap)==null?void 0:r.default)===e})||I.find(t=>{var n,r;return(t==null||(n=t.options)==null?void 0:n.name)!==_&&(t==null||(r=t.shareScopeMap)==null?void 0:r.default)===e}),R=Object.create(null),re=e=>{let t=Object.create(null);for(let[n,r]of Object.entries(e||{}))t[n]=Object.assign(Object.create(null),r);return t},ie=(e,t)=>{var n;for(let[i,a]of Object.entries(((n=q.shareScopeMap)==null?void 0:n[e])||{}))for(let[e,n]of Object.entries(a||{})){var r;if(!n||n.get===((r=B[i])==null?void 0:r.get))continue;let a=t[i]||={};a[e]===void 0&&(a[e]=n)}},ae=(e,t)=>{ie(e,t);let n=!ne&&Object.values(t||{}).some(e=>Object.values(e||{}).some(V)),r=n?re(t):t;return R[e]={host:t,runtime:r,isWebpackScope:n},r},oe=()=>{let e=Object.values(R).filter(({isWebpackScope:e})=>e);if(e.length!==0)for(let{host:t,runtime:n}of e)for(let[e,r]of Object.entries(t||{})){let t=n[e]||=Object.create(null);for(let[e,n]of Object.entries(r||{}))t[e]=n}},z=Object.create(null);for(let[t,n]of Object.entries(e)){let e=z[t]=Object.create(null);for(let[t,r]of Object.entries(n))e[t]=Object.assign({},r)}let{usedShared:B,usedRemotes:se}=await te();function V(e){if(typeof(e==null?void 0:e.get)!=`function`)return!1;let t=Function.prototype.toString.call(e.get);return t.includes(`__webpack_require__`)||/\.\s*e\s*\([^)]*\)\s*\.then\s*\(/.test(t)}let ce=Object.values(z).some(e=>Object.values(e||{}).some(V)),le=e=>{let t=e.split(`/`);return e.startsWith(`@`)?t.slice(0,2).join(`/`):t[0]},H=(t,n,r,i)=>{if(typeof O!=`function`)return;let a=le(t),o=!i||a===t?[[t,n]]:[[t,n],[a,B[a]]];for(let[n,i]of o){if(!i)continue;let a=O(r?n===t?r:z[n]:z[n]??e[n],n,i,`version-first`);if(a)return a}},ue=(e,t,n)=>{let r=H(e,t,n,!0);return r&&V(r)&&!r.lib&&!r.loaded?r:void 0};var U=m[g];if(U||=m[g]={from:_},n.indexOf(U)>=0)return;n.push(U);let de=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},fe=[],pe=globalThis.window===void 0?await Promise.all([]):[],W=`__mf_vite_runtime_share_load_id__`,me=0,G=new Map,K=new Map,q=t({name:_,remotes:se,shared:B,plugins:[he(),ge(),...fe,...pe],shareStrategy:`version-first`});q.initShareScopeMap(`default`,ae(`default`,e));function he(){return{name:`vite-share-pin-lifecycle-plugin`,resolveShare(e){var t;let n=(t=e.shareInfo)==null?void 0:t[W],r=n===void 0?void 0:K.get(n);if(!r)return e;let i=e.resolver;return e.resolver=(...e)=>(r.pinned.reapply(),i(...e)),r.pinned.reveal(),e}}}function ge(){return{name:`vite-real-name-snapshot-plugin`,afterLoadSnapshot(e){let t=e&&e.remoteSnapshot,n=t&&t.globalName,r=t&&t.version;if(!n||!r||!t.remoteEntry)return e;let i=globalThis.__FEDERATION__&&globalThis.__FEDERATION__.moduleInfo,a=n+`:`+r;return i&&!i[a]&&(i[a]=t),e}}}let _e=q.sharedHandler.hooks.lifecycle.resolveShare;if(!q.__mfKeepAdoptedProviders){var J,ve;q.__mfKeepAdoptedProviders=!0,(J=q.sharedHandler)==null||(J=J.hooks)==null||(J=J.lifecycle)==null||(J=J.afterRegisterShare)==null||(ve=J.on)==null||ve.call(J,e=>{var t,n,r;let{shared:i,previousShared:a,registeredShared:o}=e||{};if((i==null||(t=i.shareConfig)==null?void 0:t.import)!==!1||o!==i||!a||((n=a.shareConfig)==null?void 0:n.import)===!1)return;let s=(r=q.shareScopeMap)==null||(r=r[e.scope])==null?void 0:r[e.pkgName];s&&s[i.version]===i&&(s[i.version]=a)})}let Y=new WeakMap;_e.on(e=>{var t;let n=(t=e.shareInfo)==null?void 0:t[W],r=e.resolver;return typeof r==`function`&&(e.resolver=(...t)=>{var i;let a=r(...t);if((a==null||(i=a.shared)==null||(i=i.shareConfig)==null?void 0:i.import)===!1&&typeof D==`function`&&B[e.pkgName]){var o,s;let t=D((o=e.shareScopeMap)==null||(o=o[e.scope])==null?void 0:o[e.pkgName],e.pkgName,B[e.pkgName],`version-first`);t&&((s=t.shareConfig)==null?void 0:s.import)!==!1&&(a={shared:t,useTreesShaking:a.useTreesShaking})}let c=a==null?void 0:a.shared;return c&&(typeof c==`object`||typeof c==`function`)&&!Y.has(c)&&Y.set(c,{from:c.from}),n!==void 0&&c&&G.set(n,c),a}),e});let ye=(e,t,n,r)=>{if(!e||e[t]!==n)return;let i=Object.assign({},r,{version:r.version??t,scope:r.scope??(n==null?void 0:n.scope)??[`default`],strategy:`loaded-first`}),a=r.from;e[t]=i;let o=()=>n===void 0?e[t]===void 0:e[t]===n;return{provider:i,reveal(){return e[t]===i&&(n===void 0?delete e[t]:e[t]=n,!0)},reapply(){return o()?(e[t]=i,!0):!1},release(s,c=!0){return r.from=a,e[t]===i?c?s?(i.from=a,s&&i.lib&&(i.loaded=!0),r.strategy===void 0?delete i.strategy:i.strategy=r.strategy,!0):(n===void 0?delete e[t]:e[t]=n,!1):(n===void 0?delete e[t]:e[t]=n,!0):!c&&o()}}},be=e=>Object.entries(e||{}).map(([e,t])=>({provider:t,version:e,from:t.from,registered:!0})),xe=(e,t)=>{if(t===void 0)return;let n;for(let r of e){let e=r.provider,i=e.treeShaking||e;if(r.loadedFactory===t||e.lib===t||i.lib===t){if(n)return;n=r}}return n},Se=async(e,t,n)=>{let r=++me;K.set(r,{pinned:n});try{let n=await q.loadShare(e,{customShareInfo:{shareConfig:t,[W]:r}});return{factory:n===!1?void 0:n,selectedProvider:G.get(r)}}finally{G.delete(r),K.delete(r)}},Ce=async(e,t,n,r,i,a,o=!0)=>{let s=a.from,c=ye(n,r,i,a);if(!c)return;let l;try{l=await Se(e,t,c)}catch(e){throw c.release(!1),e}let u=l==null?void 0:l.factory;if(u===void 0){c.release(!1);return}let d=be(n),f=c.provider.treeShaking||c.provider,p=c.provider.lib===u||f.lib===u;if(!o&&p){let e=d.findIndex(e=>e.provider===c.provider);e!==-1&&d.splice(e,1)}!o&&!d.some(e=>e.provider===a)&&d.push({provider:a,version:r,from:s,registered:!1,loadedFactory:p?u:void 0});let m=!o&&l.selectedProvider===c.provider&&p?a:l.selectedProvider;if(m&&!d.some(e=>e.provider===m)){let e=Y.get(m),t=typeof m.version==`string`&&m.version?m.version:r;d.push({provider:m,version:t,from:e?e.from:m.from,registered:(n==null?void 0:n[t])===m,loadedFactory:u})}let h=d.find(e=>e.provider===m)??xe(d,u);if(!c.release(!0,(h==null?void 0:h.provider)===c.provider)||!h)return;let g=Y.get(h.provider);h.from=h.provider===a?s:g?g.from:h.provider.from,g&&(h.provider.from=g.from);let _=typeof u==`function`?u():u,v=await Promise.resolve(_);if(!(h.registered&&(n==null?void 0:n[h.version])!==h.provider))return{provider:h.provider,selection:h,resolved:v}},X=new Set,we=new Map,Te=async(t,n,r)=>{var i;let a=!!((i=n.shareConfig)!=null&&i.singleton);if(!a&&n.canLiveRebind!==!1)try{var c,l;let i=O(r,t,n,`version-first`),u=E(r,i);if(!u||((c=n.shareConfig)==null?void 0:c.import)===!1&&k(i,n)||(i==null||(l=i.shareConfig)==null?void 0:l.import)===!1)return;let{version:d}=u;if(!a&&d!==n.version||!i.lib&&!i.loading&&!(i.loaded&&typeof i.get==`function`))return;let f=o(t,a,n.version,n.scope);if(s(p.share,f)!==void 0)return;let m=e[t],h=m==null?void 0:m[d];if(u.registered&&!k(h,i))return;let g,_=i.lib;if(!_&&V(i)||(!_&&i.loading&&(_=await i.loading),!_&&i.loaded&&typeof i.get==`function`&&(_=await i.get()),!_))return;let v=typeof _==`function`?_():_,y=await Promise.resolve(v),b=u.registered?h:i;g={provider:b,selection:{provider:b,version:d,from:i.from,registered:u.registered},resolved:y};let x=g==null?void 0:g.provider,S=g==null?void 0:g.selection;if(!S)return;let C=g==null?void 0:g.resolved;if(C===void 0||s(p.share,f)!==void 0||S.registered&&(m==null?void 0:m[S.version])!==x)return;w(p.share,f,de(C),S.from),X.add(x)}catch(e){console.error(`[Module Federation] Failed to bridge materialized shared module "`+t+`"`,e)}},Ee=async(t,n,r,i,a)=>{try{var c,l,u,d;let f=o(t,(c=n.shareConfig)==null?void 0:c.singleton,n.version,n.scope),m=s(p.share,f),h=y(p.share,f),g=O(r,t,n,`version-first`),v=g||D(r,t,n,`version-first`)||n,b=E(r,v);if(!b)return;let x=k(v,n),{version:S}=b;if(!((l=n.shareConfig)!=null&&l.singleton)&&S!==n.version)return;let C=i==null?void 0:i[S],T=ee(I,ne,e,`default`,t,b,g,C,`version-first`);if(!T&&!x)return;let{provider:A,scopeRootProvider:te}=T||{provider:v,scopeRootProvider:void 0};if(n.canLiveRebind===!1||((u=n.shareConfig)==null?void 0:u.import)===!1&&k(A,n)||(A==null||(d=A.shareConfig)==null?void 0:d.import)===!1||m!==void 0&&h!==_)return;let j=e[t],M=j==null?void 0:j[S];if(b.registered&&!te&&!k(M,A))return;let N=await Ce(t,n.shareConfig,j,S,M,A,b.registered&&!x),P=N==null?void 0:N.provider,F=N==null?void 0:N.selection;if(!F||k(P,n)||a&&(a.version!==F.version||!k({from:F.from},a.provider))||X.has(P))return;let L=N==null?void 0:N.resolved;if(L===void 0)return;let R=s(p.share,f),re=y(p.share,f);if(R!==void 0&&re!==_||F.registered&&(j==null?void 0:j[F.version])!==P)return;a||we.set(t,{version:F.version,provider:{from:F.from}}),X.add(P);let ie=de(L);w(p.share,f,ie,F.from)}catch(e){console.error(`[Module Federation] Failed to bridge external shared module "`+t+`"`,e)}};for(let e of v)await Promise.all(e.map(async e=>{let t=B[e];t&&t.materialize!==!1&&!t.treeShaking&&await Te(e,t,z[e])}));for(let[e,t]of Object.entries(B)){var De;if(t.treeShaking)continue;let n=o(e,(De=t.shareConfig)==null?void 0:De.singleton,t.version,t.scope);if(s(p.share,n)!==void 0)continue;let r=o(e,!0,t.version,t.scope),i=s(p.share,r);i!==void 0&&w(p.share,n,i,y(p.share,r))}let Oe=[`react`,`react/jsx-runtime`,`react-dom`,`react-dom/client`,`@mui/material`,`@mui/icons-material`,`@iobroker/gui-components`,`@iobroker/json-config`],ke=[[`react`],[`react/jsx-runtime`,`react-dom`],[`react-dom/client`,`@mui/material`],[`@mui/icons-material`],[`@iobroker/gui-components`],[`@iobroker/json-config`]],Z=new Map(Oe.map((e,t)=>[e,t])),Ae={1:[0],2:[0],3:[0,2],4:[0,2],5:[4,0],6:[0,2,5,4],7:[6,5,4,0,2]},Q=Oe.filter(e=>{var t;return B[e]&&(B[e].materialize!==!1||((t=B[e].shareConfig)==null?void 0:t.import)===!1&&!B[e].lazy)});p.providerInit||=new Map;let je=(e,t)=>{let n=p.providerInit.get(e);if(n)return n;let r=Promise.resolve().then(t);return p.providerInit.set(e,r),r.catch(()=>p.providerInit.delete(e)),r};var Me=async e=>{let t=new Set(e);for(let e of ke)await Promise.all(e.filter(e=>t.has(e)).map(async e=>{var t,n,r;let i=B[e],a=o(e,(t=i.shareConfig)==null?void 0:t.singleton,i.version,i.scope);if(((n=i.shareConfig)==null?void 0:n.import)===!1||i.treeShaking||s(p.share,a)!==void 0)return;let c=o(e,!0,i.version,i.scope),l=s(p.share,c);if(l!==void 0){w(p.share,a,l,y(p.share,c));return}let u=typeof H==`function`?H(e,i):void 0;if(u){var d,f;let t=u.lib;if(!t&&u.loading&&(t=await u.loading),!t&&u.loaded&&typeof u.get==`function`&&(t=await u.get()),t){let e=typeof t==`function`?t():t,n=await Promise.resolve(e);w(p.share,a,(e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t})(n),u.from);return}if(typeof V==`function`&&V(u)&&((d=i.shareConfig)!=null&&d.singleton||((f=E(z[e],u))==null?void 0:f.version)===i.version))return}let m=a.canonical,h=await je(m,async()=>{let e=await i.get(),t=typeof e==`function`?e():e;return Promise.resolve(t)});for(let t of((r=q.options.shared)==null?void 0:r[e])||[])t.get===i.get&&(t.eager=!0);let g=(e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t})(h),v=g===h?{...h}:g;v.__esModule!==!0&&Object.defineProperty(v,"__esModule",{value:!0,enumerable:!1}),w(p.share,a,v,_)}))};let $=e=>{var t,n;let r=B[e];if(!r.treeShaking&&((t=r.shareConfig)==null?void 0:t.import)!==!1)return!1;let i=o(e,(n=r.shareConfig)==null?void 0:n.singleton,r.version,r.scope);return r.treeShaking?P(p.share,i,_)===void 0&&s(p.share,i)===void 0:s(p.share,i)===void 0},Ne=e=>{var t,n;let r=B[e],i=o(e,(t=r.shareConfig)==null?void 0:t.singleton,r.version,r.scope);return(r.treeShaking?P(p.share,i,_)??s(p.share,i):s(p.share,i))===void 0?r.treeShaking||((n=r.shareConfig)==null?void 0:n.import)===!1?!0:typeof O==`function`&&!!O(z[e],e,r,`version-first`):!1},Pe=e=>{let t=!0;for(;t;){t=!1;for(let n of Q){let r=Z.get(n);e.has(r)||(Ae[r]||[]).some(t=>e.has(t))&&(e.add(r),t=!0)}}return e},Fe=Pe(new Set(Q.filter(Ne).map(e=>Z.get(e)))),Ie=Q.filter(e=>!Fe.has(Z.get(e)));var Le=Q.filter(e=>Fe.has(Z.get(e)));await Me(Ie);try{await x(async()=>{await Promise.all(await q.initializeSharing(`default`,{strategy:`version-first`,from:`build`,initScope:n}))})}catch(e){console.error(`[Module Federation]`,e)}oe();let Re=async()=>{for(let t of v)await Promise.all(t.map(async t=>{let n=B[t];n&&n.materialize!==!1&&!n.treeShaking&&await Ee(t,n,e[t],z[t],void 0)}))};ce?b=Re:await Re();try{var ze;let e=(ze=globalThis.__FEDERATION__)==null?void 0:ze.__SHARE__,t=Object.create(null);if(e)for(let[,n]of Object.entries(e))for(let e of h){let r=n==null?void 0:n[e];if(r)for(let[e,n]of Object.entries(r)){let r=B==null?void 0:B[e],i=z[e],a=we.get(e);if(!r||!i||!a||r.treeShaking)continue;let o=t[e]||(t[e]=Object.create(null));for(let[e,t]of Object.entries(n)){if(!t.lib||a.version!==e||!k(t,a.provider))continue;let n=i[e];(t===n||n!=null&&n.from&&t.from===n.from)&&(t===r||r.from&&t.from===r.from||o[e]===void 0&&(o[e]=t))}}}for(let e of v)await Promise.all(e.map(async e=>{let n=t[e];n&&await Ee(e,B[e],n,z[e],we.get(e))}))}catch(e){console.error(`[Module Federation] Failed to bridge external shared modules`,e)}let Be=async()=>{},Ve=async(t,n)=>{var r,i;let a=o(t,(r=n.shareConfig)==null?void 0:r.singleton,n.version,n.scope),c=n.treeShaking?P(p.share,a,_):s(p.share,a);if(((i=n.shareConfig)==null?void 0:i.import)!==!1||c!==void 0||ue(t,n,z[t]))return;let l=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},u=e==null?void 0:e[t],d=D(u,t,n,`version-first`)||n,f=E(u,d);if(!f)return;let m=e=>{var t;return e===n||(e==null||(t=e.shareConfig)==null?void 0:t.import)===!1};if(m(d))return;let{version:h}=f,g=u==null?void 0:u[h],v=await Ce(t,n.shareConfig,u,h,g,d,f.registered),y=v==null?void 0:v.selection,b=v==null?void 0:v.provider,x=v==null?void 0:v.resolved;if(!y||m(b)||x===void 0||(n.treeShaking?P(p.share,a,_):s(p.share,a))!==void 0||y.registered&&(u==null?void 0:u[y.version])!==b)return;let S=l(x);if(n.treeShaking){let e=n.treeShaking.providedExports??n.treeShaking.usedExports??[];j(p.share,a,e,S),F(p.share,a,_,S)}else w(p.share,a,S,y.from)},He=[],Ue=new Set;for(let e of Le){let t=B[e],n=Z.get(e);if($(e))try{var We;t.treeShaking?await Be(e,t):((We=t.shareConfig)==null?void 0:We.import)===!1&&await Ve(e,t)}catch(t){console.error(`[Module Federation] Failed to resolve runtime-only shared module "${e}"`,t)}$(e)&&Ue.add(n)}Pe(Ue),He.push(...Le.filter(e=>!Ue.has(Z.get(e)))),await Me(He);let Ge=new Map;return u.loadLazyShares=async t=>{let n=new Set(t);for(let t of v)await Promise.all(t.filter(e=>n.has(e)).map(t=>{let n=B[t];if(!n||!n.lazy||!$(t))return;let r=Ge.get(t);return r||(r=Ee(t,n,e[t],z[t],void 0).then(()=>$(t)?Ve(t,n):void 0),r.catch(()=>Ge.delete(t)),Ge.set(t,r)),r}))},d(q),q}async function N(e){let t=await j();if(!(e in t))throw Error(`[Module Federation] Module ${e} does not exist in container.`);return b&&await b(),p.pendingShareLoads&&await Promise.all(p.pendingShareLoads),t[e]().then(e=>()=>e)}export{N as get,M as init};
|
|
2
2
|
if (typeof document !== 'undefined' && document.head) {
|
|
3
3
|
try {
|
|
4
4
|
for (const __mfWarmupPath of ["assets/_virtual_mf-localSharedImportMap___mfe_internal__InfluxDBComponentsSet__mf_owner__1-Du-iBqZ7.js","assets/vite-preload-helper-BbbETgeG.js","assets/dist-CSJEdwl2.js","assets/utils-BFhwh2EC.js"]) {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "%s Werte von %s Datenpunkten gelöscht",
|
|
11
11
|
"influxdb_cleanup_failed": "%s Datenpunkte konnten nicht entfernt werden, siehe Log",
|
|
12
12
|
"influxdb_cleanup_nothing": "Es gibt nichts aufzuräumen.",
|
|
13
|
+
"influxdb_cleanup_selected": "Zum Löschen ausgewählt: %s Datenpunkte mit %s Werten. Entferne den Haken bei Datenpunkten, die du behalten willst.",
|
|
13
14
|
"influxdb_col_count": "Werte",
|
|
14
15
|
"influxdb_col_first": "Ältester Wert",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "Deleted %s values of %s datapoints",
|
|
11
11
|
"influxdb_cleanup_failed": "%s datapoints could not be removed, see the log",
|
|
12
12
|
"influxdb_cleanup_nothing": "There is nothing to clean up.",
|
|
13
|
+
"influxdb_cleanup_selected": "Selected for deletion: %s datapoints with %s values. Untick the datapoints you want to keep.",
|
|
13
14
|
"influxdb_col_count": "Values",
|
|
14
15
|
"influxdb_col_first": "Oldest value",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "Se eliminaron %s valores de %s puntos de datos",
|
|
11
11
|
"influxdb_cleanup_failed": "No se pudieron eliminar %s puntos de datos, consulte el registro",
|
|
12
12
|
"influxdb_cleanup_nothing": "No hay nada que limpiar.",
|
|
13
|
+
"influxdb_cleanup_selected": "Seleccionados para eliminar: %s puntos de datos con %s valores. Desmarque los puntos de datos que desea conservar.",
|
|
13
14
|
"influxdb_col_count": "Valores",
|
|
14
15
|
"influxdb_col_first": "Valor más antiguo",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "%s valeurs de %s points de données supprimées",
|
|
11
11
|
"influxdb_cleanup_failed": "%s points de données n'ont pas pu être supprimés, voir le journal",
|
|
12
12
|
"influxdb_cleanup_nothing": "Il n'y a rien à nettoyer.",
|
|
13
|
+
"influxdb_cleanup_selected": "Sélectionnés pour suppression : %s points de données avec %s valeurs. Décochez les points de données à conserver.",
|
|
13
14
|
"influxdb_col_count": "Valeurs",
|
|
14
15
|
"influxdb_col_first": "Valeur la plus ancienne",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "Eliminati %s valori di %s punti dati",
|
|
11
11
|
"influxdb_cleanup_failed": "Non è stato possibile rimuovere %s punti dati, vedere il log",
|
|
12
12
|
"influxdb_cleanup_nothing": "Non c'è nulla da pulire.",
|
|
13
|
+
"influxdb_cleanup_selected": "Selezionati per l'eliminazione: %s punti dati con %s valori. Deseleziona i punti dati che vuoi conservare.",
|
|
13
14
|
"influxdb_col_count": "Valori",
|
|
14
15
|
"influxdb_col_first": "Valore più vecchio",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "%s waarden van %s datapunten verwijderd",
|
|
11
11
|
"influxdb_cleanup_failed": "%s datapunten konden niet worden verwijderd, zie het log",
|
|
12
12
|
"influxdb_cleanup_nothing": "Er is niets op te ruimen.",
|
|
13
|
+
"influxdb_cleanup_selected": "Geselecteerd om te verwijderen: %s datapunten met %s waarden. Vink de datapunten uit die je wilt behouden.",
|
|
13
14
|
"influxdb_col_count": "Waarden",
|
|
14
15
|
"influxdb_col_first": "Oudste waarde",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "Usunięto %s wartości z %s punktów danych",
|
|
11
11
|
"influxdb_cleanup_failed": "Nie udało się usunąć %s punktów danych, zobacz log",
|
|
12
12
|
"influxdb_cleanup_nothing": "Nie ma nic do wyczyszczenia.",
|
|
13
|
+
"influxdb_cleanup_selected": "Wybrane do usunięcia: %s punktów danych z %s wartościami. Odznacz punkty danych, które chcesz zachować.",
|
|
13
14
|
"influxdb_col_count": "Wartości",
|
|
14
15
|
"influxdb_col_first": "Najstarsza wartość",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "Eliminados %s valores de %s pontos de dados",
|
|
11
11
|
"influxdb_cleanup_failed": "Não foi possível remover %s pontos de dados, consulte o registo",
|
|
12
12
|
"influxdb_cleanup_nothing": "Não há nada para limpar.",
|
|
13
|
+
"influxdb_cleanup_selected": "Selecionados para eliminação: %s pontos de dados com %s valores. Desmarque os pontos de dados que pretende manter.",
|
|
13
14
|
"influxdb_col_count": "Valores",
|
|
14
15
|
"influxdb_col_first": "Valor mais antigo",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "Удалено %s значений из %s точек данных",
|
|
11
11
|
"influxdb_cleanup_failed": "Не удалось удалить %s точек данных, см. журнал",
|
|
12
12
|
"influxdb_cleanup_nothing": "Очищать нечего.",
|
|
13
|
+
"influxdb_cleanup_selected": "Выбрано для удаления: %s точек данных с %s значениями. Снимите отметку с точек данных, которые хотите сохранить.",
|
|
13
14
|
"influxdb_col_count": "Значения",
|
|
14
15
|
"influxdb_col_first": "Самое старое значение",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "Видалено %s значень із %s точок даних",
|
|
11
11
|
"influxdb_cleanup_failed": "Не вдалося видалити %s точок даних, див. журнал",
|
|
12
12
|
"influxdb_cleanup_nothing": "Немає чого очищати.",
|
|
13
|
+
"influxdb_cleanup_selected": "Вибрано для видалення: %s точок даних із %s значеннями. Зніміть позначку з точок даних, які хочете зберегти.",
|
|
13
14
|
"influxdb_col_count": "Значення",
|
|
14
15
|
"influxdb_col_first": "Найстаріше значення",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"influxdb_cleanup_done": "已删除 %s 个值,来自 %s 个数据点",
|
|
11
11
|
"influxdb_cleanup_failed": "%s 个数据点无法删除,请查看日志",
|
|
12
12
|
"influxdb_cleanup_nothing": "没有需要清理的内容。",
|
|
13
|
+
"influxdb_cleanup_selected": "已选择删除:%s 个数据点,共 %s 个值。取消勾选要保留的数据点。",
|
|
13
14
|
"influxdb_col_count": "值数量",
|
|
14
15
|
"influxdb_col_first": "最早的值",
|
|
15
16
|
"influxdb_col_id": "ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"InfluxDBComponentsSet","name":"InfluxDBComponentsSet","metaData":{"name":"InfluxDBComponentsSet","type":"app","buildInfo":{"buildVersion":"1.0.0","buildName":"InfluxDBComponentsSet"},"remoteEntry":{"name":"customComponents.js","path":"","type":"module"},"types":{"path":"","name":"","zip":"@mf-types.zip","api":"@mf-types.d.ts"},"globalName":"InfluxDBComponentsSet","pluginVersion":"1.23.4","publicPath":"auto"},"shared":[{"id":"InfluxDBComponentsSet:@iobroker/gui-components","name":"@iobroker/gui-components","version":"10.3.10","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:@iobroker/json-config","name":"@iobroker/json-config","version":"10.1.2","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/lib-CZdKkrqv.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-DYmogjuK.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:@mui/icons-material","name":"@mui/icons-material","version":"9.5.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:@mui/material","name":"@mui/material","version":"9.5.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:react","name":"react","version":"19.3.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:react-dom","name":"react-dom","version":"19.3.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:react/jsx-runtime","name":"react/jsx-runtime","version":"19.3.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:react-dom/client","name":"react-dom/client","version":"19.3.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_2_dom_mf_1_client__prebuild__-DMyibbf8.js"],"sync":[]},"css":{"async":[],"sync":[]}}}],"remotes":[],"exposes":[{"id":"InfluxDBComponentsSet:Components","name":"Components","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare__shared-3YWGBSiP.js"],"sync":["assets/vite-preload-helper-BbbETgeG.js","assets/dist-CSJEdwl2.js","assets/helpers-DT5-3o-l.js","assets/utils-BFhwh2EC.js","assets/_virtual_mf-localSharedImportMap___mfe_internal__InfluxDBComponentsSet__mf_owner__1-Du-iBqZ7.js","assets/Components-
|
|
1
|
+
{"id":"InfluxDBComponentsSet","name":"InfluxDBComponentsSet","metaData":{"name":"InfluxDBComponentsSet","type":"app","buildInfo":{"buildVersion":"1.0.0","buildName":"InfluxDBComponentsSet"},"remoteEntry":{"name":"customComponents.js","path":"","type":"module"},"types":{"path":"","name":"","zip":"@mf-types.zip","api":"@mf-types.d.ts"},"globalName":"InfluxDBComponentsSet","pluginVersion":"1.23.4","publicPath":"auto"},"shared":[{"id":"InfluxDBComponentsSet:@iobroker/gui-components","name":"@iobroker/gui-components","version":"10.3.10","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:@iobroker/json-config","name":"@iobroker/json-config","version":"10.1.2","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/lib-CZdKkrqv.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-DYmogjuK.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:@mui/icons-material","name":"@mui/icons-material","version":"9.5.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:@mui/material","name":"@mui/material","version":"9.5.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:react","name":"react","version":"19.3.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:react-dom","name":"react-dom","version":"19.3.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CQqvo_Mn.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:react/jsx-runtime","name":"react/jsx-runtime","version":"19.3.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js"],"sync":[]},"css":{"async":[],"sync":[]}}},{"id":"InfluxDBComponentsSet:react-dom/client","name":"react-dom/client","version":"19.3.0","singleton":true,"requiredVersion":"*","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js","assets/iconLibraryData-B5fiyl1C.js","assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__prebuild__react_mf_2_dom_mf_1_client__prebuild__-DMyibbf8.js"],"sync":[]},"css":{"async":[],"sync":[]}}}],"remotes":[],"exposes":[{"id":"InfluxDBComponentsSet:Components","name":"Components","assets":{"js":{"async":["assets/_virtual_mf___mfe_internal__InfluxDBComponentsSet__mf_owner__175617253411979__loadShare__shared-3YWGBSiP.js"],"sync":["assets/vite-preload-helper-BbbETgeG.js","assets/dist-CSJEdwl2.js","assets/helpers-DT5-3o-l.js","assets/utils-BFhwh2EC.js","assets/_virtual_mf-localSharedImportMap___mfe_internal__InfluxDBComponentsSet__mf_owner__1-Du-iBqZ7.js","assets/Components-B4TwooZ9.js","assets/DataBrowser-D47Iap2M.js","assets/rolldown-runtime-Dd_uD5pT.js"]},"css":{"async":[],"sync":[]}},"path":"./Components"}]}
|
package/admin/i18n/de.json
CHANGED
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
"Confirmation required.": "Bestätigung erforderlich.",
|
|
27
27
|
"Counter": "Zähler",
|
|
28
28
|
"Custom retention duration (days)": "Benutzerdefinierte Aufbewahrungsdauer (Tage)",
|
|
29
|
+
"Wait for the database to store each value": "Auf das Speichern jedes Wertes durch die Datenbank warten",
|
|
30
|
+
"syncWrites help": "InfluxDB 3 speichert einen Wert etwa eine Sekunde nach dem Empfang. Aus: Einzelwerte werden sofort bestätigt (schnell), sind aber bis zu einer Sekunde später les- und dauerhaft. An: jeder Einzelwert wartet auf die Datenbank (sicherer, aber langsam, wenn Datenpunkte puffern auf 0 steht).",
|
|
29
31
|
"Custom tags": "Benutzerdefinierte Tags",
|
|
30
32
|
"Custom timeframe": "Benutzerdefinierter Zeitrahmen",
|
|
31
33
|
"DB Name": "DB Name",
|
package/admin/i18n/en.json
CHANGED
|
@@ -105,6 +105,8 @@
|
|
|
105
105
|
"retention": "Storage retention",
|
|
106
106
|
"use 0 to not buffer at all": "Use 0 to not buffer at all",
|
|
107
107
|
"usetags help": "For more information, please refer to the documentation: https://github.com/ioBroker/ioBroker.influxdb/blob/master/README.md#Store-metadata-information-as-tags-instead-of-fields",
|
|
108
|
+
"Wait for the database to store each value": "Wait for the database to store each value",
|
|
109
|
+
"syncWrites help": "InfluxDB 3 stores a value about a second after it is received. Off: single values are acknowledged at once (fast), but can be read and are durable up to a second later. On: every single value waits for the database (safer, but slow when Buffer Datapoints is 0).",
|
|
108
110
|
"Custom tags": "Custom tags",
|
|
109
111
|
"custom-tags help": "Additional InfluxDB tags written with every value of this datapoint. Changing them starts a new series in InfluxDB.",
|
|
110
112
|
"Tag name": "Tag name",
|
package/admin/i18n/es.json
CHANGED
|
@@ -118,5 +118,7 @@
|
|
|
118
118
|
"Only by first start": "Solo en el primer inicio",
|
|
119
119
|
"Auto-update Docker image": "Actualizar automáticamente la imagen de Docker",
|
|
120
120
|
"Plugins": "Complementos",
|
|
121
|
-
"Server root URL": "URL raíz del servidor"
|
|
121
|
+
"Server root URL": "URL raíz del servidor",
|
|
122
|
+
"Wait for the database to store each value": "Espere a que la base de datos almacene cada valor.",
|
|
123
|
+
"syncWrites help": "InfluxDB 3 almacena un valor aproximadamente un segundo después de recibirlo. Apagado: los valores individuales se reconocen de inmediato (rápido), pero se pueden leer y duran hasta un segundo después. Activado: cada valor espera la base de datos (más seguro, pero lento cuando los puntos de datos del búfer son 0)."
|
|
122
124
|
}
|
package/admin/i18n/fr.json
CHANGED
|
@@ -118,5 +118,7 @@
|
|
|
118
118
|
"Only by first start": "Uniquement au premier démarrage",
|
|
119
119
|
"Auto-update Docker image": "Mettre à jour automatiquement l'image Docker",
|
|
120
120
|
"Plugins": "Plugins",
|
|
121
|
-
"Server root URL": "URL racine du serveur"
|
|
121
|
+
"Server root URL": "URL racine du serveur",
|
|
122
|
+
"Wait for the database to store each value": "Attendez que la base de données stocke chaque valeur",
|
|
123
|
+
"syncWrites help": "InfluxDB 3 stocke une valeur environ une seconde après sa réception. Désactivé : les valeurs individuelles sont reconnues immédiatement (rapidement), mais peuvent être lues et sont durables jusqu'à une seconde plus tard. Activé : chaque valeur attend la base de données (plus sûre, mais plus lente lorsque Buffer Datapoints est 0)."
|
|
122
124
|
}
|
package/admin/i18n/it.json
CHANGED
|
@@ -118,5 +118,7 @@
|
|
|
118
118
|
"Only by first start": "Solo al primo avvio",
|
|
119
119
|
"Auto-update Docker image": "Aggiorna automaticamente l'immagine Docker",
|
|
120
120
|
"Plugins": "Plugin",
|
|
121
|
-
"Server root URL": "URL radice del server"
|
|
121
|
+
"Server root URL": "URL radice del server",
|
|
122
|
+
"Wait for the database to store each value": "Attendi che il database memorizzi ciascun valore",
|
|
123
|
+
"syncWrites help": "InfluxDB 3 memorizza un valore circa un secondo dopo la sua ricezione. Off: i singoli valori vengono riconosciuti contemporaneamente (veloce), ma possono essere letti e durano fino a un secondo dopo. On: ogni singolo valore attende il database (più sicuro, ma lento quando Buffer Datapoints è 0)."
|
|
122
124
|
}
|
package/admin/i18n/nl.json
CHANGED
|
@@ -118,5 +118,7 @@
|
|
|
118
118
|
"Only by first start": "Alleen bij de eerste start",
|
|
119
119
|
"Auto-update Docker image": "Docker-image automatisch bijwerken",
|
|
120
120
|
"Plugins": "Plug-ins",
|
|
121
|
-
"Server root URL": "Basis-URL van de server"
|
|
121
|
+
"Server root URL": "Basis-URL van de server",
|
|
122
|
+
"Wait for the database to store each value": "Wacht tot de database elke waarde heeft opgeslagen",
|
|
123
|
+
"syncWrites help": "InfluxDB 3 slaat een waarde op ongeveer een seconde nadat deze is ontvangen. Uit: afzonderlijke waarden worden in één keer bevestigd (snel), maar kunnen worden gelezen en zijn tot een seconde later houdbaar. Aan: elke afzonderlijke waarde wacht op de database (veiliger, maar langzamer wanneer Buffer Datapoints 0 is)."
|
|
122
124
|
}
|
package/admin/i18n/pl.json
CHANGED
|
@@ -118,5 +118,7 @@
|
|
|
118
118
|
"Only by first start": "Tylko przy pierwszym uruchomieniu",
|
|
119
119
|
"Auto-update Docker image": "Automatycznie aktualizuj obraz Docker",
|
|
120
120
|
"Plugins": "Wtyczki",
|
|
121
|
-
"Server root URL": "Główny adres URL serwera"
|
|
121
|
+
"Server root URL": "Główny adres URL serwera",
|
|
122
|
+
"Wait for the database to store each value": "Poczekaj, aż baza danych zapisze każdą wartość",
|
|
123
|
+
"syncWrites help": "InfluxDB 3 przechowuje wartość około sekundy po jej odebraniu. Wył.: pojedyncze wartości są potwierdzane natychmiast (szybko), ale można je odczytać i zachować trwałość do sekundy później. Włączone: każda pojedyncza wartość czeka na bazę danych (bezpieczniej, ale wolniej, gdy punkty danych bufora wynoszą 0)."
|
|
122
124
|
}
|
package/admin/i18n/pt.json
CHANGED
|
@@ -118,5 +118,7 @@
|
|
|
118
118
|
"Only by first start": "Apenas no primeiro início",
|
|
119
119
|
"Auto-update Docker image": "Atualizar automaticamente a imagem Docker",
|
|
120
120
|
"Plugins": "Plugins",
|
|
121
|
-
"Server root URL": "URL raiz do servidor"
|
|
121
|
+
"Server root URL": "URL raiz do servidor",
|
|
122
|
+
"Wait for the database to store each value": "Aguarde o banco de dados armazenar cada valor",
|
|
123
|
+
"syncWrites help": "O InfluxDB 3 armazena um valor cerca de um segundo após ser recebido. Desligado: valores únicos são reconhecidos imediatamente (rápido), mas podem ser lidos e duram até um segundo depois. Ativado: cada valor aguarda o banco de dados (mais seguro, mas lento quando Buffer Datapoints é 0)."
|
|
122
124
|
}
|
package/admin/i18n/ru.json
CHANGED
|
@@ -118,5 +118,7 @@
|
|
|
118
118
|
"Only by first start": "Только при первом запуске",
|
|
119
119
|
"Auto-update Docker image": "Автоматически обновлять образ Docker",
|
|
120
120
|
"Plugins": "Плагины",
|
|
121
|
-
"Server root URL": "Корневой URL сервера"
|
|
121
|
+
"Server root URL": "Корневой URL сервера",
|
|
122
|
+
"Wait for the database to store each value": "Подождите, пока база данных сохранит каждое значение.",
|
|
123
|
+
"syncWrites help": "InfluxDB 3 сохраняет значение примерно через секунду после его получения. Выкл.: отдельные значения подтверждаются сразу (быстро), но могут быть прочитаны и сохраняются до секунды позже. Включено: каждое отдельное значение ожидает базы данных (более безопасно, но медленно, когда точки данных буфера равны 0)."
|
|
122
124
|
}
|