@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.
Files changed (47) hide show
  1. package/dist/index10.js +1 -1
  2. package/dist/index11.js +2 -2
  3. package/dist/index14.js +1 -1
  4. package/dist/index20.js +2 -2
  5. package/dist/index21.js +2 -2
  6. package/dist/index22.js +3 -3
  7. package/dist/index26.js +1 -1
  8. package/dist/index3.js +1 -1
  9. package/dist/index31.js +2 -2
  10. package/dist/index34.js +63 -16
  11. package/dist/index35.js +4 -58
  12. package/dist/index36.js +123 -15
  13. package/dist/index37.js +316 -37
  14. package/dist/index38.js +481 -58
  15. package/dist/index39.js +48 -4
  16. package/dist/index4.js +1 -1
  17. package/dist/index40.js +664 -108
  18. package/dist/index41.js +4 -327
  19. package/dist/index42.js +4 -487
  20. package/dist/index43.js +206 -647
  21. package/dist/index44.js +82 -4
  22. package/dist/index45.js +17 -4
  23. package/dist/index46.js +57 -237
  24. package/dist/index47.js +15 -82
  25. package/dist/index48.js +190 -274
  26. package/dist/index49.js +274 -190
  27. package/dist/index5.js +1 -1
  28. package/dist/index50.js +1408 -1467
  29. package/dist/index51.js +5 -1502
  30. package/dist/index52.js +1533 -695
  31. package/dist/index53.js +723 -5
  32. package/dist/index54.js +84 -21
  33. package/dist/index55.js +246 -10
  34. package/dist/index56.js +3 -7
  35. package/dist/index57.js +1231 -7
  36. package/dist/index58.js +731 -11
  37. package/dist/index59.js +21 -19
  38. package/dist/index6.js +1 -1
  39. package/dist/index60.js +10 -25
  40. package/dist/index61.js +6 -83
  41. package/dist/index62.js +7 -245
  42. package/dist/index63.js +11 -1229
  43. package/dist/index64.js +17 -732
  44. package/dist/index65.js +25 -3
  45. package/dist/index8.js +1 -1
  46. package/dist/index9.js +1 -1
  47. package/package.json +1 -1
package/dist/index65.js CHANGED
@@ -1,5 +1,27 @@
1
- import i from "./index53.js";
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
- i as HighlightJS,
4
- i as default
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 "./index42.js";
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 "./index42.js";
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
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizel/core",
3
- "version": "0.0.1-alpha.2",
3
+ "version": "0.0.1-alpha.3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",