@bygga.dev/editor 1.8.3 → 1.8.4
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as e, B as t, D as n, E as r, F as i, G as a, H as o, I as s, J as c, M as l, N as u, O as d, P as f, Q as p, R as ee, T as m, U as h, W as g, X as _, Y as v, Z as y, a as b, b as x, ct as S, dt as C, et as w, ft as T, ht as E, it as D, k as O, lt as te, m as k, mt as ne, ot as A, q as re, t as ie, w as j, x as M, y as ae, z as oe } from "./providerKeys-D5U1FqVd.js";
|
|
2
|
-
import { At as N, C as P, Ct as F, D as I, Dt as se, Et as ce, G as le, K as ue, Ot as de, S as fe, Sn as pe, St as L, Tt as R, _t as me, at as he, b as ge, bn as _e, bt as z, c as ve, ct as ye, d as be, dn as xe, dt as B, et as Se, fn as Ce, ft as we, g as Te, gn as Ee, gt as De, hn as Oe, ht as ke, kt as Ae, l as je, ln as Me, lt as Ne, mn as Pe, mt as Fe, n as Ie, ot as Le, pn as Re, pt as ze, r as Be, s as Ve, st as He, t as Ue, tt as We, u as Ge, un as Ke, ut as qe, v as Je, vt as V, wt as H, xt as U, yt as W } from "./urls-
|
|
2
|
+
import { At as N, C as P, Ct as F, D as I, Dt as se, Et as ce, G as le, K as ue, Ot as de, S as fe, Sn as pe, St as L, Tt as R, _t as me, at as he, b as ge, bn as _e, bt as z, c as ve, ct as ye, d as be, dn as xe, dt as B, et as Se, fn as Ce, ft as we, g as Te, gn as Ee, gt as De, hn as Oe, ht as ke, kt as Ae, l as je, ln as Me, lt as Ne, mn as Pe, mt as Fe, n as Ie, ot as Le, pn as Re, pt as ze, r as Be, s as Ve, st as He, t as Ue, tt as We, u as Ge, un as Ke, ut as qe, v as Je, vt as V, wt as H, xt as U, yt as W } from "./urls-CZzpTatM.js";
|
|
3
3
|
//#region ../core/src/render/TextShell.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var Ye = ["align"], Xe = /* @__PURE__ */ l({
|
|
5
5
|
__name: "TextShell",
|
package/bygga-editor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as e, A as t, B as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, L as d, M as f, O as p, P as m, Q as h, R as g, S as _, T as v, U as y, W as b, X as x, Y as S, _ as C, a as w, b as T, c as ee, ct as E, d as te, dt as D, ft as O, gt as ne, ht as k, i as re, j as A, k as j, l as M, mt as N, n as P, o as ie, p as F, pt as ae, q as oe, r as se, s as ce, st as le, t as I, u as ue, v as L, w as R, x as z, z as B } from "./providerKeys-D5U1FqVd.js";
|
|
2
|
-
import { $ as de, $t as V, A as fe, An as pe, B as me, Bt as he, C as H, Cn as U, D as W, Dn as ge, E as _e, En as ve, F as ye, Ft as be, Gt as xe, H as Se, Ht as Ce, I as we, It as Te, J as Ee, Jt as De, Kt as Oe, L as ke, Lt as Ae, M as je, Mt as Me, N as Ne, Nt as Pe, O as Fe, On as Ie, P as Le, Pt as Re, Q as ze, Qt as Be, R as Ve, Rt as He, S as Ue, Sn as We, T as Ge, Tn as Ke, U as qe, Ut as Je, V as G, Vt as Ye, W as Xe, Wt as Ze, X as Qe, Xt as $e, Y as et, Yt as tt, Z as nt, Zt as rt, _ as it, _n as at, a as ot, an as st, b as K, c as ct, cn as lt, d as ut, en as dt, f as ft, fn as pt, g as mt, h as ht, hn as gt, i as _t, in as vt, it as yt, j as bt, jt as xt, k as St, kn as Ct, l as wt, m as Tt, mn as Et, nn as Dt, nt as Ot, o as kt, on as At, p as jt, q as Mt, qt as Nt, r as Pt, rn as Ft, rt as It, s as Lt, sn as Rt, t as zt, tn as Bt, tt as Vt, u as Ht, v as Ut, vn as Wt, w as Gt, wn as Kt, x as qt, xn as Jt, y as Yt, yn as Xt, z as Zt, zt as Qt } from "./urls-
|
|
2
|
+
import { $ as de, $t as V, A as fe, An as pe, B as me, Bt as he, C as H, Cn as U, D as W, Dn as ge, E as _e, En as ve, F as ye, Ft as be, Gt as xe, H as Se, Ht as Ce, I as we, It as Te, J as Ee, Jt as De, Kt as Oe, L as ke, Lt as Ae, M as je, Mt as Me, N as Ne, Nt as Pe, O as Fe, On as Ie, P as Le, Pt as Re, Q as ze, Qt as Be, R as Ve, Rt as He, S as Ue, Sn as We, T as Ge, Tn as Ke, U as qe, Ut as Je, V as G, Vt as Ye, W as Xe, Wt as Ze, X as Qe, Xt as $e, Y as et, Yt as tt, Z as nt, Zt as rt, _ as it, _n as at, a as ot, an as st, b as K, c as ct, cn as lt, d as ut, en as dt, f as ft, fn as pt, g as mt, h as ht, hn as gt, i as _t, in as vt, it as yt, j as bt, jt as xt, k as St, kn as Ct, l as wt, m as Tt, mn as Et, nn as Dt, nt as Ot, o as kt, on as At, p as jt, q as Mt, qt as Nt, r as Pt, rn as Ft, rt as It, s as Lt, sn as Rt, t as zt, tn as Bt, tt as Vt, u as Ht, v as Ut, vn as Wt, w as Gt, wn as Kt, x as qt, xn as Jt, y as Yt, yn as Xt, z as Zt, zt as Qt } from "./urls-CZzpTatM.js";
|
|
3
3
|
//#region ../core/src/anchors.ts
|
|
4
4
|
function $t(e) {
|
|
5
5
|
let t = /* @__PURE__ */ new Set(), n = (e) => {
|
|
@@ -4912,7 +4912,7 @@ var zl = ["innerHTML"], Bl = /*@__PURE__*/ f({
|
|
|
4912
4912
|
}),
|
|
4913
4913
|
emits: /*@__PURE__*/ c(["delete", "duplicate"], ["update:modelValue"]),
|
|
4914
4914
|
setup(e, { emit: n }) {
|
|
4915
|
-
let o = l(e, "modelValue"), c = n, u = A(() => import("./TextEditor-
|
|
4915
|
+
let o = l(e, "modelValue"), c = n, u = A(() => import("./TextEditor-rArVp_I4.js")), d = a(ee, void 0), f = R(() => d?.value ?? null), m = oe(), g = oe(), x = Za(), S = R(() => x?.openId.value === m), C = Ja(), w = a(ie);
|
|
4916
4916
|
function E() {
|
|
4917
4917
|
e.blockId && w && C?.request({
|
|
4918
4918
|
data: o.value,
|
|
@@ -5593,7 +5593,7 @@ var zl = ["innerHTML"], Bl = /*@__PURE__*/ f({
|
|
|
5593
5593
|
font: i.font,
|
|
5594
5594
|
width: i.width
|
|
5595
5595
|
}));
|
|
5596
|
-
y(br, A(() => import("./TextEditor-
|
|
5596
|
+
y(br, A(() => import("./TextEditor-rArVp_I4.js"))), y(mr, A(() => Promise.resolve().then(() => Vl)));
|
|
5597
5597
|
function b(e) {
|
|
5598
5598
|
e.type === "columns" && (r.value = e);
|
|
5599
5599
|
}
|
|
@@ -5635,7 +5635,7 @@ var zl = ["innerHTML"], Bl = /*@__PURE__*/ f({
|
|
|
5635
5635
|
_: 1
|
|
5636
5636
|
}, 8, ["document"])], 2)], 38));
|
|
5637
5637
|
}
|
|
5638
|
-
}), [["styles", [".canvas[data-v-cbb55aca]{background:var(--bygga-color-surface-subtle);box-sizing:border-box;forced-color-adjust:none;border-radius:0;flex:1;min-height:0;padding:24px;overflow:auto}.canvas.is-empty[data-v-cbb55aca]{padding:0}.canvas.is-transparent[data-v-cbb55aca]{background:repeating-conic-gradient(#f2f2f2 0 25%, #fff 0 50%) 50% / 20px 20px}.block-list[data-v-cbb55aca]{margin:0;padding:0}.block-list.is-empty[data-v-cbb55aca],.block-list.is-empty[data-v-cbb55aca] .edit-tree,.block-list.is-empty[data-v-cbb55aca] table,.block-list.is-empty[data-v-cbb55aca] tbody,.block-list.is-empty[data-v-cbb55aca] tr,.block-list.is-empty[data-v-cbb55aca] td,.block-list.is-empty[data-v-cbb55aca] .block-container,.block-list.is-empty[data-v-cbb55aca] .block-margin,.block-list.is-empty[data-v-cbb55aca] .block-margin>div{height:100%}.block-list.is-empty[data-v-cbb55aca] table,.block-list.is-empty[data-v-cbb55aca] td{background-color:#0000!important;background-image:none!important}.block-list.is-empty[data-v-cbb55aca] td{padding:0!important}.block-list.is-empty[data-v-cbb55aca] table{max-width:none!important}.block-list.ml-mobile[data-v-cbb55aca]{max-width:430px;margin:0 auto}"]], ["__scopeId", "data-v-cbb55aca"]]), sd = "1.8.
|
|
5638
|
+
}), [["styles", [".canvas[data-v-cbb55aca]{background:var(--bygga-color-surface-subtle);box-sizing:border-box;forced-color-adjust:none;border-radius:0;flex:1;min-height:0;padding:24px;overflow:auto}.canvas.is-empty[data-v-cbb55aca]{padding:0}.canvas.is-transparent[data-v-cbb55aca]{background:repeating-conic-gradient(#f2f2f2 0 25%, #fff 0 50%) 50% / 20px 20px}.block-list[data-v-cbb55aca]{margin:0;padding:0}.block-list.is-empty[data-v-cbb55aca],.block-list.is-empty[data-v-cbb55aca] .edit-tree,.block-list.is-empty[data-v-cbb55aca] table,.block-list.is-empty[data-v-cbb55aca] tbody,.block-list.is-empty[data-v-cbb55aca] tr,.block-list.is-empty[data-v-cbb55aca] td,.block-list.is-empty[data-v-cbb55aca] .block-container,.block-list.is-empty[data-v-cbb55aca] .block-margin,.block-list.is-empty[data-v-cbb55aca] .block-margin>div{height:100%}.block-list.is-empty[data-v-cbb55aca] table,.block-list.is-empty[data-v-cbb55aca] td{background-color:#0000!important;background-image:none!important}.block-list.is-empty[data-v-cbb55aca] td{padding:0!important}.block-list.is-empty[data-v-cbb55aca] table{max-width:none!important}.block-list.ml-mobile[data-v-cbb55aca]{max-width:430px;margin:0 auto}"]], ["__scopeId", "data-v-cbb55aca"]]), sd = "1.8.4", cd = { class: "document-settings-panel" }, ld = {
|
|
5639
5639
|
key: 0,
|
|
5640
5640
|
class: "field"
|
|
5641
5641
|
}, ud = { class: "field-label" }, dd = { class: "field" }, fd = ["id"], pd = { class: "field" }, md = ["value"], hd = { class: "version" }, gd = /*#__PURE__*/ W(/* @__PURE__ */ f({
|
|
@@ -5812,7 +5812,7 @@ var zl = ["innerHTML"], Bl = /*@__PURE__*/ f({
|
|
|
5812
5812
|
emits: ["add"],
|
|
5813
5813
|
setup(e, { emit: n }) {
|
|
5814
5814
|
let r = n, { t: o } = K(), c = a(mt), l = a(Yt, R(() => [])), u = a(ie), d = a(ce), f = R(() => l.value.filter((e) => e.content.kind === (u?.value ?? "email"))), m = Hs(), h = Ue();
|
|
5815
|
-
y(br, A(() => import("./TextEditor-
|
|
5815
|
+
y(br, A(() => import("./TextEditor-rArVp_I4.js"))), y(mr, A(() => Promise.resolve().then(() => Vl)));
|
|
5816
5816
|
let g = R(() => !!d?.value.preview), _ = R(() => typeof c?.value?.deleteSavedBlock == "function"), x = E(/* @__PURE__ */ new Set());
|
|
5817
5817
|
function S(e, t) {
|
|
5818
5818
|
m?.start({
|