@beeintel/batch-image 1.1.0 → 1.1.1
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/README.md +3 -1
- package/dist/chunks/{AdjustToolPanel-DCNhkuE4.js → AdjustToolPanel-BEqQFYEO.js} +3 -3
- package/dist/chunks/{BackgroundToolPanel-D3TILm-m.js → BackgroundToolPanel-Dw3uT7S-.js} +3 -3
- package/dist/chunks/{BatchMaterials-BPJeE3y9.js → BatchMaterials-HiK3VQc3.js} +1 -1
- package/dist/chunks/{BatchModeChoices-BuP83uOq.js → BatchModeChoices-BAslK92y.js} +1 -1
- package/dist/chunks/{BatchOutputColorPicker-CZoQzBII.js → BatchOutputColorPicker-CgtnQBA3.js} +1 -1
- package/dist/chunks/{BatchReferenceFields-B7SL__lu.js → BatchReferenceFields-DbjXtKC4.js} +3 -3
- package/dist/chunks/{BeautifyToolPanel-DsTOjndh.js → BeautifyToolPanel-imF6jnTG.js} +4 -4
- package/dist/chunks/{BrandMarkToolPanel-Cob9bPYT.js → BrandMarkToolPanel-C-gouhaT.js} +5 -5
- package/dist/chunks/{ContentTrimControl-CKNfHz_u.js → ContentTrimControl-LgNIZbXa.js} +2 -2
- package/dist/chunks/{CropToolPanel-6MiynTP2.js → CropToolPanel-DsPgFUWI.js} +4 -4
- package/dist/chunks/{CutoutToolPanel-V-AUrbwz.js → CutoutToolPanel-BhJngz89.js} +4 -4
- package/dist/chunks/{DisclosureToolPanel-DvouSIbA.js → DisclosureToolPanel-DOaWm-im.js} +2 -2
- package/dist/chunks/{ExpandToolPanel-C98UZmBx.js → ExpandToolPanel-CuufFNiC.js} +2 -2
- package/dist/chunks/{ImageEffectsToolPanel-hA0TlEix.js → ImageEffectsToolPanel-BsfBZdYp.js} +3 -3
- package/dist/chunks/{IpAuditToolPanel-BCQ8Kewh.js → IpAuditToolPanel-DOB7TEoI.js} +2 -2
- package/dist/chunks/{ListingToolPanel-DH-xpvLp.js → ListingToolPanel-Dapetiw-.js} +3 -3
- package/dist/chunks/{MaterialSelectionPlate-CQBIf6ZJ.js → MaterialSelectionPlate-BjNttUh8.js} +1 -1
- package/dist/chunks/{MetadataToolPanel-z4RK3JCb.js → MetadataToolPanel-G56L-VTi.js} +2 -2
- package/dist/chunks/{OrientToolPanel-BwtT0xKI.js → OrientToolPanel-BJHfMixX.js} +3 -3
- package/dist/chunks/{PluginActionFooter.vue_vue_type_script_setup_true_lang-DIRuJ1De.js → PluginActionFooter.vue_vue_type_script_setup_true_lang-DI8W37RA.js} +2 -2
- package/dist/chunks/{ResizeToolPanel-BVeZbKJl.js → ResizeToolPanel-HDDArzWx.js} +7 -7
- package/dist/chunks/{RetouchToolPanel-CqSzWVOK.js → RetouchToolPanel-Drei3Dj7.js} +3 -3
- package/dist/chunks/{ShadowToolPanel-BgsCgLay.js → ShadowToolPanel-BM5MRfYB.js} +3 -3
- package/dist/chunks/{SvgExportToolPanel-CdCXYYHF.js → SvgExportToolPanel-D3KNi5AS.js} +2 -2
- package/dist/chunks/TranslationToolPanel-DbNO3IKA.js +104 -0
- package/dist/chunks/{UpscaleToolPanel-D_hmQLEi.js → UpscaleToolPanel-5kT1uUl0.js} +3 -3
- package/dist/chunks/{arrow-up-C1vBvuff.js → arrow-up-DT1zSe8a.js} +1 -1
- package/dist/chunks/{engine-D-T-1RSx.js → engine-BZ0nkcqj.js} +1 -1
- package/dist/chunks/{entry-DVV89YMR.js → entry-FNjvjYxd.js} +33 -31
- package/dist/chunks/{hosted-resources-COzZ7nZY.js → hosted-resources-C3iu_zn4.js} +2 -2
- package/dist/chunks/{loader-circle-GPucRX_4.js → loader-circle-pki8gM3_.js} +1 -1
- package/dist/chunks/{motionFeatures-_pQ-ZW4p.js → motionFeatures-Cp11tdeb.js} +1 -1
- package/dist/chunks/{search-CUAg5uDr.js → search-BNwQCPna.js} +1 -1
- package/dist/chunks/{standard-cutout-vPpP6xBc.js → standard-cutout-iIOMfl6q.js} +1 -1
- package/dist/chunks/{static-logo-2F9ORZWc.js → static-logo-7HK4ubmZ.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/processing.js +3 -3
- package/dist/resources.json +76 -76
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/TranslationToolPanel-D4ETI6sf.js +0 -102
package/package.json
CHANGED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, computed as p, openBlock as n, createElementBlock as r, createElementVNode as f, createTextVNode as A, toDisplayString as d, unref as a, Fragment as T, renderList as h, createCommentVNode as B, createBlock as E, withCtx as V, createVNode as b } from "vue";
|
|
2
|
-
import { F as y, H as C, _ as L, G as I } from "./entry-DVV89YMR.js";
|
|
3
|
-
import { a$ as k, b0 as S, b1 as U, S as $ } from "./hosted-resources-COzZ7nZY.js";
|
|
4
|
-
import { u as O, a as w, _ as D, b as G } from "./PluginActionFooter.vue_vue_type_script_setup_true_lang-DIRuJ1De.js";
|
|
5
|
-
const R = { class: "translation-fields" }, H = ["value"], M = {
|
|
6
|
-
disabled: "",
|
|
7
|
-
value: ""
|
|
8
|
-
}, W = ["value"], j = ["value"], q = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "hint",
|
|
11
|
-
role: "alert"
|
|
12
|
-
}, z = /* @__PURE__ */ F({
|
|
13
|
-
__name: "TranslationFields",
|
|
14
|
-
props: {
|
|
15
|
-
modelValue: {}
|
|
16
|
-
},
|
|
17
|
-
emits: ["update:modelValue"],
|
|
18
|
-
setup(o, { emit: m }) {
|
|
19
|
-
const { ui: i, uiText: v, uiTargetLanguage: c } = y(), g = o, _ = m, u = C(), l = p(() => u?.config.value.toolOptions?.translation?.targets), x = p(() => {
|
|
20
|
-
if (l.value) return "";
|
|
21
|
-
const e = g.modelValue;
|
|
22
|
-
return e.targetLanguage || e.termsText || e.notes ? k(e) : "";
|
|
23
|
-
});
|
|
24
|
-
function N(e) {
|
|
25
|
-
if (l.value) {
|
|
26
|
-
l.value.some((t) => t.code === e) && _("update:modelValue", {
|
|
27
|
-
targetLanguage: null,
|
|
28
|
-
targetCode: e,
|
|
29
|
-
termsText: "",
|
|
30
|
-
notes: ""
|
|
31
|
-
});
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
const s = $(e);
|
|
35
|
-
s && P({ targetLanguage: s.language, targetLocale: s.locale });
|
|
36
|
-
}
|
|
37
|
-
function P(e) {
|
|
38
|
-
_("update:modelValue", { ...g.modelValue, ...e });
|
|
39
|
-
}
|
|
40
|
-
return (e, s) => (n(), r("div", R, [
|
|
41
|
-
f("label", null, [
|
|
42
|
-
A(d(a(i)("tools.image_translation.translationFields_966a23e8")), 1),
|
|
43
|
-
f("select", {
|
|
44
|
-
value: l.value ? o.modelValue.targetCode ?? "" : a(S)(o.modelValue),
|
|
45
|
-
onChange: s[0] || (s[0] = (t) => N(t.target.value))
|
|
46
|
-
}, [
|
|
47
|
-
f("option", M, d(a(i)("tools.image_translation.translationFields_adf0e5eb")), 1),
|
|
48
|
-
(n(!0), r(T, null, h(l.value ?? [], (t) => (n(), r("option", {
|
|
49
|
-
key: t.code,
|
|
50
|
-
value: t.code
|
|
51
|
-
}, d(t.label), 9, W))), 128)),
|
|
52
|
-
(n(!0), r(T, null, h(l.value ? [] : a(U), (t) => (n(), r("option", {
|
|
53
|
-
key: t.locale,
|
|
54
|
-
value: t.locale
|
|
55
|
-
}, d(a(c)(t.locale)), 9, j))), 128))
|
|
56
|
-
], 40, H)
|
|
57
|
-
]),
|
|
58
|
-
x.value ? (n(), r("p", q, d(a(v)(x.value)), 1)) : B("", !0)
|
|
59
|
-
]));
|
|
60
|
-
}
|
|
61
|
-
}), J = /* @__PURE__ */ L(z, [["__scopeId", "data-v-c413124a"]]), K = ["disabled"], Q = /* @__PURE__ */ F({
|
|
62
|
-
__name: "TranslationToolPanel",
|
|
63
|
-
props: {
|
|
64
|
-
context: {}
|
|
65
|
-
},
|
|
66
|
-
setup(o) {
|
|
67
|
-
const { ui: m } = y(), i = o, v = C(), c = O(() => i.context), g = p(() => {
|
|
68
|
-
const u = v?.config.value.toolOptions?.translation?.targets;
|
|
69
|
-
return u ? !u.some((l) => l.code === c.value.translation.targetCode) : !!k(c.value.translation);
|
|
70
|
-
}), _ = w(() => i.context, "translation");
|
|
71
|
-
return (u, l) => (n(), E(I, {
|
|
72
|
-
context: o.context,
|
|
73
|
-
layout: "contained",
|
|
74
|
-
help: a(m)("tools.image_translation.translationFields_9f7615dc") + " " + a(m)("tools.image_translation.translationFields_5e86b15d")
|
|
75
|
-
}, {
|
|
76
|
-
actions: V(() => [
|
|
77
|
-
b(D, {
|
|
78
|
-
class: "translation-action",
|
|
79
|
-
context: o.context,
|
|
80
|
-
"show-service-status": !1,
|
|
81
|
-
available: a(G)(o.context),
|
|
82
|
-
ready: !g.value
|
|
83
|
-
}, null, 8, ["context", "available", "ready"])
|
|
84
|
-
]),
|
|
85
|
-
default: V(() => [
|
|
86
|
-
f("fieldset", {
|
|
87
|
-
class: "tool-fields plugin-fields",
|
|
88
|
-
disabled: o.context.readonly
|
|
89
|
-
}, [
|
|
90
|
-
b(J, {
|
|
91
|
-
"model-value": a(c).translation,
|
|
92
|
-
"onUpdate:modelValue": a(_)
|
|
93
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
94
|
-
], 8, K)
|
|
95
|
-
]),
|
|
96
|
-
_: 1
|
|
97
|
-
}, 8, ["context", "help"]));
|
|
98
|
-
}
|
|
99
|
-
}), te = /* @__PURE__ */ L(Q, [["__scopeId", "data-v-1c78ed64"]]);
|
|
100
|
-
export {
|
|
101
|
-
te as default
|
|
102
|
-
};
|