iobroker.hmip
Version:
ioBroker Adapter to use the Homematic Cloud IP AccessPoint via Hommeatic Cloud Rest API
2 lines (1 loc) • 990 B
JavaScript
import{C as a}from"./ConfigCustomHmipSet__loadShare__react__loadShare__-C2rb-Q_t.js";import{j as l}from"./jsx-runtime-DG8Pl9r2.js";function p(e,n){const t={...n};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const o=s;if(o==="components"||o==="slots")t[o]={...e[o],...t[o]};else if(o==="componentsProps"||o==="slotProps"){const r=e[o],c=n[o];if(!c)t[o]=r||{};else if(!r)t[o]=c;else{t[o]={...c};for(const f in r)if(Object.prototype.hasOwnProperty.call(r,f)){const i=f;t[o][i]=p(r[i],c[i])}}}else t[o]===void 0&&(t[o]=e[o])}return t}const u=a.createContext(void 0);function _({value:e,children:n}){return l.jsx(u.Provider,{value:e,children:n})}function m(e){const{theme:n,name:t,props:s}=e;if(!n||!n.components||!n.components[t])return s;const o=n.components[t];return o.defaultProps?p(o.defaultProps,s):!o.styleOverrides&&!o.variants?p(o,s):s}function d({props:e,name:n}){const t=a.useContext(u);return m({props:e,name:n,theme:{components:t}})}export{_ as D,p as r,d as u};