bromcom-ui 2.6.2-rc.0 → 2.6.2-rc.1

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 (40) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-3b501ebc.entry.js → p-033d4da7.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-214f509f.entry.js → p-15bf77d0.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-00548093.entry.js → p-18058353.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-060d4830.entry.js → p-27296867.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-887aaa28.entry.js → p-2a982545.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-31006673.entry.js → p-2d1abb9c.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-fa39a9d9.entry.js → p-32a5f072.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-7d69ad88.entry.js → p-35d7a019.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-adc6873e.js → p-391795a8.js} +1 -1
  11. package/dist/bromcom-ui/{p-703b569b.entry.js → p-3a16fe4c.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-15451ea8.entry.js → p-3eada5da.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-3253a7db.entry.js → p-44e3abeb.entry.js} +1 -1
  14. package/dist/bromcom-ui/p-499dc051.entry.js +1 -0
  15. package/dist/bromcom-ui/{p-69abf1f9.entry.js → p-4d8aa25e.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-2fc3d7c4.entry.js → p-6201fa37.entry.js} +1 -1
  17. package/dist/bromcom-ui/p-639d919a.entry.js +1 -0
  18. package/dist/bromcom-ui/p-6e266ed0.js +1 -0
  19. package/dist/bromcom-ui/{p-231f8e6e.entry.js → p-79105792.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-5a003304.entry.js → p-7eda3154.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-9831c2e5.entry.js → p-7f278eb3.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-c45140e8.entry.js → p-919b8d62.entry.js} +1 -1
  23. package/dist/bromcom-ui/p-9950326d.entry.js +1 -0
  24. package/dist/bromcom-ui/{p-2f83346d.entry.js → p-a20d0bc4.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-e760cf4c.entry.js → p-b3544e64.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-9ad319db.entry.js → p-c587a419.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-ccb81d54.entry.js +1 -0
  28. package/dist/bromcom-ui/{p-c6afbd41.entry.js → p-ce0d01ca.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-cf71c42c.js → p-d1362d26.js} +1 -1
  30. package/dist/bromcom-ui/{p-6eb857e2.entry.js → p-dc7fd238.entry.js} +1 -1
  31. package/dist/bromcom-ui/p-e135888f.entry.js +1 -0
  32. package/dist/bromcom-ui/{p-24b2b16a.entry.js → p-fd48dffe.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-af88e6ae.entry.js → p-fda217dd.entry.js} +1 -1
  34. package/package.json +1 -1
  35. package/dist/bromcom-ui/p-141a3020.entry.js +0 -1
  36. package/dist/bromcom-ui/p-4bbe0b4e.entry.js +0 -1
  37. package/dist/bromcom-ui/p-8be6b27e.entry.js +0 -1
  38. package/dist/bromcom-ui/p-9a366681.entry.js +0 -1
  39. package/dist/bromcom-ui/p-cd548f6c.entry.js +0 -1
  40. package/dist/bromcom-ui/p-f0f84c9e.js +0 -1
@@ -1 +1 @@
1
- import{h as s,r as e,c as t,g as i}from"./p-9d960649.js";import{G as c}from"./p-adc6873e.js";import{B as o}from"./p-7e73190d.js";import"./p-112455b1.js";import{c as r}from"./p-7294ec8e.js";import"./p-6d018a8f.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:c,checked:d,hidden:m,value:p,type:u,onDismiss:b,onSelect:f})=>{!c&&(c=o.FontSize["size-1"]);const g=(s,e=!1)=>(h.isNumber(s)&&(s=o.FontSize["size-"+s]||o.FontSize["size-4"]),e?+(o.FontSizeValue[s]||o.FontSizeValue["size-4"])+2:s),y=r("bcm-tag__content",u,g(c)),k=r("bcm-tag",{hidden:m}),j=g(c,!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===o.TagType.basic||u==o.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===o.TagType.add&&s("span",{class:"left"},s("bcm-old-icon",{icon:"plus",type:"outlined",color:"grey-8",size:j})),u===o.TagType.checkable&&s("input",{type:"checkbox",checked:d}),s("span",{class:"value",style:i},p),u===o.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=c.UID(),this._internal_id=c.UID(),this.hidden=!1,this.value="",this.type=o.TagType.basic,this.checked=!1,this.size=o.FontSize["size-1"],this.closeFunc=s=>s,this.selectFunc=s=>s}handleClick(){this.type===o.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:c,size:r,hidden:l,checked:a}=this;return s(d,{size:r,hidden:l,color:t,customStyle:c,checked:a,value:i,type:o.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
+ import{h as s,r as e,c as t,g as i}from"./p-9d960649.js";import{G as o}from"./p-391795a8.js";import{B as c}from"./p-7e73190d.js";import"./p-112455b1.js";import{c as r}from"./p-7294ec8e.js";import"./p-6d018a8f.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}