@beeintel/batch-image 1.1.0 → 1.1.2

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.
Files changed (42) hide show
  1. package/README.md +5 -1
  2. package/dist/chunks/{AdjustToolPanel-DCNhkuE4.js → AdjustToolPanel-DNK4nBxA.js} +3 -3
  3. package/dist/chunks/{BackgroundToolPanel-D3TILm-m.js → BackgroundToolPanel-B2GVQWt7.js} +3 -3
  4. package/dist/chunks/{BatchMaterials-BPJeE3y9.js → BatchMaterials-BCrvR7KM.js} +1 -1
  5. package/dist/chunks/{BatchModeChoices-BuP83uOq.js → BatchModeChoices-RP3SxXrV.js} +1 -1
  6. package/dist/chunks/{BatchOutputColorPicker-CZoQzBII.js → BatchOutputColorPicker-BcHFB4qE.js} +1 -1
  7. package/dist/chunks/{BatchReferenceFields-B7SL__lu.js → BatchReferenceFields-CFgNLmBa.js} +3 -3
  8. package/dist/chunks/{BeautifyToolPanel-DsTOjndh.js → BeautifyToolPanel-ZlB91CAV.js} +4 -4
  9. package/dist/chunks/{BrandMarkToolPanel-Cob9bPYT.js → BrandMarkToolPanel-DpDkLVj3.js} +5 -5
  10. package/dist/chunks/{ContentTrimControl-CKNfHz_u.js → ContentTrimControl-B3wsGVrP.js} +2 -2
  11. package/dist/chunks/{CropToolPanel-6MiynTP2.js → CropToolPanel-DNUs3aPA.js} +4 -4
  12. package/dist/chunks/{CutoutToolPanel-V-AUrbwz.js → CutoutToolPanel-BdAgepXP.js} +4 -4
  13. package/dist/chunks/{DisclosureToolPanel-DvouSIbA.js → DisclosureToolPanel-DXvv_jpL.js} +2 -2
  14. package/dist/chunks/{ExpandToolPanel-C98UZmBx.js → ExpandToolPanel-1ixaqo75.js} +2 -2
  15. package/dist/chunks/{ImageEffectsToolPanel-hA0TlEix.js → ImageEffectsToolPanel-B9AADaEb.js} +3 -3
  16. package/dist/chunks/{IpAuditToolPanel-BCQ8Kewh.js → IpAuditToolPanel-DCRYh9nL.js} +2 -2
  17. package/dist/chunks/{ListingToolPanel-DH-xpvLp.js → ListingToolPanel-Cpw0ESUP.js} +3 -3
  18. package/dist/chunks/{MaterialSelectionPlate-CQBIf6ZJ.js → MaterialSelectionPlate-B0GBrxUQ.js} +1 -1
  19. package/dist/chunks/{MetadataToolPanel-z4RK3JCb.js → MetadataToolPanel-Dp5mei1I.js} +2 -2
  20. package/dist/chunks/{OrientToolPanel-BwtT0xKI.js → OrientToolPanel-xCJYPtyr.js} +3 -3
  21. package/dist/chunks/{PluginActionFooter.vue_vue_type_script_setup_true_lang-DIRuJ1De.js → PluginActionFooter.vue_vue_type_script_setup_true_lang-C7n8RPD4.js} +2 -2
  22. package/dist/chunks/{ResizeToolPanel-BVeZbKJl.js → ResizeToolPanel-_YSRT0Vq.js} +7 -7
  23. package/dist/chunks/{RetouchToolPanel-CqSzWVOK.js → RetouchToolPanel-DDFaoROX.js} +3 -3
  24. package/dist/chunks/{ShadowToolPanel-BgsCgLay.js → ShadowToolPanel-B_kYHEjp.js} +3 -3
  25. package/dist/chunks/{SvgExportToolPanel-CdCXYYHF.js → SvgExportToolPanel-Du_iMi6w.js} +2 -2
  26. package/dist/chunks/TranslationToolPanel-DqNjED8G.js +104 -0
  27. package/dist/chunks/{UpscaleToolPanel-D_hmQLEi.js → UpscaleToolPanel-D_n43ORF.js} +3 -3
  28. package/dist/chunks/{arrow-up-C1vBvuff.js → arrow-up-CFlut6Cb.js} +1 -1
  29. package/dist/chunks/{engine-D-T-1RSx.js → engine-BZ0nkcqj.js} +1 -1
  30. package/dist/chunks/{entry-DVV89YMR.js → entry-BuRn_zA0.js} +35 -33
  31. package/dist/chunks/{hosted-resources-COzZ7nZY.js → hosted-resources-C3iu_zn4.js} +2 -2
  32. package/dist/chunks/{loader-circle-GPucRX_4.js → loader-circle-B6-ZeWcP.js} +1 -1
  33. package/dist/chunks/{motionFeatures-_pQ-ZW4p.js → motionFeatures-DpP9TKD-.js} +1 -1
  34. package/dist/chunks/{search-CUAg5uDr.js → search-BxbD4Tpl.js} +1 -1
  35. package/dist/chunks/{standard-cutout-vPpP6xBc.js → standard-cutout-iIOMfl6q.js} +1 -1
  36. package/dist/chunks/{static-logo-2F9ORZWc.js → static-logo-7HK4ubmZ.js} +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/processing.js +3 -3
  39. package/dist/resources.json +77 -77
  40. package/dist/style.css +1 -1
  41. package/package.json +1 -1
  42. package/dist/chunks/TranslationToolPanel-D4ETI6sf.js +0 -102
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beeintel/batch-image",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Embeddable batch image workspace for Vue applications",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -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
- };