@factorialco/f0-react 1.330.2 → 1.331.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.
package/dist/ai.d.ts CHANGED
@@ -533,6 +533,18 @@ export declare const defaultTranslations: {
533
533
  readonly greaterThan: "It should be greater than {{min}}";
534
534
  readonly lessThan: "It should be less than {{max}}";
535
535
  };
536
+ readonly imageUpload: {
537
+ readonly uploading: "Uploading...";
538
+ readonly uploadError: "Upload failed";
539
+ readonly insertImage: "Image";
540
+ readonly deleteImage: "Delete";
541
+ readonly errors: {
542
+ readonly fileTooLarge: "The file is too large";
543
+ readonly invalidType: "Invalid file type. Only images are allowed";
544
+ readonly uploadFailed: "Failed to upload image. Please try again";
545
+ readonly dismiss: "Dismiss";
546
+ };
547
+ };
536
548
  readonly coCreationForm: {
537
549
  readonly actions: {
538
550
  readonly actions: "Actions";
@@ -646,6 +658,23 @@ declare global {
646
658
  }
647
659
  }
648
660
 
661
+ declare module "gridstack" {
662
+ interface GridStackWidget {
663
+ id?: string;
664
+ allowedSizes?: Array<{
665
+ w: number;
666
+ h: number;
667
+ }>;
668
+ meta?: Record<string, unknown>;
669
+ }
670
+ interface GridStackNode {
671
+ allowedSizes?: Array<{
672
+ w: number;
673
+ h: number;
674
+ }>;
675
+ }
676
+ }
677
+
649
678
 
650
679
  declare module "@tiptap/core" {
651
680
  interface Commands<ReturnType> {
@@ -673,28 +702,6 @@ declare module "@tiptap/core" {
673
702
  }
674
703
  }
675
704
 
676
- declare module "gridstack" {
677
- interface GridStackWidget {
678
- id?: string;
679
- allowedSizes?: Array<{
680
- w: number;
681
- h: number;
682
- }>;
683
- meta?: Record<string, unknown>;
684
- }
685
- interface GridStackNode {
686
- allowedSizes?: Array<{
687
- w: number;
688
- h: number;
689
- }>;
690
- }
691
- }
692
-
693
-
694
- declare namespace Calendar {
695
- var displayName: string;
696
- }
697
-
698
705
 
699
706
  declare module "@tiptap/core" {
700
707
  interface Commands<ReturnType> {
@@ -703,3 +710,8 @@ declare module "@tiptap/core" {
703
710
  };
704
711
  }
705
712
  }
713
+
714
+
715
+ declare namespace Calendar {
716
+ var displayName: string;
717
+ }
package/dist/ai.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-DNIBU8bk.js";
2
- import { I as f, u as h } from "./index-DKqhBrTp.js";
1
+ import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-QZWWixJl.js";
2
+ import { I as f, u as h } from "./index-BgJcUQer.js";
3
3
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
4
4
  export {
5
5
  i as ActionItem,
@@ -1 +1 @@
1
- .mention{border-radius:.375rem;background-color:hsl(var(--accent-50) / .05);padding:2px 6px;font-weight:500}.mention:focus{outline-style:solid;outline-width:1px;outline-offset:1px;outline-color:hsl(var(--selected-50))}.preserved-selection{background-color:hsl(var(--selected-60) / .2)}.rich-text-editor-container *::-moz-selection{background-color:transparent!important}.rich-text-editor-container *::selection{background-color:transparent!important}.rich-text-editor-container::-moz-selection{background-color:transparent!important}.rich-text-editor-container::selection{background-color:transparent!important}.rich-text-editor-container p,.rich-text-display-container p{position:relative;margin:0 0 8px}.rich-text-editor-container p:last-child,.rich-text-display-container p:last-child{margin-bottom:0}.rich-text-editor-container h1,.rich-text-display-container h1{margin:0 0 12px;padding:0;font-size:1.625rem;line-height:2rem;letter-spacing:-.01em;font-weight:600}.rich-text-editor-container h2,.rich-text-display-container h2{margin:0 0 10px;padding:0;font-size:1.375rem;line-height:1.75rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container h3,.rich-text-display-container h3,.rich-text-editor-container h4,.rich-text-display-container h4{margin:0 0 10px;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container ul,.rich-text-display-container ul{margin:0 0 10px;list-style:disc}.rich-text-editor-container ol,.rich-text-display-container ol{margin:0 0 10px;list-style-type:decimal}.rich-text-editor-container a,.rich-text-display-container a{cursor:pointer;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.rich-text-editor-container strong,.rich-text-display-container strong{font-weight:600}.rich-text-editor-container em,.rich-text-display-container em{font-style:italic}.rich-text-editor-container u,.rich-text-display-container u{text-decoration-line:underline}.rich-text-editor-container s,.rich-text-display-container s{text-decoration-line:line-through}.rich-text-editor-container .f1-bullet-list,.rich-text-display-container .f1-bullet-list{list-style-type:disc}.rich-text-editor-container .f1-ordered-list,.rich-text-display-container .f1-ordered-list{list-style-type:decimal}.rich-text-editor-container ul,.rich-text-editor-container ol,.rich-text-display-container ul,.rich-text-display-container ol{padding-left:20px}.rich-text-editor-container .f1-ordered-list p,.rich-text-display-container .f1-ordered-list p,.rich-text-editor-container .f1-bullet-list p,.rich-text-display-container .f1-bullet-list p{margin-left:8px}.rich-text-editor-container li,.rich-text-display-container li{margin-bottom:8px}.rich-text-editor-container pre,.rich-text-display-container pre{position:relative;margin:16px 0;overflow-x:auto;white-space:pre-wrap;border-radius:.75rem;background-color:hsl(var(--neutral-10));padding:8px}.rich-text-editor-container code,.rich-text-display-container code{font-size:.75rem;line-height:1rem;font-family:Menlo,Consolas,Monaco,monospace}.rich-text-editor-container blockquote,.rich-text-display-container blockquote{margin:0 0 10px;border-width:0px;border-left-width:4px;border-style:solid;border-color:hsl(var(--neutral-30));padding-left:16px}.ProseMirror:focus,.rich-text-display-container:focus{outline:2px solid transparent;outline-offset:2px}.rich-text-editor-container hr,.rich-text-display-container hr{margin-top:12px;margin-bottom:12px;border-width:0px;border-top-width:1px;border-color:hsl(var(--neutral-30))}.rich-text-editor-container mark,.rich-text-display-container mark{border-radius:.375rem;background-color:hsl(var(--promote-50) / .3);padding:2px;color:hsl(var(--neutral-100))}.rich-text-editor-container p:empty:before,.rich-text-display-container p:empty:before{content:" "}.rich-text-editor-container ul[data-type=taskList],.rich-text-display-container ul[data-type=taskList]{padding-left:0}.shadow-editor-tools{box-shadow:0 -4px 20px #0d162514}.scrollbar-macos{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar{width:8px}.scrollbar-macos::-webkit-scrollbar-track{background:var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:9999px;border:2px solid transparent;background-clip:padding-box}.scrollbar-macos::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover)}.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}em-emoji-picker{--background-rgb: 255, 255, 255;--border-radius: 12px;--category-icon-size: 20px;--color-border-over: hsl(var(--neutral-10));--color-border: hsl(var(--neutral-10));--font-size: 14px;--rgb-accent: 1, 22, 55;--rgb-background: 255, 255, 255;--rgb-color: 1, 22, 55;--rgb-input: 255, 255, 255;width:372px!important;max-height:518px!important;--shadow: 0px 4px 20px 0px #0d162514}.FactorialOneTextEditor{line-height:1.5rem}.FactorialOneTextEditor .TextEditorTheme__ltr{text-align:left}.FactorialOneTextEditor .TextEditorTheme__rtl{text-align:right}.FactorialOneTextEditor .TextEditorTheme__paragraph{position:relative;margin:0 0 8px}.FactorialOneTextEditor .TextEditorTheme__paragraph:last-child{margin-bottom:0}.FactorialOneTextEditor .TextEditorTheme__quote{margin:0 0 10px 20px;border-bottom-width:4px;padding-left:16px;color:#65676b;border-left-color:#ced0d4}.FactorialOneTextEditor .TextEditorTheme__h1{margin:0 0 12px;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:600}.FactorialOneTextEditor .TextEditorTheme__h2{margin:10px 0 0;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:500}.FactorialOneTextEditor .TextEditorTheme__h3{margin:10px 0 0;padding:0;font-size:.875rem;line-height:1.25rem;letter-spacing:-.005em;font-weight:600}.FactorialOneTextEditor .TextEditorTheme__textBold{font-weight:600}.FactorialOneTextEditor .TextEditorTheme__textItalic{font-style:italic}.FactorialOneTextEditor .TextEditorTheme__textUnderline{text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__textStrikethrough{text-decoration-line:line-through}.FactorialOneTextEditor .TextEditorTheme__textUnderlineStrikethrough{text-decoration:underline line-through}.FactorialOneTextEditor .TextEditorTheme__textSubscript{vertical-align:sub!important}.FactorialOneTextEditor .TextEditorTheme__textSuperscript{vertical-align:super}.FactorialOneTextEditor .TextEditorTheme__textCode{background-color:#f0f2f5;padding:1px .25rem;font-family:Menlo,Consolas,Monaco,monospace}.FactorialOneTextEditor .TextEditorTheme__hashtag{border-radius:.375rem;background-color:hsl(var(--info-50) / .1);padding:2px;font-weight:500;color:hsl(var(--info-70));text-decoration-line:none}.FactorialOneTextEditor .TextEditorTheme__link{font-weight:500;color:hsl(var(--neutral-100));text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__link:hover{text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__code{margin:8px 0;padding:8px 8px 8px 40px;background-color:#f0f2f5;font-family:Menlo,Consolas,Monaco,monospace;display:block;line-height:1.53;-moz-tab-size:2;-o-tab-size:2;tab-size:2;overflow-x:auto;position:relative}.FactorialOneTextEditor .TextEditorTheme__code:before{content:attr(data-gutter);position:absolute;background-color:#eee;left:0;top:0;border-right:1px solid #ccc;padding:8px;color:#777;white-space:pre-wrap;text-align:right;min-width:25px}.FactorialOneTextEditor .TextEditorTheme__code:after{content:attr(data-highlight-language);top:0;right:3px;padding:3px;text-transform:uppercase;position:absolute;color:#00000080}.FactorialOneTextEditor .TextEditorTheme__characterLimit{display:inline;background-color:#fbb!important}.FactorialOneTextEditor .TextEditorTheme__ol1{margin:0 0 0 16px;padding:0}.FactorialOneTextEditor .TextEditorTheme__ol2{margin:0 0 0 16px;padding:0;list-style-type:upper-alpha}.FactorialOneTextEditor .TextEditorTheme__ol3{margin:0 0 0 16px;padding:0;list-style-type:lower-alpha}.FactorialOneTextEditor .TextEditorTheme__ol4{margin:0 0 0 16px;padding:0;list-style-type:upper-roman}.FactorialOneTextEditor .TextEditorTheme__ol5{margin:0 0 0 16px;padding:0;list-style-type:lower-roman}.FactorialOneTextEditor .TextEditorTheme__ul{margin:0 0 0 16px;padding:0;list-style:disc}.FactorialOneTextEditor .TextEditorTheme__tokenComment{color:#708090}.FactorialOneTextEditor .TextEditorTheme__tokenPunctuation{color:#999}.FactorialOneTextEditor .TextEditorTheme__tokenProperty{color:#905}.FactorialOneTextEditor.TextEditorTheme__tokenSelector{color:#690}.FactorialOneTextEditor .TextEditorTheme__tokenOperator{color:#9a6e3a}.FactorialOneTextEditor .TextEditorTheme__tokenAttr{color:#07a}.FactorialOneTextEditor .TextEditorTheme__tokenVariable{color:#e90}.FactorialOneTextEditor .TextEditorTheme__tokenFunction{color:#dd4a68}.FactorialOneTextEditor .TextEditorTheme__mark{padding:2px;background:#ffd40024;border-bottom:2px solid rgba(255,212,0,.3)}.FactorialOneTextEditor .TextEditorTheme__markOverlap{padding:2px;background:#ffd4004d;border-bottom:2px solid rgba(255,212,0,.7)}.FactorialOneTextEditor .TextEditorTheme__mark.selected{background:#ffd40080;border-bottom:2px solid rgba(255,212,0,1)}.FactorialOneTextEditor .TextEditorTheme__markOverlap.selected{background:#ffd400b3;border-bottom:2px solid rgba(255,212,0,.7)}.FactorialOneTextEditor .mention a,.FactorialOneTextEditor .mentioned a{border-radius:.375rem;background-color:hsl(var(--accent-50) / .05);padding:2px 6px;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.FactorialOneTextEditor .mention:focus a,.FactorialOneTextEditor .mentioned:focus a{outline-style:solid;outline-width:1px;outline-offset:1px;outline-color:hsl(var(--selected-50))}.FactorialOneTextEditor .link_mentioned{text-decoration:none}._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 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
+ .mention{border-radius:.375rem;background-color:hsl(var(--accent-50) / .05);padding:2px 6px;font-weight:500}.mention:focus{outline-style:solid;outline-width:1px;outline-offset:1px;outline-color:hsl(var(--selected-50))}.preserved-selection{background-color:hsl(var(--selected-60) / .2)}.rich-text-editor-container *::-moz-selection{background-color:transparent!important}.rich-text-editor-container *::selection{background-color:transparent!important}.rich-text-editor-container::-moz-selection{background-color:transparent!important}.rich-text-editor-container::selection{background-color:transparent!important}.rich-text-editor-container p,.rich-text-display-container p{position:relative;margin:0 0 8px}.rich-text-editor-container p:last-child,.rich-text-display-container p:last-child{margin-bottom:0}.rich-text-editor-container h1,.rich-text-display-container h1{margin:0 0 12px;padding:0;font-size:1.625rem;line-height:2rem;letter-spacing:-.01em;font-weight:600}.rich-text-editor-container h2,.rich-text-display-container h2{margin:0 0 10px;padding:0;font-size:1.375rem;line-height:1.75rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container h3,.rich-text-display-container h3,.rich-text-editor-container h4,.rich-text-display-container h4{margin:0 0 10px;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:500}.rich-text-editor-container ul,.rich-text-display-container ul{margin:0 0 10px;list-style:disc}.rich-text-editor-container ol,.rich-text-display-container ol{margin:0 0 10px;list-style-type:decimal}.rich-text-editor-container a,.rich-text-display-container a{cursor:pointer;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.rich-text-editor-container strong,.rich-text-display-container strong{font-weight:600}.rich-text-editor-container em,.rich-text-display-container em{font-style:italic}.rich-text-editor-container u,.rich-text-display-container u{text-decoration-line:underline}.rich-text-editor-container s,.rich-text-display-container s{text-decoration-line:line-through}.rich-text-editor-container .f1-bullet-list,.rich-text-display-container .f1-bullet-list{list-style-type:disc}.rich-text-editor-container .f1-ordered-list,.rich-text-display-container .f1-ordered-list{list-style-type:decimal}.rich-text-editor-container ul,.rich-text-editor-container ol,.rich-text-display-container ul,.rich-text-display-container ol{padding-left:20px}.rich-text-editor-container .f1-ordered-list p,.rich-text-display-container .f1-ordered-list p,.rich-text-editor-container .f1-bullet-list p,.rich-text-display-container .f1-bullet-list p{margin-left:8px}.rich-text-editor-container li,.rich-text-display-container li{margin-bottom:8px}.rich-text-editor-container pre,.rich-text-display-container pre{position:relative;margin:16px 0;overflow-x:auto;white-space:pre-wrap;border-radius:.75rem;background-color:hsl(var(--neutral-10));padding:8px}.rich-text-editor-container code,.rich-text-display-container code{font-size:.75rem;line-height:1rem;font-family:Menlo,Consolas,Monaco,monospace}.rich-text-editor-container blockquote,.rich-text-display-container blockquote{margin:0 0 10px;border-width:0px;border-left-width:4px;border-style:solid;border-color:hsl(var(--neutral-30));padding-left:16px}.ProseMirror:focus,.rich-text-display-container:focus{outline:2px solid transparent;outline-offset:2px}.rich-text-editor-container hr,.rich-text-display-container hr{margin-top:12px;margin-bottom:12px;border-width:0px;border-top-width:1px;border-color:hsl(var(--neutral-30))}.rich-text-editor-container mark,.rich-text-display-container mark{border-radius:.375rem;background-color:hsl(var(--promote-50) / .3);padding:2px;color:hsl(var(--neutral-100))}.rich-text-editor-container p:empty:before,.rich-text-display-container p:empty:before{content:" "}.rich-text-editor-container ul[data-type=taskList],.rich-text-display-container ul[data-type=taskList]{padding-left:0}.shadow-editor-tools{box-shadow:0 -4px 20px #0d162514}.scrollbar-macos{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar{width:8px}.scrollbar-macos::-webkit-scrollbar-track{background:var(--scrollbar-track)}.scrollbar-macos::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:9999px;border:2px solid transparent;background-clip:padding-box}.scrollbar-macos::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover)}.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}em-emoji-picker{--background-rgb: 255, 255, 255;--border-radius: 12px;--category-icon-size: 20px;--color-border-over: hsl(var(--neutral-10));--color-border: hsl(var(--neutral-10));--font-size: 14px;--rgb-accent: 1, 22, 55;--rgb-background: 255, 255, 255;--rgb-color: 1, 22, 55;--rgb-input: 255, 255, 255;width:372px!important;max-height:518px!important;--shadow: 0px 4px 20px 0px #0d162514}.FactorialOneTextEditor{line-height:1.5rem}.FactorialOneTextEditor .TextEditorTheme__ltr{text-align:left}.FactorialOneTextEditor .TextEditorTheme__rtl{text-align:right}.FactorialOneTextEditor .TextEditorTheme__paragraph{position:relative;margin:0 0 8px}.FactorialOneTextEditor .TextEditorTheme__paragraph:last-child{margin-bottom:0}.FactorialOneTextEditor .TextEditorTheme__quote{margin:0 0 10px 20px;border-bottom-width:4px;padding-left:16px;color:#65676b;border-left-color:#ced0d4}.FactorialOneTextEditor .TextEditorTheme__h1{margin:0 0 12px;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:600}.FactorialOneTextEditor .TextEditorTheme__h2{margin:10px 0 0;padding:0;font-size:1rem;line-height:1.5rem;letter-spacing:-.01em;font-weight:500}.FactorialOneTextEditor .TextEditorTheme__h3{margin:10px 0 0;padding:0;font-size:.875rem;line-height:1.25rem;letter-spacing:-.005em;font-weight:600}.FactorialOneTextEditor .TextEditorTheme__textBold{font-weight:600}.FactorialOneTextEditor .TextEditorTheme__textItalic{font-style:italic}.FactorialOneTextEditor .TextEditorTheme__textUnderline{text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__textStrikethrough{text-decoration-line:line-through}.FactorialOneTextEditor .TextEditorTheme__textUnderlineStrikethrough{text-decoration:underline line-through}.FactorialOneTextEditor .TextEditorTheme__textSubscript{vertical-align:sub!important}.FactorialOneTextEditor .TextEditorTheme__textSuperscript{vertical-align:super}.FactorialOneTextEditor .TextEditorTheme__textCode{background-color:#f0f2f5;padding:1px .25rem;font-family:Menlo,Consolas,Monaco,monospace}.FactorialOneTextEditor .TextEditorTheme__hashtag{border-radius:.375rem;background-color:hsl(var(--info-50) / .1);padding:2px;font-weight:500;color:hsl(var(--info-70));text-decoration-line:none}.FactorialOneTextEditor .TextEditorTheme__link{font-weight:500;color:hsl(var(--neutral-100));text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__link:hover{text-decoration-line:underline}.FactorialOneTextEditor .TextEditorTheme__code{margin:8px 0;padding:8px 8px 8px 40px;background-color:#f0f2f5;font-family:Menlo,Consolas,Monaco,monospace;display:block;line-height:1.53;-moz-tab-size:2;-o-tab-size:2;tab-size:2;overflow-x:auto;position:relative}.FactorialOneTextEditor .TextEditorTheme__code:before{content:attr(data-gutter);position:absolute;background-color:#eee;left:0;top:0;border-right:1px solid #ccc;padding:8px;color:#777;white-space:pre-wrap;text-align:right;min-width:25px}.FactorialOneTextEditor .TextEditorTheme__code:after{content:attr(data-highlight-language);top:0;right:3px;padding:3px;text-transform:uppercase;position:absolute;color:#00000080}.FactorialOneTextEditor .TextEditorTheme__characterLimit{display:inline;background-color:#fbb!important}.FactorialOneTextEditor .TextEditorTheme__ol1{margin:0 0 0 16px;padding:0}.FactorialOneTextEditor .TextEditorTheme__ol2{margin:0 0 0 16px;padding:0;list-style-type:upper-alpha}.FactorialOneTextEditor .TextEditorTheme__ol3{margin:0 0 0 16px;padding:0;list-style-type:lower-alpha}.FactorialOneTextEditor .TextEditorTheme__ol4{margin:0 0 0 16px;padding:0;list-style-type:upper-roman}.FactorialOneTextEditor .TextEditorTheme__ol5{margin:0 0 0 16px;padding:0;list-style-type:lower-roman}.FactorialOneTextEditor .TextEditorTheme__ul{margin:0 0 0 16px;padding:0;list-style:disc}.FactorialOneTextEditor .TextEditorTheme__tokenComment{color:#708090}.FactorialOneTextEditor .TextEditorTheme__tokenPunctuation{color:#999}.FactorialOneTextEditor .TextEditorTheme__tokenProperty{color:#905}.FactorialOneTextEditor.TextEditorTheme__tokenSelector{color:#690}.FactorialOneTextEditor .TextEditorTheme__tokenOperator{color:#9a6e3a}.FactorialOneTextEditor .TextEditorTheme__tokenAttr{color:#07a}.FactorialOneTextEditor .TextEditorTheme__tokenVariable{color:#e90}.FactorialOneTextEditor .TextEditorTheme__tokenFunction{color:#dd4a68}.FactorialOneTextEditor .TextEditorTheme__mark{padding:2px;background:#ffd40024;border-bottom:2px solid rgba(255,212,0,.3)}.FactorialOneTextEditor .TextEditorTheme__markOverlap{padding:2px;background:#ffd4004d;border-bottom:2px solid rgba(255,212,0,.7)}.FactorialOneTextEditor .TextEditorTheme__mark.selected{background:#ffd40080;border-bottom:2px solid rgba(255,212,0,1)}.FactorialOneTextEditor .TextEditorTheme__markOverlap.selected{background:#ffd400b3;border-bottom:2px solid rgba(255,212,0,.7)}.FactorialOneTextEditor .mention a,.FactorialOneTextEditor .mentioned a{border-radius:.375rem;background-color:hsl(var(--accent-50) / .05);padding:2px 6px;font-weight:500;color:hsl(var(--accent-70));text-decoration-line:none}.FactorialOneTextEditor .mention:focus a,.FactorialOneTextEditor .mentioned:focus a{outline-style:solid;outline-width:1px;outline-offset:1px;outline-color:hsl(var(--selected-50))}.FactorialOneTextEditor .link_mentioned{text-decoration:none}._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 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}.notes-text-editor .image-node-wrapper{margin-top:16px;margin-bottom:16px}.notes-text-editor .image-container{position:relative;display:inline-block;border-radius:.75rem;transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1);animation-duration:.15s;animation-timing-function:cubic-bezier(0,0,.2,1)}.notes-text-editor .image-container img{display:block;height:auto;max-width:100%;border-radius:.75rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1);animation-duration:.15s;animation-timing-function:cubic-bezier(0,0,.2,1)}.notes-text-editor .image-container.is-selected{border-radius:.75rem;box-shadow:0 0 0 1px #00000014,0 4px 12px #00000014}.notes-text-editor .image-container.is-selected img{--tw-brightness: brightness(.98);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.notes-text-editor .image-delete-button{position:absolute;right:8px;top:8px;display:flex;height:1.75rem;width:1.75rem;align-items:center;justify-content:center;border-radius:.5rem;color:hsl(var(--neutral-50));pointer-events:none;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;animation-duration:.15s;background-color:#fff;box-shadow:0 0 0 1px #0000001a,0 2px 8px #0000001f}:root.dark .notes-text-editor .image-delete-button{background-color:#2a2a2a}.notes-text-editor .image-container:hover .image-delete-button,.notes-text-editor .image-container.is-selected .image-delete-button{pointer-events:auto;opacity:1}.notes-text-editor .image-container .image-delete-button:hover{background-color:#f0f0f0!important;color:hsl(var(--neutral-100))}:root.dark .notes-text-editor .image-container .image-delete-button:hover{background-color:#404040!important}.notes-text-editor .image-upload-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:.875rem;background-color:hsl(var(--neutral-0) / .6);--tw-backdrop-blur: blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}
@@ -2559,6 +2559,18 @@ declare const defaultTranslations: {
2559
2559
  readonly greaterThan: "It should be greater than {{min}}";
2560
2560
  readonly lessThan: "It should be less than {{max}}";
2561
2561
  };
2562
+ readonly imageUpload: {
2563
+ readonly uploading: "Uploading...";
2564
+ readonly uploadError: "Upload failed";
2565
+ readonly insertImage: "Image";
2566
+ readonly deleteImage: "Delete";
2567
+ readonly errors: {
2568
+ readonly fileTooLarge: "The file is too large";
2569
+ readonly invalidType: "Invalid file type. Only images are allowed";
2570
+ readonly uploadFailed: "Failed to upload image. Please try again";
2571
+ readonly dismiss: "Dismiss";
2572
+ };
2573
+ };
2562
2574
  readonly coCreationForm: {
2563
2575
  readonly actions: {
2564
2576
  readonly actions: "Actions";
@@ -3618,6 +3630,17 @@ declare type IdStructure = {
3618
3630
  children?: IdStructure[];
3619
3631
  };
3620
3632
 
3633
+ export declare interface ImageUploadConfig {
3634
+ onUpload: (file: File) => Promise<{
3635
+ url: string;
3636
+ signedId?: string;
3637
+ }>;
3638
+ maxFileSize?: number;
3639
+ onError?: (errorType: ImageUploadErrorType) => void;
3640
+ }
3641
+
3642
+ declare type ImageUploadErrorType = "file-too-large" | "invalid-type" | "upload-failed";
3643
+
3621
3644
  declare const Indicator: ForwardRefExoticComponent<IndicatorProps & RefAttributes<HTMLDivElement>>;
3622
3645
 
3623
3646
  declare type IndicatorProps = {
@@ -4313,6 +4336,7 @@ export declare type NotesTextEditorHandle = {
4313
4336
  insertAIBlock: () => void;
4314
4337
  insertTranscript: (title: string, users: User[], messages: Message[]) => void;
4315
4338
  pushContent: (content: string) => void;
4339
+ insertImage: (file: File) => void;
4316
4340
  };
4317
4341
 
4318
4342
  export declare interface NotesTextEditorProps {
@@ -4327,6 +4351,7 @@ export declare interface NotesTextEditorProps {
4327
4351
  };
4328
4352
  readonly?: boolean;
4329
4353
  aiBlockConfig?: AIBlockConfig;
4354
+ imageUploadConfig?: ImageUploadConfig;
4330
4355
  onTitleChange?: (title: string) => void;
4331
4356
  labels: {
4332
4357
  toolbarLabels: ToolbarLabels;
@@ -6491,6 +6516,23 @@ declare global {
6491
6516
  }
6492
6517
  }
6493
6518
 
6519
+ declare module "gridstack" {
6520
+ interface GridStackWidget {
6521
+ id?: string;
6522
+ allowedSizes?: Array<{
6523
+ w: number;
6524
+ h: number;
6525
+ }>;
6526
+ meta?: Record<string, unknown>;
6527
+ }
6528
+ interface GridStackNode {
6529
+ allowedSizes?: Array<{
6530
+ w: number;
6531
+ h: number;
6532
+ }>;
6533
+ }
6534
+ }
6535
+
6494
6536
 
6495
6537
  declare module "@tiptap/core" {
6496
6538
  interface Commands<ReturnType> {
@@ -6518,28 +6560,6 @@ declare module "@tiptap/core" {
6518
6560
  }
6519
6561
  }
6520
6562
 
6521
- declare module "gridstack" {
6522
- interface GridStackWidget {
6523
- id?: string;
6524
- allowedSizes?: Array<{
6525
- w: number;
6526
- h: number;
6527
- }>;
6528
- meta?: Record<string, unknown>;
6529
- }
6530
- interface GridStackNode {
6531
- allowedSizes?: Array<{
6532
- w: number;
6533
- h: number;
6534
- }>;
6535
- }
6536
- }
6537
-
6538
-
6539
- declare namespace Calendar {
6540
- var displayName: string;
6541
- }
6542
-
6543
6563
 
6544
6564
  declare module "@tiptap/core" {
6545
6565
  interface Commands<ReturnType> {
@@ -6548,3 +6568,8 @@ declare module "@tiptap/core" {
6548
6568
  };
6549
6569
  }
6550
6570
  }
6571
+
6572
+
6573
+ declare namespace Calendar {
6574
+ var displayName: string;
6575
+ }