iobroker.sql 4.2.0 → 4.3.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 +21 -10
- package/admin/custom/assets/Components-CWJJ3bu1.js +1 -0
- package/admin/custom/assets/DataBrowser-CXd6Wilm.js +1 -0
- package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__SqlComponentsSet__mf_owner__1-D9xu_nUa.js +1 -0
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D_KAxrKJ.js +1201 -0
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare__shared-CdBNI0v_.js +2 -0
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-CH3Bc0Pg.js +122 -0
- package/admin/custom/assets/{_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__173647931027197__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js → _virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__--SURtz9t.js} +1 -1
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__prebuild__react_mf_2_dom_mf_1_client__prebuild__-DKp49xnK.js +9 -0
- package/admin/custom/assets/{dist-CzitsFi7.js → dist-B3E7IYuQ.js} +1 -1
- package/admin/custom/assets/helpers-DE61bb74.js +1 -0
- package/admin/custom/assets/hostInit-DI6V2HBN.js +1 -0
- package/admin/custom/assets/{index-D6PAQQ9J.js → index-DVNkzy1M.js} +1 -1
- package/admin/custom/assets/{lib-CbSOBh3z.js → lib-3uQoRWeQ.js} +2 -2
- package/admin/custom/assets/{mf-entry-bootstrap-0-e018258d.js → mf-entry-bootstrap-0-3e3d8b70.js} +3 -3
- package/admin/custom/assets/{pendingShares-yWRueDAR.js → pendingShares-Cg-jucDv.js} +2 -2
- package/admin/custom/assets/prod-m5pRY8Jx.js +15 -0
- package/admin/custom/assets/rolldown-runtime-COiEfhsA.js +1 -0
- package/admin/custom/assets/utils-Bi7ATSfV.js +4 -0
- package/admin/custom/assets/vite-preload-helper-BbbETgeG.js +1 -0
- package/admin/custom/customComponents.js +2 -2
- package/admin/custom/mf-manifest.json +1 -1
- package/admin/jsonConfig.json +174 -52
- package/admin/jsonCustom.json +106 -27
- package/build/lib/errors.js +52 -0
- package/build/lib/errors.js.map +1 -1
- package/build/lib/mssql.js +22 -6
- package/build/lib/mssql.js.map +1 -1
- package/build/lib/mysql.js +20 -5
- package/build/lib/mysql.js.map +1 -1
- package/build/lib/postgresql.js +8 -3
- package/build/lib/postgresql.js.map +1 -1
- package/build/lib/sql-client.js +23 -0
- package/build/lib/sql-client.js.map +1 -1
- package/build/lib/sqlite.js +8 -3
- package/build/lib/sqlite.js.map +1 -1
- package/build/lib/values.js +15 -0
- package/build/lib/values.js.map +1 -1
- package/build/main.js +50 -17
- package/build/main.js.map +1 -1
- package/io-package.json +34 -28
- package/package.json +5 -5
- package/admin/custom/assets/Components-CYBqz3DR.js +0 -1
- package/admin/custom/assets/DataBrowser-CQWCId83.js +0 -1
- package/admin/custom/assets/_virtual_mf-localSharedImportMap___mfe_internal__SqlComponentsSet__mf_owner__1-BhenO-eY.js +0 -1
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__173647931027197__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-BXkVrp-h.js +0 -1217
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__173647931027197__loadShare__shared-D7KMOV5W.js +0 -2
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__173647931027197__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-CUnqgVSc.js +0 -122
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__173647931027197__prebuild__react_mf_2_dom_mf_1_client__prebuild__-YkkLtJg3.js +0 -9
- package/admin/custom/assets/helpers-BZgjFQNf.js +0 -1
- package/admin/custom/assets/hostInit-DIOUH9oj.js +0 -1
- package/admin/custom/assets/rolldown-runtime-Dd_uD5pT.js +0 -1
- package/admin/custom/assets/utils-DUKzLJUz.js +0 -4
- package/admin/custom/assets/vite-preload-helper-DjNwdemH.js +0 -1
package/README.md
CHANGED
|
@@ -62,12 +62,11 @@ SQLite DB must not be installed extra. It is just a file on disk, but to install
|
|
|
62
62
|
sudo apt-get install build-essential
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
For windows install node.js with the "Automatically install the necessary tools..."-option and then
|
|
65
|
+
For windows install node.js with the "Automatically install the necessary tools..."-option and then rebuild the native SQLite module, e.g:
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
cd /opt/iobroker
|
|
69
68
|
iobroker stop sql
|
|
70
|
-
|
|
69
|
+
iobroker rebuild sqlite3
|
|
71
70
|
iobroker start sql
|
|
72
71
|
```
|
|
73
72
|
|
|
@@ -620,6 +619,25 @@ sendTo('sql.0', 'getEnabledDPs', {}, function (result) {
|
|
|
620
619
|
-->
|
|
621
620
|
|
|
622
621
|
## Changelog
|
|
622
|
+
### 4.3.0 (2026-10-29)
|
|
623
|
+
* (@GermanBluefox) `getHistory` accepts `intervalBorders`: the client can send the borders of the intervals itself, e.g. the local days of a chart. With `count` or `step` every interval after a switch of the daylight saving time ended an hour away from the midnight, so a value written at 23:59:59 was shown on the next day (ioBroker/ioBroker.echarts#1311)
|
|
624
|
+
* (@Schimi1983) Fixed every write failing with "Can't add new command when connection is in closed state" until a restart: a connection the server closed while a statement was running was handed out again, because mysql2 reports that only to the statement and not as a connection error. Such a connection is also no longer handed to a write that waits for a free connection, and the reconnect is logged as a warning in this case too (#587)
|
|
625
|
+
* (@Schimi1983) Fixed "Record changes only" storing every string value again: the reference value was overwritten with the SQL literal, or with the converted value when a storage type is set (#587)
|
|
626
|
+
* (@Schimi1983) "Reset DB" no longer drops the whole database when "Do not create database" is set, only the adapter's tables. MSSQL: `DBCC FREEPROCCACHE` is then skipped too, as it needs server rights (#587)
|
|
627
|
+
* (@Schimi1983) "Ignore values below/above" now also works with the limit 0 (users who set 0 now get the filter they configured) and accepts a decimal comma (#587)
|
|
628
|
+
* (@Schimi1983) PostgreSQL: the password is no longer printed in the connection log (#587)
|
|
629
|
+
* (@Schimi1983) Fixed a crash when a datapoint is disabled while its database ID is being looked up (#587)
|
|
630
|
+
* (@Schimi1983) Disabling the logging of a datapoint with an alias ID works again (#587)
|
|
631
|
+
* (@Schimi1983) Admin: every input has size attributes for all screen widths, "Do not create database" no longer grows wider on large screens (#583)
|
|
632
|
+
* (@Schimi1983) Added the Ukrainian title and description, admin >= 7.6.20 is required (#583)
|
|
633
|
+
* (@Schimi1983) `password` and `dockerMysql.rootPassword` are no longer readable by other adapters (`protectedNative`, #583). Note: a script that reads `system.adapter.sql.0` with `getObject` and writes it back with `setObject` now deletes both passwords; use `extendObject` instead
|
|
634
|
+
* (@Schimi1983) README: the reinstall hint for SQLite uses `iobroker rebuild sqlite3` instead of `npm install` (#583)
|
|
635
|
+
* (@Schimi1983) CI: the job with the unit and SQLite tests is named `adapter-tests`, as the repository checker expects, and also runs on Node.js 26 (#583)
|
|
636
|
+
* (@GermanBluefox) Updated packages, `@iobroker/aggregate` 1.1.0
|
|
637
|
+
|
|
638
|
+
### 4.2.1 (2026-10-13)
|
|
639
|
+
* (@GermanBluefox) The error of a failed save or delete in the data browser is no longer hidden by the reload of the table
|
|
640
|
+
|
|
623
641
|
### 4.2.0 (2026-10-03)
|
|
624
642
|
* (@GermanBluefox) `npm run build:ts` no longer needs the optional `mysql2` and `sqlite3` drivers to be installed
|
|
625
643
|
* (@GermanBluefox) Fixed buffered values being lost when the adapter stops, and unload no longer hangs when there is nothing else to write (#577)
|
|
@@ -645,13 +663,6 @@ sendTo('sql.0', 'getEnabledDPs', {}, function (result) {
|
|
|
645
663
|
### 4.1.5 (2026-08-28)
|
|
646
664
|
* (@GermanBluefox) Updated packages
|
|
647
665
|
|
|
648
|
-
### 4.1.4 (2026-08-27)
|
|
649
|
-
* (@GermanBluefox) Connection errors no longer start with the useless class name `AggregateError`: the log now shows only the real reason, e.g. `connect ECONNREFUSED 127.0.0.1:3306; connect ECONNREFUSED ::1:3306`
|
|
650
|
-
|
|
651
|
-
### 4.1.3 (2026-08-27)
|
|
652
|
-
* (@GermanBluefox) Connection errors are logged with the real reason again: Node reports a failed TCP connect as an `AggregateError` whose own message is empty, so the log only showed the word `AggregateError` instead of e.g. `connect ECONNREFUSED 127.0.0.1:3306`
|
|
653
|
-
* (@GermanBluefox) The reconnection loop no longer repeats the same connection error every 30 seconds: the first occurrence is logged as error, repetitions go to debug and once an hour a reminder is logged
|
|
654
|
-
|
|
655
666
|
[Older changelogs can be found there](CHANGELOG_OLD.md)
|
|
656
667
|
|
|
657
668
|
## License
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{An as e,Bn as t,En as n,Gt as r,H as i,Jr as a,Jt as o,Kt as s,L as c,O as l,On as u,Ot as d,Tn as f,Ut as p,Wt as m,Xr as h,Yr as g,Yt as _,Zt as v,an as y,cn as b,en as x,f as S,fn as C,gn as w,hn as T,mn as E,pn as D,qt as O,rn as k,sn as A,tn as j,xn as M}from"./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D_KAxrKJ.js";import{t as N}from"./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare__shared-CdBNI0v_.js";import{t as P}from"./DataBrowser-CXd6Wilm.js";function F(e){if(e==null)return`—`;let t=[`B`,`KiB`,`MiB`,`GiB`,`TiB`],n=e,r=0;for(;n>=1024&&r<t.length-1;)n/=1024,r++;return`${r===0?n:n.toFixed(1)} ${t[r]}`}function I(e){return e?new Date(e).toLocaleString():`—`}var L={active:`success`,loggingDisabled:`warning`,objectMissing:`error`},R={active:`sql_status_active`,loggingDisabled:`sql_status_disabled`,objectMissing:`sql_status_missing`},z={DataBrowser:P,Statistics:class extends N{constructor(e){super(e),Object.assign(this.state,{stats:null,summary:null,loading:!1,errorText:``,filter:``,sortField:`count`,sortAsc:!1,preview:null,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=await this.sendToInstance(`getDpStatistics`,{});this.setState({stats:(e==null?void 0:e.result)||[],summary:(e==null?void 0:e.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}});this.setState({loading:!1,includeDisabled:e,preview:{datapoints:t.datapoints,rows:t.rows,estimatedBytes:t.estimatedBytes,items:t.items||[]}})}catch(e){this.setState({loading:!1,errorText:e.message})}}async confirmCleanup(){this.setState({deleting:!0,errorText:``});try{let e=await this.sendToInstance(`cleanupOrphaned`,{scope:{objectMissing:!0,loggingDisabled:this.state.includeDisabled},confirm:!0});this.setState({deleting:!1,preview:null,doneText:S.t(`sql_cleanup_done`,e.deleted.rows,e.deleted.datapoints)},()=>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 g(_,{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:S.t(t)})}renderSummary(){let{summary:e}=this.state;if(!e)return null;let t=e.byStatus.objectMissing,n=e.byStatus.loggingDisabled;return h(k,{sx:{display:`flex`,gap:2,flexWrap:`wrap`,alignItems:`center`,mb:1},children:[g(j,{variant:`body2`,children:S.t(`sql_summary_total`,e.datapoints,e.rows,F(e.estimatedBytes))}),!!t.datapoints&&g(b,{color:`error`,size:`small`,label:S.t(`sql_summary_missing`,t.datapoints,t.rows)}),!!n.datapoints&&g(b,{color:`warning`,size:`small`,label:S.t(`sql_summary_disabled`,n.datapoints,n.rows)})]})}renderConfirmDialog(){let{preview:e,includeDisabled:n,deleting:u}=this.state;return e?h(C,{open:!0,onClose:()=>!u&&this.setState({preview:null}),maxWidth:`md`,fullWidth:!0,children:[g(w,{children:S.t(`sql_cleanup_confirm_title`)}),g(E,{children:e.datapoints?h(a,{children:[g(T,{sx:{mb:1},children:S.t(`sql_cleanup_confirm_text`,e.datapoints,e.rows,F(e.estimatedBytes))}),g(s,{component:t,sx:{maxHeight:320},children:h(p,{size:`small`,stickyHeader:!0,children:[g(O,{children:h(o,{children:[g(r,{children:S.t(`sql_col_id`)}),g(r,{children:S.t(`sql_col_status`)}),g(r,{align:`right`,children:S.t(`sql_col_count`)}),g(r,{align:`right`,children:S.t(`sql_col_size`)})]})}),g(m,{children:e.items.map(e=>h(o,{children:[g(r,{sx:{wordBreak:`break-all`},children:e.id}),g(r,{children:g(b,{size:`small`,color:L[e.status],label:S.t(R[e.status])})}),g(r,{align:`right`,children:e.count.toLocaleString()}),g(r,{align:`right`,children:F(e.estimatedBytes)})]},e.index))})]})}),n&&g(f,{severity:`warning`,icon:g(l,{}),sx:{mt:1},children:S.t(`sql_cleanup_disabled_warning`)})]}):g(T,{children:S.t(`sql_cleanup_nothing`)})}),h(D,{children:[g(y,{onClick:()=>this.setState({preview:null}),disabled:u,startIcon:g(c,{}),children:S.t(`sql_cancel`)}),g(y,{variant:`contained`,color:`error`,disabled:u||!e.datapoints,startIcon:g(i,{}),onClick:()=>void this.confirmCleanup(),children:S.t(`sql_cleanup_delete`)})]})]}):null}renderItem(){if(!this.props.alive)return g(f,{severity:`info`,children:S.t(`sql_instance_not_running`)});let a=this.sortedStats();return h(k,{sx:{width:`100%`},children:[h(k,{sx:{display:`flex`,gap:1,alignItems:`center`,flexWrap:`wrap`,mb:1},children:[g(v,{variant:`standard`,size:`small`,value:this.state.filter,placeholder:S.t(`sql_filter`),onChange:e=>this.setState({filter:e.target.value}),slotProps:{input:{endAdornment:this.state.filter?g(u,{position:`end`,children:g(n,{size:`small`,onClick:()=>this.setState({filter:``}),children:g(c,{})})}):null}}}),g(x,{title:S.t(`sql_reload`),children:g(n,{onClick:()=>void this.load(),disabled:this.state.loading,children:g(d,{})})}),g(k,{sx:{flexGrow:1}}),g(M,{control:g(A,{checked:this.state.includeDisabled,onChange:e=>this.setState({includeDisabled:e.target.checked})}),label:S.t(`sql_include_disabled`)}),g(y,{variant:`contained`,color:`error`,startIcon:g(i,{}),disabled:this.state.loading,onClick:()=>void this.requestPreview(this.state.includeDisabled),children:S.t(`sql_cleanup`)})]}),this.state.loading&&g(e,{}),!!this.state.errorText&&g(f,{severity:`error`,sx:{mb:1},onClose:()=>this.setState({errorText:``}),children:this.state.errorText}),!!this.state.doneText&&g(f,{severity:`success`,sx:{mb:1},onClose:()=>this.setState({doneText:``}),children:this.state.doneText}),this.renderSummary(),g(s,{component:t,children:h(p,{size:`small`,stickyHeader:!0,children:[g(O,{children:h(o,{children:[g(r,{children:this.renderSortLabel(`id`,`sql_col_id`)}),g(r,{children:S.t(`sql_col_type`)}),g(r,{children:this.renderSortLabel(`status`,`sql_col_status`)}),g(r,{align:`right`,children:this.renderSortLabel(`count`,`sql_col_count`)}),g(r,{align:`right`,children:this.renderSortLabel(`estimatedBytes`,`sql_col_size`)}),g(r,{children:S.t(`sql_col_first`)}),g(r,{children:this.renderSortLabel(`lastTs`,`sql_col_last`)})]})}),h(m,{children:[a.map(e=>h(o,{hover:!0,children:[g(r,{sx:{wordBreak:`break-all`},children:e.id}),g(r,{children:e.type||`—`}),g(r,{children:g(b,{size:`small`,color:L[e.status],label:S.t(R[e.status])})}),g(r,{align:`right`,children:e.count.toLocaleString()}),g(r,{align:`right`,children:F(e.estimatedBytes)}),g(r,{children:I(e.firstTs)}),g(r,{children:I(e.lastTs)})]},e.index)),!a.length&&!this.state.loading&&g(o,{children:g(r,{colSpan:7,children:g(j,{variant:`body2`,sx:{opacity:.7},children:S.t(this.state.filter?`sql_no_data`:`sql_no_datapoints`)})})})]})]})}),g(j,{variant:`caption`,sx:{display:`block`,mt:1,opacity:.7},children:S.t(`sql_size_is_estimate`)}),this.renderConfirmDialog()]})}}};export{z as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{An as e,Bn as t,En as n,F as r,Gt as i,I as a,Jr as o,Jt as s,L as c,Ln as l,Mn as u,On as d,Ot as f,Pn as p,Pt as m,Tn as h,Un as g,Ut as _,V as v,W as y,Wt as b,Xr as x,Yr as S,Zt as C,an as w,b as T,en as E,f as D,fn as O,ft as k,gn as A,gt as j,jn as M,jt as N,mn as P,pn as F,qt as I,rn as L,sn as R,tn as z}from"./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D_KAxrKJ.js";import{t as B}from"./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare__shared-CdBNI0v_.js";var V={root:{display:`flex`,width:`100%`,height:`calc(100vh - 220px)`,minHeight:400,gap:8},list:{width:320,minWidth:220,display:`flex`,flexDirection:`column`,overflow:`hidden`},filterField:{padding:8,flexShrink:0},listItems:{overflowY:`auto`,flexGrow:1,minHeight:0},data:{flexGrow:1,display:`flex`,flexDirection:`column`,overflow:`hidden`},toolbar:{display:`flex`,alignItems:`center`,flexWrap:`nowrap`,gap:8,padding:8,overflow:`hidden`,flexShrink:0},title:{display:`flex`,flexDirection:`column`,flexGrow:1,minWidth:60,overflow:`hidden`},titleId:{fontWeight:`bold`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},titleName:{fontSize:`smaller`,opacity:.7,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},dateField:{width:200,flexShrink:0},table:{overflowY:`auto`,flexGrow:1,minHeight:0},nowrap:{whiteSpace:`nowrap`},pageInfo:{whiteSpace:`nowrap`,flexShrink:0},grow:{flexGrow:1}},H=e=>({"& input::-webkit-calendar-picker-indicator":{filter:e.palette.mode===`dark`?`invert(1)`:`none`,cursor:`pointer`}});function U(e){let t=new Date(e);if(isNaN(t.getTime()))return String(e);let n=(e,t)=>e.toString().padStart(t||2,`0`);return`${t.getFullYear()}-${n(t.getMonth()+1)}-${n(t.getDate())} ${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}.${n(t.getMilliseconds(),3)}`}function W(e){let t=e=>e.toString().padStart(2,`0`);return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}`}function G(e){let t=e=>e.toString().padStart(2,`0`);return`${t(e.getHours())}:${t(e.getMinutes())}:${t(e.getSeconds())}`}function K(e){if(!e)return;let t=new Date(e).getTime();return isNaN(t)?void 0:t}var q=class extends B{constructor(e){super(e),this.state={...this.state,points:null,names:{},filter:``,selected:null,rows:[],total:0,page:0,rowsPerPage:100,sort:`desc`,start:``,end:``,checked:[],loadingPoints:!1,loadingRows:!1,errorText:``,entryDialog:null,confirmText:``,confirmAction:null}}async componentDidMount(){await super.componentDidMount(),this.props.alive&&await this.loadDatapoints()}async componentDidUpdate(e){this.props.alive&&!e.alive&&!this.state.points&&await this.loadDatapoints()}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 loadDatapoints(){this.setState({loadingPoints:!0,errorText:``});try{let e=await this.sendToInstance(`getDatapoints`,{}),t=(e==null?void 0:e.result)||[];this.setState({points:t,loadingPoints:!1},()=>void this.loadNames(t))}catch(e){this.setState({loadingPoints:!1,points:[],errorText:e.message})}}async loadNames(e){if(e.length)try{let t=await this.props.oContext.socket.getObjectsById(e.map(e=>e.id)),n={};for(let r of e){let e=t==null?void 0:t[r.id],i=e?T.getObjectNameFromObj(e,null,{language:D.getLanguage()}):``;i&&i!==r.id&&(n[r.id]=i)}this.setState({names:n})}catch(e){console.warn(`Cannot read the names of the objects: ${e.message}`)}}async loadRows(e){let t=this.state.selected;if(t){this.setState(t=>({loadingRows:!0,errorText:e?t.errorText:``}));try{let e=await this.sendToInstance(`getRawEntries`,{id:t.id,start:K(this.state.start),end:K(this.state.end),limit:this.state.rowsPerPage,offset:this.state.page*this.state.rowsPerPage,sort:this.state.sort});this.setState({rows:(e==null?void 0:e.result)||[],total:(e==null?void 0:e.total)||0,checked:[],loadingRows:!1})}catch(e){this.setState({rows:[],total:0,loadingRows:!1,errorText:e.message})}}}selectDatapoint(e){this.setState({selected:e,page:0,rows:[],total:0,checked:[]},()=>void this.loadRows())}parseValue(e){var t,n;if(e===``)return null;if(((t=this.state.selected)==null?void 0:t.type)===`Number`){let t=parseFloat(e.replace(`,`,`.`));return isNaN(t)?0:t}return((n=this.state.selected)==null?void 0:n.type)===`Boolean`?e===`true`||e===`1`:e}async saveEntry(){let e=this.state.entryDialog,t=this.state.selected;if(!e||!t)return;let n=parseInt(e.ts,10);if(!n){this.setState({errorText:`Invalid timestamp`});return}let r={ts:n,val:this.parseValue(e.val),ack:e.ack,q:parseInt(e.q,10)||0};this.setState({entryDialog:null,loadingRows:!0});try{e.original?await this.sendToInstance(`update`,{id:t.id,state:r}):await this.sendToInstance(`storeState`,{id:t.id,state:r})}catch(e){this.setState({errorText:e.message})}await this.loadRows(!0)}async deleteEntries(e){let t=this.state.selected;if(t&&e.length){this.setState({loadingRows:!0});try{e.length===1?await this.sendToInstance(`delete`,{id:t.id,ts:e[0]}):await this.sendToInstance(`delete`,e.map(e=>({id:t.id,ts:e})))}catch(e){this.setState({errorText:e.message})}await this.loadRows(!0)}}renderDatapoints(){let r=this.state.filter.toLowerCase(),i=(this.state.points||[]).filter(e=>{var t;return!r||e.id.toLowerCase().includes(r)||((t=this.state.names[e.id])==null?void 0:t.toLowerCase().includes(r))});return x(t,{style:V.list,children:[S(C,{variant:`standard`,style:V.filterField,value:this.state.filter,onChange:e=>this.setState({filter:e.target.value}),placeholder:D.t(`sql_filter`),slotProps:{input:{startAdornment:S(d,{position:`start`,children:S(N,{})}),endAdornment:this.state.filter?S(d,{position:`end`,children:S(n,{size:`small`,onClick:()=>this.setState({filter:``}),children:S(c,{})})}):null}}}),this.state.loadingPoints?S(e,{}):null,x(M,{dense:!0,style:V.listItems,children:[i.map(e=>{var t;return S(u,{selected:((t=this.state.selected)==null?void 0:t.id)===e.id,onClick:()=>this.selectDatapoint(e),sx:e=>({"&.Mui-selected":{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText,"& .MuiListItemText-secondary":{color:e.palette.primary.contrastText,opacity:.8},"&:hover":{backgroundColor:e.palette.primary.dark}}}),children:S(p,{primary:e.id,secondary:x(o,{children:[this.state.names[e.id]?S(`b`,{children:this.state.names[e.id]}):null,this.state.names[e.id]?` `:``,`[${e.type||`?`}]`]}),slotProps:{primary:{style:{wordBreak:`break-all`}},secondary:{style:{wordBreak:`break-word`}}}})},e.id)}),!i.length&&!this.state.loadingPoints?S(z,{style:{padding:16,opacity:.7},children:D.t(this.state.filter?`sql_no_data`:`sql_no_datapoints`)}):null]})]})}renderToolbar(){var e,t;let{page:i,rowsPerPage:o,total:s}=this.state,c=s?i*o+1:0,u=Math.min((i+1)*o,s);return x(`div`,{style:V.toolbar,children:[x(`div`,{style:V.title,children:[S(E,{title:((e=this.state.selected)==null?void 0:e.id)||``,children:S(`span`,{style:V.titleId,children:(t=this.state.selected)==null?void 0:t.id})}),this.state.selected&&this.state.names[this.state.selected.id]?S(`span`,{style:V.titleName,children:this.state.names[this.state.selected.id]}):null]}),S(E,{title:D.t(`sql_range_start`),children:S(C,{variant:`outlined`,size:`small`,style:V.dateField,sx:H,type:`datetime-local`,value:this.state.start,onChange:e=>this.setState({start:e.target.value,page:0},()=>void this.loadRows())})}),S(E,{title:D.t(`sql_range_end`),children:S(C,{variant:`outlined`,size:`small`,style:V.dateField,sx:H,type:`datetime-local`,value:this.state.end,onChange:e=>this.setState({end:e.target.value,page:0},()=>void this.loadRows())})}),S(g,{variant:`outlined`,size:`small`,value:o,onChange:e=>this.setState({rowsPerPage:Number(e.target.value),page:0},()=>void this.loadRows()),children:[50,100,500,1e3].map(e=>S(l,{value:e,children:e},e))}),S(E,{title:D.t(this.state.sort===`desc`?`sql_sort_desc`:`sql_sort_asc`),children:S(n,{size:`small`,onClick:()=>this.setState({sort:this.state.sort===`desc`?`asc`:`desc`,page:0},()=>void this.loadRows()),children:this.state.sort===`desc`?S(k,{}):S(j,{})})}),S(z,{style:V.pageInfo,children:D.t(`sql_page`,c.toString(),u.toString(),s.toString())}),S(n,{size:`small`,disabled:!i,onClick:()=>this.setState({page:i-1},()=>void this.loadRows()),children:S(r,{})}),S(n,{size:`small`,disabled:u>=s,onClick:()=>this.setState({page:i+1},()=>void this.loadRows()),children:S(a,{})}),S(E,{title:D.t(`sql_refresh`),children:S(n,{size:`small`,onClick:()=>void this.loadRows(),children:S(f,{})})}),S(E,{title:D.t(`sql_add`),children:S(n,{size:`small`,color:`primary`,onClick:()=>this.setState({entryDialog:{original:null,ts:Date.now().toString(),val:``,ack:!0,q:`0`}}),children:S(m,{})})}),S(E,{title:D.t(`sql_delete_selected`),children:S(`span`,{children:S(n,{size:`small`,disabled:!this.state.checked.length,onClick:()=>this.setState({confirmText:D.t(`sql_confirm_delete`,this.state.checked.length.toString()),confirmAction:()=>void this.deleteEntries(this.state.checked)}),children:S(v,{})})})})]})}renderTable(){return x(`div`,{style:V.table,children:[x(_,{size:`small`,stickyHeader:!0,children:[S(I,{children:x(s,{children:[S(i,{padding:`checkbox`,children:S(R,{indeterminate:!!this.state.checked.length&&this.state.checked.length<this.state.rows.length,checked:!!this.state.rows.length&&this.state.checked.length===this.state.rows.length,onChange:e=>this.setState({checked:e.target.checked?this.state.rows.map(e=>e.ts):[]})})}),S(i,{children:D.t(`sql_time`)}),S(i,{children:D.t(`sql_value`)}),S(i,{children:D.t(`sql_ack`)}),S(i,{children:D.t(`sql_quality`)}),S(i,{children:D.t(`sql_from`)}),S(i,{})]})}),S(b,{children:this.state.rows.map(e=>x(s,{hover:!0,children:[S(i,{padding:`checkbox`,children:S(R,{checked:this.state.checked.includes(e.ts),onChange:t=>this.setState({checked:t.target.checked?[...this.state.checked,e.ts]:this.state.checked.filter(t=>t!==e.ts)})})}),S(i,{style:V.nowrap,children:S(E,{title:e.ts.toString(),children:S(`span`,{children:U(e.ts)})})}),S(i,{style:{wordBreak:`break-all`},children:e.val===null||e.val===void 0?S(`span`,{style:{opacity:.5},children:`null`}):e.val.toString()}),S(i,{children:e.ack?`✓`:``}),S(i,{children:e.q??``}),S(i,{style:{opacity:.7},children:e.from||``}),x(i,{padding:`none`,children:[S(n,{size:`small`,onClick:()=>this.setState({entryDialog:{original:e,ts:e.ts.toString(),val:e.val===null||e.val===void 0?``:e.val.toString(),ack:!!e.ack,q:(e.q??0).toString()}}),children:S(y,{fontSize:`small`})}),S(n,{size:`small`,onClick:()=>this.setState({confirmText:D.t(`sql_confirm_delete_one`,U(e.ts)),confirmAction:()=>void this.deleteEntries([e.ts])}),children:S(v,{fontSize:`small`})})]})]},e.ts))})]}),!this.state.rows.length&&!this.state.loadingRows?S(z,{style:{padding:16,opacity:.7},children:D.t(`sql_no_data`)}):null]})}renderTimeSelector(e){let t=parseInt(e.ts,10),n=!isNaN(t),r=!!e.original,i=(r,i)=>{let a=new Date(n?t:Date.now()),o=W(a),s=G(a),c=a.getMilliseconds();if(r===`date`){if(!i)return;o=i}else if(r===`time`){if(!i)return;s=i.length===5?`${i}:00`:i}else c=Math.min(999,Math.max(0,parseInt(i,10)||0));let l=new Date(`${o}T${s}.${c.toString().padStart(3,`0`)}`).getTime();isNaN(l)||this.setState({entryDialog:{...e,ts:l.toString()}})};return x(`div`,{children:[x(`div`,{style:{display:`flex`,gap:8,alignItems:`center`},children:[S(C,{label:D.t(`sql_date`),type:`date`,value:n?W(new Date(t)):``,disabled:r,style:{flexGrow:1},sx:H,slotProps:{inputLabel:{shrink:!0}},onChange:e=>i(`date`,e.target.value)}),S(C,{label:D.t(`sql_time`),type:`time`,value:n?G(new Date(t)):``,disabled:r,style:{flexGrow:1},sx:H,slotProps:{inputLabel:{shrink:!0},htmlInput:{step:1}},onChange:e=>i(`time`,e.target.value)}),S(C,{label:D.t(`sql_ms`),type:`number`,value:n?new Date(t).getMilliseconds():``,disabled:r,style:{width:100},slotProps:{inputLabel:{shrink:!0},htmlInput:{min:0,max:999}},onChange:e=>i(`ms`,e.target.value)})]}),S(z,{variant:`caption`,style:{opacity:.7},children:n?`${U(t)} · ${t}`:``})]})}renderEntryDialog(){var e;let t=this.state.entryDialog;return t?x(O,{open:!0,maxWidth:`sm`,fullWidth:!0,onClose:()=>this.setState({entryDialog:null}),children:[S(A,{children:D.t(t.original?`sql_save`:`sql_add`)}),x(P,{style:{display:`flex`,flexDirection:`column`,gap:16,paddingTop:8},children:[this.renderTimeSelector(t),((e=this.state.selected)==null?void 0:e.type)===`Boolean`?x(g,{value:t.val===`true`||t.val===`1`?`true`:`false`,onChange:e=>this.setState({entryDialog:{...t,val:e.target.value}}),children:[S(l,{value:`true`,children:`true`}),S(l,{value:`false`,children:`false`})]}):S(C,{label:D.t(`sql_value`),value:t.val,autoFocus:!0,onChange:e=>this.setState({entryDialog:{...t,val:e.target.value}})}),x(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[S(R,{checked:t.ack,onChange:e=>this.setState({entryDialog:{...t,ack:e.target.checked}})}),S(z,{children:D.t(`sql_ack`)}),S(C,{label:D.t(`sql_quality`),value:t.q,type:`number`,onChange:e=>this.setState({entryDialog:{...t,q:e.target.value}})})]})]}),x(F,{children:[S(w,{variant:`contained`,color:`primary`,onClick:()=>void this.saveEntry(),children:D.t(`sql_save`)}),S(w,{variant:`outlined`,onClick:()=>this.setState({entryDialog:null}),children:D.t(`sql_cancel`)})]})]}):null}renderConfirmDialog(){return this.state.confirmAction?x(O,{open:!0,onClose:()=>this.setState({confirmText:``,confirmAction:null}),children:[S(A,{children:D.t(`sql_delete`)}),S(P,{children:this.state.confirmText}),x(F,{children:[S(w,{variant:`contained`,color:`error`,startIcon:S(v,{}),onClick:()=>{let e=this.state.confirmAction;this.setState({confirmText:``,confirmAction:null},()=>e==null?void 0:e())},children:D.t(`sql_delete`)}),S(w,{variant:`outlined`,onClick:()=>this.setState({confirmText:``,confirmAction:null}),children:D.t(`sql_cancel`)})]})]}):null}renderItem(){return this.props.alive?x(L,{style:V.root,children:[this.renderDatapoints(),x(t,{style:V.data,children:[this.state.errorText?S(h,{severity:`error`,style:{flexShrink:0},onClose:()=>this.setState({errorText:``}),children:this.state.errorText}):null,this.state.selected?x(o,{children:[this.renderToolbar(),this.state.loadingRows?S(e,{}):null,this.renderTable()]}):S(z,{style:{padding:16,opacity:.7},children:D.t(`sql_select_datapoint`)})]}),this.renderEntryDialog(),this.renderConfirmDialog()]}):S(h,{severity:`info`,children:D.t(`sql_instance_not_alive`)})}};export{q as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./vite-preload-helper-BbbETgeG.js";import"./dist-B3E7IYuQ.js";var t=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=(e,t,n,r)=>{var i,a;let o=(i=globalThis.__mf_module_cache__)==null?void 0:i.share,s=t.map(e=>o==null?void 0:o[e]).find(e=>e!==void 0),c=e=>{let t=String(e||``).split(/[^0-9]+/).map(Number),r=String(n||``).split(/[^0-9]+/).map(Number);for(let e=0;e<Math.max(t.length,r.length);e++){if((t[e]||0)<(r[e]||0))return!0;if((t[e]||0)>(r[e]||0))return!1}return!1};if(!c((s==null?void 0:s.version)??(s==null||(a=s.default)==null?void 0:a.version)))for(let t of e){var l,u;let e=o==null?void 0:o[t];if(e===void 0)continue;let n=(e==null?void 0:e.version)??(e==null||(l=e.default)==null?void 0:l.version);if(!(n!==void 0&&c(n))&&(!r||typeof(e==null?void 0:e[r])==`function`||typeof(e==null||(u=e.default)==null?void 0:u[r])==`function`)){let n=typeof(e==null?void 0:e[r])==`function`?e:e==null?void 0:e.default,i=n==null?void 0:n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!r||t.endsWith(`/client`)||!i)return e;let a={};for(let e of[`createRoot`,`hydrateRoot`])a[e]=(...t)=>{i.usingClientEntryPoint=!0;try{return n[e](...t)}finally{i.usingClientEntryPoint=!1}};return{...a,default:a}}}},r={react:async()=>await e(()=>import(`./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D_KAxrKJ.js`).then(e=>e.xi),[],import.meta.url),"react/jsx-runtime":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__--SURtz9t.js`),[],import.meta.url),"react-dom":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D_KAxrKJ.js`).then(e=>e.gr),[],import.meta.url),"react-dom/client":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__prebuild__react_mf_2_dom_mf_1_client__prebuild__-DKp49xnK.js`),[],import.meta.url),"@mui/material":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D_KAxrKJ.js`).then(e=>e.Kn),[],import.meta.url),"@mui/icons-material":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D_KAxrKJ.js`).then(e=>e.zt),[],import.meta.url),"@iobroker/gui-components":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D_KAxrKJ.js`).then(e=>e.S),[],import.meta.url),"@iobroker/json-config":async()=>await e(()=>import(`./_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-CH3Bc0Pg.js`),[],import.meta.url)},i={react:{name:`react`,version:`19.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`SqlComponentsSet`,canLiveRebind:!0,get(){let e=i.react;return e.lib?e.lib:(e.loading||=(async()=>{try{let{react:n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react/jsx-runtime":{name:`react/jsx-runtime`,version:`19.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`SqlComponentsSet`,canLiveRebind:!0,get(){let e=i[`react/jsx-runtime`];if(e.lib)return e.lib;if(e.loading)return e.loading;let a=n([`default:react/jsx-runtime`,`react/jsx-runtime`],[`default:react`,`react`],`19.3.1`,void 0);return a===void 0?(e.loading=(async()=>{try{let{"react/jsx-runtime":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading):(e.lib=function(){return a},e.loaded=!0,e.lib)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react-dom":{name:`react-dom`,version:`19.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`SqlComponentsSet`,canLiveRebind:!0,get(){let e=i[`react-dom`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"react-dom":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"react-dom/client":{name:`react-dom/client`,version:`19.3.1`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`SqlComponentsSet`,canLiveRebind:!0,get(){let e=i[`react-dom/client`];if(e.lib)return e.lib;if(e.loading)return e.loading;let a=n([`default:react-dom/client`,`react-dom/client`,`default:react-dom`,`react-dom`],[`default:react`,`react`],`19.3.1`,`createRoot`);return a===void 0?(e.loading=(async()=>{try{let{"react-dom/client":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading):(e.lib=function(){return a},e.loaded=!0,e.lib)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@mui/material":{name:`@mui/material`,version:`9.5.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`SqlComponentsSet`,canLiveRebind:!0,get(){let e=i[`@mui/material`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@mui/material":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@mui/icons-material":{name:`@mui/icons-material`,version:`9.5.0`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`SqlComponentsSet`,canLiveRebind:!0,get(){let e=i[`@mui/icons-material`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@mui/icons-material":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@iobroker/gui-components":{name:`@iobroker/gui-components`,version:`10.3.14`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`SqlComponentsSet`,canLiveRebind:!0,get(){let e=i[`@iobroker/gui-components`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@iobroker/gui-components":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}},"@iobroker/json-config":{name:`@iobroker/json-config`,version:`10.1.11`,scope:[`default`],loaded:!1,materialize:!0,eager:!1,from:`SqlComponentsSet`,canLiveRebind:!0,get(){let e=i[`@iobroker/json-config`];return e.lib?e.lib:(e.loading||=(async()=>{try{let{"@iobroker/json-config":n}=r,i=t({...await n()});return i.__esModule!==!0&&Object.defineProperty(i,"__esModule",{value:!0,enumerable:!1}),e.lib=function(){return i},e.loaded=!0,e.lib}finally{e.loading=void 0}})(),e.loading)},shareConfig:{singleton:!0,requiredVersion:`*`,strictVersion:!1,eager:!1}}},a=[];export{a as usedRemotes,i as usedShared};
|