bromcom-ui 2.6.3-new-ds.6 → 2.6.3-new-ds.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.
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-336851de.entry.js → p-08977dbb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0e304371.entry.js → p-0d3acd50.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e2de821d.entry.js → p-0f36fdc0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-579ccea6.entry.js → p-12326068.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3914ba60.entry.js → p-1275ba64.entry.js} +1 -1
- package/dist/bromcom-ui/{p-498773fa.entry.js → p-157f6037.entry.js} +1 -1
- package/dist/bromcom-ui/{p-22a5cf45.entry.js → p-1605ead8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-01f293ce.entry.js → p-24b206b6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3e1e07fc.entry.js → p-25cd7b33.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ec06fb2f.entry.js → p-30e4ec96.entry.js} +1 -1
- package/dist/bromcom-ui/{p-40e35d93.entry.js → p-3596ee65.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7632628c.entry.js → p-37426589.entry.js} +1 -1
- package/dist/bromcom-ui/{p-65660c16.entry.js → p-5e215247.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ef1b42ba.entry.js → p-6ad55e15.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4a61cf92.entry.js → p-785e041e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b486cae3.js → p-78bec67b.js} +1 -1
- package/dist/bromcom-ui/{p-2d4ecbf0.entry.js → p-7a00c72b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dd93f3b1.entry.js → p-98211e55.entry.js} +1 -1
- package/dist/bromcom-ui/{p-72d1e415.entry.js → p-98ee7339.entry.js} +1 -1
- package/dist/bromcom-ui/{p-89ede8c2.entry.js → p-9ca74cb4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-80df2240.entry.js → p-a4652673.entry.js} +1 -1
- package/dist/bromcom-ui/p-b32132cd.entry.js +1 -0
- package/dist/bromcom-ui/{p-39d9f226.entry.js → p-b34733a8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-62550b36.entry.js → p-b3981e18.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ebbef730.entry.js → p-b56b84d8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-094e55c8.entry.js → p-b750655b.entry.js} +1 -1
- package/dist/bromcom-ui/p-be798ff9.entry.js +1 -0
- package/dist/bromcom-ui/{p-5d7657c4.entry.js → p-c3dc7f60.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9ba0c6fb.entry.js → p-c750fa84.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6e51f300.entry.js → p-ccf0c5a6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5e2c13b6.entry.js → p-d19876c3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-349f7a06.entry.js → p-d1ac618a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dfc7ba99.entry.js → p-e843d994.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7f4b5acb.entry.js → p-e9007811.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9cf7682f.entry.js → p-e9667fc1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-04e3c61c.js → p-eb136c15.js} +1 -1
- package/dist/bromcom-ui/{p-6adef7bc.entry.js → p-edfd9eba.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bdcea326.entry.js → p-eeb92456.entry.js} +1 -1
- package/dist/bromcom-ui/{p-094838e0.entry.js → p-efeb0ebe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b5192846.entry.js → p-f07bed0c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4f5d5e8c.entry.js → p-f2a3b73d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-906cd1d8.entry.js → p-fb6ea0c2.entry.js} +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-32b586bd.entry.js +0 -1
- package/dist/bromcom-ui/p-3a091bcb.entry.js +0 -1
- package/dist/bromcom-ui/p-a4433a78.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-
|
|
1
|
+
import{r as t,c as s,h as i,H as e}from"./p-9d960649.js";import{G as h}from"./p-78bec67b.js";import"./p-6d018a8f.js";import{B as a}from"./p-af3de684.js";import"./p-112455b1.js";import{c as r}from"./p-7294ec8e.js";import{d as n}from"./p-a80ff3e5.js";import{C as l}from"./p-fee1f12b.js";import{I as c}from"./p-ed38e5d2.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(){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:d,disabled:p,clearable:u,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:d,disabled:p,maxLength:v,placeholder:B,clearable:u,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{d as bcm_textarea}
|