bromcom-ui 2.6.2-rc.4 → 2.6.2-rc.7

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 (35) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-bca6ad80.entry.js → p-01adb7b7.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-14a01c99.entry.js → p-0d95fb7f.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-b1f64013.entry.js → p-1fdae6b4.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-599d3d84.entry.js → p-268ac3f3.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-9d1fb4ad.entry.js → p-4021073f.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-5421ac6c.entry.js → p-4037c37e.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-4308e76a.entry.js → p-46e61ea1.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-d15e29c8.entry.js → p-4b701f60.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-69bccbbc.js → p-52aa51ce.js} +1 -1
  11. package/dist/bromcom-ui/{p-cc15d4c3.entry.js → p-57d75242.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-050a804f.entry.js → p-59a05aaa.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-ba062e32.entry.js → p-5d4fe0a9.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-4e1cc302.entry.js → p-68159e46.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-60ad80b9.entry.js → p-6b14a761.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-559a8618.entry.js → p-71d066fb.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-4c4c041a.entry.js → p-7227b23c.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-73eecb56.entry.js +1 -0
  19. package/dist/bromcom-ui/{p-419460c7.entry.js → p-9be362b8.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-f6c14afb.entry.js → p-9fc576cc.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-eff1e78e.entry.js → p-aa2e4ead.entry.js} +1 -1
  22. package/dist/bromcom-ui/p-abb13d19.js +1 -0
  23. package/dist/bromcom-ui/{p-5f329991.entry.js → p-cf9cdcdb.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-9e837d41.entry.js → p-d9fb5e82.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-f06fe023.entry.js → p-dce28227.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-3d40f551.entry.js → p-ea1b3d1b.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-0e2a6011.entry.js → p-ed6cb78d.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-a2c8f6a9.entry.js → p-f0a83e99.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-c8c705d8.entry.js → p-f5387ae1.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-9d1353f5.entry.js → p-f5e3f6f2.entry.js} +1 -1
  31. package/dist/bromcom-ui/p-f97bb531.entry.js +1 -0
  32. package/package.json +1 -1
  33. package/dist/bromcom-ui/p-016b55b6.entry.js +0 -1
  34. package/dist/bromcom-ui/p-80d10b1b.entry.js +0 -1
  35. package/dist/bromcom-ui/p-e3137520.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as s,h as e,H as i,g as a}from"./p-9d960649.js";import{G as r}from"./p-69bccbbc.js";import"./p-112455b1.js";import{c as h}from"./p-7294ec8e.js";import"./p-6d018a8f.js";import"./p-a8b797d7.js";import{I as c}from"./p-407ce259.js";import{A as p}from"./p-6e266ed0.js";import{s as o}from"./p-e3137520.js";var n=function(t,s,e,i){var a,r=arguments.length,h=r<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,s,e,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(h=(r<3?a(h):r>3?a(s,e,h):a(s,e))||h);return r>3&&h&&Object.defineProperty(s,e,h),h};const d=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=r.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&&o.changeStepDisabled(t.id,this._id,!1)}}statusChange(){const t=this.getStepper();t&&o.changeStepStatus(t.id,this._id,this.status)}hiddenChange(t,s){const e=this.getStepper();t!==s&&e&&!this.active&&this.bcmChangeHidden.emit(t)}render(){const{hidden:t,valid:s,active:a}=this,r=h("bcm-stepper__step",s?"bcm-stepper__step-valid":"bcm-stepper__step-invalid",{"bcm-stepper__step-active":a,hidden:t});return e(i,{class:r},e("slot",null))}get el(){return a(this)}static get watchers(){return{active:["activeChanged"],status:["statusChange"],hidden:["hiddenChange"]}}};n([c()],d.prototype,"el",void 0),n([p("title")],d.prototype,"_title",void 0);export{d as bcm_step}
1
+ import{r as t,c as s,h as e,H as i,g as a}from"./p-9d960649.js";import{G as r}from"./p-52aa51ce.js";import"./p-112455b1.js";import{c as h}from"./p-7294ec8e.js";import"./p-6d018a8f.js";import"./p-a8b797d7.js";import{I as p}from"./p-407ce259.js";import{A as c}from"./p-6e266ed0.js";import{s as o}from"./p-abb13d19.js";var n=function(t,s,e,i){var a,r=arguments.length,h=r<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,s,e,i);else for(var p=t.length-1;p>=0;p--)(a=t[p])&&(h=(r<3?a(h):r>3?a(s,e,h):a(s,e))||h);return r>3&&h&&Object.defineProperty(s,e,h),h};const d=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=r.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&&o.changeStepDisabled(t.id,this._id,!1)}}statusChange(){const t=this.getStepper();t&&o.changeStepStatus(t.id,this._id,this.status)}hiddenChange(t,s){const e=this.getStepper();t!==s&&e&&!this.active&&this.bcmChangeHidden.emit(t)}render(){const{hidden:t,valid:s,active:a}=this,r=h("bcm-stepper__step",s?"bcm-stepper__step-valid":"bcm-stepper__step-invalid",{"bcm-stepper__step-active":a,hidden:t});return e(i,{class:r},e("slot",null))}get el(){return a(this)}static get watchers(){return{active:["activeChanged"],status:["statusChange"],hidden:["hiddenChange"]}}};n([p()],d.prototype,"el",void 0),n([c("title")],d.prototype,"_title",void 0);export{d as bcm_step}
@@ -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-69bccbbc.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 c}from"./p-b43213d3.js";import{I as l}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(l,{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(c,{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-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}