@factoringplus/pl-components-pack-v3 0.1.38 → 0.1.39

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.
@@ -11292,12 +11292,10 @@ const __default__$2 = {
11292
11292
  };
11293
11293
  const _sfc_main$3 = /* @__PURE__ */ Object.assign(__default__$2, {
11294
11294
  props: {
11295
- modelValue: String,
11296
11295
  width: String
11297
11296
  },
11298
11297
  emits: ["update:modelValue"],
11299
11298
  setup(__props, { emit }) {
11300
- const props = __props;
11301
11299
  const innerValue = ref(null);
11302
11300
  const options = reactive({
11303
11301
  currency: "EUR",
@@ -11308,9 +11306,6 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign(__default__$2, {
11308
11306
  watch(innerValue, (newValue) => {
11309
11307
  emit("update:modelValue", newValue);
11310
11308
  });
11311
- onMounted(() => {
11312
- innerValue.value = props.modelValue;
11313
- });
11314
11309
  return (_ctx, _cache) => {
11315
11310
  const _component_el_input = ElInput;
11316
11311
  return openBlock(), createBlock(_component_el_input, mergeProps({
@@ -10,4 +10,4 @@ var sg=Object.defineProperty,cg=Object.defineProperties;var dg=Object.getOwnProp
10
10
  * Vue Currency Input 2.4.0
11
11
  * (c) 2018-2022 Matthias Stiller
12
12
  * @license MIT
13
- */const ln=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Co=e=>e.replace(/^0+(0$|[^0])/,"$1"),rr=(e,t)=>(e.match(new RegExp(ln(t),"g"))||[]).length,Gh=(e,t)=>e.substring(0,e.indexOf(t));var lt;(function(e){e.symbol="symbol",e.narrowSymbol="narrowSymbol",e.code="code",e.name="name",e.hidden="hidden"})(lt||(lt={}));var Je;(function(e){e.precision="precision",e.thousands="thousands",e.millions="millions",e.billions="billions"})(Je||(Je={}));const So=[",",".","\u066B"],$o="(0|[1-9]\\d*)";class qh{constructor(t){var r,a,o,i,l,s;const{currency:d,currencyDisplay:c,locale:f,precision:p,accountingSign:u}=t;this.locale=f,this.options={style:"currency",currency:d,currencySign:u?"accounting":void 0,currencyDisplay:c!==lt.hidden?c:void 0};const h=new Intl.NumberFormat(f,this.options),D=h.formatToParts(123456);this.currency=(r=D.find(({type:b})=>b==="currency"))===null||r===void 0?void 0:r.value,this.digits=[0,1,2,3,4,5,6,7,8,9].map(b=>b.toLocaleString(f)),this.decimalSymbol=(a=D.find(({type:b})=>b==="decimal"))===null||a===void 0?void 0:a.value,this.groupingSymbol=(o=D.find(({type:b})=>b==="group"))===null||o===void 0?void 0:o.value,this.minusSign=(i=h.formatToParts(-1).find(({type:b})=>b==="minusSign"))===null||i===void 0?void 0:i.value,this.decimalSymbol===void 0?this.minimumFractionDigits=this.maximumFractionDigits=0:typeof p=="number"?this.minimumFractionDigits=this.maximumFractionDigits=p:(this.minimumFractionDigits=(l=p==null?void 0:p.min)!==null&&l!==void 0?l:h.resolvedOptions().minimumFractionDigits,this.maximumFractionDigits=(s=p==null?void 0:p.max)!==null&&s!==void 0?s:h.resolvedOptions().maximumFractionDigits);const w=b=>Gh(b,this.digits[1]),g=b=>b.substring(b.lastIndexOf(this.decimalSymbol?this.digits[0]:this.digits[1])+1);this.prefix=w(h.format(1)),this.suffix=g(h.format(1)),this.negativePrefix=w(h.format(-1)),this.negativeSuffix=g(h.format(-1))}parse(t){if(t){const r=this.isNegative(t);t=this.normalizeDigits(t),t=this.stripCurrency(t,r),t=this.stripSignLiterals(t);const a=this.decimalSymbol?`(?:${ln(this.decimalSymbol)}(\\d*))?`:"",o=this.stripGroupingSeparator(t).match(new RegExp(`^${$o}${a}$`));if(o&&this.isValidIntegerFormat(this.decimalSymbol?t.split(this.decimalSymbol)[0]:t,Number(o[1])))return Number(`${r?"-":""}${this.onlyDigits(o[1])}.${this.onlyDigits(o[2]||"")}`)}return null}isValidIntegerFormat(t,r){const a=ye(oe({},this.options),{minimumFractionDigits:0});return[this.stripCurrency(this.normalizeDigits(r.toLocaleString(this.locale,ye(oe({},a),{useGrouping:!0}))),!1),this.stripCurrency(this.normalizeDigits(r.toLocaleString(this.locale,ye(oe({},a),{useGrouping:!1}))),!1)].includes(t)}format(t,r={minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits}){return t!=null?t.toLocaleString(this.locale,oe(oe({},this.options),r)):""}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(`^${$o}${ln(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,r){return`${r?this.negativePrefix:this.prefix}${t}${r?this.negativeSuffix:this.suffix}`}stripGroupingSeparator(t){return this.groupingSymbol!==void 0?t.replace(new RegExp(ln(this.groupingSymbol),"g"),""):t}stripSignLiterals(t){return this.minusSign!==void 0?t.replace("-",this.minusSign).replace(this.minusSign,""):t.replace(/[-()]/g,"")}stripCurrency(t,r){return t.replace(r?this.negativePrefix:this.prefix,"").replace(r?this.negativeSuffix:this.suffix,"")}normalizeDecimalSeparator(t,r){return So.forEach(a=>{t=t.substr(0,r)+t.substr(r).replace(a,this.decimalSymbol)}),t}normalizeDigits(t){return this.digits[0]!=="0"&&this.digits.forEach((r,a)=>{t=t.replace(new RegExp(r,"g"),String(a))}),t}onlyDigits(t){return this.normalizeDigits(t).replace(/\D+/g,"")}onlyLocaleDigits(t){return t.replace(new RegExp(`[^${this.digits.join("")}]*`,"g"),"")}}class Do{constructor(t){this.currencyFormat=t}}class Xh extends Do{conformToMask(t,r=""){const a=this.currencyFormat.isNegative(t),o=D=>D===""&&a&&!(this.currencyFormat.minusSign===void 0?r===this.currencyFormat.negativePrefix+this.currencyFormat.negativeSuffix:r===this.currencyFormat.negativePrefix),i=D=>{if(o(D))return"";if(this.currencyFormat.maximumFractionDigits>0){if(this.currencyFormat.isFractionIncomplete(D))return D;if(D.startsWith(this.currencyFormat.decimalSymbol))return this.currencyFormat.toFraction(D)}return null};let l=t;l=this.currencyFormat.stripCurrency(l,a),l=this.currencyFormat.stripSignLiterals(l);const s=i(l);if(s!=null)return this.currencyFormat.insertCurrency(s,a);const[d,...c]=l.split(this.currencyFormat.decimalSymbol),f=Co(this.currencyFormat.onlyDigits(d)),p=this.currencyFormat.onlyDigits(c.join("")).substr(0,this.currencyFormat.maximumFractionDigits),u=c.length>0&&p.length===0,h=f===""&&a&&(this.currencyFormat.minusSign===void 0?r===t.slice(0,-2)+this.currencyFormat.negativeSuffix:r===t.slice(0,-1));return u||h||o(f)?r:f.match(/\d+/)?{numberValue:Number(`${a?"-":""}${f}.${p}`),fractionDigits:p}:""}}class Zh extends Do{conformToMask(t,r=""){if(t===""||this.currencyFormat.parse(r)===0&&this.currencyFormat.stripCurrency(r,!0).slice(0,-1)===this.currencyFormat.stripCurrency(t,!0))return"";const a=this.currencyFormat.isNegative(t),o=this.currencyFormat.stripSignLiterals(t)===""?-0:Number(`${a?"-":""}${Co(this.currencyFormat.onlyDigits(t))}`)/Math.pow(10,this.currencyFormat.maximumFractionDigits);return{numberValue:o,fractionDigits:o.toFixed(this.currencyFormat.maximumFractionDigits).slice(-this.currencyFormat.maximumFractionDigits)}}}const Jh={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 Qh{constructor(t,r){this.el=t,this.numberValue=null,this.addEventListener(),this.init(r),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 r=this.valueScaling!==void 0&&t!=null?this.toFloat(t,this.valueScaling):t;r!==this.numberValue&&this.applyFixedFractionFormat(r)}dispatchEvent(t){this.el.dispatchEvent(new CustomEvent(t,{detail:this.getValue()}))}init(t){this.options=oe(oe({},Jh),t),this.options.autoDecimalDigits?(this.options.hideNegligibleDecimalDigitsOnFocus=!1,this.el.setAttribute("inputmode","numeric")):this.el.setAttribute("inputmode","decimal"),this.currencyFormat=new qh(this.options),this.numberMask=this.options.autoDecimalDigits?new Zh(this.currencyFormat):new Xh(this.currencyFormat);const r={[Je.precision]:this.currencyFormat.maximumFractionDigits,[Je.thousands]:3,[Je.millions]:6,[Je.billions]:9};this.options.exportValueAsInteger?this.valueScaling=r[Je.precision]:this.valueScaling=this.options.valueScaling?r[this.options.valueScaling]:void 0,this.valueScalingFractionDigits=this.valueScaling!==void 0&&this.options.valueScaling!==Je.precision?this.valueScaling+this.currencyFormat.maximumFractionDigits:this.currencyFormat.maximumFractionDigits,this.minValue=this.getMinValue(),this.maxValue=this.getMaxValue()}getMinValue(){var t,r;let a=this.toFloat(-Number.MAX_SAFE_INTEGER);return((t=this.options.valueRange)===null||t===void 0?void 0:t.min)!==void 0&&(a=Math.max((r=this.options.valueRange)===null||r===void 0?void 0:r.min,this.toFloat(-Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&a<0&&(a=0),a}getMaxValue(){var t,r;let a=this.toFloat(Number.MAX_SAFE_INTEGER);return((t=this.options.valueRange)===null||t===void 0?void 0:t.max)!==void 0&&(a=Math.min((r=this.options.valueRange)===null||r===void 0?void 0:r.max,this.toFloat(Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&a<0&&(a=this.toFloat(Number.MAX_SAFE_INTEGER)),a}toFloat(t,r){return t/Math.pow(10,r!=null?r:this.valueScalingFractionDigits)}toInteger(t,r){return Number(t.toFixed(r!=null?r:this.valueScalingFractionDigits).split(".").join(""))}validateValueRange(t){return t!=null?Math.min(Math.max(t,this.minValue),this.maxValue):t}applyFixedFractionFormat(t,r=!1){this.format(this.currencyFormat.format(this.validateValueRange(t))),(t!==this.numberValue||r)&&this.dispatchEvent("change")}format(t,r=!1){if(t!=null){this.decimalSymbolInsertedAt!==void 0&&(t=this.currencyFormat.normalizeDecimalSeparator(t,this.decimalSymbolInsertedAt),this.decimalSymbolInsertedAt=void 0);const a=this.numberMask.conformToMask(t,this.formattedValue);let o;if(typeof a=="object"){const{numberValue:i,fractionDigits:l}=a;let{maximumFractionDigits:s,minimumFractionDigits:d}=this.currencyFormat;this.focus?d=r?l.replace(/0+$/,"").length:Math.min(s,l.length):Number.isInteger(i)&&!this.options.autoDecimalDigits&&(this.options.precision===void 0||d===0)&&(d=s=0),o=this.toInteger(Math.abs(i))>Number.MAX_SAFE_INTEGER?this.formattedValue:this.currencyFormat.format(i,{useGrouping:this.options.useGrouping&&!(this.focus&&this.options.hideGroupingSeparatorOnFocus),minimumFractionDigits:d,maximumFractionDigits:s})}else o=a;this.options.autoSign&&(this.maxValue<=0&&!this.currencyFormat.isNegative(o)&&this.currencyFormat.parse(o)!==0&&(o=o.replace(this.currencyFormat.prefix,this.currencyFormat.negativePrefix)),this.minValue>=0&&(o=o.replace(this.currencyFormat.negativePrefix,this.currencyFormat.prefix))),(this.options.currencyDisplay===lt.hidden||this.focus&&this.options.hideCurrencySymbolOnFocus)&&(o=o.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=o,this.numberValue=this.currencyFormat.parse(o)}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:r,selectionStart:a}=this.el,o=t;if(a&&o.data&&So.includes(o.data)&&(this.decimalSymbolInsertedAt=a-1),this.format(r),this.focus&&a!=null){const i=()=>{const{prefix:l,suffix:s,decimalSymbol:d,maximumFractionDigits:c,groupingSymbol:f}=this.currencyFormat;let p=r.length-a;const u=this.formattedValue.length;if(this.currencyFormat.minusSign===void 0&&(r.startsWith("(")||r.startsWith("-"))&&!r.endsWith(")"))return u-this.currencyFormat.negativeSuffix.length>1?this.formattedValue.substring(a).length:1;if(this.formattedValue.substr(a,1)===f&&rr(this.formattedValue,f)===rr(r,f)+1)return u-p-1;if(u<p)return a;if(d!==void 0&&r.indexOf(d)!==-1){const h=r.indexOf(d)+1;if(Math.abs(u-r.length)>1&&a<=h)return this.formattedValue.indexOf(d)+1;!this.options.autoDecimalDigits&&a>h&&this.currencyFormat.onlyDigits(r.substr(h)).length-1===c&&(p-=1)}return this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===lt.hidden?u-p:Math.max(u-Math.max(p,s.length),l.length)};this.setCaretPosition(i())}}},{capture:!0}),this.el.addEventListener("focus",()=>{this.focus=!0,setTimeout(()=>{const{value:t,selectionStart:r,selectionEnd:a}=this.el;if(this.format(t,this.options.hideNegligibleDecimalDigitsOnFocus),r!=null&&a!=null&&Math.abs(r-a)>0)this.setCaretPosition(0,this.el.value.length);else if(r!=null){const o=this.getCaretPositionOnFocus(t,r);this.setCaretPosition(o)}})}),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,r){if(this.numberValue==null)return r;const{prefix:a,negativePrefix:o,suffix:i,negativeSuffix:l,groupingSymbol:s,currency:d}=this.currencyFormat,c=this.numberValue<0,f=c?o:a,p=f.length;if(this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===lt.hidden){if(c){if(r<=1)return 1;if(t.endsWith(")")&&r>t.indexOf(")"))return this.formattedValue.length-1}}else{const h=c?l.length:i.length;if(r>=t.length-h)return this.formattedValue.length-h;if(r<p)return p}let u=r;return this.options.hideCurrencySymbolOnFocus&&this.options.currencyDisplay!==lt.hidden&&r>=p&&d!==void 0&&f.includes(d)&&(u-=p,c&&(u+=1)),this.options.hideGroupingSeparatorOnFocus&&s!==void 0&&(u-=rr(t.substring(0,r),s)),u}setCaretPosition(t,r=t){this.el.setSelectionRange(t,r)}}const eg=e=>(e==null?void 0:e.matches("input"))?e:e==null?void 0:e.querySelector("input");var tg=e=>{var t;let r,a;const o=n.ref(null),i=n.ref(null),l=n.getCurrentInstance(),s=(g,b)=>l==null?void 0:l.emit(g,b),d=(t=l==null?void 0:l.attrs.modelModifiers)===null||t===void 0?void 0:t.lazy,c=n.computed(()=>l==null?void 0:l.props.modelValue),f="update:modelValue",p=d?"update:modelValue":"change",u=!d,h=d||!(l==null?void 0:l.attrs.onChange),D=g=>{g.detail&&(c.value!==g.detail.number&&s(f,g.detail.number),i.value=g.detail.formatted)},w=g=>{g.detail&&(s(p,g.detail.number),i.value=g.detail.formatted)};return n.watch(o,g=>{var b,v;g?(a=eg((v=(b=g)===null||b===void 0?void 0:b.$el)!==null&&v!==void 0?v:g),a?(r=new Qh(a,e),u&&a.addEventListener("input",D),h&&a.addEventListener("change",w),r.setValue(c.value)):console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.')):r=null}),n.onUnmounted(()=>{u&&(a==null||a.removeEventListener("input",D)),h&&(a==null||a.removeEventListener("change",w))}),{inputRef:o,formattedValue:i,setValue:g=>r==null?void 0:r.setValue(g),setOptions:g=>r==null?void 0:r.setOptions(g)}},Ag="";const ng=n.createElementVNode("span",{class:"pl-currency__rub-icon"},"\u20BD",-1),Eo=Object.assign({name:"PlCurrency"},{props:{modelValue:String,width:String},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,a=n.ref(null),o=n.reactive({currency:"EUR",currencyDisplay:"hidden",precision:2}),{inputRef:i}=tg(o);return n.watch(a,l=>{t("update:modelValue",l)}),n.onMounted(()=>{a.value=r.modelValue}),(l,s)=>{const d=Tt;return n.openBlock(),n.createBlock(d,n.mergeProps({style:`width: ${e.width};`},l.$attrs,{ref_key:"inputRef",ref:i,modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=c=>a.value=c),class:"pl-currency"}),{append:n.withCtx(()=>[ng]),_:1},16,["style","modelValue"])}}}),sn={install(e){e.component("PlCurrency",Eo)}};var Ig="";const rg=n.createElementVNode("p",null,"Hello NPM!",-1),ag=n.createTextVNode("Increment count"),Mo=Object.assign({name:"TestViteNpmComponent"},{setup(e){const t=n.ref(""),r=n.ref(0),a=()=>r.value++;return(o,i)=>{const l=Tt,s=an;return n.openBlock(),n.createElementBlock(n.Fragment,null,[rg,n.createElementVNode("div",null,[n.createVNode(l,{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=d=>t.value=d),style:{width:"40%"}},null,8,["modelValue"]),n.createElementVNode("div",null,"This is input message: "+n.toDisplayString(t.value),1)]),n.createElementVNode("div",null,[n.createVNode(s,{type:"primary",onClick:a},{default:n.withCtx(()=>[ag]),_:1}),n.createElementVNode("div",null,"This is count: "+n.toDisplayString(r.value),1)])],64)}}}),cn={install(e){e.component("TestViteNpmComponent",Mo)}};var Rg="",og=(e,t)=>{const r=e.__vccOpts||e;for(const[a,o]of t)r[a]=o;return r},Vo=og({props:{beforeIcon:{type:String,default:null},afterIcon:{type:String,default:null},onlyIcon:{type:String,default:null},disabled:{type:Boolean,default:!1},size:{type:String,default:"small"},type:{type:String,default:"primary"}},emits:["onClick"],setup(e,{emit:t}){const r=e;return(a,o)=>{const i=n.resolveComponent("vue-feather"),l=an;return n.openBlock(),n.createBlock(l,{class:n.normalizeClass([r.size==="medium"?"big":"",r.onlyIcon?"btn-icon":""]),disabled:e.disabled,type:e.type,onClick:t.onClick},{default:n.withCtx(()=>[e.beforeIcon&&!e.onlyIcon?(n.openBlock(),n.createBlock(i,{key:0,class:n.normalizeClass(["icon icon__before",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]]),type:e.beforeIcon},null,8,["class","type"])):n.createCommentVNode("",!0),e.onlyIcon?(n.openBlock(),n.createBlock(i,{key:1,class:n.normalizeClass(["icon icon__before only-icon",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]]),type:e.onlyIcon},null,8,["class","type"])):n.createCommentVNode("",!0),e.onlyIcon?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("span",{key:2,class:n.normalizeClass(["btn-text",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]])},[n.renderSlot(a.$slots,"default",{},void 0,!0)],2)),e.afterIcon&&!e.onlyIcon?(n.openBlock(),n.createBlock(i,{key:3,class:n.normalizeClass([[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""],"icon icon__after"]),type:e.afterIcon},null,8,["class","type"])):n.createCommentVNode("",!0)]),_:3},8,["class","disabled","type","onClick"])}}},[["__scopeId","data-v-bba88be2"]]);const dn={install(e){e.component("PlButton",Vo)}};var zg="",jg="",Yg="",Hg="";const Po=Object.assign({name:"PlDatePickerRange"},{props:{modelValue:{type:Array,default:null},format:{type:String,default:"DD.MM.YYYY"},startPlaceholder:{type:String,default:"\u0414\u0430\u0442\u0430 \u043E\u0442"},endPlaceholder:{type:String,default:"\u0414\u0430\u0442\u0430 \u0434\u043E"},pickerOptions:{type:Object,default:()=>({firstDayOfWeek:1})}},emits:["update:modelValue"],setup(e,{emit:t}){const r=n.ref(null),a=n.ref(null);return n.watch(r,o=>{t("update:modelValue",o)}),n.onMounted(()=>{console.log("innerDatePicker",a.value)}),(o,i)=>{const l=Kh;return n.openBlock(),n.createBlock(l,n.mergeProps({ref_key:"innerDatePicker",ref:a},o.$attrs,{modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=s=>r.value=s),format:e.format,"picker-options":e.pickerOptions,"start-placeholder":e.startPlaceholder,"end-placeholder":e.endPlaceholder,clearable:!1,type:"daterange",style:{width:"224px"}}),null,16,["modelValue","format","picker-options","start-placeholder","end-placeholder"])}}});var Ug="",xg="";const un={install(e){e.component("PlDatePickerRange",Po)}},ig={install(e){var t,r,a,o;(t=sn.install)==null||t.call(sn,e),(r=cn.install)==null||r.call(cn,e),(a=dn.install)==null||a.call(dn,e),(o=un.install)==null||o.call(un,e)}};Q.PlButton=Vo,Q.PlButtonPlugin=dn,Q.PlCurrency=Eo,Q.PlCurrencyPlugin=sn,Q.PlDatePickerRange=Po,Q.PlDatePickerRangePlugin=un,Q.TestViteNpmComponent=Mo,Q.TestViteNpmComponentPlugin=cn,Q.default=ig,Object.defineProperty(Q,"__esModule",{value:!0}),Q[Symbol.toStringTag]="Module"});
13
+ */const ln=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Co=e=>e.replace(/^0+(0$|[^0])/,"$1"),rr=(e,t)=>(e.match(new RegExp(ln(t),"g"))||[]).length,Gh=(e,t)=>e.substring(0,e.indexOf(t));var lt;(function(e){e.symbol="symbol",e.narrowSymbol="narrowSymbol",e.code="code",e.name="name",e.hidden="hidden"})(lt||(lt={}));var Je;(function(e){e.precision="precision",e.thousands="thousands",e.millions="millions",e.billions="billions"})(Je||(Je={}));const So=[",",".","\u066B"],$o="(0|[1-9]\\d*)";class qh{constructor(t){var r,a,o,i,l,s;const{currency:d,currencyDisplay:c,locale:f,precision:p,accountingSign:u}=t;this.locale=f,this.options={style:"currency",currency:d,currencySign:u?"accounting":void 0,currencyDisplay:c!==lt.hidden?c:void 0};const h=new Intl.NumberFormat(f,this.options),D=h.formatToParts(123456);this.currency=(r=D.find(({type:b})=>b==="currency"))===null||r===void 0?void 0:r.value,this.digits=[0,1,2,3,4,5,6,7,8,9].map(b=>b.toLocaleString(f)),this.decimalSymbol=(a=D.find(({type:b})=>b==="decimal"))===null||a===void 0?void 0:a.value,this.groupingSymbol=(o=D.find(({type:b})=>b==="group"))===null||o===void 0?void 0:o.value,this.minusSign=(i=h.formatToParts(-1).find(({type:b})=>b==="minusSign"))===null||i===void 0?void 0:i.value,this.decimalSymbol===void 0?this.minimumFractionDigits=this.maximumFractionDigits=0:typeof p=="number"?this.minimumFractionDigits=this.maximumFractionDigits=p:(this.minimumFractionDigits=(l=p==null?void 0:p.min)!==null&&l!==void 0?l:h.resolvedOptions().minimumFractionDigits,this.maximumFractionDigits=(s=p==null?void 0:p.max)!==null&&s!==void 0?s:h.resolvedOptions().maximumFractionDigits);const w=b=>Gh(b,this.digits[1]),g=b=>b.substring(b.lastIndexOf(this.decimalSymbol?this.digits[0]:this.digits[1])+1);this.prefix=w(h.format(1)),this.suffix=g(h.format(1)),this.negativePrefix=w(h.format(-1)),this.negativeSuffix=g(h.format(-1))}parse(t){if(t){const r=this.isNegative(t);t=this.normalizeDigits(t),t=this.stripCurrency(t,r),t=this.stripSignLiterals(t);const a=this.decimalSymbol?`(?:${ln(this.decimalSymbol)}(\\d*))?`:"",o=this.stripGroupingSeparator(t).match(new RegExp(`^${$o}${a}$`));if(o&&this.isValidIntegerFormat(this.decimalSymbol?t.split(this.decimalSymbol)[0]:t,Number(o[1])))return Number(`${r?"-":""}${this.onlyDigits(o[1])}.${this.onlyDigits(o[2]||"")}`)}return null}isValidIntegerFormat(t,r){const a=ye(oe({},this.options),{minimumFractionDigits:0});return[this.stripCurrency(this.normalizeDigits(r.toLocaleString(this.locale,ye(oe({},a),{useGrouping:!0}))),!1),this.stripCurrency(this.normalizeDigits(r.toLocaleString(this.locale,ye(oe({},a),{useGrouping:!1}))),!1)].includes(t)}format(t,r={minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits}){return t!=null?t.toLocaleString(this.locale,oe(oe({},this.options),r)):""}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(`^${$o}${ln(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,r){return`${r?this.negativePrefix:this.prefix}${t}${r?this.negativeSuffix:this.suffix}`}stripGroupingSeparator(t){return this.groupingSymbol!==void 0?t.replace(new RegExp(ln(this.groupingSymbol),"g"),""):t}stripSignLiterals(t){return this.minusSign!==void 0?t.replace("-",this.minusSign).replace(this.minusSign,""):t.replace(/[-()]/g,"")}stripCurrency(t,r){return t.replace(r?this.negativePrefix:this.prefix,"").replace(r?this.negativeSuffix:this.suffix,"")}normalizeDecimalSeparator(t,r){return So.forEach(a=>{t=t.substr(0,r)+t.substr(r).replace(a,this.decimalSymbol)}),t}normalizeDigits(t){return this.digits[0]!=="0"&&this.digits.forEach((r,a)=>{t=t.replace(new RegExp(r,"g"),String(a))}),t}onlyDigits(t){return this.normalizeDigits(t).replace(/\D+/g,"")}onlyLocaleDigits(t){return t.replace(new RegExp(`[^${this.digits.join("")}]*`,"g"),"")}}class Do{constructor(t){this.currencyFormat=t}}class Xh extends Do{conformToMask(t,r=""){const a=this.currencyFormat.isNegative(t),o=D=>D===""&&a&&!(this.currencyFormat.minusSign===void 0?r===this.currencyFormat.negativePrefix+this.currencyFormat.negativeSuffix:r===this.currencyFormat.negativePrefix),i=D=>{if(o(D))return"";if(this.currencyFormat.maximumFractionDigits>0){if(this.currencyFormat.isFractionIncomplete(D))return D;if(D.startsWith(this.currencyFormat.decimalSymbol))return this.currencyFormat.toFraction(D)}return null};let l=t;l=this.currencyFormat.stripCurrency(l,a),l=this.currencyFormat.stripSignLiterals(l);const s=i(l);if(s!=null)return this.currencyFormat.insertCurrency(s,a);const[d,...c]=l.split(this.currencyFormat.decimalSymbol),f=Co(this.currencyFormat.onlyDigits(d)),p=this.currencyFormat.onlyDigits(c.join("")).substr(0,this.currencyFormat.maximumFractionDigits),u=c.length>0&&p.length===0,h=f===""&&a&&(this.currencyFormat.minusSign===void 0?r===t.slice(0,-2)+this.currencyFormat.negativeSuffix:r===t.slice(0,-1));return u||h||o(f)?r:f.match(/\d+/)?{numberValue:Number(`${a?"-":""}${f}.${p}`),fractionDigits:p}:""}}class Zh extends Do{conformToMask(t,r=""){if(t===""||this.currencyFormat.parse(r)===0&&this.currencyFormat.stripCurrency(r,!0).slice(0,-1)===this.currencyFormat.stripCurrency(t,!0))return"";const a=this.currencyFormat.isNegative(t),o=this.currencyFormat.stripSignLiterals(t)===""?-0:Number(`${a?"-":""}${Co(this.currencyFormat.onlyDigits(t))}`)/Math.pow(10,this.currencyFormat.maximumFractionDigits);return{numberValue:o,fractionDigits:o.toFixed(this.currencyFormat.maximumFractionDigits).slice(-this.currencyFormat.maximumFractionDigits)}}}const Jh={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 Qh{constructor(t,r){this.el=t,this.numberValue=null,this.addEventListener(),this.init(r),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 r=this.valueScaling!==void 0&&t!=null?this.toFloat(t,this.valueScaling):t;r!==this.numberValue&&this.applyFixedFractionFormat(r)}dispatchEvent(t){this.el.dispatchEvent(new CustomEvent(t,{detail:this.getValue()}))}init(t){this.options=oe(oe({},Jh),t),this.options.autoDecimalDigits?(this.options.hideNegligibleDecimalDigitsOnFocus=!1,this.el.setAttribute("inputmode","numeric")):this.el.setAttribute("inputmode","decimal"),this.currencyFormat=new qh(this.options),this.numberMask=this.options.autoDecimalDigits?new Zh(this.currencyFormat):new Xh(this.currencyFormat);const r={[Je.precision]:this.currencyFormat.maximumFractionDigits,[Je.thousands]:3,[Je.millions]:6,[Je.billions]:9};this.options.exportValueAsInteger?this.valueScaling=r[Je.precision]:this.valueScaling=this.options.valueScaling?r[this.options.valueScaling]:void 0,this.valueScalingFractionDigits=this.valueScaling!==void 0&&this.options.valueScaling!==Je.precision?this.valueScaling+this.currencyFormat.maximumFractionDigits:this.currencyFormat.maximumFractionDigits,this.minValue=this.getMinValue(),this.maxValue=this.getMaxValue()}getMinValue(){var t,r;let a=this.toFloat(-Number.MAX_SAFE_INTEGER);return((t=this.options.valueRange)===null||t===void 0?void 0:t.min)!==void 0&&(a=Math.max((r=this.options.valueRange)===null||r===void 0?void 0:r.min,this.toFloat(-Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&a<0&&(a=0),a}getMaxValue(){var t,r;let a=this.toFloat(Number.MAX_SAFE_INTEGER);return((t=this.options.valueRange)===null||t===void 0?void 0:t.max)!==void 0&&(a=Math.min((r=this.options.valueRange)===null||r===void 0?void 0:r.max,this.toFloat(Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&a<0&&(a=this.toFloat(Number.MAX_SAFE_INTEGER)),a}toFloat(t,r){return t/Math.pow(10,r!=null?r:this.valueScalingFractionDigits)}toInteger(t,r){return Number(t.toFixed(r!=null?r:this.valueScalingFractionDigits).split(".").join(""))}validateValueRange(t){return t!=null?Math.min(Math.max(t,this.minValue),this.maxValue):t}applyFixedFractionFormat(t,r=!1){this.format(this.currencyFormat.format(this.validateValueRange(t))),(t!==this.numberValue||r)&&this.dispatchEvent("change")}format(t,r=!1){if(t!=null){this.decimalSymbolInsertedAt!==void 0&&(t=this.currencyFormat.normalizeDecimalSeparator(t,this.decimalSymbolInsertedAt),this.decimalSymbolInsertedAt=void 0);const a=this.numberMask.conformToMask(t,this.formattedValue);let o;if(typeof a=="object"){const{numberValue:i,fractionDigits:l}=a;let{maximumFractionDigits:s,minimumFractionDigits:d}=this.currencyFormat;this.focus?d=r?l.replace(/0+$/,"").length:Math.min(s,l.length):Number.isInteger(i)&&!this.options.autoDecimalDigits&&(this.options.precision===void 0||d===0)&&(d=s=0),o=this.toInteger(Math.abs(i))>Number.MAX_SAFE_INTEGER?this.formattedValue:this.currencyFormat.format(i,{useGrouping:this.options.useGrouping&&!(this.focus&&this.options.hideGroupingSeparatorOnFocus),minimumFractionDigits:d,maximumFractionDigits:s})}else o=a;this.options.autoSign&&(this.maxValue<=0&&!this.currencyFormat.isNegative(o)&&this.currencyFormat.parse(o)!==0&&(o=o.replace(this.currencyFormat.prefix,this.currencyFormat.negativePrefix)),this.minValue>=0&&(o=o.replace(this.currencyFormat.negativePrefix,this.currencyFormat.prefix))),(this.options.currencyDisplay===lt.hidden||this.focus&&this.options.hideCurrencySymbolOnFocus)&&(o=o.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=o,this.numberValue=this.currencyFormat.parse(o)}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:r,selectionStart:a}=this.el,o=t;if(a&&o.data&&So.includes(o.data)&&(this.decimalSymbolInsertedAt=a-1),this.format(r),this.focus&&a!=null){const i=()=>{const{prefix:l,suffix:s,decimalSymbol:d,maximumFractionDigits:c,groupingSymbol:f}=this.currencyFormat;let p=r.length-a;const u=this.formattedValue.length;if(this.currencyFormat.minusSign===void 0&&(r.startsWith("(")||r.startsWith("-"))&&!r.endsWith(")"))return u-this.currencyFormat.negativeSuffix.length>1?this.formattedValue.substring(a).length:1;if(this.formattedValue.substr(a,1)===f&&rr(this.formattedValue,f)===rr(r,f)+1)return u-p-1;if(u<p)return a;if(d!==void 0&&r.indexOf(d)!==-1){const h=r.indexOf(d)+1;if(Math.abs(u-r.length)>1&&a<=h)return this.formattedValue.indexOf(d)+1;!this.options.autoDecimalDigits&&a>h&&this.currencyFormat.onlyDigits(r.substr(h)).length-1===c&&(p-=1)}return this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===lt.hidden?u-p:Math.max(u-Math.max(p,s.length),l.length)};this.setCaretPosition(i())}}},{capture:!0}),this.el.addEventListener("focus",()=>{this.focus=!0,setTimeout(()=>{const{value:t,selectionStart:r,selectionEnd:a}=this.el;if(this.format(t,this.options.hideNegligibleDecimalDigitsOnFocus),r!=null&&a!=null&&Math.abs(r-a)>0)this.setCaretPosition(0,this.el.value.length);else if(r!=null){const o=this.getCaretPositionOnFocus(t,r);this.setCaretPosition(o)}})}),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,r){if(this.numberValue==null)return r;const{prefix:a,negativePrefix:o,suffix:i,negativeSuffix:l,groupingSymbol:s,currency:d}=this.currencyFormat,c=this.numberValue<0,f=c?o:a,p=f.length;if(this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===lt.hidden){if(c){if(r<=1)return 1;if(t.endsWith(")")&&r>t.indexOf(")"))return this.formattedValue.length-1}}else{const h=c?l.length:i.length;if(r>=t.length-h)return this.formattedValue.length-h;if(r<p)return p}let u=r;return this.options.hideCurrencySymbolOnFocus&&this.options.currencyDisplay!==lt.hidden&&r>=p&&d!==void 0&&f.includes(d)&&(u-=p,c&&(u+=1)),this.options.hideGroupingSeparatorOnFocus&&s!==void 0&&(u-=rr(t.substring(0,r),s)),u}setCaretPosition(t,r=t){this.el.setSelectionRange(t,r)}}const eg=e=>(e==null?void 0:e.matches("input"))?e:e==null?void 0:e.querySelector("input");var tg=e=>{var t;let r,a;const o=n.ref(null),i=n.ref(null),l=n.getCurrentInstance(),s=(g,b)=>l==null?void 0:l.emit(g,b),d=(t=l==null?void 0:l.attrs.modelModifiers)===null||t===void 0?void 0:t.lazy,c=n.computed(()=>l==null?void 0:l.props.modelValue),f="update:modelValue",p=d?"update:modelValue":"change",u=!d,h=d||!(l==null?void 0:l.attrs.onChange),D=g=>{g.detail&&(c.value!==g.detail.number&&s(f,g.detail.number),i.value=g.detail.formatted)},w=g=>{g.detail&&(s(p,g.detail.number),i.value=g.detail.formatted)};return n.watch(o,g=>{var b,v;g?(a=eg((v=(b=g)===null||b===void 0?void 0:b.$el)!==null&&v!==void 0?v:g),a?(r=new Qh(a,e),u&&a.addEventListener("input",D),h&&a.addEventListener("change",w),r.setValue(c.value)):console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.')):r=null}),n.onUnmounted(()=>{u&&(a==null||a.removeEventListener("input",D)),h&&(a==null||a.removeEventListener("change",w))}),{inputRef:o,formattedValue:i,setValue:g=>r==null?void 0:r.setValue(g),setOptions:g=>r==null?void 0:r.setOptions(g)}},Ag="";const ng=n.createElementVNode("span",{class:"pl-currency__rub-icon"},"\u20BD",-1),Eo=Object.assign({name:"PlCurrency"},{props:{width:String},emits:["update:modelValue"],setup(e,{emit:t}){const r=n.ref(null),a=n.reactive({currency:"EUR",currencyDisplay:"hidden",precision:2}),{inputRef:o}=tg(a);return n.watch(r,i=>{t("update:modelValue",i)}),(i,l)=>{const s=Tt;return n.openBlock(),n.createBlock(s,n.mergeProps({style:`width: ${e.width};`},i.$attrs,{ref_key:"inputRef",ref:o,modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=d=>r.value=d),class:"pl-currency"}),{append:n.withCtx(()=>[ng]),_:1},16,["style","modelValue"])}}}),sn={install(e){e.component("PlCurrency",Eo)}};var Ig="";const rg=n.createElementVNode("p",null,"Hello NPM!",-1),ag=n.createTextVNode("Increment count"),Mo=Object.assign({name:"TestViteNpmComponent"},{setup(e){const t=n.ref(""),r=n.ref(0),a=()=>r.value++;return(o,i)=>{const l=Tt,s=an;return n.openBlock(),n.createElementBlock(n.Fragment,null,[rg,n.createElementVNode("div",null,[n.createVNode(l,{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=d=>t.value=d),style:{width:"40%"}},null,8,["modelValue"]),n.createElementVNode("div",null,"This is input message: "+n.toDisplayString(t.value),1)]),n.createElementVNode("div",null,[n.createVNode(s,{type:"primary",onClick:a},{default:n.withCtx(()=>[ag]),_:1}),n.createElementVNode("div",null,"This is count: "+n.toDisplayString(r.value),1)])],64)}}}),cn={install(e){e.component("TestViteNpmComponent",Mo)}};var Rg="",og=(e,t)=>{const r=e.__vccOpts||e;for(const[a,o]of t)r[a]=o;return r},Vo=og({props:{beforeIcon:{type:String,default:null},afterIcon:{type:String,default:null},onlyIcon:{type:String,default:null},disabled:{type:Boolean,default:!1},size:{type:String,default:"small"},type:{type:String,default:"primary"}},emits:["onClick"],setup(e,{emit:t}){const r=e;return(a,o)=>{const i=n.resolveComponent("vue-feather"),l=an;return n.openBlock(),n.createBlock(l,{class:n.normalizeClass([r.size==="medium"?"big":"",r.onlyIcon?"btn-icon":""]),disabled:e.disabled,type:e.type,onClick:t.onClick},{default:n.withCtx(()=>[e.beforeIcon&&!e.onlyIcon?(n.openBlock(),n.createBlock(i,{key:0,class:n.normalizeClass(["icon icon__before",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]]),type:e.beforeIcon},null,8,["class","type"])):n.createCommentVNode("",!0),e.onlyIcon?(n.openBlock(),n.createBlock(i,{key:1,class:n.normalizeClass(["icon icon__before only-icon",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]]),type:e.onlyIcon},null,8,["class","type"])):n.createCommentVNode("",!0),e.onlyIcon?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("span",{key:2,class:n.normalizeClass(["btn-text",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]])},[n.renderSlot(a.$slots,"default",{},void 0,!0)],2)),e.afterIcon&&!e.onlyIcon?(n.openBlock(),n.createBlock(i,{key:3,class:n.normalizeClass([[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""],"icon icon__after"]),type:e.afterIcon},null,8,["class","type"])):n.createCommentVNode("",!0)]),_:3},8,["class","disabled","type","onClick"])}}},[["__scopeId","data-v-bba88be2"]]);const dn={install(e){e.component("PlButton",Vo)}};var zg="",jg="",Yg="",Hg="";const Po=Object.assign({name:"PlDatePickerRange"},{props:{modelValue:{type:Array,default:null},format:{type:String,default:"DD.MM.YYYY"},startPlaceholder:{type:String,default:"\u0414\u0430\u0442\u0430 \u043E\u0442"},endPlaceholder:{type:String,default:"\u0414\u0430\u0442\u0430 \u0434\u043E"},pickerOptions:{type:Object,default:()=>({firstDayOfWeek:1})}},emits:["update:modelValue"],setup(e,{emit:t}){const r=n.ref(null),a=n.ref(null);return n.watch(r,o=>{t("update:modelValue",o)}),n.onMounted(()=>{console.log("innerDatePicker",a.value)}),(o,i)=>{const l=Kh;return n.openBlock(),n.createBlock(l,n.mergeProps({ref_key:"innerDatePicker",ref:a},o.$attrs,{modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=s=>r.value=s),format:e.format,"picker-options":e.pickerOptions,"start-placeholder":e.startPlaceholder,"end-placeholder":e.endPlaceholder,clearable:!1,type:"daterange",style:{width:"224px"}}),null,16,["modelValue","format","picker-options","start-placeholder","end-placeholder"])}}});var Ug="",xg="";const un={install(e){e.component("PlDatePickerRange",Po)}},ig={install(e){var t,r,a,o;(t=sn.install)==null||t.call(sn,e),(r=cn.install)==null||r.call(cn,e),(a=dn.install)==null||a.call(dn,e),(o=un.install)==null||o.call(un,e)}};Q.PlButton=Vo,Q.PlButtonPlugin=dn,Q.PlCurrency=Eo,Q.PlCurrencyPlugin=sn,Q.PlDatePickerRange=Po,Q.PlDatePickerRangePlugin=un,Q.TestViteNpmComponent=Mo,Q.TestViteNpmComponentPlugin=cn,Q.default=ig,Object.defineProperty(Q,"__esModule",{value:!0}),Q[Symbol.toStringTag]="Module"});
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "require": "./dist/pl-components-pack-v3.umd.js"
14
14
  }
15
15
  },
16
- "version": "0.1.38",
16
+ "version": "0.1.39",
17
17
  "scripts": {
18
18
  "dev": "vite",
19
19
  "build": "vue-tsc --noEmit && vite build",