bromcom-ui 2.6.3-new-ds.9 → 2.6.3-new-ds.10

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.
Files changed (58) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-70ed2d65.entry.js → p-03be7960.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-40597d4f.entry.js → p-0b1f7cf9.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-f096166d.entry.js → p-0cc66bb8.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-6dbabdb4.entry.js → p-0e7536e3.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-c4690b81.entry.js → p-155734e9.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-9828fa7e.entry.js → p-1adb3e94.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-222abab3.entry.js +1 -0
  9. package/dist/bromcom-ui/{p-d6b5bd80.entry.js → p-46b2ff80.entry.js} +1 -1
  10. package/dist/bromcom-ui/p-4f0b713b.entry.js +1 -0
  11. package/dist/bromcom-ui/{p-162f1dec.entry.js → p-4f4aaf4f.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-398cb9e8.entry.js → p-6b0da512.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-e1d13bed.entry.js → p-6f3ad022.entry.js} +1 -1
  14. package/dist/bromcom-ui/p-72691c7f.entry.js +1 -0
  15. package/dist/bromcom-ui/{p-77b00fb3.entry.js → p-754b36be.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-b9dc88ef.js → p-7d4e52fd.js} +1 -1
  17. package/dist/bromcom-ui/p-834d1edf.entry.js +1 -0
  18. package/dist/bromcom-ui/{p-0000432d.entry.js → p-888b55b8.entry.js} +1 -1
  19. package/dist/bromcom-ui/p-8da6fc71.entry.js +1 -0
  20. package/dist/bromcom-ui/p-959fb963.js +1 -0
  21. package/dist/bromcom-ui/{p-04f23a6b.entry.js → p-9cc8e7fc.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-6e62aaf0.entry.js → p-a2f6a4fd.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-011ec14e.entry.js → p-aaa59dc9.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-b2f62d97.entry.js +1 -0
  25. package/dist/bromcom-ui/{p-539448e6.entry.js → p-b8e1411c.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-1f8f1206.entry.js → p-ba3c9a3e.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-ba3d0dc2.js +1 -0
  28. package/dist/bromcom-ui/{p-c62abe10.entry.js → p-c84126ce.entry.js} +1 -1
  29. package/dist/bromcom-ui/p-cabaa43d.js +1 -0
  30. package/dist/bromcom-ui/{p-73fb4bd5.entry.js → p-cb4ff2de.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-62fbfdf5.entry.js → p-cc209203.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-d0760324.entry.js → p-cde15c69.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-da5e27ac.entry.js → p-cf213149.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-1c575d5e.entry.js → p-cf5ad9d4.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-d5ce81d7.entry.js → p-d52ed428.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-1b4aba6e.entry.js → p-d70690a2.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-674ac6e3.entry.js → p-da8a4445.entry.js} +1 -1
  38. package/dist/bromcom-ui/p-df9e2503.entry.js +1 -0
  39. package/dist/bromcom-ui/{p-cb374b2a.entry.js → p-e0a1fdab.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-79aa0679.entry.js → p-e301ba6e.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-813c55ce.entry.js → p-e4e0dc4e.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-e7e3f754.entry.js +1 -0
  43. package/dist/bromcom-ui/{p-7b823512.entry.js → p-ecaef875.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-fd428bbb.entry.js → p-ed4fac5e.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-5e06fe0a.entry.js → p-f12ea660.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-69b1b925.entry.js → p-f2a771ae.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-e965e8c6.entry.js → p-f3a7e3ea.entry.js} +1 -1
  48. package/package.json +1 -1
  49. package/dist/bromcom-ui/p-17212b08.js +0 -1
  50. package/dist/bromcom-ui/p-3bad21e1.entry.js +0 -1
  51. package/dist/bromcom-ui/p-454ec0e2.entry.js +0 -1
  52. package/dist/bromcom-ui/p-5f27ea68.js +0 -1
  53. package/dist/bromcom-ui/p-847f11b9.entry.js +0 -1
  54. package/dist/bromcom-ui/p-a6f07c65.entry.js +0 -1
  55. package/dist/bromcom-ui/p-bf01eb5a.entry.js +0 -1
  56. package/dist/bromcom-ui/p-cea7fd33.js +0 -1
  57. package/dist/bromcom-ui/p-d176e589.entry.js +0 -1
  58. package/dist/bromcom-ui/p-e1e01dc9.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{h as s,r as e,c as t,g as i}from"./p-9d960649.js";import{G as o}from"./p-5f27ea68.js";import"./p-6d018a8f.js";import{B as c}from"./p-beba9505.js";import"./p-112455b1.js";import{c as r}from"./p-7294ec8e.js";import{C as l}from"./p-312efff7.js";import{e as a}from"./p-a80ff3e5.js";import{N as h}from"./p-44d6172f.js";var n;!function(s){s.black="black",s.white="white",s["prime-blue"]="prime-blue",s.grey="grey",s.blue="blue",s.warmyellow="warmyellow",s.yellow="yellow",s.limegreen="limegreen",s.red="red",s.darkorange="darkorange",s.orange="orange",s.green="green",s.turquosie="turquosie",s.cobaltblue="cobaltblue",s.magenta="magenta",s.purple="purple",s["bc-red"]="bc-red",s["bc-blue"]="bc-blue",s["bc-green"]="bc-green",s["bc-orange"]="bc-orange"}(n||(n={}));const m=({_id:e,color:t,customStyle:i,size:o,checked:m,hidden:d,value:p,type:b,onDismiss:u,onSelect:f})=>{!o&&(o=c.FontSize["size-1"]);const g=(s,e=!1)=>(h.isNumber(s)&&(s=c.FontSize["size-"+s]||c.FontSize["size-4"]),e?+(c.FontSizeValue[s]||c.FontSizeValue["size-4"])+2:s),y=r("bcm-tag__content",b,g(o)),k=r("bcm-tag",{hidden:d}),j=g(o,!0);return s("div",{id:e,class:r(k,{checked:m})},s("span",{hidden:!0},s("slot",null)),s("span",{class:y,style:(s=>{if((b===c.TagType.basic||b==c.TagType.dismissable)&&n[s])return{color:a(l,n[s]+"-6"),borderColor:a(l,n[s]+"-3"),backgroundColor:a(l,n[s]+"-1")}})(t),onClick:s=>f(s)},b===c.TagType.add&&s("span",{class:"left"},s("bcm-old-icon",{icon:"plus",type:"outlined",color:"grey-8",size:j})),b===c.TagType.checkable&&s("input",{type:"checkbox",checked:m}),s("span",{class:"value",style:i},p),b===c.TagType.dismissable&&s("span",{class:"right close-button",onClick:s=>u(s)},s("i",{class:"bcm-fal bcm-fa-times"}))))},d=class{constructor(s){e(this,s),this.change=t(this,"bcm-change",7),this.tagDismissable=t(this,"bcm-tag-dismissable",7),this.bcmTagSelect=t(this,"bcm-tag-select",7),this._id=o.UID(),this._internal_id=o.UID(),this.hidden=!1,this.value="",this.type=c.TagType.basic,this.checked=!1,this.size=c.FontSize["size-1"],this.closeFunc=s=>s,this.selectFunc=s=>s}handleClick(){this.type===c.TagType.checkable&&this.handleChecked()}handleClose(){this.tagDismissable.emit(this.el)}handleChecked(){this.checked=!this.checked,this.change.emit(this.checked)}render(){const{type:e,color:t,value:i,customStyle:o,size:r,hidden:l,checked:a}=this;return s(m,{size:r,hidden:l,color:t,customStyle:o,checked:a,value:i,type:c.TagType[e],onSelect:s=>{this.bcmTagSelect.emit(s),this.selectFunc({event:s,id:this._id})},onDismiss:s=>{this.handleClose(),this.closeFunc(s)}})}get el(){return i(this)}};export{d as bcm_tag}
@@ -1 +0,0 @@
1
- import{S as t}from"./p-208caef1.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(),f=t.textContains(a,"-")?a.split("-"):a.split(" "),w=document.documentElement.clientWidth,l=document.documentElement.clientHeight;switch(f[0]){case"left":u<o+8&&c(r(f));break;case"right":w<i+o+8&&c(r(f));break;case"top":h<n+8&&c(r(f));break;case"bottom":l<d+n+8&&c(r(f))}},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}