@factoringplus/pl-components-pack-v3 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -17
- package/dist/mockServiceWorker.js +364 -364
- package/dist/pl-components-pack-v3.es.js +25 -26
- package/dist/pl-components-pack-v3.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -26071,7 +26071,7 @@ const _9 = {
|
|
|
26071
26071
|
setup(e, { expose: t, emit: n }) {
|
|
26072
26072
|
const r = e;
|
|
26073
26073
|
Ra((M) => ({
|
|
26074
|
-
|
|
26074
|
+
bf7662ec: r.width
|
|
26075
26075
|
}));
|
|
26076
26076
|
const o = Xr(), s = `id-${na()}`, i = C([]);
|
|
26077
26077
|
if (r.prop) {
|
|
@@ -26221,7 +26221,7 @@ const _9 = {
|
|
|
26221
26221
|
], 32);
|
|
26222
26222
|
};
|
|
26223
26223
|
}
|
|
26224
|
-
}, Qu = /* @__PURE__ */ xn(S9, [["__scopeId", "data-v-
|
|
26224
|
+
}, Qu = /* @__PURE__ */ xn(S9, [["__scopeId", "data-v-27ece060"]]);
|
|
26225
26225
|
var a4 = { exports: {} };
|
|
26226
26226
|
(function(e, t) {
|
|
26227
26227
|
(function(n, r) {
|
|
@@ -28815,7 +28815,7 @@ const eH = { class: "pl-multitab-container" }, tH = {
|
|
|
28815
28815
|
}
|
|
28816
28816
|
}, aH = {
|
|
28817
28817
|
class: /* @__PURE__ */ Y(["pl-radio-container"])
|
|
28818
|
-
}, oH = ["id", "value", "disabled"
|
|
28818
|
+
}, oH = ["id", "value", "disabled"], sH = ["onClick"], lH = /* @__PURE__ */ Ne({
|
|
28819
28819
|
__name: "pl-radio",
|
|
28820
28820
|
props: {
|
|
28821
28821
|
size: {
|
|
@@ -28845,43 +28845,42 @@ const eH = { class: "pl-multitab-container" }, tH = {
|
|
|
28845
28845
|
},
|
|
28846
28846
|
emits: ["update:modelValue", "change"],
|
|
28847
28847
|
setup(e, { emit: t }) {
|
|
28848
|
-
const n = e, r = C(n.modelValue), o = C(n.modelValue ? n.options[0].value : ""), s = (u) => {
|
|
28849
|
-
n.disabled
|
|
28850
|
-
}, i = (u, c) => {
|
|
28851
|
-
!n.disabled && !r.value ? (o.value = u, t("update:modelValue", r.value), t("change", o.value)) : c.preventDefault();
|
|
28848
|
+
const n = e, r = C(n.modelValue), o = C(n.modelValue ? n.options[0].value : ""), s = (i, u) => {
|
|
28849
|
+
n.disabled ? u.preventDefault() : (o.value = i, t("update:modelValue", o.value), t("change", o.value));
|
|
28852
28850
|
};
|
|
28853
28851
|
return ge(
|
|
28854
28852
|
() => n.modelValue,
|
|
28855
|
-
(
|
|
28856
|
-
o.value =
|
|
28853
|
+
(i) => {
|
|
28854
|
+
o.value = i ? n.options[0].value : "", r.value = i;
|
|
28857
28855
|
}
|
|
28858
|
-
), (
|
|
28859
|
-
(T(!0), z(qe, null, pt(e.options, (
|
|
28860
|
-
key:
|
|
28856
|
+
), (i, u) => (T(), z("div", aH, [
|
|
28857
|
+
(T(!0), z(qe, null, pt(e.options, (c, d) => (T(), z("label", {
|
|
28858
|
+
key: d + "pl-radio",
|
|
28861
28859
|
class: Y(["pl-radio", `pl-radio-${n.size}`, { "pl-radio-disabled": n.disabled }])
|
|
28862
28860
|
}, [
|
|
28863
28861
|
Pe(U("input", {
|
|
28864
|
-
id: "radio-" +
|
|
28865
|
-
"onUpdate:modelValue":
|
|
28862
|
+
id: "radio-" + d,
|
|
28863
|
+
"onUpdate:modelValue": u[0] || (u[0] = (v) => o.value = v),
|
|
28866
28864
|
type: "radio",
|
|
28867
|
-
value:
|
|
28868
|
-
disabled: n.disabled
|
|
28869
|
-
|
|
28870
|
-
}, null, 40, oH), [
|
|
28865
|
+
value: c.value,
|
|
28866
|
+
disabled: n.disabled
|
|
28867
|
+
}, null, 8, oH), [
|
|
28871
28868
|
[Z2, o.value]
|
|
28872
28869
|
]),
|
|
28873
|
-
U("div",
|
|
28870
|
+
U("div", {
|
|
28871
|
+
class: "pl-radio-wrapper",
|
|
28872
|
+
onClick: (v) => s(c.value, v)
|
|
28873
|
+
}, [
|
|
28874
28874
|
U("span", {
|
|
28875
28875
|
class: Y(["pl-radio-button", { "pl-radio-button-isChecked": o.value }])
|
|
28876
28876
|
}, null, 2),
|
|
28877
|
-
|
|
28877
|
+
c.label ? (T(), de(Gp, {
|
|
28878
28878
|
key: 0,
|
|
28879
|
-
title:
|
|
28880
|
-
description:
|
|
28881
|
-
"is-disabled": n.disabled
|
|
28882
|
-
|
|
28883
|
-
|
|
28884
|
-
])
|
|
28879
|
+
title: c.label,
|
|
28880
|
+
description: c.description,
|
|
28881
|
+
"is-disabled": n.disabled
|
|
28882
|
+
}, null, 8, ["title", "description", "is-disabled"])) : X("", !0)
|
|
28883
|
+
], 8, sH)
|
|
28885
28884
|
], 2))), 128))
|
|
28886
28885
|
]));
|
|
28887
28886
|
}
|