@vizel/core 0.0.1-alpha.2 → 0.0.1-alpha.3
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/index10.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index14.js +1 -1
- package/dist/index20.js +2 -2
- package/dist/index21.js +2 -2
- package/dist/index22.js +3 -3
- package/dist/index26.js +1 -1
- package/dist/index3.js +1 -1
- package/dist/index31.js +2 -2
- package/dist/index34.js +63 -16
- package/dist/index35.js +4 -58
- package/dist/index36.js +123 -15
- package/dist/index37.js +316 -37
- package/dist/index38.js +481 -58
- package/dist/index39.js +48 -4
- package/dist/index4.js +1 -1
- package/dist/index40.js +664 -108
- package/dist/index41.js +4 -327
- package/dist/index42.js +4 -487
- package/dist/index43.js +206 -647
- package/dist/index44.js +82 -4
- package/dist/index45.js +17 -4
- package/dist/index46.js +57 -237
- package/dist/index47.js +15 -82
- package/dist/index48.js +190 -274
- package/dist/index49.js +274 -190
- package/dist/index5.js +1 -1
- package/dist/index50.js +1408 -1467
- package/dist/index51.js +5 -1502
- package/dist/index52.js +1533 -695
- package/dist/index53.js +723 -5
- package/dist/index54.js +84 -21
- package/dist/index55.js +246 -10
- package/dist/index56.js +3 -7
- package/dist/index57.js +1231 -7
- package/dist/index58.js +731 -11
- package/dist/index59.js +21 -19
- package/dist/index6.js +1 -1
- package/dist/index60.js +10 -25
- package/dist/index61.js +6 -83
- package/dist/index62.js +7 -245
- package/dist/index63.js +11 -1229
- package/dist/index64.js +17 -732
- package/dist/index65.js +25 -3
- package/dist/index8.js +1 -1
- package/dist/index9.js +1 -1
- package/package.json +1 -1
package/dist/index65.js
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
function l(e, i = "defs") {
|
|
2
|
+
let f = "";
|
|
3
|
+
const s = e.indexOf("<" + i);
|
|
4
|
+
for (; s >= 0; ) {
|
|
5
|
+
const d = e.indexOf(">", s), r = e.indexOf("</" + i);
|
|
6
|
+
if (d === -1 || r === -1) break;
|
|
7
|
+
const n = e.indexOf(">", r);
|
|
8
|
+
if (n === -1) break;
|
|
9
|
+
f += e.slice(d + 1, r).trim(), e = e.slice(0, s).trim() + e.slice(n + 1);
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
defs: f,
|
|
13
|
+
content: e
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function t(e, i) {
|
|
17
|
+
return e ? "<defs>" + e + "</defs>" + i : i;
|
|
18
|
+
}
|
|
19
|
+
function u(e, i, f) {
|
|
20
|
+
const s = l(e);
|
|
21
|
+
return t(s.defs, i + s.content + f);
|
|
22
|
+
}
|
|
2
23
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
24
|
+
t as mergeDefsAndContent,
|
|
25
|
+
l as splitSVGDefs,
|
|
26
|
+
u as wrapSVGContent
|
|
5
27
|
};
|
package/dist/index8.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Extension as f } from "@tiptap/core";
|
|
|
2
2
|
import p from "@tiptap/extension-drag-handle";
|
|
3
3
|
import { default as B } from "@tiptap/extension-drag-handle";
|
|
4
4
|
import { renderVizelIcon as m } from "./index22.js";
|
|
5
|
-
import { TextSelection as a } from "./
|
|
5
|
+
import { TextSelection as a } from "./index38.js";
|
|
6
6
|
function v(e = {}) {
|
|
7
7
|
const { enabled: o = !0 } = e;
|
|
8
8
|
if (!o)
|
package/dist/index9.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Node as w, mergeAttributes as f } from "@tiptap/core";
|
|
2
|
-
import { PluginKey as b, Plugin as v } from "./
|
|
2
|
+
import { PluginKey as b, Plugin as v } from "./index38.js";
|
|
3
3
|
const u = [
|
|
4
4
|
// Video - these providers support CORS on their oEmbed endpoints
|
|
5
5
|
{
|