@beeintel/batch-image 1.0.0 → 1.1.0

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 (56) hide show
  1. package/README.md +7 -3
  2. package/dist/chunks/{AdjustToolPanel-B6dtlFlj.js → AdjustToolPanel-DCNhkuE4.js} +21 -20
  3. package/dist/chunks/BackgroundToolPanel-D3TILm-m.js +43 -0
  4. package/dist/chunks/{BatchMaterials-DDoJTaS5.js → BatchMaterials-BPJeE3y9.js} +1 -1
  5. package/dist/chunks/BatchModeChoices-BuP83uOq.js +118 -0
  6. package/dist/chunks/{BatchOutputColorPicker-D7WIDS4_.js → BatchOutputColorPicker-CZoQzBII.js} +2 -2
  7. package/dist/chunks/BatchReferenceFields-B7SL__lu.js +308 -0
  8. package/dist/chunks/BeautifyToolPanel-DsTOjndh.js +220 -0
  9. package/dist/chunks/{BrandMarkToolPanel-vKobk_R3.js → BrandMarkToolPanel-Cob9bPYT.js} +319 -333
  10. package/dist/chunks/{ContentTrimControl-BKCJEst5.js → ContentTrimControl-CKNfHz_u.js} +2 -2
  11. package/dist/chunks/{CropToolPanel-C_sW5tWL.js → CropToolPanel-6MiynTP2.js} +60 -56
  12. package/dist/chunks/CutoutToolPanel-V-AUrbwz.js +78 -0
  13. package/dist/chunks/DisclosureToolPanel-DvouSIbA.js +72 -0
  14. package/dist/chunks/ExpandToolPanel-C98UZmBx.js +69 -0
  15. package/dist/chunks/{ImageEffectsToolPanel-CsDIBpT6.js → ImageEffectsToolPanel-hA0TlEix.js} +63 -52
  16. package/dist/chunks/{IpAuditToolPanel-CduDfFh-.js → IpAuditToolPanel-BCQ8Kewh.js} +15 -13
  17. package/dist/chunks/{ListingToolPanel-8pJ2_zvI.js → ListingToolPanel-DH-xpvLp.js} +170 -184
  18. package/dist/chunks/{MaterialSelectionPlate-CW7HaS6v.js → MaterialSelectionPlate-CQBIf6ZJ.js} +4 -4
  19. package/dist/chunks/MetadataToolPanel-z4RK3JCb.js +116 -0
  20. package/dist/chunks/{OrientToolPanel-C1AzQchm.js → OrientToolPanel-BwtT0xKI.js} +3 -3
  21. package/dist/chunks/PluginActionFooter.vue_vue_type_script_setup_true_lang-DIRuJ1De.js +122 -0
  22. package/dist/chunks/ResizeToolPanel-BVeZbKJl.js +1171 -0
  23. package/dist/chunks/RetouchToolPanel-CqSzWVOK.js +358 -0
  24. package/dist/chunks/ShadowToolPanel-BgsCgLay.js +258 -0
  25. package/dist/chunks/SvgExportToolPanel-CdCXYYHF.js +208 -0
  26. package/dist/chunks/TranslationToolPanel-D4ETI6sf.js +102 -0
  27. package/dist/chunks/{UpscaleToolPanel-BRIgpszs.js → UpscaleToolPanel-D_hmQLEi.js} +44 -39
  28. package/dist/chunks/arrow-up-C1vBvuff.js +18 -0
  29. package/dist/chunks/{entry-CboOSe2r.js → entry-DVV89YMR.js} +7614 -7498
  30. package/dist/chunks/{loader-circle-CylCgDqP.js → loader-circle-GPucRX_4.js} +1 -1
  31. package/dist/chunks/{motionFeatures-D67ghPG1.js → motionFeatures-_pQ-ZW4p.js} +1 -1
  32. package/dist/chunks/{search-BwsDnulU.js → search-CUAg5uDr.js} +1 -1
  33. package/dist/config.d.ts +6 -0
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.js +6 -5
  36. package/dist/node/cli.mjs +0 -0
  37. package/dist/resources.json +104 -94
  38. package/dist/slots.d.ts +2 -0
  39. package/dist/style.css +1 -1
  40. package/dist/tool-links.d.ts +10 -0
  41. package/dist/types/batch/public/config.d.ts +6 -0
  42. package/package.json +9 -8
  43. package/dist/chunks/BackgroundToolPanel-C3Rr9d4S.js +0 -41
  44. package/dist/chunks/BatchModeChoices-DeBARgvY.js +0 -111
  45. package/dist/chunks/BatchReferenceFields-Cr5WgFRJ.js +0 -316
  46. package/dist/chunks/BeautifyToolPanel-DDZXDQKM.js +0 -215
  47. package/dist/chunks/CutoutToolPanel-B7ObmiWd.js +0 -73
  48. package/dist/chunks/DisclosureToolPanel-F3ccFJIF.js +0 -76
  49. package/dist/chunks/ExpandToolPanel-BKjj5UJA.js +0 -67
  50. package/dist/chunks/MetadataToolPanel-C8XJOamN.js +0 -104
  51. package/dist/chunks/PluginActionFooter.vue_vue_type_script_setup_true_lang-BGe419qz.js +0 -102
  52. package/dist/chunks/ResizeToolPanel-DWikcj2G.js +0 -1178
  53. package/dist/chunks/RetouchToolPanel-B4eQKk2W.js +0 -350
  54. package/dist/chunks/ShadowToolPanel-Bbj76hQd.js +0 -254
  55. package/dist/chunks/SvgExportToolPanel-BRxpzd7q.js +0 -219
  56. package/dist/chunks/TranslationToolPanel-Bxv8U2WY.js +0 -125
