@factorialco/f0-react 8.2.1 → 8.2.2

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
 
@@ -6742,6 +6742,16 @@ declare namespace Calendar {
6742
6742
  }
6743
6743
 
6744
6744
 
6745
+ declare module "@tiptap/core" {
6746
+ interface Commands<ReturnType> {
6747
+ aiBlock: {
6748
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6749
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6750
+ };
6751
+ }
6752
+ }
6753
+
6754
+
6745
6755
  declare module "@tiptap/core" {
6746
6756
  interface Commands<ReturnType> {
6747
6757
  enhanceHighlight: {
@@ -6766,9 +6776,8 @@ declare module "@tiptap/core" {
6766
6776
 
6767
6777
  declare module "@tiptap/core" {
6768
6778
  interface Commands<ReturnType> {
6769
- aiBlock: {
6770
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6771
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6779
+ moodTracker: {
6780
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6772
6781
  };
6773
6782
  }
6774
6783
  }
@@ -6787,8 +6796,8 @@ declare module "@tiptap/core" {
6787
6796
 
6788
6797
  declare module "@tiptap/core" {
6789
6798
  interface Commands<ReturnType> {
6790
- moodTracker: {
6791
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6799
+ transcript: {
6800
+ insertTranscript: (data: TranscriptData) => ReturnType;
6792
6801
  };
6793
6802
  }
6794
6803
  }
@@ -6805,15 +6814,6 @@ declare module "@tiptap/core" {
6805
6814
  }
6806
6815
 
6807
6816
 
6808
- declare module "@tiptap/core" {
6809
- interface Commands<ReturnType> {
6810
- transcript: {
6811
- insertTranscript: (data: TranscriptData) => ReturnType;
6812
- };
6813
- }
6814
- }
6815
-
6816
-
6817
6817
  declare namespace F0GraphNodeWrapperInner {
6818
6818
  var displayName: string;
6819
6819
  }
@@ -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
 
@@ -294,6 +294,16 @@ declare namespace Calendar {
294
294
  }
295
295
 
296
296
 
297
+ declare module "@tiptap/core" {
298
+ interface Commands<ReturnType> {
299
+ aiBlock: {
300
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
301
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
302
+ };
303
+ }
304
+ }
305
+
306
+
297
307
  declare module "@tiptap/core" {
298
308
  interface Commands<ReturnType> {
299
309
  enhanceHighlight: {
@@ -318,9 +328,8 @@ declare module "@tiptap/core" {
318
328
 
319
329
  declare module "@tiptap/core" {
320
330
  interface Commands<ReturnType> {
321
- aiBlock: {
322
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
323
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
331
+ moodTracker: {
332
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
324
333
  };
325
334
  }
326
335
  }
@@ -339,8 +348,8 @@ declare module "@tiptap/core" {
339
348
 
340
349
  declare module "@tiptap/core" {
341
350
  interface Commands<ReturnType> {
342
- moodTracker: {
343
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
351
+ transcript: {
352
+ insertTranscript: (data: TranscriptData) => ReturnType;
344
353
  };
345
354
  }
346
355
  }
@@ -357,15 +366,6 @@ declare module "@tiptap/core" {
357
366
  }
358
367
 
359
368
 
360
- declare module "@tiptap/core" {
361
- interface Commands<ReturnType> {
362
- transcript: {
363
- insertTranscript: (data: TranscriptData) => ReturnType;
364
- };
365
- }
366
- }
367
-
368
-
369
369
  declare namespace F0GraphNodeWrapperInner {
370
370
  var displayName: string;
371
371
  }