bromcom-ui 2.6.2-rc.7 → 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 (70) 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-9be362b8.entry.js → p-009ea4ef.entry.js} +1 -1
  4. package/dist/bromcom-ui/p-054aad50.entry.js +1 -0
  5. package/dist/bromcom-ui/{p-59a05aaa.entry.js → p-07aef975.entry.js} +1 -1
  6. package/dist/bromcom-ui/p-082e82d2.entry.js +1 -0
  7. package/dist/bromcom-ui/{p-ed6cb78d.entry.js → p-0d4564e3.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-12313045.entry.js +1 -0
  9. package/dist/bromcom-ui/{p-268ac3f3.entry.js → p-138fbaec.entry.js} +1 -1
  10. package/dist/bromcom-ui/p-14640d95.entry.js +1 -0
  11. package/dist/bromcom-ui/p-16c7679f.entry.js +1 -0
  12. package/dist/bromcom-ui/{p-cf5ad9d4.entry.js → p-1c575d5e.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-68159e46.entry.js → p-276615cc.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-dce28227.entry.js → p-27734b80.entry.js} +1 -1
  15. package/dist/bromcom-ui/p-2b39c8ef.js +1 -0
  16. package/dist/bromcom-ui/{p-17e96453.js → p-2db6a141.js} +1 -1
  17. package/dist/bromcom-ui/p-3373816b.entry.js +1 -0
  18. package/dist/bromcom-ui/p-373a1ef4.entry.js +1 -0
  19. package/dist/bromcom-ui/{p-a489a6bd.entry.js → p-3b37bf88.entry.js} +1 -1
  20. package/dist/bromcom-ui/p-406a7903.entry.js +1 -0
  21. package/dist/bromcom-ui/{p-f5387ae1.entry.js → p-41845a80.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-2b2af2b7.entry.js → p-4b3d8b4b.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-57d75242.entry.js → p-4e9bac37.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-1fdae6b4.entry.js → p-5c9027ac.entry.js} +1 -1
  25. package/dist/bromcom-ui/p-5efac4c9.entry.js +1 -0
  26. package/dist/bromcom-ui/{p-e0182e3c.js → p-5f7aead2.js} +1 -1
  27. package/dist/bromcom-ui/{p-d9fb5e82.entry.js → p-638cf0e3.entry.js} +1 -1
  28. package/dist/bromcom-ui/p-6595d6c0.js +1 -0
  29. package/dist/bromcom-ui/p-66fbf8c0.js +1 -0
  30. package/dist/bromcom-ui/p-696e433b.entry.js +1 -0
  31. package/dist/bromcom-ui/{p-4037c37e.entry.js → p-6b0beb02.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-71a83f4e.js +1 -0
  33. package/dist/bromcom-ui/{p-f5e3f6f2.entry.js → p-79484032.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-7227b23c.entry.js → p-7b3bba17.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-0d95fb7f.entry.js → p-7ba63e35.entry.js} +1 -1
  36. package/dist/bromcom-ui/p-8099c451.js +1 -0
  37. package/dist/bromcom-ui/{p-6b14a761.entry.js → p-861c1c38.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-f0a83e99.entry.js → p-89805518.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-94456a04.js +1 -0
  40. package/dist/bromcom-ui/{p-4b701f60.entry.js → p-9b03f34e.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-b7e75cee.js → p-9e7d3618.js} +1 -1
  42. package/dist/bromcom-ui/{p-46e61ea1.entry.js → p-a578a6f0.entry.js} +1 -1
  43. package/dist/bromcom-ui/p-af3de684.js +1 -0
  44. package/dist/bromcom-ui/{p-01adb7b7.entry.js → p-b414e783.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-71d066fb.entry.js → p-bba86e15.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-9fc576cc.entry.js → p-bc394d89.entry.js} +1 -1
  47. package/dist/bromcom-ui/p-bfe2448b.js +1 -0
  48. package/dist/bromcom-ui/p-c05b0867.entry.js +1 -0
  49. package/dist/bromcom-ui/p-d48a8f83.entry.js +1 -0
  50. package/dist/bromcom-ui/{p-4021073f.entry.js → p-e3ccb280.entry.js} +1 -1
  51. package/dist/bromcom-ui/p-e4258c2a.entry.js +1 -0
  52. package/dist/bromcom-ui/{p-5d4fe0a9.entry.js → p-f72e7e82.entry.js} +1 -1
  53. package/dist/bromcom-ui/p-fbd97b73.entry.js +1 -0
  54. package/dist/bromcom-ui/p-fee1f12b.js +1 -0
  55. package/package.json +68 -68
  56. package/dist/bromcom-ui/p-52aa51ce.js +0 -1
  57. package/dist/bromcom-ui/p-60271ed7.js +0 -1
  58. package/dist/bromcom-ui/p-6e266ed0.js +0 -1
  59. package/dist/bromcom-ui/p-73eecb56.entry.js +0 -1
  60. package/dist/bromcom-ui/p-963478f0.entry.js +0 -1
  61. package/dist/bromcom-ui/p-9aee8ac6.js +0 -1
  62. package/dist/bromcom-ui/p-a62cdbe7.js +0 -1
  63. package/dist/bromcom-ui/p-aa2e4ead.entry.js +0 -1
  64. package/dist/bromcom-ui/p-abb13d19.js +0 -1
  65. package/dist/bromcom-ui/p-b43213d3.js +0 -1
  66. package/dist/bromcom-ui/p-b8aebe79.js +0 -1
  67. package/dist/bromcom-ui/p-c9cfcb10.entry.js +0 -1
  68. package/dist/bromcom-ui/p-cf9cdcdb.entry.js +0 -1
  69. package/dist/bromcom-ui/p-ea1b3d1b.entry.js +0 -1
  70. package/dist/bromcom-ui/p-f97bb531.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as s,H as e,g as i}from"./p-9d960649.js";import{g as o}from"./p-a80ff3e5.js";import{I as r}from"./p-407ce259.js";const c=class{constructor(s){t(this,s),this.borderless=!1,this.open=!1,this.multiple=!1,this.hidden=!1}handleOpen({target:t,detail:s}){this.multiple||this.el!==t.parentElement||this.qs().forEach((t=>{t.open=t.id===s}))}componentDidLoad(){this.qs().forEach(((t,s)=>{!t.borderless&&(t.borderless=this.borderless),this.qs().length==s+1&&(t.noBorder=!0)}))}qs(){return o(this.el,"bcm-collapse")}render(){const{hidden:t}=this;return s(e,{class:{hidden:t}},s("slot",null))}get el(){return i(this)}};!function(t,s,e,i){var o,r=arguments.length,c=r<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 l=t.length-1;l>=0;l--)(o=t[l])&&(c=(r<3?o(c):r>3?o(s,e,c):o(s,e))||c);r>3&&c&&Object.defineProperty(s,e,c)}([r()],c.prototype,"el",void 0);export{c as bcm_collapse_group}
1
+ import{r as t,h as s,H as e,g as i}from"./p-9d960649.js";import{I as o}from"./p-407ce259.js";import{g as r}from"./p-a80ff3e5.js";const c=class{constructor(s){t(this,s),this.borderless=!1,this.open=!1,this.multiple=!1,this.hidden=!1}handleOpen({target:t,detail:s}){this.multiple||this.el!==t.parentElement||this.qs().forEach((t=>{t.open=t.id===s}))}componentDidLoad(){this.qs().forEach(((t,s)=>{!t.borderless&&(t.borderless=this.borderless),this.qs().length==s+1&&(t.noBorder=!0)}))}qs(){return r(this.el,"bcm-collapse")}render(){const{hidden:t}=this;return s(e,{class:{hidden:t}},s("slot",null))}get el(){return i(this)}};!function(t,s,e,i){var o,r=arguments.length,c=r<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 l=t.length-1;l>=0;l--)(o=t[l])&&(c=(r<3?o(c):r>3?o(s,e,c):o(s,e))||c);r>3&&c&&Object.defineProperty(s,e,c)}([o()],c.prototype,"el",void 0);export{c as bcm_collapse_group}
@@ -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-52aa51ce.js";import{B as a}from"./p-60271ed7.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-b7e75cee.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 p=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(){return await n(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,await n(10),Promise.resolve()}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:p,disabled:u,clearable:d,label:m,focused:b,noCaption:f,caption:y,captionError:w,captionType:C,value:g,resize:j,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:C,value:m,required:x,htmlFor:t}),i(c,{elementType:a.HtmlElementType.textarea,id:t,value:g,rows:p,disabled:u,maxLength:v,placeholder:B,clearable:d,resize:j,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:C,captionError:w,caption:y,value:g,maxLength:v}))}static get watchers(){return{value:["watchValue"]}}};export{p as bcm_textarea}
1
+ import{r as t,c as s,h as i,H as e}from"./p-9d960649.js";import{G as h}from"./p-8099c451.js";import"./p-112455b1.js";import{c as a}from"./p-7294ec8e.js";import{B as r}from"./p-af3de684.js";import"./p-6d018a8f.js";import{d as n}from"./p-a80ff3e5.js";import{C as l}from"./p-fee1f12b.js";import{I as c}from"./p-9e7d3618.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 p=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=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(){return await n(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,await n(10),Promise.resolve()}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:p,disabled:u,clearable:d,label:m,focused:f,noCaption:b,caption:y,captionError:w,captionType:C,value:g,resize:j,maxLength:v,placeholder:B,required:x}=this,z=a("bcm-input",{hidden:s,"full-width":n});return i(e,{class:z},m&&i("bcm-label",{type:C,value:m,required:x,htmlFor:t}),i(c,{elementType:r.HtmlElementType.textarea,id:t,value:g,rows:p,disabled:u,maxLength:v,placeholder:B,clearable:d,resize:j,readonly:h,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:C,captionError:w,caption:y,value:g,maxLength:v}))}static get watchers(){return{value:["watchValue"]}}};export{p as bcm_textarea}