@factoringplus/pl-components-pack-v3 0.5.40 → 0.5.42
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 +28 -16
- package/dist/pl-components-pack-v3.umd.js +15 -15
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -19194,7 +19194,12 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$E = /* @__PURE
|
|
|
19194
19194
|
disabled: j.disabled,
|
|
19195
19195
|
maxlength: j.maxlength
|
|
19196
19196
|
}), null, 16, _hoisted_2$u), [
|
|
19197
|
-
[
|
|
19197
|
+
[
|
|
19198
|
+
vModelText,
|
|
19199
|
+
$.value,
|
|
19200
|
+
void 0,
|
|
19201
|
+
{ trim: !0 }
|
|
19202
|
+
]
|
|
19198
19203
|
]),
|
|
19199
19204
|
j.showWordLimit && j.maxlength ? (openBlock(), createElementBlock("div", _hoisted_3$q, [
|
|
19200
19205
|
$.value ? (openBlock(), createElementBlock("span", _hoisted_4$k, toDisplayString($.value.length) + "/" + toDisplayString(j.maxlength), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$e, " 0/" + toDisplayString(j.maxlength), 1))
|
|
@@ -19277,7 +19282,12 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$E = /* @__PURE
|
|
|
19277
19282
|
disabled: j.disabled,
|
|
19278
19283
|
maxlength: j.maxlength
|
|
19279
19284
|
}), null, 16, _hoisted_3$p), [
|
|
19280
|
-
[
|
|
19285
|
+
[
|
|
19286
|
+
vModelDynamic,
|
|
19287
|
+
$.value,
|
|
19288
|
+
void 0,
|
|
19289
|
+
{ trim: !0 }
|
|
19290
|
+
]
|
|
19281
19291
|
]),
|
|
19282
19292
|
j.rightIcon ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
|
|
19283
19293
|
createVNode(oe, {
|
|
@@ -19289,7 +19299,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$E = /* @__PURE
|
|
|
19289
19299
|
]);
|
|
19290
19300
|
};
|
|
19291
19301
|
}
|
|
19292
|
-
},
|
|
19302
|
+
}, plInputPlus_vue_vue_type_style_index_0_scoped_581d3197_lang = "", _export_sfc = (g, y) => {
|
|
19293
19303
|
const j = g.__vccOpts || g;
|
|
19294
19304
|
for (const [z, $] of y)
|
|
19295
19305
|
j[z] = $;
|
|
@@ -19395,22 +19405,24 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$E = /* @__PURE
|
|
|
19395
19405
|
setup(g, { emit: y }) {
|
|
19396
19406
|
const j = g;
|
|
19397
19407
|
useCssVars((oe) => ({
|
|
19398
|
-
|
|
19408
|
+
b96384c0: j.width
|
|
19399
19409
|
}));
|
|
19400
|
-
const z = useAttrs$1(), $ = ref([]);
|
|
19410
|
+
const z = useAttrs$1(), $ = `id-${Math.random()}`, V = ref([]);
|
|
19401
19411
|
if (j.prop) {
|
|
19402
19412
|
const oe = inject("errorsState");
|
|
19403
19413
|
watch(
|
|
19404
19414
|
oe,
|
|
19405
19415
|
() => {
|
|
19406
|
-
|
|
19407
|
-
(
|
|
19416
|
+
V.value = oe.value.filter(
|
|
19417
|
+
(pe) => pe.field === j.prop
|
|
19408
19418
|
);
|
|
19419
|
+
const le = document.getElementById($).parentElement;
|
|
19420
|
+
V.value.length ? le.classList.add("is-error") : le.classList.remove("is-error");
|
|
19409
19421
|
},
|
|
19410
19422
|
{ deep: !0 }
|
|
19411
19423
|
);
|
|
19412
19424
|
}
|
|
19413
|
-
const
|
|
19425
|
+
const ae = computed$1({
|
|
19414
19426
|
get: () => j.modelValue,
|
|
19415
19427
|
set: (oe) => {
|
|
19416
19428
|
y("update:modelValue", oe);
|
|
@@ -19421,7 +19433,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$E = /* @__PURE
|
|
|
19421
19433
|
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
19422
19434
|
createElementVNode("label", {
|
|
19423
19435
|
class: "pl-input__label-container",
|
|
19424
|
-
for:
|
|
19436
|
+
for: $
|
|
19425
19437
|
}, [
|
|
19426
19438
|
createElementVNode("div", null, [
|
|
19427
19439
|
j.label ? (openBlock(), createElementBlock("span", _hoisted_2$s, toDisplayString(j.label), 1)) : createCommentVNode("", !0),
|
|
@@ -19452,7 +19464,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$E = /* @__PURE
|
|
|
19452
19464
|
currencyInputOptions: j.currencyInputOptions,
|
|
19453
19465
|
leftIcon: j.leftIcon,
|
|
19454
19466
|
rightIcon: j.rightIcon,
|
|
19455
|
-
id:
|
|
19467
|
+
id: $,
|
|
19456
19468
|
prop: j.prop
|
|
19457
19469
|
}), null, 16, ["modelValue", "placeholder", "disabled", "round", "valueRange", "currencyInputOptions", "leftIcon", "rightIcon", "prop"])) : j.password ? (openBlock(), createBlock(_sfc_main$E, mergeProps({ key: 1 }, unref(z), {
|
|
19458
19470
|
modelValue: ae.value,
|
|
@@ -19461,14 +19473,14 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$E = /* @__PURE
|
|
|
19461
19473
|
disabled: j.disabled,
|
|
19462
19474
|
leftIcon: j.leftIcon,
|
|
19463
19475
|
rightIcon: j.rightIcon,
|
|
19464
|
-
id:
|
|
19476
|
+
id: $,
|
|
19465
19477
|
prop: j.prop
|
|
19466
19478
|
}), null, 16, ["modelValue", "placeholder", "disabled", "leftIcon", "rightIcon", "prop"])) : j.textarea ? (openBlock(), createBlock(_sfc_main$D, mergeProps({ key: 2 }, unref(z), {
|
|
19467
19479
|
modelValue: ae.value,
|
|
19468
19480
|
"onUpdate:modelValue": le[3] || (le[3] = (ie) => ae.value = ie),
|
|
19469
19481
|
placeholder: j.placeholder,
|
|
19470
19482
|
disabled: j.disabled,
|
|
19471
|
-
id:
|
|
19483
|
+
id: $,
|
|
19472
19484
|
prop: j.prop,
|
|
19473
19485
|
showWordLimit: j.showWordLimit,
|
|
19474
19486
|
maxlength: j.maxlength
|
|
@@ -19480,19 +19492,19 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$E = /* @__PURE
|
|
|
19480
19492
|
disabled: j.disabled,
|
|
19481
19493
|
leftIcon: j.leftIcon,
|
|
19482
19494
|
rightIcon: j.rightIcon,
|
|
19483
|
-
id:
|
|
19495
|
+
id: $,
|
|
19484
19496
|
prop: j.prop,
|
|
19485
19497
|
showWordLimit: j.showWordLimit,
|
|
19486
19498
|
formatter: j.formatter
|
|
19487
19499
|
}), null, 16, ["modelValue", "placeholder", "maxlength", "disabled", "leftIcon", "rightIcon", "prop", "showWordLimit", "formatter"]))
|
|
19488
19500
|
], 2),
|
|
19489
|
-
j.helpertext ||
|
|
19490
|
-
|
|
19501
|
+
j.helpertext || V.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$i, [
|
|
19502
|
+
V.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_5$c, toDisplayString(V.value[0].message), 1)) : j.helpertext ? (openBlock(), createElementBlock("span", _hoisted_6$7, toDisplayString(j.helpertext), 1)) : createCommentVNode("", !0)
|
|
19491
19503
|
])) : createCommentVNode("", !0)
|
|
19492
19504
|
]);
|
|
19493
19505
|
};
|
|
19494
19506
|
}
|
|
19495
|
-
}, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-
|
|
19507
|
+
}, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-581d3197"]]), PlInputPlusPlugin = {
|
|
19496
19508
|
install(g) {
|
|
19497
19509
|
g.component("PlInputPlus", PlInputPlus);
|
|
19498
19510
|
}
|