eddyter 1.3.73 → 1.3.74

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.
@@ -1,5 +1,6 @@
1
1
  import { LexicalEditor, NodeKey } from '../../../node_modules/lexical';
2
- export default function VideoComponent({ src, nodeKey, width, height, maxWidth, resizable, showCaption, caption, captionsEnabled, controls, }: {
2
+ import { ImagePosition } from '../../nodes/ImageNode';
3
+ export default function VideoComponent({ src, nodeKey, width, height, maxWidth, resizable, showCaption, caption, captionsEnabled, controls, position, }: {
3
4
  caption: LexicalEditor;
4
5
  height: "inherit" | number;
5
6
  maxWidth: number;
@@ -10,4 +11,5 @@ export default function VideoComponent({ src, nodeKey, width, height, maxWidth,
10
11
  width: "inherit" | number;
11
12
  captionsEnabled: boolean;
12
13
  controls?: boolean;
14
+ position?: ImagePosition;
13
15
  }): JSX.Element;
@@ -1,4 +1,4 @@
1
- import { c as Jl, g as Gu } from "./index-CfRDm1jv.js";
1
+ import { c as Jl, g as Gu } from "./index-CnJbZHIU.js";
2
2
  function zu(Bl, Bu) {
3
3
  for (var ba = 0; ba < Bu.length; ba++) {
4
4
  const Do = Bu[ba];
@@ -1,4 +1,4 @@
1
- import { c as Ka, g as $u } from "./index-CfRDm1jv.js";
1
+ import { c as Ka, g as $u } from "./index-CnJbZHIU.js";
2
2
  function tl(Qa, iu) {
3
3
  for (var jo = 0; jo < iu.length; jo++) {
4
4
  const qs = iu[jo];
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
2
  import { useLexicalComposerContext as v } from "@lexical/react/LexicalComposerContext";
3
3
  import { $getNodeByKey as w } from "lexical";
4
- import { q as k, r as F, F as y, s as N, v as C, w as D } from "./index-CfRDm1jv.js";
4
+ import { q as k, r as F, F as y, s as N, v as C, w as D } from "./index-CnJbZHIU.js";
5
5
  const B = (t) => t ? t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(1)} KB` : t < 1024 * 1024 * 1024 ? `${(t / (1024 * 1024)).toFixed(1)} MB` : `${(t / (1024 * 1024 * 1024)).toFixed(1)} GB` : "", E = (t) => {
6
6
  const o = t.split(".");
7
7
  return o.length > 1 ? o[o.length - 1].toLowerCase() : "";