@factoringplus/pl-components-pack-v3 0.4.81 → 0.4.82
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.
|
@@ -37518,7 +37518,10 @@ const _sfc_main$o = /* @__PURE__ */ Object.assign(__default__$2, {
|
|
|
37518
37518
|
set: (val) => emit2("update:modelValue", val)
|
|
37519
37519
|
});
|
|
37520
37520
|
const el = ref(null);
|
|
37521
|
-
const { limit } = toRefs(props);
|
|
37521
|
+
const { limit, height } = toRefs(props);
|
|
37522
|
+
const cssProps = computed$1(() => ({
|
|
37523
|
+
"--pl-upload-height": /px|rem|em|%/.test(height.value) ? height.value : `${height.value}px`
|
|
37524
|
+
}));
|
|
37522
37525
|
const upload2 = (file, fileList2) => {
|
|
37523
37526
|
if (!fileList2.length) {
|
|
37524
37527
|
emit2("on-files-not-attached", file, fileList2);
|
|
@@ -37564,7 +37567,10 @@ const _sfc_main$o = /* @__PURE__ */ Object.assign(__default__$2, {
|
|
|
37564
37567
|
"auto-upload": false,
|
|
37565
37568
|
"on-change": upload2,
|
|
37566
37569
|
class: "pl-upload-plus"
|
|
37567
|
-
}, _ctx.$attrs, {
|
|
37570
|
+
}, _ctx.$attrs, {
|
|
37571
|
+
"file-list": unref(fileList),
|
|
37572
|
+
style: unref(cssProps)
|
|
37573
|
+
}), {
|
|
37568
37574
|
file: withCtx(({ file }) => [
|
|
37569
37575
|
renderSlot(_ctx.$slots, "file", { file })
|
|
37570
37576
|
]),
|
|
@@ -37581,7 +37587,7 @@ const _sfc_main$o = /* @__PURE__ */ Object.assign(__default__$2, {
|
|
|
37581
37587
|
renderSlot(_ctx.$slots, "footer")
|
|
37582
37588
|
]),
|
|
37583
37589
|
_: 3
|
|
37584
|
-
}, 16, ["drag", "multiple", "file-list"]);
|
|
37590
|
+
}, 16, ["drag", "multiple", "file-list", "style"]);
|
|
37585
37591
|
};
|
|
37586
37592
|
}
|
|
37587
37593
|
});
|