@@ -1,7 +1,7 @@
1
- import { defineComponent as oe, ref as F, computed as L, watch as ke, onMounted as ie, onBeforeUnmount as xe, openBlock as o, createElementBlock as r, createElementVNode as f, toDisplayString as _, unref as l, normalizeStyle as Z, withModifiers as j, Fragment as H, renderList as z, createCommentVNode as $, useId as we, createVNode as Y, normalizeClass as W, createBlock as Q, nextTick as _e, withCtx as me, resolveDynamicComponent as Ve, Teleport as Ae, withDirectives as De, createTextVNode as Oe, withKeys as ae, vShow as Ke } from "vue";
2
- import { F as re, aA as Ee, _ as se, aj as Ce, S as Re, a4 as He, aW as Be, aX as Fe, aY as Ge, aZ as ze, a_ as ve, a$ as Ne, G as Xe, R as Ye, b0 as Ue, b1 as pe, b2 as qe, b3 as je, b4 as J, b5 as We, b6 as Ze } from "./entry-CboOSe2r.js";
3
- import { u as Je, a as Qe, c as be, _ as et } from "./PluginActionFooter.vue_vue_type_script_setup_true_lang-BGe419qz.js";
4
- import { S as tt } from "./search-BwsDnulU.js";
1
+ import { defineComponent as oe, ref as F, computed as L, watch as ke, onMounted as ie, onBeforeUnmount as xe, openBlock as o, createElementBlock as r, createElementVNode as f, toDisplayString as _, unref as l, normalizeStyle as Z, withModifiers as W, Fragment as H, renderList as G, createCommentVNode as $, useId as we, createVNode as Y, normalizeClass as j, createBlock as Q, nextTick as _e, withCtx as me, resolveDynamicComponent as Ve, Teleport as Ae, withDirectives as De, createTextVNode as Oe, withKeys as ae, vShow as Ke } from "vue";
2
+ import { F as re, az as Ee, _ as se, ai as Ce, S as Re, a4 as He, aV as Be, aW as Fe, aX as ze, aY as Ge, aZ as ve, a_ as Ne, G as Xe, R as Ye, a$ as Ue, b0 as pe, b1 as qe, b2 as We, b3 as J, b4 as je, b5 as Ze } from "./entry-DVV89YMR.js";
3
+ import { u as Je, a as Qe, c as be, _ as et } from "./PluginActionFooter.vue_vue_type_script_setup_true_lang-DIRuJ1De.js";
4
+ import { S as tt } from "./search-CUAg5uDr.js";
5
5
  const at = ["light", "material", "art", "color", "distortion"], nt = {
6
6
  light_leak: "light",
7
7
  motion_blur: "light",
@@ -54,7 +54,10 @@ function lt(a, D, d, s) {
54
54
  const E = O(I) - M, P = O(w) - M, S = y ? E >= 0 : E <= 0, B = y ? P >= 0 : P <= 0;
55
55
  if (S !== B) {
56
56
  const R = E / (E - P);
57
- C.push({ x: I.x + (w.x - I.x) * R, y: I.y + (w.y - I.y) * R });
57
+ C.push({
58
+ x: I.x + (w.x - I.x) * R,
59
+ y: I.y + (w.y - I.y) * R
60
+ });
58
61
  }
59
62
  B && C.push(w);
60
63
  }
@@ -68,10 +71,15 @@ function lt(a, D, d, s) {
68
71
  const P = O(I) - x, S = O(E) - x;
69
72
  if (Math.abs(P) < 1e-8 && y.push(I), P * S < 0) {
70
73
  const B = P / (P - S);
71
- y.push({ x: I.x + (E.x - I.x) * B, y: I.y + (E.y - I.y) * B });
74
+ y.push({
75
+ x: I.x + (E.x - I.x) * B,
76
+ y: I.y + (E.y - I.y) * B
77
+ });
72
78
  }
73
79
  }
74
- const C = y[0], p = y.find((w) => C && Math.hypot(w.x - C.x, w.y - C.y) > 1e-6);
80
+ const C = y[0], p = y.find(
81
+ (w) => C && Math.hypot(w.x - C.x, w.y - C.y) > 1e-6
82
+ );
75
83
  return C && p ? {
76
84
  start: C,
77
85
  end: p,
@@ -87,7 +95,10 @@ function lt(a, D, d, s) {
87
95
  before: m(g, K, !1),
88
96
  after: m(g, v, !0),
89
97
  center: k(d),
90
- edges: [{ side: -1, line: k(K, 0.25) }, { side: 1, line: k(v, 0.75) }]
98
+ edges: [
99
+ { side: -1, line: k(K, 0.25) },
100
+ { side: 1, line: k(v, 0.75) }
101
+ ]
91
102
  };
92
103
  }
93
104
  function ne(a) {
@@ -240,10 +251,10 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
240
251
  "aria-valuemin": "0",
241
252
  "aria-valuemax": "100",
242
253
  "aria-valuenow": a.center,
243
- onPointerdown: h[0] || (h[0] = j((c) => S(c, "center"), ["stop"])),
254
+ onPointerdown: h[0] || (h[0] = W((c) => S(c, "center"), ["stop"])),
244
255
  onKeydown: b
245
256
  }, null, 40, ft),
