@shotstack/shotstack-studio 2.19.7 → 2.19.8
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.
|
@@ -11,7 +11,7 @@ import "pixi.js/text-html";
|
|
|
11
11
|
import "pixi.js/sprite-tiling";
|
|
12
12
|
import "pixi.js/filters";
|
|
13
13
|
import "pixi.js/mesh";
|
|
14
|
-
const s8 = "2.19.
|
|
14
|
+
const s8 = "2.19.7", a8 = {
|
|
15
15
|
version: s8
|
|
16
16
|
};
|
|
17
17
|
function fv(e, t, i) {
|
|
@@ -45127,6 +45127,7 @@ const No = (e) => typeof e == "object" && e !== null && !Array.isArray(e), jo =
|
|
|
45127
45127
|
return n.some((o) => !s.some((l) => l.name === o)) ? [] : [
|
|
45128
45128
|
{
|
|
45129
45129
|
model: t.model,
|
|
45130
|
+
...typeof t.name == "string" && t.name.trim() ? { name: t.name.trim() } : {},
|
|
45130
45131
|
type: t.type,
|
|
45131
45132
|
optionNames: Object.keys(r),
|
|
45132
45133
|
options: s,
|
|
@@ -67390,7 +67391,7 @@ const Vrt = 300, Lrt = {
|
|
|
67390
67391
|
boolean: "checkbox",
|
|
67391
67392
|
integer: "number",
|
|
67392
67393
|
string: "text"
|
|
67393
|
-
}, Po = (e) => typeof e == "object" && e !== null && !Array.isArray(e) ? e : {}, $rt = (e, t, i) => e === void 0 ? "" : i ? i.model : t ? `${t} (Unavailable)` : e.length === 0 ? "No models available" : "Select model";
|
|
67394
|
+
}, Po = (e) => typeof e == "object" && e !== null && !Array.isArray(e) ? e : {}, $rt = (e, t, i) => e === void 0 ? "" : i ? i.name || i.model : t ? `${t} (Unavailable)` : e.length === 0 ? "No models available" : "Select model";
|
|
67394
67395
|
class Urt extends wa {
|
|
67395
67396
|
promptInput = null;
|
|
67396
67397
|
generateBtn = null;
|
|
@@ -67520,7 +67521,7 @@ class Urt extends wa {
|
|
|
67520
67521
|
this.modelPopup.replaceChildren();
|
|
67521
67522
|
for (const r of t) {
|
|
67522
67523
|
const n = document.createElement("button");
|
|
67523
|
-
n.type = "button", n.className = "ss-media-toolbar-popup-item", n.dataset.modelValue = r.model, n.textContent = r.model, n.classList.toggle("active", r.model === i), n.addEventListener("click", () => this.selectModel(r)), this.modelPopup.appendChild(n);
|
|
67524
|
+
n.type = "button", n.className = "ss-media-toolbar-popup-item", n.dataset.modelValue = r.model, n.textContent = r.name || r.model, n.classList.toggle("active", r.model === i), n.addEventListener("click", () => this.selectModel(r)), this.modelPopup.appendChild(n);
|
|
67524
67525
|
}
|
|
67525
67526
|
}
|
|
67526
67527
|
}
|