bromcom-ui 2.5.3-rc.1 → 2.5.3-rc.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.
Files changed (61) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-6edd144b.entry.js → p-00a542c5.entry.js} +1 -1
  3. package/dist/bromcom-ui/p-04097012.js +1 -0
  4. package/dist/bromcom-ui/p-07f9b665.entry.js +1 -0
  5. package/dist/bromcom-ui/p-09d4f2e5.entry.js +1 -0
  6. package/dist/bromcom-ui/{p-f4e7e180.entry.js → p-0b433810.entry.js} +1 -1
  7. package/dist/bromcom-ui/p-11af2ec3.entry.js +1 -0
  8. package/dist/bromcom-ui/{p-4be2457e.entry.js → p-12a125d4.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-deb484ce.js → p-17e96453.js} +1 -1
  10. package/dist/bromcom-ui/{p-4fe2eca6.entry.js → p-181a3027.entry.js} +1 -1
  11. package/dist/bromcom-ui/p-1c08b6bc.entry.js +1 -0
  12. package/dist/bromcom-ui/{p-180385fb.js → p-250a090d.js} +1 -1
  13. package/dist/bromcom-ui/{p-48b89cfc.entry.js → p-30a79e5f.entry.js} +1 -1
  14. package/dist/bromcom-ui/p-5274261a.entry.js +1 -0
  15. package/dist/bromcom-ui/{p-8d4017a2.js → p-5609cb2a.js} +1 -1
  16. package/dist/bromcom-ui/{p-ea9cecf1.entry.js → p-56dbe576.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-5e3edf7f.entry.js → p-5eea3e35.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-68ff64de.js +1 -0
  19. package/dist/bromcom-ui/{p-9f59ede1.entry.js → p-69731990.entry.js} +1 -1
  20. package/dist/bromcom-ui/p-72c62012.js +1 -0
  21. package/dist/bromcom-ui/p-76b13530.entry.js +1 -0
  22. package/dist/bromcom-ui/{p-f122f088.entry.js → p-7fc0bb15.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-624e2a34.entry.js → p-800bf461.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-47690550.entry.js → p-82a4814e.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-0e0c0619.js → p-89287174.js} +1 -1
  26. package/dist/bromcom-ui/{p-0a03a3f4.entry.js → p-98f8c253.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-a4b14e6e.entry.js +1 -0
  28. package/dist/bromcom-ui/{p-e3bfe338.js → p-a80ff3e5.js} +1 -1
  29. package/dist/bromcom-ui/{p-f2d094c0.entry.js → p-a86d8d2d.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-a8868972.entry.js +1 -0
  31. package/dist/bromcom-ui/{p-109ad130.entry.js → p-af22056c.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-4461903f.entry.js → p-b27c6850.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-8246ea20.entry.js → p-ce57bc93.entry.js} +1 -1
  34. package/dist/bromcom-ui/p-d203a83d.entry.js +1 -0
  35. package/dist/bromcom-ui/p-d2980ad0.entry.js +1 -0
  36. package/dist/bromcom-ui/p-d6440c77.entry.js +1 -0
  37. package/dist/bromcom-ui/{p-e4d0d7d7.entry.js → p-dd71b7c0.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-a1ac62bd.entry.js → p-deb573a4.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-e9e25186.entry.js +1 -0
  40. package/dist/bromcom-ui/p-fc71426e.js +1 -0
  41. package/package.json +1 -1
  42. package/dist/bromcom-ui/p-0a8a0875.js +0 -1
  43. package/dist/bromcom-ui/p-12302a6e.entry.js +0 -1
  44. package/dist/bromcom-ui/p-2b39c8ef.js +0 -1
  45. package/dist/bromcom-ui/p-326eed81.entry.js +0 -1
  46. package/dist/bromcom-ui/p-3ef7598c.entry.js +0 -1
  47. package/dist/bromcom-ui/p-66ba7ea5.js +0 -1
  48. package/dist/bromcom-ui/p-69129e83.entry.js +0 -1
  49. package/dist/bromcom-ui/p-6d02581f.entry.js +0 -1
  50. package/dist/bromcom-ui/p-7c45a306.entry.js +0 -1
  51. package/dist/bromcom-ui/p-822025af.entry.js +0 -1
  52. package/dist/bromcom-ui/p-87aa5ba4.entry.js +0 -1
  53. package/dist/bromcom-ui/p-929c7d5a.entry.js +0 -1
  54. package/dist/bromcom-ui/p-a9912906.entry.js +0 -1
  55. package/dist/bromcom-ui/p-ad1b210c.entry.js +0 -1
  56. package/dist/bromcom-ui/p-bb085f18.js +0 -1
  57. package/dist/bromcom-ui/p-c338a4e8.js +0 -1
  58. package/dist/bromcom-ui/p-dd148810.js +0 -1
  59. package/dist/bromcom-ui/p-f3490aef.entry.js +0 -1
  60. package/dist/bromcom-ui/p-f4f5a4b4.entry.js +0 -1
  61. package/dist/bromcom-ui/p-fba84599.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{h as e,r as s,c as t,g as i}from"./p-74df82e2.js";import"./p-112455b1.js";import{c as o}from"./p-7294ec8e.js";import{B as c}from"./p-7e73190d.js";import{G as l}from"./p-0e0c0619.js";import"./p-6d018a8f.js";import{C as r}from"./p-312efff7.js";import{e as a}from"./p-e3bfe338.js";import{N as n}from"./p-44d6172f.js";var h;!function(e){e.black="black",e.white="white",e["prime-blue"]="prime-blue",e.grey="grey",e.blue="blue",e.warmyellow="warmyellow",e.yellow="yellow",e.limegreen="limegreen",e.red="red",e.darkorange="darkorange",e.orange="orange",e.green="green",e.turquosie="turquosie",e.cobaltblue="cobaltblue",e.magenta="magenta",e.purple="purple",e["bc-red"]="bc-red",e["bc-blue"]="bc-blue",e["bc-green"]="bc-green",e["bc-orange"]="bc-orange"}(h||(h={}));const d=({_id:s,color:t,customStyle:i,size:l,checked:d,hidden:m,value:p,type:b,onDismiss:u,onSelect:f})=>{!l&&(l=c.FontSize["size-1"]),console.log(b===c.TagType.dismissable);const g=(e,s=!1)=>(n.isNumber(e)&&(e=c.FontSize["size-"+e]||c.FontSize["size-4"]),s?+(c.FontSizeValue[e]||c.FontSizeValue["size-4"])+2:e),y=o("bcm-tag__content",b,g(l)),k=o("bcm-tag",{hidden:m}),j=g(l,!0);return e("div",{id:s,class:o(k,{checked:d})},e("span",{hidden:!0},e("slot",null)),e("span",{class:y,style:(e=>{if((b===c.TagType.basic||b==c.TagType.dismissable)&&h[e])return{color:a(r,h[e]+"-6"),borderColor:a(r,h[e]+"-3"),backgroundColor:a(r,h[e]+"-1")}})(t),onClick:e=>f(e)},b===c.TagType.add&&e("span",{class:"left"},e("bcm-old-icon",{icon:"plus",type:"outlined",color:"grey-8",size:j})),b===c.TagType.checkable&&e("input",{type:"checkbox",checked:d}),e("span",{class:"value",style:i},p),b===c.TagType.dismissable&&e("span",{class:"right close-button",onClick:e=>u(e)},e("i",{class:"bcm-fal bcm-fa-times"}))))},m=class{constructor(e){s(this,e),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=l.UID(),this._internal_id=l.UID(),this.hidden=!1,this.value="",this.type=c.TagType.basic,this.checked=!1,this.size=c.FontSize["size-1"],this.closeFunc=e=>e,this.selectFunc=e=>e}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:s,color:t,value:i,customStyle:o,size:l,hidden:r,checked:a}=this;return console.log(s),e(d,{size:l,hidden:r,color:t,customStyle:o,checked:a,value:i,type:c.TagType[s],onSelect:e=>{this.bcmTagSelect.emit(e),this.selectFunc({event:e,id:this._id})},onDismiss:e=>{this.handleClose(),this.closeFunc(e)}})}get el(){return i(this)}};export{m as bcm_tag}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e,H as i,g as a}from"./p-74df82e2.js";import"./p-112455b1.js";import{c as h}from"./p-7294ec8e.js";import{G as c}from"./p-0e0c0619.js";import"./p-a5403cdb.js";import"./p-6d018a8f.js";import{A as p}from"./p-43a2dc90.js";import{s as r}from"./p-bb085f18.js";const n=class{constructor(e){t(this,e),this.dataIsLoaded=s(this,"data-is-loaded",7),this.bcmChangeHidden=s(this,"bcm-change-hidden",7),this.hidden=!1,this._id=c.UID(),this.status="default",this.loading=!1,this.valid=!0,this.active=!1,this.isLast=!1,this.disabled=!1}componentDidLoad(){this.isLast&&this.dataIsLoaded.emit(!0)}getStepper(){return this.el.closest("bcm-stepper")||null}activeChanged(){if(this.active){const t=this.getStepper();t&&r.changeStepDisabled(t.id,this._id,!1)}}statusChange(){const t=this.getStepper();t&&r.changeStepStatus(t.id,this._id,this.status)}hiddenChange(t,s){const e=this.getStepper();t!==s&&e&&!this.active&&this.bcmChangeHidden.emit(!0)}render(){const{hidden:t,valid:s,active:a}=this,c=h("bcm-stepper__step",s?"bcm-stepper__step-valid":"bcm-stepper__step-invalid",{"bcm-stepper__step-active":a,hidden:t});return e(i,{class:c},e("slot",null))}get el(){return a(this)}static get watchers(){return{active:["activeChanged"],status:["statusChange"],hidden:["hiddenChange"]}}};!function(t,s,e,i){var a,h=arguments.length,c=h<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,s,e,i);else for(var p=t.length-1;p>=0;p--)(a=t[p])&&(c=(h<3?a(c):h>3?a(s,e,c):a(s,e))||c);h>3&&c&&Object.defineProperty(s,e,c)}([p("title")],n.prototype,"_title",void 0);export{n as bcm_step}