@bluepic/embed 0.6.28 → 0.6.29

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/dist/main.mjs CHANGED
@@ -61929,7 +61929,7 @@ var Tz = { class: "batch-toolbar" }, Ez = {
61929
61929
  e.data[n] = oe(e.data[n], t[r]);
61930
61930
  }), a.length < t.length && c({
61931
61931
  type: "warning",
61932
- message: `Only ${a.length} of ${t.length} images were placed — the batch is limited to 1024 rows.`,
61932
+ message: `Only ${a.length} of ${t.length} images were placed (max. 1024 rows per batch).`,
61933
61933
  closeAfter: 6e3
61934
61934
  });
61935
61935
  }
@@ -62202,7 +62202,7 @@ var Tz = { class: "batch-toolbar" }, Ez = {
62202
62202
  "radius"
62203
62203
  ])], 2));
62204
62204
  }
62205
- }), [["__scopeId", "data-v-63fc8593"]]), Rz = /* @__PURE__ */ n((/* @__PURE__ */ i(((e, t) => {
62205
+ }), [["__scopeId", "data-v-c47f9f1c"]]), Rz = /* @__PURE__ */ n((/* @__PURE__ */ i(((e, t) => {
62206
62206
  (function(n, r) {
62207
62207
  typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? t.exports = r() : n.download = r();
62208
62208
  })(e, function() {
@@ -66200,7 +66200,7 @@ var DV = { class: "intro" }, OV = { class: "field" }, kV = ["id"], AV = {
66200
66200
  }
66201
66201
  }
66202
66202
  return t({ cancelRun: ae }), (t, n) => (L(), p("div", { class: A(["bx-batch-export-popup", { ["phase-" + j.value]: !0 }]) }, [j.value === "configure" ? (L(), p(a, { key: 0 }, [
66203
- m("p", DV, [e.kind === "files" ? (L(), p(a, { key: 0 }, [_(" Renders " + H(e.rowCount) + " " + H(e.rowCount === 1 ? "row" : "rows") + " on the server and hands you " + H(e.rowCount === 1 ? "the file" : "a zip") + ". ", 1)], 64)) : (L(), p(a, { key: 1 }, [_(" Writes the " + H(e.rowCount) + " " + H(e.rowCount === 1 ? "row" : "rows") + " to a CSV — one column per field, plus a link to the result of every row. ", 1)], 64))]),
66203
+ m("p", DV, [e.kind === "files" ? (L(), p(a, { key: 0 }, [_(" Renders " + H(e.rowCount) + " " + H(e.rowCount === 1 ? "row" : "rows") + " on the server and hands you " + H(e.rowCount === 1 ? "the file" : "a zip") + ". ", 1)], 64)) : (L(), p(a, { key: 1 }, [_(" Writes the " + H(e.rowCount) + " " + H(e.rowCount === 1 ? "row" : "rows") + " to a CSV: one column per field, plus a link to the result of every row. ", 1)], 64))]),
66204
66204
  m("div", OV, [m("span", {
66205
66205
  class: "label",
66206
66206
  id: o.format
@@ -66309,7 +66309,7 @@ var DV = { class: "intro" }, OV = { class: "field" }, kV = ["id"], AV = {
66309
66309
  bordered: !0,
66310
66310
  "show-icon": !0
66311
66311
  }, {
66312
- default: G(() => [_(H(te.value.length) + " " + H(te.value.length === 1 ? "row exceeds" : "rows exceed") + " the URL length the render API accepts (rows " + H(te.value.join(", ")) + "). Those links may not render — shorten their texts or use the template link format. ", 1)]),
66312
+ default: G(() => [_(H(te.value.length) + " " + H(te.value.length === 1 ? "row exceeds" : "rows exceed") + " the URL length the render API accepts (rows " + H(te.value.join(", ")) + "). Those links may not render. Shorten their texts or use the template link format. ", 1)]),
66313
66313
  _: 1
66314
66314
  })) : f("", !0),
66315
66315
  m("div", HV, [v(Mx, {
@@ -66332,7 +66332,7 @@ var DV = { class: "intro" }, OV = { class: "field" }, kV = ["id"], AV = {
66332
66332
  })) : f("", !0)])
66333
66333
  ], 64))], 2));
66334
66334
  }
66335
- }), [["__scopeId", "data-v-5c0586a5"]]);
66335
+ }), [["__scopeId", "data-v-cbc6523a"]]);
66336
66336
  //#endregion
66337
66337
  //#region src/util/batch/parseCSV.ts
66338
66338
  function WV(e) {
@@ -66771,7 +66771,7 @@ var yH = { class: "bx-batch-import-popup" }, bH = { class: "paste" }, xH = ["id"
66771
66771
  try {
66772
66772
  s.value = await navigator.clipboard.readText();
66773
66773
  } catch {
66774
- c.value = "The browser did not allow reading the clipboard — paste into the box instead.";
66774
+ c.value = "The browser did not allow reading the clipboard. Paste into the box instead.";
66775
66775
  }
66776
66776
  }
66777
66777
  function x() {
@@ -66966,7 +66966,7 @@ var yH = { class: "bx-batch-import-popup" }, bH = { class: "paste" }, xH = ["id"
66966
66966
  bordered: !0,
66967
66967
  "show-icon": !0
66968
66968
  }, {
66969
- default: G(() => [_(" Only " + H(w.value.length - E.value) + " rows fit — a batch is limited to " + H(U(o)) + " rows. ", 1)]),
66969
+ default: G(() => [_(" Only " + H(w.value.length - E.value) + " rows fit (max. " + H(U(o)) + " rows per batch). ", 1)]),
66970
66970
  _: 1
66971
66971
  })) : f("", !0) : (L(), d(Uz, {
66972
66972
  key: 1,
@@ -67047,7 +67047,7 @@ var yH = { class: "bx-batch-import-popup" }, bH = { class: "paste" }, xH = ["id"
67047
67047
  })) : f("", !0)
67048
67048
  ], 64))]));
