bromcom-ui 2.6.2-rc.1 → 2.6.2-rc.2
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.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/p-175be4f6.entry.js +1 -0
- package/dist/bromcom-ui/{p-3eada5da.entry.js → p-1ac0a418.entry.js} +1 -1
- package/dist/bromcom-ui/p-21d3d5f8.entry.js +1 -0
- package/dist/bromcom-ui/{p-ecc440c0.entry.js → p-2b2af2b7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-919b8d62.entry.js → p-4d50937f.entry.js} +1 -1
- package/dist/bromcom-ui/p-4d60a245.entry.js +1 -0
- package/dist/bromcom-ui/{p-dc7fd238.entry.js → p-53e90cc7.entry.js} +1 -1
- package/dist/bromcom-ui/p-56eb12fb.entry.js +1 -0
- package/dist/bromcom-ui/{p-7e73190d.js → p-60271ed7.js} +1 -1
- package/dist/bromcom-ui/{p-033d4da7.entry.js → p-60c93508.entry.js} +1 -1
- package/dist/bromcom-ui/{p-35d7a019.entry.js → p-6f668896.entry.js} +1 -1
- package/dist/bromcom-ui/p-76f8a564.entry.js +1 -0
- package/dist/bromcom-ui/{p-7bc3a736.js → p-7e8b7a25.js} +1 -1
- package/dist/bromcom-ui/{p-44e3abeb.entry.js → p-88947288.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2a982545.entry.js → p-8aa72ee7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-32a5f072.entry.js → p-90299e83.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9950326d.entry.js → p-90541ece.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a20d0bc4.entry.js → p-93755d42.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7f278eb3.entry.js → p-976f5b05.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3a16fe4c.entry.js → p-988ea49a.entry.js} +1 -1
- package/dist/bromcom-ui/p-9aee8ac6.js +1 -0
- package/dist/bromcom-ui/{p-c587a419.entry.js → p-a23b2b20.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f847893e.entry.js → p-a489a6bd.entry.js} +1 -1
- package/dist/bromcom-ui/p-a62cdbe7.js +1 -0
- package/dist/bromcom-ui/{p-7eda3154.entry.js → p-b193b79b.entry.js} +1 -1
- package/dist/bromcom-ui/p-b7e75cee.js +1 -0
- package/dist/bromcom-ui/{p-499dc051.entry.js → p-b873746a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a69c842b.js → p-b8aebe79.js} +1 -1
- package/dist/bromcom-ui/{p-391795a8.js → p-bd08f7d5.js} +1 -1
- package/dist/bromcom-ui/{p-fda217dd.entry.js → p-bdd7ab5c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6201fa37.entry.js → p-c2434e91.entry.js} +1 -1
- package/dist/bromcom-ui/p-c89bac13.entry.js +1 -0
- package/dist/bromcom-ui/{p-e9b1e392.entry.js → p-cf55e6f6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c575d5e.entry.js → p-cf5ad9d4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-18058353.entry.js → p-d0094756.entry.js} +1 -1
- package/dist/bromcom-ui/p-d66fe737.entry.js +1 -0
- package/dist/bromcom-ui/{p-f8031360.js → p-e0182e3c.js} +1 -1
- package/dist/bromcom-ui/{p-ce0d01ca.entry.js → p-e1048959.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d1362d26.js → p-e4a29f1d.js} +1 -1
- package/dist/bromcom-ui/{p-79105792.entry.js → p-ef678571.entry.js} +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-12313045.entry.js +0 -1
- package/dist/bromcom-ui/p-15bf77d0.entry.js +0 -1
- package/dist/bromcom-ui/p-27296867.entry.js +0 -1
- package/dist/bromcom-ui/p-2b39c8ef.js +0 -1
- package/dist/bromcom-ui/p-2d1abb9c.entry.js +0 -1
- package/dist/bromcom-ui/p-4af1fb2b.js +0 -1
- package/dist/bromcom-ui/p-4d8aa25e.entry.js +0 -1
- package/dist/bromcom-ui/p-6f390031.js +0 -1
- package/dist/bromcom-ui/p-b3544e64.entry.js +0 -1
- package/dist/bromcom-ui/p-ccb81d54.entry.js +0 -1
- package/dist/bromcom-ui/p-e135888f.entry.js +0 -1
- package/dist/bromcom-ui/p-faaebe40.js +0 -1
- package/dist/bromcom-ui/p-fd48dffe.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
|
|
1
|
+
import{r as t,c as s,h as i,H as e}from"./p-9d960649.js";import{G as h}from"./p-bd08f7d5.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 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}
|