246
- (o(!0), r(H, null, z(v.value.edges, (c) => (o(), r(H, {
257
+ (o(!0), r(H, null, G(v.value.edges, (c) => (o(), r(H, {
247
258
  key: c.side
248
259
  }, [
249
260
  c.line ? (o(), r("line", {
@@ -270,7 +281,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
270
281
  "aria-valuemin": "0",
271
282
  "aria-valuemax": "100",
272
283
  "aria-valuenow": a.width,
273
- onPointerdown: j((T) => S(T, "width", c.side), ["stop"]),
284
+ onPointerdown: W((T) => S(T, "width", c.side), ["stop"]),
274
285
  onKeydown: V
275
286
  }, null, 44, yt)) : $("", !0)
276
287
  ], 64))), 128)),
@@ -296,7 +307,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
296
307
  "aria-valuemin": "0",
297
308
  "aria-valuemax": "100",
298
309
  "aria-valuenow": a.center,
299
- onPointerdown: h[1] || (h[1] = j((c) => S(c, "center"), ["stop"])),
310
+ onPointerdown: h[1] || (h[1] = W((c) => S(c, "center"), ["stop"])),
300
311
  onKeydown: b
301
312
  }, null, 40, mt)) : $("", !0)
302
313
  ], 8, ct)) : (o(), r("div", {
@@ -312,7 +323,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
312
323
  "aria-valuenow": a.lightX,
313
324
  "aria-valuetext": `${a.lightX}%, ${a.lightY}%`,
314
325
  style: Z({ left: `${a.lightX}%`, top: `${a.lightY}%` }),
315
- onPointerdown: h[2] || (h[2] = j((c) => S(c, "light"), ["stop"])),
326
+ onPointerdown: h[2] || (h[2] = W((c) => S(c, "light"), ["stop"])),
316
327
  onKeydown: A
317
328
  }, null, 44, vt))
