bromcom-ui 2.5.3-rc.5 → 2.5.3-rc.8

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 (57) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/{p-ba018693.entry.js → p-15136124.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-2321379f.entry.js → p-17f685ea.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-4b3d221f.entry.js → p-1875bdc8.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-5d501f29.entry.js → p-1a2ab25a.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-32364231.entry.js → p-2782fecb.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-3263f20b.entry.js +1 -0
  9. package/dist/bromcom-ui/p-3d28cef2.entry.js +1 -0
  10. package/dist/bromcom-ui/p-430d7966.entry.js +1 -0
  11. package/dist/bromcom-ui/{p-5609cb2a.js → p-52455882.js} +1 -1
  12. package/dist/bromcom-ui/p-5632fdf3.entry.js +1 -0
  13. package/dist/bromcom-ui/p-5f3c0fe2.js +1 -0
  14. package/dist/bromcom-ui/{p-c9608781.entry.js → p-721d1cd6.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-f847893e.entry.js → p-77803b18.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-6a647a28.entry.js → p-77e897f5.entry.js} +1 -1
  17. package/dist/bromcom-ui/p-7c6bd833.entry.js +1 -0
  18. package/dist/bromcom-ui/{p-5a44dd0c.js → p-7d0feff7.js} +1 -1
  19. package/dist/bromcom-ui/{p-95640267.entry.js → p-7fb6a598.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-cb6103d8.entry.js → p-8de083dd.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-92bdc903.entry.js +1 -0
  22. package/dist/bromcom-ui/{p-20a71b63.entry.js → p-a0cc0d7a.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-2579dc31.entry.js → p-afa245fc.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-afac41f4.entry.js +1 -0
  25. package/dist/bromcom-ui/p-b99834cd.js +1 -0
  26. package/dist/bromcom-ui/{p-1925660a.entry.js → p-bd9ba462.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-bebcb291.entry.js +1 -0
  28. package/dist/bromcom-ui/{p-acb7017e.entry.js → p-c5687e29.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-660bd6d5.entry.js → p-c87e24cf.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-cd935626.entry.js +1 -0
  31. package/dist/bromcom-ui/p-ce78003c.js +1 -0
  32. package/dist/bromcom-ui/p-de0ef1a8.entry.js +1 -0
  33. package/dist/bromcom-ui/{p-17fb4985.entry.js → p-e3c75ba9.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-d45ec4b1.entry.js → p-e70912b4.entry.js} +1 -1
  35. package/dist/bromcom-ui/p-e79d841d.entry.js +1 -0
  36. package/dist/bromcom-ui/p-ebe71480.entry.js +1 -0
  37. package/dist/bromcom-ui/{p-4fd8d0d5.entry.js → p-ed26b2be.entry.js} +1 -1
  38. package/dist/bromcom-ui/p-effc0c8f.js +1 -0
  39. package/dist/bromcom-ui/p-f0b35e4b.entry.js +1 -0
  40. package/dist/bromcom-ui/p-f5d57ccd.js +1 -0
  41. package/package.json +3 -3
  42. package/dist/bromcom-ui/p-0730ede4.entry.js +0 -1
  43. package/dist/bromcom-ui/p-09cef442.entry.js +0 -1
  44. package/dist/bromcom-ui/p-0b7b25d4.js +0 -1
  45. package/dist/bromcom-ui/p-136d305e.entry.js +0 -1
  46. package/dist/bromcom-ui/p-3b2c4149.entry.js +0 -1
  47. package/dist/bromcom-ui/p-578d57f8.entry.js +0 -1
  48. package/dist/bromcom-ui/p-63d1dc9d.entry.js +0 -1
  49. package/dist/bromcom-ui/p-727e9696.js +0 -1
  50. package/dist/bromcom-ui/p-72c62012.js +0 -1
  51. package/dist/bromcom-ui/p-7cd6216d.entry.js +0 -1
  52. package/dist/bromcom-ui/p-94eba718.entry.js +0 -1
  53. package/dist/bromcom-ui/p-984d03f1.entry.js +0 -1
  54. package/dist/bromcom-ui/p-9c258e11.js +0 -1
  55. package/dist/bromcom-ui/p-b5d21d45.entry.js +0 -1
  56. package/dist/bromcom-ui/p-df61df30.js +0 -1
  57. package/dist/bromcom-ui/p-f8c83927.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e}from"./p-9d960649.js";import{G as h}from"./p-9c258e11.js";import{B as a}from"./p-7e73190d.js";import"./p-112455b1.js";import{c as r}from"./p-7294ec8e.js";import"./p-6d018a8f.js";import{d as n}from"./p-a80ff3e5.js";import{C as l}from"./p-b43213d3.js";import{I as c}from"./p-5a44dd0c.js";var o;!function(t){t.none="none",t.both="both",t.horizontal="horizontal",t.vertical="vertical",t.initial="initial",t.inherit="inherit"}(o||(o={}));const d=class{constructor(i){t(this,i),this.focus=s(this,"bcm-focus",7),this.blur=s(this,"bcm-blur",7),this.clear=s(this,"bcm-clear",7),this.change=s(this,"bcm-change",7),this.input=s(this,"bcm-input",7),this._id=h.UID(),this._internal_id=h.UID(),this.hidden=!1,this.required=!1,this.noCaption=!1,this.captionType=a.Status.default,this.rows=3,this.size=a.Size.medium,this.readonly=!1,this.resize=o.vertical,this.fullWidth=!1,this.focused=!1}connectedCallback(){this.captionCache=this.caption,this.captionTypeCache=this.captionType}async onBcmFocus(){this.textarea.focus()}async onBcmBlur(){this.textarea.blur()}async onBcmSelect(){this.textarea.select()}async set(t){await this.setValue(t)}async get(){return this.value||null}async setValue(t){return this.textarea.value=t,this.value=t,this.handleChange(),t}async setClear(){return this.textarea.value="",this.value="",await n(10),Promise.resolve()}async resetCaption(){this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null}async getValue(){return this.value}watchValue(){this.handleChange()}handleFocus(){this.focused=!0,this.focus.emit()}handleBlur(){this.focused=!1,this.blur.emit()}handleChange(){this.value=this.textarea.value,this.change.emit(this.value)}handleInput(){this.value=this.textarea.value,this.input.emit(this.value)}handleClear(t){this.textarea.value="",this.value="",this.clear.emit(),this.textarea.focus(),t.stopPropagation()}render(){const{_id:t,hidden:s,readonly:h,fullWidth:n,size:o,rows:d,disabled:p,clearable:u,label:m,focused:b,noCaption:f,caption:y,captionError:C,captionType:g,value:j,resize:w,maxLength:v,placeholder:B,required:x}=this,z=r("bcm-input",{hidden:s,"full-width":n});return i(e,{class:z},m&&i("bcm-label",{type:g,value:m,required:x,htmlFor:t}),i(c,{elementType:a.HtmlElementType.textarea,id:t,value:j,rows:d,disabled:p,maxLength:v,placeholder:B,clearable:u,resize:w,readonly:h,size:o,focused:b,handleFocus:()=>this.handleFocus(),handleBlur:()=>this.handleBlur(),handleChange:()=>this.handleChange(),handleInput:()=>this.handleInput(),handleClear:t=>this.handleClear(t),ref:t=>this.textarea=t}),i(l,{noCaption:f,captionType:g,captionError:C,caption:y,value:j,maxLength:v}))}static get watchers(){return{value:["watchValue"]}}};export{d as bcm_textarea}
1
+ import{r as t,c as s,h as i,H as e}from"./p-9d960649.js";import"./p-112455b1.js";import{c as h}from"./p-7294ec8e.js";import{G as a}from"./p-effc0c8f.js";import{B as r}from"./p-7e73190d.js";import{d as n}from"./p-a80ff3e5.js";import"./p-6d018a8f.js";import{C as l}from"./p-b43213d3.js";import{I as c}from"./p-7d0feff7.js";var o;!function(t){t.none="none",t.both="both",t.horizontal="horizontal",t.vertical="vertical",t.initial="initial",t.inherit="inherit"}(o||(o={}));const d=class{constructor(i){t(this,i),this.focus=s(this,"bcm-focus",7),this.blur=s(this,"bcm-blur",7),this.clear=s(this,"bcm-clear",7),this.change=s(this,"bcm-change",7),this.input=s(this,"bcm-input",7),this._id=a.UID(),this._internal_id=a.UID(),this.hidden=!1,this.required=!1,this.noCaption=!1,this.captionType=r.Status.default,this.rows=3,this.size=r.Size.medium,this.readonly=!1,this.resize=o.vertical,this.fullWidth=!1,this.focused=!1}connectedCallback(){this.captionCache=this.caption,this.captionTypeCache=this.captionType}async onBcmFocus(){this.textarea.focus()}async onBcmBlur(){this.textarea.blur()}async onBcmSelect(){this.textarea.select()}async set(t){await this.setValue(t)}async get(){return this.value||null}async setValue(t){return this.textarea.value=t,this.value=t,this.handleChange(),t}async setClear(){return this.textarea.value="",this.value="",await n(10),Promise.resolve()}async resetCaption(){this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null}async getValue(){return this.value}watchValue(){this.handleChange()}handleFocus(){this.focused=!0,this.focus.emit()}handleBlur(){this.focused=!1,this.blur.emit()}handleChange(){this.value=this.textarea.value,this.change.emit(this.value)}handleInput(){this.value=this.textarea.value,this.input.emit(this.value)}handleClear(t){this.textarea.value="",this.value="",this.clear.emit(),this.textarea.focus(),t.stopPropagation()}render(){const{_id:t,hidden:s,readonly:a,fullWidth:n,size:o,rows:d,disabled:p,clearable:u,label:m,focused:f,noCaption:b,caption:y,captionError:C,captionType:g,value:j,resize:w,maxLength:v,placeholder:B,required:x}=this,z=h("bcm-input",{hidden:s,"full-width":n});return i(e,{class:z},m&&i("bcm-label",{type:g,value:m,required:x,htmlFor:t}),i(c,{elementType:r.HtmlElementType.textarea,id:t,value:j,rows:d,disabled:p,maxLength:v,placeholder:B,clearable:u,resize:w,readonly:a,size:o,focused:f,handleFocus:()=>this.handleFocus(),handleBlur:()=>this.handleBlur(),handleChange:()=>this.handleChange(),handleInput:()=>this.handleInput(),handleClear:t=>this.handleClear(t),ref:t=>this.textarea=t}),i(l,{noCaption:b,captionType:g,captionError:C,caption:y,value:j,maxLength:v}))}static get watchers(){return{value:["watchValue"]}}};export{d as bcm_textarea}