bromcom-ui 2.5.2-rc.0 → 2.5.2-rc.3
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/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-78fa50e2.entry.js → p-027e2705.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b0c2a94.entry.js → p-055b86a1.entry.js} +1 -1
- package/dist/bromcom-ui/p-239293c3.entry.js +1 -0
- package/dist/bromcom-ui/{p-7f28f038.js → p-66ba7ea5.js} +1 -1
- package/dist/bromcom-ui/{p-c6e58492.js → p-7e73190d.js} +1 -1
- package/dist/bromcom-ui/p-86aeef40.entry.js +1 -0
- package/dist/bromcom-ui/p-87a280db.js +1 -0
- package/dist/bromcom-ui/p-89429c4f.entry.js +1 -0
- package/dist/bromcom-ui/{p-65aad9e2.js → p-8d4017a2.js} +1 -1
- package/dist/bromcom-ui/{p-eb04342e.entry.js → p-921524a7.entry.js} +1 -1
- package/dist/bromcom-ui/p-9ae77d86.entry.js +1 -0
- package/dist/bromcom-ui/{p-176b1c3a.entry.js → p-abbd5624.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4bccb0aa.entry.js → p-ae8684f0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c61fa5eb.js → p-b05a7460.js} +1 -1
- package/dist/bromcom-ui/{p-cf13f881.entry.js → p-b40ef857.entry.js} +1 -1
- package/dist/bromcom-ui/{p-40e819f3.entry.js → p-b4acbaaf.entry.js} +1 -1
- package/dist/bromcom-ui/p-f4fc0364.entry.js +1 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-17e96453.js +0 -1
- package/dist/bromcom-ui/p-20d1fe2f.js +0 -1
- package/dist/bromcom-ui/p-2b39c8ef.js +0 -1
- package/dist/bromcom-ui/p-42137d0a.entry.js +0 -1
- package/dist/bromcom-ui/p-56dbe576.entry.js +0 -1
- package/dist/bromcom-ui/p-5b45fc6a.entry.js +0 -1
- package/dist/bromcom-ui/p-7681ee96.entry.js +0 -1
- package/dist/bromcom-ui/p-7db170be.entry.js +0 -1
- package/dist/bromcom-ui/p-8ad406b3.js +0 -1
- package/dist/bromcom-ui/p-8b4e9fe6.entry.js +0 -1
- package/dist/bromcom-ui/p-9d0a08a2.js +0 -1
- package/dist/bromcom-ui/p-a331ae2f.entry.js +0 -1
- package/dist/bromcom-ui/p-a5403cdb.js +0 -1
- package/dist/bromcom-ui/p-c26faf31.entry.js +0 -1
- package/dist/bromcom-ui/p-dbc636d2.entry.js +0 -1
- package/dist/bromcom-ui/p-dd148810.js +0 -1
- package/dist/bromcom-ui/p-e610c375.js +0 -1
- package/dist/bromcom-ui/p-e7ddd6a6.entry.js +0 -1
- package/dist/bromcom-ui/p-e7e88c89.entry.js +0 -1
- package/dist/bromcom-ui/p-ea74d463.entry.js +0 -1
- package/dist/bromcom-ui/p-ec1e392e.entry.js +0 -1
- package/dist/bromcom-ui/p-fb577155.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as t}from"./p-
|
|
1
|
+
import{S as t}from"./p-66ba7ea5.js";const e={left:"right",right:"left",top:"bottom",bottom:"top"},r=t=>1===t.length?e[t[0]]:[e[t[0]],t[1]].join("-"),s=(e,s,a,c)=>{const{width:o,height:n}=e.getBoundingClientRect(),{left:u,right:i,top:h,bottom:d}=s.getBoundingClientRect(),w=t.textContains(a,"-")?a.split("-"):a.split(" "),f=document.documentElement.clientWidth,b=document.documentElement.clientHeight;switch(w[0]){case"left":u<o+8&&c(r(w));break;case"right":f<i+o+8&&c(r(w));break;case"top":h<n+8&&c(r(w));break;case"bottom":b<d+n+8&&c(r(w))}},a=(e,r)=>{const s=r.getBoundingClientRect(),a=s.top+window.pageYOffset,c=s.left+window.pageXOffset,o=s.height,n=s.width,u=t.textContains(e,"-")?e.split("-"):e.split(" ");switch(u[0]){case"left":switch(u[1]){case"start":return[a,c];case"end":return[a+o,c];default:return[a+o/2,c]}case"right":switch(u[1]){case"start":return[a,c+n];case"end":return[a+o,c+n];default:return[a+o/2,c+n]}case"top":switch(u[1]){case"start":return[a,c];case"end":return[a,c+n];default:return[a,c+n/2]}case"bottom":switch(u[1]){case"start":return[a+o,c];case"end":return[a+o,c+n];default:return[a+o,c+n/2]}}};export{s as g,a as s}
|