@factorialco/f0-react 4.52.0 → 4.53.0

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 O_ } from "react/jsx-runtime";
2
- import { n as V_ } from "./F0CanvasPanel-DkQ4xhBx.js";
2
+ import { g as V_ } from "./_commonjsHelpers-ByX85dGu.js";
3
3
  import { useRef as Ru, useEffect as yd, useState as j_ } from "react";
4
4
  import './LocationMap.css';var Lu = { exports: {} };
5
5
  var N_ = Lu.exports, Uf;
@@ -1,8 +1,8 @@
1
1
  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
- import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-DkQ4xhBx.js";
3
+ import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-DGLx1cqO.js";
4
4
  import { f as z, c as E } from "./sheetPreview-5qeAOp0W.js";
5
- import { u as _, D as j } from "./DocumentToolbar-BYKMRth5.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-BwJIFXDT.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
- import { u as x, S as p, p as w } from "./F0CanvasPanel-DkQ4xhBx.js";
4
- import { u as y, D as g } from "./DocumentToolbar-BYKMRth5.js";
3
+ import { u as x, S as p, p as w } from "./F0CanvasPanel-DGLx1cqO.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-BwJIFXDT.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",
@@ -0,0 +1,33 @@
1
+ var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function a(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ function f(e) {
6
+ if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
7
+ var n = e.default;
8
+ if (typeof n == "function") {
9
+ var t = function r() {
10
+ var o = !1;
11
+ try {
12
+ o = this instanceof r;
13
+ } catch {
14
+ }
15
+ return o ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
16
+ };
17
+ t.prototype = n.prototype;
18
+ } else t = {};
19
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
20
+ var o = Object.getOwnPropertyDescriptor(e, r);
21
+ Object.defineProperty(t, r, o.get ? o : {
22
+ enumerable: !0,
23
+ get: function() {
24
+ return e[r];
25
+ }
26
+ });
27
+ }), t;
28
+ }
29
+ export {
30
+ f as a,
31
+ u as c,
32
+ a as g
33
+ };
package/dist/ai.d.ts CHANGED
@@ -5172,11 +5172,9 @@ declare namespace Calendar {
5172
5172
 
5173
5173
  declare module "@tiptap/core" {
5174
5174
  interface Commands<ReturnType> {
5175
- enhanceHighlight: {
5176
- setEnhanceHighlight: (from: number, to: number, options?: {
5177
- placeholder?: string;
5178
- }) => ReturnType;
5179
- clearEnhanceHighlight: () => ReturnType;
5175
+ aiBlock: {
5176
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
5177
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
5180
5178
  };
5181
5179
  }
5182
5180
  }
@@ -5184,8 +5182,11 @@ declare module "@tiptap/core" {
5184
5182
 
5185
5183
  declare module "@tiptap/core" {
5186
5184
  interface Commands<ReturnType> {
5187
- moodTracker: {
5188
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
5185
+ enhanceHighlight: {
5186
+ setEnhanceHighlight: (from: number, to: number, options?: {
5187
+ placeholder?: string;
5188
+ }) => ReturnType;
5189
+ clearEnhanceHighlight: () => ReturnType;
5189
5190
  };
5190
5191
  }
5191
5192
  }
@@ -5193,9 +5194,8 @@ declare module "@tiptap/core" {
5193
5194
 
5194
5195
  declare module "@tiptap/core" {
5195
5196
  interface Commands<ReturnType> {
5196
- aiBlock: {
5197
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
5198
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
5197
+ moodTracker: {
5198
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
5199
5199
  };
5200
5200
  }
5201
5201
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as h } from "./F0CanvasPanel-DkQ4xhBx.js";
1
+ import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as h } from "./F0CanvasPanel-DGLx1cqO.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-DEjwsdqP.js";
3
+ import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-BR8LMWyo.js";
4
4
  export {
5
5
  P as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,