vdc-editor 0.1.285 → 0.1.286

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.
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "./index-BEPLzVf6.mjs";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=BulkSpellChecker-DWb9Bf6o.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkSpellChecker-DWb9Bf6o.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -32466,7 +32466,7 @@ const CY = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
32466
32466
  toolbarExtensionOrder: {}
32467
32467
  },
32468
32468
  setup(t) {
32469
- const e = DR(() => import("./BulkSpellChecker-D1u_4oGj.mjs")), { t: n } = Jt(), o = t, r = zt("isEditable", z(!0)), i = [
32469
+ const e = DR(() => import("./BulkSpellChecker-DWb9Bf6o.mjs")), { t: n } = Jt(), o = t, r = zt("isEditable", z(!0)), i = [
32470
32470
  mh,
32471
32471
  hd,
32472
32472
  vh,
@@ -48469,7 +48469,7 @@ const k5 = io(), wo = {
48469
48469
  __name: "SimpleEditor",
48470
48470
  props: {
48471
48471
  modelValue: { default: "" },
48472
- parentEditor: {},
48472
+ parentEditor: { default: null },
48473
48473
  isReadOnly: { type: Boolean },
48474
48474
  autofocus: { type: [String, Number, Boolean, null], default: "start" },
48475
48475
  spellcheckEnabled: { type: Boolean, default: !0 }
@@ -48594,9 +48594,6 @@ const k5 = io(), wo = {
48594
48594
  return e({ insertSpecialCharater: h, isChecked: l, toggleSpellCheck: m, wrapText: C, editor: f }), (F, I) => (A(), ie("div", {
48595
48595
  ref_key: "contentInner",
48596
48596
  ref: b,
48597
- style: vt([g(x), g(k)]),
48598
- onScroll: I[0] || (I[0] = //@ts-ignore
48599
- (...L) => g(M) && g(M)(...L)),
48600
48597
  class: Fe(
48601
48598
  g(Be)(
48602
48599
  "h-40 overflow-y-auto border focus-within:border-ed-input-focus rounded-[3px] p-2.5 relative",
@@ -48604,7 +48601,10 @@ const k5 = io(), wo = {
48604
48601
  g(i) && "h-auto min-h-20 max-h-44 border-ed-gray rounded-md px-4 py-2.5",
48605
48602
  g(i) && !g(T) && "scrollbar-thumb-transparent"
48606
48603
  )
48607
- )
48604
+ ),
48605
+ style: vt([g(x), g(k)]),
48606
+ onScroll: I[0] || (I[0] = //@ts-ignore
48607
+ (...L) => g(M) && g(M)(...L))
48608
48608
  }, [
48609
48609
  R(g(Ro), {
48610
48610
  id: "editor-panel",
@@ -48646,7 +48646,8 @@ const k5 = io(), wo = {
48646
48646
  B.getBoundingClientRect();
48647
48647
  const ee = window.innerWidth, oe = window.innerHeight;
48648
48648
  u.value && u.value.x !== void 0 && u.value.y !== void 0 ? (d.x = u.value.x, d.y = u.value.y) : (d.x = Math.max((ee - B.offsetWidth) / 2, 0), d.y = Math.max((oe - B.offsetHeight) / 2, 0));
48649
- }
48649
+ },
48650
+ { immediate: !0 }
48650
48651
  );
48651
48652
  const E = () => {
48652
48653
  n("close"), i.value = "", s.value = "", l.value = !1;
@@ -48781,9 +48782,9 @@ const k5 = io(), wo = {
48781
48782
  g(V) ? (A(), H($e, {
48782
48783
  key: 0,
48783
48784
  editor: g(V),
48784
- isEnableSpellCheckRealTime: (fe = g(V)) == null ? void 0 : fe.extensionStorage.spellchecker.spellchecker.proofreader.enabled,
48785
+ "is-enable-spell-check-real-time": (fe = g(V)) == null ? void 0 : fe.extensionStorage.spellchecker.spellchecker.proofreader.enabled,
48785
48786
  align: "left"
48786
- }, null, 8, ["editor", "isEnableSpellCheckRealTime"])) : ye("", !0)
48787
+ }, null, 8, ["editor", "is-enable-spell-check-real-time"])) : ye("", !0)
48787
48788
  ])
48788
48789
  ], 2),
48789
48790
  l.value ? (A(), H(Tn((ge = g(T)) == null ? void 0 : ge.component), Ne({
@@ -50050,7 +50051,8 @@ const Xy = an.create({
50050
50051
  () => o.open,
50051
50052
  () => {
50052
50053
  o.open && o.superTextInit && (i.value = o.superTextInit);
50053
- }
50054
+ },
50055
+ { immediate: !0 }
50054
50056
  );
50055
50057
  const d = () => {
50056
50058
  n("close"), s.value = !1, a.value = !0, l.value = !1;
@@ -50064,7 +50066,7 @@ const Xy = an.create({
50064
50066
  return A(), H(k, { open: m.open }, {
50065
50067
  default: O(() => [
50066
50068
  R(C, {
50067
- isOverlayTransparent: "",
50069
+ "is-overlay-transparent": "",
50068
50070
  class: "p-2.5 gap-0 gap-y-2.5 border-none w-[calc(100%-40px)] !shadow-ed rounded-[5px]"
50069
50071
  }, {
50070
50072
  default: O(() => [
@@ -50098,12 +50100,12 @@ const Xy = an.create({
50098
50100
  }),
50099
50101
  R(_, { class: "hidden" }),
50100
50102
  R(qy, {
50101
- isReadOnly: a.value,
50102
50103
  modelValue: i.value,
50103
50104
  "onUpdate:modelValue": b[0] || (b[0] = (T) => i.value = T),
50105
+ "is-read-only": a.value,
50104
50106
  "parent-editor": m.editor,
50105
50107
  "spellcheck-enabled": !1
50106
- }, null, 8, ["isReadOnly", "modelValue", "parent-editor"]),
50108
+ }, null, 8, ["modelValue", "is-read-only", "parent-editor"]),
50107
50109
  R(E, { class: "flex-row justify-between" }, {
50108
50110
  default: O(() => [
50109
50111
  Wn(q("button", {
@@ -50114,11 +50116,11 @@ const Xy = an.create({
50114
50116
  Wn(q("div", rae, [
50115
50117
  q("button", { onClick: d }, Ie(g(r)("editor.menubar.menu.cancel")), 1),
50116
50118
  q("button", {
50117
- onClick: f,
50118
50119
  disabled: g(u),
50119
50120
  class: Fe({
50120
50121
  "cursor-not-allowed": g(u)
50121
- })
50122
+ }),
50123
+ onClick: f
50122
50124
  }, Ie(g(r)("editor.menubar.menu.save")), 11, iae)
50123
50125
  ], 512), [
50124
50126
  [po, l.value || !a.value]
@@ -50134,7 +50136,7 @@ const Xy = an.create({
50134
50136
  }, 8, ["open"]);
50135
50137
  };
50136
50138
  }
50137
- }), kk = /* @__PURE__ */ ui(sae, [["__scopeId", "data-v-2f4982a0"]]), aae = ["innerHTML"], lae = ["book-mark-node-id", "page-id", "page-number", "book-mark-content", "node-id", "line-id"], uae = /* @__PURE__ */ Y({
50139
+ }), kk = /* @__PURE__ */ ui(sae, [["__scopeId", "data-v-c6e8813c"]]), aae = ["innerHTML"], lae = ["book-mark-node-id", "page-id", "page-number", "book-mark-content", "node-id", "line-id"], uae = /* @__PURE__ */ Y({
50138
50140
  __name: "ConfigPlan",
50139
50141
  props: fl,
50140
50142
  setup(t) {
@@ -61743,4 +61745,4 @@ export {
61743
61745
  vfe as n,
61744
61746
  qfe as u
61745
61747
  };
61746
- //# sourceMappingURL=index-CGX9sZCx.mjs.map
61748
+ //# sourceMappingURL=index-BEPLzVf6.mjs.map