67049
67049
  }
67050
- }), [["__scopeId", "data-v-b74d5e1c"]]);
67050
+ }), [["__scopeId", "data-v-2eb6e271"]]);
67051
67051
  //#endregion
67052
67052
  //#region node_modules/swiper/shared/ssr-window.esm.mjs
67053
67053
  function jH(e) {
@@ -72022,7 +72022,7 @@ var tK = ["data-preview"], nK = { class: "back-btn-wrapper" }, rK = {
72022
72022
  let { imported: r, dropped: i } = _e.importRows(t, n);
72023
72023
  s({
72024
72024
  type: i > 0 ? "warning" : "success",
72025
- message: i > 0 ? `${r - i} rows imported — ${i} did not fit the ${wV}-row limit.` : `${r} ${r === 1 ? "row" : "rows"} imported.`,
72025
+ message: i > 0 ? `${r - i} rows imported, ${i} did not fit the ${wV}-row limit.` : `${r} ${r === 1 ? "row" : "rows"} imported.`,
72026
72026
  closeAfter: 4e3
72027
72027
  });
72028
72028
  }
@@ -72511,7 +72511,7 @@ var tK = ["data-preview"], nK = { class: "back-btn-wrapper" }, rK = {
72511
72511
  ])) : f("", !0)
72512
72512
  ], 14, tK));
72513
72513
  }
72514
- }), [["__scopeId", "data-v-c9b755cf"]]), SK = (/* @__PURE__ */ n((/* @__PURE__ */ i(((e, t) => {
72514
+ }), [["__scopeId", "data-v-769842a5"]]), SK = (/* @__PURE__ */ n((/* @__PURE__ */ i(((e, t) => {
72515
72515
  function n(e) {
72516
72516
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
72517
72517
  throw Error("map is read-only");
@@ -74895,7 +74895,7 @@ var DJ = /* @__PURE__ */ "color-scheme.surface.surface-rgb.surface-1.surface-1-r
74895
74895
  {
74896
74896
  key: "graphite",
74897
74897
  label: "Graphite",
74898
- description: "Pure black, high contrast, sharp corners — signage and dark brands.",
74898
+ description: "Pure black, high contrast, sharp corners.",
74899
74899
  input: {
74900
74900
  version: 2,
74901
74901
  surface: "#000000",
@@ -77688,7 +77688,7 @@ var CZ = { class: "viewer-header-tools" }, wZ = ["aria-pressed"], TZ = ["disable
77688
77688
  let qe = B(!1), Je = B(!1), Ye = B(!1), Xe = B(1), Ze = B(n.asset.pageCount ?? 1), Qe = l(() => ((n.asset.filename.includes(".") ? n.asset.filename.split(".").pop() : void 0) ?? n.asset.mime.split("/").pop() ?? "file").toUpperCase().slice(0, 5));
77689
77689
  l(() => {
77690
77690
  let e = n.asset.size;
77691
- if (!e) return "—";
77691
+ if (!e) return "–";
77692
77692
  if (e < 1024) return `${e} B`;
77693
77693
  let t = [
77694
77694
  "KB",
@@ -77987,7 +77987,7 @@ var CZ = { class: "viewer-header-tools" }, wZ = ["aria-pressed"], TZ = ["disable
77987
77987
  key: t,
77988
77988
  class: A({ numeric: P(e) })
77989
77989
  }, H(e), 3))), 128))]))), 128))])])]),
