@factorialco/f0-react 1.396.0 → 1.397.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,6 +1,6 @@
1
1
  import { jsx as q, jsxs as le } from "react/jsx-runtime";
2
2
  import { useInsertionEffect as ze, createContext as Xe, useContext as Ye, useRef as B, useEffect as ie, useState as Ue, useCallback as $e, useMemo as qe } from "react";
3
- import { G as He, J as Ke, K as je, M as Qe, N as Me, Q as Je, R as Ze, V as et, W as tt, X as nt, Y as Ne, Z as rt, _ as ot, $ as it, a0 as st, a1 as at, a2 as ct, a3 as ut, a4 as se, a5 as lt, a6 as ft, a7 as ht, a8 as dt, a9 as mt, aa as pt, ab as fe, ac as gt } from "./F0AiChat-sQnVZIig.js";
3
+ import { G as He, J as Ke, K as je, M as Qe, N as Me, Q as Je, R as Ze, V as et, W as tt, X as nt, Y as Ne, Z as rt, _ as ot, $ as it, a0 as st, a1 as at, a2 as ct, a3 as ut, a4 as se, a5 as lt, a6 as ft, a7 as ht, a8 as dt, a9 as mt, aa as pt, ab as fe, ac as gt } from "./F0AiChat-RQc7dXda.js";
4
4
  import { useTrackVolume as vt } from "@livekit/components-react";
5
5
  function wt(t, e, n) {
6
6
  ze(() => t.on(e, n), [t, e, n]);
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as e, B as t, C as i, q as n, E as o, h as r, F as l, a as A, D as c, i as F, b as u, j as h, w as C, x as d, y as m, z as T, c as f, r as S, s as p, t as I, H as g, I as k, m as x, L as H, O as M, v as P, P as b, S as w, T as O, n as v, o as D, p as E, U as L, k as R, l as q, d as y, e as z, u as B, g as U, f as j } from "./F0AiChat-sQnVZIig.js";
1
+ import { A as e, B as t, C as i, q as n, E as o, h as r, F as l, a as A, D as c, i as F, b as u, j as h, w as C, x as d, y as m, z as T, c as f, r as S, s as p, t as I, H as g, I as k, m as x, L as H, O as M, v as P, P as b, S as w, T as O, n as v, o as D, p as E, U as L, k as R, l as q, d as y, e as z, u as B, g as U, f as j } from "./F0AiChat-RQc7dXda.js";
2
2
  import { defaultTranslations as G } from "./i18n-provider-defaults.js";
