@factoringplus/pl-components-pack-v3 0.5.101 → 0.5.103
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.
|
@@ -18640,7 +18640,10 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$M = /* @__PURE
|
|
|
18640
18640
|
}, _sfc_main$18 = /* @__PURE__ */ Object.assign(__default__$a, {
|
|
18641
18641
|
props: {
|
|
18642
18642
|
width: String,
|
|
18643
|
-
modelValue:
|
|
18643
|
+
modelValue: {
|
|
18644
|
+
required: !0,
|
|
18645
|
+
type: Number || String
|
|
18646
|
+
},
|
|
18644
18647
|
round: {
|
|
18645
18648
|
type: Boolean,
|
|
18646
18649
|
default: !1
|
|
@@ -18650,23 +18653,29 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$M = /* @__PURE
|
|
|
18650
18653
|
default: () => ({})
|
|
18651
18654
|
}
|
|
18652
18655
|
},
|
|
18653
|
-
|
|
18654
|
-
|
|
18655
|
-
|
|
18656
|
+
emits: ["update:modelValue", "change"],
|
|
18657
|
+
setup(g, { emit: y }) {
|
|
18658
|
+
const j = g, { round: z, currencyInputOptions: $ } = toRefs(j), V = reactive({
|
|
18659
|
+
currency: "RUB",
|
|
18656
18660
|
currencyDisplay: "hidden",
|
|
18657
18661
|
precision: z.value ? 0 : 2,
|
|
18658
18662
|
hideGroupingSeparatorOnFocus: !1,
|
|
18659
18663
|
...unref($)
|
|
18660
|
-
}), { inputRef: re, formattedValue: ae, setValue: le } = useCurrencyInput(V)
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
|
|
18665
|
-
|
|
18664
|
+
}), { inputRef: re, formattedValue: ae, setValue: le } = useCurrencyInput(V), ue = computed$1({
|
|
18665
|
+
get: () => j.modelValue,
|
|
18666
|
+
set: (ie) => {
|
|
18667
|
+
y("update:modelValue", ie);
|
|
18668
|
+
}
|
|
18669
|
+
});
|
|
18670
|
+
return watch(ue, (ie) => {
|
|
18671
|
+
le(ie);
|
|
18672
|
+
}), (ie, he) => {
|
|
18673
|
+
const de = ElInput;
|
|
18674
|
+
return openBlock(), createBlock(de, mergeProps(ie.$attrs, {
|
|
18666
18675
|
ref_key: "inputRef",
|
|
18667
18676
|
ref: re,
|
|
18668
18677
|
modelValue: unref(ae),
|
|
18669
|
-
"onUpdate:modelValue":
|
|
18678
|
+
"onUpdate:modelValue": he[0] || (he[0] = (Ne) => isRef(ae) ? ae.value = Ne : null),
|
|
18670
18679
|
style: `width: ${g.width};`,
|
|
18671
18680
|
class: "pl-currency"
|
|
18672
18681
|
}), {
|
|
@@ -20718,7 +20727,7 @@ const PlButtonPlugin = {
|
|
|
20718
20727
|
y("update:focus", !1);
|
|
20719
20728
|
}, re = computed$1(() => {
|
|
20720
20729
|
var ae, le;
|
|
20721
|
-
return (ae = j.modelValue) != null && ae.value ? `${(le = j.modelValue) == null ? void 0 : le.label} ${j.showDescription}
|
|
20730
|
+
return (ae = j.modelValue) != null && ae.value ? `${(le = j.modelValue) == null ? void 0 : le.label} ${j.showDescription}`.trim() : "";
|
|
20722
20731
|
});
|
|
20723
20732
|
return (ae, le) => {
|
|
20724
20733
|
var ie;
|
|
@@ -21073,7 +21082,7 @@ const PlButtonPlugin = {
|
|
|
21073
21082
|
install(g) {
|
|
21074
21083
|
g.component("PlIcon", _sfc_main$14);
|
|
21075
21084
|
}
|
|
21076
|
-
},
|
|
21085
|
+
}, plLink_vue_vue_type_style_index_0_scoped_14e25d11_lang = "", _hoisted_1$w = ["href", "target"], _sfc_main$P = {
|
|
21077
21086
|
__name: "pl-link",
|
|
21078
21087
|
props: {
|
|
21079
21088
|
href: {
|
|
@@ -21114,7 +21123,7 @@ const PlButtonPlugin = {
|
|
|
21114
21123
|
], 8, _hoisted_1$w)
|
|
21115
21124
|
], 2));
|
|
21116
21125
|
}
|
|
21117
|
-
}, PlLink = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-
|
|
21126
|
+
}, PlLink = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-14e25d11"]]), PlLinkPlugin = {
|
|
21118
21127
|
install(g) {
|
|
21119
21128
|
g.component("PlLink", PlLink);
|
|
21120
21129
|
}
|