@factoringplus/pl-components-pack-v3 0.1.20 → 0.1.23

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/README.md CHANGED
@@ -1,43 +1,18 @@
1
1
  # pl-components-pack-v3
2
2
 
3
- > Библиотека компонентов Vue 3
3
+ ## Библиотека компонентов Vue 3
4
4
 
5
- В текущей версии есть ряд ограничений по установке пакета в проект.
6
-
7
- - Невозможно добавиь сразу все компоненты библиотеки глобально (через плагин)
8
- - Файл стилей нужно добавлять глобально
9
-
10
- В ближайшее время эти ограничения будут исправлены.
11
-
12
- ## Установка
5
+ ### Установка
13
6
 
14
7
  ```bash
15
8
  npm i @factoringplus/pl-components-pack-v3
16
9
  ```
17
10
 
18
- ### Добавление стилей глобально
19
-
20
- ```bash
21
- // src/main.js
22
- import '@factoringplus/pl-components-pack-v3/dist/style.css';
23
- ```
24
-
25
11
  ### Добавление компонентов в проект
26
12
 
27
13
  ```bash
28
- import { TestViteNpmComponent, PlCurrency } from '@factoringplus/pl-components-pack-v3';
29
- ```
30
-
31
- ## Для разработчиков
32
-
33
- ### Запуск сторибука
34
-
35
- ```bash
36
- npm run storybook
37
- ```
38
-
39
- ### Запуск проекта
14
+ // src/main.js
15
+ import components from '@factoringplus/pl-components-pack-v3';
40
16
 
41
- ```bash
42
- npm run dev
17
+ app.use(components)
43
18
  ```
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "require": "./dist/pl-components-pack-v3.umd.js"
13
13
  }
14
14
  },
