bromcom-ui 2.6.3-new-ds.0 → 2.6.3-new-ds.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-276615cc.entry.js → p-05e00dd1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-373a1ef4.entry.js → p-06ba3975.entry.js} +1 -1
- package/dist/bromcom-ui/{p-27734b80.entry.js → p-0fe4c7ad.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d48a8f83.entry.js → p-10d61c82.entry.js} +1 -1
- package/dist/bromcom-ui/{p-009ea4ef.entry.js → p-12b42256.entry.js} +1 -1
- package/dist/bromcom-ui/p-169599f4.entry.js +1 -0
- package/dist/bromcom-ui/{p-638cf0e3.entry.js → p-1e7c4061.entry.js} +1 -1
- package/dist/bromcom-ui/{p-71a83f4e.js → p-24e1c9b8.js} +1 -1
- package/dist/bromcom-ui/{p-a578a6f0.entry.js → p-3ab13b08.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7b3bba17.entry.js → p-45a62a59.entry.js} +1 -1
- package/dist/bromcom-ui/{p-16c7679f.entry.js → p-45bbab2f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5efac4c9.entry.js → p-489ad4bc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f72e7e82.entry.js → p-522574c5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fbd97b73.entry.js → p-5745d083.entry.js} +1 -1
- package/dist/bromcom-ui/{p-138fbaec.entry.js → p-5e42ff07.entry.js} +1 -1
- package/dist/bromcom-ui/{p-082e82d2.entry.js → p-613219a8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-41845a80.entry.js → p-689f1927.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b414e783.entry.js → p-71072f92.entry.js} +1 -1
- package/dist/bromcom-ui/p-76fb1269.entry.js +1 -0
- package/dist/bromcom-ui/{p-4e9bac37.entry.js → p-7af7e2e0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6b0beb02.entry.js → p-811bb03a.entry.js} +1 -1
- package/dist/bromcom-ui/p-8861889b.entry.js +1 -0
- package/dist/bromcom-ui/{p-3373816b.entry.js → p-8a44193c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-14640d95.entry.js → p-9b2d9cae.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bc394d89.entry.js → p-a0b6c125.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c05b0867.entry.js → p-a1d32eca.entry.js} +1 -1
- package/dist/bromcom-ui/{p-07aef975.entry.js → p-b1f9c4bd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-696e433b.entry.js → p-b63d2428.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bba86e15.entry.js → p-b6660da9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-79484032.entry.js → p-bd03a436.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8099c451.js → p-e0a053fb.js} +1 -1
- package/dist/bromcom-ui/{p-89805518.entry.js → p-e10fcf81.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9b03f34e.entry.js → p-e60363c7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-861c1c38.entry.js → p-e9ee2044.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0d4564e3.entry.js → p-ea6b869c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e3ccb280.entry.js → p-eefe8660.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7ba63e35.entry.js → p-fa30e46d.entry.js} +1 -1
- package/package.json +3 -2
- package/dist/bromcom-ui/p-054aad50.entry.js +0 -1
- package/dist/bromcom-ui/p-406a7903.entry.js +0 -1
- package/dist/bromcom-ui/p-5c9027ac.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 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}
|