ablok-components 0.1.81 → 0.1.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.
|
@@ -22394,6 +22394,10 @@ const QN = { class: "upload-group" }, vN = ["innerHTML"], EN = { class: "row" },
|
|
|
22394
22394
|
default: ""
|
|
22395
22395
|
},
|
|
22396
22396
|
customFetch: null,
|
|
22397
|
+
baseResponsePath: {
|
|
22398
|
+
type: String,
|
|
22399
|
+
default: "/media"
|
|
22400
|
+
},
|
|
22397
22401
|
previewWidth: {
|
|
22398
22402
|
type: Number,
|
|
22399
22403
|
default: 0
|
|
@@ -22438,7 +22442,8 @@ const QN = { class: "upload-group" }, vN = ["innerHTML"], EN = { class: "row" },
|
|
|
22438
22442
|
"custom-fetch": t.customFetch,
|
|
22439
22443
|
"to-data-url": !t.endpoint,
|
|
22440
22444
|
"auth-token": t.authToken,
|
|
22441
|
-
disabled: t.disabled
|
|
22445
|
+
disabled: t.disabled,
|
|
22446
|
+
"base-response-path": t.baseResponsePath
|
|
22442
22447
|
}, {
|
|
22443
22448
|
button: Pr(() => [
|
|
22444
22449
|
N("span", SN, [
|
|
@@ -22446,7 +22451,7 @@ const QN = { class: "upload-group" }, vN = ["innerHTML"], EN = { class: "row" },
|
|
|
22446
22451
|
])
|
|
22447
22452
|
]),
|
|
22448
22453
|
_: 1
|
|
22449
|
-
}, 8, ["src", "endpoint", "custom-fetch", "to-data-url", "auth-token", "disabled"])
|
|
22454
|
+
}, 8, ["src", "endpoint", "custom-fetch", "to-data-url", "auth-token", "disabled", "base-response-path"])
|
|
22450
22455
|
])
|
|
22451
22456
|
])
|
|
22452
22457
|
]);
|
|
@@ -22510,6 +22515,10 @@ const xN = { class: "upload-group" }, HN = ["innerHTML"], wG = /* @__PURE__ */ J
|
|
|
22510
22515
|
/* Image */
|
|
22511
22516
|
})
|
|
22512
22517
|
},
|
|
22518
|
+
baseResponsePath: {
|
|
22519
|
+
type: String,
|
|
22520
|
+
default: "/media"
|
|
22521
|
+
},
|
|
22513
22522
|
previewWidth: {
|
|
22514
22523
|
type: Number,
|
|
22515
22524
|
default: 0
|
|
@@ -22525,7 +22534,7 @@ const xN = { class: "upload-group" }, HN = ["innerHTML"], wG = /* @__PURE__ */ J
|
|
|
22525
22534
|
A("update:modelValue", r.map(
|
|
22526
22535
|
(i, s) => ({
|
|
22527
22536
|
mediaType: e.modelValue[s] && e.modelValue[s].mediaType || i.includes("data:image") ? i.includes("data:image/svg") ? "Svg" : "Image" : e.mediaTypeMap[i.split(".")[1]],
|
|
22528
|
-
src: i
|
|
22537
|
+
src: i,
|
|
22529
22538
|
name: e.modelValue[s] && e.modelValue[s].name || `${e.name}-${s}`,
|
|
22530
22539
|
...e.type ? { type: e.type } : {}
|
|
22531
22540
|
})
|
|
@@ -22541,8 +22550,9 @@ const xN = { class: "upload-group" }, HN = ["innerHTML"], wG = /* @__PURE__ */ J
|
|
|
22541
22550
|
"custom-fetch": t.customFetch,
|
|
22542
22551
|
"auth-token": t.authToken,
|
|
22543
22552
|
disabled: t.disabled,
|
|
22544
|
-
"preview-width": t.previewWidth
|
|
22545
|
-
|
|
22553
|
+
"preview-width": t.previewWidth,
|
|
22554
|
+
"base-response-path": t.baseResponsePath
|
|
22555
|
+
}, null, 8, ["modelValue", "endpoint", "custom-fetch", "auth-token", "disabled", "preview-width", "base-response-path"])
|
|
22546
22556
|
]));
|
|
22547
22557
|
}
|
|
22548
22558
|
});
|