@itshixun/qckeditor-vue3 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.
package/dist/index.css CHANGED
@@ -7,4 +7,4 @@
7
7
  Maintainer: @ericwbailey
8
8
 
9
9
  Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css
10
- */.hljs{background:#2b2b2b;color:#f8f8f2}.hljs-comment,.hljs-quote{color:#d4d0ab}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ffa07a}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#f5ab35}.hljs-attribute{color:gold}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#abe338}.hljs-section,.hljs-title{color:#00e0e0}.hljs-keyword,.hljs-selector-tag{color:#dcc6e0}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}@media screen and (-ms-high-contrast:active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-quote,.hljs-string,.hljs-symbol,.hljs-type{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:700}}.q-image-viewer-overlay[data-v-4e13c979]{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000d9;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.q-image-viewer-header[data-v-4e13c979]{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;color:#fff}.q-image-viewer-counter[data-v-4e13c979]{font-size:14px;opacity:.85}.q-image-viewer-toolbar[data-v-4e13c979]{display:flex;gap:8px}.q-image-viewer-btn[data-v-4e13c979]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:4px;background:#ffffff1f;color:#fff;cursor:pointer}.q-image-viewer-btn[data-v-4e13c979]:hover{background:#ffffff3d}.q-image-viewer-arrow[data-v-4e13c979]{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;border-radius:50%;background:#ffffff1f;color:#fff;cursor:pointer;z-index:1}.q-image-viewer-arrow[data-v-4e13c979]:hover{background:#ffffff3d}.q-image-viewer-arrow-prev[data-v-4e13c979]{left:16px}.q-image-viewer-arrow-next[data-v-4e13c979]{right:16px}.q-image-viewer-stage[data-v-4e13c979]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}.q-image-viewer-img[data-v-4e13c979]{max-width:90vw;max-height:80vh;transition:transform .15s ease-out}.q-image-viewer-img.is-draggable[data-v-4e13c979]{cursor:grab}.q-image-viewer-navbar[data-v-4e13c979]{position:absolute;bottom:0;left:0;right:0;display:flex;gap:8px;justify-content:center;padding:10px 16px;overflow-x:auto}.q-image-viewer-thumb[data-v-4e13c979]{width:48px;height:48px;object-fit:cover;border-radius:4px;opacity:.5;cursor:pointer;border:2px solid transparent}.q-image-viewer-thumb.is-active[data-v-4e13c979]{opacity:1;border-color:#fff}.qck-content[data-v-3ac4da95]{overflow:auto;padding:0 var(--ck-spacing-standard)}.qck-content[data-v-3ac4da95] pre:has(code.hljs){padding:0;border:none}.qck-content[data-v-3ac4da95] pre:has(code.hljs) code.hljs{border-radius:4px;background-color:#2b2b2b}.qck-content-image-preview[data-v-3ac4da95] img{cursor:zoom-in}.q-editor-pro-container[data-v-157e0753]{position:relative;width:100%;--ck-border-radius: var(--v41d6dca3);--ck-min-height: var(--v028e8c92)}.q-content-wrapper[data-v-157e0753]{line-height:1.75em;cursor:text;background-color:var(--v2b001cb2);border:1px solid rgba(0,0,0,.05);border-radius:var(--ck-border-radius);transition:background-color .3s ease-in-out}.q-content-wrapper[data-v-157e0753]:hover{background-color:var(--v7390e798);border:1px dashed rgba(0,0,0,.2)}.q-editor-pro-container.has-min-height[data-v-157e0753] .ck-editor{display:flex;flex-direction:column;min-height:var(--ck-min-height)}.q-editor-pro-container.has-min-height[data-v-157e0753] .ck-editor__main{display:flex;flex:1;flex-direction:column}.q-editor-pro-container.has-min-height[data-v-157e0753] .ck-editor__editable{flex:1}
10
+ */.hljs{background:#2b2b2b;color:#f8f8f2}.hljs-comment,.hljs-quote{color:#d4d0ab}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ffa07a}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#f5ab35}.hljs-attribute{color:gold}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#abe338}.hljs-section,.hljs-title{color:#00e0e0}.hljs-keyword,.hljs-selector-tag{color:#dcc6e0}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}@media screen and (-ms-high-contrast:active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-quote,.hljs-string,.hljs-symbol,.hljs-type{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:700}}.q-image-viewer-overlay[data-v-4e13c979]{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000d9;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.q-image-viewer-header[data-v-4e13c979]{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;color:#fff}.q-image-viewer-counter[data-v-4e13c979]{font-size:14px;opacity:.85}.q-image-viewer-toolbar[data-v-4e13c979]{display:flex;gap:8px}.q-image-viewer-btn[data-v-4e13c979]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:4px;background:#ffffff1f;color:#fff;cursor:pointer}.q-image-viewer-btn[data-v-4e13c979]:hover{background:#ffffff3d}.q-image-viewer-arrow[data-v-4e13c979]{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;border-radius:50%;background:#ffffff1f;color:#fff;cursor:pointer;z-index:1}.q-image-viewer-arrow[data-v-4e13c979]:hover{background:#ffffff3d}.q-image-viewer-arrow-prev[data-v-4e13c979]{left:16px}.q-image-viewer-arrow-next[data-v-4e13c979]{right:16px}.q-image-viewer-stage[data-v-4e13c979]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}.q-image-viewer-img[data-v-4e13c979]{max-width:90vw;max-height:80vh;transition:transform .15s ease-out}.q-image-viewer-img.is-draggable[data-v-4e13c979]{cursor:grab}.q-image-viewer-navbar[data-v-4e13c979]{position:absolute;bottom:0;left:0;right:0;display:flex;gap:8px;justify-content:center;padding:10px 16px;overflow-x:auto}.q-image-viewer-thumb[data-v-4e13c979]{width:48px;height:48px;object-fit:cover;border-radius:4px;opacity:.5;cursor:pointer;border:2px solid transparent}.q-image-viewer-thumb.is-active[data-v-4e13c979]{opacity:1;border-color:#fff}.qck-content[data-v-3ac4da95]{overflow:auto;padding:0 var(--ck-spacing-standard)}.qck-content[data-v-3ac4da95] pre:has(code.hljs){padding:0;border:none}.qck-content[data-v-3ac4da95] pre:has(code.hljs) code.hljs{border-radius:4px;background-color:#2b2b2b}.qck-content-image-preview[data-v-3ac4da95] img{cursor:zoom-in}.q-editor-pro-container[data-v-6498d3e0]{position:relative;width:100%;--ck-border-radius: var(--v8f1bd43a);--ck-min-height: var(--v7e68b5d2)}.q-content-wrapper[data-v-6498d3e0]{line-height:1.75em;cursor:text;background-color:var(--v50161b72);border:1px solid rgba(0,0,0,.05);border-radius:var(--ck-border-radius);transition:background-color .3s ease-in-out}.q-content-wrapper[data-v-6498d3e0]:hover{background-color:var(--v2ba7be50);border:1px dashed rgba(0,0,0,.2)}.q-editor-pro-container.has-min-height[data-v-6498d3e0] .ck-editor{display:flex;flex-direction:column;min-height:var(--ck-min-height)}.q-editor-pro-container.has-min-height[data-v-6498d3e0] .ck-editor__main{display:flex;flex:1;flex-direction:column}.q-editor-pro-container.has-min-height[data-v-6498d3e0] .ck-editor__editable{flex:1}
package/dist/index.d.ts CHANGED
@@ -100,6 +100,7 @@ declare const _default: {
100
100
  tagName?: string;
101
101
  disabled?: boolean;
102
102
  disableTwoWayDataBinding?: boolean;
103
+ dataNormalizer?: (data: string) => string;
103
104
  disableExit?: boolean;
104
105
  content?: string;
105
106
  containerClass?: string;
@@ -127,6 +128,7 @@ declare const _default: {
127
128
  tagName?: string;
128
129
  disabled?: boolean;
129
130
  disableTwoWayDataBinding?: boolean;
131
+ dataNormalizer?: (data: string) => string;
130
132
  disableExit?: boolean;
131
133
  content?: string;
132
134
  containerClass?: string;
@@ -152,6 +154,7 @@ declare const _default: {
152
154
  tagName: string;
153
155
  disabled: boolean;
154
156
  disableTwoWayDataBinding: boolean;
157
+ dataNormalizer: (data: string) => string;
155
158
  placeholder: string;
156
159
  height: number;
157
160
  content: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,CAAC;AAGhC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAGhF,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGpF,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACtH,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;;;eAgBwvN,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAA69U,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAP/xiB,wBAME"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,CAAC;AAGhC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAGhF,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGpF,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACtH,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;;;eAgBg7N,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAAqpV,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAP/ojB,wBAME"}
package/dist/index.js CHANGED
@@ -87,7 +87,7 @@ const Ya = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", bp = 300, rm =
87
87
  lastEditorData: d
88
88
  }), Bs(a, (S) => {
89
89
  const b = n.dataNormalizer;
90
- S !== void 0 && c.value && b(S) !== b(d.value) && c.value.data.set(S);
90
+ S !== void 0 && c.value && S !== d.value && c.value.data.set(b(S));
91
91
  }), Bs(
92
92
  () => n.disabled,
93
93
  (S) => {
@@ -135,13 +135,14 @@ const Ya = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", bp = 300, rm =
135
135
  }
136
136
  }, n.config)
137
137
  );
