ablok-components 0.1.64 → 0.1.66
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/ablok-components.es.js +12 -6
- package/dist/ablok-components.umd.js +27 -27
- package/package.json +1 -1
|
@@ -22390,8 +22390,11 @@ const CN = { class: "upload-group" }, yN = ["innerHTML"], QN = { class: "row" },
|
|
|
22390
22390
|
src: n.value[n.value.length],
|
|
22391
22391
|
"onUpdate:src": s[0] || (s[0] = (c) => n.value[n.value.length] = c),
|
|
22392
22392
|
multiple: !1,
|
|
22393
|
-
endpoint:
|
|
22394
|
-
"custom-fetch": t.customFetch
|
|
22393
|
+
endpoint: t.endpoint,
|
|
22394
|
+
"custom-fetch": t.customFetch,
|
|
22395
|
+
"to-data-url": !t.endpoint,
|
|
22396
|
+
"auth-token": t.authToken,
|
|
22397
|
+
disabled: t.disabled
|
|
22395
22398
|
}, {
|
|
22396
22399
|
button: vi(() => [
|
|
22397
22400
|
P("span", bN, [
|
|
@@ -22399,7 +22402,7 @@ const CN = { class: "upload-group" }, yN = ["innerHTML"], QN = { class: "row" },
|
|
|
22399
22402
|
])
|
|
22400
22403
|
]),
|
|
22401
22404
|
_: 1
|
|
22402
|
-
}, 8, ["src", "custom-fetch"])
|
|
22405
|
+
}, 8, ["src", "endpoint", "custom-fetch", "to-data-url", "auth-token", "disabled"])
|
|
22403
22406
|
])
|
|
22404
22407
|
])
|
|
22405
22408
|
]);
|
|
@@ -22461,7 +22464,7 @@ const SN = { class: "upload-group" }, TN = ["innerHTML"], BG = /* @__PURE__ */ J
|
|
|
22461
22464
|
return e.modelValue.map((r) => r.src);
|
|
22462
22465
|
},
|
|
22463
22466
|
set(r) {
|
|
22464
|
-
A("update:modelValue", r.map((i, s) => ({
|
|
22467
|
+
A("update:modelValue", r.map((i, s) => (console.log("update", r), {
|
|
22465
22468
|
mediaType: i.includes("data:image/svg") ? "Svg" : i.includes("data:image") ? "Image" : "Video",
|
|
22466
22469
|
src: i,
|
|
22467
22470
|
name: `${e.name}-${s}`,
|
|
@@ -22474,8 +22477,11 @@ const SN = { class: "upload-group" }, TN = ["innerHTML"], BG = /* @__PURE__ */ J
|
|
|
22474
22477
|
$A(IN, {
|
|
22475
22478
|
modelValue: z(n),
|
|
22476
22479
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => lr(n) ? n.value = s : null),
|
|
22477
|
-
|
|
22478
|
-
|
|
22480
|
+
endpoint: t.endpoint,
|
|
22481
|
+
"custom-fetch": t.customFetch,
|
|
22482
|
+
"auth-token": t.authToken,
|
|
22483
|
+
disabled: t.disabled
|
|
22484
|
+
}, null, 8, ["modelValue", "endpoint", "custom-fetch", "auth-token", "disabled"])
|
|
22479
22485
|
]));
|
|
22480
22486
|
}
|
|
22481
22487
|
});
|