15
- "version": "0.1.20",
15
+ "version": "0.1.23",
16
16
  "scripts": {
17
17
  "dev": "vite",
18
18
  "build": "vue-tsc --noEmit && vite build",
@@ -1,13 +0,0 @@
1
- var jn=Object.defineProperty,Gn=Object.defineProperties;var Wn=Object.getOwnPropertyDescriptors;var Ye=Object.getOwnPropertySymbols;var Kn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable;var Ze=(v,i,E)=>i in v?jn(v,i,{enumerable:!0,configurable:!0,writable:!0,value:E}):v[i]=E,$=(v,i)=>{for(var E in i||(i={}))Kn.call(i,E)&&Ze(v,E,i[E]);if(Ye)for(var E of Ye(i))Un.call(i,E)&&Ze(v,E,i[E]);return v},O=(v,i)=>Gn(v,Wn(i));(function(v,i){typeof exports=="object"&&typeof module!="undefined"?i(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],i):(v=typeof globalThis!="undefined"?globalThis:v||self,i(v.PlComponentsPackV3={},v.Vue))})(this,function(v,i){"use strict";function E(e){for(var t=-1,n=e==null?0:e.length,o={};++t<n;){var r=e[t];o[r[0]]=r[1]}return o}const Je=typeof window!="undefined",te=e=>typeof e=="number",Qe=()=>{},et=Object.prototype.hasOwnProperty,be=(e,t)=>et.call(e,t),G=e=>typeof e=="string",W=e=>e!==null&&typeof e=="object",tt=e=>e===void 0;var K=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const nt=i.defineComponent({name:"CircleCheck"}),it={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ot=[i.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"},null,-1),i.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0145.312 45.312l-288 288a32 32 0 01-45.312 0l-160-160a32 32 0 1145.312-45.312L480 626.752l265.344-265.408z"},null,-1)];function rt(e,t,n,o,r,s){return i.openBlock(),i.createElementBlock("svg",it,ot)}var st=K(nt,[["render",rt]]);const at=i.defineComponent({name:"CircleClose"}),lt={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ut=[i.createElementVNode("path",{fill:"currentColor",d:"M466.752 512l-90.496-90.496a32 32 0 0145.248-45.248L512 466.752l90.496-90.496a32 32 0 1145.248 45.248L557.248 512l90.496 90.496a32 32 0 11-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 01-45.248-45.248L466.752 512z"},null,-1),i.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"},null,-1)];function ct(e,t,n,o,r,s){return i.openBlock(),i.createElementBlock("svg",lt,ut)}var ye=K(at,[["render",ct]]);const dt=i.defineComponent({name:"Loading"}),ft={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ht=[i.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"},null,-1)];function pt(e,t,n,o,r,s){return i.openBlock(),i.createElementBlock("svg",ft,ht)}var ve=K(dt,[["render",pt]]);const mt=i.defineComponent({name:"View"}),gt={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},bt=[i.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 110 448 224 224 0 010-448zm0 64a160.192 160.192 0 00-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1)];function yt(e,t,n,o,r,s){return i.openBlock(),i.createElementBlock("svg",gt,bt)}var vt=K(mt,[["render",yt]]);const ne=Symbol(),Se="__elPropsReservedKey";function we(e,t){if(!W(e)||!!e[Se])return e;const{values:n,required:o,default:r,type:s,validator:a}=e,l=n||a?u=>{let m=!1,c=[];if(n&&(c=Array.from(n),be(e,"default")&&c.push(r),m||(m=c.includes(u))),a&&(m||(m=a(u))),!m&&c.length>0){const p=[...new Set(c)].map(g=>JSON.stringify(g)).join(", ");i.warn(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(u)}.`)}return m}:void 0,d={type:W(s)&&Object.getOwnPropertySymbols(s).includes(ne)?s[ne]:s,required:!!o,validator:l,[Se]:!0};return be(e,"default")&&(d.default=r),d}const ie=e=>E(Object.entries(e).map(([t,n])=>[t,we(n,t)])),_=e=>({[ne]:e}),U=_([String,Object,Function]),St={validating:ve,success:st,error:ye},oe=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(t!=null?t:{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},wt=e=>(e.install=Qe,e);function Ft(e,t="px"){if(!e)return"";if(G(e))return e;if(te(e))return`${e}${t}`}const re="update:modelValue",Ct=["default","small","large"],Et=e=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e),Vt=e=>e,kt=["class","style"],$t=/^on[A-Z]/,xt=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=n.concat(kt),r=i.getCurrentInstance();return r?i.computed(()=>{var s;return E(Object.entries((s=r.proxy)==null?void 0:s.$attrs).filter(([a])=>!o.includes(a)&&!(t&&$t.test(a))))}):i.computed(()=>({}))},se=Symbol("elForm"),Fe=Symbol("elFormItem"),Ce=Symbol("buttonGroupContextKey"),It=Symbol(),Ee=e=>{const t=i.getCurrentInstance();return i.computed(()=>{var n,o;return(o=(n=t.proxy)==null?void 0:n.$props[e])!=null?o:void 0})},Ve=i.ref();function ae(e,t=void 0){const n=i.getCurrentInstance()?i.inject(It,Ve):Ve;return e?i.computed(()=>{var o,r;return(r=(o=n.value)==null?void 0:o[e])!=null?r:t}):n}const ke=we({type:String,values:Ct,required:!1}),$e=(e,t={})=>{const n=i.ref(void 0),o=t.prop?n:Ee("size"),r=t.global?n:ae("size"),s=t.form?{size:void 0}:i.inject(se,void 0),a=t.formItem?{size:void 0}:i.inject(Fe,void 0);return i.computed(()=>o.value||i.unref(e)||(a==null?void 0:a.size)||(s==null?void 0:s.size)||r.value||"default")},xe=e=>{const t=Ee("disabled"),n=i.inject(se,void 0);return i.computed(()=>t.value||i.unref(e)||(n==null?void 0:n.disabled)||!1)},Ie=()=>{const e=i.inject(se,void 0),t=i.inject(Fe,void 0);return{form:e,formItem:t}},Mt="el",Nt="is-",P=(e,t,n,o,r)=>{let s=`${e}-${t}`;return n&&(s+=`-${n}`),o&&(s+=`__${o}`),r&&(s+=`--${r}`),s},H=e=>{const t=ae("namespace"),n=i.computed(()=>t.value||Mt);return{namespace:n,b:(c="")=>P(i.unref(n),e,c,"",""),e:c=>c?P(i.unref(n),e,"",c,""):"",m:c=>c?P(i.unref(n),e,"","",c):"",be:(c,p)=>c&&p?P(i.unref(n),e,c,p,""):"",em:(c,p)=>c&&p?P(i.unref(n),e,"",c,p):"",bm:(c,p)=>c&&p?P(i.unref(n),e,c,"",p):"",bem:(c,p,g)=>c&&p&&g?P(i.unref(n),e,c,p,g):"",is:(c,...p)=>{const g=p.length>=1?p[0]:!0;return c&&g?`${Nt}${c}`:""}}},Bt=ie({size:{type:_([Number,String])},color:{type:String}}),Dt={name:"ElIcon",inheritAttrs:!1},zt=i.defineComponent(O($({},Dt),{props:Bt,setup(e){const t=e,n=H("icon"),o=i.computed(()=>!t.size&&!t.color?{}:{fontSize:tt(t.size)?void 0:Ft(t.size),"--color":t.color});return(r,s)=>(i.openBlock(),i.createElementBlock("i",i.mergeProps({class:i.unref(n).b(),style:i.unref(o)},r.$attrs),[i.renderSlot(r.$slots,"default")],16))}})),le=oe(zt);let x;const Pt=`
2
- height:0 !important;
3
- visibility:hidden !important;
4
- overflow:hidden !important;
5
- position:absolute !important;
6
- z-index:-1000 !important;
7
- top:0 !important;
8
- right:0 !important;
9
- `,At=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Tt(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:At.map(a=>`${a}:${t.getPropertyValue(a)}`).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}function Me(e,t=1,n){var o;x||(x=document.createElement("textarea"),document.body.appendChild(x));const{paddingSize:r,borderSize:s,boxSizing:a,contextStyle:l}=Tt(e);x.setAttribute("style",`${l};${Pt}`),x.value=e.value||e.placeholder||"";let d=x.scrollHeight;const u={};a==="border-box"?d=d+s:a==="content-box"&&(d=d-r),x.value="";const m=x.scrollHeight-r;if(te(t)){let c=m*t;a==="border-box"&&(c=c+r+s),d=Math.max(c,d),u.minHeight=`${c}px`}if(te(n)){let c=m*n;a==="border-box"&&(c=c+r+s),d=Math.min(c,d)}return u.height=`${d}px`,(o=x.parentNode)==null||o.removeChild(x),x=void 0,u}const Rt=ie({size:ke,disabled:Boolean,modelValue:{type:_(void 0),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:_([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},placeholder:{type:String},form:{type:String,default:""},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:U,default:""},prefixIcon:{type:U,default:""},label:{type:String},tabindex:{type:[Number,String]},validateEvent:{type:Boolean,default:!0},inputStyle:{type:_([Object,Array,String]),default:()=>Vt({})}}),Lt={[re]:e=>G(e),input:e=>G(e),change:e=>G(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof KeyboardEvent,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};var Ot=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const _t={suffix:"append",prefix:"prepend"},Ht=i.defineComponent({name:"ElInput",components:{ElIcon:le,CircleClose:ye,IconView:vt},inheritAttrs:!1,props:Rt,emits:Lt,setup(e,{slots:t,emit:n,attrs:o}){const r=i.getCurrentInstance(),s=xt(),{form:a,formItem:l}=Ie(),d=$e(),u=xe(),m=H("input"),c=H("textarea"),p=i.ref(),g=i.ref(),S=i.ref(!1),k=i.ref(!1),b=i.ref(!1),f=i.ref(!1),y=i.shallowRef(e.inputStyle),C=i.computed(()=>p.value||g.value),N=i.computed(()=>{var h;return(h=a==null?void 0:a.statusIcon)!=null?h:!1}),B=i.computed(()=>(l==null?void 0:l.validateState)||""),kn=i.computed(()=>St[B.value]),$n=i.computed(()=>o.style),xn=i.computed(()=>[e.inputStyle,y.value,{resize:e.resize}]),R=i.computed(()=>e.modelValue===null||e.modelValue===void 0?"":String(e.modelValue)),Ge=i.computed(()=>e.clearable&&!u.value&&!e.readonly&&!!R.value&&(S.value||k.value)),In=i.computed(()=>e.showPassword&&!u.value&&!e.readonly&&(!!R.value||S.value)),me=i.computed(()=>e.showWordLimit&&!!s.value.maxlength&&(e.type==="text"||e.type==="textarea")&&!u.value&&!e.readonly&&!e.showPassword),We=i.computed(()=>Array.from(R.value).length),Mn=i.computed(()=>!!me.value&&We.value>Number(s.value.maxlength)),Q=()=>{const{type:h,autosize:w}=e;if(!(!Je||h!=="textarea"))if(w){const j=W(w)?w.minRows:void 0,L=W(w)?w.maxRows:void 0;y.value=$({},Me(g.value,j,L))}else y.value={minHeight:Me(g.value).minHeight}},ee=()=>{const h=C.value;!h||h.value===R.value||(h.value=R.value)},Ke=h=>{const{el:w}=r.vnode;if(!w)return;const L=Array.from(w.querySelectorAll(`.${m.e(h)}`)).find(Hn=>Hn.parentNode===w);if(!L)return;const Xe=_t[h];t[Xe]?L.style.transform=`translateX(${h==="suffix"?"-":""}${w.querySelector(`.${m.be("group",Xe)}`).offsetWidth}px)`:L.removeAttribute("style")},ge=()=>{Ke("prefix"),Ke("suffix")},Ue=h=>{const{value:w}=h.target;b.value||w!==R.value&&(n(re,w),n("input",w),i.nextTick(ee))},Nn=h=>{n("change",h.target.value)},qe=()=>{i.nextTick(()=>{var h;(h=C.value)==null||h.focus()})},Bn=()=>{var h;(h=C.value)==null||h.blur()},Dn=h=>{S.value=!0,n("focus",h)},zn=h=>{var w;S.value=!1,n("blur",h),e.validateEvent&&((w=l==null?void 0:l.validate)==null||w.call(l,"blur"))},Pn=()=>{var h;(h=C.value)==null||h.select()},An=h=>{n("compositionstart",h),b.value=!0},Tn=h=>{var w;n("compositionupdate",h);const j=(w=h.target)==null?void 0:w.value,L=j[j.length-1]||"";b.value=!Et(L)},Rn=h=>{n("compositionend",h),b.value&&(b.value=!1,Ue(h))},Ln=()=>{n(re,""),n("change",""),n("clear"),n("input","")},On=()=>{f.value=!f.value,qe()},_n=i.computed(()=>!!t.suffix||!!e.suffixIcon||Ge.value||e.showPassword||me.value||!!B.value&&N.value);return i.watch(()=>e.modelValue,()=>{var h;i.nextTick(Q),e.validateEvent&&((h=l==null?void 0:l.validate)==null||h.call(l,"change"))}),i.watch(R,()=>ee()),i.watch(()=>e.type,()=>{i.nextTick(()=>{ee(),Q(),ge()})}),i.onMounted(()=>{ee(),ge(),i.nextTick(Q)}),i.onUpdated(()=>{i.nextTick(ge)}),{input:p,textarea:g,attrs:s,inputSize:d,validateState:B,validateIcon:kn,containerStyle:$n,computedTextareaStyle:xn,inputDisabled:u,showClear:Ge,showPwdVisible:In,isWordLimitVisible:me,textLength:We,hovering:k,inputExceed:Mn,passwordVisible:f,inputOrTextarea:C,suffixVisible:_n,needStatusIcon:N,resizeTextarea:Q,handleInput:Ue,handleChange:Nn,handleFocus:Dn,handleBlur:zn,handleCompositionStart:An,handleCompositionUpdate:Tn,handleCompositionEnd:Rn,handlePasswordVisible:On,clear:Ln,select:Pn,focus:qe,blur:Bn,onMouseLeave:h=>{k.value=!1,n("mouseleave",h)},onMouseEnter:h=>{k.value=!0,n("mouseenter",h)},handleKeydown:h=>{n("keydown",h)},nsInput:m,nsTextarea:c}}}),jt=["type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder"],Gt=["tabindex","disabled","readonly","autocomplete","aria-label","placeholder"];function Wt(e,t,n,o,r,s){const a=i.resolveComponent("el-icon"),l=i.resolveComponent("circle-close"),d=i.resolveComponent("icon-view");return i.withDirectives((i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass([e.type==="textarea"?e.nsTextarea.b():e.nsInput.b(),e.nsInput.m(e.inputSize),e.nsInput.is("disabled",e.inputDisabled),e.nsInput.is("exceed",e.inputExceed),{[e.nsInput.b("group")]:e.$slots.prepend||e.$slots.append,[e.nsInput.bm("group","append")]:e.$slots.append,[e.nsInput.bm("group","prepend")]:e.$slots.prepend,[e.nsInput.m("prefix")]:e.$slots.prefix||e.prefixIcon,[e.nsInput.m("suffix")]:e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword,[e.nsInput.m("suffix--password-clear")]:e.showClear&&e.showPwdVisible},e.$attrs.class]),style:i.normalizeStyle(e.containerStyle),onMouseenter:t[17]||(t[17]=(...u)=>e.onMouseEnter&&e.onMouseEnter(...u)),onMouseleave:t[18]||(t[18]=(...u)=>e.onMouseLeave&&e.onMouseLeave(...u))},[i.createCommentVNode(" input "),e.type!=="textarea"?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createCommentVNode(" prepend slot "),e.$slots.prepend?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(e.nsInput.be("group","prepend"))},[i.renderSlot(e.$slots,"prepend")],2)):i.createCommentVNode("v-if",!0),i.createElementVNode("input",i.mergeProps({ref:"input",class:e.nsInput.e("inner")},e.attrs,{type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,onCompositionstart:t[0]||(t[0]=(...u)=>e.handleCompositionStart&&e.handleCompositionStart(...u)),onCompositionupdate:t[1]||(t[1]=(...u)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...u)),onCompositionend:t[2]||(t[2]=(...u)=>e.handleCompositionEnd&&e.handleCompositionEnd(...u)),onInput:t[3]||(t[3]=(...u)=>e.handleInput&&e.handleInput(...u)),onFocus:t[4]||(t[4]=(...u)=>e.handleFocus&&e.handleFocus(...u)),onBlur:t[5]||(t[5]=(...u)=>e.handleBlur&&e.handleBlur(...u)),onChange:t[6]||(t[6]=(...u)=>e.handleChange&&e.handleChange(...u)),onKeydown:t[7]||(t[7]=(...u)=>e.handleKeydown&&e.handleKeydown(...u))}),null,16,jt),i.createCommentVNode(" prefix slot "),e.$slots.prefix||e.prefixIcon?(i.openBlock(),i.createElementBlock("span",{key:1,class:i.normalizeClass(e.nsInput.e("prefix"))},[i.createElementVNode("span",{class:i.normalizeClass(e.nsInput.e("prefix-inner"))},[i.renderSlot(e.$slots,"prefix"),e.prefixIcon?(i.openBlock(),i.createBlock(a,{key:0,class:i.normalizeClass(e.nsInput.e("icon"))},{default:i.withCtx(()=>[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.prefixIcon)))]),_:1},8,["class"])):i.createCommentVNode("v-if",!0)],2)],2)):i.createCommentVNode("v-if",!0),i.createCommentVNode(" suffix slot "),e.suffixVisible?(i.openBlock(),i.createElementBlock("span",{key:2,class:i.normalizeClass(e.nsInput.e("suffix"))},[i.createElementVNode("span",{class:i.normalizeClass(e.nsInput.e("suffix-inner"))},[!e.showClear||!e.showPwdVisible||!e.isWordLimitVisible?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.renderSlot(e.$slots,"suffix"),e.suffixIcon?(i.openBlock(),i.createBlock(a,{key:0,class:i.normalizeClass(e.nsInput.e("icon"))},{default:i.withCtx(()=>[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.suffixIcon)))]),_:1},8,["class"])):i.createCommentVNode("v-if",!0)],64)):i.createCommentVNode("v-if",!0),e.showClear?(i.openBlock(),i.createBlock(a,{key:1,class:i.normalizeClass([e.nsInput.e("icon"),e.nsInput.e("clear")]),onMousedown:t[8]||(t[8]=i.withModifiers(()=>{},["prevent"])),onClick:e.clear},{default:i.withCtx(()=>[i.createVNode(l)]),_:1},8,["class","onClick"])):i.createCommentVNode("v-if",!0),e.showPwdVisible?(i.openBlock(),i.createBlock(a,{key:2,class:i.normalizeClass([e.nsInput.e("icon"),e.nsInput.e("clear")]),onClick:e.handlePasswordVisible},{default:i.withCtx(()=>[i.createVNode(d)]),_:1},8,["class","onClick"])):i.createCommentVNode("v-if",!0),e.isWordLimitVisible?(i.openBlock(),i.createElementBlock("span",{key:3,class:i.normalizeClass(e.nsInput.e("count"))},[i.createElementVNode("span",{class:i.normalizeClass(e.nsInput.e("count-inner"))},i.toDisplayString(e.textLength)+" / "+i.toDisplayString(e.attrs.maxlength),3)],2)):i.createCommentVNode("v-if",!0)],2),e.validateState&&e.validateIcon&&e.needStatusIcon?(i.openBlock(),i.createBlock(a,{key:0,class:i.normalizeClass([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:i.withCtx(()=>[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.validateIcon)))]),_:1},8,["class"])):i.createCommentVNode("v-if",!0)],2)):i.createCommentVNode("v-if",!0),i.createCommentVNode(" append slot "),e.$slots.append?(i.openBlock(),i.createElementBlock("div",{key:3,class:i.normalizeClass(e.nsInput.be("group","append"))},[i.renderSlot(e.$slots,"append")],2)):i.createCommentVNode("v-if",!0)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createCommentVNode(" textarea "),i.createElementVNode("textarea",i.mergeProps({ref:"textarea",class:e.nsTextarea.e("inner")},e.attrs,{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,style:e.computedTextareaStyle,"aria-label":e.label,placeholder:e.placeholder,onCompositionstart:t[9]||(t[9]=(...u)=>e.handleCompositionStart&&e.handleCompositionStart(...u)),onCompositionupdate:t[10]||(t[10]=(...u)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...u)),onCompositionend:t[11]||(t[11]=(...u)=>e.handleCompositionEnd&&e.handleCompositionEnd(...u)),onInput:t[12]||(t[12]=(...u)=>e.handleInput&&e.handleInput(...u)),onFocus:t[13]||(t[13]=(...u)=>e.handleFocus&&e.handleFocus(...u)),onBlur:t[14]||(t[14]=(...u)=>e.handleBlur&&e.handleBlur(...u)),onChange:t[15]||(t[15]=(...u)=>e.handleChange&&e.handleChange(...u)),onKeydown:t[16]||(t[16]=(...u)=>e.handleKeydown&&e.handleKeydown(...u))}),null,16,Gt),e.isWordLimitVisible?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(e.nsInput.e("count"))},i.toDisplayString(e.textLength)+" / "+i.toDisplayString(e.attrs.maxlength),3)):i.createCommentVNode("v-if",!0)],64))],38)),[[i.vShow,e.type!=="hidden"]])}var Kt=Ot(Ht,[["render",Wt]]);const Ne=oe(Kt);function F(e,t){Ut(e)&&(e="100%");var n=qt(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function q(e){return Math.min(1,Math.max(0,e))}function Ut(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function qt(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Be(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function X(e){return e<=1?Number(e)*100+"%":e}function A(e){return e.length===1?"0"+e:String(e)}function Xt(e,t,n){return{r:F(e,255)*255,g:F(t,255)*255,b:F(n,255)*255}}function De(e,t,n){e=F(e,255),t=F(t,255),n=F(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),s=0,a=0,l=(o+r)/2;if(o===r)a=0,s=0;else{var d=o-r;switch(a=l>.5?d/(2-o-r):d/(o+r),o){case e:s=(t-n)/d+(t<n?6:0);break;case t:s=(n-e)/d+2;break;case n:s=(e-t)/d+4;break}s/=6}return{h:s,s:a,l}}function ue(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Yt(e,t,n){var o,r,s;if(e=F(e,360),t=F(t,100),n=F(n,100),t===0)r=n,s=n,o=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=ue(l,a,e+1/3),r=ue(l,a,e),s=ue(l,a,e-1/3)}return{r:o*255,g:r*255,b:s*255}}function ze(e,t,n){e=F(e,255),t=F(t,255),n=F(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),s=0,a=o,l=o-r,d=o===0?0:l/o;if(o===r)s=0;else{switch(o){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:d,v:a}}function Zt(e,t,n){e=F(e,360)*6,t=F(t,100),n=F(n,100);var o=Math.floor(e),r=e-o,s=n*(1-t),a=n*(1-r*t),l=n*(1-(1-r)*t),d=o%6,u=[n,a,s,s,l,n][d],m=[l,n,n,a,s,s][d],c=[s,s,l,n,n,a][d];return{r:u*255,g:m*255,b:c*255}}function Pe(e,t,n,o){var r=[A(Math.round(e).toString(16)),A(Math.round(t).toString(16)),A(Math.round(n).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function Jt(e,t,n,o,r){var s=[A(Math.round(e).toString(16)),A(Math.round(t).toString(16)),A(Math.round(n).toString(16)),A(Qt(o))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function Qt(e){return Math.round(parseFloat(e)*255).toString(16)}function Ae(e){return V(e)/255}function V(e){return parseInt(e,16)}function en(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var ce={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function tn(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,s=null,a=!1,l=!1;return typeof e=="string"&&(e=rn(e)),typeof e=="object"&&(M(e.r)&&M(e.g)&&M(e.b)?(t=Xt(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):M(e.h)&&M(e.s)&&M(e.v)?(o=X(e.s),r=X(e.v),t=Zt(e.h,o,r),a=!0,l="hsv"):M(e.h)&&M(e.s)&&M(e.l)&&(o=X(e.s),s=X(e.l),t=Yt(e.h,o,s),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Be(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var nn="[-\\+]?\\d+%?",on="[-\\+]?\\d*\\.\\d+%?",D="(?:"+on+")|(?:"+nn+")",de="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",fe="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",I={CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+de),rgba:new RegExp("rgba"+fe),hsl:new RegExp("hsl"+de),hsla:new RegExp("hsla"+fe),hsv:new RegExp("hsv"+de),hsva:new RegExp("hsva"+fe),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function rn(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(ce[e])e=ce[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=I.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=I.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=I.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=I.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=I.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=I.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=I.hex8.exec(e),n?{r:V(n[1]),g:V(n[2]),b:V(n[3]),a:Ae(n[4]),format:t?"name":"hex8"}:(n=I.hex6.exec(e),n?{r:V(n[1]),g:V(n[2]),b:V(n[3]),format:t?"name":"hex"}:(n=I.hex4.exec(e),n?{r:V(n[1]+n[1]),g:V(n[2]+n[2]),b:V(n[3]+n[3]),a:Ae(n[4]+n[4]),format:t?"name":"hex8"}:(n=I.hex3.exec(e),n?{r:V(n[1]+n[1]),g:V(n[2]+n[2]),b:V(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function M(e){return Boolean(I.CSS_UNIT.exec(String(e)))}var sn=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=en(t)),this.originalInput=t;var r=tn(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,o,r,s=t.r/255,a=t.g/255,l=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Be(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=ze(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=ze(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv("+n+", "+o+"%, "+r+"%)":"hsva("+n+", "+o+"%, "+r+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var t=De(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=De(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl("+n+", "+o+"%, "+r+"%)":"hsla("+n+", "+o+"%, "+r+"%, "+this.roundA+")"},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Pe(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Jt(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb("+t+", "+n+", "+o+")":"rgba("+t+", "+n+", "+o+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var t=function(n){return Math.round(F(n,255)*100)+"%"};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(F(n,255)*100)};return this.a===1?"rgb("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%)":"rgba("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Pe(this.r,this.g,this.b,!1),n=0,o=Object.entries(ce);n<o.length;n++){var r=o[n],s=r[0],a=r[1];if(t===a)return s}return!1},e.prototype.toString=function(t){var n=Boolean(t);t=t!=null?t:this.format;var o=!1,r=this.a<1&&this.a>=0,s=!n&&r&&(t.startsWith("hex")||t==="name");return s?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=q(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=q(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=q(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=q(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),s=n/100,a={r:(r.r-o.r)*s+o.r,g:(r.g-o.g)*s+o.g,b:(r.b-o.b)*s+o.b,a:(r.a-o.a)*s+o.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,s=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,s.push(new e(o));return s},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,s=n.v,a=[],l=1/t;t--;)a.push(new e({h:o,s:r,v:s})),s=(s+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb();return new e({r:o.r+(n.r-o.r)*n.a,g:o.g+(n.g-o.g)*n.a,b:o.b+(n.b-o.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],s=360/t,a=1;a<t;a++)r.push(new e({h:(o+a*s)%360,s:n.s,l:n.l}));return r},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();const he=ie({size:ke,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:U,default:""},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:U,default:()=>ve},plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,autoInsertSpace:{type:Boolean,default:void 0}}),an={click:e=>e instanceof MouseEvent},ln=["disabled","autofocus","type"],un={name:"ElButton"},cn=i.defineComponent(O($({},un),{props:he,emits:an,setup(e,{expose:t,emit:n}){const o=e,r=i.useSlots(),s=i.inject(Ce,void 0),a=ae("button"),l=H("button"),{form:d}=Ie(),u=$e(i.computed(()=>s==null?void 0:s.size)),m=xe(),c=i.ref(),p=i.computed(()=>o.type||(s==null?void 0:s.type)||""),g=i.computed(()=>{var f,y,C;return(C=(y=o.autoInsertSpace)!=null?y:(f=a.value)==null?void 0:f.autoInsertSpace)!=null?C:!1}),S=i.computed(()=>{var f;const y=(f=r.default)==null?void 0:f.call(r);if(g.value&&(y==null?void 0:y.length)===1){const C=y[0];if((C==null?void 0:C.type)===i.Text){const N=C.children;return/^\p{Unified_Ideograph}{2}$/u.test(N)}}return!1}),k=i.computed(()=>{let f={};const y=o.color;if(y){const C=new sn(y),N=C.shade(20).toString();if(o.plain)f={"--el-button-bg-color":C.tint(90).toString(),"--el-button-text-color":y,"--el-button-hover-text-color":"var(--el-color-white)","--el-button-hover-bg-color":y,"--el-button-hover-border-color":y,"--el-button-active-bg-color":N,"--el-button-active-text-color":"var(--el-color-white)","--el-button-active-border-color":N};else{const B=C.tint(30).toString();f={"--el-button-bg-color":y,"--el-button-border-color":y,"--el-button-hover-bg-color":B,"--el-button-hover-border-color":B,"--el-button-active-bg-color":N,"--el-button-active-border-color":N}}if(m.value){const B=C.tint(50).toString();f["--el-button-disabled-bg-color"]=B,f["--el-button-disabled-border-color"]=B}}return f}),b=f=>{o.nativeType==="reset"&&(d==null||d.resetFields()),n("click",f)};return t({ref:c,size:u,type:p,disabled:m,shouldAddSpace:S}),(f,y)=>(i.openBlock(),i.createElementBlock("button",{ref_key:"_ref",ref:c,class:i.normalizeClass([i.unref(l).b(),i.unref(l).m(i.unref(p)),i.unref(l).m(i.unref(u)),i.unref(l).is("disabled",i.unref(m)),i.unref(l).is("loading",f.loading),i.unref(l).is("plain",f.plain),i.unref(l).is("round",f.round),i.unref(l).is("circle",f.circle)]),disabled:i.unref(m)||f.loading,autofocus:f.autofocus,type:f.nativeType,style:i.normalizeStyle(i.unref(k)),onClick:b},[f.loading?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[f.$slots.loading?i.renderSlot(f.$slots,"loading",{key:0}):(i.openBlock(),i.createBlock(i.unref(le),{key:1,class:i.normalizeClass(i.unref(l).is("loading"))},{default:i.withCtx(()=>[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(f.loadingIcon)))]),_:1},8,["class"]))],2112)):f.icon?(i.openBlock(),i.createBlock(i.unref(le),{key:1},{default:i.withCtx(()=>[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(f.icon)))]),_:1})):i.createCommentVNode("v-if",!0),f.$slots.default?(i.openBlock(),i.createElementBlock("span",{key:2,class:i.normalizeClass({[i.unref(l).em("text","expand")]:i.unref(S)})},[i.renderSlot(f.$slots,"default")],2)):i.createCommentVNode("v-if",!0)],14,ln))}})),dn={size:he.size,type:he.type},fn={name:"ElButtonGroup"},Te=i.defineComponent(O($({},fn),{props:dn,setup(e){const t=e;i.provide(Ce,i.reactive({size:i.toRef(t,"size"),type:i.toRef(t,"type")}));const n=H("button");return(o,r)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(`${i.unref(n).b("group")}`)},[i.renderSlot(o.$slots,"default")],2))}})),hn=oe(cn,{ButtonGroup:Te});wt(Te);var ni="",ii="";/**
10
- * Vue Currency Input 2.4.0
11
- * (c) 2018-2022 Matthias Stiller
12
- * @license MIT
13
- */const Y=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Re=e=>e.replace(/^0+(0$|[^0])/,"$1"),pe=(e,t)=>(e.match(new RegExp(Y(t),"g"))||[]).length,pn=(e,t)=>e.substring(0,e.indexOf(t));var T;(function(e){e.symbol="symbol",e.narrowSymbol="narrowSymbol",e.code="code",e.name="name",e.hidden="hidden"})(T||(T={}));var z;(function(e){e.precision="precision",e.thousands="thousands",e.millions="millions",e.billions="billions"})(z||(z={}));const Le=[",",".","\u066B"],Oe="(0|[1-9]\\d*)";class mn{constructor(t){var n,o,r,s,a,l;const{currency:d,currencyDisplay:u,locale:m,precision:c,accountingSign:p}=t;this.locale=m,this.options={style:"currency",currency:d,currencySign:p?"accounting":void 0,currencyDisplay:u!==T.hidden?u:void 0};const g=new Intl.NumberFormat(m,this.options),S=g.formatToParts(123456);this.currency=(n=S.find(({type:f})=>f==="currency"))===null||n===void 0?void 0:n.value,this.digits=[0,1,2,3,4,5,6,7,8,9].map(f=>f.toLocaleString(m)),this.decimalSymbol=(o=S.find(({type:f})=>f==="decimal"))===null||o===void 0?void 0:o.value,this.groupingSymbol=(r=S.find(({type:f})=>f==="group"))===null||r===void 0?void 0:r.value,this.minusSign=(s=g.formatToParts(-1).find(({type:f})=>f==="minusSign"))===null||s===void 0?void 0:s.value,this.decimalSymbol===void 0?this.minimumFractionDigits=this.maximumFractionDigits=0:typeof c=="number"?this.minimumFractionDigits=this.maximumFractionDigits=c:(this.minimumFractionDigits=(a=c==null?void 0:c.min)!==null&&a!==void 0?a:g.resolvedOptions().minimumFractionDigits,this.maximumFractionDigits=(l=c==null?void 0:c.max)!==null&&l!==void 0?l:g.resolvedOptions().maximumFractionDigits);const k=f=>pn(f,this.digits[1]),b=f=>f.substring(f.lastIndexOf(this.decimalSymbol?this.digits[0]:this.digits[1])+1);this.prefix=k(g.format(1)),this.suffix=b(g.format(1)),this.negativePrefix=k(g.format(-1)),this.negativeSuffix=b(g.format(-1))}parse(t){if(t){const n=this.isNegative(t);t=this.normalizeDigits(t),t=this.stripCurrency(t,n),t=this.stripSignLiterals(t);const o=this.decimalSymbol?`(?:${Y(this.decimalSymbol)}(\\d*))?`:"",r=this.stripGroupingSeparator(t).match(new RegExp(`^${Oe}${o}$`));if(r&&this.isValidIntegerFormat(this.decimalSymbol?t.split(this.decimalSymbol)[0]:t,Number(r[1])))return Number(`${n?"-":""}${this.onlyDigits(r[1])}.${this.onlyDigits(r[2]||"")}`)}return null}isValidIntegerFormat(t,n){const o=O($({},this.options),{minimumFractionDigits:0});return[this.stripCurrency(this.normalizeDigits(n.toLocaleString(this.locale,O($({},o),{useGrouping:!0}))),!1),this.stripCurrency(this.normalizeDigits(n.toLocaleString(this.locale,O($({},o),{useGrouping:!1}))),!1)].includes(t)}format(t,n={minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits}){return t!=null?t.toLocaleString(this.locale,$($({},this.options),n)):""}toFraction(t){return`${this.digits[0]}${this.decimalSymbol}${this.onlyLocaleDigits(t.substr(1)).substr(0,this.maximumFractionDigits)}`}isFractionIncomplete(t){return!!this.normalizeDigits(this.stripGroupingSeparator(t)).match(new RegExp(`^${Oe}${Y(this.decimalSymbol)}$`))}isNegative(t){return t.startsWith(this.negativePrefix)||this.minusSign===void 0&&(t.startsWith("(")||t.startsWith("-"))||this.minusSign!==void 0&&t.replace("-",this.minusSign).startsWith(this.minusSign)}insertCurrency(t,n){return`${n?this.negativePrefix:this.prefix}${t}${n?this.negativeSuffix:this.suffix}`}stripGroupingSeparator(t){return this.groupingSymbol!==void 0?t.replace(new RegExp(Y(this.groupingSymbol),"g"),""):t}stripSignLiterals(t){return this.minusSign!==void 0?t.replace("-",this.minusSign).replace(this.minusSign,""):t.replace(/[-()]/g,"")}stripCurrency(t,n){return t.replace(n?this.negativePrefix:this.prefix,"").replace(n?this.negativeSuffix:this.suffix,"")}normalizeDecimalSeparator(t,n){return Le.forEach(o=>{t=t.substr(0,n)+t.substr(n).replace(o,this.decimalSymbol)}),t}normalizeDigits(t){return this.digits[0]!=="0"&&this.digits.forEach((n,o)=>{t=t.replace(new RegExp(n,"g"),String(o))}),t}onlyDigits(t){return this.normalizeDigits(t).replace(/\D+/g,"")}onlyLocaleDigits(t){return t.replace(new RegExp(`[^${this.digits.join("")}]*`,"g"),"")}}class _e{constructor(t){this.currencyFormat=t}}class gn extends _e{conformToMask(t,n=""){const o=this.currencyFormat.isNegative(t),r=S=>S===""&&o&&!(this.currencyFormat.minusSign===void 0?n===this.currencyFormat.negativePrefix+this.currencyFormat.negativeSuffix:n===this.currencyFormat.negativePrefix),s=S=>{if(r(S))return"";if(this.currencyFormat.maximumFractionDigits>0){if(this.currencyFormat.isFractionIncomplete(S))return S;if(S.startsWith(this.currencyFormat.decimalSymbol))return this.currencyFormat.toFraction(S)}return null};let a=t;a=this.currencyFormat.stripCurrency(a,o),a=this.currencyFormat.stripSignLiterals(a);const l=s(a);if(l!=null)return this.currencyFormat.insertCurrency(l,o);const[d,...u]=a.split(this.currencyFormat.decimalSymbol),m=Re(this.currencyFormat.onlyDigits(d)),c=this.currencyFormat.onlyDigits(u.join("")).substr(0,this.currencyFormat.maximumFractionDigits),p=u.length>0&&c.length===0,g=m===""&&o&&(this.currencyFormat.minusSign===void 0?n===t.slice(0,-2)+this.currencyFormat.negativeSuffix:n===t.slice(0,-1));return p||g||r(m)?n:m.match(/\d+/)?{numberValue:Number(`${o?"-":""}${m}.${c}`),fractionDigits:c}:""}}class bn extends _e{conformToMask(t,n=""){if(t===""||this.currencyFormat.parse(n)===0&&this.currencyFormat.stripCurrency(n,!0).slice(0,-1)===this.currencyFormat.stripCurrency(t,!0))return"";const o=this.currencyFormat.isNegative(t),r=this.currencyFormat.stripSignLiterals(t)===""?-0:Number(`${o?"-":""}${Re(this.currencyFormat.onlyDigits(t))}`)/Math.pow(10,this.currencyFormat.maximumFractionDigits);return{numberValue:r,fractionDigits:r.toFixed(this.currencyFormat.maximumFractionDigits).slice(-this.currencyFormat.maximumFractionDigits)}}}const yn={locale:void 0,currency:void 0,currencyDisplay:void 0,exportValueAsInteger:!1,hideGroupingSeparatorOnFocus:!0,hideCurrencySymbolOnFocus:!0,hideNegligibleDecimalDigitsOnFocus:!0,precision:void 0,autoDecimalDigits:!1,valueRange:void 0,autoSign:!0,useGrouping:!0,valueScaling:void 0};class vn{constructor(t,n){this.el=t,this.numberValue=null,this.addEventListener(),this.init(n),this.setValue(this.currencyFormat.parse(this.el.value))}setOptions(t){this.init(t),this.applyFixedFractionFormat(this.numberValue,!0)}getValue(){return{number:this.valueScaling&&this.numberValue!=null?this.toInteger(this.numberValue,this.valueScaling):this.numberValue,formatted:this.formattedValue}}setValue(t){const n=this.valueScaling!==void 0&&t!=null?this.toFloat(t,this.valueScaling):t;n!==this.numberValue&&this.applyFixedFractionFormat(n)}dispatchEvent(t){this.el.dispatchEvent(new CustomEvent(t,{detail:this.getValue()}))}init(t){this.options=$($({},yn),t),this.options.autoDecimalDigits?(this.options.hideNegligibleDecimalDigitsOnFocus=!1,this.el.setAttribute("inputmode","numeric")):this.el.setAttribute("inputmode","decimal"),this.currencyFormat=new mn(this.options),this.numberMask=this.options.autoDecimalDigits?new bn(this.currencyFormat):new gn(this.currencyFormat);const n={[z.precision]:this.currencyFormat.maximumFractionDigits,[z.thousands]:3,[z.millions]:6,[z.billions]:9};this.options.exportValueAsInteger?this.valueScaling=n[z.precision]:this.valueScaling=this.options.valueScaling?n[this.options.valueScaling]:void 0,this.valueScalingFractionDigits=this.valueScaling!==void 0&&this.options.valueScaling!==z.precision?this.valueScaling+this.currencyFormat.maximumFractionDigits:this.currencyFormat.maximumFractionDigits,this.minValue=this.getMinValue(),this.maxValue=this.getMaxValue()}getMinValue(){var t,n;let o=this.toFloat(-Number.MAX_SAFE_INTEGER);return((t=this.options.valueRange)===null||t===void 0?void 0:t.min)!==void 0&&(o=Math.max((n=this.options.valueRange)===null||n===void 0?void 0:n.min,this.toFloat(-Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&o<0&&(o=0),o}getMaxValue(){var t,n;let o=this.toFloat(Number.MAX_SAFE_INTEGER);return((t=this.options.valueRange)===null||t===void 0?void 0:t.max)!==void 0&&(o=Math.min((n=this.options.valueRange)===null||n===void 0?void 0:n.max,this.toFloat(Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&o<0&&(o=this.toFloat(Number.MAX_SAFE_INTEGER)),o}toFloat(t,n){return t/Math.pow(10,n!=null?n:this.valueScalingFractionDigits)}toInteger(t,n){return Number(t.toFixed(n!=null?n:this.valueScalingFractionDigits).split(".").join(""))}validateValueRange(t){return t!=null?Math.min(Math.max(t,this.minValue),this.maxValue):t}applyFixedFractionFormat(t,n=!1){this.format(this.currencyFormat.format(this.validateValueRange(t))),(t!==this.numberValue||n)&&this.dispatchEvent("change")}format(t,n=!1){if(t!=null){this.decimalSymbolInsertedAt!==void 0&&(t=this.currencyFormat.normalizeDecimalSeparator(t,this.decimalSymbolInsertedAt),this.decimalSymbolInsertedAt=void 0);const o=this.numberMask.conformToMask(t,this.formattedValue);let r;if(typeof o=="object"){const{numberValue:s,fractionDigits:a}=o;let{maximumFractionDigits:l,minimumFractionDigits:d}=this.currencyFormat;this.focus?d=n?a.replace(/0+$/,"").length:Math.min(l,a.length):Number.isInteger(s)&&!this.options.autoDecimalDigits&&(this.options.precision===void 0||d===0)&&(d=l=0),r=this.toInteger(Math.abs(s))>Number.MAX_SAFE_INTEGER?this.formattedValue:this.currencyFormat.format(s,{useGrouping:this.options.useGrouping&&!(this.focus&&this.options.hideGroupingSeparatorOnFocus),minimumFractionDigits:d,maximumFractionDigits:l})}else r=o;this.options.autoSign&&(this.maxValue<=0&&!this.currencyFormat.isNegative(r)&&this.currencyFormat.parse(r)!==0&&(r=r.replace(this.currencyFormat.prefix,this.currencyFormat.negativePrefix)),this.minValue>=0&&(r=r.replace(this.currencyFormat.negativePrefix,this.currencyFormat.prefix))),(this.options.currencyDisplay===T.hidden||this.focus&&this.options.hideCurrencySymbolOnFocus)&&(r=r.replace(this.currencyFormat.negativePrefix,this.currencyFormat.minusSign!==void 0?this.currencyFormat.minusSign:"(").replace(this.currencyFormat.negativeSuffix,this.currencyFormat.minusSign!==void 0?"":")").replace(this.currencyFormat.prefix,"").replace(this.currencyFormat.suffix,"")),this.el.value=r,this.numberValue=this.currencyFormat.parse(r)}else this.el.value="",this.numberValue=null;this.formattedValue=this.el.value,this.dispatchEvent("input")}addEventListener(){this.el.addEventListener("input",t=>{if(!t.detail){const{value:n,selectionStart:o}=this.el,r=t;if(o&&r.data&&Le.includes(r.data)&&(this.decimalSymbolInsertedAt=o-1),this.format(n),this.focus&&o!=null){const s=()=>{const{prefix:a,suffix:l,decimalSymbol:d,maximumFractionDigits:u,groupingSymbol:m}=this.currencyFormat;let c=n.length-o;const p=this.formattedValue.length;if(this.currencyFormat.minusSign===void 0&&(n.startsWith("(")||n.startsWith("-"))&&!n.endsWith(")"))return p-this.currencyFormat.negativeSuffix.length>1?this.formattedValue.substring(o).length:1;if(this.formattedValue.substr(o,1)===m&&pe(this.formattedValue,m)===pe(n,m)+1)return p-c-1;if(p<c)return o;if(d!==void 0&&n.indexOf(d)!==-1){const g=n.indexOf(d)+1;if(Math.abs(p-n.length)>1&&o<=g)return this.formattedValue.indexOf(d)+1;!this.options.autoDecimalDigits&&o>g&&this.currencyFormat.onlyDigits(n.substr(g)).length-1===u&&(c-=1)}return this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===T.hidden?p-c:Math.max(p-Math.max(c,l.length),a.length)};this.setCaretPosition(s())}}},{capture:!0}),this.el.addEventListener("focus",()=>{this.focus=!0,setTimeout(()=>{const{value:t,selectionStart:n,selectionEnd:o}=this.el;if(this.format(t,this.options.hideNegligibleDecimalDigitsOnFocus),n!=null&&o!=null&&Math.abs(n-o)>0)this.setCaretPosition(0,this.el.value.length);else if(n!=null){const r=this.getCaretPositionOnFocus(t,n);this.setCaretPosition(r)}})}),this.el.addEventListener("blur",()=>{this.focus=!1,this.applyFixedFractionFormat(this.numberValue)}),this.el.addEventListener("change",t=>{t.detail||this.dispatchEvent("change")},{capture:!0})}getCaretPositionOnFocus(t,n){if(this.numberValue==null)return n;const{prefix:o,negativePrefix:r,suffix:s,negativeSuffix:a,groupingSymbol:l,currency:d}=this.currencyFormat,u=this.numberValue<0,m=u?r:o,c=m.length;if(this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===T.hidden){if(u){if(n<=1)return 1;if(t.endsWith(")")&&n>t.indexOf(")"))return this.formattedValue.length-1}}else{const g=u?a.length:s.length;if(n>=t.length-g)return this.formattedValue.length-g;if(n<c)return c}let p=n;return this.options.hideCurrencySymbolOnFocus&&this.options.currencyDisplay!==T.hidden&&n>=c&&d!==void 0&&m.includes(d)&&(p-=c,u&&(p+=1)),this.options.hideGroupingSeparatorOnFocus&&l!==void 0&&(p-=pe(t.substring(0,n),l)),p}setCaretPosition(t,n=t){this.el.setSelectionRange(t,n)}}const Sn=e=>(e==null?void 0:e.matches("input"))?e:e==null?void 0:e.querySelector("input");var wn=e=>{var t;let n,o;const r=i.ref(null),s=i.ref(null),a=i.getCurrentInstance(),l=(b,f)=>a==null?void 0:a.emit(b,f),d=(t=a==null?void 0:a.attrs.modelModifiers)===null||t===void 0?void 0:t.lazy,u=i.computed(()=>a==null?void 0:a.props.modelValue),m="update:modelValue",c=d?"update:modelValue":"change",p=!d,g=d||!(a==null?void 0:a.attrs.onChange),S=b=>{b.detail&&(u.value!==b.detail.number&&l(m,b.detail.number),s.value=b.detail.formatted)},k=b=>{b.detail&&(l(c,b.detail.number),s.value=b.detail.formatted)};return i.watch(r,b=>{var f,y;b?(o=Sn((y=(f=b)===null||f===void 0?void 0:f.$el)!==null&&y!==void 0?y:b),o?(n=new vn(o,e),p&&o.addEventListener("input",S),g&&o.addEventListener("change",k),n.setValue(u.value)):console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.')):n=null}),i.onUnmounted(()=>{p&&(o==null||o.removeEventListener("input",S)),g&&(o==null||o.removeEventListener("change",k))}),{inputRef:r,formattedValue:s,setValue:b=>n==null?void 0:n.setValue(b),setOptions:b=>n==null?void 0:n.setOptions(b)}},oi="";const Fn=i.createElementVNode("span",{class:"pl-currency__rub-icon"},"\u20BD",-1),He=Object.assign({name:"PlCurrency"},{props:{modelValue:String,width:String},emits:["update:modelValue"],setup(e,{emit:t}){const n=i.ref(null),o=i.reactive({currency:"EUR",currencyDisplay:"hidden",precision:2}),{inputRef:r}=wn(o);return i.watch(n,s=>{t("update:modelValue",s)}),(s,a)=>{const l=Ne;return i.openBlock(),i.createBlock(l,i.mergeProps({style:`width: ${e.width};`},s.$attrs,{ref_key:"inputRef",ref:r,modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=d=>n.value=d),class:"pl-currency"}),{append:i.withCtx(()=>[Fn]),_:1},16,["style","modelValue"])}}}),Z={install(e){e.component("PlCurrency",He)}};var si="";const Cn=i.createElementVNode("p",null,"Hello NPM!",-1),En=i.createTextVNode("Increment count"),je=Object.assign({name:"TestViteNpmComponent"},{setup(e){const t=i.ref(""),n=i.ref(0),o=()=>n.value++;return(r,s)=>{const a=Ne,l=hn;return i.openBlock(),i.createElementBlock(i.Fragment,null,[Cn,i.createElementVNode("div",null,[i.createVNode(a,{modelValue:t.value,"onUpdate:modelValue":s[0]||(s[0]=d=>t.value=d),style:{width:"40%"}},null,8,["modelValue"]),i.createElementVNode("div",null,"This is input message: "+i.toDisplayString(t.value),1)]),i.createElementVNode("div",null,[i.createVNode(l,{type:"primary",onClick:o},{default:i.withCtx(()=>[En]),_:1}),i.createElementVNode("div",null,"This is count: "+i.toDisplayString(n.value),1)])],64)}}}),J={install(e){e.component("TestViteNpmComponent",je)}},Vn={install(e){var t,n;(t=Z.install)==null||t.call(Z,e),(n=J.install)==null||n.call(J,e)}};v.PlCurrency=He,v.PlCurrencyPlugin=Z,v.TestViteNpmComponent=je,v.TestViteNpmComponentPlugin=J,v.default=Vn,Object.defineProperty(v,"__esModule",{value:!0}),v[Symbol.toStringTag]="Module"});