318
329
  ], 44, rt),
@@ -322,7 +333,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
322
333
  role: "group",
323
334
  "aria-label": l(d)("tools.image_effects.direct.rotation")
324
335
  }, [
325
- (o(), r(H, null, z([
336
+ (o(), r(H, null, G([
326
337
  { id: "horizontal", angle: 0 },
327
338
  { id: "diagonal", angle: 45 },
328
339
  { id: "vertical", angle: 90 }
@@ -455,16 +466,16 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
455
466
  "aria-label": l(s)("tools.image_effects.gallery.category"),
456
467
  class: "magic-picker-list"
457
468
  }, [
458
- (o(), r(H, null, z(y, (A, n) => f("button", {
469
+ (o(), r(H, null, G(y, (A, n) => f("button", {
459
470
  id: `${l(M)}-option-${n}`,
460
471
  key: A,
461
472
  type: "button",
462
473
  role: "option",
463
474
  "data-category": A,
464
475
  "aria-selected": a.modelValue.kind === "category" && a.modelValue.id === A,
465
- class: W({ active: x.value === n }),
476
+ class: j({ active: x.value === n }),
466
477
  tabindex: "-1",
467
- onPointerdown: V[2] || (V[2] = j(() => {
478
+ onPointerdown: V[2] || (V[2] = W(() => {
468
479
  }, ["prevent"])),
469
480
  onClick: (h) => E(A)
470
481
  }, [
@@ -489,18 +500,18 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
489
500
  }, Kt = ["aria-label"], Rt = {
490
501
  key: 0,
491
502
  class: "magic-parameter-heading"
492
- }, Ht = ["disabled", "aria-label", "title"], Bt = ["aria-label", "title"], Ft = { class: "magic-parameter-body" }, Gt = ["aria-label"], zt = { class: "direct-control-label" }, Nt = ["data-strength-preset", "disabled", "onClick"], Xt = ["disabled"], Yt = {
503
+ }, Ht = ["disabled", "aria-label", "title"], Bt = ["aria-label", "title"], Ft = { class: "magic-parameter-body" }, zt = ["aria-label"], Gt = { class: "direct-control-label" }, Nt = ["data-strength-preset", "disabled", "onClick"], Xt = ["disabled"], Yt = {
493
504
  key: 0,
494
505
  class: "effect-field",
495
506
  "data-field": "glassType"
496
- }, Ut = ["value", "aria-label"], qt = ["value"], jt = ["data-field"], Wt = ["aria-label"], Zt = ["aria-pressed", "onClick"], Jt = ["data-field"], Qt = ["aria-label", "value", "onInput"], ea = ["aria-label"], ta = ["name", "value", "checked", "onChange", "onClick", "onKeydown"], aa = ["value", "aria-label", "onChange"], na = ["value"], la = ["checked", "aria-label", "onChange"], oa = ["aria-label", "value", "onChange"], ia = { value: "transparent" }, ra = { value: "color" }, sa = ["aria-label", "value", "onInput"], ca = ["aria-label", "min", "max", "step", "value", "onInput"], ua = ["aria-label", "min", "max", "step", "value", "onInput"], da = {
507
+ }, Ut = ["value", "aria-label"], qt = ["value"], Wt = ["data-field"], jt = ["aria-label"], Zt = ["aria-pressed", "onClick"], Jt = ["data-field"], Qt = ["aria-label", "value", "onInput"], ea = ["aria-label"], ta = ["name", "value", "checked", "onChange", "onClick", "onKeydown"], aa = ["value", "aria-label", "onChange"], na = ["value"], la = ["checked", "aria-label", "onChange"], oa = ["aria-label", "value", "onChange"], ia = { value: "transparent" }, ra = { value: "color" }, sa = ["aria-label", "value", "onInput"], ca = ["aria-label", "min", "max", "step", "value", "onInput"], ua = ["aria-label", "min", "max", "step", "value", "onInput"], da = {
497
508
  key: 0,
498
509
  class: "field-unit"
499
510
  }, fa = ["aria-label", "value"], ga = {
500
511
  key: 2,
501
512
  role: "alert",
502
513
  class: "hint"
503
- }, ya = { class: "effect-note" }, ha = /* @__PURE__ */ oe({
514
+ }, ya = /* @__PURE__ */ oe({
504
515
  __name: "ImageEffectsToolPanel",
505
516
  props: {
506
517
  context: {}
@@ -508,7 +519,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
508
519
  setup(a, { expose: D }) {
509
520
  const { ui: d } = re(), s = qe(d), g = a, O = we(), m = Je(() => g.context), k = L(() => m.value.imageEffects.effectId), K = L(
510
521
  () => Be(g.context.entryId) && g.context.entryId === k.value ? g.context.entryId : void 0
511
- ), v = L(() => Fe(m.value.imageEffects)), x = L(() => Ge(m.value.imageEffects)), M = L(() => x.value.params), y = Qe(() => g.context, "imageEffects"), C = je(), p = L(
522
+ ), v = L(() => Fe(m.value.imageEffects)), x = L(() => ze(m.value.imageEffects)), M = L(() => x.value.params), y = Qe(() => g.context, "imageEffects"), C = We(), p = L(
512
523
  () => C.filter((t) => g.context.entryAllowed?.(t.entryId) !== !1)
513
524
  ), w = F({
514
525
  kind: "category",
@@ -557,7 +568,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
557
568
  await _e(), I.value?.querySelector("button.selected")?.scrollIntoView?.({ block: "nearest", inline: "nearest" });
558
569
  }
559
570
  const A = L(
560
- () => ze(m.value.imageEffects).map((t) => ({
571
+ () => Ge(m.value.imageEffects).map((t) => ({
561
572
  ...t,
562
573
  value: Pe(t.key)
563
574
  }))
@@ -590,7 +601,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
590
601
  return typeof u == "number" || typeof u == "string" || typeof u == "boolean" ? u : void 0;
591
602
  }
592
603
  function ue(t) {
593
- const u = We.find((e) => e.id === t);
604
+ const u = je.find((e) => e.id === t);
594
605
  return u ? `linear-gradient(90deg, ${u.colors.join(", ")})` : void 0;
595
606
  }
596
607
  const ee = L(() => {
@@ -619,8 +630,8 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
619
630
  if (g.context.readonly) return;
620
631
  const u = m.value.imageEffects;
621
632
  let e = u;
622
- for (const [i, G] of Object.entries(t))
623
- e.params[i] !== G && (e = J(e, i, G));
633
+ for (const [i, z] of Object.entries(t))
634
+ e.params[i] !== z && (e = J(e, i, z));
624
635
  e !== u && y.value(e);
625
636
  }
626
637
  function Te(t) {
@@ -666,6 +677,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
666
677
  }
667
678
  return (t, u) => (o(), Q(Xe, {
668
679
  context: a.context,
680
+ help: l(d)("tools.image_effects.panelNote"),
669
681
  layout: "contained",
670
682
  changed: !!K.value && !a.context.presentation && l(be)(l(m).imageEffects.params, M.value),
671
683
  onReset: de
@@ -688,10 +700,10 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
688
700
  "aria-label": l(d)("tools.image_effects.effectLabel")
689
701
  }, [
690
702
  R.value.length ? (o(), r("div", Vt, [
691
- (o(!0), r(H, null, z(R.value, (e) => (o(), r("button", {
703
+ (o(!0), r(H, null, G(R.value, (e) => (o(), r("button", {
692
704
  key: e.entryId,
693
705
  type: "button",
694
- class: W({ selected: e.entryId === K.value }),
706
+ class: j({ selected: e.entryId === K.value }),
695
707
  disabled: a.context.readonly,
696
708
  "aria-pressed": e.entryId === K.value,
697
709
  onClick: (i) => Le(e.entryId, i)
@@ -719,7 +731,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
719
731
  key: 0,
720
732
  ref_key: "parameterFrame",
721
733
  ref: P,
722
- class: W(["magic-parameters", { "magic-parameters-floating": !!a.context.presentation }]),
734
+ class: j(["magic-parameters", { "magic-parameters-floating": !!a.context.presentation }]),
723
735
  "aria-label": l(d)(`tools.image_effects.${k.value}.title`)
724
736
  }, [
725
737
  a.context.presentation ? (o(), r("header", Rt, [
@@ -752,15 +764,15 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
752
764
  role: "group",
753
765
  "aria-label": l(d)("tools.image_effects.strengthPresets")
754
766
  }, [
755
- f("span", zt, _(l(d)("tools.image_effects.strengthPresets")), 1),
756
- (o(!0), r(H, null, z(ye.value, (e) => (o(), r("button", {
767
+ f("span", Gt, _(l(d)("tools.image_effects.strengthPresets")), 1),
768
+ (o(!0), r(H, null, G(ye.value, (e) => (o(), r("button", {
757
769
  key: e.id,
758
770
  type: "button",
759
771
  "data-strength-preset": e.id,
760
772
  disabled: a.context.readonly,
761
773
  onClick: (i) => Se(e.id)
762
774
  }, _(l(d)(`tools.image_effects.strengthPreset.${e.id}`)), 9, Nt))), 128))
763
- ], 8, Gt)) : $("", !0),
775
+ ], 8, zt)) : $("", !0),
764
776
  he.value ? (o(), Q(xt, {
765
777
  key: 1,
766
778
  "effect-id": he.value,
@@ -790,13 +802,13 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
790
802
  "aria-label": l(d)("tools.image_effects.field.glassType"),
791
803
  onChange: Te
792
804
  }, [
793
- (o(!0), r(H, null, z(l(pe), (e) => (o(), r("option", {
805
+ (o(!0), r(H, null, G(l(pe), (e) => (o(), r("option", {
794
806
  key: e,
795
807
  value: e
796
808
  }, _(l(d)(`tools.image_effects.option.${e}`)), 9, qt))), 128))
797
809
  ], 40, Ut)
798
810
  ])) : $("", !0),
799
- (o(!0), r(H, null, z(T.value, (e) => (o(), r("div", {
811
+ (o(!0), r(H, null, G(T.value, (e) => (o(), r("div", {
800
812
  key: e.key,
801
813
  class: "effect-field",
802
814
  "data-field": e.key
@@ -808,12 +820,12 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
808
820
  role: "group",
809
821
  "aria-label": N(e.key)
810
822
  }, [
811
- (o(!0), r(H, null, z(e.options, (i) => (o(), r("button", {
823
+ (o(!0), r(H, null, G(e.options, (i) => (o(), r("button", {
812
824
  key: i,
813
825
  type: "button",
814
826
  "aria-pressed": e.value === i,
815
- class: W({ selected: e.value === i }),
816
- onClick: (G) => X(e.key, i)
827
+ class: j({ selected: e.value === i }),
828
+ onClick: (z) => X(e.key, i)
817
829
  }, [
818
830
  ue(i) ? (o(), r("span", {
819
831
  key: 0,
@@ -823,7 +835,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
823
835
  }, null, 4)) : $("", !0),
824
836
  f("span", null, _(l(d)(`tools.image_effects.palette.${i}`)), 1)
825
837
  ], 10, Zt))), 128)),
826
- (o(!0), r(H, null, z(c.value, (i) => (o(), r("label", {
838
+ (o(!0), r(H, null, G(c.value, (i) => (o(), r("label", {
827
839
  key: i.key,
828
840
  class: "palette-custom-color",
829
841
  "data-field": i.key
@@ -832,18 +844,18 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
832
844
  type: "color",
833
845
  "aria-label": l(d)(`tools.image_effects.field.${i.key}`),
834
846
  value: String(i.value),
835
- onInput: (G) => X(i.key, G.target.value),
836
- onKeydown: u[2] || (u[2] = ae((G) => !a.context.presentation && G.stopPropagation(), ["esc"]))
847
+ onInput: (z) => X(i.key, z.target.value),
848
+ onKeydown: u[2] || (u[2] = ae((z) => !a.context.presentation && z.stopPropagation(), ["esc"]))
837
849
  }, null, 40, Qt),
838
850
  f("span", null, _(l(d)(`tools.image_effects.field.${i.key}`)), 1)
839
851
  ], 8, Jt))), 128))
840
- ], 8, Wt)) : e.kind === "material" ? (o(), r("div", {
852
+ ], 8, jt)) : e.kind === "material" ? (o(), r("div", {
841
853
  key: 1,
842
854
  class: "material-options",
843
855
  role: "radiogroup",
844
856
  "aria-label": N(e.key)
845
857
  }, [
846
- (o(!0), r(H, null, z(e.options, (i) => (o(), r("label", {
858
+ (o(!0), r(H, null, G(e.options, (i) => (o(), r("label", {
847
859
  key: i,
848
860
  class: "material-option"
849
861
  }, [
@@ -852,12 +864,12 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
852
864
  name: l(O),
853
865
  value: i,
854
866
  checked: e.value === i,
855
- onChange: (G) => X(e.key, i),
856
- onClick: (G) => i === "custom" && Ie(),
857
- onKeydown: ae((G) => !a.context.presentation && i === "custom" && G.stopPropagation(), ["esc"])
867
+ onChange: (z) => X(e.key, i),
868
+ onClick: (z) => i === "custom" && Ie(),
869
+ onKeydown: ae((z) => !a.context.presentation && i === "custom" && z.stopPropagation(), ["esc"])
858
870
  }, null, 40, ta),
859
871
  f("span", {
860
- class: W(["material-swatch", `material-swatch-${i}`]),
872
+ class: j(["material-swatch", `material-swatch-${i}`]),
861
873
  "aria-hidden": "true"
862
874
  }, [
863
875
  i === "custom" ? (o(), r("span", {
@@ -876,7 +888,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
876
888
  "aria-label": N(e.key),
877
889
  onChange: (i) => X(e.key, i.target.value)
878
890
  }, [
879
- (o(!0), r(H, null, z(e.options, (i) => (o(), r("option", {
891
+ (o(!0), r(H, null, G(e.options, (i) => (o(), r("option", {
880
892
  key: i,
881
893
  value: i
882
894
  }, _(l(d)(`tools.image_effects.option.${i}`)), 9, na))), 128))
@@ -927,7 +939,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
927
939
  }, null, 40, ua),
928
940
  e.unit ? (o(), r("span", da, _(e.unit), 1)) : $("", !0)
929
941
  ], 64))
930
- ], 8, jt))), 128)),
942
+ ], 8, Wt))), 128)),
931
943
  h.value ? (o(), r("input", {
932
944
  key: 1,
933
945
  ref_key: "customEdgePicker",
@@ -941,8 +953,7 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
941
953
  onKeydown: u[3] || (u[3] = ae((e) => !a.context.presentation && e.stopPropagation(), ["esc"]))
942
954
  }, null, 40, fa)) : $("", !0)
943
955
  ], 8, Xt),
944
- ee.value.error ? (o(), r("p", ga, _(ee.value.error), 1)) : $("", !0),
945
- f("p", ya, _(l(d)("tools.image_effects.panelNote")), 1)
956
+ ee.value.error ? (o(), r("p", ga, _(ee.value.error), 1)) : $("", !0)
946
957
  ]),
947
958
  Y(et, {
948
959
  context: a.context,
@@ -958,9 +969,9 @@ const ot = { class: "direct-controls" }, it = { class: "direct-caption" }, rt =
958
969
  ])
959
970
  ]),
960
971
  _: 1
961
- }, 8, ["context", "changed"]));
972
+ }, 8, ["context", "help", "changed"]));
962
973
  }
963
- }), ka = /* @__PURE__ */ se(ha, [["__scopeId", "data-v-4fd94c0d"]]);
974
+ }), ba = /* @__PURE__ */ se(ya, [["__scopeId", "data-v-5bbaab55"]]);
964
975
  export {
965
- ka as default
976
+ ba as default
966
977
  };
@@ -1,14 +1,17 @@
1
- import { defineComponent as x, openBlock as f, createBlock as p, withCtx as i, createElementVNode as e, toDisplayString as c, unref as t, createVNode as u, createTextVNode as r } from "vue";
2
- import { F as h, G as v, au as d, av as m, _ as P } from "./entry-CboOSe2r.js";
3
- import { u as k, _ as g, b as w } from "./PluginActionFooter.vue_vue_type_script_setup_true_lang-BGe419qz.js";
4
- const D = ["disabled"], _ = { class: "batch-switch-label" }, I = { class: "batch-switch-label" }, y = { class: "hint" }, B = { class: "context-fields" }, T = ["value"], C = ["value"], E = ["value"], A = /* @__PURE__ */ x({
1
+ import { defineComponent as x, openBlock as f, createBlock as p, unref as t, withCtx as i, createElementVNode as e, toDisplayString as c, createVNode as u, createTextVNode as r } from "vue";
2
+ import { F as h, G as v, at as d, au as m, _ as P } from "./entry-DVV89YMR.js";
3
+ import { u as k, _ as g, b as w } from "./PluginActionFooter.vue_vue_type_script_setup_true_lang-DIRuJ1De.js";
4
+ const D = ["disabled"], _ = { class: "batch-switch-label" }, I = { class: "batch-switch-label" }, y = { class: "context-fields" }, B = ["value"], T = ["value"], C = ["value"], E = /* @__PURE__ */ x({
5
5
  __name: "IpAuditToolPanel",
6
6
  props: {
7
7
  context: {}
8
8
  },
9
9
  setup(a) {
10
10
  const { ui: o } = h(), b = a, n = k(() => b.context);
11
- return (N, l) => (f(), p(v, { context: a.context }, {
11
+ return (A, l) => (f(), p(v, {
12
+ context: a.context,
13
+ help: t(o)("common.toolPanel_57380ece")
14
+ }, {
12
15
  actions: i(() => [
13
16
  u(g, {
14
17
  context: a.context,
@@ -56,8 +59,7 @@ const D = ["disabled"], _ = { class: "batch-switch-label" }, I = { class: "batch
56
59
  _: 1
57
60
  }, 8, ["transition", "aria-label", "aria-checked"])
58
61
  ]),
59
- e("p", y, c(t(o)("common.toolPanel_57380ece")), 1),
60
- e("details", B, [
62
+ e("details", y, [
61
63
  e("summary", null, c(t(o)("common.toolPanel_5b59ab91")), 1),
62
64
  e("label", null, [
63
65
  r(c(t(o)("common.toolPanel_1bb4e669")), 1),
@@ -65,7 +67,7 @@ const D = ["disabled"], _ = { class: "batch-switch-label" }, I = { class: "batch
65
67
  value: t(n).productTitle,
66
68
  maxlength: "500",
67
69
  onInput: l[2] || (l[2] = (s) => a.context.updateDraft({ productTitle: s.target.value }))
68
- }, null, 40, T)
70
+ }, null, 40, B)
69
71
  ]),
70
72
  e("label", null, [
71
73
  r(c(t(o)("common.toolPanel_79a383a8")), 1),
@@ -73,7 +75,7 @@ const D = ["disabled"], _ = { class: "batch-switch-label" }, I = { class: "batch
73
75
  value: t(n).productBrand,
74
76
  maxlength: "200",
75
77
  onInput: l[3] || (l[3] = (s) => a.context.updateDraft({ productBrand: s.target.value }))
76
- }, null, 40, C)
78
+ }, null, 40, T)
77
79
  ]),
78
80
  e("label", null, [
79
81
  r(c(t(o)("common.toolPanel_ace81ee5")), 1),
@@ -82,15 +84,15 @@ const D = ["disabled"], _ = { class: "batch-switch-label" }, I = { class: "batch
82
84
  maxlength: "2000",
83
85
  rows: "3",
84
86
  onInput: l[4] || (l[4] = (s) => a.context.updateDraft({ context: s.target.value }))
85
- }, null, 40, E)
87
+ }, null, 40, C)
86
88
  ])
87
89
  ])
88
90
  ], 8, D)
89
91
  ]),
90
92
  _: 1
91
- }, 8, ["context"]));
93
+ }, 8, ["context", "help"]));
92
94
  }
93
- }), S = /* @__PURE__ */ P(A, [["__scopeId", "data-v-43f0999f"]]);
95
+ }), F = /* @__PURE__ */ P(E, [["__scopeId", "data-v-5475318a"]]);
94
96
  export {
95
- S as default
97
+ F as default
96
98
  };