bromcom-ui 2.7.23-1 → 2.7.23-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.esm.js +1 -1
- package/dist/bromcom-ui/global/global.js +13 -13
- package/dist/bromcom-ui/{p-b84d36ec.entry.js → p-0aec4539.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f77107d8.entry.js → p-12789459.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f0395f5a.entry.js → p-152b2698.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3de14529.entry.js → p-1623bf66.entry.js} +1 -1
- package/dist/bromcom-ui/{p-30a0df61.entry.js → p-3425340e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-75935aa1.entry.js → p-47c9911c.entry.js} +1 -1
- package/dist/bromcom-ui/p-5741a6d1.js +5 -0
- package/dist/bromcom-ui/{p-a6c5d57e.entry.js → p-61b467af.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8f891f59.js → p-69970cc1.js} +1 -1
- package/dist/bromcom-ui/{p-59c64f1e.entry.js → p-742c192a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-96b85605.entry.js → p-756f1c23.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3c30d4d9.entry.js → p-77e75983.entry.js} +1 -1
- package/dist/bromcom-ui/p-7ee2b186.entry.js +5 -0
- package/dist/bromcom-ui/p-8e8d1f6c.js +5 -0
- package/dist/bromcom-ui/{p-a72c4382.entry.js → p-92852483.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4cacbecc.entry.js → p-9b5b8348.entry.js} +1 -1
- package/dist/bromcom-ui/{p-26482c36.entry.js → p-9e9df57d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-da876901.entry.js → p-a3e185a2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-97af1110.js → p-aab283fc.js} +1 -1
- package/dist/bromcom-ui/{p-c67b182a.entry.js → p-b1960c30.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7c229289.entry.js → p-b509f8e5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-78a5b566.entry.js → p-bbad0d0b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8f80435c.entry.js → p-c0a47f3b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-640bdbfe.entry.js → p-c2f071c3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-79cf7a7f.entry.js → p-c69baeaf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-564a4bcf.entry.js → p-d649c92d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e19790cc.entry.js → p-e20adb75.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f3f94eec.entry.js → p-e88ab3fd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1ed03d82.entry.js → p-ed99797b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a55fa840.entry.js → p-f2774d37.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e50904fc.entry.js → p-f31160e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-492f79c5.js → p-f8ab0d84.js} +1 -1
- package/dist/bromcom-ui/{p-e4fd5844.entry.js → p-fe9565e7.entry.js} +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-4b282fae.js +0 -5
- package/dist/bromcom-ui/p-b7400791.js +0 -5
- package/dist/bromcom-ui/p-ca8302ae.entry.js +0 -5
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import{s}from"./p-97af1110.js";class a{}a.isNumber=a=>s((()=>/^[0-9]+$/i.test(a))),a.convertToNumber=a=>s((()=>Number(a))),a.replaceNumber=a=>s((()=>a.replace(/[^0-9]/g,""))),a.replaceFloat=a=>s((()=>a.replace(/[^0-9.]/g,""))),a.toFixed=(a,r)=>s((()=>a.toFixed(r))),a.parseFloatFixed=(r,e)=>s((()=>parseFloat(a.replaceFloat(r)).toFixed(e))),a.getDecimalLength=a=>s((()=>a.split(".")[1]?a.split(".")[1].length:0)),a.toNumber=a=>s((()=>Number(a.replace(/[^0-9.]/g,""))));export{a as N}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
function n(n){const e=document.head,o=document.createElement("script");Object.keys(n).forEach((e=>{o[e]=n[e]})),e.appendChild(o)}n({src:"https://kit.fontawesome.com/5e86bea963.js",crossOrigin:"anonymous"}),n({innerHTML:async function(n,e=300){return new Promise((async function(o,t){let c=document.getElementById(n);c?o(c):(document.addEventListener("bcm-is-load",(async t=>{if(t.target.id==n)return document.removeEventListener("bcm-is-load",t),c=document.getElementById(n),o(c);await new Promise((n=>setTimeout(n,e))),document.removeEventListener("bcm-is-load",t)})),await new Promise((n=>setTimeout(n,e))),t(`Selector ${n} not found`))}))}.toString()});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import{r as t,c as s,h as e,H as i,g as a}from"./p-c34df481.js";import{c as h}from"./p-21260645.js";import{I as c}from"./p-3d6c73ff.js";import{A as r}from"./p-4fa7bc63.js";import{G as n}from"./p-97af1110.js";import{s as p}from"./p-8f891f59.js";import"./p-c5fca13b.js";var o=function(t,s,e,i){var a,h=arguments.length,c=h<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 r=t.length-1;r>=0;r--)(a=t[r])&&(c=(h<3?a(c):h>3?a(s,e,c):a(s,e))||c);return h>3&&c&&Object.defineProperty(s,e,c),c};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=n.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&&p.changeStepDisabled(t.id,this._id,!1)}}statusChange(){const t=this.getStepper();t&&p.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,c=h("bcm-stepper__step",s?"bcm-stepper__step-valid":"bcm-stepper__step-invalid",{"bcm-stepper__step-active":a,hidden:t});return e(i,{class:c},e("slot",null))}get el(){return a(this)}static get watchers(){return{active:["activeChanged"],status:["statusChange"],hidden:["hiddenChange"]}}};o([c()],d.prototype,"el",void 0),o([r("title")],d.prototype,"_title",void 0);export{d as bcm_step}
|