bromcom-ui 2.6.3-new-ds.1 → 2.6.3-new-ds.4
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-178e3639.entry.js +1 -0
- package/dist/bromcom-ui/{p-afde331f.entry.js → p-1dd857d5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-07a5ed64.entry.js → p-1eb119dd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b9e11d9.entry.js → p-23aae70a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7d6ba726.entry.js → p-303b51ed.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6c0c6fa0.entry.js → p-31d7172f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4d9faa72.entry.js → p-32f17ca2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3d31ba07.entry.js → p-3924c73c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4bfbeaae.entry.js → p-3a898ea4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f889c641.entry.js → p-449faca5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4b3d8b4b.entry.js → p-44cf341c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7b34eaa7.entry.js → p-491bbce6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8a237502.entry.js → p-4f77c6e6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-be2c6d35.entry.js → p-51f40e6e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6250c2c2.entry.js → p-5674bef3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e4258c2a.entry.js → p-59bc3473.entry.js} +1 -1
- package/dist/bromcom-ui/{p-657f87c6.entry.js → p-60bf33ca.entry.js} +1 -1
- package/dist/bromcom-ui/{p-76f2ba63.entry.js → p-66461c9a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5f7aead2.js → p-6695efde.js} +1 -1
- package/dist/bromcom-ui/{p-3b37bf88.entry.js → p-6add756e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6a1d6c08.entry.js → p-6c4bce1c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f98fa816.entry.js → p-6dda7be5.entry.js} +1 -1
- package/dist/bromcom-ui/p-74f00665.entry.js +1 -0
- package/dist/bromcom-ui/p-7a7c340e.entry.js +1 -0
- package/dist/bromcom-ui/p-80661d65.js +1 -0
- package/dist/bromcom-ui/{p-5e468abc.entry.js → p-82c7eaec.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b561c673.entry.js → p-8c37bf7b.entry.js} +1 -1
- package/dist/bromcom-ui/p-92aa06e4.entry.js +1 -0
- package/dist/bromcom-ui/p-97f4c237.entry.js +1 -0
- package/dist/bromcom-ui/p-a4433a78.js +1 -0
- package/dist/bromcom-ui/{p-4ef85f16.entry.js → p-a50e0ace.entry.js} +1 -1
- package/dist/bromcom-ui/{p-70f39ee9.entry.js → p-acce6bff.entry.js} +1 -1
- package/dist/bromcom-ui/p-af43b514.entry.js +1 -0
- package/dist/bromcom-ui/{p-f73c9e38.js → p-affb96a4.js} +1 -1
- package/dist/bromcom-ui/p-b144eb5e.js +1 -0
- package/dist/bromcom-ui/p-b2a54dac.js +1 -0
- package/dist/bromcom-ui/{p-fbc50ad7.entry.js → p-b2bb5eef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b7c0b245.entry.js → p-b3a66ede.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8e42feb5.entry.js → p-ba2ca377.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ad763d62.entry.js → p-c2ff53e2.entry.js} +1 -1
- package/dist/bromcom-ui/p-c60dbaea.entry.js +1 -0
- package/dist/bromcom-ui/p-c9b720ac.entry.js +1 -0
- package/dist/bromcom-ui/p-d29aa885.entry.js +1 -0
- package/dist/bromcom-ui/p-d88c13b2.entry.js +1 -0
- package/dist/bromcom-ui/p-e22b92b7.js +1 -0
- package/dist/bromcom-ui/{p-f7e56e22.entry.js → p-e8867b4e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7633e32f.entry.js → p-e88f930f.entry.js} +1 -1
- package/dist/bromcom-ui/p-ed38e5d2.js +1 -0
- package/dist/bromcom-ui/{p-49dc8a2c.entry.js → p-f2117798.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4c722bca.entry.js → p-fe2aa8c5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9194f1e4.entry.js → p-feb4f34d.entry.js} +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-18d5d41f.entry.js +0 -1
- package/dist/bromcom-ui/p-199b4a02.js +0 -1
- package/dist/bromcom-ui/p-37a801f3.entry.js +0 -1
- package/dist/bromcom-ui/p-6595d6c0.js +0 -1
- package/dist/bromcom-ui/p-66fbf8c0.js +0 -1
- package/dist/bromcom-ui/p-6abcaeed.entry.js +0 -1
- package/dist/bromcom-ui/p-70dd6c32.entry.js +0 -1
- package/dist/bromcom-ui/p-7a9b630a.entry.js +0 -1
- package/dist/bromcom-ui/p-7f0a486c.entry.js +0 -1
- package/dist/bromcom-ui/p-8afe6035.entry.js +0 -1
- package/dist/bromcom-ui/p-8f81f6ad.entry.js +0 -1
- package/dist/bromcom-ui/p-9e7d3618.js +0 -1
- package/dist/bromcom-ui/p-bfe2448b.js +0 -1
- package/dist/bromcom-ui/p-d2c5e3a8.entry.js +0 -1
- package/dist/bromcom-ui/p-ea6f25da.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as n}from"./p-9d960649.js";import{c as a}from"./p-7294ec8e.js";import{B as e}from"./p-af3de684.js";import{s}from"./p-6d018a8f.js";var i,t;!function(n){n.search="fal fa-search",n.email="fal fa-mail",n.tel="fal fa-phone",n.url="fal fa-link"}(i||(i={})),function(n){n[n.small=14]="small",n[n.medium=16]="medium",n[n.large=18]="large"}(t||(t={}));const l=({elementType:t,rows:l,id:c,internalId:o,type:r,placeholder:p,value:u,size:f,pattern:d,unit:m,unitPrefix:x,maxLength:b,disabled:h,clearable:v,focused:y,readonly:g,isPasswordVisible:w,passwordToggle:z,noDefaultIcon:C,inValid:j,captionType:_,resize:k,autocomplete:I,_suffix:T,_prefix:L,changePasswordVisibility:B,handleClear:O,steps:P,ref:V,handleBlur:F,handleFocus:H,handleInput:M,handleChange:D})=>{const q=e.HtmlElementType[t]||e.HtmlElementType.input;r="password"===r&&w?"text":r,u=s((()=>u),""),r=(null==m?void 0:m.length)>0&&!y?"text":r,u=y?u:u+(u&&(null==m?void 0:m.length)>0?" "+m:"");var A=a("bcm-input__container",q===e.HtmlElementType.textarea&&a("bcm-input__textarea","textarea-size-"+e.Size[f],"resize-"+k,"textarea-"+f),q===e.HtmlElementType.input&&a("input-size-"+e.Size[f]),{focused:y,clearable:v,disabled:h,readonly:g,invalid:j,unit:(null==m?void 0:m.length)>0,error:"error"===_});const E=a("caret-container",{unit:(null==m?void 0:m.length)>0,disabled:h||g||j}),G="large"===f?"size-3":"size-2",J=a(G,"unit-prefix");return n("div",{class:A},n("span",{hidden:!0},n("slot",null)),n("span",{class:"input-prefix"},n("slot",{name:"prefix"}),L&&L.length>0&&n("span",{innerHTML:L}),x&&n("span",{class:J},x)),n(q,Object.assign({tabindex:"1",id:c,"bcm-internal-id":o,class:"bcm-input-element "+G},q===e.HtmlElementType.input&&{type:r,autocomplete:I?"on":"off",pattern:d},q===e.HtmlElementType.textarea&&{rows:l,resize:k},{value:u,maxLength:b,placeholder:p,disabled:h,readOnly:g,ref:n=>V(n),onBlur:n=>(n=>{n.target.parentElement.classList.remove("focused"),F(n)})(n),onFocus:n=>(n=>{n.target.parentElement.classList.add("focused"),H(n)})(n),onInput:n=>M(n),onChange:n=>D(n)})),n("span",{class:"input-suffix-content"},v&&!h&&n("span",{class:"input-suffix input-suffix-button input-clear-button",onClick:n=>O(n)},n("bcm-icon",{icon:"fas fa-times-circle"}))),n("span",{class:"input-suffix-content"},("password"===r||"text"===r)&&z&&n("span",{class:"input-suffix input-suffix-button",onClick:()=>B()},n("bcm-icon",{icon:w?"far fa-eye-slash":"far fa-eye"}))),n("span",{class:"input-suffix-content"},Object.keys(i).includes(r)&&!C&&n("span",{class:"input-suffix"},n("bcm-icon",{icon:i[r]}))),n("span",{class:"input-suffix-content"},"number"===r&&n("div",{class:E},n("span",{class:"bcm-input-caret",onClick:()=>P("up")},n("bcm-icon",{icon:"fas fa-caret-up"})),n("span",{class:"bcm-input-caret",onClick:()=>P("down")},n("bcm-icon",{icon:"fas fa-caret-down"})))),n("span",{class:"input-suffix-content"},"number"!==r&&n("span",{class:"input-suffix"},n("slot",{name:"suffix"}),T&&T.length>0&&n("span",{innerHTML:T}))))};export{l as I}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as s}from"./p-9d960649.js";import{S as a}from"./p-66fbf8c0.js";const e=({value:e,className:m,name:n})=>a.isNullOrEmpty(e)?s("span",{class:m},s("slot",Object.assign({},n&&{name:n}))):s("span",{class:m,innerHTML:e});export{e as S}
|
|
@@ -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-f73c9e38.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}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const l={default:{large:16,medium:14,small:14},iconOnly:{large:20,medium:18,small:16}};export{l as i}
|