@factorialco/f0-react 8.2.1 → 8.2.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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { D as l, P as d, e as s } from "./pdfWorker-CKXzsegi.js";
2
+ import { D as l, P as d, e as s } from "./pdfWorker-DzRy-LZp.js";
3
3
  s();
4
4
  const f = ({
5
5
  url: n,
@@ -1,8 +1,8 @@
1
1
  import { jsx as c, jsxs as I } from "react/jsx-runtime";
2
2
  import { useRef as M, useState as n, useCallback as v } from "react";
3
- import { F as R } from "./MapProvider-CFLXBMBJ.js";
3
+ import { F as R } from "./MapProvider-sEFOQXkq.js";
4
4
  import { u as _, m as x } from "./F0CanvasPanel-ZH654ps8.js";
5
- import { u as B, a as L, s as P } from "./experimental-D4d4gsEA.js";
5
+ import { u as B, a as L, s as P } from "./experimental-B5tD9hBh.js";
6
6
  const N = 140, O = 1e4, K = ({
7
7
  onClose: d,
8
8
  searchMembers: f
@@ -1,7 +1,7 @@
1
1
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as b, useCallback as m, useMemo as p } from "react";
3
3
  import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-ZH654ps8.js";
4
- import { n as g, a as h, f as v, T as n, d as F } from "./index-CC_rpQnt.js";
4
+ import { n as g, a as h, f as v, T as n, d as F } from "./index-o_lLBrFM.js";
5
5
  const D = () => {
6
6
  const [r, a] = b(1), t = m(
7
7
  () => a((e) => g(e) ?? e),
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
2
  import { r as g } from "./docx-preview-BaRDMyPN.js";
3
3
  import { useRef as b, useState as h, useEffect as w } from "react";
4
4
  import { u as p, S as v } from "./F0CanvasPanel-ZH654ps8.js";
5
- import { u as x, D as y } from "./DocumentToolbar-DPSiAWlu.js";
5
+ import { u as x, D as y } from "./DocumentToolbar-CiVEF7T7.js";
6
6
  const V = ({
7
7
  url: t,
8
8
  filename: d,
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, jsxs as O, Fragment as Ee } from "react/jsx-runtime";
2
2
  import { forwardRef as re, useState as F, useEffect as N, useRef as M, useContext as Ca, createContext as Aa, useCallback as B, useMemo as et, useId as Ia, useImperativeHandle as Fa } from "react";
3
3
  import { a3 as Xt, u as se, a4 as le, y as Ce, a5 as Ea, a6 as $a, a7 as Oa, i as Ba, n as be, a8 as Wa, v as Yt, a9 as Je, aa as tt, ab as Ie, ac as Da, ad as Ut, ae as Ha, af as Xa, ag as St, ah as Gt, ai as Ya } from "./F0CanvasPanel-ZH654ps8.js";
4
- import { c as Ua, d as Ga, e as Za } from "./MapProvider-CFLXBMBJ.js";
4
+ import { c as Ua, d as Ga, e as Za } from "./MapProvider-sEFOQXkq.js";
5
5
  import { d as W, f as Ka } from "./tooltip-CrXp1Uaz.js";
6
6
  import { createPortal as qa } from "react-dom";
7
7
  const Va = (e, t) => ({
@@ -1425,7 +1425,7 @@ const cl = {
1425
1425
  }, []);
1426
1426
  return N(() => () => n.current?.disconnect(), []), { containerRef: l, isDark: e };
1427
1427
  }, Nn = {
1428
- maplibre: () => import("./index-CDWZAYep.js").then((e) => e.createMaplibreAdapter),
1428
+ maplibre: () => import("./index-fon9KUMB.js").then((e) => e.createMaplibreAdapter),
1429
1429
  // Google needs its script in the page before a map can be constructed, so the
1430
1430
  // loader resolves only once the API is up - which is what keeps the factory
1431
1431
  // itself synchronous for every engine.
@@ -3,7 +3,7 @@ import { jsxs as R, jsx as c } from "react/jsx-runtime";
3
3
  import { forwardRef as re, useId as pt, useState as x, useRef as F, useEffect as _, useMemo as J, useCallback as M } from "react";
4
4
  import { d as H, f as de } from "./tooltip-CrXp1Uaz.js";
5
5
  import { F as Ce, a as ht, b as gt } from "./VolumeMuted-UfTwt2zn.js";
6
- import { b as vt } from "./MapProvider-CFLXBMBJ.js";
6
+ import { b as vt } from "./MapProvider-sEFOQXkq.js";
7
7
  function Re(e) {
8
8
  return Array.isArray(e) && e.every(
9
9
  (t) => typeof t == "object" && t !== null && "locale" in t && "value" in t
@@ -38787,7 +38787,7 @@ const E0 = ({
38787
38787
  }
38788
38788
  );
38789
38789
  }, Uue = qB(
38790
- () => import("./index-DXr3EFyj.js").then((e) => ({ default: e.MapCollection }))
38790
+ () => import("./index-CQOzv2BT.js").then((e) => ({ default: e.MapCollection }))
38791
38791
  ), Ws = {
38792
38792
  table: {
38793
38793
  name: "Table",
@@ -39316,7 +39316,7 @@ const the = [
39316
39316
  if (typeof window > "u")
39317
39317
  return null;
39318
39318
  const i = xhe(window.location.search, e).toString(), r = i ? `${window.location.pathname}?${i}` : window.location.pathname, o = t?.history ?? "replace";
39319
- return o === "push" ? window.history.pushState(null, "", r) : o === "replace" && window.history.replaceState(null, "", r), i;
39319
+ return o === "push" ? window.history.pushState(null, "", r) : o === "replace" && window.history.replaceState(window.history.state, "", r), i;
39320
39320
  }, gTe = (e, t) => {
39321
39321
  try {
39322
39322
  localStorage.setItem(
@@ -40692,7 +40692,7 @@ const Vw = "dc_shared_view", zhe = (e) => {
40692
40692
  ke.delete(Vw);
40693
40693
  const Ke = ke.toString();
40694
40694
  window.history.replaceState(
40695
- null,
40695
+ window.history.state,
40696
40696
  "",
40697
40697
  Ke ? `${window.location.pathname}?${Ke}` : window.location.pathname
40698
40698
  );
@@ -2,7 +2,7 @@ import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
2
2
  import { useState as i, useEffect as k } from "react";
3
3
  import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-ZH654ps8.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-DPSiAWlu.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-CiVEF7T7.js";
6
6
  const g = 1e3, F = 100, G = ({
7
7
  url: n,
8
8
  filename: y,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as b, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as _, useEffect as h } from "react";
3
3
  import { u as x, S as p, p as w } from "./F0CanvasPanel-ZH654ps8.js";
4
- import { u as y, D as g } from "./DocumentToolbar-DPSiAWlu.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-CiVEF7T7.js";
5
5
  const k = 2 * 1024 * 1024, v = [
6
6
  "[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
7
7
  "[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
package/dist/ai.d.ts CHANGED
@@ -6710,12 +6710,12 @@ declare global {
6710
6710
  }
6711
6711
 
6712
6712
 
6713
- declare namespace _Page {
6713
+ declare namespace DaytimePageInternal {
6714
6714
  var displayName: string;
6715
6715
  }
6716
6716
 
6717
6717
 
6718
- declare namespace DaytimePageInternal {
6718
+ declare namespace _Page {
6719
6719
  var displayName: string;
6720
6720
  }
6721
6721
 
@@ -6756,9 +6756,9 @@ declare module "@tiptap/core" {
6756
6756
 
6757
6757
  declare module "@tiptap/core" {
6758
6758
  interface Commands<ReturnType> {
6759
- fontSize: {
6760
- setFontSize: (fontSize: string) => ReturnType;
6761
- unsetFontSize: () => ReturnType;
6759
+ aiBlock: {
6760
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6761
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6762
6762
  };
6763
6763
  }
6764
6764
  }
@@ -6766,9 +6766,9 @@ declare module "@tiptap/core" {
6766
6766
 
6767
6767
  declare module "@tiptap/core" {
6768
6768
  interface Commands<ReturnType> {
6769
- aiBlock: {
6770
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6771
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6769
+ fontSize: {
6770
+ setFontSize: (fontSize: string) => ReturnType;
6771
+ unsetFontSize: () => ReturnType;
6772
6772
  };
6773
6773
  }
6774
6774
  }
@@ -6796,10 +6796,8 @@ declare module "@tiptap/core" {
6796
6796
 
6797
6797
  declare module "@tiptap/core" {
6798
6798
  interface Commands<ReturnType> {
6799
- videoEmbed: {
6800
- setVideoEmbed: (options: {
6801
- src: string;
6802
- }) => ReturnType;
6799
+ transcript: {
6800
+ insertTranscript: (data: TranscriptData) => ReturnType;
6803
6801
  };
6804
6802
  }
6805
6803
  }
@@ -6807,8 +6805,10 @@ declare module "@tiptap/core" {
6807
6805
 
6808
6806
  declare module "@tiptap/core" {
6809
6807
  interface Commands<ReturnType> {
6810
- transcript: {
6811
- insertTranscript: (data: TranscriptData) => ReturnType;
6808
+ videoEmbed: {
6809
+ setVideoEmbed: (options: {
6810
+ src: string;
6811
+ }) => ReturnType;
6812
6812
  };
6813
6813
  }
6814
6814
  }
@@ -262,12 +262,12 @@ declare global {
262
262
  }
263
263
 
264
264
 
265
- declare namespace _Page {
265
+ declare namespace DaytimePageInternal {
266
266
  var displayName: string;
267
267
  }
268
268
 
269
269
 
270
- declare namespace DaytimePageInternal {
270
+ declare namespace _Page {
271
271
  var displayName: string;
272
272
  }
273
273
 
@@ -308,9 +308,9 @@ declare module "@tiptap/core" {
308
308
 
309
309
  declare module "@tiptap/core" {
310
310
  interface Commands<ReturnType> {
311
- fontSize: {
312
- setFontSize: (fontSize: string) => ReturnType;
313
- unsetFontSize: () => ReturnType;
311
+ aiBlock: {
312
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
313
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
314
314
  };
315
315
  }
316
316
  }
@@ -318,9 +318,9 @@ declare module "@tiptap/core" {
318
318
 
319
319
  declare module "@tiptap/core" {
320
320
  interface Commands<ReturnType> {
321
- aiBlock: {
322
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
323
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
321
+ fontSize: {
322
+ setFontSize: (fontSize: string) => ReturnType;
323
+ unsetFontSize: () => ReturnType;
324
324
  };
325
325
  }
326
326
  }
@@ -348,10 +348,8 @@ declare module "@tiptap/core" {
348
348
 
349
349
  declare module "@tiptap/core" {
350
350
  interface Commands<ReturnType> {
351
- videoEmbed: {
352
- setVideoEmbed: (options: {
353
- src: string;
354
- }) => ReturnType;
351
+ transcript: {
352
+ insertTranscript: (data: TranscriptData) => ReturnType;
355
353
  };
356
354
  }
357
355
  }
@@ -359,8 +357,10 @@ declare module "@tiptap/core" {
359
357
 
360
358
  declare module "@tiptap/core" {
361
359
  interface Commands<ReturnType> {
362
- transcript: {
363
- insertTranscript: (data: TranscriptData) => ReturnType;
360
+ videoEmbed: {
361
+ setVideoEmbed: (options: {
362
+ src: string;
363
+ }) => ReturnType;
364
364
  };
365
365
  }
366
366
  }