bromcom-ui 2.6.2 → 2.6.3-new-ds.0

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 (59) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-1defa77c.entry.js → p-009ea4ef.entry.js} +1 -1
  3. package/dist/bromcom-ui/p-054aad50.entry.js +1 -0
  4. package/dist/bromcom-ui/{p-df7d1483.entry.js → p-07aef975.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-af736ecb.entry.js → p-082e82d2.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-4ed1ba44.entry.js → p-0d4564e3.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-e8e33254.entry.js → p-138fbaec.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-0820aa81.entry.js → p-14640d95.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-16c7679f.entry.js +1 -0
  10. package/dist/bromcom-ui/{p-5b3acc5c.entry.js → p-276615cc.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-03706b1d.entry.js → p-27734b80.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-17e96453.js → p-2db6a141.js} +1 -1
  13. package/dist/bromcom-ui/p-3373816b.entry.js +1 -0
  14. package/dist/bromcom-ui/{p-9efbaee9.entry.js → p-373a1ef4.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-6add756e.entry.js → p-3b37bf88.entry.js} +1 -1
  16. package/dist/bromcom-ui/p-406a7903.entry.js +1 -0
  17. package/dist/bromcom-ui/{p-fe283dc8.entry.js → p-41845a80.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-179451c0.entry.js → p-4b3d8b4b.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-2b12f3e0.entry.js → p-4e9bac37.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-c2df4205.entry.js → p-5c9027ac.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-5efac4c9.entry.js +1 -0
  22. package/dist/bromcom-ui/{p-a92fd73a.js → p-5f7aead2.js} +1 -1
  23. package/dist/bromcom-ui/{p-ed65a727.entry.js → p-638cf0e3.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-6595d6c0.js +1 -0
  25. package/dist/bromcom-ui/p-66fbf8c0.js +1 -0
  26. package/dist/bromcom-ui/p-696e433b.entry.js +1 -0
  27. package/dist/bromcom-ui/{p-617dea7f.entry.js → p-6b0beb02.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-09998e65.js → p-71a83f4e.js} +1 -1
  29. package/dist/bromcom-ui/{p-27b9048b.entry.js → p-79484032.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-ebf56611.entry.js → p-7b3bba17.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-8c85689c.entry.js → p-7ba63e35.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-8099c451.js +1 -0
  33. package/dist/bromcom-ui/{p-32d9f532.entry.js → p-861c1c38.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-65a8caa1.entry.js → p-89805518.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-c3bd6b9d.entry.js → p-9b03f34e.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-c6087a34.js → p-9e7d3618.js} +1 -1
  37. package/dist/bromcom-ui/{p-0d1d3a57.entry.js → p-a578a6f0.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-fb7acf10.entry.js → p-b414e783.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-d716cdb0.entry.js → p-bba86e15.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-96953d2a.entry.js → p-bc394d89.entry.js} +1 -1
  41. package/dist/bromcom-ui/p-bfe2448b.js +1 -0
  42. package/dist/bromcom-ui/p-c05b0867.entry.js +1 -0
  43. package/dist/bromcom-ui/p-d48a8f83.entry.js +1 -0
  44. package/dist/bromcom-ui/{p-04601eb4.entry.js → p-e3ccb280.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-e4258c2a.entry.js +1 -0
  46. package/dist/bromcom-ui/{p-bffbcb80.entry.js → p-f72e7e82.entry.js} +1 -1
  47. package/dist/bromcom-ui/p-fbd97b73.entry.js +1 -0
  48. package/package.json +68 -68
  49. package/dist/bromcom-ui/p-1e1bda6a.entry.js +0 -1
  50. package/dist/bromcom-ui/p-249e1720.entry.js +0 -1
  51. package/dist/bromcom-ui/p-2bcb4c83.entry.js +0 -1
  52. package/dist/bromcom-ui/p-523fa22b.js +0 -1
  53. package/dist/bromcom-ui/p-88874c1c.js +0 -1
  54. package/dist/bromcom-ui/p-963478f0.entry.js +0 -1
  55. package/dist/bromcom-ui/p-a2a09c40.js +0 -1
  56. package/dist/bromcom-ui/p-bec993db.js +0 -1
  57. package/dist/bromcom-ui/p-c8504217.entry.js +0 -1
  58. package/dist/bromcom-ui/p-c9cfcb10.entry.js +0 -1
  59. package/dist/bromcom-ui/p-d0ee79aa.entry.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-88874c1c.js";import{B as o}from"./p-af3de684.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 c}from"./p-8099c451.js";import"./p-112455b1.js";import{c as o}from"./p-7294ec8e.js";import{B as r}from"./p-af3de684.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=r.FontSize["size-1"]);const g=(s,e=!1)=>(h.isNumber(s)&&(s=r.FontSize["size-"+s]||r.FontSize["size-4"]),e?+(r.FontSizeValue[s]||r.FontSizeValue["size-4"])+2:s),y=o("bcm-tag__content",u,g(c)),k=o("bcm-tag",{hidden:m}),j=g(c,!0);return s("div",{id:e,class:o(k,{checked:d})},s("span",{hidden:!0},s("slot",null)),s("span",{class:y,style:(s=>{if((u===r.TagType.basic||u==r.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===r.TagType.add&&s("span",{class:"left"},s("bcm-old-icon",{icon:"plus",type:"outlined",color:"grey-8",size:j})),u===r.TagType.checkable&&s("input",{type:"checkbox",checked:d}),s("span",{class:"value",style:i},p),u===r.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=r.TagType.basic,this.checked=!1,this.size=r.FontSize["size-1"],this.closeFunc=s=>s,this.selectFunc=s=>s}handleClick(){this.type===r.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:o,hidden:l,checked:a}=this;return s(d,{size:o,hidden:l,color:t,customStyle:c,checked:a,value:i,type:r.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}