138
- a.value && (b.initialData = a.value), n.editor.create(
138
+ const T = n.dataNormalizer;
139
+ a.value && (b.initialData = T(a.value)), n.editor.create(
139
140
  s.value,
140
141
  b
141
- ).then((T) => {
142
- c.value = ju(T), E(T), a.value !== b.initialData && T.data.set(a.value), n.disabled && T.enableReadOnlyMode(Ya), u.value = pp(s.value), o("ready", T);
143
- }).catch((T) => {
144
- console.error(T);
142
+ ).then((v) => {
143
+ c.value = ju(v), E(v), T(a.value) !== b.initialData && v.data.set(T(a.value)), n.disabled && v.enableReadOnlyMode(Ya), u.value = pp(s.value), o("ready", v);
144
+ }).catch((v) => {
145
+ console.error(v);
145
146
  });
146
147
  }), tl(() => {
147
148
  u.value && (u.value.destroy(), u.value = void 0), c.value && (c.value.destroy(), c.value = void 0), o("destroy");
@@ -5410,7 +5411,7 @@ var bm = function(e) {
5410
5411
  }
5411
5412
  return o.height = s, o.style.height = q(s), o;
5412
5413
  };
5413
- function _e(r, e) {
5414
+ function de(r, e) {
5414
5415
  if (!r || r.type !== e)
5415
5416
  throw new Error("Expected node of type " + e + ", but got " + (r ? "node of type " + r.type : String(r)));
5416
5417
  return r;
@@ -5431,7 +5432,7 @@ var Tm = (r) => {
5431
5432
  return Tm(r.children[0]);
5432
5433
  }, _l = (r, e) => {
5433
5434
  var t, a, n;
5434
- r && r.type === "supsub" ? (a = _e(r.base, "accent"), t = a.base, r.base = t, n = $p(fe(r, e)), r.base = a) : (a = _e(r, "accent"), t = a.base);
5435
+ r && r.type === "supsub" ? (a = de(r.base, "accent"), t = a.base, r.base = t, n = $p(fe(r, e)), r.base = a) : (a = de(r, "accent"), t = a.base);
5435
5436
  var i = fe(t, e.havingCrampedStyle()), o = a.isShifty && Ht(t), s = 0;
5436
5437
  if (o) {
5437
5438
  var c, d;
@@ -5991,8 +5992,8 @@ W({
5991
5992
  handler(r, e) {
5992
5993
  for (var {
5993
5994
  parser: t
5994
- } = r, a = _e(e[0], "ordgroup"), n = a.body, i = "", o = 0; o < n.length; o++) {
5995
- var s = _e(n[o], "textord");
5995
+ } = r, a = de(e[0], "ordgroup"), n = a.body, i = "", o = 0; o < n.length; o++) {
5996
+ var s = de(n[o], "textord");
5996
5997
  i += s.text;
5997
5998
  }
5998
5999
  var c = parseInt(i), d;
@@ -6025,7 +6026,7 @@ W({
6025
6026
  handler(r, e) {
6026
6027
  var {
6027
6028
  parser: t
6028
- } = r, a = _e(e[0], "color-token").color, n = e[1];
6029
+ } = r, a = de(e[0], "color-token").color, n = e[1];
6029
6030
  return {
6030
6031
  type: "color",
6031
6032
  mode: t.mode,
@@ -6048,7 +6049,7 @@ W({
6048
6049
  var {
6049
6050
  parser: t,
6050
6051
  breakOnTokenText: a
6051
- } = r, n = _e(e[0], "color-token").color;
6052
+ } = r, n = de(e[0], "color-token").color;
6052
6053
  t.gullet.macros.set("\\current@color", n);
6053
6054
  var i = t.parseExpression(!0, a);
6054
6055
  return {
@@ -6077,7 +6078,7 @@ W({
6077
6078
  type: "cr",
6078
6079
  mode: a.mode,
6079
6080
  newLine: i,
6080
- size: n && _e(n, "size").value
6081
+ size: n && de(n, "size").value
6081
6082
  };
6082
6083
  },
6083
6084
  // The following builders are called only at the top level,
@@ -6138,7 +6139,7 @@ W({
6138
6139
  e.consumeSpaces();
6139
6140
  var a = e.fetch();
6140
6141
  if (Xs[a.text])
6141
- return (t === "\\global" || t === "\\\\globallong") && (a.text = Xs[a.text]), _e(e.parseFunction(), "internal");
6142
+ return (t === "\\global" || t === "\\\\globallong") && (a.text = Xs[a.text]), de(e.parseFunction(), "internal");
6142
6143
  throw new U("Invalid token after macro prefix", a);
6143
6144
  }
6144
6145
  });
@@ -6291,12 +6292,12 @@ var Br = function(e, t, a) {
6291
6292
  a && (j *= n.sizeMultiplier);
6292
6293
  var z = G / 2 - j, ee = [];
6293
6294
  if (p.length > 0) {
6294
- var J = G - T - y, k = Math.round(G * 1e3), Y = qp(p, Math.round(J * 1e3)), Q = new er(p, Y), ae = q(E / 1e3), de = q(k / 1e3), Oe = new zt([Q], {
6295
+ var J = G - T - y, k = Math.round(G * 1e3), Y = qp(p, Math.round(J * 1e3)), Q = new er(p, Y), ae = q(E / 1e3), _e = q(k / 1e3), Oe = new zt([Q], {
6295
6296
  width: ae,
6296
- height: de,
6297
+ height: _e,
6297
6298
  viewBox: "0 0 " + E + " " + k
6298
6299
  }), Pe = tr([], [Oe], n);
6299
- Pe.height = k / 1e3, Pe.style.width = ae, Pe.style.height = de, ee.push({
6300
+ Pe.height = k / 1e3, Pe.style.width = ae, Pe.style.height = _e, ee.push({
6300
6301
  type: "elem",
6301
6302
  elem: Pe
6302
6303
  });
@@ -6576,7 +6577,7 @@ W({
6576
6577
  ++a.leftrightDepth;
6577
6578
  var n = a.parseExpression(!1);
6578
6579
  --a.leftrightDepth, a.expect("\\right", !1);
6579
- var i = _e(a.parseFunction(), "leftright-right");
6580
+ var i = de(a.parseFunction(), "leftright-right");
6580
6581
  return {
6581
6582
  type: "leftright",
6582
6583
  mode: a.mode,
@@ -6776,7 +6777,7 @@ W({
6776
6777
  var {
6777
6778
  parser: a,
6778
6779
  funcName: n
6779
- } = r, i = _e(e[0], "color-token").color, o = e[1];
6780
+ } = r, i = de(e[0], "color-token").color, o = e[1];
6780
6781
  return {
6781
6782
  type: "enclose",
6782
6783
  mode: a.mode,
@@ -6800,7 +6801,7 @@ W({
6800
6801
  var {
6801
6802
  parser: a,
6802
6803
  funcName: n
6803
- } = r, i = _e(e[0], "color-token").color, o = _e(e[1], "color-token").color, s = e[2];
6804
+ } = r, i = de(e[0], "color-token").color, o = de(e[1], "color-token").color, s = e[2];
6804
6805
  return {
6805
6806
  type: "enclose",
6806
6807
  mode: a.mode,
@@ -7085,8 +7086,8 @@ var Dt = function(e, t) {
7085
7086
  var ee = y / 2 + t.fontMetrics().axisHeight, J = e.cols || [], k = [], Y, Q, ae = [];
7086
7087
  if (e.tags && e.tags.some((Ct) => Ct))
7087
7088
  for (a = 0; a < i; ++a) {
7088
- var de = c[a], Oe = de.pos - ee, Pe = e.tags[a], Ie = void 0;
7089
- Pe === !0 ? Ie = P(["eqn-num"], [], t) : Pe === !1 ? Ie = P([], [], t) : Ie = P([], Ze(Pe, t, !0), t), Ie.depth = de.depth, Ie.height = de.height, ae.push({
7089
+ var _e = c[a], Oe = _e.pos - ee, Pe = e.tags[a], Ie = void 0;
7090
+ Pe === !0 ? Ie = P(["eqn-num"], [], t) : Pe === !1 ? Ie = P([], [], t) : Ie = P([], Ze(Pe, t, !0), t), Ie.depth = _e.depth, Ie.height = _e.height, ae.push({
7090
7091
  type: "elem",
7091
7092
  elem: Ie,
7092
7093
  shift: Oe
@@ -7217,7 +7218,7 @@ var Dt = function(e, t) {
7217
7218
  };
7218
7219
  if (t[0] && t[0].type === "ordgroup") {
7219
7220
  for (var u = "", p = 0; p < t[0].body.length; p++) {
7220
- var E = _e(t[0].body[p], "textord");
7221
+ var E = de(t[0].body[p], "textord");
7221
7222
  u += E.text;
7222
7223
  }
7223
7224
  s = Number(u), c = s * 2;
@@ -7225,7 +7226,7 @@ var Dt = function(e, t) {
7225
7226
  var S = !c;
7226
7227
  o.body.forEach(function(N) {
7227
7228
  for (var O = 1; O < N.length; O += 2) {
7228
- var y = _e(N[O], "styling"), I = _e(y.body[0], "ordgroup");
7229
+ var y = de(N[O], "styling"), I = de(y.body[0], "ordgroup");
7229
7230
  I.body.unshift(d);
7230
7231
  }
7231
7232
  if (S)
@@ -7254,7 +7255,7 @@ It({
7254
7255
  numArgs: 1
7255
7256
  },
7256
7257
  handler(r, e) {
7257
- var t = ya(e[0]), a = t ? [e[0]] : _e(e[0], "ordgroup").body, n = a.map(function(o) {
7258
+ var t = ya(e[0]), a = t ? [e[0]] : de(e[0], "ordgroup").body, n = a.map(function(o) {
7258
7259
  var s = Oa(o), c = s.text;
7259
7260
  if ("lcr".includes(c))
7260
7261
  return {
@@ -7354,7 +7355,7 @@ It({
7354
7355
  numArgs: 1
7355
7356
  },
7356
7357
  handler(r, e) {
7357
- var t = ya(e[0]), a = t ? [e[0]] : _e(e[0], "ordgroup").body, n = a.map(function(s) {
7358
+ var t = ya(e[0]), a = t ? [e[0]] : de(e[0], "ordgroup").body, n = a.map(function(s) {
7358
7359
  var c = Oa(s), d = c.text;
7359
7360
  if ("lc".includes(d))
7360
7361
  return {
@@ -7522,7 +7523,7 @@ W({
7522
7523
  if (n.type !== "ordgroup")
7523
7524
  throw new U("Invalid environment name", n);
7524
7525
  for (var i = "", o = 0; o < n.body.length; ++o)
7525
- i += _e(n.body[o], "textord").text;
7526
+ i += de(n.body[o], "textord").text;
7526
7527
  if (a === "\\begin") {
7527
7528
  if (!rc.hasOwnProperty(i))
7528
7529
  throw new U("No such environment: " + i, n);
@@ -7535,7 +7536,7 @@ W({
7535
7536
  parser: t
7536
7537
  }, p = s.handler(u, c, d);
7537
7538
  t.expect("\\end", !1);
7538
- var E = t.nextToken, S = _e(t.parseFunction(), "environment");
7539
+ var E = t.nextToken, S = de(t.parseFunction(), "environment");
7539
7540
  if (S.name !== i)
7540
7541
  throw new U("Mismatch: \\begin{" + i + "} matched by \\end{" + S.name + "}", E);
7541
7542
  return p;
@@ -7859,16 +7860,16 @@ W({
7859
7860
  handler(r, e) {
7860
7861
  var {
7861
7862
  parser: t
7862
- } = r, a = e[4], n = e[5], i = fa(e[0]), o = i.type === "atom" && i.family === "open" ? ic(i.text) : null, s = fa(e[1]), c = s.type === "atom" && s.family === "close" ? ic(s.text) : null, d = _e(e[2], "size"), u, p = null;
7863
+ } = r, a = e[4], n = e[5], i = fa(e[0]), o = i.type === "atom" && i.family === "open" ? ic(i.text) : null, s = fa(e[1]), c = s.type === "atom" && s.family === "close" ? ic(s.text) : null, d = de(e[2], "size"), u, p = null;
7863
7864
  d.isBlank ? u = !0 : (p = d.value, u = p.number > 0);
7864
7865
  var E = null, S = e[3];
7865
7866
  if (S.type === "ordgroup") {
7866
7867
  if (S.body.length > 0) {
7867
- var b = _e(S.body[0], "textord");
7868
+ var b = de(S.body[0], "textord");
7868
7869
  E = nc[Number(b.text)];
7869
7870
  }
7870
7871
  } else
7871
- S = _e(S, "textord"), E = nc[Number(S.text)];
7872
+ S = de(S, "textord"), E = nc[Number(S.text)];
7872
7873
  return Ym({
7873
7874
  type: "genfrac",
7874
7875
  mode: t.mode,
@@ -7900,7 +7901,7 @@ W({
7900
7901
  type: "infix",
7901
7902
  mode: t.mode,
7902
7903
  replaceWith: "\\\\abovefrac",
7903
- size: _e(e[0], "size").value,
7904
+ size: de(e[0], "size").value,
7904
7905
  token: n
7905
7906
  };
7906
7907
  }
@@ -7916,7 +7917,7 @@ W({
7916
7917
  var {
7917
7918
  parser: t,
7918
7919
  funcName: a
7919
- } = r, n = e[0], i = _e(e[1], "infix").size;
7920
+ } = r, n = e[0], i = de(e[1], "infix").size;
7920
7921
  if (!i)
7921
7922
  throw new Error("\\\\abovefrac expected size, but got " + String(i));
7922
7923
  var o = e[2], s = i.number > 0;
@@ -7935,7 +7936,7 @@ W({
7935
7936
  });
7936
7937
  var qm = (r, e) => {
7937
7938
  var t = e.style, a, n;
7938
- r.type === "supsub" ? (a = r.sup ? fe(r.sup, e.havingStyle(t.sup()), e) : fe(r.sub, e.havingStyle(t.sub()), e), n = _e(r.base, "horizBrace")) : n = _e(r, "horizBrace");
7939
+ r.type === "supsub" ? (a = r.sup ? fe(r.sup, e.havingStyle(t.sup()), e) : fe(r.sub, e.havingStyle(t.sub()), e), n = de(r.base, "horizBrace")) : n = de(r, "horizBrace");
7939
7940
  var i = fe(n.base, e.havingBaseStyle(le.DISPLAY)), o = Na(n, e), s;
7940
7941
  if (n.isOver ? (s = be({
7941
7942
  positionType: "firstBaseline",
@@ -8029,7 +8030,7 @@ W({
8029
8030
  handler: (r, e) => {
8030
8031
  var {
8031
8032
  parser: t
8032
- } = r, a = e[1], n = _e(e[0], "url").url;
8033
+ } = r, a = e[1], n = de(e[0], "url").url;
8033
8034
  return t.settings.isTrusted({
8034
8035
  command: "\\href",
8035
8036
  url: n
@@ -8060,7 +8061,7 @@ W({
8060
8061
  handler: (r, e) => {
8061
8062
  var {
8062
8063
  parser: t
8063
- } = r, a = _e(e[0], "url").url;
8064
+ } = r, a = de(e[0], "url").url;
8064
8065
  if (!t.settings.isTrusted({
8065
8066
  command: "\\url",
8066
8067
  url: a
@@ -8128,7 +8129,7 @@ W({
8128
8129
  parser: t,
8129
8130
  funcName: a,
8130
8131
  token: n
8131
- } = r, i = _e(e[0], "raw").string, o = e[1];
8132
+ } = r, i = de(e[0], "raw").string, o = e[1];
8132
8133
  t.settings.strict && t.settings.reportNonstrict("htmlExtension", "HTML extension is disabled on strict mode");
8133
8134
  var s, c = {};
8134
8135
  switch (a) {
@@ -8250,7 +8251,7 @@ W({
8250
8251
  unit: "em"
8251
8252
  }, s = "";
8252
8253
  if (t[0])
8253
- for (var c = _e(t[0], "raw").string, d = c.split(","), u = 0; u < d.length; u++) {
8254
+ for (var c = de(t[0], "raw").string, d = c.split(","), u = 0; u < d.length; u++) {
8254
8255
  var p = d[u].split("=");
8255
8256
  if (p.length === 2) {
8256
8257
  var E = p[1].trim();
@@ -8272,7 +8273,7 @@ W({
8272
8273
  }
8273
8274
  }
8274
8275
  }
8275
- var S = _e(e[0], "url").url;
8276
+ var S = de(e[0], "url").url;
8276
8277
  return s === "" && (s = S, s = s.replace(/^.*[\\/]/, ""), s = s.substring(0, s.lastIndexOf("."))), a.settings.isTrusted({
8277
8278
  command: "\\includegraphics",
8278
8279
  url: S
@@ -8322,7 +8323,7 @@ W({
8322
8323
  var {
8323
8324
  parser: t,
8324
8325
  funcName: a
8325
- } = r, n = _e(e[0], "size");
8326
+ } = r, n = de(e[0], "size");
8326
8327
  if (t.settings.strict) {
8327
8328
  var i = a[1] === "m", o = n.value.unit === "mu";
8328
8329
  i ? (o || t.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + a + " supports only mu units, " + ("not " + n.value.unit + " units")), t.mode !== "math" && t.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + a + " works only in math mode")) : o && t.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + a + " doesn't support mu units");
@@ -8552,7 +8553,7 @@ var zm = (r, e, t, a, n, i, o) => {
8552
8553
  return P(["mop", "op-limits"], v, a);
8553
8554
  }, Hm = /* @__PURE__ */ new Set(["\\smallint"]), yr = (r, e) => {
8554
8555
  var t, a, n = !1, i;
8555
- r.type === "supsub" ? (t = r.sup, a = r.sub, i = _e(r.base, "op"), n = !0) : i = _e(r, "op");
8556
+ r.type === "supsub" ? (t = r.sup, a = r.sub, i = de(r.base, "op"), n = !0) : i = de(r, "op");
8556
8557
  var o = e.style, s = !1;
8557
8558
  o.size === le.DISPLAY.size && i.symbol && !Hm.has(i.name) && (s = !0);
8558
8559
  var c;
@@ -8735,7 +8736,7 @@ W({
8735
8736
  });
8736
8737
  var Vm = (r, e) => {
8737
8738
  var t, a, n = !1, i;
8738
- r.type === "supsub" ? (t = r.sup, a = r.sub, i = _e(r.base, "operatorname"), n = !0) : i = _e(r, "operatorname");
8739
+ r.type === "supsub" ? (t = r.sup, a = r.sub, i = de(r.base, "operatorname"), n = !0) : i = de(r, "operatorname");
8739
8740
  var o;
8740
8741
  if (i.body.length > 0) {
8741
8742
  for (var s = i.body.map((p) => {
@@ -8923,7 +8924,7 @@ W({
8923
8924
  handler(r, e) {
8924
8925
  var {
8925
8926
  parser: t
8926
- } = r, a = _e(e[0], "size").value, n = e[1];
8927
+ } = r, a = de(e[0], "size").value, n = e[1];
8927
8928
  return {
8928
8929
  type: "raisebox",
8929
8930
  mode: t.mode,
@@ -8978,11 +8979,11 @@ W({
8978
8979
  handler(r, e, t) {
8979
8980
  var {
8980
8981
  parser: a
8981
- } = r, n = t[0], i = _e(e[0], "size"), o = _e(e[1], "size");
8982
+ } = r, n = t[0], i = de(e[0], "size"), o = de(e[1], "size");
8982
8983
  return {
8983
8984
  type: "rule",
8984
8985
  mode: a.mode,
8985
- shift: n && _e(n, "size").value,
8986
+ shift: n && de(n, "size").value,
8986
8987
  width: i.value,
8987
8988
  height: o.value
8988
8989
  };
@@ -9047,7 +9048,7 @@ W({
9047
9048
  handler: (r, e, t) => {
9048
9049
  var {
9049
9050
  parser: a
9050
- } = r, n = !1, i = !1, o = t[0] && _e(t[0], "ordgroup");
9051
+ } = r, n = !1, i = !1, o = t[0] && de(t[0], "ordgroup");
9051
9052
  if (o)
9052
9053
  for (var s = "", c = 0; c < o.body.length; ++c) {
9053
9054
  var d = o.body[c];
@@ -12078,7 +12079,7 @@ function cg() {
12078
12079
  contains: [k]
12079
12080
  }, ae = {
12080
12081
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
12081
- }, de = function(R, x, H = {}) {
12082
+ }, _e = function(R, x, H = {}) {
12082
12083
  const oe = a(
12083
12084
  {
12084
12085
  scope: "comment",
@@ -12144,7 +12145,7 @@ function cg() {
12144
12145
  // look for 3 words in a row
12145
12146
  }
12146
12147
  ), oe;
12147
- }, Oe = de("//", "$"), Pe = de("/\\*", "\\*/"), Ie = de("#", "$"), Je = {
12148
+ }, Oe = _e("//", "$"), Pe = _e("/\\*", "\\*/"), Ie = _e("#", "$"), Je = {
12148
12149
  scope: "number",
12149
12150
  begin: G,
12150
12151
  relevance: 0
@@ -12188,7 +12189,7 @@ function cg() {
12188
12189
  BACKSLASH_ESCAPE: k,
12189
12190
  BINARY_NUMBER_MODE: Fe,
12190
12191
  BINARY_NUMBER_RE: z,
12191
- COMMENT: de,
12192
+ COMMENT: _e,
12192
12193
  C_BLOCK_COMMENT_MODE: Pe,
12193
12194
  C_LINE_COMMENT_MODE: Oe,
12194
12195
  C_NUMBER_MODE: Ce,
@@ -25285,7 +25286,7 @@ function fE() {
25285
25286
  },
25286
25287
  s.BACKSLASH_ESCAPE
25287
25288
  ]
25288
- }, de = {
25289
+ }, _e = {
25289
25290
  scope: "string",
25290
25291
  begin: /"""/,
25291
25292
  end: /"""/,
@@ -25392,7 +25393,7 @@ function fE() {
25392
25393
  Je,
25393
25394
  Ie,
25394
25395
  Pe,
25395
- de,
25396
+ _e,
25396
25397
  ae,
25397
25398
  Q,
25398
25399
  Ce
@@ -25411,7 +25412,7 @@ function fE() {
25411
25412
  contains: [
25412
25413
  y,
25413
25414
  // can contain any constant value
25414
- de,
25415
+ _e,
25415
25416
  ae,
25416
25417
  Q,
25417
25418
  Ce,
@@ -31641,7 +31642,7 @@ function zE() {
31641
31642
  ...n
31642
31643
  ]
31643
31644
  }
31644
- }, de = {
31645
+ }, _e = {
31645
31646
  label: "use_strict",
31646
31647
  className: "meta",
31647
31648
  relevance: 10,
@@ -31752,7 +31753,7 @@ function zE() {
31752
31753
  binary: "node",
31753
31754
  relevance: 5
31754
31755
  }),
31755
- de,
31756
+ _e,
31756
31757
  d.APOS_STRING_MODE,
31757
31758
  d.QUOTE_STRING_MODE,
31758
31759
  A,
@@ -56565,7 +56566,7 @@ function bb() {
56565
56566
  ),
56566
56567
  keyword: k.concat(E),
56567
56568
  literal: u
56568
- }, de = [
56569
+ }, _e = [
56569
56570
  ee,
56570
56571
  J,
56571
56572
  Q
@@ -56758,7 +56759,7 @@ function bb() {
56758
56759
  keywords: ae,
56759
56760
  contains: [
56760
56761
  ...z,
56761
- ...de,
56762
+ ..._e,
56762
56763
  ...Tt,
56763
56764
  Je,
56764
56765
  et
@@ -56779,7 +56780,7 @@ function bb() {
56779
56780
  Ct,
56780
56781
  ...z,
56781
56782
  nr,
56782
- ...de,
56783
+ ..._e,
56783
56784
  ...Ie,
56784
56785
  ...Fe,
56785
56786
  me,
@@ -56820,7 +56821,7 @@ function bb() {
56820
56821
  contains: [
56821
56822
  Kr,
56822
56823
  ...z,
56823
- ...de,
56824
+ ..._e,
56824
56825
  ...Fe,
56825
56826
  me,
56826
56827
  je,
@@ -56924,7 +56925,7 @@ function bb() {
56924
56925
  keywords: ae,
56925
56926
  contains: [
56926
56927
  Er,
56927
- ...de,
56928
+ ..._e,
56928
56929
  {
56929
56930
  begin: /:/,
56930
56931
  end: /\{/,
@@ -56934,7 +56935,7 @@ function bb() {
56934
56935
  scope: "title.class.inherited",
56935
56936
  match: I
56936
56937
  },
56937
- ...de
56938
+ ..._e
56938
56939
  ],
56939
56940
  relevance: 0
56940
56941
  }
@@ -56944,7 +56945,7 @@ function bb() {
56944
56945
  const or = Te.contains.find((Pt) => Pt.label === "interpol");
56945
56946
  or.keywords = ae;
56946
56947
  const Lt = [
56947
- ...de,
56948
+ ..._e,
56948
56949
  ...Ie,
56949
56950
  ...Fe,
56950
56951
  me,
@@ -56982,7 +56983,7 @@ function bb() {
56982
56983
  relevance: 0
56983
56984
  },
56984
56985
  nr,
56985
- ...de,
56986
+ ..._e,
56986
56987
  ...Ie,
56987
56988
  ...Fe,
56988
56989
  me,
@@ -58302,7 +58303,7 @@ function Ob() {
58302
58303
  }
58303
58304
  }
58304
58305
  ]
58305
- }, de = {
58306
+ }, _e = {
58306
58307
  relevance: 0,
58307
58308
  match: p.either(
58308
58309
  // Hard coded exceptions
@@ -58429,7 +58430,7 @@ function Ob() {
58429
58430
  aliases: ["js", "jsx", "mjs", "cjs"],
58430
58431
  keywords: N,
58431
58432
  // this will be extended by TypeScript
58432
- exports: { PARAMS_CONTAINS: Y, CLASS_REFERENCE: de },
58433
+ exports: { PARAMS_CONTAINS: Y, CLASS_REFERENCE: _e },
58433
58434
  illegal: /#(?![$_A-z])/,
58434
58435
  contains: [
58435
58436
  u.SHEBANG({
@@ -58448,7 +58449,7 @@ function Ob() {
58448
58449
  // Skip numbers when they are part of a variable name
58449
58450
  { match: /\$\d+/ },
58450
58451
  D,
58451
- de,
58452
+ _e,
58452
58453
  {
58453
58454
  scope: "attr",
58454
58455
  match: S + p.lookahead(":"),
@@ -61445,6 +61446,7 @@ const qb = /* @__PURE__ */ lg(Yb), zb = { class: "q-image-viewer-counter" }, Hb
61445
61446
  tagName: { default: "div" },
61446
61447
  disabled: { type: Boolean, default: !1 },
61447
61448
  disableTwoWayDataBinding: { type: Boolean, default: !1 },
61449
+ dataNormalizer: { type: Function, default: (r) => r },
61448
61450
  disableExit: { type: Boolean, default: !1 },
61449
61451
  content: { default: void 0 },
61450
61452
  containerClass: { default: "" },
@@ -61464,10 +61466,10 @@ const qb = /* @__PURE__ */ lg(Yb), zb = { class: "q-image-viewer-counter" }, Hb
61464
61466
  emits: /* @__PURE__ */ ur(["ready", "destroy", "blur", "focus", "input", "exit-blocked"], ["update:modelValue"]),
61465
61467
  setup(r, { emit: e }) {
61466
61468
  lp((k) => ({
61467
- v41d6dca3: `${k.borderRadius}px`,
61468
- v028e8c92: `${k.minHeight > 0 ? k.minHeight + "px" : "auto"}`,
61469
- v2b001cb2: k.contentBgColor,
61470
- v7390e798: k.contentBgHoverColor
61469
+ v8f1bd43a: `${k.borderRadius}px`,
61470
+ v7e68b5d2: `${k.minHeight > 0 ? k.minHeight + "px" : "auto"}`,
61471
+ v50161b72: k.contentBgColor,
61472
+ v2ba7be50: k.contentBgHoverColor
61471
61473
  }));
61472
61474
  const t = Ta(r, "modelValue"), a = r, n = e, i = Me(!1), o = Me(!1), s = Me(null), c = Me(null), d = cp(null), u = Me(!1), p = Me(!1), E = Me(null), S = Me(!1);
61473
61475
  let b = null;
@@ -61480,8 +61482,8 @@ const qb = /* @__PURE__ */ lg(Yb), zb = { class: "q-image-viewer-counter" }, Hb
61480
61482
  height: a.height ? `${a.height}px` : "auto",
61481
61483
  overflowY: a.height ? "auto" : "hidden"
61482
61484
  })), I = nt(() => {
61483
- const { config: k, tagName: Y, disabled: Q, disableTwoWayDataBinding: ae } = a;
61484
- return { config: k, tagName: Y, disabled: Q, disableTwoWayDataBinding: ae };
61485
+ const { config: k, tagName: Y, disabled: Q, disableTwoWayDataBinding: ae, dataNormalizer: _e } = a;
61486
+ return { config: k, tagName: Y, disabled: Q, disableTwoWayDataBinding: ae, dataNormalizer: _e };
61485
61487
  }), D = nt(() => {
61486
61488
  const { containerClass: k, sanitize: Y, imagePreview: Q } = a;
61487
61489
  return { containerClass: k, sanitize: Y, imagePreview: Q };
@@ -61500,7 +61502,7 @@ const qb = /* @__PURE__ */ lg(Yb), zb = { class: "q-image-viewer-counter" }, Hb
61500
61502
  Y.detail && Y.detail.activeContainer !== s.value && i.value && L();
61501
61503
  }
61502
61504
  async function L() {
61503
- var Q, ae, de;
61505
+ var Q, ae, _e;
61504
61506
  if (!i.value || p.value)
61505
61507
  return;
61506
61508
  if (v.value) {
@@ -61518,7 +61520,7 @@ const qb = /* @__PURE__ */ lg(Yb), zb = { class: "q-image-viewer-counter" }, Hb
61518
61520
  try {
61519
61521
  await Y.destroy();
61520
61522
  } finally {
61521
- (de = c.value) != null && de.ckeditorRef && (c.value.ckeditorRef.instance = void 0);
61523
+ (_e = c.value) != null && _e.ckeditorRef && (c.value.ckeditorRef.instance = void 0);
61522
61524
  }
61523
61525
  d.value = null, o.value = !1, i.value = !1, p.value = !1;
61524
61526
  }
@@ -61532,7 +61534,7 @@ const qb = /* @__PURE__ */ lg(Yb), zb = { class: "q-image-viewer-counter" }, Hb
61532
61534
  u.value = !1;
61533
61535
  return;
61534
61536
  }
61535
- const Q = s.value.contains(Y), ae = Y.closest(".ck-body-wrapper") || Y.closest(".ck-balloon-panel") || Y.closest(".ck"), de = Y.closest(".q-editor-pro-container"), Oe = de && de !== s.value;
61537
+ const Q = s.value.contains(Y), ae = Y.closest(".ck-body-wrapper") || Y.closest(".ck-balloon-panel") || Y.closest(".ck"), _e = Y.closest(".q-editor-pro-container"), Oe = _e && _e !== s.value;
61536
61538
  u.value = Q || !!ae && !Oe;
61537
61539
  }
61538
61540
  function j(k) {
@@ -61543,7 +61545,7 @@ const qb = /* @__PURE__ */ lg(Yb), zb = { class: "q-image-viewer-counter" }, Hb
61543
61545
  u.value = !1;
61544
61546
  return;
61545
61547
  }
61546
- const Q = s.value.contains(Y), ae = Y.closest(".ck-body-wrapper") || Y.closest(".ck-balloon-panel") || Y.closest(".ck"), de = Y.closest(".q-editor-pro-container"), Oe = de && de !== s.value;
61548
+ const Q = s.value.contains(Y), ae = Y.closest(".ck-body-wrapper") || Y.closest(".ck-balloon-panel") || Y.closest(".ck"), _e = Y.closest(".q-editor-pro-container"), Oe = _e && _e !== s.value;
61547
61549
  if (u.value && !Q && (!ae || Oe)) {
61548
61550
  u.value = !1;
61549
61551
  return;
@@ -61602,11 +61604,11 @@ const qb = /* @__PURE__ */ lg(Yb), zb = { class: "q-image-viewer-counter" }, Hb
61602
61604
  onDestroy: J,
61603
61605
  onBlur: Y[1] || (Y[1] = (Q, ae) => n("blur", Q, ae)),
61604
61606
  onFocus: Y[2] || (Y[2] = (Q, ae) => n("focus", Q, ae)),
61605
- onInput: Y[3] || (Y[3] = (Q, ae, de) => n("input", Q, ae, de))
61607
+ onInput: Y[3] || (Y[3] = (Q, ae, _e) => n("input", Q, ae, _e))
61606
61608
  }), null, 16, ["modelValue"])) : dr("", !0)
61607
61609
  ], 2));
61608
61610
  }
61609
- }), Jb = /* @__PURE__ */ bl(Zb, [["__scopeId", "data-v-157e0753"]]);
61611
+ }), Jb = /* @__PURE__ */ bl(Zb, [["__scopeId", "data-v-6498d3e0"]]);
61610
61612
  class jb {
61611
61613
  constructor(e, t) {
61612
61614
  Bt(this, "loader");
@@ -1 +1 @@
1
- {"version":3,"file":"CKEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CKEditor.vue"],"names":[],"mappings":"AA4PA,OAAO,EAAE,KAAK,MAAM,EAAqB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3E,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;yBAK3C,OAAO,SAAS;IAAE,MAAM,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAAE,EAC3E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAqTO,mBAAmB,CAAC;;;;;;;;;qCAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;UAEJ,gkBAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAhUzE,wBAgU4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"CKEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CKEditor.vue"],"names":[],"mappings":"AAiQA,OAAO,EAAE,KAAK,MAAM,EAAqB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3E,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;yBAK3C,OAAO,SAAS;IAAE,MAAM,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAAE,EAC3E,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA0TO,mBAAmB,CAAC;;;;;;;;;qCAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;UAEJ,gkBAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AArUzE,wBAqU4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -7,6 +7,7 @@ type __VLS_Props = {
7
7
  tagName?: string;
8
8
  disabled?: boolean;
9
9
  disableTwoWayDataBinding?: boolean;
10
+ dataNormalizer?: (data: string) => string;
10
11
  disableExit?: boolean;
11
12
  content?: string;
12
13
  containerClass?: string;
@@ -44,6 +45,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
44
45
  tagName: string;
45
46
  disabled: boolean;
46
47
  disableTwoWayDataBinding: boolean;
48
+ dataNormalizer: (data: string) => string;
47
49
  placeholder: string;
48
50
  height: number;
49
51
  content: string;
@@ -1 +1 @@
1
- {"version":3,"file":"QCKEditorPro.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCKEditorPro.vue"],"names":[],"mappings":"AAwCA;AA4YA,OAAO,EACL,aAAa,EAEb,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAqB,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAI1E,gEAAgE;AAChE,KAAK,iBAAiB,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAQpD,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,GAAG,sBAAsB,CAAC;CACjD,CAAC;AA0RJ,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;YA5SH,YAAY;aACX,MAAM;cACL,OAAO;8BACS,OAAO;iBAKpB,MAAM;YAEX,MAAM;aALL,MAAM;oBACC,MAAM;cACZ,OAAO;kBAQH,OAAO,GAAG,sBAAsB;iBAXjC,OAAO;eAKT,MAAM;eAEN,OAAO;oBACF,MAAM;yBACD,MAAM;kBACb,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6azB,wBAUG"}
1
+ {"version":3,"file":"QCKEditorPro.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCKEditorPro.vue"],"names":[],"mappings":"AAwCA;AA8YA,OAAO,EACL,aAAa,EAEb,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAqB,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAI1E,gEAAgE;AAChE,KAAK,iBAAiB,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAQpD,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,GAAG,sBAAsB,CAAC;CACjD,CAAC;AA4RJ,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;YA/SH,YAAY;aACX,MAAM;cACL,OAAO;8BACS,OAAO;oBACjB,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM;iBAK3B,MAAM;YAEX,MAAM;aALL,MAAM;oBACC,MAAM;cACZ,OAAO;kBAQH,OAAO,GAAG,sBAAsB;iBAXjC,OAAO;eAKT,MAAM;eAEN,OAAO;oBACF,MAAM;yBACD,MAAM;kBACb,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+azB,wBAUG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itshixun/qckeditor-vue3",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Vue3 components for CKEditor 5",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -51,4 +51,4 @@
51
51
  "type": "git",
52
52
  "url": ""
53
53
  }
54
- }
54
+ }