@factoringplus/pl-components-pack-v3 0.2.97 → 0.2.98
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.
|
@@ -24690,11 +24690,7 @@ const _sfc_main$q = /* @__PURE__ */ Object.assign(__default__$a, {
|
|
|
24690
24690
|
emits: ["update:modelValue"],
|
|
24691
24691
|
setup(__props, { emit }) {
|
|
24692
24692
|
const props = __props;
|
|
24693
|
-
const
|
|
24694
|
-
get: props.modelValue,
|
|
24695
|
-
set: (val) => emit("update:modelValue", val)
|
|
24696
|
-
});
|
|
24697
|
-
const { round: round2, currencyInputOptions } = toRefs(props);
|
|
24693
|
+
const { modelValue, round: round2, currencyInputOptions } = toRefs(props);
|
|
24698
24694
|
const options = reactive({
|
|
24699
24695
|
currency: "EUR",
|
|
24700
24696
|
currencyDisplay: "hidden",
|
|
@@ -24702,8 +24698,8 @@ const _sfc_main$q = /* @__PURE__ */ Object.assign(__default__$a, {
|
|
|
24702
24698
|
...unref(currencyInputOptions)
|
|
24703
24699
|
});
|
|
24704
24700
|
const { inputRef, formattedValue, setValue } = useCurrencyInput(options);
|
|
24705
|
-
watch(
|
|
24706
|
-
|
|
24701
|
+
watch(modelValue, (newValue) => {
|
|
24702
|
+
setValue(newValue);
|
|
24707
24703
|
});
|
|
24708
24704
|
return (_ctx, _cache) => {
|
|
24709
24705
|
const _component_el_input = ElInput;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
* Vue Currency Input 2.4.0
|
|
46
46
|
* (c) 2018-2022 Matthias Stiller
|
|
47
47
|
* @license MIT
|
|
48
|
-
*/const escapeRegExp=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),removeLeadingZeros=t=>t.replace(/^0+(0$|[^0])/,"$1"),count=(t,n)=>(t.match(new RegExp(escapeRegExp(n),"g"))||[]).length,substringBefore=(t,n)=>t.substring(0,t.indexOf(n));var CurrencyDisplay;(function(t){t.symbol="symbol",t.narrowSymbol="narrowSymbol",t.code="code",t.name="name",t.hidden="hidden"})(CurrencyDisplay||(CurrencyDisplay={}));var ValueScaling;(function(t){t.precision="precision",t.thousands="thousands",t.millions="millions",t.billions="billions"})(ValueScaling||(ValueScaling={}));const DECIMAL_SEPARATORS=[",",".","\u066B"],INTEGER_PATTERN="(0|[1-9]\\d*)";class CurrencyFormat{constructor(n){var r,i,f,g,k,$;const{currency:j,currencyDisplay:re,locale:z,precision:oe,accountingSign:ae}=n;this.locale=z,this.options={style:"currency",currency:j,currencySign:ae?"accounting":void 0,currencyDisplay:re!==CurrencyDisplay.hidden?re:void 0};const ie=new Intl.NumberFormat(z,this.options),ue=ie.formatToParts(123456);this.currency=(r=ue.find(({type:he})=>he==="currency"))===null||r===void 0?void 0:r.value,this.digits=[0,1,2,3,4,5,6,7,8,9].map(he=>he.toLocaleString(z)),this.decimalSymbol=(i=ue.find(({type:he})=>he==="decimal"))===null||i===void 0?void 0:i.value,this.groupingSymbol=(f=ue.find(({type:he})=>he==="group"))===null||f===void 0?void 0:f.value,this.minusSign=(g=ie.formatToParts(-1).find(({type:he})=>he==="minusSign"))===null||g===void 0?void 0:g.value,this.decimalSymbol===void 0?this.minimumFractionDigits=this.maximumFractionDigits=0:typeof oe=="number"?this.minimumFractionDigits=this.maximumFractionDigits=oe:(this.minimumFractionDigits=(k=oe==null?void 0:oe.min)!==null&&k!==void 0?k:ie.resolvedOptions().minimumFractionDigits,this.maximumFractionDigits=($=oe==null?void 0:oe.max)!==null&&$!==void 0?$:ie.resolvedOptions().maximumFractionDigits);const le=he=>substringBefore(he,this.digits[1]),_e=he=>he.substring(he.lastIndexOf(this.decimalSymbol?this.digits[0]:this.digits[1])+1);this.prefix=le(ie.format(1)),this.suffix=_e(ie.format(1)),this.negativePrefix=le(ie.format(-1)),this.negativeSuffix=_e(ie.format(-1))}parse(n){if(n){const r=this.isNegative(n);n=this.normalizeDigits(n),n=this.stripCurrency(n,r),n=this.stripSignLiterals(n);const i=this.decimalSymbol?`(?:${escapeRegExp(this.decimalSymbol)}(\\d*))?`:"",f=this.stripGroupingSeparator(n).match(new RegExp(`^${INTEGER_PATTERN}${i}$`));if(f&&this.isValidIntegerFormat(this.decimalSymbol?n.split(this.decimalSymbol)[0]:n,Number(f[1])))return Number(`${r?"-":""}${this.onlyDigits(f[1])}.${this.onlyDigits(f[2]||"")}`)}return null}isValidIntegerFormat(n,r){const i={...this.options,minimumFractionDigits:0};return[this.stripCurrency(this.normalizeDigits(r.toLocaleString(this.locale,{...i,useGrouping:!0})),!1),this.stripCurrency(this.normalizeDigits(r.toLocaleString(this.locale,{...i,useGrouping:!1})),!1)].includes(n)}format(n,r={minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits}){return n!=null?n.toLocaleString(this.locale,{...this.options,...r}):""}toFraction(n){return`${this.digits[0]}${this.decimalSymbol}${this.onlyLocaleDigits(n.substr(1)).substr(0,this.maximumFractionDigits)}`}isFractionIncomplete(n){return!!this.normalizeDigits(this.stripGroupingSeparator(n)).match(new RegExp(`^${INTEGER_PATTERN}${escapeRegExp(this.decimalSymbol)}$`))}isNegative(n){return n.startsWith(this.negativePrefix)||this.minusSign===void 0&&(n.startsWith("(")||n.startsWith("-"))||this.minusSign!==void 0&&n.replace("-",this.minusSign).startsWith(this.minusSign)}insertCurrency(n,r){return`${r?this.negativePrefix:this.prefix}${n}${r?this.negativeSuffix:this.suffix}`}stripGroupingSeparator(n){return this.groupingSymbol!==void 0?n.replace(new RegExp(escapeRegExp(this.groupingSymbol),"g"),""):n}stripSignLiterals(n){return this.minusSign!==void 0?n.replace("-",this.minusSign).replace(this.minusSign,""):n.replace(/[-()]/g,"")}stripCurrency(n,r){return n.replace(r?this.negativePrefix:this.prefix,"").replace(r?this.negativeSuffix:this.suffix,"")}normalizeDecimalSeparator(n,r){return DECIMAL_SEPARATORS.forEach(i=>{n=n.substr(0,r)+n.substr(r).replace(i,this.decimalSymbol)}),n}normalizeDigits(n){return this.digits[0]!=="0"&&this.digits.forEach((r,i)=>{n=n.replace(new RegExp(r,"g"),String(i))}),n}onlyDigits(n){return this.normalizeDigits(n).replace(/\D+/g,"")}onlyLocaleDigits(n){return n.replace(new RegExp(`[^${this.digits.join("")}]*`,"g"),"")}}class AbstractInputMask{constructor(n){this.currencyFormat=n}}class DefaultInputMask extends AbstractInputMask{conformToMask(n,r=""){const i=this.currencyFormat.isNegative(n),f=ue=>ue===""&&i&&!(this.currencyFormat.minusSign===void 0?r===this.currencyFormat.negativePrefix+this.currencyFormat.negativeSuffix:r===this.currencyFormat.negativePrefix),g=ue=>{if(f(ue))return"";if(this.currencyFormat.maximumFractionDigits>0){if(this.currencyFormat.isFractionIncomplete(ue))return ue;if(ue.startsWith(this.currencyFormat.decimalSymbol))return this.currencyFormat.toFraction(ue)}return null};let k=n;k=this.currencyFormat.stripCurrency(k,i),k=this.currencyFormat.stripSignLiterals(k);const $=g(k);if($!=null)return this.currencyFormat.insertCurrency($,i);const[j,...re]=k.split(this.currencyFormat.decimalSymbol),z=removeLeadingZeros(this.currencyFormat.onlyDigits(j)),oe=this.currencyFormat.onlyDigits(re.join("")).substr(0,this.currencyFormat.maximumFractionDigits),ae=re.length>0&&oe.length===0,ie=z===""&&i&&(this.currencyFormat.minusSign===void 0?r===n.slice(0,-2)+this.currencyFormat.negativeSuffix:r===n.slice(0,-1));return ae||ie||f(z)?r:z.match(/\d+/)?{numberValue:Number(`${i?"-":""}${z}.${oe}`),fractionDigits:oe}:""}}class AutoDecimalDigitsInputMask extends AbstractInputMask{conformToMask(n,r=""){if(n===""||this.currencyFormat.parse(r)===0&&this.currencyFormat.stripCurrency(r,!0).slice(0,-1)===this.currencyFormat.stripCurrency(n,!0))return"";const i=this.currencyFormat.isNegative(n),f=this.currencyFormat.stripSignLiterals(n)===""?-0:Number(`${i?"-":""}${removeLeadingZeros(this.currencyFormat.onlyDigits(n))}`)/Math.pow(10,this.currencyFormat.maximumFractionDigits);return{numberValue:f,fractionDigits:f.toFixed(this.currencyFormat.maximumFractionDigits).slice(-this.currencyFormat.maximumFractionDigits)}}}const DEFAULT_OPTIONS={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 CurrencyInput{constructor(n,r){this.el=n,this.numberValue=null,this.addEventListener(),this.init(r),this.setValue(this.currencyFormat.parse(this.el.value))}setOptions(n){this.init(n),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(n){const r=this.valueScaling!==void 0&&n!=null?this.toFloat(n,this.valueScaling):n;r!==this.numberValue&&this.applyFixedFractionFormat(r)}dispatchEvent(n){this.el.dispatchEvent(new CustomEvent(n,{detail:this.getValue()}))}init(n){this.options={...DEFAULT_OPTIONS,...n},this.options.autoDecimalDigits?(this.options.hideNegligibleDecimalDigitsOnFocus=!1,this.el.setAttribute("inputmode","numeric")):this.el.setAttribute("inputmode","decimal"),this.currencyFormat=new CurrencyFormat(this.options),this.numberMask=this.options.autoDecimalDigits?new AutoDecimalDigitsInputMask(this.currencyFormat):new DefaultInputMask(this.currencyFormat);const r={[ValueScaling.precision]:this.currencyFormat.maximumFractionDigits,[ValueScaling.thousands]:3,[ValueScaling.millions]:6,[ValueScaling.billions]:9};this.options.exportValueAsInteger?this.valueScaling=r[ValueScaling.precision]:this.valueScaling=this.options.valueScaling?r[this.options.valueScaling]:void 0,this.valueScalingFractionDigits=this.valueScaling!==void 0&&this.options.valueScaling!==ValueScaling.precision?this.valueScaling+this.currencyFormat.maximumFractionDigits:this.currencyFormat.maximumFractionDigits,this.minValue=this.getMinValue(),this.maxValue=this.getMaxValue()}getMinValue(){var n,r;let i=this.toFloat(-Number.MAX_SAFE_INTEGER);return((n=this.options.valueRange)===null||n===void 0?void 0:n.min)!==void 0&&(i=Math.max((r=this.options.valueRange)===null||r===void 0?void 0:r.min,this.toFloat(-Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&i<0&&(i=0),i}getMaxValue(){var n,r;let i=this.toFloat(Number.MAX_SAFE_INTEGER);return((n=this.options.valueRange)===null||n===void 0?void 0:n.max)!==void 0&&(i=Math.min((r=this.options.valueRange)===null||r===void 0?void 0:r.max,this.toFloat(Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&i<0&&(i=this.toFloat(Number.MAX_SAFE_INTEGER)),i}toFloat(n,r){return n/Math.pow(10,r!=null?r:this.valueScalingFractionDigits)}toInteger(n,r){return Number(n.toFixed(r!=null?r:this.valueScalingFractionDigits).split(".").join(""))}validateValueRange(n){return n!=null?Math.min(Math.max(n,this.minValue),this.maxValue):n}applyFixedFractionFormat(n,r=!1){this.format(this.currencyFormat.format(this.validateValueRange(n))),(n!==this.numberValue||r)&&this.dispatchEvent("change")}format(n,r=!1){if(n!=null){this.decimalSymbolInsertedAt!==void 0&&(n=this.currencyFormat.normalizeDecimalSeparator(n,this.decimalSymbolInsertedAt),this.decimalSymbolInsertedAt=void 0);const i=this.numberMask.conformToMask(n,this.formattedValue);let f;if(typeof i=="object"){const{numberValue:g,fractionDigits:k}=i;let{maximumFractionDigits:$,minimumFractionDigits:j}=this.currencyFormat;this.focus?j=r?k.replace(/0+$/,"").length:Math.min($,k.length):Number.isInteger(g)&&!this.options.autoDecimalDigits&&(this.options.precision===void 0||j===0)&&(j=$=0),f=this.toInteger(Math.abs(g))>Number.MAX_SAFE_INTEGER?this.formattedValue:this.currencyFormat.format(g,{useGrouping:this.options.useGrouping&&!(this.focus&&this.options.hideGroupingSeparatorOnFocus),minimumFractionDigits:j,maximumFractionDigits:$})}else f=i;this.options.autoSign&&(this.maxValue<=0&&!this.currencyFormat.isNegative(f)&&this.currencyFormat.parse(f)!==0&&(f=f.replace(this.currencyFormat.prefix,this.currencyFormat.negativePrefix)),this.minValue>=0&&(f=f.replace(this.currencyFormat.negativePrefix,this.currencyFormat.prefix))),(this.options.currencyDisplay===CurrencyDisplay.hidden||this.focus&&this.options.hideCurrencySymbolOnFocus)&&(f=f.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=f,this.numberValue=this.currencyFormat.parse(f)}else this.el.value="",this.numberValue=null;this.formattedValue=this.el.value,this.dispatchEvent("input")}addEventListener(){this.el.addEventListener("input",n=>{if(!n.detail){const{value:r,selectionStart:i}=this.el,f=n;if(i&&f.data&&DECIMAL_SEPARATORS.includes(f.data)&&(this.decimalSymbolInsertedAt=i-1),this.format(r),this.focus&&i!=null){const g=()=>{const{prefix:k,suffix:$,decimalSymbol:j,maximumFractionDigits:re,groupingSymbol:z}=this.currencyFormat;let oe=r.length-i;const ae=this.formattedValue.length;if(this.currencyFormat.minusSign===void 0&&(r.startsWith("(")||r.startsWith("-"))&&!r.endsWith(")"))return ae-this.currencyFormat.negativeSuffix.length>1?this.formattedValue.substring(i).length:1;if(this.formattedValue.substr(i,1)===z&&count(this.formattedValue,z)===count(r,z)+1)return ae-oe-1;if(ae<oe)return i;if(j!==void 0&&r.indexOf(j)!==-1){const ie=r.indexOf(j)+1;if(Math.abs(ae-r.length)>1&&i<=ie)return this.formattedValue.indexOf(j)+1;!this.options.autoDecimalDigits&&i>ie&&this.currencyFormat.onlyDigits(r.substr(ie)).length-1===re&&(oe-=1)}return this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===CurrencyDisplay.hidden?ae-oe:Math.max(ae-Math.max(oe,$.length),k.length)};this.setCaretPosition(g())}}},{capture:!0}),this.el.addEventListener("focus",()=>{this.focus=!0,setTimeout(()=>{const{value:n,selectionStart:r,selectionEnd:i}=this.el;if(this.format(n,this.options.hideNegligibleDecimalDigitsOnFocus),r!=null&&i!=null&&Math.abs(r-i)>0)this.setCaretPosition(0,this.el.value.length);else if(r!=null){const f=this.getCaretPositionOnFocus(n,r);this.setCaretPosition(f)}})}),this.el.addEventListener("blur",()=>{this.focus=!1,this.applyFixedFractionFormat(this.numberValue)}),this.el.addEventListener("change",n=>{n.detail||this.dispatchEvent("change")},{capture:!0})}getCaretPositionOnFocus(n,r){if(this.numberValue==null)return r;const{prefix:i,negativePrefix:f,suffix:g,negativeSuffix:k,groupingSymbol:$,currency:j}=this.currencyFormat,re=this.numberValue<0,z=re?f:i,oe=z.length;if(this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===CurrencyDisplay.hidden){if(re){if(r<=1)return 1;if(n.endsWith(")")&&r>n.indexOf(")"))return this.formattedValue.length-1}}else{const ie=re?k.length:g.length;if(r>=n.length-ie)return this.formattedValue.length-ie;if(r<oe)return oe}let ae=r;return this.options.hideCurrencySymbolOnFocus&&this.options.currencyDisplay!==CurrencyDisplay.hidden&&r>=oe&&j!==void 0&&z.includes(j)&&(ae-=oe,re&&(ae+=1)),this.options.hideGroupingSeparatorOnFocus&&$!==void 0&&(ae-=count(n.substring(0,r),$)),ae}setCaretPosition(n,r=n){this.el.setSelectionRange(n,r)}}const findInput=t=>t!=null&&t.matches("input")?t:t==null?void 0:t.querySelector("input");var useCurrencyInput=(t,n)=>{var r;let i,f;const g=vue.ref(null),k=vue.ref(null),$=vue.ref(null),j=vue.getCurrentInstance(),re=(Ce,pe)=>j==null?void 0:j.emit(Ce,pe),z=(r=j==null?void 0:j.attrs.modelModifiers)===null||r===void 0?void 0:r.lazy,oe=vue.computed(()=>j==null?void 0:j.props.modelValue),ae="update:modelValue",ie=z?"update:modelValue":"change",ue=!z,le=z||!(j!=null&&j.attrs.onChange),_e=Ce=>{Ce.detail&&(n!==!1&&oe.value!==Ce.detail.number&&re(ae,Ce.detail.number),$.value=Ce.detail.number,k.value=Ce.detail.formatted)},he=Ce=>{Ce.detail&&(n!==!1&&re(ie,Ce.detail.number),$.value=Ce.detail.number,k.value=Ce.detail.formatted)};return vue.watch(g,Ce=>{var pe,Ie;Ce?(f=findInput((Ie=(pe=Ce)===null||pe===void 0?void 0:pe.$el)!==null&&Ie!==void 0?Ie:Ce),f?(i=new CurrencyInput(f,t),ue&&f.addEventListener("input",_e),le&&f.addEventListener("change",he),i.setValue(oe.value)):console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.')):i=null}),vue.onUnmounted(()=>{ue&&(f==null||f.removeEventListener("input",_e)),le&&(f==null||f.removeEventListener("change",he))}),{inputRef:g,numberValue:$,formattedValue:k,setValue:Ce=>i==null?void 0:i.setValue(Ce),setOptions:Ce=>i==null?void 0:i.setOptions(Ce)}},plCurrency_vue_vue_type_style_index_0_lang="";const _hoisted_1$l=vue.createElementVNode("span",{class:"pl-currency__rub-icon"},"\u20BD",-1),__default__$a={name:"PlCurrency"},_sfc_main$q=Object.assign(__default__$a,{props:{width:String,modelValue:Number,round:{type:Boolean,default:!1},currencyInputOptions:{type:Object,default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,i=vue.computed({get:r.modelValue,set:z=>n("update:modelValue",z)}),{round:f,currencyInputOptions:g}=vue.toRefs(r),k=vue.reactive({currency:"EUR",currencyDisplay:"hidden",precision:f.value?0:2,...vue.unref(g)}),{inputRef:$,formattedValue:j,setValue:re}=useCurrencyInput(k);return vue.watch(j,z=>{i.value=parseFloat(z)}),(z,oe)=>{const ae=ElInput;return vue.openBlock(),vue.createBlock(ae,vue.mergeProps({style:`width: ${t.width};`},z.$attrs,{ref_key:"inputRef",ref:$,modelValue:vue.unref(j),"onUpdate:modelValue":oe[0]||(oe[0]=ie=>vue.isRef(j)?j.value=ie:null),class:"pl-currency"}),{append:vue.withCtx(()=>[_hoisted_1$l]),_:1},16,["style","modelValue"])}}}),PlCurrencyPlugin={install(t){t.component("PlCurrency",_sfc_main$q)}};var form="",_export_sfc=(t,n)=>{const r=t.__vccOpts||t;for(const[i,f]of n)r[i]=f;return r};const _sfc_main$p={};function _sfc_render$2(t,n){const r=ElForm;return vue.openBlock(),vue.createBlock(r,vue.normalizeProps(vue.guardReactiveProps(t.$attrs)),{default:vue.withCtx(()=>[vue.renderSlot(t.$slots,"default")]),_:3},16)}var PlForm=_export_sfc(_sfc_main$p,[["render",_sfc_render$2]]);const PlFormPlugin={install(t){t.component("PlForm",PlForm)}};var formItem="";const _sfc_main$o={};function _sfc_render$1(t,n){const r=ElFormItem;return vue.openBlock(),vue.createBlock(r,vue.normalizeProps(vue.guardReactiveProps(t.$attrs)),{default:vue.withCtx(()=>[vue.renderSlot(t.$slots,"default")]),_:3},16)}var PlFormItem=_export_sfc(_sfc_main$o,[["render",_sfc_render$1]]);const PlFormItemPlugin={install(t){t.component("PlFormItem",PlFormItem)}};var button="";const _hoisted_1$k=vue.createElementVNode("p",null,"Hello NPM!",-1),_hoisted_2$h=vue.createTextVNode("Increment count"),__default__$9={name:"TestViteNpmComponent"},_sfc_main$n=Object.assign(__default__$9,{setup(t){const n=vue.ref(""),r=vue.ref(0),i=()=>r.value++;return(f,g)=>{const k=ElInput,$=ElButton;return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[_hoisted_1$k,vue.createElementVNode("div",null,[vue.createVNode(k,{modelValue:n.value,"onUpdate:modelValue":g[0]||(g[0]=j=>n.value=j),style:{width:"40%"}},null,8,["modelValue"]),vue.createElementVNode("div",null,"This is input message: "+vue.toDisplayString(n.value),1)]),vue.createElementVNode("div",null,[vue.createVNode($,{type:"primary",onClick:i},{default:vue.withCtx(()=>[_hoisted_2$h]),_:1}),vue.createElementVNode("div",null,"This is count: "+vue.toDisplayString(r.value),1)])],64)}}}),TestViteNpmComponentPlugin={install(t){t.component("TestViteNpmComponent",_sfc_main$n)}};var plButton_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$m={__name:"pl-button",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(t,{emit:n}){const r=t;return(i,f)=>{const g=vue.resolveComponent("vue-feather"),k=ElButton;return vue.openBlock(),vue.createBlock(k,vue.mergeProps(i.$attrs,{class:[r.size==="medium"?"big":"",r.onlyIcon?"btn-icon":""],disabled:t.disabled,type:t.type,onClick:n.onClick}),{default:vue.withCtx(()=>[t.beforeIcon&&!t.onlyIcon?(vue.openBlock(),vue.createBlock(g,{key:0,class:vue.normalizeClass(["icon icon__before",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]]),type:t.beforeIcon},null,8,["class","type"])):vue.createCommentVNode("",!0),t.onlyIcon?(vue.openBlock(),vue.createBlock(g,{key:1,class:vue.normalizeClass(["icon icon__before only-icon",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]]),type:t.onlyIcon},null,8,["class","type"])):vue.createCommentVNode("",!0),t.onlyIcon?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("span",{key:2,class:vue.normalizeClass(["btn-text",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]])},[vue.renderSlot(i.$slots,"default",{},void 0,!0)],2)),t.afterIcon&&!t.onlyIcon?(vue.openBlock(),vue.createBlock(g,{key:3,class:vue.normalizeClass([[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""],"icon icon__after"]),type:t.afterIcon},null,8,["class","type"])):vue.createCommentVNode("",!0)]),_:3},16,["class","disabled","type","onClick"])}}};var PlButton=_export_sfc(_sfc_main$m,[["__scopeId","data-v-26f1d202"]]);const PlButtonPlugin={install(t){t.component("PlButton",PlButton)}};var datePicker="",scrollbar="",popper="",ru$1={name:"ru",el:{colorpicker:{confirm:"OK",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C"},datepicker:{now:"\u0421\u0435\u0439\u0447\u0430\u0441",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",confirm:"OK",selectDate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0430\u0442\u0443",selectTime:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u044F",startDate:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430",startTime:"\u0412\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u043B\u0430",endDate:"\u0414\u0430\u0442\u0430 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",endTime:"\u0412\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",prevYear:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u0433\u043E\u0434",nextYear:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0433\u043E\u0434",prevMonth:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u043C\u0435\u0441\u044F\u0446",nextMonth:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u043C\u0435\u0441\u044F\u0446",year:"",month1:"\u042F\u043D\u0432\u0430\u0440\u044C",month2:"\u0424\u0435\u0432\u0440\u0430\u043B\u044C",month3:"\u041C\u0430\u0440\u0442",month4:"\u0410\u043F\u0440\u0435\u043B\u044C",month5:"\u041C\u0430\u0439",month6:"\u0418\u044E\u043D\u044C",month7:"\u0418\u044E\u043B\u044C",month8:"\u0410\u0432\u0433\u0443\u0441\u0442",month9:"\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C",month10:"\u041E\u043A\u0442\u044F\u0431\u0440\u044C",month11:"\u041D\u043E\u044F\u0431\u0440\u044C",month12:"\u0414\u0435\u043A\u0430\u0431\u0440\u044C",week:"\u043D\u0435\u0434\u0435\u043B\u044F",weeks:{sun:"\u0412\u0441",mon:"\u041F\u043D",tue:"\u0412\u0442",wed:"\u0421\u0440",thu:"\u0427\u0442",fri:"\u041F\u0442",sat:"\u0421\u0431"},months:{jan:"\u042F\u043D\u0432",feb:"\u0424\u0435\u0432",mar:"\u041C\u0430\u0440",apr:"\u0410\u043F\u0440",may:"\u041C\u0430\u0439",jun:"\u0418\u044E\u043D",jul:"\u0418\u044E\u043B",aug:"\u0410\u0432\u0433",sep:"\u0421\u0435\u043D",oct:"\u041E\u043A\u0442",nov:"\u041D\u043E\u044F",dec:"\u0414\u0435\u043A"}},select:{loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430",noMatch:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",noData:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",placeholder:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C"},cascader:{noMatch:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430",placeholder:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",noData:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445"},pagination:{goto:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438",pagesize:" \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",total:"\u0412\u0441\u0435\u0433\u043E {total}",pageClassifier:""},messagebox:{title:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435",confirm:"OK",cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",error:"\u041D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439 \u0432\u0432\u043E\u0434 \u0434\u0430\u043D\u043D\u044B\u0445"},upload:{deleteTip:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 [\u0423\u0434\u0430\u043B\u0438\u0442\u044C] \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u044F",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",preview:"\u041F\u0440\u0435\u0432\u044C\u044E",continue:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C"},table:{emptyText:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",confirmFilter:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",resetFilter:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C",clearFilter:"\u0412\u0441\u0435",sumText:"\u0421\u0443\u043C\u043C\u0430"},tree:{emptyText:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445"},transfer:{noMatch:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",noData:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",titles:["\u0421\u043F\u0438\u0441\u043E\u043A 1","\u0421\u043F\u0438\u0441\u043E\u043A 2"],filterPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043B\u044E\u0447\u0435\u0432\u043E\u0435 \u0441\u043B\u043E\u0432\u043E",noCheckedFormat:"{total} \u043F\u0443\u043D\u043A\u0442\u043E\u0432",hasCheckedFormat:"{checked}/{total} \u0432\u044B\u0431\u0440\u0430\u043D\u043E"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"OK",cancelButtonText:"\u041E\u0442\u043C\u0435\u043D\u0430"}}},ru={exports:{}};(function(t,n){(function(r,i){t.exports=i(dayjs_min.exports)})(commonjsGlobal,function(r){function i(ue){return ue&&typeof ue=="object"&&"default"in ue?ue:{default:ue}}var f=i(r),g="\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"),k="\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_"),$="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),j="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),re=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function z(ue,le,_e){var he,Ce;return _e==="m"?le?"\u043C\u0438\u043D\u0443\u0442\u0430":"\u043C\u0438\u043D\u0443\u0442\u0443":ue+" "+(he=+ue,Ce={mm:le?"\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442":"\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432",yy:"\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442"}[_e].split("_"),he%10==1&&he%100!=11?Ce[0]:he%10>=2&&he%10<=4&&(he%100<10||he%100>=20)?Ce[1]:Ce[2])}var oe=function(ue,le){return re.test(le)?g[ue.month()]:k[ue.month()]};oe.s=k,oe.f=g;var ae=function(ue,le){return re.test(le)?$[ue.month()]:j[ue.month()]};ae.s=j,ae.f=$;var ie={name:"ru",weekdays:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u0432\u0441\u043A_\u043F\u043D\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043F\u0442\u043D_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),months:oe,monthsShort:ae,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043D\u0430\u0437\u0430\u0434",s:"\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",m:z,mm:z,h:"\u0447\u0430\u0441",hh:z,d:"\u0434\u0435\u043D\u044C",dd:z,M:"\u043C\u0435\u0441\u044F\u0446",MM:z,y:"\u0433\u043E\u0434",yy:z},ordinal:function(ue){return ue},meridiem:function(ue){return ue<4?"\u043D\u043E\u0447\u0438":ue<12?"\u0443\u0442\u0440\u0430":ue<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u0435\u0440\u0430"}};return f.default.locale(ie,null,!0),ie})})(ru);var plDatePickerRange_vue_vue_type_style_index_0_lang="";const __default__$8={name:"PlDatePickerRange"},_sfc_main$l=Object.assign(__default__$8,{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})},width:{type:String,default:"224px"}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t;dayjs.locale("ru");const{modelValue:i}=vue.toRefs(r),f=vue.ref([]),g=vue.ref(null);return vue.watch(f,k=>{n("update:modelValue",k)}),vue.watch(i,()=>{f.value=i.value}),f.value=i.value,(k,$)=>{const j=ElDatePicker;return vue.openBlock(),vue.createBlock(vue.unref(ElConfigProvider),{locale:vue.unref(ru$1)},{default:vue.withCtx(()=>[vue.createVNode(j,vue.mergeProps({ref_key:"innerDatePicker",ref:g},k.$attrs,{modelValue:f.value,"onUpdate:modelValue":$[0]||($[0]=re=>f.value=re),format:t.format,"picker-options":t.pickerOptions,"start-placeholder":t.startPlaceholder,"end-placeholder":t.endPlaceholder,clearable:!1,type:"daterange",style:`width: ${t.width};`}),null,16,["modelValue","format","picker-options","start-placeholder","end-placeholder","style"])]),_:1},8,["locale"])}}});var plDatePicker_vue_vue_type_style_index_0_lang="";const _hoisted_1$j=["id"],__default__$7={name:"PlDatePicker"},_sfc_main$k=Object.assign(__default__$7,{props:{modelValue:{type:Date,default:null},format:{type:String,default:"DD.MM.YYYY"},placeholder:{type:String,default:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443"},pickerOptions:{type:Object,default:()=>({firstDayOfWeek:1})},width:{type:String,default:"220px"},defaultValue:{type:Date,default:null},type:{type:String,default:"date"},isLastDayOfMonth:{type:Boolean,default:!1},leftIcon:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t;dayjs.locale("ru");const{modelValue:i}=vue.toRefs(r),f=vue.ref(null),g=vue.ref(null),k=vue.computed(()=>r.leftIcon?"left-icon":"right-icon");return vue.watch(f,$=>{n("update:modelValue",$)}),vue.watch(i,()=>{f.value=i.value}),f.value=i.value,($,j)=>{const re=ElDatePicker;return vue.openBlock(),vue.createElementBlock("div",{id:vue.unref(k),style:{width:"100%"}},[vue.createVNode(vue.unref(ElConfigProvider),{locale:vue.unref(ru$1)},{default:vue.withCtx(()=>[vue.createVNode(re,vue.mergeProps({ref_key:"innerDatePicker",ref:g},$.$attrs,{modelValue:f.value,"onUpdate:modelValue":j[0]||(j[0]=z=>f.value=z),format:t.format,"picker-options":t.pickerOptions,placeholder:t.placeholder,clearable:!1,style:`width: ${t.width};`,type:t.type,class:"pl-date-picker"}),null,16,["modelValue","format","picker-options","placeholder","style","type"])]),_:1},8,["locale"])],8,_hoisted_1$j)}}});var root="",common="";const PlDatePickerPlugin={install(t){t.component("PlDatePickerRange",_sfc_main$l),t.component("PlDatePicker",_sfc_main$k)}};var loading="",dialog="",overlay="",tag="",option="",optionGroup="",select="",lodash={exports:{}};/**
|
|
48
|
+
*/const escapeRegExp=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),removeLeadingZeros=t=>t.replace(/^0+(0$|[^0])/,"$1"),count=(t,n)=>(t.match(new RegExp(escapeRegExp(n),"g"))||[]).length,substringBefore=(t,n)=>t.substring(0,t.indexOf(n));var CurrencyDisplay;(function(t){t.symbol="symbol",t.narrowSymbol="narrowSymbol",t.code="code",t.name="name",t.hidden="hidden"})(CurrencyDisplay||(CurrencyDisplay={}));var ValueScaling;(function(t){t.precision="precision",t.thousands="thousands",t.millions="millions",t.billions="billions"})(ValueScaling||(ValueScaling={}));const DECIMAL_SEPARATORS=[",",".","\u066B"],INTEGER_PATTERN="(0|[1-9]\\d*)";class CurrencyFormat{constructor(n){var r,i,f,g,k,$;const{currency:j,currencyDisplay:re,locale:z,precision:oe,accountingSign:ae}=n;this.locale=z,this.options={style:"currency",currency:j,currencySign:ae?"accounting":void 0,currencyDisplay:re!==CurrencyDisplay.hidden?re:void 0};const ie=new Intl.NumberFormat(z,this.options),ue=ie.formatToParts(123456);this.currency=(r=ue.find(({type:he})=>he==="currency"))===null||r===void 0?void 0:r.value,this.digits=[0,1,2,3,4,5,6,7,8,9].map(he=>he.toLocaleString(z)),this.decimalSymbol=(i=ue.find(({type:he})=>he==="decimal"))===null||i===void 0?void 0:i.value,this.groupingSymbol=(f=ue.find(({type:he})=>he==="group"))===null||f===void 0?void 0:f.value,this.minusSign=(g=ie.formatToParts(-1).find(({type:he})=>he==="minusSign"))===null||g===void 0?void 0:g.value,this.decimalSymbol===void 0?this.minimumFractionDigits=this.maximumFractionDigits=0:typeof oe=="number"?this.minimumFractionDigits=this.maximumFractionDigits=oe:(this.minimumFractionDigits=(k=oe==null?void 0:oe.min)!==null&&k!==void 0?k:ie.resolvedOptions().minimumFractionDigits,this.maximumFractionDigits=($=oe==null?void 0:oe.max)!==null&&$!==void 0?$:ie.resolvedOptions().maximumFractionDigits);const le=he=>substringBefore(he,this.digits[1]),_e=he=>he.substring(he.lastIndexOf(this.decimalSymbol?this.digits[0]:this.digits[1])+1);this.prefix=le(ie.format(1)),this.suffix=_e(ie.format(1)),this.negativePrefix=le(ie.format(-1)),this.negativeSuffix=_e(ie.format(-1))}parse(n){if(n){const r=this.isNegative(n);n=this.normalizeDigits(n),n=this.stripCurrency(n,r),n=this.stripSignLiterals(n);const i=this.decimalSymbol?`(?:${escapeRegExp(this.decimalSymbol)}(\\d*))?`:"",f=this.stripGroupingSeparator(n).match(new RegExp(`^${INTEGER_PATTERN}${i}$`));if(f&&this.isValidIntegerFormat(this.decimalSymbol?n.split(this.decimalSymbol)[0]:n,Number(f[1])))return Number(`${r?"-":""}${this.onlyDigits(f[1])}.${this.onlyDigits(f[2]||"")}`)}return null}isValidIntegerFormat(n,r){const i={...this.options,minimumFractionDigits:0};return[this.stripCurrency(this.normalizeDigits(r.toLocaleString(this.locale,{...i,useGrouping:!0})),!1),this.stripCurrency(this.normalizeDigits(r.toLocaleString(this.locale,{...i,useGrouping:!1})),!1)].includes(n)}format(n,r={minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits}){return n!=null?n.toLocaleString(this.locale,{...this.options,...r}):""}toFraction(n){return`${this.digits[0]}${this.decimalSymbol}${this.onlyLocaleDigits(n.substr(1)).substr(0,this.maximumFractionDigits)}`}isFractionIncomplete(n){return!!this.normalizeDigits(this.stripGroupingSeparator(n)).match(new RegExp(`^${INTEGER_PATTERN}${escapeRegExp(this.decimalSymbol)}$`))}isNegative(n){return n.startsWith(this.negativePrefix)||this.minusSign===void 0&&(n.startsWith("(")||n.startsWith("-"))||this.minusSign!==void 0&&n.replace("-",this.minusSign).startsWith(this.minusSign)}insertCurrency(n,r){return`${r?this.negativePrefix:this.prefix}${n}${r?this.negativeSuffix:this.suffix}`}stripGroupingSeparator(n){return this.groupingSymbol!==void 0?n.replace(new RegExp(escapeRegExp(this.groupingSymbol),"g"),""):n}stripSignLiterals(n){return this.minusSign!==void 0?n.replace("-",this.minusSign).replace(this.minusSign,""):n.replace(/[-()]/g,"")}stripCurrency(n,r){return n.replace(r?this.negativePrefix:this.prefix,"").replace(r?this.negativeSuffix:this.suffix,"")}normalizeDecimalSeparator(n,r){return DECIMAL_SEPARATORS.forEach(i=>{n=n.substr(0,r)+n.substr(r).replace(i,this.decimalSymbol)}),n}normalizeDigits(n){return this.digits[0]!=="0"&&this.digits.forEach((r,i)=>{n=n.replace(new RegExp(r,"g"),String(i))}),n}onlyDigits(n){return this.normalizeDigits(n).replace(/\D+/g,"")}onlyLocaleDigits(n){return n.replace(new RegExp(`[^${this.digits.join("")}]*`,"g"),"")}}class AbstractInputMask{constructor(n){this.currencyFormat=n}}class DefaultInputMask extends AbstractInputMask{conformToMask(n,r=""){const i=this.currencyFormat.isNegative(n),f=ue=>ue===""&&i&&!(this.currencyFormat.minusSign===void 0?r===this.currencyFormat.negativePrefix+this.currencyFormat.negativeSuffix:r===this.currencyFormat.negativePrefix),g=ue=>{if(f(ue))return"";if(this.currencyFormat.maximumFractionDigits>0){if(this.currencyFormat.isFractionIncomplete(ue))return ue;if(ue.startsWith(this.currencyFormat.decimalSymbol))return this.currencyFormat.toFraction(ue)}return null};let k=n;k=this.currencyFormat.stripCurrency(k,i),k=this.currencyFormat.stripSignLiterals(k);const $=g(k);if($!=null)return this.currencyFormat.insertCurrency($,i);const[j,...re]=k.split(this.currencyFormat.decimalSymbol),z=removeLeadingZeros(this.currencyFormat.onlyDigits(j)),oe=this.currencyFormat.onlyDigits(re.join("")).substr(0,this.currencyFormat.maximumFractionDigits),ae=re.length>0&&oe.length===0,ie=z===""&&i&&(this.currencyFormat.minusSign===void 0?r===n.slice(0,-2)+this.currencyFormat.negativeSuffix:r===n.slice(0,-1));return ae||ie||f(z)?r:z.match(/\d+/)?{numberValue:Number(`${i?"-":""}${z}.${oe}`),fractionDigits:oe}:""}}class AutoDecimalDigitsInputMask extends AbstractInputMask{conformToMask(n,r=""){if(n===""||this.currencyFormat.parse(r)===0&&this.currencyFormat.stripCurrency(r,!0).slice(0,-1)===this.currencyFormat.stripCurrency(n,!0))return"";const i=this.currencyFormat.isNegative(n),f=this.currencyFormat.stripSignLiterals(n)===""?-0:Number(`${i?"-":""}${removeLeadingZeros(this.currencyFormat.onlyDigits(n))}`)/Math.pow(10,this.currencyFormat.maximumFractionDigits);return{numberValue:f,fractionDigits:f.toFixed(this.currencyFormat.maximumFractionDigits).slice(-this.currencyFormat.maximumFractionDigits)}}}const DEFAULT_OPTIONS={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 CurrencyInput{constructor(n,r){this.el=n,this.numberValue=null,this.addEventListener(),this.init(r),this.setValue(this.currencyFormat.parse(this.el.value))}setOptions(n){this.init(n),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(n){const r=this.valueScaling!==void 0&&n!=null?this.toFloat(n,this.valueScaling):n;r!==this.numberValue&&this.applyFixedFractionFormat(r)}dispatchEvent(n){this.el.dispatchEvent(new CustomEvent(n,{detail:this.getValue()}))}init(n){this.options={...DEFAULT_OPTIONS,...n},this.options.autoDecimalDigits?(this.options.hideNegligibleDecimalDigitsOnFocus=!1,this.el.setAttribute("inputmode","numeric")):this.el.setAttribute("inputmode","decimal"),this.currencyFormat=new CurrencyFormat(this.options),this.numberMask=this.options.autoDecimalDigits?new AutoDecimalDigitsInputMask(this.currencyFormat):new DefaultInputMask(this.currencyFormat);const r={[ValueScaling.precision]:this.currencyFormat.maximumFractionDigits,[ValueScaling.thousands]:3,[ValueScaling.millions]:6,[ValueScaling.billions]:9};this.options.exportValueAsInteger?this.valueScaling=r[ValueScaling.precision]:this.valueScaling=this.options.valueScaling?r[this.options.valueScaling]:void 0,this.valueScalingFractionDigits=this.valueScaling!==void 0&&this.options.valueScaling!==ValueScaling.precision?this.valueScaling+this.currencyFormat.maximumFractionDigits:this.currencyFormat.maximumFractionDigits,this.minValue=this.getMinValue(),this.maxValue=this.getMaxValue()}getMinValue(){var n,r;let i=this.toFloat(-Number.MAX_SAFE_INTEGER);return((n=this.options.valueRange)===null||n===void 0?void 0:n.min)!==void 0&&(i=Math.max((r=this.options.valueRange)===null||r===void 0?void 0:r.min,this.toFloat(-Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&i<0&&(i=0),i}getMaxValue(){var n,r;let i=this.toFloat(Number.MAX_SAFE_INTEGER);return((n=this.options.valueRange)===null||n===void 0?void 0:n.max)!==void 0&&(i=Math.min((r=this.options.valueRange)===null||r===void 0?void 0:r.max,this.toFloat(Number.MAX_SAFE_INTEGER))),!this.options.autoSign&&i<0&&(i=this.toFloat(Number.MAX_SAFE_INTEGER)),i}toFloat(n,r){return n/Math.pow(10,r!=null?r:this.valueScalingFractionDigits)}toInteger(n,r){return Number(n.toFixed(r!=null?r:this.valueScalingFractionDigits).split(".").join(""))}validateValueRange(n){return n!=null?Math.min(Math.max(n,this.minValue),this.maxValue):n}applyFixedFractionFormat(n,r=!1){this.format(this.currencyFormat.format(this.validateValueRange(n))),(n!==this.numberValue||r)&&this.dispatchEvent("change")}format(n,r=!1){if(n!=null){this.decimalSymbolInsertedAt!==void 0&&(n=this.currencyFormat.normalizeDecimalSeparator(n,this.decimalSymbolInsertedAt),this.decimalSymbolInsertedAt=void 0);const i=this.numberMask.conformToMask(n,this.formattedValue);let f;if(typeof i=="object"){const{numberValue:g,fractionDigits:k}=i;let{maximumFractionDigits:$,minimumFractionDigits:j}=this.currencyFormat;this.focus?j=r?k.replace(/0+$/,"").length:Math.min($,k.length):Number.isInteger(g)&&!this.options.autoDecimalDigits&&(this.options.precision===void 0||j===0)&&(j=$=0),f=this.toInteger(Math.abs(g))>Number.MAX_SAFE_INTEGER?this.formattedValue:this.currencyFormat.format(g,{useGrouping:this.options.useGrouping&&!(this.focus&&this.options.hideGroupingSeparatorOnFocus),minimumFractionDigits:j,maximumFractionDigits:$})}else f=i;this.options.autoSign&&(this.maxValue<=0&&!this.currencyFormat.isNegative(f)&&this.currencyFormat.parse(f)!==0&&(f=f.replace(this.currencyFormat.prefix,this.currencyFormat.negativePrefix)),this.minValue>=0&&(f=f.replace(this.currencyFormat.negativePrefix,this.currencyFormat.prefix))),(this.options.currencyDisplay===CurrencyDisplay.hidden||this.focus&&this.options.hideCurrencySymbolOnFocus)&&(f=f.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=f,this.numberValue=this.currencyFormat.parse(f)}else this.el.value="",this.numberValue=null;this.formattedValue=this.el.value,this.dispatchEvent("input")}addEventListener(){this.el.addEventListener("input",n=>{if(!n.detail){const{value:r,selectionStart:i}=this.el,f=n;if(i&&f.data&&DECIMAL_SEPARATORS.includes(f.data)&&(this.decimalSymbolInsertedAt=i-1),this.format(r),this.focus&&i!=null){const g=()=>{const{prefix:k,suffix:$,decimalSymbol:j,maximumFractionDigits:re,groupingSymbol:z}=this.currencyFormat;let oe=r.length-i;const ae=this.formattedValue.length;if(this.currencyFormat.minusSign===void 0&&(r.startsWith("(")||r.startsWith("-"))&&!r.endsWith(")"))return ae-this.currencyFormat.negativeSuffix.length>1?this.formattedValue.substring(i).length:1;if(this.formattedValue.substr(i,1)===z&&count(this.formattedValue,z)===count(r,z)+1)return ae-oe-1;if(ae<oe)return i;if(j!==void 0&&r.indexOf(j)!==-1){const ie=r.indexOf(j)+1;if(Math.abs(ae-r.length)>1&&i<=ie)return this.formattedValue.indexOf(j)+1;!this.options.autoDecimalDigits&&i>ie&&this.currencyFormat.onlyDigits(r.substr(ie)).length-1===re&&(oe-=1)}return this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===CurrencyDisplay.hidden?ae-oe:Math.max(ae-Math.max(oe,$.length),k.length)};this.setCaretPosition(g())}}},{capture:!0}),this.el.addEventListener("focus",()=>{this.focus=!0,setTimeout(()=>{const{value:n,selectionStart:r,selectionEnd:i}=this.el;if(this.format(n,this.options.hideNegligibleDecimalDigitsOnFocus),r!=null&&i!=null&&Math.abs(r-i)>0)this.setCaretPosition(0,this.el.value.length);else if(r!=null){const f=this.getCaretPositionOnFocus(n,r);this.setCaretPosition(f)}})}),this.el.addEventListener("blur",()=>{this.focus=!1,this.applyFixedFractionFormat(this.numberValue)}),this.el.addEventListener("change",n=>{n.detail||this.dispatchEvent("change")},{capture:!0})}getCaretPositionOnFocus(n,r){if(this.numberValue==null)return r;const{prefix:i,negativePrefix:f,suffix:g,negativeSuffix:k,groupingSymbol:$,currency:j}=this.currencyFormat,re=this.numberValue<0,z=re?f:i,oe=z.length;if(this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===CurrencyDisplay.hidden){if(re){if(r<=1)return 1;if(n.endsWith(")")&&r>n.indexOf(")"))return this.formattedValue.length-1}}else{const ie=re?k.length:g.length;if(r>=n.length-ie)return this.formattedValue.length-ie;if(r<oe)return oe}let ae=r;return this.options.hideCurrencySymbolOnFocus&&this.options.currencyDisplay!==CurrencyDisplay.hidden&&r>=oe&&j!==void 0&&z.includes(j)&&(ae-=oe,re&&(ae+=1)),this.options.hideGroupingSeparatorOnFocus&&$!==void 0&&(ae-=count(n.substring(0,r),$)),ae}setCaretPosition(n,r=n){this.el.setSelectionRange(n,r)}}const findInput=t=>t!=null&&t.matches("input")?t:t==null?void 0:t.querySelector("input");var useCurrencyInput=(t,n)=>{var r;let i,f;const g=vue.ref(null),k=vue.ref(null),$=vue.ref(null),j=vue.getCurrentInstance(),re=(Ce,pe)=>j==null?void 0:j.emit(Ce,pe),z=(r=j==null?void 0:j.attrs.modelModifiers)===null||r===void 0?void 0:r.lazy,oe=vue.computed(()=>j==null?void 0:j.props.modelValue),ae="update:modelValue",ie=z?"update:modelValue":"change",ue=!z,le=z||!(j!=null&&j.attrs.onChange),_e=Ce=>{Ce.detail&&(n!==!1&&oe.value!==Ce.detail.number&&re(ae,Ce.detail.number),$.value=Ce.detail.number,k.value=Ce.detail.formatted)},he=Ce=>{Ce.detail&&(n!==!1&&re(ie,Ce.detail.number),$.value=Ce.detail.number,k.value=Ce.detail.formatted)};return vue.watch(g,Ce=>{var pe,Ie;Ce?(f=findInput((Ie=(pe=Ce)===null||pe===void 0?void 0:pe.$el)!==null&&Ie!==void 0?Ie:Ce),f?(i=new CurrencyInput(f,t),ue&&f.addEventListener("input",_e),le&&f.addEventListener("change",he),i.setValue(oe.value)):console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.')):i=null}),vue.onUnmounted(()=>{ue&&(f==null||f.removeEventListener("input",_e)),le&&(f==null||f.removeEventListener("change",he))}),{inputRef:g,numberValue:$,formattedValue:k,setValue:Ce=>i==null?void 0:i.setValue(Ce),setOptions:Ce=>i==null?void 0:i.setOptions(Ce)}},plCurrency_vue_vue_type_style_index_0_lang="";const _hoisted_1$l=vue.createElementVNode("span",{class:"pl-currency__rub-icon"},"\u20BD",-1),__default__$a={name:"PlCurrency"},_sfc_main$q=Object.assign(__default__$a,{props:{width:String,modelValue:Number,round:{type:Boolean,default:!1},currencyInputOptions:{type:Object,default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,{modelValue:i,round:f,currencyInputOptions:g}=vue.toRefs(r),k=vue.reactive({currency:"EUR",currencyDisplay:"hidden",precision:f.value?0:2,...vue.unref(g)}),{inputRef:$,formattedValue:j,setValue:re}=useCurrencyInput(k);return vue.watch(i,z=>{re(z)}),(z,oe)=>{const ae=ElInput;return vue.openBlock(),vue.createBlock(ae,vue.mergeProps({style:`width: ${t.width};`},z.$attrs,{ref_key:"inputRef",ref:$,modelValue:vue.unref(j),"onUpdate:modelValue":oe[0]||(oe[0]=ie=>vue.isRef(j)?j.value=ie:null),class:"pl-currency"}),{append:vue.withCtx(()=>[_hoisted_1$l]),_:1},16,["style","modelValue"])}}}),PlCurrencyPlugin={install(t){t.component("PlCurrency",_sfc_main$q)}};var form="",_export_sfc=(t,n)=>{const r=t.__vccOpts||t;for(const[i,f]of n)r[i]=f;return r};const _sfc_main$p={};function _sfc_render$2(t,n){const r=ElForm;return vue.openBlock(),vue.createBlock(r,vue.normalizeProps(vue.guardReactiveProps(t.$attrs)),{default:vue.withCtx(()=>[vue.renderSlot(t.$slots,"default")]),_:3},16)}var PlForm=_export_sfc(_sfc_main$p,[["render",_sfc_render$2]]);const PlFormPlugin={install(t){t.component("PlForm",PlForm)}};var formItem="";const _sfc_main$o={};function _sfc_render$1(t,n){const r=ElFormItem;return vue.openBlock(),vue.createBlock(r,vue.normalizeProps(vue.guardReactiveProps(t.$attrs)),{default:vue.withCtx(()=>[vue.renderSlot(t.$slots,"default")]),_:3},16)}var PlFormItem=_export_sfc(_sfc_main$o,[["render",_sfc_render$1]]);const PlFormItemPlugin={install(t){t.component("PlFormItem",PlFormItem)}};var button="";const _hoisted_1$k=vue.createElementVNode("p",null,"Hello NPM!",-1),_hoisted_2$h=vue.createTextVNode("Increment count"),__default__$9={name:"TestViteNpmComponent"},_sfc_main$n=Object.assign(__default__$9,{setup(t){const n=vue.ref(""),r=vue.ref(0),i=()=>r.value++;return(f,g)=>{const k=ElInput,$=ElButton;return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[_hoisted_1$k,vue.createElementVNode("div",null,[vue.createVNode(k,{modelValue:n.value,"onUpdate:modelValue":g[0]||(g[0]=j=>n.value=j),style:{width:"40%"}},null,8,["modelValue"]),vue.createElementVNode("div",null,"This is input message: "+vue.toDisplayString(n.value),1)]),vue.createElementVNode("div",null,[vue.createVNode($,{type:"primary",onClick:i},{default:vue.withCtx(()=>[_hoisted_2$h]),_:1}),vue.createElementVNode("div",null,"This is count: "+vue.toDisplayString(r.value),1)])],64)}}}),TestViteNpmComponentPlugin={install(t){t.component("TestViteNpmComponent",_sfc_main$n)}};var plButton_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$m={__name:"pl-button",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(t,{emit:n}){const r=t;return(i,f)=>{const g=vue.resolveComponent("vue-feather"),k=ElButton;return vue.openBlock(),vue.createBlock(k,vue.mergeProps(i.$attrs,{class:[r.size==="medium"?"big":"",r.onlyIcon?"btn-icon":""],disabled:t.disabled,type:t.type,onClick:n.onClick}),{default:vue.withCtx(()=>[t.beforeIcon&&!t.onlyIcon?(vue.openBlock(),vue.createBlock(g,{key:0,class:vue.normalizeClass(["icon icon__before",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]]),type:t.beforeIcon},null,8,["class","type"])):vue.createCommentVNode("",!0),t.onlyIcon?(vue.openBlock(),vue.createBlock(g,{key:1,class:vue.normalizeClass(["icon icon__before only-icon",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]]),type:t.onlyIcon},null,8,["class","type"])):vue.createCommentVNode("",!0),t.onlyIcon?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("span",{key:2,class:vue.normalizeClass(["btn-text",[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""]])},[vue.renderSlot(i.$slots,"default",{},void 0,!0)],2)),t.afterIcon&&!t.onlyIcon?(vue.openBlock(),vue.createBlock(g,{key:3,class:vue.normalizeClass([[r.type==="secondary"?"btn-text-secondary":"",r.type==="tertiary"?"btn-text-tertiary":""],"icon icon__after"]),type:t.afterIcon},null,8,["class","type"])):vue.createCommentVNode("",!0)]),_:3},16,["class","disabled","type","onClick"])}}};var PlButton=_export_sfc(_sfc_main$m,[["__scopeId","data-v-26f1d202"]]);const PlButtonPlugin={install(t){t.component("PlButton",PlButton)}};var datePicker="",scrollbar="",popper="",ru$1={name:"ru",el:{colorpicker:{confirm:"OK",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C"},datepicker:{now:"\u0421\u0435\u0439\u0447\u0430\u0441",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",confirm:"OK",selectDate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0430\u0442\u0443",selectTime:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u044F",startDate:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430",startTime:"\u0412\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u043B\u0430",endDate:"\u0414\u0430\u0442\u0430 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",endTime:"\u0412\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",prevYear:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u0433\u043E\u0434",nextYear:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0433\u043E\u0434",prevMonth:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u043C\u0435\u0441\u044F\u0446",nextMonth:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u043C\u0435\u0441\u044F\u0446",year:"",month1:"\u042F\u043D\u0432\u0430\u0440\u044C",month2:"\u0424\u0435\u0432\u0440\u0430\u043B\u044C",month3:"\u041C\u0430\u0440\u0442",month4:"\u0410\u043F\u0440\u0435\u043B\u044C",month5:"\u041C\u0430\u0439",month6:"\u0418\u044E\u043D\u044C",month7:"\u0418\u044E\u043B\u044C",month8:"\u0410\u0432\u0433\u0443\u0441\u0442",month9:"\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C",month10:"\u041E\u043A\u0442\u044F\u0431\u0440\u044C",month11:"\u041D\u043E\u044F\u0431\u0440\u044C",month12:"\u0414\u0435\u043A\u0430\u0431\u0440\u044C",week:"\u043D\u0435\u0434\u0435\u043B\u044F",weeks:{sun:"\u0412\u0441",mon:"\u041F\u043D",tue:"\u0412\u0442",wed:"\u0421\u0440",thu:"\u0427\u0442",fri:"\u041F\u0442",sat:"\u0421\u0431"},months:{jan:"\u042F\u043D\u0432",feb:"\u0424\u0435\u0432",mar:"\u041C\u0430\u0440",apr:"\u0410\u043F\u0440",may:"\u041C\u0430\u0439",jun:"\u0418\u044E\u043D",jul:"\u0418\u044E\u043B",aug:"\u0410\u0432\u0433",sep:"\u0421\u0435\u043D",oct:"\u041E\u043A\u0442",nov:"\u041D\u043E\u044F",dec:"\u0414\u0435\u043A"}},select:{loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430",noMatch:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",noData:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",placeholder:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C"},cascader:{noMatch:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430",placeholder:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",noData:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445"},pagination:{goto:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438",pagesize:" \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",total:"\u0412\u0441\u0435\u0433\u043E {total}",pageClassifier:""},messagebox:{title:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435",confirm:"OK",cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",error:"\u041D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439 \u0432\u0432\u043E\u0434 \u0434\u0430\u043D\u043D\u044B\u0445"},upload:{deleteTip:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 [\u0423\u0434\u0430\u043B\u0438\u0442\u044C] \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u044F",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",preview:"\u041F\u0440\u0435\u0432\u044C\u044E",continue:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C"},table:{emptyText:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",confirmFilter:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",resetFilter:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C",clearFilter:"\u0412\u0441\u0435",sumText:"\u0421\u0443\u043C\u043C\u0430"},tree:{emptyText:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445"},transfer:{noMatch:"\u0421\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",noData:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445",titles:["\u0421\u043F\u0438\u0441\u043E\u043A 1","\u0421\u043F\u0438\u0441\u043E\u043A 2"],filterPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043B\u044E\u0447\u0435\u0432\u043E\u0435 \u0441\u043B\u043E\u0432\u043E",noCheckedFormat:"{total} \u043F\u0443\u043D\u043A\u0442\u043E\u0432",hasCheckedFormat:"{checked}/{total} \u0432\u044B\u0431\u0440\u0430\u043D\u043E"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"OK",cancelButtonText:"\u041E\u0442\u043C\u0435\u043D\u0430"}}},ru={exports:{}};(function(t,n){(function(r,i){t.exports=i(dayjs_min.exports)})(commonjsGlobal,function(r){function i(ue){return ue&&typeof ue=="object"&&"default"in ue?ue:{default:ue}}var f=i(r),g="\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"),k="\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_"),$="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),j="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),re=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function z(ue,le,_e){var he,Ce;return _e==="m"?le?"\u043C\u0438\u043D\u0443\u0442\u0430":"\u043C\u0438\u043D\u0443\u0442\u0443":ue+" "+(he=+ue,Ce={mm:le?"\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442":"\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432",yy:"\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442"}[_e].split("_"),he%10==1&&he%100!=11?Ce[0]:he%10>=2&&he%10<=4&&(he%100<10||he%100>=20)?Ce[1]:Ce[2])}var oe=function(ue,le){return re.test(le)?g[ue.month()]:k[ue.month()]};oe.s=k,oe.f=g;var ae=function(ue,le){return re.test(le)?$[ue.month()]:j[ue.month()]};ae.s=j,ae.f=$;var ie={name:"ru",weekdays:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u0432\u0441\u043A_\u043F\u043D\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043F\u0442\u043D_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),months:oe,monthsShort:ae,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043D\u0430\u0437\u0430\u0434",s:"\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",m:z,mm:z,h:"\u0447\u0430\u0441",hh:z,d:"\u0434\u0435\u043D\u044C",dd:z,M:"\u043C\u0435\u0441\u044F\u0446",MM:z,y:"\u0433\u043E\u0434",yy:z},ordinal:function(ue){return ue},meridiem:function(ue){return ue<4?"\u043D\u043E\u0447\u0438":ue<12?"\u0443\u0442\u0440\u0430":ue<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u0435\u0440\u0430"}};return f.default.locale(ie,null,!0),ie})})(ru);var plDatePickerRange_vue_vue_type_style_index_0_lang="";const __default__$8={name:"PlDatePickerRange"},_sfc_main$l=Object.assign(__default__$8,{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})},width:{type:String,default:"224px"}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t;dayjs.locale("ru");const{modelValue:i}=vue.toRefs(r),f=vue.ref([]),g=vue.ref(null);return vue.watch(f,k=>{n("update:modelValue",k)}),vue.watch(i,()=>{f.value=i.value}),f.value=i.value,(k,$)=>{const j=ElDatePicker;return vue.openBlock(),vue.createBlock(vue.unref(ElConfigProvider),{locale:vue.unref(ru$1)},{default:vue.withCtx(()=>[vue.createVNode(j,vue.mergeProps({ref_key:"innerDatePicker",ref:g},k.$attrs,{modelValue:f.value,"onUpdate:modelValue":$[0]||($[0]=re=>f.value=re),format:t.format,"picker-options":t.pickerOptions,"start-placeholder":t.startPlaceholder,"end-placeholder":t.endPlaceholder,clearable:!1,type:"daterange",style:`width: ${t.width};`}),null,16,["modelValue","format","picker-options","start-placeholder","end-placeholder","style"])]),_:1},8,["locale"])}}});var plDatePicker_vue_vue_type_style_index_0_lang="";const _hoisted_1$j=["id"],__default__$7={name:"PlDatePicker"},_sfc_main$k=Object.assign(__default__$7,{props:{modelValue:{type:Date,default:null},format:{type:String,default:"DD.MM.YYYY"},placeholder:{type:String,default:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443"},pickerOptions:{type:Object,default:()=>({firstDayOfWeek:1})},width:{type:String,default:"220px"},defaultValue:{type:Date,default:null},type:{type:String,default:"date"},isLastDayOfMonth:{type:Boolean,default:!1},leftIcon:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t;dayjs.locale("ru");const{modelValue:i}=vue.toRefs(r),f=vue.ref(null),g=vue.ref(null),k=vue.computed(()=>r.leftIcon?"left-icon":"right-icon");return vue.watch(f,$=>{n("update:modelValue",$)}),vue.watch(i,()=>{f.value=i.value}),f.value=i.value,($,j)=>{const re=ElDatePicker;return vue.openBlock(),vue.createElementBlock("div",{id:vue.unref(k),style:{width:"100%"}},[vue.createVNode(vue.unref(ElConfigProvider),{locale:vue.unref(ru$1)},{default:vue.withCtx(()=>[vue.createVNode(re,vue.mergeProps({ref_key:"innerDatePicker",ref:g},$.$attrs,{modelValue:f.value,"onUpdate:modelValue":j[0]||(j[0]=z=>f.value=z),format:t.format,"picker-options":t.pickerOptions,placeholder:t.placeholder,clearable:!1,style:`width: ${t.width};`,type:t.type,class:"pl-date-picker"}),null,16,["modelValue","format","picker-options","placeholder","style","type"])]),_:1},8,["locale"])],8,_hoisted_1$j)}}});var root="",common="";const PlDatePickerPlugin={install(t){t.component("PlDatePickerRange",_sfc_main$l),t.component("PlDatePicker",_sfc_main$k)}};var loading="",dialog="",overlay="",tag="",option="",optionGroup="",select="",lodash={exports:{}};/**
|
|
49
49
|
* @license
|
|
50
50
|
* Lodash <https://lodash.com/>
|
|
51
51
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|