@qualityunit/liveagent-components-editor 0.0.57 → 0.0.58

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/ckeditor.js CHANGED
@@ -1 +1 @@
1
- import "./ckeditor5-_i8n8Egv.js";
1
+ import "./ckeditor5-Z85agEdp.js";
@@ -2296,7 +2296,7 @@ function A2(n, i) {
2296
2296
  e
2297
2297
  ];
2298
2298
  }
2299
- const x2 = "43.1.0", S2 = new Date(2024, 8, 5);
2299
+ const x2 = "43.1.1", S2 = new Date(2024, 8, 25);
2300
2300
  /* istanbul ignore next -- @preserve */
2301
2301
  if (globalThis.CKEDITOR_VERSION)
2302
2302
  throw new w("ckeditor-duplicated-modules", null);
@@ -2809,7 +2809,7 @@ class Pm {
2809
2809
  * Store for the whole configuration.
2810
2810
  */
2811
2811
  d(this, "_config");
2812
- this._config = {}, e && this.define(Jc(e)), i && this._setObjectToTarget(this._config, i);
2812
+ this._config = /* @__PURE__ */ Object.create(null), e && this.define(Jc(e)), i && this._setObjectToTarget(this._config, i);
2813
2813
  }
2814
2814
  set(i, e) {
2815
2815
  this._setToTarget(this._config, i, e);
@@ -2860,9 +2860,9 @@ class Pm {
2860
2860
  const o = e.split(".");
2861
2861
  e = o.pop();
2862
2862
  for (const r of o)
2863
- Le(i[r]) || (i[r] = {}), i = i[r];
2863
+ Le(i[r]) || (i[r] = /* @__PURE__ */ Object.create(null)), i = i[r];
2864
2864
  if (Le(t)) {
2865
- Le(i[e]) || (i[e] = {}), i = i[e], this._setObjectToTarget(i, t, s);
2865
+ Le(i[e]) || (i[e] = /* @__PURE__ */ Object.create(null)), i = i[e], this._setObjectToTarget(i, t, s);
2866
2866
  return;
2867
2867
  }
2868
2868
  s && typeof i[e] < "u" || (i[e] = t);
@@ -19975,7 +19975,7 @@ class OE extends (/* @__PURE__ */ J()) {
19975
19975
  /**
19976
19976
  * A dictionary containing attribute properties.
19977
19977
  */
19978
- d(this, "_attributeProperties", {});
19978
+ d(this, "_attributeProperties", /* @__PURE__ */ Object.create(null));
19979
19979
  /**
19980
19980
  * Stores additional callbacks registered for schema items, which are evaluated when {@link ~Schema#checkChild} is called.
19981
19981
  *
@@ -20494,7 +20494,7 @@ class OE extends (/* @__PURE__ */ J()) {
20494
20494
  * @param attributeName A name of the attribute.
20495
20495
  */
20496
20496
  getAttributeProperties(e) {
20497
- return this._attributeProperties[e] || {};
20497
+ return this._attributeProperties[e] || /* @__PURE__ */ Object.create(null);
20498
20498
  }
20499
20499
  /**
20500
20500
  * Returns the lowest {@link module:engine/model/schema~Schema#isLimit limit element} containing the entire
@@ -21393,7 +21393,7 @@ class nT {
21393
21393
  * the provided data.
21394
21394
  */
21395
21395
  _toDom(i) {
21396
- i.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i) || (i = `<body>${i}</body>`);
21396
+ /<(?:html|body|head|meta)(?:\s[^>]*)?>/i.test(i.trim().slice(0, 1e4)) || (i = `<body>${i}</body>`);
21397
21397
  const e = this.domParser.parseFromString(i, "text/html"), t = e.createDocumentFragment(), s = e.body.childNodes;
21398
21398
  for (; s.length > 0; )
21399
21399
  t.appendChild(s[0]);
@@ -28977,7 +28977,7 @@ function _A(n) {
28977
28977
  });
28978
28978
  }
28979
28979
  function Lg(n) {
28980
- const i = n.matchAll(tA);
28980
+ const i = n.trim().slice(0, 1500).matchAll(tA);
28981
28981
  return Array.from(i).map((e) => e[0]);
28982
28982
  }
28983
28983
  function vA(n) {
@@ -48755,7 +48755,7 @@ class c4 extends b {
48755
48755
  if (a.contains(t))
48756
48756
  return;
48757
48757
  const u = parseFloat(l.paddingLeft), h = je(P.document, "div");
48758
- h.className = "ck ck-content", h.style.width = l.width, h.style.paddingLeft = `${c.left - s + u}px`, L.isiOS && (h.style.backgroundColor = "white"), h.innerHTML = e.getData("text/html"), e.setDragImage(h, 0, 0), this._previewContainer.appendChild(h);
48758
+ h.className = "ck ck-content", h.style.width = l.width, h.style.paddingLeft = `${c.left - s + u}px`, L.isiOS && (h.style.backgroundColor = "white"), o.domConverter.setContentOf(h, e.getData("text/html")), e.setDragImage(h, 0, 0), this._previewContainer.appendChild(h);
48759
48759
  }
48760
48760
  }
48761
48761
  function Kd(n) {
@@ -1,4 +1,4 @@
1
- import { c as M, S as T, i as j, f as v, s as y, e as d, a as B, b as h, d as w, g as m, l as C, n as $, h as H, j as O, r as Q, k as R, t as U, m as V, o as W, p as z, q as K, u as F, v as G, w as k, x as X, y as E, z as I, A as J, B as Y, C as q, D as Z } from "./ckeditor5-_i8n8Egv.js";
1
+ import { c as M, S as T, i as j, f as v, s as y, e as d, a as B, b as h, d as w, g as m, l as C, n as $, h as H, j as O, r as Q, k as R, t as U, m as V, o as W, p as z, q as K, u as F, v as G, w as k, x as X, y as E, z as I, A as J, B as Y, C as q, D as Z } from "./ckeditor5-Z85agEdp.js";
2
2
  function A(e) {
3
3
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
4
4
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Editor component for LiveAgent",
4
4
  "author": "QualityUnit",
5
5
  "private": false,
6
- "version": "0.0.57",
6
+ "version": "0.0.58",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/*"
@@ -31,9 +31,9 @@
31
31
  "svelte-check": "^4.0.2",
32
32
  "tslib": "^2.7.0",
33
33
  "typescript": "^5.6.2",
34
- "vite": "^5.4.5"
34
+ "vite": "^5.4.8"
35
35
  },
36
36
  "dependencies": {
37
- "ckeditor5": "^43.1.0"
37
+ "ckeditor5": "^43.1.1"
38
38
  }
39
39
  }