@factoringplus/pl-components-pack-v3 0.5.66-pre-06 → 0.5.66-pre-08
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/dist/pl-components-pack-v3.es.js +15 -14
- package/dist/pl-components-pack-v3.umd.js +16 -16
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -20355,7 +20355,7 @@ const formatCurrency = (g, y = 2, j = !1) => {
|
|
|
20355
20355
|
], 2);
|
|
20356
20356
|
};
|
|
20357
20357
|
}
|
|
20358
|
-
},
|
|
20358
|
+
}, plSelectPlus_vue_vue_type_style_index_0_scoped_d7101ccb_lang = "", _hoisted_1$x = {
|
|
20359
20359
|
key: 0,
|
|
20360
20360
|
class: "pl-select__label-container"
|
|
20361
20361
|
}, _hoisted_2$u = { class: "pl-select__label-container-text" }, _hoisted_3$o = {
|
|
@@ -20443,7 +20443,9 @@ const formatCurrency = (g, y = 2, j = !1) => {
|
|
|
20443
20443
|
setup(g, { emit: y }) {
|
|
20444
20444
|
const j = g;
|
|
20445
20445
|
useAttrs$1();
|
|
20446
|
-
const z = `id-${uniqid()}
|
|
20446
|
+
const z = `id-${uniqid()}`;
|
|
20447
|
+
ref(!0);
|
|
20448
|
+
const $ = ref([]);
|
|
20447
20449
|
if (j.prop) {
|
|
20448
20450
|
const ze = inject("errorsState");
|
|
20449
20451
|
watch(
|
|
@@ -20451,7 +20453,7 @@ const formatCurrency = (g, y = 2, j = !1) => {
|
|
|
20451
20453
|
() => {
|
|
20452
20454
|
$.value = ze.value.filter(
|
|
20453
20455
|
(xe) => xe.field === j.prop
|
|
20454
|
-
);
|
|
20456
|
+
), ie();
|
|
20455
20457
|
},
|
|
20456
20458
|
{ deep: !0 }
|
|
20457
20459
|
);
|
|
@@ -20468,22 +20470,21 @@ const formatCurrency = (g, y = 2, j = !1) => {
|
|
|
20468
20470
|
ie();
|
|
20469
20471
|
});
|
|
20470
20472
|
});
|
|
20471
|
-
const ie = (
|
|
20473
|
+
const ie = () => {
|
|
20472
20474
|
nextTick(() => {
|
|
20473
|
-
const
|
|
20474
|
-
if (!
|
|
20475
|
+
const ze = document.getElementById(`dropdown-${z}`);
|
|
20476
|
+
if (!ze)
|
|
20475
20477
|
return;
|
|
20476
|
-
const
|
|
20478
|
+
const xe = ze.previousSibling.querySelectorAll(
|
|
20477
20479
|
".pl-select__label-container"
|
|
20478
|
-
)[0],
|
|
20479
|
-
|
|
20480
|
+
)[0], Et = xe ? xe.offsetHeight : -4, At = ze.previousSibling.offsetHeight;
|
|
20481
|
+
ze.style.bottom = "", ze && ze.getBoundingClientRect().bottom > le.value && (ze.style.bottom = `${At - Et}px`), ze && ze.getBoundingClientRect().top < 0 && (ze.style.bottom = "");
|
|
20480
20482
|
});
|
|
20481
20483
|
}, pe = () => {
|
|
20482
20484
|
j.disabled || (re.value = !re.value, document.getElementById(z) && (re.value ? document.getElementById(z).focus() : document.getElementById(z).blur()));
|
|
20483
20485
|
}, de = () => {
|
|
20484
20486
|
j.disabled || !re.value || nextTick(() => {
|
|
20485
|
-
|
|
20486
|
-
re.value = !1, (ze = document.getElementById(z)) == null || ze.focus(), (xe = document.getElementById(z)) == null || xe.blur();
|
|
20487
|
+
re.value = !1;
|
|
20487
20488
|
});
|
|
20488
20489
|
}, Ne = computed$1({
|
|
20489
20490
|
get: () => j.modelValue,
|
|
@@ -20562,7 +20563,7 @@ const formatCurrency = (g, y = 2, j = !1) => {
|
|
|
20562
20563
|
createVNode(Et, { "max-height": "268px" }, {
|
|
20563
20564
|
default: withCtx(() => [
|
|
20564
20565
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(j.options, (At) => (openBlock(), createBlock(PlOption, {
|
|
20565
|
-
|
|
20566
|
+
onMousedown: (qe) => Ie(At),
|
|
20566
20567
|
active: Ue(At),
|
|
20567
20568
|
key: At,
|
|
20568
20569
|
description: At.description,
|
|
@@ -20574,7 +20575,7 @@ const formatCurrency = (g, y = 2, j = !1) => {
|
|
|
20574
20575
|
createTextVNode(toDisplayString(At.label), 1)
|
|
20575
20576
|
]),
|
|
20576
20577
|
_: 2
|
|
20577
|
-
}, 1032, ["
|
|
20578
|
+
}, 1032, ["onMousedown", "active", "description", "summ", "leftIcon", "disabled"]))), 128))
|
|
20578
20579
|
]),
|
|
20579
20580
|
_: 1
|
|
20580
20581
|
})
|
|
@@ -20587,7 +20588,7 @@ const formatCurrency = (g, y = 2, j = !1) => {
|
|
|
20587
20588
|
]);
|
|
20588
20589
|
};
|
|
20589
20590
|
}
|
|
20590
|
-
}, PlSelectPlus = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-
|
|
20591
|
+
}, PlSelectPlus = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-d7101ccb"]]), PlSelectPlusPlugin = {
|
|
20591
20592
|
install(g) {
|
|
20592
20593
|
g.component("PlSelectPlus", PlSelectPlus), g.component("PlOption", PlOption);
|
|
20593
20594
|
}
|