ndsc-vue-quill 26.1.2015 → 26.1.2106
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/ndsc-vue-quill.js +322 -315
- package/dist/ndsc-vue-quill.umd.cjs +18 -18
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Count.vue +22 -2
package/dist/ndsc-vue-quill.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { watch as
|
|
1
|
+
import { watch as dt, ref as _t, onBeforeUnmount as Ot, onMounted as Et, onUnmounted as kt, openBlock as mt, createElementBlock as At, reactive as wt, createBlock as Nt, unref as Tt } from "vue";
|
|
2
2
|
var xt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
3
|
function St(it) {
|
|
4
4
|
return it && it.__esModule && Object.prototype.hasOwnProperty.call(it, "default") ? it.default : it;
|
|
@@ -16,7 +16,7 @@ var gt = { exports: {} };
|
|
|
16
16
|
})(typeof self < "u" ? self : xt, function() {
|
|
17
17
|
return (
|
|
18
18
|
/******/
|
|
19
|
-
function(
|
|
19
|
+
function(j) {
|
|
20
20
|
var b = {};
|
|
21
21
|
function d(P) {
|
|
22
22
|
if (b[P])
|
|
@@ -30,9 +30,9 @@ var gt = { exports: {} };
|
|
|
30
30
|
exports: {}
|
|
31
31
|
/******/
|
|
32
32
|
};
|
|
33
|
-
return
|
|
33
|
+
return j[P].call(w.exports, w, w.exports, d), w.l = !0, w.exports;
|
|
34
34
|
}
|
|
35
|
-
return d.m =
|
|
35
|
+
return d.m = j, d.c = b, d.d = function(P, w, _) {
|
|
36
36
|
d.o(P, w) || Object.defineProperty(P, w, {
|
|
37
37
|
/******/
|
|
38
38
|
configurable: !1,
|
|
@@ -61,7 +61,7 @@ var gt = { exports: {} };
|
|
|
61
61
|
}([
|
|
62
62
|
/* 0 */
|
|
63
63
|
/***/
|
|
64
|
-
function(
|
|
64
|
+
function(j, b, d) {
|
|
65
65
|
Object.defineProperty(b, "__esModule", { value: !0 });
|
|
66
66
|
var P = d(17), w = d(18), _ = d(19), y = d(45), v = d(46), c = d(47), o = d(48), t = d(49), e = d(12), u = d(32), l = d(33), a = d(31), r = d(1), i = {
|
|
67
67
|
Scope: r.Scope,
|
|
@@ -88,7 +88,7 @@ var gt = { exports: {} };
|
|
|
88
88
|
},
|
|
89
89
|
/* 1 */
|
|
90
90
|
/***/
|
|
91
|
-
function(
|
|
91
|
+
function(j, b, d) {
|
|
92
92
|
var P = this && this.__extends || function() {
|
|
93
93
|
var a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
94
94
|
r.__proto__ = i;
|
|
@@ -185,7 +185,7 @@ var gt = { exports: {} };
|
|
|
185
185
|
},
|
|
186
186
|
/* 2 */
|
|
187
187
|
/***/
|
|
188
|
-
function(
|
|
188
|
+
function(j, b, d) {
|
|
189
189
|
var P = d(51), w = d(11), _ = d(3), y = d(20), v = "\0", c = function(o) {
|
|
190
190
|
Array.isArray(o) ? this.ops = o : o != null && Array.isArray(o.ops) ? this.ops = o.ops : this.ops = [];
|
|
191
191
|
};
|
|
@@ -346,11 +346,11 @@ var gt = { exports: {} };
|
|
|
346
346
|
u += l;
|
|
347
347
|
}
|
|
348
348
|
return o;
|
|
349
|
-
},
|
|
349
|
+
}, j.exports = c;
|
|
350
350
|
},
|
|
351
351
|
/* 3 */
|
|
352
352
|
/***/
|
|
353
|
-
function(
|
|
353
|
+
function(j, b) {
|
|
354
354
|
var d = Object.prototype.hasOwnProperty, P = Object.prototype.toString, w = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, y = function(e) {
|
|
355
355
|
return typeof Array.isArray == "function" ? Array.isArray(e) : P.call(e) === "[object Array]";
|
|
356
356
|
}, v = function(e) {
|
|
@@ -378,7 +378,7 @@ var gt = { exports: {} };
|
|
|
378
378
|
} else return;
|
|
379
379
|
return e[u];
|
|
380
380
|
};
|
|
381
|
-
|
|
381
|
+
j.exports = function t() {
|
|
382
382
|
var e, u, l, a, r, i, f = arguments[0], n = 1, s = arguments.length, A = !1;
|
|
383
383
|
for (typeof f == "boolean" && (A = f, f = arguments[1] || {}, n = 2), (f == null || typeof f != "object" && typeof f != "function") && (f = {}); n < s; ++n)
|
|
384
384
|
if (e = arguments[n], e != null)
|
|
@@ -389,7 +389,7 @@ var gt = { exports: {} };
|
|
|
389
389
|
},
|
|
390
390
|
/* 4 */
|
|
391
391
|
/***/
|
|
392
|
-
function(
|
|
392
|
+
function(j, b, d) {
|
|
393
393
|
Object.defineProperty(b, "__esModule", {
|
|
394
394
|
value: !0
|
|
395
395
|
}), b.default = b.BlockEmbed = b.bubbleFormats = void 0;
|
|
@@ -565,7 +565,7 @@ var gt = { exports: {} };
|
|
|
565
565
|
},
|
|
566
566
|
/* 5 */
|
|
567
567
|
/***/
|
|
568
|
-
function(
|
|
568
|
+
function(j, b, d) {
|
|
569
569
|
Object.defineProperty(b, "__esModule", {
|
|
570
570
|
value: !0
|
|
571
571
|
}), b.default = b.overload = b.expandConfig = void 0;
|
|
@@ -577,7 +577,7 @@ var gt = { exports: {} };
|
|
|
577
577
|
function M(R, E) {
|
|
578
578
|
var S = [], q = !0, F = !1, B = void 0;
|
|
579
579
|
try {
|
|
580
|
-
for (var x = R[Symbol.iterator](),
|
|
580
|
+
for (var x = R[Symbol.iterator](), I; !(q = (I = x.next()).done) && (S.push(I.value), !(E && S.length === E)); q = !0)
|
|
581
581
|
;
|
|
582
582
|
} catch (U) {
|
|
583
583
|
F = !0, B = U;
|
|
@@ -661,7 +661,7 @@ var gt = { exports: {} };
|
|
|
661
661
|
}), this.editor = new o.default(this.scroll), this.selection = new f.default(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.theme.init(), this.emitter.on(e.default.events.EDITOR_CHANGE, function(B) {
|
|
662
662
|
B === e.default.events.TEXT_CHANGE && E.root.classList.toggle("ql-blank", E.editor.isBlank());
|
|
663
663
|
}), this.emitter.on(e.default.events.SCROLL_UPDATE, function(B, x) {
|
|
664
|
-
var
|
|
664
|
+
var I = E.selection.lastRange, U = I && I.length === 0 ? I.index : void 0;
|
|
665
665
|
D.call(E, function() {
|
|
666
666
|
return E.editor.update(null, x, U);
|
|
667
667
|
}, B);
|
|
@@ -730,17 +730,17 @@ var gt = { exports: {} };
|
|
|
730
730
|
}, {
|
|
731
731
|
key: "formatLine",
|
|
732
732
|
value: function(E, S, q, F, B) {
|
|
733
|
-
var x = this,
|
|
734
|
-
return E = H[0], S = H[1],
|
|
735
|
-
return x.editor.formatLine(E, S,
|
|
733
|
+
var x = this, I = void 0, U = C(E, S, q, F, B), H = w(U, 4);
|
|
734
|
+
return E = H[0], S = H[1], I = H[2], B = H[3], D.call(this, function() {
|
|
735
|
+
return x.editor.formatLine(E, S, I);
|
|
736
736
|
}, B, E, 0);
|
|
737
737
|
}
|
|
738
738
|
}, {
|
|
739
739
|
key: "formatText",
|
|
740
740
|
value: function(E, S, q, F, B) {
|
|
741
|
-
var x = this,
|
|
742
|
-
return E = H[0], S = H[1],
|
|
743
|
-
return x.editor.formatText(E, S,
|
|
741
|
+
var x = this, I = void 0, U = C(E, S, q, F, B), H = w(U, 4);
|
|
742
|
+
return E = H[0], S = H[1], I = H[2], B = H[3], D.call(this, function() {
|
|
743
|
+
return x.editor.formatText(E, S, I);
|
|
744
744
|
}, B, E, 0);
|
|
745
745
|
}
|
|
746
746
|
}, {
|
|
@@ -829,9 +829,9 @@ var gt = { exports: {} };
|
|
|
829
829
|
}, {
|
|
830
830
|
key: "insertText",
|
|
831
831
|
value: function(E, S, q, F, B) {
|
|
832
|
-
var x = this,
|
|
833
|
-
return E = H[0],
|
|
834
|
-
return x.editor.insertText(E, S,
|
|
832
|
+
var x = this, I = void 0, U = C(E, 0, q, F, B), H = w(U, 4);
|
|
833
|
+
return E = H[0], I = H[2], B = H[3], D.call(this, function() {
|
|
834
|
+
return x.editor.insertText(E, S, I);
|
|
835
835
|
}, B, E, S.length);
|
|
836
836
|
}
|
|
837
837
|
}, {
|
|
@@ -878,8 +878,8 @@ var gt = { exports: {} };
|
|
|
878
878
|
var S = this, q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.default.sources.API;
|
|
879
879
|
return D.call(this, function() {
|
|
880
880
|
E = new v.default(E);
|
|
881
|
-
var F = S.getLength(), B = S.editor.deleteText(0, F), x = S.editor.applyDelta(E),
|
|
882
|
-
|
|
881
|
+
var F = S.getLength(), B = S.editor.deleteText(0, F), x = S.editor.applyDelta(E), I = x.ops[x.ops.length - 1];
|
|
882
|
+
I != null && typeof I.insert == "string" && I.insert[I.insert.length - 1] === `
|
|
883
883
|
` && (S.editor.deleteText(S.getLength() - 1, 1), x.delete(1));
|
|
884
884
|
var U = B.compose(x);
|
|
885
885
|
return U;
|
|
@@ -967,10 +967,10 @@ var gt = { exports: {} };
|
|
|
967
967
|
return new v.default();
|
|
968
968
|
var q = E == null ? null : this.getSelection(), F = this.editor.delta, B = M();
|
|
969
969
|
if (q != null && (E === !0 && (E = q.index), S == null ? q = Z(q, B, R) : S !== 0 && (q = Z(q, E, S, R)), this.setSelection(q, e.default.sources.SILENT)), B.length() > 0) {
|
|
970
|
-
var x,
|
|
971
|
-
if ((x = this.emitter).emit.apply(x, [e.default.events.EDITOR_CHANGE].concat(
|
|
970
|
+
var x, I = [e.default.events.TEXT_CHANGE, B, F, R];
|
|
971
|
+
if ((x = this.emitter).emit.apply(x, [e.default.events.EDITOR_CHANGE].concat(I)), R !== e.default.sources.SILENT) {
|
|
972
972
|
var U;
|
|
973
|
-
(U = this.emitter).emit.apply(U,
|
|
973
|
+
(U = this.emitter).emit.apply(U, I);
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
976
|
return B;
|
|
@@ -988,9 +988,9 @@ var gt = { exports: {} };
|
|
|
988
988
|
}), x = w(B, 2);
|
|
989
989
|
q = x[0], F = x[1];
|
|
990
990
|
} else {
|
|
991
|
-
var
|
|
991
|
+
var I = [M.index, M.index + M.length].map(function(H) {
|
|
992
992
|
return H < R || H === R && S === e.default.sources.USER ? H : E >= 0 ? H + E : Math.max(R, H + E);
|
|
993
|
-
}), U = w(
|
|
993
|
+
}), U = w(I, 2);
|
|
994
994
|
q = U[0], F = U[1];
|
|
995
995
|
}
|
|
996
996
|
return new i.Range(q, F - q);
|
|
@@ -999,7 +999,7 @@ var gt = { exports: {} };
|
|
|
999
999
|
},
|
|
1000
1000
|
/* 6 */
|
|
1001
1001
|
/***/
|
|
1002
|
-
function(
|
|
1002
|
+
function(j, b, d) {
|
|
1003
1003
|
Object.defineProperty(b, "__esModule", {
|
|
1004
1004
|
value: !0
|
|
1005
1005
|
});
|
|
@@ -1089,7 +1089,7 @@ var gt = { exports: {} };
|
|
|
1089
1089
|
},
|
|
1090
1090
|
/* 7 */
|
|
1091
1091
|
/***/
|
|
1092
|
-
function(
|
|
1092
|
+
function(j, b, d) {
|
|
1093
1093
|
Object.defineProperty(b, "__esModule", {
|
|
1094
1094
|
value: !0
|
|
1095
1095
|
});
|
|
@@ -1122,7 +1122,7 @@ var gt = { exports: {} };
|
|
|
1122
1122
|
},
|
|
1123
1123
|
/* 8 */
|
|
1124
1124
|
/***/
|
|
1125
|
-
function(
|
|
1125
|
+
function(j, b, d) {
|
|
1126
1126
|
Object.defineProperty(b, "__esModule", {
|
|
1127
1127
|
value: !0
|
|
1128
1128
|
});
|
|
@@ -1223,7 +1223,7 @@ var gt = { exports: {} };
|
|
|
1223
1223
|
},
|
|
1224
1224
|
/* 9 */
|
|
1225
1225
|
/***/
|
|
1226
|
-
function(
|
|
1226
|
+
function(j, b, d) {
|
|
1227
1227
|
Object.defineProperty(b, "__esModule", {
|
|
1228
1228
|
value: !0
|
|
1229
1229
|
});
|
|
@@ -1239,7 +1239,7 @@ var gt = { exports: {} };
|
|
|
1239
1239
|
},
|
|
1240
1240
|
/* 10 */
|
|
1241
1241
|
/***/
|
|
1242
|
-
function(
|
|
1242
|
+
function(j, b, d) {
|
|
1243
1243
|
Object.defineProperty(b, "__esModule", {
|
|
1244
1244
|
value: !0
|
|
1245
1245
|
});
|
|
@@ -1262,8 +1262,8 @@ var gt = { exports: {} };
|
|
|
1262
1262
|
},
|
|
1263
1263
|
/* 11 */
|
|
1264
1264
|
/***/
|
|
1265
|
-
function(
|
|
1266
|
-
var P = Array.prototype.slice, w = d(52), _ = d(53), y =
|
|
1265
|
+
function(j, b, d) {
|
|
1266
|
+
var P = Array.prototype.slice, w = d(52), _ = d(53), y = j.exports = function(t, e, u) {
|
|
1267
1267
|
return u || (u = {}), t === e ? !0 : t instanceof Date && e instanceof Date ? t.getTime() === e.getTime() : !t || !e || typeof t != "object" && typeof e != "object" ? u.strict ? t === e : t == e : o(t, e, u);
|
|
1268
1268
|
};
|
|
1269
1269
|
function v(t) {
|
|
@@ -1300,7 +1300,7 @@ var gt = { exports: {} };
|
|
|
1300
1300
|
},
|
|
1301
1301
|
/* 12 */
|
|
1302
1302
|
/***/
|
|
1303
|
-
function(
|
|
1303
|
+
function(j, b, d) {
|
|
1304
1304
|
Object.defineProperty(b, "__esModule", { value: !0 });
|
|
1305
1305
|
var P = d(1), w = (
|
|
1306
1306
|
/** @class */
|
|
@@ -1331,7 +1331,7 @@ var gt = { exports: {} };
|
|
|
1331
1331
|
},
|
|
1332
1332
|
/* 13 */
|
|
1333
1333
|
/***/
|
|
1334
|
-
function(
|
|
1334
|
+
function(j, b, d) {
|
|
1335
1335
|
Object.defineProperty(b, "__esModule", {
|
|
1336
1336
|
value: !0
|
|
1337
1337
|
}), b.default = b.Code = void 0;
|
|
@@ -1502,7 +1502,7 @@ var gt = { exports: {} };
|
|
|
1502
1502
|
},
|
|
1503
1503
|
/* 14 */
|
|
1504
1504
|
/***/
|
|
1505
|
-
function(
|
|
1505
|
+
function(j, b, d) {
|
|
1506
1506
|
Object.defineProperty(b, "__esModule", {
|
|
1507
1507
|
value: !0
|
|
1508
1508
|
});
|
|
@@ -1514,7 +1514,7 @@ var gt = { exports: {} };
|
|
|
1514
1514
|
function M(R, E) {
|
|
1515
1515
|
var S = [], q = !0, F = !1, B = void 0;
|
|
1516
1516
|
try {
|
|
1517
|
-
for (var x = R[Symbol.iterator](),
|
|
1517
|
+
for (var x = R[Symbol.iterator](), I; !(q = (I = x.next()).done) && (S.push(I.value), !(E && S.length === E)); q = !0)
|
|
1518
1518
|
;
|
|
1519
1519
|
} catch (U) {
|
|
1520
1520
|
F = !0, B = U;
|
|
@@ -1566,7 +1566,7 @@ var gt = { exports: {} };
|
|
|
1566
1566
|
this.scroll.update();
|
|
1567
1567
|
var F = this.scroll.length();
|
|
1568
1568
|
return this.scroll.batchStart(), E = Z(E), E.reduce(function(B, x) {
|
|
1569
|
-
var
|
|
1569
|
+
var I = x.retain || x.delete || x.insert.length || 1, U = x.attributes || {};
|
|
1570
1570
|
if (x.insert != null) {
|
|
1571
1571
|
if (typeof x.insert == "string") {
|
|
1572
1572
|
var H = x.insert;
|
|
@@ -1584,11 +1584,11 @@ var gt = { exports: {} };
|
|
|
1584
1584
|
if (z == null) return B;
|
|
1585
1585
|
S.scroll.insertAt(B, z, x.insert[z]);
|
|
1586
1586
|
}
|
|
1587
|
-
F +=
|
|
1587
|
+
F += I;
|
|
1588
1588
|
}
|
|
1589
1589
|
return Object.keys(U).forEach(function(K) {
|
|
1590
|
-
S.scroll.formatAt(B,
|
|
1591
|
-
}), B +
|
|
1590
|
+
S.scroll.formatAt(B, I, K, U[K]);
|
|
1591
|
+
}), B + I;
|
|
1592
1592
|
}, 0), E.reduce(function(B, x) {
|
|
1593
1593
|
return typeof x.delete == "number" ? (S.scroll.deleteAt(B, x.delete), B) : B + (x.retain || x.insert.length || 1);
|
|
1594
1594
|
}, 0), this.scroll.batchEnd(), this.update(E);
|
|
@@ -1604,16 +1604,16 @@ var gt = { exports: {} };
|
|
|
1604
1604
|
var q = this, F = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1605
1605
|
return this.scroll.update(), Object.keys(F).forEach(function(B) {
|
|
1606
1606
|
if (!(q.scroll.whitelist != null && !q.scroll.whitelist[B])) {
|
|
1607
|
-
var x = q.scroll.lines(E, Math.max(S, 1)),
|
|
1607
|
+
var x = q.scroll.lines(E, Math.max(S, 1)), I = S;
|
|
1608
1608
|
x.forEach(function(U) {
|
|
1609
1609
|
var H = U.length();
|
|
1610
1610
|
if (!(U instanceof l.default))
|
|
1611
1611
|
U.format(B, F[B]);
|
|
1612
1612
|
else {
|
|
1613
|
-
var V = E - U.offset(q.scroll), Y = U.newlineIndex(V +
|
|
1613
|
+
var V = E - U.offset(q.scroll), Y = U.newlineIndex(V + I) - V + 1;
|
|
1614
1614
|
U.formatAt(V, Y, B, F[B]);
|
|
1615
1615
|
}
|
|
1616
|
-
|
|
1616
|
+
I -= H;
|
|
1617
1617
|
});
|
|
1618
1618
|
}
|
|
1619
1619
|
}), this.scroll.optimize(), this.update(new v.default().retain(E).retain(S, (0, g.default)(F)));
|
|
@@ -1643,17 +1643,17 @@ var gt = { exports: {} };
|
|
|
1643
1643
|
value: function(E) {
|
|
1644
1644
|
var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, q = [], F = [];
|
|
1645
1645
|
S === 0 ? this.scroll.path(E).forEach(function(x) {
|
|
1646
|
-
var
|
|
1646
|
+
var I = w(x, 1), U = I[0];
|
|
1647
1647
|
U instanceof f.default ? q.push(U) : U instanceof e.default.Leaf && F.push(U);
|
|
1648
1648
|
}) : (q = this.scroll.lines(E, S), F = this.scroll.descendants(e.default.Leaf, E, S));
|
|
1649
1649
|
var B = [q, F].map(function(x) {
|
|
1650
1650
|
if (x.length === 0) return {};
|
|
1651
|
-
for (var
|
|
1651
|
+
for (var I = (0, i.bubbleFormats)(x.shift()); Object.keys(I).length > 0; ) {
|
|
1652
1652
|
var U = x.shift();
|
|
1653
|
-
if (U == null) return
|
|
1654
|
-
|
|
1653
|
+
if (U == null) return I;
|
|
1654
|
+
I = C((0, i.bubbleFormats)(U), I);
|
|
1655
1655
|
}
|
|
1656
|
-
return
|
|
1656
|
+
return I;
|
|
1657
1657
|
});
|
|
1658
1658
|
return h.default.apply(h.default, B);
|
|
1659
1659
|
}
|
|
@@ -1692,8 +1692,8 @@ var gt = { exports: {} };
|
|
|
1692
1692
|
}, {
|
|
1693
1693
|
key: "removeFormat",
|
|
1694
1694
|
value: function(E, S) {
|
|
1695
|
-
var q = this.getText(E, S), F = this.scroll.line(E + S), B = w(F, 2), x = B[0],
|
|
1696
|
-
x != null && (x instanceof l.default ? U = x.newlineIndex(
|
|
1695
|
+
var q = this.getText(E, S), F = this.scroll.line(E + S), B = w(F, 2), x = B[0], I = B[1], U = 0, H = new v.default();
|
|
1696
|
+
x != null && (x instanceof l.default ? U = x.newlineIndex(I) - I + 1 : U = x.length() - I, H = x.delta().slice(I, I + U - 1).insert(`
|
|
1697
1697
|
`));
|
|
1698
1698
|
var V = this.getContents(E, S + U), Y = V.diff(new v.default().insert(q).concat(H)), X = new v.default().retain(E).concat(Y);
|
|
1699
1699
|
return this.applyDelta(X);
|
|
@@ -1703,7 +1703,7 @@ var gt = { exports: {} };
|
|
|
1703
1703
|
value: function(E) {
|
|
1704
1704
|
var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, F = this.delta;
|
|
1705
1705
|
if (S.length === 1 && S[0].type === "characterData" && S[0].target.data.match(L) && e.default.find(S[0].target)) {
|
|
1706
|
-
var B = e.default.find(S[0].target), x = (0, i.bubbleFormats)(B),
|
|
1706
|
+
var B = e.default.find(S[0].target), x = (0, i.bubbleFormats)(B), I = B.offset(this.scroll), U = S[0].oldValue.replace(r.default.CONTENTS, ""), H = new v.default().insert(U), V = new v.default().insert(B.value()), Y = new v.default().retain(I).concat(H.diff(V, q));
|
|
1707
1707
|
E = Y.reduce(function(X, Q) {
|
|
1708
1708
|
return Q.insert ? X.insert(Q.insert, x) : X.push(Q);
|
|
1709
1709
|
}, new v.default()), this.delta = F.compose(E);
|
|
@@ -1737,7 +1737,7 @@ var gt = { exports: {} };
|
|
|
1737
1737
|
},
|
|
1738
1738
|
/* 15 */
|
|
1739
1739
|
/***/
|
|
1740
|
-
function(
|
|
1740
|
+
function(j, b, d) {
|
|
1741
1741
|
Object.defineProperty(b, "__esModule", {
|
|
1742
1742
|
value: !0
|
|
1743
1743
|
}), b.default = b.Range = void 0;
|
|
@@ -2040,7 +2040,7 @@ var gt = { exports: {} };
|
|
|
2040
2040
|
},
|
|
2041
2041
|
/* 16 */
|
|
2042
2042
|
/***/
|
|
2043
|
-
function(
|
|
2043
|
+
function(j, b, d) {
|
|
2044
2044
|
Object.defineProperty(b, "__esModule", {
|
|
2045
2045
|
value: !0
|
|
2046
2046
|
});
|
|
@@ -2114,7 +2114,7 @@ var gt = { exports: {} };
|
|
|
2114
2114
|
},
|
|
2115
2115
|
/* 17 */
|
|
2116
2116
|
/***/
|
|
2117
|
-
function(
|
|
2117
|
+
function(j, b, d) {
|
|
2118
2118
|
var P = this && this.__extends || function() {
|
|
2119
2119
|
var o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, e) {
|
|
2120
2120
|
t.__proto__ = e;
|
|
@@ -2268,7 +2268,7 @@ var gt = { exports: {} };
|
|
|
2268
2268
|
},
|
|
2269
2269
|
/* 18 */
|
|
2270
2270
|
/***/
|
|
2271
|
-
function(
|
|
2271
|
+
function(j, b, d) {
|
|
2272
2272
|
var P = this && this.__extends || function() {
|
|
2273
2273
|
var o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, e) {
|
|
2274
2274
|
t.__proto__ = e;
|
|
@@ -2321,7 +2321,7 @@ var gt = { exports: {} };
|
|
|
2321
2321
|
},
|
|
2322
2322
|
/* 19 */
|
|
2323
2323
|
/***/
|
|
2324
|
-
function(
|
|
2324
|
+
function(j, b, d) {
|
|
2325
2325
|
var P = this && this.__extends || function() {
|
|
2326
2326
|
var v = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, o) {
|
|
2327
2327
|
c.__proto__ = o;
|
|
@@ -2361,7 +2361,7 @@ var gt = { exports: {} };
|
|
|
2361
2361
|
},
|
|
2362
2362
|
/* 20 */
|
|
2363
2363
|
/***/
|
|
2364
|
-
function(
|
|
2364
|
+
function(j, b, d) {
|
|
2365
2365
|
var P = d(11), w = d(3), _ = {
|
|
2366
2366
|
attributes: {
|
|
2367
2367
|
compose: function(v, c, o) {
|
|
@@ -2428,11 +2428,11 @@ var gt = { exports: {} };
|
|
|
2428
2428
|
var v = this.offset, c = this.index, o = this.next(), t = this.ops.slice(this.index);
|
|
2429
2429
|
return this.offset = v, this.index = c, [o].concat(t);
|
|
2430
2430
|
} else return [];
|
|
2431
|
-
},
|
|
2431
|
+
}, j.exports = _;
|
|
2432
2432
|
},
|
|
2433
2433
|
/* 21 */
|
|
2434
2434
|
/***/
|
|
2435
|
-
function(
|
|
2435
|
+
function(j, b) {
|
|
2436
2436
|
var d = function() {
|
|
2437
2437
|
function P(l, a) {
|
|
2438
2438
|
return a != null && l instanceof a;
|
|
@@ -2557,11 +2557,11 @@ var gt = { exports: {} };
|
|
|
2557
2557
|
}
|
|
2558
2558
|
return v.__getRegExpFlags = u, v;
|
|
2559
2559
|
}();
|
|
2560
|
-
typeof
|
|
2560
|
+
typeof j == "object" && j.exports && (j.exports = d);
|
|
2561
2561
|
},
|
|
2562
2562
|
/* 22 */
|
|
2563
2563
|
/***/
|
|
2564
|
-
function(
|
|
2564
|
+
function(j, b, d) {
|
|
2565
2565
|
Object.defineProperty(b, "__esModule", {
|
|
2566
2566
|
value: !0
|
|
2567
2567
|
});
|
|
@@ -2760,7 +2760,7 @@ var gt = { exports: {} };
|
|
|
2760
2760
|
},
|
|
2761
2761
|
/* 23 */
|
|
2762
2762
|
/***/
|
|
2763
|
-
function(
|
|
2763
|
+
function(j, b, d) {
|
|
2764
2764
|
Object.defineProperty(b, "__esModule", {
|
|
2765
2765
|
value: !0
|
|
2766
2766
|
}), b.SHORTKEY = b.default = void 0;
|
|
@@ -2769,10 +2769,10 @@ var gt = { exports: {} };
|
|
|
2769
2769
|
} : function(x) {
|
|
2770
2770
|
return x && typeof Symbol == "function" && x.constructor === Symbol && x !== Symbol.prototype ? "symbol" : typeof x;
|
|
2771
2771
|
}, w = /* @__PURE__ */ function() {
|
|
2772
|
-
function x(
|
|
2772
|
+
function x(I, U) {
|
|
2773
2773
|
var H = [], V = !0, Y = !1, X = void 0;
|
|
2774
2774
|
try {
|
|
2775
|
-
for (var Q =
|
|
2775
|
+
for (var Q = I[Symbol.iterator](), nt; !(V = (nt = Q.next()).done) && (H.push(nt.value), !(U && H.length === U)); V = !0)
|
|
2776
2776
|
;
|
|
2777
2777
|
} catch (rt) {
|
|
2778
2778
|
Y = !0, X = rt;
|
|
@@ -2785,46 +2785,46 @@ var gt = { exports: {} };
|
|
|
2785
2785
|
}
|
|
2786
2786
|
return H;
|
|
2787
2787
|
}
|
|
2788
|
-
return function(
|
|
2789
|
-
if (Array.isArray(
|
|
2790
|
-
return
|
|
2791
|
-
if (Symbol.iterator in Object(
|
|
2792
|
-
return x(
|
|
2788
|
+
return function(I, U) {
|
|
2789
|
+
if (Array.isArray(I))
|
|
2790
|
+
return I;
|
|
2791
|
+
if (Symbol.iterator in Object(I))
|
|
2792
|
+
return x(I, U);
|
|
2793
2793
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
2794
2794
|
};
|
|
2795
2795
|
}(), _ = /* @__PURE__ */ function() {
|
|
2796
|
-
function x(
|
|
2796
|
+
function x(I, U) {
|
|
2797
2797
|
for (var H = 0; H < U.length; H++) {
|
|
2798
2798
|
var V = U[H];
|
|
2799
|
-
V.enumerable = V.enumerable || !1, V.configurable = !0, "value" in V && (V.writable = !0), Object.defineProperty(
|
|
2799
|
+
V.enumerable = V.enumerable || !1, V.configurable = !0, "value" in V && (V.writable = !0), Object.defineProperty(I, V.key, V);
|
|
2800
2800
|
}
|
|
2801
2801
|
}
|
|
2802
|
-
return function(
|
|
2803
|
-
return U && x(
|
|
2802
|
+
return function(I, U, H) {
|
|
2803
|
+
return U && x(I.prototype, U), H && x(I, H), I;
|
|
2804
2804
|
};
|
|
2805
2805
|
}(), y = d(21), v = m(y), c = d(11), o = m(c), t = d(3), e = m(t), u = d(2), l = m(u), a = d(20), r = m(a), i = d(0), f = m(i), n = d(5), s = m(n), A = d(10), g = m(A), O = d(9), N = m(O);
|
|
2806
2806
|
function m(x) {
|
|
2807
2807
|
return x && x.__esModule ? x : { default: x };
|
|
2808
2808
|
}
|
|
2809
|
-
function h(x,
|
|
2810
|
-
return
|
|
2809
|
+
function h(x, I, U) {
|
|
2810
|
+
return I in x ? Object.defineProperty(x, I, { value: U, enumerable: !0, configurable: !0, writable: !0 }) : x[I] = U, x;
|
|
2811
2811
|
}
|
|
2812
|
-
function p(x,
|
|
2813
|
-
if (!(x instanceof
|
|
2812
|
+
function p(x, I) {
|
|
2813
|
+
if (!(x instanceof I))
|
|
2814
2814
|
throw new TypeError("Cannot call a class as a function");
|
|
2815
2815
|
}
|
|
2816
|
-
function k(x,
|
|
2816
|
+
function k(x, I) {
|
|
2817
2817
|
if (!x)
|
|
2818
2818
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2819
|
-
return
|
|
2819
|
+
return I && (typeof I == "object" || typeof I == "function") ? I : x;
|
|
2820
2820
|
}
|
|
2821
|
-
function T(x,
|
|
2822
|
-
if (typeof
|
|
2823
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
2824
|
-
x.prototype = Object.create(
|
|
2821
|
+
function T(x, I) {
|
|
2822
|
+
if (typeof I != "function" && I !== null)
|
|
2823
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof I);
|
|
2824
|
+
x.prototype = Object.create(I && I.prototype, { constructor: { value: x, enumerable: !1, writable: !0, configurable: !0 } }), I && (Object.setPrototypeOf ? Object.setPrototypeOf(x, I) : x.__proto__ = I);
|
|
2825
2825
|
}
|
|
2826
2826
|
var L = (0, g.default)("quill:keyboard"), D = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", C = function(x) {
|
|
2827
|
-
T(
|
|
2827
|
+
T(I, x), _(I, null, [{
|
|
2828
2828
|
key: "match",
|
|
2829
2829
|
value: function(H, V) {
|
|
2830
2830
|
return V = B(V), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(Y) {
|
|
@@ -2832,15 +2832,15 @@ var gt = { exports: {} };
|
|
|
2832
2832
|
}) ? !1 : V.key === (H.which || H.keyCode);
|
|
2833
2833
|
}
|
|
2834
2834
|
}]);
|
|
2835
|
-
function
|
|
2836
|
-
p(this,
|
|
2837
|
-
var V = k(this, (
|
|
2835
|
+
function I(U, H) {
|
|
2836
|
+
p(this, I);
|
|
2837
|
+
var V = k(this, (I.__proto__ || Object.getPrototypeOf(I)).call(this, U, H));
|
|
2838
2838
|
return V.bindings = {}, Object.keys(V.options.bindings).forEach(function(Y) {
|
|
2839
2839
|
Y === "list autofill" && U.scroll.whitelist != null && !U.scroll.whitelist.list || V.options.bindings[Y] && V.addBinding(V.options.bindings[Y]);
|
|
2840
|
-
}), V.addBinding({ key:
|
|
2841
|
-
}), /Firefox/i.test(navigator.userAgent) ? (V.addBinding({ key:
|
|
2840
|
+
}), V.addBinding({ key: I.keys.ENTER, shiftKey: null }, S), V.addBinding({ key: I.keys.ENTER, metaKey: null, ctrlKey: null, altKey: null }, function() {
|
|
2841
|
+
}), /Firefox/i.test(navigator.userAgent) ? (V.addBinding({ key: I.keys.BACKSPACE }, { collapsed: !0 }, M), V.addBinding({ key: I.keys.DELETE }, { collapsed: !0 }, R)) : (V.addBinding({ key: I.keys.BACKSPACE }, { collapsed: !0, prefix: /^.?$/ }, M), V.addBinding({ key: I.keys.DELETE }, { collapsed: !0, suffix: /^.?$/ }, R)), V.addBinding({ key: I.keys.BACKSPACE }, { collapsed: !1 }, E), V.addBinding({ key: I.keys.DELETE }, { collapsed: !1 }, E), V.addBinding({ key: I.keys.BACKSPACE, altKey: null, ctrlKey: null, metaKey: null, shiftKey: null }, { collapsed: !0, offset: 0 }, M), V.listen(), V;
|
|
2842
2842
|
}
|
|
2843
|
-
return _(
|
|
2843
|
+
return _(I, [{
|
|
2844
2844
|
key: "addBinding",
|
|
2845
2845
|
value: function(H) {
|
|
2846
2846
|
var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Y = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, X = B(H);
|
|
@@ -2855,7 +2855,7 @@ var gt = { exports: {} };
|
|
|
2855
2855
|
this.quill.root.addEventListener("keydown", function(V) {
|
|
2856
2856
|
if (!V.defaultPrevented) {
|
|
2857
2857
|
var Y = V.which || V.keyCode, X = (H.bindings[Y] || []).filter(function(lt) {
|
|
2858
|
-
return
|
|
2858
|
+
return I.match(V, lt);
|
|
2859
2859
|
});
|
|
2860
2860
|
if (X.length !== 0) {
|
|
2861
2861
|
var Q = H.quill.getSelection();
|
|
@@ -2886,7 +2886,7 @@ var gt = { exports: {} };
|
|
|
2886
2886
|
}
|
|
2887
2887
|
});
|
|
2888
2888
|
}
|
|
2889
|
-
}]),
|
|
2889
|
+
}]), I;
|
|
2890
2890
|
}(N.default);
|
|
2891
2891
|
C.keys = {
|
|
2892
2892
|
BACKSPACE: 8,
|
|
@@ -2907,7 +2907,7 @@ var gt = { exports: {} };
|
|
|
2907
2907
|
// highlight tab or tab at beginning of list, indent or blockquote
|
|
2908
2908
|
key: C.keys.TAB,
|
|
2909
2909
|
format: ["blockquote", "indent", "list"],
|
|
2910
|
-
handler: function(
|
|
2910
|
+
handler: function(I, U) {
|
|
2911
2911
|
if (U.collapsed && U.offset !== 0) return !0;
|
|
2912
2912
|
this.quill.format("indent", "+1", s.default.sources.USER);
|
|
2913
2913
|
}
|
|
@@ -2917,7 +2917,7 @@ var gt = { exports: {} };
|
|
|
2917
2917
|
shiftKey: !0,
|
|
2918
2918
|
format: ["blockquote", "indent", "list"],
|
|
2919
2919
|
// highlight tab or tab at beginning of list, indent or blockquote
|
|
2920
|
-
handler: function(
|
|
2920
|
+
handler: function(I, U) {
|
|
2921
2921
|
if (U.collapsed && U.offset !== 0) return !0;
|
|
2922
2922
|
this.quill.format("indent", "-1", s.default.sources.USER);
|
|
2923
2923
|
}
|
|
@@ -2931,7 +2931,7 @@ var gt = { exports: {} };
|
|
|
2931
2931
|
altKey: null,
|
|
2932
2932
|
format: ["indent", "list"],
|
|
2933
2933
|
offset: 0,
|
|
2934
|
-
handler: function(
|
|
2934
|
+
handler: function(I, U) {
|
|
2935
2935
|
U.format.indent != null ? this.quill.format("indent", "-1", s.default.sources.USER) : U.format.list != null && this.quill.format("list", !1, s.default.sources.USER);
|
|
2936
2936
|
}
|
|
2937
2937
|
},
|
|
@@ -2942,16 +2942,16 @@ var gt = { exports: {} };
|
|
|
2942
2942
|
shiftKey: !0,
|
|
2943
2943
|
collapsed: !0,
|
|
2944
2944
|
prefix: /\t$/,
|
|
2945
|
-
handler: function(
|
|
2946
|
-
this.quill.deleteText(
|
|
2945
|
+
handler: function(I) {
|
|
2946
|
+
this.quill.deleteText(I.index - 1, 1, s.default.sources.USER);
|
|
2947
2947
|
}
|
|
2948
2948
|
},
|
|
2949
2949
|
tab: {
|
|
2950
2950
|
key: C.keys.TAB,
|
|
2951
|
-
handler: function(
|
|
2951
|
+
handler: function(I) {
|
|
2952
2952
|
this.quill.history.cutoff();
|
|
2953
|
-
var U = new l.default().retain(
|
|
2954
|
-
this.quill.updateContents(U, s.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(
|
|
2953
|
+
var U = new l.default().retain(I.index).delete(I.length).insert(" ");
|
|
2954
|
+
this.quill.updateContents(U, s.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(I.index + 1, s.default.sources.SILENT);
|
|
2955
2955
|
}
|
|
2956
2956
|
},
|
|
2957
2957
|
"list empty enter": {
|
|
@@ -2959,7 +2959,7 @@ var gt = { exports: {} };
|
|
|
2959
2959
|
collapsed: !0,
|
|
2960
2960
|
format: ["list"],
|
|
2961
2961
|
empty: !0,
|
|
2962
|
-
handler: function(
|
|
2962
|
+
handler: function(I, U) {
|
|
2963
2963
|
this.quill.format("list", !1, s.default.sources.USER), U.format.indent && this.quill.format("indent", !1, s.default.sources.USER);
|
|
2964
2964
|
}
|
|
2965
2965
|
},
|
|
@@ -2967,10 +2967,10 @@ var gt = { exports: {} };
|
|
|
2967
2967
|
key: C.keys.ENTER,
|
|
2968
2968
|
collapsed: !0,
|
|
2969
2969
|
format: { list: "checked" },
|
|
2970
|
-
handler: function(
|
|
2971
|
-
var U = this.quill.getLine(
|
|
2970
|
+
handler: function(I) {
|
|
2971
|
+
var U = this.quill.getLine(I.index), H = w(U, 2), V = H[0], Y = H[1], X = (0, e.default)({}, V.formats(), { list: "checked" }), Q = new l.default().retain(I.index).insert(`
|
|
2972
2972
|
`, X).retain(V.length() - Y - 1).retain(1, { list: "unchecked" });
|
|
2973
|
-
this.quill.updateContents(Q, s.default.sources.USER), this.quill.setSelection(
|
|
2973
|
+
this.quill.updateContents(Q, s.default.sources.USER), this.quill.setSelection(I.index + 1, s.default.sources.SILENT), this.quill.scrollIntoView();
|
|
2974
2974
|
}
|
|
2975
2975
|
},
|
|
2976
2976
|
"header enter": {
|
|
@@ -2978,10 +2978,10 @@ var gt = { exports: {} };
|
|
|
2978
2978
|
collapsed: !0,
|
|
2979
2979
|
format: ["header"],
|
|
2980
2980
|
suffix: /^$/,
|
|
2981
|
-
handler: function(
|
|
2982
|
-
var H = this.quill.getLine(
|
|
2981
|
+
handler: function(I, U) {
|
|
2982
|
+
var H = this.quill.getLine(I.index), V = w(H, 2), Y = V[0], X = V[1], Q = new l.default().retain(I.index).insert(`
|
|
2983
2983
|
`, U.format).retain(Y.length() - X - 1).retain(1, { header: null });
|
|
2984
|
-
this.quill.updateContents(Q, s.default.sources.USER), this.quill.setSelection(
|
|
2984
|
+
this.quill.updateContents(Q, s.default.sources.USER), this.quill.setSelection(I.index + 1, s.default.sources.SILENT), this.quill.scrollIntoView();
|
|
2985
2985
|
}
|
|
2986
2986
|
},
|
|
2987
2987
|
"list autofill": {
|
|
@@ -2989,8 +2989,8 @@ var gt = { exports: {} };
|
|
|
2989
2989
|
collapsed: !0,
|
|
2990
2990
|
format: { list: !1 },
|
|
2991
2991
|
prefix: /^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,
|
|
2992
|
-
handler: function(
|
|
2993
|
-
var H = U.prefix.length, V = this.quill.getLine(
|
|
2992
|
+
handler: function(I, U) {
|
|
2993
|
+
var H = U.prefix.length, V = this.quill.getLine(I.index), Y = w(V, 2), X = Y[0], Q = Y[1];
|
|
2994
2994
|
if (Q > H) return !0;
|
|
2995
2995
|
var nt = void 0;
|
|
2996
2996
|
switch (U.prefix.trim()) {
|
|
@@ -3008,9 +3008,9 @@ var gt = { exports: {} };
|
|
|
3008
3008
|
default:
|
|
3009
3009
|
nt = "ordered";
|
|
3010
3010
|
}
|
|
3011
|
-
this.quill.insertText(
|
|
3012
|
-
var rt = new l.default().retain(
|
|
3013
|
-
this.quill.updateContents(rt, s.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(
|
|
3011
|
+
this.quill.insertText(I.index, " ", s.default.sources.USER), this.quill.history.cutoff();
|
|
3012
|
+
var rt = new l.default().retain(I.index - Q).delete(H + 1).retain(X.length() - 2 - Q).retain(1, { list: nt });
|
|
3013
|
+
this.quill.updateContents(rt, s.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(I.index - H, s.default.sources.SILENT);
|
|
3014
3014
|
}
|
|
3015
3015
|
},
|
|
3016
3016
|
"code exit": {
|
|
@@ -3019,8 +3019,8 @@ var gt = { exports: {} };
|
|
|
3019
3019
|
format: ["code-block"],
|
|
3020
3020
|
prefix: /\n\n$/,
|
|
3021
3021
|
suffix: /^\s+$/,
|
|
3022
|
-
handler: function(
|
|
3023
|
-
var U = this.quill.getLine(
|
|
3022
|
+
handler: function(I) {
|
|
3023
|
+
var U = this.quill.getLine(I.index), H = w(U, 2), V = H[0], Y = H[1], X = new l.default().retain(I.index + V.length() - Y - 2).retain(1, { "code-block": null }).delete(1);
|
|
3024
3024
|
this.quill.updateContents(X, s.default.sources.USER);
|
|
3025
3025
|
}
|
|
3026
3026
|
},
|
|
@@ -3030,38 +3030,38 @@ var gt = { exports: {} };
|
|
|
3030
3030
|
"embed right shift": Z(C.keys.RIGHT, !0)
|
|
3031
3031
|
}
|
|
3032
3032
|
};
|
|
3033
|
-
function Z(x,
|
|
3033
|
+
function Z(x, I) {
|
|
3034
3034
|
var U, H = x === C.keys.LEFT ? "prefix" : "suffix";
|
|
3035
3035
|
return U = {
|
|
3036
3036
|
key: x,
|
|
3037
|
-
shiftKey:
|
|
3037
|
+
shiftKey: I,
|
|
3038
3038
|
altKey: null
|
|
3039
3039
|
}, h(U, H, /^$/), h(U, "handler", function(Y) {
|
|
3040
3040
|
var X = Y.index;
|
|
3041
3041
|
x === C.keys.RIGHT && (X += Y.length + 1);
|
|
3042
3042
|
var Q = this.quill.getLeaf(X), nt = w(Q, 1), rt = nt[0];
|
|
3043
|
-
return rt instanceof f.default.Embed ? (x === C.keys.LEFT ?
|
|
3043
|
+
return rt instanceof f.default.Embed ? (x === C.keys.LEFT ? I ? this.quill.setSelection(Y.index - 1, Y.length + 1, s.default.sources.USER) : this.quill.setSelection(Y.index - 1, s.default.sources.USER) : I ? this.quill.setSelection(Y.index, Y.length + 1, s.default.sources.USER) : this.quill.setSelection(Y.index + Y.length + 1, s.default.sources.USER), !1) : !0;
|
|
3044
3044
|
}), U;
|
|
3045
3045
|
}
|
|
3046
|
-
function M(x,
|
|
3046
|
+
function M(x, I) {
|
|
3047
3047
|
if (!(x.index === 0 || this.quill.getLength() <= 1)) {
|
|
3048
3048
|
var U = this.quill.getLine(x.index), H = w(U, 1), V = H[0], Y = {};
|
|
3049
|
-
if (
|
|
3049
|
+
if (I.offset === 0) {
|
|
3050
3050
|
var X = this.quill.getLine(x.index - 1), Q = w(X, 1), nt = Q[0];
|
|
3051
3051
|
if (nt != null && nt.length() > 1) {
|
|
3052
3052
|
var rt = V.formats(), ut = this.quill.getFormat(x.index - 1, 1);
|
|
3053
3053
|
Y = r.default.attributes.diff(rt, ut) || {};
|
|
3054
3054
|
}
|
|
3055
3055
|
}
|
|
3056
|
-
var at = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(
|
|
3056
|
+
var at = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(I.prefix) ? 2 : 1;
|
|
3057
3057
|
this.quill.deleteText(x.index - at, at, s.default.sources.USER), Object.keys(Y).length > 0 && this.quill.formatLine(x.index - at, at, Y, s.default.sources.USER), this.quill.focus();
|
|
3058
3058
|
}
|
|
3059
3059
|
}
|
|
3060
|
-
function R(x,
|
|
3061
|
-
var U = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(
|
|
3060
|
+
function R(x, I) {
|
|
3061
|
+
var U = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(I.suffix) ? 2 : 1;
|
|
3062
3062
|
if (!(x.index >= this.quill.getLength() - U)) {
|
|
3063
3063
|
var H = {}, V = 0, Y = this.quill.getLine(x.index), X = w(Y, 1), Q = X[0];
|
|
3064
|
-
if (
|
|
3064
|
+
if (I.offset >= Q.length() - 1) {
|
|
3065
3065
|
var nt = this.quill.getLine(x.index + 1), rt = w(nt, 1), ut = rt[0];
|
|
3066
3066
|
if (ut) {
|
|
3067
3067
|
var at = Q.formats(), z = this.quill.getFormat(x.index, 1);
|
|
@@ -3072,22 +3072,22 @@ var gt = { exports: {} };
|
|
|
3072
3072
|
}
|
|
3073
3073
|
}
|
|
3074
3074
|
function E(x) {
|
|
3075
|
-
var
|
|
3076
|
-
if (
|
|
3077
|
-
var H =
|
|
3075
|
+
var I = this.quill.getLines(x), U = {};
|
|
3076
|
+
if (I.length > 1) {
|
|
3077
|
+
var H = I[0].formats(), V = I[I.length - 1].formats();
|
|
3078
3078
|
U = r.default.attributes.diff(V, H) || {};
|
|
3079
3079
|
}
|
|
3080
3080
|
this.quill.deleteText(x, s.default.sources.USER), Object.keys(U).length > 0 && this.quill.formatLine(x.index, 1, U, s.default.sources.USER), this.quill.setSelection(x.index, s.default.sources.SILENT), this.quill.focus();
|
|
3081
3081
|
}
|
|
3082
|
-
function S(x,
|
|
3082
|
+
function S(x, I) {
|
|
3083
3083
|
var U = this;
|
|
3084
3084
|
x.length > 0 && this.quill.scroll.deleteAt(x.index, x.length);
|
|
3085
|
-
var H = Object.keys(
|
|
3086
|
-
return f.default.query(Y, f.default.Scope.BLOCK) && !Array.isArray(
|
|
3085
|
+
var H = Object.keys(I.format).reduce(function(V, Y) {
|
|
3086
|
+
return f.default.query(Y, f.default.Scope.BLOCK) && !Array.isArray(I.format[Y]) && (V[Y] = I.format[Y]), V;
|
|
3087
3087
|
}, {});
|
|
3088
3088
|
this.quill.insertText(x.index, `
|
|
3089
|
-
`, H, s.default.sources.USER), this.quill.setSelection(x.index + 1, s.default.sources.SILENT), this.quill.focus(), Object.keys(
|
|
3090
|
-
H[V] == null && (Array.isArray(
|
|
3089
|
+
`, H, s.default.sources.USER), this.quill.setSelection(x.index + 1, s.default.sources.SILENT), this.quill.focus(), Object.keys(I.format).forEach(function(V) {
|
|
3090
|
+
H[V] == null && (Array.isArray(I.format[V]) || V !== "link" && U.quill.format(V, I.format[V], s.default.sources.USER));
|
|
3091
3091
|
});
|
|
3092
3092
|
}
|
|
3093
3093
|
function q(x) {
|
|
@@ -3132,7 +3132,7 @@ var gt = { exports: {} };
|
|
|
3132
3132
|
},
|
|
3133
3133
|
/* 24 */
|
|
3134
3134
|
/***/
|
|
3135
|
-
function(
|
|
3135
|
+
function(j, b, d) {
|
|
3136
3136
|
Object.defineProperty(b, "__esModule", {
|
|
3137
3137
|
value: !0
|
|
3138
3138
|
});
|
|
@@ -3295,7 +3295,7 @@ var gt = { exports: {} };
|
|
|
3295
3295
|
},
|
|
3296
3296
|
/* 25 */
|
|
3297
3297
|
/***/
|
|
3298
|
-
function(
|
|
3298
|
+
function(j, b, d) {
|
|
3299
3299
|
Object.defineProperty(b, "__esModule", {
|
|
3300
3300
|
value: !0
|
|
3301
3301
|
});
|
|
@@ -3328,7 +3328,7 @@ var gt = { exports: {} };
|
|
|
3328
3328
|
},
|
|
3329
3329
|
/* 26 */
|
|
3330
3330
|
/***/
|
|
3331
|
-
function(
|
|
3331
|
+
function(j, b, d) {
|
|
3332
3332
|
Object.defineProperty(b, "__esModule", {
|
|
3333
3333
|
value: !0
|
|
3334
3334
|
}), b.ColorStyle = b.ColorClass = b.ColorAttributor = void 0;
|
|
@@ -3395,7 +3395,7 @@ var gt = { exports: {} };
|
|
|
3395
3395
|
},
|
|
3396
3396
|
/* 27 */
|
|
3397
3397
|
/***/
|
|
3398
|
-
function(
|
|
3398
|
+
function(j, b, d) {
|
|
3399
3399
|
Object.defineProperty(b, "__esModule", {
|
|
3400
3400
|
value: !0
|
|
3401
3401
|
}), b.sanitize = b.default = void 0;
|
|
@@ -3479,7 +3479,7 @@ var gt = { exports: {} };
|
|
|
3479
3479
|
},
|
|
3480
3480
|
/* 28 */
|
|
3481
3481
|
/***/
|
|
3482
|
-
function(
|
|
3482
|
+
function(j, b, d) {
|
|
3483
3483
|
Object.defineProperty(b, "__esModule", {
|
|
3484
3484
|
value: !0
|
|
3485
3485
|
});
|
|
@@ -3615,7 +3615,7 @@ var gt = { exports: {} };
|
|
|
3615
3615
|
},
|
|
3616
3616
|
/* 29 */
|
|
3617
3617
|
/***/
|
|
3618
|
-
function(
|
|
3618
|
+
function(j, b, d) {
|
|
3619
3619
|
Object.defineProperty(b, "__esModule", {
|
|
3620
3620
|
value: !0
|
|
3621
3621
|
});
|
|
@@ -3640,7 +3640,7 @@ var gt = { exports: {} };
|
|
|
3640
3640
|
},
|
|
3641
3641
|
/* 30 */
|
|
3642
3642
|
/***/
|
|
3643
|
-
function(
|
|
3643
|
+
function(j, b, d) {
|
|
3644
3644
|
Object.defineProperty(b, "__esModule", { value: !0 });
|
|
3645
3645
|
var P = d(1), w = (
|
|
3646
3646
|
/** @class */
|
|
@@ -3714,7 +3714,7 @@ var gt = { exports: {} };
|
|
|
3714
3714
|
},
|
|
3715
3715
|
/* 31 */
|
|
3716
3716
|
/***/
|
|
3717
|
-
function(
|
|
3717
|
+
function(j, b, d) {
|
|
3718
3718
|
Object.defineProperty(b, "__esModule", { value: !0 });
|
|
3719
3719
|
var P = d(12), w = d(32), _ = d(33), y = d(1), v = (
|
|
3720
3720
|
/** @class */
|
|
@@ -3755,7 +3755,7 @@ var gt = { exports: {} };
|
|
|
3755
3755
|
},
|
|
3756
3756
|
/* 32 */
|
|
3757
3757
|
/***/
|
|
3758
|
-
function(
|
|
3758
|
+
function(j, b, d) {
|
|
3759
3759
|
var P = this && this.__extends || function() {
|
|
3760
3760
|
var v = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, o) {
|
|
3761
3761
|
c.__proto__ = o;
|
|
@@ -3806,7 +3806,7 @@ var gt = { exports: {} };
|
|
|
3806
3806
|
},
|
|
3807
3807
|
/* 33 */
|
|
3808
3808
|
/***/
|
|
3809
|
-
function(
|
|
3809
|
+
function(j, b, d) {
|
|
3810
3810
|
var P = this && this.__extends || function() {
|
|
3811
3811
|
var v = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, o) {
|
|
3812
3812
|
c.__proto__ = o;
|
|
@@ -3855,7 +3855,7 @@ var gt = { exports: {} };
|
|
|
3855
3855
|
},
|
|
3856
3856
|
/* 34 */
|
|
3857
3857
|
/***/
|
|
3858
|
-
function(
|
|
3858
|
+
function(j, b, d) {
|
|
3859
3859
|
Object.defineProperty(b, "__esModule", {
|
|
3860
3860
|
value: !0
|
|
3861
3861
|
});
|
|
@@ -3902,7 +3902,7 @@ var gt = { exports: {} };
|
|
|
3902
3902
|
},
|
|
3903
3903
|
/* 35 */
|
|
3904
3904
|
/***/
|
|
3905
|
-
function(
|
|
3905
|
+
function(j, b, d) {
|
|
3906
3906
|
Object.defineProperty(b, "__esModule", {
|
|
3907
3907
|
value: !0
|
|
3908
3908
|
});
|
|
@@ -4002,7 +4002,7 @@ var gt = { exports: {} };
|
|
|
4002
4002
|
},
|
|
4003
4003
|
/* 36 */
|
|
4004
4004
|
/***/
|
|
4005
|
-
function(
|
|
4005
|
+
function(j, b, d) {
|
|
4006
4006
|
Object.defineProperty(b, "__esModule", {
|
|
4007
4007
|
value: !0
|
|
4008
4008
|
}), b.AlignStyle = b.AlignClass = b.AlignAttribute = void 0;
|
|
@@ -4018,7 +4018,7 @@ var gt = { exports: {} };
|
|
|
4018
4018
|
},
|
|
4019
4019
|
/* 37 */
|
|
4020
4020
|
/***/
|
|
4021
|
-
function(
|
|
4021
|
+
function(j, b, d) {
|
|
4022
4022
|
Object.defineProperty(b, "__esModule", {
|
|
4023
4023
|
value: !0
|
|
4024
4024
|
}), b.BackgroundStyle = b.BackgroundClass = void 0;
|
|
@@ -4035,7 +4035,7 @@ var gt = { exports: {} };
|
|
|
4035
4035
|
},
|
|
4036
4036
|
/* 38 */
|
|
4037
4037
|
/***/
|
|
4038
|
-
function(
|
|
4038
|
+
function(j, b, d) {
|
|
4039
4039
|
Object.defineProperty(b, "__esModule", {
|
|
4040
4040
|
value: !0
|
|
4041
4041
|
}), b.DirectionStyle = b.DirectionClass = b.DirectionAttribute = void 0;
|
|
@@ -4051,7 +4051,7 @@ var gt = { exports: {} };
|
|
|
4051
4051
|
},
|
|
4052
4052
|
/* 39 */
|
|
4053
4053
|
/***/
|
|
4054
|
-
function(
|
|
4054
|
+
function(j, b, d) {
|
|
4055
4055
|
Object.defineProperty(b, "__esModule", {
|
|
4056
4056
|
value: !0
|
|
4057
4057
|
}), b.FontClass = b.FontStyle = void 0;
|
|
@@ -4114,7 +4114,7 @@ var gt = { exports: {} };
|
|
|
4114
4114
|
},
|
|
4115
4115
|
/* 40 */
|
|
4116
4116
|
/***/
|
|
4117
|
-
function(
|
|
4117
|
+
function(j, b, d) {
|
|
4118
4118
|
Object.defineProperty(b, "__esModule", {
|
|
4119
4119
|
value: !0
|
|
4120
4120
|
}), b.SizeStyle = b.SizeClass = void 0;
|
|
@@ -4133,8 +4133,8 @@ var gt = { exports: {} };
|
|
|
4133
4133
|
},
|
|
4134
4134
|
/* 41 */
|
|
4135
4135
|
/***/
|
|
4136
|
-
function(
|
|
4137
|
-
|
|
4136
|
+
function(j, b, d) {
|
|
4137
|
+
j.exports = {
|
|
4138
4138
|
align: {
|
|
4139
4139
|
"": d(76),
|
|
4140
4140
|
center: d(77),
|
|
@@ -4186,7 +4186,7 @@ var gt = { exports: {} };
|
|
|
4186
4186
|
},
|
|
4187
4187
|
/* 42 */
|
|
4188
4188
|
/***/
|
|
4189
|
-
function(
|
|
4189
|
+
function(j, b, d) {
|
|
4190
4190
|
Object.defineProperty(b, "__esModule", {
|
|
4191
4191
|
value: !0
|
|
4192
4192
|
}), b.getLastChangeIndex = b.default = void 0;
|
|
@@ -4307,7 +4307,7 @@ var gt = { exports: {} };
|
|
|
4307
4307
|
},
|
|
4308
4308
|
/* 43 */
|
|
4309
4309
|
/***/
|
|
4310
|
-
function(
|
|
4310
|
+
function(j, b, d) {
|
|
4311
4311
|
Object.defineProperty(b, "__esModule", {
|
|
4312
4312
|
value: !0
|
|
4313
4313
|
}), b.default = b.BaseTooltip = void 0;
|
|
@@ -4325,8 +4325,8 @@ var gt = { exports: {} };
|
|
|
4325
4325
|
q === null && (q = Function.prototype);
|
|
4326
4326
|
var x = Object.getOwnPropertyDescriptor(q, F);
|
|
4327
4327
|
if (x === void 0) {
|
|
4328
|
-
var
|
|
4329
|
-
return
|
|
4328
|
+
var I = Object.getPrototypeOf(q);
|
|
4329
|
+
return I === null ? void 0 : S(I, F, B);
|
|
4330
4330
|
} else {
|
|
4331
4331
|
if ("value" in x)
|
|
4332
4332
|
return x.value;
|
|
@@ -4355,14 +4355,14 @@ var gt = { exports: {} };
|
|
|
4355
4355
|
p(q, S);
|
|
4356
4356
|
function q(F, B) {
|
|
4357
4357
|
m(this, q);
|
|
4358
|
-
var x = h(this, (q.__proto__ || Object.getPrototypeOf(q)).call(this, F, B)),
|
|
4358
|
+
var x = h(this, (q.__proto__ || Object.getPrototypeOf(q)).call(this, F, B)), I = function U(H) {
|
|
4359
4359
|
if (!document.body.contains(F.root))
|
|
4360
4360
|
return document.body.removeEventListener("click", U);
|
|
4361
4361
|
x.tooltip != null && !x.tooltip.root.contains(H.target) && document.activeElement !== x.tooltip.textbox && !x.quill.hasFocus() && x.tooltip.hide(), x.pickers != null && x.pickers.forEach(function(V) {
|
|
4362
4362
|
V.container.contains(H.target) || V.close();
|
|
4363
4363
|
});
|
|
4364
4364
|
};
|
|
4365
|
-
return F.emitter.listenDOM("click", document.body,
|
|
4365
|
+
return F.emitter.listenDOM("click", document.body, I), x;
|
|
4366
4366
|
}
|
|
4367
4367
|
return P(q, [{
|
|
4368
4368
|
key: "addModule",
|
|
@@ -4373,17 +4373,17 @@ var gt = { exports: {} };
|
|
|
4373
4373
|
}, {
|
|
4374
4374
|
key: "buildButtons",
|
|
4375
4375
|
value: function(B, x) {
|
|
4376
|
-
B.forEach(function(
|
|
4377
|
-
var U =
|
|
4376
|
+
B.forEach(function(I) {
|
|
4377
|
+
var U = I.getAttribute("class") || "";
|
|
4378
4378
|
U.split(/\s+/).forEach(function(H) {
|
|
4379
4379
|
if (H.startsWith("ql-") && (H = H.slice(3), x[H] != null))
|
|
4380
4380
|
if (H === "direction")
|
|
4381
|
-
|
|
4381
|
+
I.innerHTML = x[H][""] + x[H].rtl;
|
|
4382
4382
|
else if (typeof x[H] == "string")
|
|
4383
|
-
|
|
4383
|
+
I.innerHTML = x[H];
|
|
4384
4384
|
else {
|
|
4385
|
-
var V =
|
|
4386
|
-
V != null && x[H][V] && (
|
|
4385
|
+
var V = I.value || "";
|
|
4386
|
+
V != null && x[H][V] && (I.innerHTML = x[H][V]);
|
|
4387
4387
|
}
|
|
4388
4388
|
});
|
|
4389
4389
|
});
|
|
@@ -4391,7 +4391,7 @@ var gt = { exports: {} };
|
|
|
4391
4391
|
}, {
|
|
4392
4392
|
key: "buildPickers",
|
|
4393
4393
|
value: function(B, x) {
|
|
4394
|
-
var
|
|
4394
|
+
var I = this;
|
|
4395
4395
|
this.pickers = B.map(function(H) {
|
|
4396
4396
|
if (H.classList.contains("ql-align"))
|
|
4397
4397
|
return H.querySelector("option") == null && E(H, k), new n.default(H, x.align);
|
|
@@ -4402,7 +4402,7 @@ var gt = { exports: {} };
|
|
|
4402
4402
|
return H.querySelector("option") == null && (H.classList.contains("ql-font") ? E(H, L) : H.classList.contains("ql-header") ? E(H, D) : H.classList.contains("ql-size") && E(H, C)), new A.default(H);
|
|
4403
4403
|
});
|
|
4404
4404
|
var U = function() {
|
|
4405
|
-
|
|
4405
|
+
I.pickers.forEach(function(V) {
|
|
4406
4406
|
V.update();
|
|
4407
4407
|
});
|
|
4408
4408
|
};
|
|
@@ -4423,8 +4423,8 @@ var gt = { exports: {} };
|
|
|
4423
4423
|
if (F.files != null && F.files[0] != null) {
|
|
4424
4424
|
var B = new FileReader();
|
|
4425
4425
|
B.onload = function(x) {
|
|
4426
|
-
var
|
|
4427
|
-
q.quill.updateContents(new c.default().retain(
|
|
4426
|
+
var I = q.quill.getSelection(!0);
|
|
4427
|
+
q.quill.updateContents(new c.default().retain(I.index).delete(I.length).insert({ image: x.target.result }), t.default.sources.USER), q.quill.setSelection(I.index + 1, t.default.sources.SILENT), F.value = "";
|
|
4428
4428
|
}, B.readAsDataURL(F.files[0]);
|
|
4429
4429
|
}
|
|
4430
4430
|
}), this.container.appendChild(F)), F.click();
|
|
@@ -4482,9 +4482,9 @@ var gt = { exports: {} };
|
|
|
4482
4482
|
B = R(B);
|
|
4483
4483
|
case "formula": {
|
|
4484
4484
|
if (!B) break;
|
|
4485
|
-
var
|
|
4486
|
-
if (
|
|
4487
|
-
var U =
|
|
4485
|
+
var I = this.quill.getSelection(!0);
|
|
4486
|
+
if (I != null) {
|
|
4487
|
+
var U = I.index + I.length;
|
|
4488
4488
|
this.quill.insertEmbed(U, this.root.getAttribute("data-mode"), B, t.default.sources.USER), this.root.getAttribute("data-mode") === "formula" && this.quill.insertText(U + 1, " ", t.default.sources.USER), this.quill.setSelection(U + 2, t.default.sources.USER);
|
|
4489
4489
|
}
|
|
4490
4490
|
break;
|
|
@@ -4509,7 +4509,7 @@ var gt = { exports: {} };
|
|
|
4509
4509
|
},
|
|
4510
4510
|
/* 44 */
|
|
4511
4511
|
/***/
|
|
4512
|
-
function(
|
|
4512
|
+
function(j, b, d) {
|
|
4513
4513
|
Object.defineProperty(b, "__esModule", { value: !0 });
|
|
4514
4514
|
var P = (
|
|
4515
4515
|
/** @class */
|
|
@@ -4575,7 +4575,7 @@ var gt = { exports: {} };
|
|
|
4575
4575
|
},
|
|
4576
4576
|
/* 45 */
|
|
4577
4577
|
/***/
|
|
4578
|
-
function(
|
|
4578
|
+
function(j, b, d) {
|
|
4579
4579
|
var P = this && this.__extends || function() {
|
|
4580
4580
|
var o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, e) {
|
|
4581
4581
|
t.__proto__ = e;
|
|
@@ -4658,7 +4658,7 @@ var gt = { exports: {} };
|
|
|
4658
4658
|
},
|
|
4659
4659
|
/* 46 */
|
|
4660
4660
|
/***/
|
|
4661
|
-
function(
|
|
4661
|
+
function(j, b, d) {
|
|
4662
4662
|
var P = this && this.__extends || function() {
|
|
4663
4663
|
var c = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, t) {
|
|
4664
4664
|
o.__proto__ = t;
|
|
@@ -4718,7 +4718,7 @@ var gt = { exports: {} };
|
|
|
4718
4718
|
},
|
|
4719
4719
|
/* 47 */
|
|
4720
4720
|
/***/
|
|
4721
|
-
function(
|
|
4721
|
+
function(j, b, d) {
|
|
4722
4722
|
var P = this && this.__extends || function() {
|
|
4723
4723
|
var v = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, o) {
|
|
4724
4724
|
c.__proto__ = o;
|
|
@@ -4765,7 +4765,7 @@ var gt = { exports: {} };
|
|
|
4765
4765
|
},
|
|
4766
4766
|
/* 48 */
|
|
4767
4767
|
/***/
|
|
4768
|
-
function(
|
|
4768
|
+
function(j, b, d) {
|
|
4769
4769
|
var P = this && this.__extends || function() {
|
|
4770
4770
|
var y = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(v, c) {
|
|
4771
4771
|
v.__proto__ = c;
|
|
@@ -4802,7 +4802,7 @@ var gt = { exports: {} };
|
|
|
4802
4802
|
},
|
|
4803
4803
|
/* 49 */
|
|
4804
4804
|
/***/
|
|
4805
|
-
function(
|
|
4805
|
+
function(j, b, d) {
|
|
4806
4806
|
var P = this && this.__extends || function() {
|
|
4807
4807
|
var v = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, o) {
|
|
4808
4808
|
c.__proto__ = o;
|
|
@@ -4866,7 +4866,7 @@ var gt = { exports: {} };
|
|
|
4866
4866
|
},
|
|
4867
4867
|
/* 50 */
|
|
4868
4868
|
/***/
|
|
4869
|
-
function(
|
|
4869
|
+
function(j, b, d) {
|
|
4870
4870
|
var P = document.createElement("div");
|
|
4871
4871
|
if (P.classList.toggle("test-class", !1), P.classList.contains("test-class")) {
|
|
4872
4872
|
var w = DOMTokenList.prototype.toggle;
|
|
@@ -4897,7 +4897,7 @@ var gt = { exports: {} };
|
|
|
4897
4897
|
},
|
|
4898
4898
|
/* 51 */
|
|
4899
4899
|
/***/
|
|
4900
|
-
function(
|
|
4900
|
+
function(j, b) {
|
|
4901
4901
|
var d = -1, P = 1, w = 0;
|
|
4902
4902
|
function _(n, s, A) {
|
|
4903
4903
|
if (n == s)
|
|
@@ -4955,17 +4955,17 @@ var gt = { exports: {} };
|
|
|
4955
4955
|
}
|
|
4956
4956
|
}
|
|
4957
4957
|
}
|
|
4958
|
-
for (var
|
|
4959
|
-
var B = N +
|
|
4960
|
-
|
|
4961
|
-
for (var U = x -
|
|
4958
|
+
for (var I = -R + Z; I <= R - M; I += 2) {
|
|
4959
|
+
var B = N + I, x;
|
|
4960
|
+
I == -R || I != R && p[B - 1] < p[B + 1] ? x = p[B + 1] : x = p[B - 1] + 1;
|
|
4961
|
+
for (var U = x - I; x < A && U < g && n.charAt(A - x - 1) == s.charAt(g - U - 1); )
|
|
4962
4962
|
x++, U++;
|
|
4963
4963
|
if (p[B] = x, x > A)
|
|
4964
4964
|
M += 2;
|
|
4965
4965
|
else if (U > g)
|
|
4966
4966
|
Z += 2;
|
|
4967
4967
|
else if (!L) {
|
|
4968
|
-
var S = N + T -
|
|
4968
|
+
var S = N + T - I;
|
|
4969
4969
|
if (S >= 0 && S < m && h[S] != -1) {
|
|
4970
4970
|
var q = h[S], F = N + q - S;
|
|
4971
4971
|
if (x = A - x, q >= x)
|
|
@@ -5000,14 +5000,14 @@ var gt = { exports: {} };
|
|
|
5000
5000
|
return null;
|
|
5001
5001
|
function O(C, Z, M) {
|
|
5002
5002
|
for (var R = C.substring(M, M + Math.floor(C.length / 4)), E = -1, S = "", q, F, B, x; (E = Z.indexOf(R, E + 1)) != -1; ) {
|
|
5003
|
-
var
|
|
5003
|
+
var I = o(
|
|
5004
5004
|
C.substring(M),
|
|
5005
5005
|
Z.substring(E)
|
|
5006
5006
|
), U = t(
|
|
5007
5007
|
C.substring(0, M),
|
|
5008
5008
|
Z.substring(0, E)
|
|
5009
5009
|
);
|
|
5010
|
-
S.length < U +
|
|
5010
|
+
S.length < U + I && (S = Z.substring(E - U, E) + Z.substring(E, E + I), q = C.substring(0, M - U), F = C.substring(M + I), B = Z.substring(0, E - U), x = Z.substring(E + I));
|
|
5011
5011
|
}
|
|
5012
5012
|
return S.length * 2 >= C.length ? [
|
|
5013
5013
|
q,
|
|
@@ -5071,7 +5071,7 @@ var gt = { exports: {} };
|
|
|
5071
5071
|
h && u(n);
|
|
5072
5072
|
}
|
|
5073
5073
|
var l = _;
|
|
5074
|
-
l.INSERT = P, l.DELETE = d, l.EQUAL = w,
|
|
5074
|
+
l.INSERT = P, l.DELETE = d, l.EQUAL = w, j.exports = l;
|
|
5075
5075
|
function a(n, s) {
|
|
5076
5076
|
if (s === 0)
|
|
5077
5077
|
return [w, n];
|
|
@@ -5130,8 +5130,8 @@ var gt = { exports: {} };
|
|
|
5130
5130
|
},
|
|
5131
5131
|
/* 52 */
|
|
5132
5132
|
/***/
|
|
5133
|
-
function(
|
|
5134
|
-
b =
|
|
5133
|
+
function(j, b) {
|
|
5134
|
+
b = j.exports = typeof Object.keys == "function" ? Object.keys : d, b.shim = d;
|
|
5135
5135
|
function d(P) {
|
|
5136
5136
|
var w = [];
|
|
5137
5137
|
for (var _ in P) w.push(_);
|
|
@@ -5140,11 +5140,11 @@ var gt = { exports: {} };
|
|
|
5140
5140
|
},
|
|
5141
5141
|
/* 53 */
|
|
5142
5142
|
/***/
|
|
5143
|
-
function(
|
|
5143
|
+
function(j, b) {
|
|
5144
5144
|
var d = function() {
|
|
5145
5145
|
return Object.prototype.toString.call(arguments);
|
|
5146
5146
|
}() == "[object Arguments]";
|
|
5147
|
-
b =
|
|
5147
|
+
b = j.exports = d ? P : w, b.supported = P;
|
|
5148
5148
|
function P(_) {
|
|
5149
5149
|
return Object.prototype.toString.call(_) == "[object Arguments]";
|
|
5150
5150
|
}
|
|
@@ -5155,7 +5155,7 @@ var gt = { exports: {} };
|
|
|
5155
5155
|
},
|
|
5156
5156
|
/* 54 */
|
|
5157
5157
|
/***/
|
|
5158
|
-
function(
|
|
5158
|
+
function(j, b) {
|
|
5159
5159
|
var d = Object.prototype.hasOwnProperty, P = "~";
|
|
5160
5160
|
function w() {
|
|
5161
5161
|
}
|
|
@@ -5250,11 +5250,11 @@ var gt = { exports: {} };
|
|
|
5250
5250
|
return c ? (o = P ? P + c : c, this._events[o] && (--this._eventsCount === 0 ? this._events = new w() : delete this._events[o])) : (this._events = new w(), this._eventsCount = 0), this;
|
|
5251
5251
|
}, y.prototype.off = y.prototype.removeListener, y.prototype.addListener = y.prototype.on, y.prototype.setMaxListeners = function() {
|
|
5252
5252
|
return this;
|
|
5253
|
-
}, y.prefixed = P, y.EventEmitter = y, typeof
|
|
5253
|
+
}, y.prefixed = P, y.EventEmitter = y, typeof j < "u" && (j.exports = y);
|
|
5254
5254
|
},
|
|
5255
5255
|
/* 55 */
|
|
5256
5256
|
/***/
|
|
5257
|
-
function(
|
|
5257
|
+
function(j, b, d) {
|
|
5258
5258
|
Object.defineProperty(b, "__esModule", {
|
|
5259
5259
|
value: !0
|
|
5260
5260
|
}), b.matchText = b.matchSpacing = b.matchNewline = b.matchBlot = b.matchAttributor = b.default = void 0;
|
|
@@ -5346,7 +5346,7 @@ var gt = { exports: {} };
|
|
|
5346
5346
|
var J = this.container.innerText;
|
|
5347
5347
|
return this.container.innerHTML = "", new o.default().insert(J, k({}, g.default.blotName, $[g.default.blotName]));
|
|
5348
5348
|
}
|
|
5349
|
-
var tt = this.prepareMatching(), et = w(tt, 2), ft = et[0], ct = et[1], ot =
|
|
5349
|
+
var tt = this.prepareMatching(), et = w(tt, 2), ft = et[0], ct = et[1], ot = I(this.container, ft, ct);
|
|
5350
5350
|
return B(ot, `
|
|
5351
5351
|
`) && ot.ops[ot.ops.length - 1].attributes == null && (ot = ot.compose(new o.default().retain(ot.length() - 1).delete(1))), C.log("convert", this.container.innerHTML, ot), this.container.innerHTML = "", ot;
|
|
5352
5352
|
}
|
|
@@ -5424,11 +5424,11 @@ var gt = { exports: {} };
|
|
|
5424
5424
|
var K = F(z);
|
|
5425
5425
|
return ["block", "list-item"].indexOf(K.display) > -1;
|
|
5426
5426
|
}
|
|
5427
|
-
function
|
|
5427
|
+
function I(z, K, W) {
|
|
5428
5428
|
return z.nodeType === z.TEXT_NODE ? W.reduce(function(G, $) {
|
|
5429
5429
|
return $(z, G);
|
|
5430
5430
|
}, new o.default()) : z.nodeType === z.ELEMENT_NODE ? [].reduce.call(z.childNodes || [], function(G, $) {
|
|
5431
|
-
var J =
|
|
5431
|
+
var J = I($, K, W);
|
|
5432
5432
|
return $.nodeType === z.ELEMENT_NODE && (J = K.reduce(function(tt, et) {
|
|
5433
5433
|
return et($, tt);
|
|
5434
5434
|
}, J), J = ($[Z] || []).reduce(function(tt, et) {
|
|
@@ -5509,7 +5509,7 @@ var gt = { exports: {} };
|
|
|
5509
5509
|
},
|
|
5510
5510
|
/* 56 */
|
|
5511
5511
|
/***/
|
|
5512
|
-
function(
|
|
5512
|
+
function(j, b, d) {
|
|
5513
5513
|
Object.defineProperty(b, "__esModule", {
|
|
5514
5514
|
value: !0
|
|
5515
5515
|
});
|
|
@@ -5579,7 +5579,7 @@ var gt = { exports: {} };
|
|
|
5579
5579
|
},
|
|
5580
5580
|
/* 57 */
|
|
5581
5581
|
/***/
|
|
5582
|
-
function(
|
|
5582
|
+
function(j, b, d) {
|
|
5583
5583
|
Object.defineProperty(b, "__esModule", {
|
|
5584
5584
|
value: !0
|
|
5585
5585
|
}), b.addControls = b.default = void 0;
|
|
@@ -5796,12 +5796,12 @@ var gt = { exports: {} };
|
|
|
5796
5796
|
},
|
|
5797
5797
|
/* 58 */
|
|
5798
5798
|
/***/
|
|
5799
|
-
function(
|
|
5800
|
-
|
|
5799
|
+
function(j, b) {
|
|
5800
|
+
j.exports = '<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>';
|
|
5801
5801
|
},
|
|
5802
5802
|
/* 59 */
|
|
5803
5803
|
/***/
|
|
5804
|
-
function(
|
|
5804
|
+
function(j, b, d) {
|
|
5805
5805
|
Object.defineProperty(b, "__esModule", {
|
|
5806
5806
|
value: !0
|
|
5807
5807
|
});
|
|
@@ -5873,7 +5873,7 @@ var gt = { exports: {} };
|
|
|
5873
5873
|
},
|
|
5874
5874
|
/* 60 */
|
|
5875
5875
|
/***/
|
|
5876
|
-
function(
|
|
5876
|
+
function(j, b, d) {
|
|
5877
5877
|
Object.defineProperty(b, "__esModule", {
|
|
5878
5878
|
value: !0
|
|
5879
5879
|
});
|
|
@@ -5937,7 +5937,7 @@ var gt = { exports: {} };
|
|
|
5937
5937
|
},
|
|
5938
5938
|
/* 61 */
|
|
5939
5939
|
/***/
|
|
5940
|
-
function(
|
|
5940
|
+
function(j, b, d) {
|
|
5941
5941
|
Object.defineProperty(b, "__esModule", {
|
|
5942
5942
|
value: !0
|
|
5943
5943
|
});
|
|
@@ -5991,7 +5991,7 @@ var gt = { exports: {} };
|
|
|
5991
5991
|
},
|
|
5992
5992
|
/* 62 */
|
|
5993
5993
|
/***/
|
|
5994
|
-
function(
|
|
5994
|
+
function(j, b, d) {
|
|
5995
5995
|
Object.defineProperty(b, "__esModule", {
|
|
5996
5996
|
value: !0
|
|
5997
5997
|
});
|
|
@@ -6140,11 +6140,11 @@ var gt = { exports: {} };
|
|
|
6140
6140
|
},
|
|
6141
6141
|
/* 63 */
|
|
6142
6142
|
/***/
|
|
6143
|
-
function(
|
|
6143
|
+
function(j, b, d) {
|
|
6144
6144
|
Object.defineProperty(b, "__esModule", {
|
|
6145
6145
|
value: !0
|
|
6146
6146
|
});
|
|
6147
|
-
var P = d(29), w = $(P), _ = d(36), y = d(38), v = d(64), c = d(65), o = $(c), t = d(66), e = $(t), u = d(67), l = $(u), a = d(37), r = d(26), i = d(39), f = d(40), n = d(56), s = $(n), A = d(68), g = $(A), O = d(27), N = $(O), m = d(69), h = $(m), p = d(70), k = $(p), T = d(71), L = $(T), D = d(72), C = $(D), Z = d(73), M = $(Z), R = d(13), E = $(R), S = d(74), q = $(S), F = d(75), B = $(F), x = d(57),
|
|
6147
|
+
var P = d(29), w = $(P), _ = d(36), y = d(38), v = d(64), c = d(65), o = $(c), t = d(66), e = $(t), u = d(67), l = $(u), a = d(37), r = d(26), i = d(39), f = d(40), n = d(56), s = $(n), A = d(68), g = $(A), O = d(27), N = $(O), m = d(69), h = $(m), p = d(70), k = $(p), T = d(71), L = $(T), D = d(72), C = $(D), Z = d(73), M = $(Z), R = d(13), E = $(R), S = d(74), q = $(S), F = d(75), B = $(F), x = d(57), I = $(x), U = d(41), H = $(U), V = d(28), Y = $(V), X = d(59), Q = $(X), nt = d(60), rt = $(nt), ut = d(61), at = $(ut), z = d(108), K = $(z), W = d(62), G = $(W);
|
|
6148
6148
|
function $(J) {
|
|
6149
6149
|
return J && J.__esModule ? J : { default: J };
|
|
6150
6150
|
}
|
|
@@ -6186,7 +6186,7 @@ var gt = { exports: {} };
|
|
|
6186
6186
|
"formats/list/item": u.ListItem,
|
|
6187
6187
|
"modules/formula": q.default,
|
|
6188
6188
|
"modules/syntax": B.default,
|
|
6189
|
-
"modules/toolbar":
|
|
6189
|
+
"modules/toolbar": I.default,
|
|
6190
6190
|
"themes/bubble": K.default,
|
|
6191
6191
|
"themes/snow": G.default,
|
|
6192
6192
|
"ui/icons": H.default,
|
|
@@ -6198,7 +6198,7 @@ var gt = { exports: {} };
|
|
|
6198
6198
|
},
|
|
6199
6199
|
/* 64 */
|
|
6200
6200
|
/***/
|
|
6201
|
-
function(
|
|
6201
|
+
function(j, b, d) {
|
|
6202
6202
|
Object.defineProperty(b, "__esModule", {
|
|
6203
6203
|
value: !0
|
|
6204
6204
|
}), b.IndentClass = void 0;
|
|
@@ -6275,7 +6275,7 @@ var gt = { exports: {} };
|
|
|
6275
6275
|
},
|
|
6276
6276
|
/* 65 */
|
|
6277
6277
|
/***/
|
|
6278
|
-
function(
|
|
6278
|
+
function(j, b, d) {
|
|
6279
6279
|
Object.defineProperty(b, "__esModule", {
|
|
6280
6280
|
value: !0
|
|
6281
6281
|
});
|
|
@@ -6308,7 +6308,7 @@ var gt = { exports: {} };
|
|
|
6308
6308
|
},
|
|
6309
6309
|
/* 66 */
|
|
6310
6310
|
/***/
|
|
6311
|
-
function(
|
|
6311
|
+
function(j, b, d) {
|
|
6312
6312
|
Object.defineProperty(b, "__esModule", {
|
|
6313
6313
|
value: !0
|
|
6314
6314
|
});
|
|
@@ -6356,7 +6356,7 @@ var gt = { exports: {} };
|
|
|
6356
6356
|
},
|
|
6357
6357
|
/* 67 */
|
|
6358
6358
|
/***/
|
|
6359
|
-
function(
|
|
6359
|
+
function(j, b, d) {
|
|
6360
6360
|
Object.defineProperty(b, "__esModule", {
|
|
6361
6361
|
value: !0
|
|
6362
6362
|
}), b.default = b.ListItem = void 0;
|
|
@@ -6498,7 +6498,7 @@ var gt = { exports: {} };
|
|
|
6498
6498
|
},
|
|
6499
6499
|
/* 68 */
|
|
6500
6500
|
/***/
|
|
6501
|
-
function(
|
|
6501
|
+
function(j, b, d) {
|
|
6502
6502
|
Object.defineProperty(b, "__esModule", {
|
|
6503
6503
|
value: !0
|
|
6504
6504
|
});
|
|
@@ -6531,7 +6531,7 @@ var gt = { exports: {} };
|
|
|
6531
6531
|
},
|
|
6532
6532
|
/* 69 */
|
|
6533
6533
|
/***/
|
|
6534
|
-
function(
|
|
6534
|
+
function(j, b, d) {
|
|
6535
6535
|
Object.defineProperty(b, "__esModule", {
|
|
6536
6536
|
value: !0
|
|
6537
6537
|
});
|
|
@@ -6597,7 +6597,7 @@ var gt = { exports: {} };
|
|
|
6597
6597
|
},
|
|
6598
6598
|
/* 70 */
|
|
6599
6599
|
/***/
|
|
6600
|
-
function(
|
|
6600
|
+
function(j, b, d) {
|
|
6601
6601
|
Object.defineProperty(b, "__esModule", {
|
|
6602
6602
|
value: !0
|
|
6603
6603
|
});
|
|
@@ -6630,7 +6630,7 @@ var gt = { exports: {} };
|
|
|
6630
6630
|
},
|
|
6631
6631
|
/* 71 */
|
|
6632
6632
|
/***/
|
|
6633
|
-
function(
|
|
6633
|
+
function(j, b, d) {
|
|
6634
6634
|
Object.defineProperty(b, "__esModule", {
|
|
6635
6635
|
value: !0
|
|
6636
6636
|
});
|
|
@@ -6663,7 +6663,7 @@ var gt = { exports: {} };
|
|
|
6663
6663
|
},
|
|
6664
6664
|
/* 72 */
|
|
6665
6665
|
/***/
|
|
6666
|
-
function(
|
|
6666
|
+
function(j, b, d) {
|
|
6667
6667
|
Object.defineProperty(b, "__esModule", {
|
|
6668
6668
|
value: !0
|
|
6669
6669
|
});
|
|
@@ -6751,7 +6751,7 @@ var gt = { exports: {} };
|
|
|
6751
6751
|
},
|
|
6752
6752
|
/* 73 */
|
|
6753
6753
|
/***/
|
|
6754
|
-
function(
|
|
6754
|
+
function(j, b, d) {
|
|
6755
6755
|
Object.defineProperty(b, "__esModule", {
|
|
6756
6756
|
value: !0
|
|
6757
6757
|
});
|
|
@@ -6834,7 +6834,7 @@ var gt = { exports: {} };
|
|
|
6834
6834
|
},
|
|
6835
6835
|
/* 74 */
|
|
6836
6836
|
/***/
|
|
6837
|
-
function(
|
|
6837
|
+
function(j, b, d) {
|
|
6838
6838
|
Object.defineProperty(b, "__esModule", {
|
|
6839
6839
|
value: !0
|
|
6840
6840
|
}), b.default = b.FormulaBlot = void 0;
|
|
@@ -6920,7 +6920,7 @@ var gt = { exports: {} };
|
|
|
6920
6920
|
},
|
|
6921
6921
|
/* 75 */
|
|
6922
6922
|
/***/
|
|
6923
|
-
function(
|
|
6923
|
+
function(j, b, d) {
|
|
6924
6924
|
Object.defineProperty(b, "__esModule", {
|
|
6925
6925
|
value: !0
|
|
6926
6926
|
}), b.default = b.CodeToken = b.CodeBlock = void 0;
|
|
@@ -7030,167 +7030,167 @@ var gt = { exports: {} };
|
|
|
7030
7030
|
},
|
|
7031
7031
|
/* 76 */
|
|
7032
7032
|
/***/
|
|
7033
|
-
function(
|
|
7034
|
-
|
|
7033
|
+
function(j, b) {
|
|
7034
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>';
|
|
7035
7035
|
},
|
|
7036
7036
|
/* 77 */
|
|
7037
7037
|
/***/
|
|
7038
|
-
function(
|
|
7039
|
-
|
|
7038
|
+
function(j, b) {
|
|
7039
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>';
|
|
7040
7040
|
},
|
|
7041
7041
|
/* 78 */
|
|
7042
7042
|
/***/
|
|
7043
|
-
function(
|
|
7044
|
-
|
|
7043
|
+
function(j, b) {
|
|
7044
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>';
|
|
7045
7045
|
},
|
|
7046
7046
|
/* 79 */
|
|
7047
7047
|
/***/
|
|
7048
|
-
function(
|
|
7049
|
-
|
|
7048
|
+
function(j, b) {
|
|
7049
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>';
|
|
7050
7050
|
},
|
|
7051
7051
|
/* 80 */
|
|
7052
7052
|
/***/
|
|
7053
|
-
function(
|
|
7054
|
-
|
|
7053
|
+
function(j, b) {
|
|
7054
|
+
j.exports = '<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>';
|
|
7055
7055
|
},
|
|
7056
7056
|
/* 81 */
|
|
7057
7057
|
/***/
|
|
7058
|
-
function(
|
|
7059
|
-
|
|
7058
|
+
function(j, b) {
|
|
7059
|
+
j.exports = '<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>';
|
|
7060
7060
|
},
|
|
7061
7061
|
/* 82 */
|
|
7062
7062
|
/***/
|
|
7063
|
-
function(
|
|
7064
|
-
|
|
7063
|
+
function(j, b) {
|
|
7064
|
+
j.exports = '<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>';
|
|
7065
7065
|
},
|
|
7066
7066
|
/* 83 */
|
|
7067
7067
|
/***/
|
|
7068
|
-
function(
|
|
7069
|
-
|
|
7068
|
+
function(j, b) {
|
|
7069
|
+
j.exports = '<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>';
|
|
7070
7070
|
},
|
|
7071
7071
|
/* 84 */
|
|
7072
7072
|
/***/
|
|
7073
|
-
function(
|
|
7074
|
-
|
|
7073
|
+
function(j, b) {
|
|
7074
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>';
|
|
7075
7075
|
},
|
|
7076
7076
|
/* 85 */
|
|
7077
7077
|
/***/
|
|
7078
|
-
function(
|
|
7079
|
-
|
|
7078
|
+
function(j, b) {
|
|
7079
|
+
j.exports = '<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>';
|
|
7080
7080
|
},
|
|
7081
7081
|
/* 86 */
|
|
7082
7082
|
/***/
|
|
7083
|
-
function(
|
|
7084
|
-
|
|
7083
|
+
function(j, b) {
|
|
7084
|
+
j.exports = '<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>';
|
|
7085
7085
|
},
|
|
7086
7086
|
/* 87 */
|
|
7087
7087
|
/***/
|
|
7088
|
-
function(
|
|
7089
|
-
|
|
7088
|
+
function(j, b) {
|
|
7089
|
+
j.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>';
|
|
7090
7090
|
},
|
|
7091
7091
|
/* 88 */
|
|
7092
7092
|
/***/
|
|
7093
|
-
function(
|
|
7094
|
-
|
|
7093
|
+
function(j, b) {
|
|
7094
|
+
j.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>';
|
|
7095
7095
|
},
|
|
7096
7096
|
/* 89 */
|
|
7097
7097
|
/***/
|
|
7098
|
-
function(
|
|
7099
|
-
|
|
7098
|
+
function(j, b) {
|
|
7099
|
+
j.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>';
|
|
7100
7100
|
},
|
|
7101
7101
|
/* 90 */
|
|
7102
7102
|
/***/
|
|
7103
|
-
function(
|
|
7104
|
-
|
|
7103
|
+
function(j, b) {
|
|
7104
|
+
j.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>';
|
|
7105
7105
|
},
|
|
7106
7106
|
/* 91 */
|
|
7107
7107
|
/***/
|
|
7108
|
-
function(
|
|
7109
|
-
|
|
7108
|
+
function(j, b) {
|
|
7109
|
+
j.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>';
|
|
7110
7110
|
},
|
|
7111
7111
|
/* 92 */
|
|
7112
7112
|
/***/
|
|
7113
|
-
function(
|
|
7114
|
-
|
|
7113
|
+
function(j, b) {
|
|
7114
|
+
j.exports = '<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>';
|
|
7115
7115
|
},
|
|
7116
7116
|
/* 93 */
|
|
7117
7117
|
/***/
|
|
7118
|
-
function(
|
|
7119
|
-
|
|
7118
|
+
function(j, b) {
|
|
7119
|
+
j.exports = '<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>';
|
|
7120
7120
|
},
|
|
7121
7121
|
/* 94 */
|
|
7122
7122
|
/***/
|
|
7123
|
-
function(
|
|
7124
|
-
|
|
7123
|
+
function(j, b) {
|
|
7124
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>';
|
|
7125
7125
|
},
|
|
7126
7126
|
/* 95 */
|
|
7127
7127
|
/***/
|
|
7128
|
-
function(
|
|
7129
|
-
|
|
7128
|
+
function(j, b) {
|
|
7129
|
+
j.exports = '<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>';
|
|
7130
7130
|
},
|
|
7131
7131
|
/* 96 */
|
|
7132
7132
|
/***/
|
|
7133
|
-
function(
|
|
7134
|
-
|
|
7133
|
+
function(j, b) {
|
|
7134
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>';
|
|
7135
7135
|
},
|
|
7136
7136
|
/* 97 */
|
|
7137
7137
|
/***/
|
|
7138
|
-
function(
|
|
7139
|
-
|
|
7138
|
+
function(j, b) {
|
|
7139
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>';
|
|
7140
7140
|
},
|
|
7141
7141
|
/* 98 */
|
|
7142
7142
|
/***/
|
|
7143
|
-
function(
|
|
7144
|
-
|
|
7143
|
+
function(j, b) {
|
|
7144
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>';
|
|
7145
7145
|
},
|
|
7146
7146
|
/* 99 */
|
|
7147
7147
|
/***/
|
|
7148
|
-
function(
|
|
7149
|
-
|
|
7148
|
+
function(j, b) {
|
|
7149
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>';
|
|
7150
7150
|
},
|
|
7151
7151
|
/* 100 */
|
|
7152
7152
|
/***/
|
|
7153
|
-
function(
|
|
7154
|
-
|
|
7153
|
+
function(j, b) {
|
|
7154
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>';
|
|
7155
7155
|
},
|
|
7156
7156
|
/* 101 */
|
|
7157
7157
|
/***/
|
|
7158
|
-
function(
|
|
7159
|
-
|
|
7158
|
+
function(j, b) {
|
|
7159
|
+
j.exports = '<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>';
|
|
7160
7160
|
},
|
|
7161
7161
|
/* 102 */
|
|
7162
7162
|
/***/
|
|
7163
|
-
function(
|
|
7164
|
-
|
|
7163
|
+
function(j, b) {
|
|
7164
|
+
j.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>';
|
|
7165
7165
|
},
|
|
7166
7166
|
/* 103 */
|
|
7167
7167
|
/***/
|
|
7168
|
-
function(
|
|
7169
|
-
|
|
7168
|
+
function(j, b) {
|
|
7169
|
+
j.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>';
|
|
7170
7170
|
},
|
|
7171
7171
|
/* 104 */
|
|
7172
7172
|
/***/
|
|
7173
|
-
function(
|
|
7174
|
-
|
|
7173
|
+
function(j, b) {
|
|
7174
|
+
j.exports = '<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>';
|
|
7175
7175
|
},
|
|
7176
7176
|
/* 105 */
|
|
7177
7177
|
/***/
|
|
7178
|
-
function(
|
|
7179
|
-
|
|
7178
|
+
function(j, b) {
|
|
7179
|
+
j.exports = '<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>';
|
|
7180
7180
|
},
|
|
7181
7181
|
/* 106 */
|
|
7182
7182
|
/***/
|
|
7183
|
-
function(
|
|
7184
|
-
|
|
7183
|
+
function(j, b) {
|
|
7184
|
+
j.exports = '<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>';
|
|
7185
7185
|
},
|
|
7186
7186
|
/* 107 */
|
|
7187
7187
|
/***/
|
|
7188
|
-
function(
|
|
7189
|
-
|
|
7188
|
+
function(j, b) {
|
|
7189
|
+
j.exports = '<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>';
|
|
7190
7190
|
},
|
|
7191
7191
|
/* 108 */
|
|
7192
7192
|
/***/
|
|
7193
|
-
function(
|
|
7193
|
+
function(j, b, d) {
|
|
7194
7194
|
Object.defineProperty(b, "__esModule", {
|
|
7195
7195
|
value: !0
|
|
7196
7196
|
}), b.default = b.BubbleTooltip = void 0;
|
|
@@ -7311,8 +7311,8 @@ var gt = { exports: {} };
|
|
|
7311
7311
|
},
|
|
7312
7312
|
/* 109 */
|
|
7313
7313
|
/***/
|
|
7314
|
-
function(
|
|
7315
|
-
|
|
7314
|
+
function(j, b, d) {
|
|
7315
|
+
j.exports = d(63);
|
|
7316
7316
|
}
|
|
7317
7317
|
/******/
|
|
7318
7318
|
]).default
|
|
@@ -7321,10 +7321,10 @@ var gt = { exports: {} };
|
|
|
7321
7321
|
})(gt);
|
|
7322
7322
|
var Pt = gt.exports;
|
|
7323
7323
|
const yt = /* @__PURE__ */ St(Pt), qt = (it, st) => {
|
|
7324
|
-
const
|
|
7324
|
+
const j = it.__vccOpts || it;
|
|
7325
7325
|
for (const [b, d] of st)
|
|
7326
|
-
|
|
7327
|
-
return
|
|
7326
|
+
j[b] = d;
|
|
7327
|
+
return j;
|
|
7328
7328
|
}, Lt = {
|
|
7329
7329
|
theme: "snow",
|
|
7330
7330
|
boundary: document.body,
|
|
@@ -7365,25 +7365,25 @@ const yt = /* @__PURE__ */ St(Pt), qt = (it, st) => {
|
|
|
7365
7365
|
},
|
|
7366
7366
|
emits: ["ready", "change", "input", "blur", "focus", "update:value"],
|
|
7367
7367
|
setup(it, st) {
|
|
7368
|
-
const
|
|
7368
|
+
const j = {
|
|
7369
7369
|
editorOption: {},
|
|
7370
7370
|
quill: null
|
|
7371
7371
|
};
|
|
7372
7372
|
let b = "";
|
|
7373
|
-
|
|
7373
|
+
dt(
|
|
7374
7374
|
() => it.value,
|
|
7375
7375
|
(_) => {
|
|
7376
|
-
|
|
7376
|
+
j.quill && (_ && _ !== b ? (b = _, j.quill.pasteHTML(_)) : _ || j.quill.setText(""));
|
|
7377
7377
|
}
|
|
7378
|
-
),
|
|
7378
|
+
), dt(
|
|
7379
7379
|
() => it.content,
|
|
7380
7380
|
(_) => {
|
|
7381
|
-
|
|
7381
|
+
j.quill && (_ && _ !== b ? (b = _, j.quill.pasteHTML(_)) : _ || j.quill.setText(""));
|
|
7382
7382
|
}
|
|
7383
|
-
),
|
|
7383
|
+
), dt(
|
|
7384
7384
|
() => it.disabled,
|
|
7385
7385
|
(_) => {
|
|
7386
|
-
|
|
7386
|
+
j.quill && j.quill.enable(!_);
|
|
7387
7387
|
}
|
|
7388
7388
|
);
|
|
7389
7389
|
const d = _t(null), P = (_, y) => {
|
|
@@ -7391,14 +7391,14 @@ const yt = /* @__PURE__ */ St(Pt), qt = (it, st) => {
|
|
|
7391
7391
|
!_[v] || v !== "modules" ? _[v] = y[v] : P(_[v], y[v]);
|
|
7392
7392
|
return _;
|
|
7393
7393
|
}, w = () => {
|
|
7394
|
-
d.value && (
|
|
7395
|
-
_ ? st.emit("focus",
|
|
7396
|
-
}),
|
|
7397
|
-
it.disabled &&
|
|
7394
|
+
d.value && (j.editorOption = P(Lt, it.options), j.editorOption.readOnly = !!it.disabled, j.quill = new yt(d.value, j.editorOption), it.value && j.quill.pasteHTML(it.value), j.quill.on("selection-change", (_) => {
|
|
7395
|
+
_ ? st.emit("focus", j.quill) : st.emit("blur", j.quill);
|
|
7396
|
+
}), j.quill.on("text-change", () => {
|
|
7397
|
+
it.disabled && j.quill.enable(!1);
|
|
7398
7398
|
let _ = d.value.children[0].innerHTML;
|
|
7399
|
-
const y =
|
|
7399
|
+
const y = j.quill, v = j.quill.getText();
|
|
7400
7400
|
_ === "<p><br></p>" && (_ = ""), b = _, st.emit("update:value", b), st.emit("change", { html: _, text: v, quill: y });
|
|
7401
|
-
}), st.emit("ready",
|
|
7401
|
+
}), st.emit("ready", j.quill));
|
|
7402
7402
|
};
|
|
7403
7403
|
return Ot(() => {
|
|
7404
7404
|
const _ = d.value.previousSibling;
|
|
@@ -7406,16 +7406,16 @@ const yt = /* @__PURE__ */ St(Pt), qt = (it, st) => {
|
|
|
7406
7406
|
}), Et(() => {
|
|
7407
7407
|
w();
|
|
7408
7408
|
}), kt(() => {
|
|
7409
|
-
|
|
7409
|
+
j.quill = null;
|
|
7410
7410
|
}), { editor: d };
|
|
7411
7411
|
}
|
|
7412
7412
|
}, jt = { ref: "editor" };
|
|
7413
|
-
function It(it, st,
|
|
7413
|
+
function It(it, st, j, b, d, P) {
|
|
7414
7414
|
return mt(), At("section", jt, null, 512);
|
|
7415
7415
|
}
|
|
7416
|
-
const
|
|
7417
|
-
|
|
7418
|
-
it.component(
|
|
7416
|
+
const vt = /* @__PURE__ */ qt(Rt, [["render", It]]);
|
|
7417
|
+
vt.install = function(it) {
|
|
7418
|
+
it.component(vt.name, vt);
|
|
7419
7419
|
};
|
|
7420
7420
|
const Mt = {
|
|
7421
7421
|
name: "ndsc-vue-quill"
|
|
@@ -7433,13 +7433,20 @@ const Mt = {
|
|
|
7433
7433
|
},
|
|
7434
7434
|
emits: ["update:value"],
|
|
7435
7435
|
setup(it, { emit: st }) {
|
|
7436
|
-
const
|
|
7436
|
+
const j = it, b = st;
|
|
7437
|
+
dt(
|
|
7438
|
+
() => j.value,
|
|
7439
|
+
(c) => {
|
|
7440
|
+
P.content = j.value;
|
|
7441
|
+
}
|
|
7442
|
+
);
|
|
7443
|
+
const d = yt.import("attributors/style/size");
|
|
7437
7444
|
d.whitelist = ["10px", "12px", "14px", "16px", "18px", "20px", "24px", "32px", "48px"], yt.register(d, !0);
|
|
7438
7445
|
const P = wt({
|
|
7439
7446
|
content: "",
|
|
7440
7447
|
_content: "",
|
|
7441
7448
|
editorOption: {
|
|
7442
|
-
placeholder:
|
|
7449
|
+
placeholder: j.placeholder,
|
|
7443
7450
|
modules: {
|
|
7444
7451
|
toolbar: [
|
|
7445
7452
|
[{ color: [] }, { background: [] }],
|
|
@@ -7483,9 +7490,9 @@ const Mt = {
|
|
|
7483
7490
|
}, y = (c) => {
|
|
7484
7491
|
console.log("editor ready!", c);
|
|
7485
7492
|
}, v = ({ quill: c, html: o, text: t }) => {
|
|
7486
|
-
console.log("editor change!", c, o, t),
|
|
7493
|
+
console.log("editor change!", c, o, t), b("update:value", o);
|
|
7487
7494
|
};
|
|
7488
|
-
return (c, o) => (mt(), Nt(Tt(
|
|
7495
|
+
return (c, o) => (mt(), Nt(Tt(vt), {
|
|
7489
7496
|
value: P.content,
|
|
7490
7497
|
"onUpdate:value": o[0] || (o[0] = (t) => P.content = t),
|
|
7491
7498
|
options: P.editorOption,
|