@openremote/or-dashboard-builder 1.6.0 → 1.7.0-snapshot.20250522134530
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.js +3 -3
- package/dist/umd/index.orbundle.js +8 -8
- package/package.json +10 -10
- package/tsconfig.tsbuildinfo +1 -1
package/dist/umd/index.js
CHANGED
|
@@ -591,10 +591,10 @@
|
|
|
591
591
|
/*margin-bottom: 20px;*/
|
|
592
592
|
flex: 0 0 auto;
|
|
593
593
|
}
|
|
594
|
-
`;var Cr=p(5744),Ar=p(1512),Dr=function(t,e,i,n){var r,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,i,o):r(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};const Ir=p(48);class Rr extends CustomEvent{constructor(t){super(Rr.NAME,{detail:t,bubbles:!0,composed:!0})}}Rr.NAME="or-mwc-menu-changed";class Or extends CustomEvent{constructor(){super(Or.NAME,{bubbles:!0,composed:!0})}}function Pr(t,e,i,n,r,a=!1,o=!0,s=!1,l=!1){return F`
|
|
594
|
+
`;var Cr=p(5744),Ar=p(1512),Dr=function(t,e,i,n){var r,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,i,o):r(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};const Ir=p(48);class Rr extends CustomEvent{constructor(t){super(Rr.NAME,{detail:t,bubbles:!0,composed:!0})}}Rr.NAME="or-mwc-menu-changed";class Or extends CustomEvent{constructor(){super(Or.NAME,{bubbles:!0,composed:!0})}}function Pr(t,e,i,n,r,a=!1,o=!0,s=!1,l=!1,d="menu",c=!1){let u=null;return F`
|
|
595
595
|
<span>
|
|
596
|
-
<span @click="${t=>{e&&t.currentTarget.parentElement.lastElementChild.open()}}">${t}</span>
|
|
597
|
-
${e?F`<or-mwc-menu ?multiselect="${a}" @or-mwc-menu-closed="${()=>{r&&r()}}" @or-mwc-menu-changed="${t=>{n&&n(t.detail)}}" .translateValues="${o}" .values="${i}" .menuItems="${e}" .midHeight="${s}" .fullWidth="${l}" id="
|
|
596
|
+
<span @click="${t=>{if(e){if(c&&u){const e=t.currentTarget;!function(t,e){e||(e=document.body);const i=e.getBoundingClientRect();Object.assign(t.style,{position:"fixed",top:`${i.bottom}px`,left:`${i.left}px`,zIndex:"1000",display:"block"})}(u,e)}t.currentTarget.parentElement.lastElementChild.open()}}}">${t}</span>
|
|
597
|
+
${e?F`<or-mwc-menu ?multiselect="${a}" @or-mwc-menu-closed="${()=>{r&&r()}}" @or-mwc-menu-changed="${t=>{n&&n(t.detail)}}" .translateValues="${o}" .values="${i}" .menuItems="${e}" .midHeight="${s}" .fullWidth="${l}" id="${d}" ${oe((t=>u=t))}></or-mwc-menu>`:""}
|
|
598
598
|
</span>
|
|
599
599
|
`}Or.NAME="or-mwc-menu-closed";const zr=ht`
|
|
600
600
|
:host {
|