3
- import { A as K, F as N, c as Q, d as W, b as X, a as Y, o as Z, u as _ } from "./F0HILActionConfirmation-D74w-tBZ.js";
3
+ import { A as K, F as N, c as Q, d as W, b as X, a as Y, o as Z, u as _ } from "./F0HILActionConfirmation-CEBQZ4xR.js";
4
4
  export {
5
5
  e as A,
6
6
  K as AiChatTranslationsProvider,
@@ -1 +1 @@
1
- ._rfx31ssb:before{border-radius:50%}._15m6ys7w:before{border-color:var(--stroke-color)}._3l8810ly:before{border-width:var(--stroke-width)}._kzdanqa1:before{border-style:solid}._13y0usvi:before{box-sizing:border-box}._154ifghn{top:var(--line-main-axis-start)}._154ihv0e{top:var(--main-axis-offset)}._19wo70hn:before{bottom:var(--terminal-cross-axis-offset)}._1auk70hn:before{top:var(--terminal-cross-axis-offset)}._1aukuj5p:before{top:var(--terminal-main-axis-start)}._1bsb10ly{width:var(--stroke-width)}._1cs8stnw:before{position:absolute}._1e02fghn{inset-inline-start:var(--line-main-axis-start)}._1e0c1ule{display:block}._1kt9b3bt:before{content:""}._1ltvhv0e{left:var(--main-axis-offset)}._1mp4vjfa:before{width:var(--terminal-diameter)}._1pbykb7n{z-index:1}._1xi2hv0e{right:var(--main-axis-offset)}._4t3i10ly{height:var(--stroke-width)}._94n5hv0e{bottom:var(--main-axis-offset)}._94n5idpf{bottom:0}._bfhkys7w{background-color:var(--stroke-color)}._cfu11ld9:before{display:var(--terminal-display)}._kfgtvjfa:before{height:var(--terminal-diameter)}._kqswstnw{position:absolute}._lcxvglyw{pointer-events:none}._ooun70hn:before{right:var(--terminal-cross-axis-offset)}._qnec70hn:before{left:var(--terminal-cross-axis-offset)}._rjxpidpf{inset-inline-end:0}._z5wtuj5p:before{inset-inline-start:var(--terminal-main-axis-start)}.notes-text-editor-title::-moz-selection{background-color:hsl(var(--selected-50) / .2)}.preserved-selection,.notes-text-editor-title::selection{background-color:hsl(var(--selected-50) / .2)}.notes-text-editor *::-moz-selection{background-color:transparent!important}.notes-text-editor *::selection{background-color:transparent!important}.notes-text-editor p{position:relative;margin-bottom:8px;padding:0;font-size:16px;font-weight:400;line-height:24px;letter-spacing:-.16px}.notes-text-editor p:last-child{margin-bottom:0}.notes-text-editor h1{margin-bottom:10px;padding:0;font-size:29px;font-weight:600;line-height:39px;letter-spacing:-.58px}.notes-text-editor h2{margin-bottom:8px;padding:0;font-size:24px;font-weight:600;line-height:32px;letter-spacing:-.48px}.notes-text-editor h3{margin-bottom:7px;padding:0;font-size:19px;font-weight:600;line-height:26px;letter-spacing:-.19px}.notes-text-editor ul{margin:0 0 8px;list-style-type:disc}.notes-text-editor ol{margin:0 0 8px;list-style-type:decimal}.notes-text-editor a{cursor:pointer;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.notes-text-editor strong{font-weight:600}.notes-text-editor em{font-style:italic}.notes-text-editor u{text-decoration-line:underline}.notes-text-editor s{text-decoration-line:line-through}.notes-text-editor .f1-bullet-list{list-style-type:disc}.notes-text-editor .f1-ordered-list{list-style-type:decimal}.notes-text-editor ul,.notes-text-editor ol{padding-left:20px}.notes-text-editor .f1-ordered-list p,.notes-text-editor .f1-bullet-list p{margin-left:8px}.notes-text-editor li{margin-bottom:8px}.notes-text-editor pre{position:relative;margin:16px 0;overflow-x:auto;white-space:pre-wrap;border-radius:.75rem;background-color:hsl(var(--neutral-10));padding:8px}.notes-text-editor code{font-size:.75rem;line-height:1rem;font-family:Menlo,Consolas,Monaco,monospace}.notes-text-editor blockquote{margin:0 0 10px;border-width:0px;border-left-width:4px;border-style:solid;border-color:hsl(var(--neutral-30));padding-left:16px}.notes-text-editor:focus{outline:2px solid transparent;outline-offset:2px}.notes-text-editor .ProseMirror-selectednode,.ProseMirror .ProseMirror-selectednode,.ProseMirror-selectednode,.node-image.ProseMirror-selectednode{outline:none!important}.notes-text-editor hr{margin-top:12px;margin-bottom:12px;border-width:0px;border-top-width:1px;border-color:hsl(var(--neutral-30))}.notes-text-editor mark{border-radius:.375rem;background-color:hsl(var(--promote-50) / .3);padding:2px;color:hsl(var(--neutral-100))}.notes-text-editor p:empty:before{content:" "}.notes-text-editor ul[data-type=taskList]{padding-left:0}.f1-task-item{margin-bottom:8px;display:flex;list-style-type:none;gap:8px}.f1-task-item div{flex:1 1 0%}.f1-task-item input{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;height:1.25rem;width:1.25rem;flex-shrink:0;cursor:pointer;border-radius:.375rem;border-width:1px;border-style:solid;border-color:hsl(var(--neutral-30));background-color:hsl(var(--neutral-0));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.f1-task-item input:hover{border-color:hsl(var(--neutral-40))}.f1-task-item input:checked{border-color:hsl(var(--selected-50) / .4);background-color:hsl(var(--selected-60))}.f1-task-item[data-checked=true]>div>p{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item input:checked:after{position:absolute;left:50%;top:50%;height:1rem;width:1rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));content:"";background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.75 16.75L17.75 7.25004' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.25 11.75L10.75 16.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:contain}.f1-task-item-content{min-width:0px;flex:1 1 0%;outline:none}.f1-task-item[data-checked=true] .f1-task-item-content{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item-content p{margin:0}.tiptap p.is-empty:before{pointer-events:none;float:left;display:block;height:0px;max-width:100%;text-overflow:ellipsis;white-space:nowrap;color:hsl(var(--neutral-40));content:attr(data-placeholder)}.editor-mood-tracker p{margin:0}.rich-text-details{margin-top:0;margin-bottom:0;display:flex;gap:8px;padding-top:4px;padding-bottom:4px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.rich-text-details summary{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:600}.rich-text-details summary::marker{content:""}.rich-text-details>button{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center;border-radius:.375rem;background-color:hsl(var(--neutral-0))}.rich-text-details>button:hover{background-color:hsl(var(--neutral-10))}.rich-text-details>button:before{font-size:.625rem;line-height:.75rem;color:hsl(var(--neutral-100));content:"▶"}.rich-text-details.is-open>button:before{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rich-text-details>div{display:flex;width:100%;flex-direction:column;gap:8px}.rich-text-details>div>[data-type=detailsContent]>:last-child{margin-bottom:8px}.rich-text-details.rich-text-details{margin-bottom:8px}.notes-text-editor table{margin:0;width:100%;table-layout:fixed;overflow:hidden;border-collapse:collapse}.notes-text-editor table td,.notes-text-editor table th{position:relative;box-sizing:border-box;min-width:1rem;border-width:1px;border-style:solid;border-color:hsl(var(--neutral-30));padding:10px 12px;vertical-align:top}.notes-text-editor table td>*,.notes-text-editor table th>*{margin-bottom:0}.notes-text-editor table th{text-align:left}.notes-text-editor table th>*{font-weight:500;color:hsl(var(--neutral-50))}.notes-text-editor table .selectedCell:after{pointer-events:none;position:absolute;inset:0;z-index:10;background-color:hsl(var(--selected-50) / .1);content:""}.notes-text-editor table .column-resize-handle{pointer-events:none;position:absolute;bottom:-2px;right:-2px;top:0;width:.25rem;cursor:col-resize;background-color:hsl(var(--selected-50))}.notes-text-editor .tableWrapper{margin-bottom:12px;overflow-x:auto}.notes-text-editor .resize-cursor{cursor:col-resize}
1
+ .notes-text-editor-title::-moz-selection{background-color:hsl(var(--selected-50) / .2)}.preserved-selection,.notes-text-editor-title::selection{background-color:hsl(var(--selected-50) / .2)}.notes-text-editor *::-moz-selection{background-color:transparent!important}.notes-text-editor *::selection{background-color:transparent!important}.notes-text-editor p{position:relative;margin-bottom:8px;padding:0;font-size:16px;font-weight:400;line-height:24px;letter-spacing:-.16px}.notes-text-editor p:last-child{margin-bottom:0}.notes-text-editor h1{margin-bottom:10px;padding:0;font-size:29px;font-weight:600;line-height:39px;letter-spacing:-.58px}.notes-text-editor h2{margin-bottom:8px;padding:0;font-size:24px;font-weight:600;line-height:32px;letter-spacing:-.48px}.notes-text-editor h3{margin-bottom:7px;padding:0;font-size:19px;font-weight:600;line-height:26px;letter-spacing:-.19px}.notes-text-editor ul{margin:0 0 8px;list-style-type:disc}.notes-text-editor ol{margin:0 0 8px;list-style-type:decimal}.notes-text-editor a{cursor:pointer;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.notes-text-editor strong{font-weight:600}.notes-text-editor em{font-style:italic}.notes-text-editor u{text-decoration-line:underline}.notes-text-editor s{text-decoration-line:line-through}.notes-text-editor .f1-bullet-list{list-style-type:disc}.notes-text-editor .f1-ordered-list{list-style-type:decimal}.notes-text-editor ul,.notes-text-editor ol{padding-left:20px}.notes-text-editor .f1-ordered-list p,.notes-text-editor .f1-bullet-list p{margin-left:8px}.notes-text-editor li{margin-bottom:8px}.notes-text-editor pre{position:relative;margin:16px 0;overflow-x:auto;white-space:pre-wrap;border-radius:.75rem;background-color:hsl(var(--neutral-10));padding:8px}.notes-text-editor code{font-size:.75rem;line-height:1rem;font-family:Menlo,Consolas,Monaco,monospace}.notes-text-editor blockquote{margin:0 0 10px;border-width:0px;border-left-width:4px;border-style:solid;border-color:hsl(var(--neutral-30));padding-left:16px}.notes-text-editor:focus{outline:2px solid transparent;outline-offset:2px}.notes-text-editor .ProseMirror-selectednode,.ProseMirror .ProseMirror-selectednode,.ProseMirror-selectednode,.node-image.ProseMirror-selectednode{outline:none!important}.notes-text-editor hr{margin-top:12px;margin-bottom:12px;border-width:0px;border-top-width:1px;border-color:hsl(var(--neutral-30))}.notes-text-editor mark{border-radius:.375rem;background-color:hsl(var(--promote-50) / .3);padding:2px;color:hsl(var(--neutral-100))}.notes-text-editor p:empty:before{content:" "}.notes-text-editor ul[data-type=taskList]{padding-left:0}.f1-task-item{margin-bottom:8px;display:flex;list-style-type:none;gap:8px}.f1-task-item div{flex:1 1 0%}.f1-task-item input{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;height:1.25rem;width:1.25rem;flex-shrink:0;cursor:pointer;border-radius:.375rem;border-width:1px;border-style:solid;border-color:hsl(var(--neutral-30));background-color:hsl(var(--neutral-0));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.f1-task-item input:hover{border-color:hsl(var(--neutral-40))}.f1-task-item input:checked{border-color:hsl(var(--selected-50) / .4);background-color:hsl(var(--selected-60))}.f1-task-item[data-checked=true]>div>p{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item input:checked:after{position:absolute;left:50%;top:50%;height:1rem;width:1rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));content:"";background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.75 16.75L17.75 7.25004' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.25 11.75L10.75 16.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:contain}.f1-task-item-content{min-width:0px;flex:1 1 0%;outline:none}.f1-task-item[data-checked=true] .f1-task-item-content{color:hsl(var(--neutral-50));text-decoration-line:line-through}.f1-task-item-content p{margin:0}.tiptap p.is-empty:before{pointer-events:none;float:left;display:block;height:0px;max-width:100%;text-overflow:ellipsis;white-space:nowrap;color:hsl(var(--neutral-40));content:attr(data-placeholder)}.editor-mood-tracker p{margin:0}.rich-text-details{margin-top:0;margin-bottom:0;display:flex;gap:8px;padding-top:4px;padding-bottom:4px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.rich-text-details summary{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:600}.rich-text-details summary::marker{content:""}.rich-text-details>button{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center;border-radius:.375rem;background-color:hsl(var(--neutral-0))}.rich-text-details>button:hover{background-color:hsl(var(--neutral-10))}.rich-text-details>button:before{font-size:.625rem;line-height:.75rem;color:hsl(var(--neutral-100));content:"▶"}.rich-text-details.is-open>button:before{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rich-text-details>div{display:flex;width:100%;flex-direction:column;gap:8px}.rich-text-details>div>[data-type=detailsContent]>:last-child{margin-bottom:8px}.rich-text-details.rich-text-details{margin-bottom:8px}.notes-text-editor table{margin:0;width:100%;table-layout:fixed;overflow:hidden;border-collapse:collapse}.notes-text-editor table td,.notes-text-editor table th{position:relative;box-sizing:border-box;min-width:1rem;border-width:1px;border-style:solid;border-color:hsl(var(--neutral-30));padding:10px 12px;vertical-align:top}.notes-text-editor table td>*,.notes-text-editor table th>*{margin-bottom:0}.notes-text-editor table th{text-align:left}.notes-text-editor table th>*{font-weight:500;color:hsl(var(--neutral-50))}.notes-text-editor table .selectedCell:after{pointer-events:none;position:absolute;inset:0;z-index:10;background-color:hsl(var(--selected-50) / .1);content:""}.notes-text-editor table .column-resize-handle{pointer-events:none;position:absolute;bottom:-2px;right:-2px;top:0;width:.25rem;cursor:col-resize;background-color:hsl(var(--selected-50))}.notes-text-editor .tableWrapper{margin-bottom:12px;overflow-x:auto}.notes-text-editor .resize-cursor{cursor:col-resize}