bromcom-ui 2.6.3-new-ds.2 → 2.6.3-new-ds.5

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 (68) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-0cf887d7.entry.js → p-131385bd.entry.js} +1 -1
  3. package/dist/bromcom-ui/p-1547ccac.entry.js +1 -0
  4. package/dist/bromcom-ui/{p-215b676f.js → p-1776f884.js} +1 -1
  5. package/dist/bromcom-ui/{p-3d4564f9.js → p-1b22a8cf.js} +1 -1
  6. package/dist/bromcom-ui/{p-d56d92b7.entry.js → p-20c52ede.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-c62d7af4.entry.js → p-25f1d892.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-2887fa26.entry.js +1 -0
  9. package/dist/bromcom-ui/p-2d1f73ed.entry.js +1 -0
  10. package/dist/bromcom-ui/{p-68eafa69.entry.js → p-2d79fbdc.entry.js} +1 -1
  11. package/dist/bromcom-ui/p-2f3d7a6a.entry.js +1 -0
  12. package/dist/bromcom-ui/p-341366c2.entry.js +1 -0
  13. package/dist/bromcom-ui/p-34fcf41b.entry.js +1 -0
  14. package/dist/bromcom-ui/{p-f7d2b139.entry.js → p-3504e52c.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-14f6a816.entry.js → p-35ca3d20.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-4b3d8b4b.entry.js → p-44cf341c.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-c496fd9d.entry.js → p-48bfb341.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-329fcdef.entry.js → p-4922807a.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-c0bc0c81.entry.js → p-4ef24854.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-cfe63e67.entry.js → p-4fba67a8.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-500129b4.entry.js +1 -0
  22. package/dist/bromcom-ui/{p-f6dad718.entry.js → p-542ecccf.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-0f98c050.entry.js → p-597229a0.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-e4258c2a.entry.js → p-59bc3473.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-ab92f00f.entry.js → p-5c236308.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-6f9f519a.entry.js → p-5df13ade.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-9d996f6c.entry.js → p-5ea8a8e6.entry.js} +1 -1
  28. package/dist/bromcom-ui/p-6113bbc5.entry.js +1 -0
  29. package/dist/bromcom-ui/{p-5f7aead2.js → p-6695efde.js} +1 -1
  30. package/dist/bromcom-ui/{p-3b37bf88.entry.js → p-6add756e.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-68b987c1.entry.js → p-6e4b2451.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-93bddcee.entry.js → p-740f2692.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-051fcb1a.entry.js → p-78ba6f10.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-8a36da19.entry.js → p-7fbd0174.entry.js} +1 -1
  35. package/dist/bromcom-ui/p-80661d65.js +1 -0
  36. package/dist/bromcom-ui/p-95d37d75.entry.js +1 -0
  37. package/dist/bromcom-ui/{p-abb9c652.entry.js → p-9aa57aa3.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-9d3bc001.entry.js → p-9c0b55c2.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-a4433a78.js +1 -0
  40. package/dist/bromcom-ui/{p-e48c5ff1.entry.js → p-ad2051d2.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-91e4d40b.entry.js → p-ade958ac.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-b144eb5e.js +1 -0
  43. package/dist/bromcom-ui/{p-473390bd.entry.js → p-b23cd449.entry.js} +1 -1
  44. package/dist/bromcom-ui/p-b2a54dac.js +1 -0
  45. package/dist/bromcom-ui/p-bef8a342.entry.js +1 -0
  46. package/dist/bromcom-ui/p-d2f1d4f3.entry.js +1 -0
  47. package/dist/bromcom-ui/{p-16a304fc.entry.js → p-d4ade3a7.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-6ea6420a.entry.js → p-d8ae7003.entry.js} +1 -1
  49. package/dist/bromcom-ui/p-ed38e5d2.js +1 -0
  50. package/dist/bromcom-ui/{p-84168ce6.entry.js → p-f1822f3b.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-88a699de.entry.js → p-f65eb80d.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-5502d10e.entry.js → p-f8a2a247.entry.js} +1 -1
  53. package/package.json +1 -1
  54. package/dist/bromcom-ui/p-0e6d5d8c.entry.js +0 -1
  55. package/dist/bromcom-ui/p-18d5d41f.entry.js +0 -1
  56. package/dist/bromcom-ui/p-1de01862.entry.js +0 -1
  57. package/dist/bromcom-ui/p-2ccd0d8f.entry.js +0 -1
  58. package/dist/bromcom-ui/p-37a801f3.entry.js +0 -1
  59. package/dist/bromcom-ui/p-61b150d3.entry.js +0 -1
  60. package/dist/bromcom-ui/p-6595d6c0.js +0 -1
  61. package/dist/bromcom-ui/p-66fbf8c0.js +0 -1
  62. package/dist/bromcom-ui/p-6abcaeed.entry.js +0 -1
  63. package/dist/bromcom-ui/p-8f81f6ad.entry.js +0 -1
  64. package/dist/bromcom-ui/p-901ef3d0.entry.js +0 -1
  65. package/dist/bromcom-ui/p-9e7d3618.js +0 -1
  66. package/dist/bromcom-ui/p-ab7943a8.entry.js +0 -1
  67. package/dist/bromcom-ui/p-bfe2448b.js +0 -1
  68. package/dist/bromcom-ui/p-ea6f25da.js +0 -1
@@ -0,0 +1 @@
1
+ import{h as s,r as e,c as t,g as i}from"./p-9d960649.js";import{G as o}from"./p-1776f884.js";import"./p-6d018a8f.js";import{B as c}from"./p-af3de684.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 d=({_id:e,color:t,customStyle:i,size:o,checked:d,hidden:m,value:p,type:u,onDismiss:b,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",u,g(o)),k=r("bcm-tag",{hidden:m}),j=g(o,!0);return s("div",{id:e,class:r(k,{checked:d})},s("span",{hidden:!0},s("slot",null)),s("span",{class:y,style:(s=>{if((u===c.TagType.basic||u==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)},u===c.TagType.add&&s("span",{class:"left"},s("bcm-old-icon",{icon:"plus",type:"outlined",color:"grey-8",size:j})),u===c.TagType.checkable&&s("input",{type:"checkbox",checked:d}),s("span",{class:"value",style:i},p),u===c.TagType.dismissable&&s("span",{class:"right close-button",onClick:s=>b(s)},s("i",{class:"bcm-fal bcm-fa-times"}))))},m=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(d,{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{m as bcm_tag}
@@ -1 +1 @@
1
- import{S as t}from"./p-66fbf8c0.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,b=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":b<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}
1
+ import{S as t}from"./p-b2a54dac.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:d,bottom:h}=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":d<n+8&&c(r(w));break;case"bottom":b<h+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}