@factorialco/f0-react 1.449.2 → 1.450.1
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/{F0AiChat-DNI9xUa4.js → F0AiChat-CvswUKj5.js} +102362 -67716
- package/dist/F0AiChat.css +1 -1
- package/dist/ai.d.ts +37 -14
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +19 -13
- package/dist/experimental.js +2752 -3211
- package/dist/f0.d.ts +138 -62
- package/dist/f0.js +6664 -15356
- package/dist/i18n-provider-defaults.d.ts +17 -13
- package/dist/i18n-provider-defaults.js +4 -0
- package/dist/index-DI1K-gxs.js +19398 -0
- package/dist/index.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-B7eP61FT.js → types-C7-JhSfW.js} +1 -1
- package/package.json +1 -1
- package/dist/index-DXD8ecUC.js +0 -44274
package/dist/F0AiChat.css
CHANGED
|
@@ -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)}.enhance-highlight{background:linear-gradient(90deg,#e5561980,#a1ade580,#e5194380,#e5561980);background-size:300% 100%;animation:enhance-gradient-move 3s linear infinite;border-radius:4px}@keyframes enhance-gradient-move{0%{background-position:0% 50%}to{background-position:100% 50%}}.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}.ProseMirror-selectednode{outline:none!important}.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{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;top:50%;left: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}.image-resizable-wrapper{max-width:100%}.image-resize-handle{z-index:10}.shine-text{background:linear-gradient(90deg,#888 0% 33%,#aaa 50%,#888 66% 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shine 1.5s ease-in-out infinite}@keyframes shine{0%{background-position:200% 0}to{background-position:-200% 0}}._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)}
|
|
1
|
+
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}.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)}.enhance-highlight{background:linear-gradient(90deg,#e5561980,#a1ade580,#e5194380,#e5561980);background-size:300% 100%;animation:enhance-gradient-move 3s linear infinite;border-radius:4px}@keyframes enhance-gradient-move{0%{background-position:0% 50%}to{background-position:100% 50%}}.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}.ProseMirror-selectednode{outline:none!important}.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{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;top:50%;left: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}.image-resizable-wrapper{max-width:100%}.image-resize-handle{z-index:10}.shine-text{background:linear-gradient(90deg,#888 0% 33%,#aaa 50%,#888 66% 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shine 1.5s ease-in-out infinite}@keyframes shine{0%{background-position:200% 0}to{background-position:-200% 0}}._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)}
|
package/dist/ai.d.ts
CHANGED
|
@@ -476,6 +476,9 @@ export declare const aiTranslations: {
|
|
|
476
476
|
readonly reportLabel: "Report";
|
|
477
477
|
readonly openButton: "Open";
|
|
478
478
|
};
|
|
479
|
+
readonly formCard: {
|
|
480
|
+
readonly moreFields: "Open to see all fields";
|
|
481
|
+
};
|
|
479
482
|
readonly dataDownload: {
|
|
480
483
|
readonly title: "Download";
|
|
481
484
|
readonly download: "Download {{format}}";
|
|
@@ -665,7 +668,7 @@ declare type CandidateProfile = {
|
|
|
665
668
|
* Discriminated union for canvas panel content.
|
|
666
669
|
* Add new entity types to this union as they are implemented.
|
|
667
670
|
*/
|
|
668
|
-
export declare type CanvasContent = DashboardCanvasContent | DataDownloadCanvasContent;
|
|
671
|
+
export declare type CanvasContent = DashboardCanvasContent | FormCanvasContent | DataDownloadCanvasContent;
|
|
669
672
|
|
|
670
673
|
/**
|
|
671
674
|
* Base shape shared by all canvas content types.
|
|
@@ -674,6 +677,7 @@ export declare type CanvasContent = DashboardCanvasContent | DataDownloadCanvasC
|
|
|
674
677
|
export declare type CanvasContentBase = {
|
|
675
678
|
type: string;
|
|
676
679
|
title: string;
|
|
680
|
+
description?: string;
|
|
677
681
|
toolCallId?: string;
|
|
678
682
|
};
|
|
679
683
|
|
|
@@ -710,6 +714,11 @@ export declare type CanvasEntityDefinition<T extends CanvasContentBase = CanvasC
|
|
|
710
714
|
content: T;
|
|
711
715
|
children: ReactNode;
|
|
712
716
|
}) => ReactNode;
|
|
717
|
+
/**
|
|
718
|
+
* When true the content area uses `overflow-hidden` instead of
|
|
719
|
+
* `overflow-auto`, letting the entity manage its own scrolling.
|
|
720
|
+
*/
|
|
721
|
+
overflowHidden?: boolean;
|
|
713
722
|
};
|
|
714
723
|
|
|
715
724
|
declare type CardInternalProps = F0AiInsightCardProps & {
|
|
@@ -1238,6 +1247,7 @@ export declare const defaultTranslations: {
|
|
|
1238
1247
|
readonly expand: "Expand";
|
|
1239
1248
|
readonly showAll: "Show all";
|
|
1240
1249
|
readonly showLess: "Show less";
|
|
1250
|
+
readonly seeMore: "See more";
|
|
1241
1251
|
readonly skipToContent: "Skip to content";
|
|
1242
1252
|
readonly view: "View";
|
|
1243
1253
|
readonly unselect: "Unselect";
|
|
@@ -1515,6 +1525,9 @@ export declare const defaultTranslations: {
|
|
|
1515
1525
|
readonly reportLabel: "Report";
|
|
1516
1526
|
readonly openButton: "Open";
|
|
1517
1527
|
};
|
|
1528
|
+
readonly formCard: {
|
|
1529
|
+
readonly moreFields: "Open to see all fields";
|
|
1530
|
+
};
|
|
1518
1531
|
readonly dataDownload: {
|
|
1519
1532
|
readonly title: "Download";
|
|
1520
1533
|
readonly download: "Download {{format}}";
|
|
@@ -2096,6 +2109,16 @@ declare type FormatPreset = {
|
|
|
2096
2109
|
type: "compact";
|
|
2097
2110
|
};
|
|
2098
2111
|
|
|
2112
|
+
/**
|
|
2113
|
+
* Form canvas content — renders an interactive F0Form in the canvas panel.
|
|
2114
|
+
*/
|
|
2115
|
+
declare type FormCanvasContent = CanvasContentBase & {
|
|
2116
|
+
type: "form";
|
|
2117
|
+
formName: string;
|
|
2118
|
+
formDescription?: string;
|
|
2119
|
+
formModule?: ModuleId;
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2099
2122
|
declare interface GaugeComputation {
|
|
2100
2123
|
datasetId: string;
|
|
2101
2124
|
aggregation: AggregationType;
|
|
@@ -2602,16 +2625,11 @@ declare module "gridstack" {
|
|
|
2602
2625
|
}
|
|
2603
2626
|
|
|
2604
2627
|
|
|
2605
|
-
declare namespace Calendar {
|
|
2606
|
-
var displayName: string;
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
2628
|
declare module "@tiptap/core" {
|
|
2611
2629
|
interface Commands<ReturnType> {
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2630
|
+
aiBlock: {
|
|
2631
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
2632
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
2615
2633
|
};
|
|
2616
2634
|
}
|
|
2617
2635
|
}
|
|
@@ -2619,9 +2637,8 @@ declare module "@tiptap/core" {
|
|
|
2619
2637
|
|
|
2620
2638
|
declare module "@tiptap/core" {
|
|
2621
2639
|
interface Commands<ReturnType> {
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
2640
|
+
moodTracker: {
|
|
2641
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
2625
2642
|
};
|
|
2626
2643
|
}
|
|
2627
2644
|
}
|
|
@@ -2629,8 +2646,9 @@ declare module "@tiptap/core" {
|
|
|
2629
2646
|
|
|
2630
2647
|
declare module "@tiptap/core" {
|
|
2631
2648
|
interface Commands<ReturnType> {
|
|
2632
|
-
|
|
2633
|
-
|
|
2649
|
+
enhanceHighlight: {
|
|
2650
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
2651
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
2634
2652
|
};
|
|
2635
2653
|
}
|
|
2636
2654
|
}
|
|
@@ -2654,3 +2672,8 @@ declare module "@tiptap/core" {
|
|
|
2654
2672
|
};
|
|
2655
2673
|
}
|
|
2656
2674
|
}
|
|
2675
|
+
|
|
2676
|
+
|
|
2677
|
+
declare namespace Calendar {
|
|
2678
|
+
var displayName: string;
|
|
2679
|
+
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-
|
|
1
|
+
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-CvswUKj5.js";
|
|
2
2
|
import { defaultTranslations as m } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, e as g, F as S, c as v, d as x, b as k, a as O, f as P, o as b, u as y } from "./types-
|
|
3
|
+
import { A as p, e as g, F as S, c as v, d as x, b as k, a as O, f as P, o as b, u as y } from "./types-C7-JhSfW.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -2577,6 +2577,7 @@ declare const defaultTranslations: {
|
|
|
2577
2577
|
readonly expand: "Expand";
|
|
2578
2578
|
readonly showAll: "Show all";
|
|
2579
2579
|
readonly showLess: "Show less";
|
|
2580
|
+
readonly seeMore: "See more";
|
|
2580
2581
|
readonly skipToContent: "Skip to content";
|
|
2581
2582
|
readonly view: "View";
|
|
2582
2583
|
readonly unselect: "Unselect";
|
|
@@ -2854,6 +2855,9 @@ declare const defaultTranslations: {
|
|
|
2854
2855
|
readonly reportLabel: "Report";
|
|
2855
2856
|
readonly openButton: "Open";
|
|
2856
2857
|
};
|
|
2858
|
+
readonly formCard: {
|
|
2859
|
+
readonly moreFields: "Open to see all fields";
|
|
2860
|
+
};
|
|
2857
2861
|
readonly dataDownload: {
|
|
2858
2862
|
readonly title: "Download";
|
|
2859
2863
|
readonly download: "Download {{format}}";
|
|
@@ -3164,6 +3168,8 @@ declare interface DetailsItemsListProps extends WithDataTestIdProps {
|
|
|
3164
3168
|
title?: string;
|
|
3165
3169
|
tableView?: boolean;
|
|
3166
3170
|
details: DetailsItemType[];
|
|
3171
|
+
showSeeMore?: boolean;
|
|
3172
|
+
onClickSeeMore?: () => void;
|
|
3167
3173
|
}
|
|
3168
3174
|
|
|
3169
3175
|
export declare interface DetailsItemType {
|
|
@@ -7652,16 +7658,11 @@ declare module "gridstack" {
|
|
|
7652
7658
|
}
|
|
7653
7659
|
|
|
7654
7660
|
|
|
7655
|
-
declare namespace Calendar {
|
|
7656
|
-
var displayName: string;
|
|
7657
|
-
}
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
7661
|
declare module "@tiptap/core" {
|
|
7661
7662
|
interface Commands<ReturnType> {
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7663
|
+
aiBlock: {
|
|
7664
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
7665
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
7665
7666
|
};
|
|
7666
7667
|
}
|
|
7667
7668
|
}
|
|
@@ -7669,9 +7670,8 @@ declare module "@tiptap/core" {
|
|
|
7669
7670
|
|
|
7670
7671
|
declare module "@tiptap/core" {
|
|
7671
7672
|
interface Commands<ReturnType> {
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
7673
|
+
moodTracker: {
|
|
7674
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
7675
7675
|
};
|
|
7676
7676
|
}
|
|
7677
7677
|
}
|
|
@@ -7679,8 +7679,9 @@ declare module "@tiptap/core" {
|
|
|
7679
7679
|
|
|
7680
7680
|
declare module "@tiptap/core" {
|
|
7681
7681
|
interface Commands<ReturnType> {
|
|
7682
|
-
|
|
7683
|
-
|
|
7682
|
+
enhanceHighlight: {
|
|
7683
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
7684
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
7684
7685
|
};
|
|
7685
7686
|
}
|
|
7686
7687
|
}
|
|
@@ -7704,3 +7705,8 @@ declare module "@tiptap/core" {
|
|
|
7704
7705
|
};
|
|
7705
7706
|
}
|
|
7706
7707
|
}
|
|
7708
|
+
|
|
7709
|
+
|
|
7710
|
+
declare namespace Calendar {
|
|
7711
|
+
var displayName: string;
|
|
7712
|
+
}
|