Simplify dashboard

This commit is contained in:
Sergey Lyubka committed 2025-07-09 00:21:31 +01:00
1 parent c08c1afb1e
commit 8a9b1d9873
8 files changed
+231 -452

No files matched your search

@@ -1 +0,0 @@
../../../http/device-dashboard/web_root/bundle.js
@@ -0,0 +1 @@
var t,n,e,i,o,r,_,u,l,f,s,c,a,h={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function y(t,n){for(var e in n)t[e]=n[e];return t}function m(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function g(n,e,i){var o,r,_,u={};for(_ in e)"key"==_?o=e[_]:"ref"==_?r=e[_]:u[_]=e[_];if(arguments.length>2&&(u.children=arguments.length>3?t.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(_ in n.defaultProps)void 0===u[_]&&(u[_]=n.defaultProps[_]);return b(n,u,o,r,null)}function b(t,i,o,r,_){var u={type:t,props:i,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==_?++e:_,__i:-1,__u:0};return null==_&&null!=n.vnode&&n.vnode(u),u}function k(){return{current:null}}function w(t){return t.children}function x(t,n){this.props=t,this.context=n}function S(t,n){if(null==n)return t.__?S(t.__,t.__i+1):null;for(var e;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e)return e.__e;return"function"==typeof t.type?S(t):null}function C(t){var n,e;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e){t.__e=t.__c.base=e.__e;break}return C(t)}}function U(t){(!t.__d&&(t.__d=!0)&&o.push(t)&&!E.__r++||r!=n.debounceRendering)&&((r=n.debounceRendering)||_)(E)}function E(){for(var t,e,i,r,_,l,f,s=1;o.length;)o.length>s&&o.sort(u),t=o.shift(),s=o.length,t.__d&&(i=void 0,_=(r=(e=t).__v).__e,l=[],f=[],e.__P&&((i=y({},r)).__v=r.__v+1,n.vnode&&n.vnode(i),F(e.__P,i,r,e.__n,e.__P.namespaceURI,32&r.__u?[_]:null,l,null==_?S(r):_,!!(32&r.__u),f),i.__v=r.__v,i.__.__k[i.__i]=i,R(l,i,f),i.__e!=_&&C(i)));E.__r=0}function P(t,n,e,i,o,r,_,u,l,f,s){var c,a,d,v,y,m,g=i&&i.__k||p,b=n.length;for(l=A(e,n,g,l,b),c=0;c<b;c++)null!=(d=e.__k[c])&&(a=-1==d.__i?h:g[d.__i]||h,d.__i=c,m=F(t,d,a,o,r,_,u,l,f,s),v=d.__e,d.ref&&a.ref!=d.ref&&(a.ref&&L(a.ref,null,d),s.push(d.ref,d.__c||v,d)),null==y&&null!=v&&(y=v),4&d.__u||a.__k===d.__k?l=N(d,l,t):"function"==typeof d.type&&void 0!==m?l=m:v&&(l=v.nextSibling),d.__u&=-7);return e.__e=y,l}function A(t,n,e,i,o){var r,_,u,l,f,s=e.length,c=s,a=0;for(t.__k=new Array(o),r=0;r<o;r++)null!=(_=n[r])&&"boolean"!=typeof _&&"function"!=typeof _?(l=r+a,(_=t.__k[r]="string"==typeof _||"number"==typeof _||"bigint"==typeof _||_.constructor==String?b(null,_,null,null,null):v(_)?b(w,{children:_},null,null,null):null==_.constructor&&_.__b>0?b(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):_).__=t,_.__b=t.__b+1,u=null,-1!=(f=_.__i=$(_,e,l,c))&&(c--,(u=e[f])&&(u.__u|=2)),null==u||null==u.__v?(-1==f&&(o>s?a--:o<s&&a++),"function"!=typeof _.type&&(_.__u|=4)):f!=l&&(f==l-1?a--:f==l+1?a++:(f>l?a--:a++,_.__u|=4))):t.__k[r]=null;if(c)for(r=0;r<s;r++)null!=(u=e[r])&&0==(2&u.__u)&&(u.__e==i&&(i=S(u)),I(u,u));return i}function N(t,n,e){var i,o;if("function"==typeof t.type){for(i=t.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=t,n=N(i[o],n,e));return n}t.__e!=n&&(n&&t.type&&!e.contains(n)&&(n=S(t)),e.insertBefore(t.__e,n||null),n=t.__e);do{n=n&&n.nextSibling}while(null!=n&&8==n.nodeType);return n}function H(t,n){return n=n||[],null==t||"boolean"==typeof t||(v(t)?t.some((function(t){H(t,n)})):n.push(t)),n}function $(t,n,e,i){var o,r,_=t.key,u=t.type,l=n[e];if(null===l&&null==t.key||l&&_==l.key&&u==l.type&&0==(2&l.__u))return e;if(i>(null!=l&&0==(2&l.__u)?1:0))for(o=e-1,r=e+1;o>=0||r<n.length;){if(o>=0){if((l=n[o])&&0==(2&l.__u)&&_==l.key&&u==l.type)return o;o--}if(r<n.length){if((l=n[r])&&0==(2&l.__u)&&_==l.key&&u==l.type)return r;r++}}return-1}function T(t,n,e){"-"==n[0]?t.setProperty(n,null==e?"":e):t[n]=null==e?"":"number"!=typeof e||d.test(n)?e:e+"px"}function D(t,n,e,i,o){var r,_;t:if("style"==n)if("string"==typeof e)t.style.cssText=e;else{if("string"==typeof i&&(t.style.cssText=i=""),i)for(n in i)e&&n in e||T(t.style,n,"");if(e)for(n in e)i&&e[n]==i[n]||T(t.style,n,e[n])}else if("o"==n[0]&&"n"==n[1])r=n!=(n=n.replace(l,"$1")),_=n.toLowerCase(),n=_ in t||"onFocusOut"==n||"onFocusIn"==n?_.slice(2):n.slice(2),t.l||(t.l={}),t.l[n+r]=e,e?i?e.u=i.u:(e.u=f,t.addEventListener(n,r?c:s,r)):t.removeEventListener(n,r?c:s,r);else{if("http://www.w3.org/2000/svg"==o)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=n&&"height"!=n&&"href"!=n&&"list"!=n&&"form"!=n&&"tabIndex"!=n&&"download"!=n&&"rowSpan"!=n&&"colSpan"!=n&&"role"!=n&&"popover"!=n&&n in t)try{t[n]=null==e?"":e;break t}catch(t){}"function"==typeof e||(null==e||!1===e&&"-"!=n[4]?t.removeAttribute(n):t.setAttribute(n,"popover"==n&&1==e?"":e))}}function M(t){return function(e){if(this.l){var i=this.l[e.type+t];if(null==e.t)e.t=f++;else if(e.t<i.u)return;return i(n.event?n.event(e):e)}}}function F(t,e,i,o,r,_,u,l,f,s){var c,a,h,p,d,g,b,k,S,C,U,E,A,N,H,$,T,D=e.type;if(null!=e.constructor)return null;128&i.__u&&(f=!!(32&i.__u),_=[l=e.__e=i.__e]),(c=n.__b)&&c(e);t:if("function"==typeof D)try{if(k=e.props,S="prototype"in D&&D.prototype.render,C=(c=D.contextType)&&o[c.__c],U=c?C?C.props.value:c.__:o,i.__c?b=(a=e.__c=i.__c).__=a.__E:(S?e.__c=aLine truncated