77990
- O.value ? (L(), p("div", ZZ, "Showing the first " + H(jQ) + " rows — download the file for the rest.")) : f("", !0)
77990
+ O.value ? (L(), p("div", ZZ, "Showing the first " + H(jQ) + " rows. Download the file for the rest.")) : f("", !0)
77991
77991
  ], 64)) : (L(), p("div", QZ, "Loading…"))])) : u.value === "email" ? (L(), p("div", $Z, [ae.value ? (L(), p("div", eQ, H(ae.value), 1)) : V.value ? (L(), p(a, { key: 1 }, [
77992
77992
  m("dl", tQ, [(L(!0), p(a, null, re(oe.value, (e) => (L(), p(a, { key: e.label }, [e.value ? (L(), p("dt", nQ, H(e.label), 1)) : f("", !0), e.value ? (L(), p("dd", rQ, H(e.value), 1)) : f("", !0)], 64))), 128))]),
77993
77993
  V.value.attachments.length ? (L(), p("div", iQ, [m("span", aQ, H(V.value.attachments.length) + " attachment" + H(V.value.attachments.length === 1 ? "" : "s") + ":", 1), (L(!0), p(a, null, re(V.value.attachments, (e) => (L(), p("span", {
@@ -78007,7 +78007,7 @@ var CZ = { class: "viewer-header-tools" }, wZ = ["aria-pressed"], TZ = ["disable
78007
78007
  key: 0,
78008
78008
  class: "markdown-body",
78009
78009
  innerHTML: de.value
78010
- }, null, 8, uQ))], 64))])) : u.value === "text" ? (L(), p("div", fQ, [C.value ? (L(), p("div", pQ, H(C.value), 1)) : x.value === void 0 ? (L(), p("div", gQ, "Loading…")) : (L(), p(a, { key: 1 }, [m("pre", mQ, H(x.value), 1), S.value ? (L(), p("div", hQ, " Showing the first " + H(Math.round(AQ / 1024)) + " KB — download the file for the rest. ", 1)) : f("", !0)], 64))])) : u.value === "font" ? (L(), p("div", {
78010
+ }, null, 8, uQ))], 64))])) : u.value === "text" ? (L(), p("div", fQ, [C.value ? (L(), p("div", pQ, H(C.value), 1)) : x.value === void 0 ? (L(), p("div", gQ, "Loading…")) : (L(), p(a, { key: 1 }, [m("pre", mQ, H(x.value), 1), S.value ? (L(), p("div", hQ, " Showing the first " + H(Math.round(AQ / 1024)) + " KB. Download the file for the rest. ", 1)) : f("", !0)], 64))])) : u.value === "font" ? (L(), p("div", {
78011
78011
  key: 9,
78012
78012
  class: "font-book",
78013
78013
  style: M({ "--specimen-family": we.value })
@@ -78064,7 +78064,7 @@ var CZ = { class: "viewer-header-tools" }, wZ = ["aria-pressed"], TZ = ["disable
78064
78064
  e.asset.description ? (L(), p("p", DQ, H(e.asset.description), 1)) : f("", !0)
78065
78065
  ], 14, OZ)], 64));
78066
78066
  }
78067
- }), [["__scopeId", "data-v-fcc6d687"]]), NQ;
78067
+ }), [["__scopeId", "data-v-dfe43855"]]), NQ;
78068
78068
  function PQ() {
78069
78069
  let e = B(!1), t = B(!1), n = B(0), r = B(!1), i, a, o = 0;
78070
78070
  function s() {