@factorialco/f0-react 1.422.3 → 1.424.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/{F0HILActionConfirmation-CcDsCCLa.js → F0HILActionConfirmation-Ubb7Zvx9.js} +1 -1
- package/dist/ai.d.ts +10 -6
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +26 -7
- package/dist/experimental.js +450 -450
- package/dist/f0.d.ts +47 -10
- package/dist/f0.js +4965 -4848
- package/dist/i18n-provider-defaults.d.ts +10 -6
- package/dist/i18n-provider-defaults.js +5 -1
- package/dist/{index-DtTD2awb.js → index-BJIDVQvo.js} +3235 -3245
- package/dist/{registry-Cfsd-zAT.js → registry-DuKzJwXp.js} +8522 -8470
- package/dist/styles.css +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
|
|
2
2
|
import { jsx as q, jsxs as le } from "react/jsx-runtime";
|
|
3
3
|
import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
|
|
4
|
-
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./registry-
|
|
4
|
+
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./registry-DuKzJwXp.js";
|
|
5
5
|
import { useTrackVolume as wt } from "@livekit/components-react";
|
|
6
6
|
function Tt(t, e, r) {
|
|
7
7
|
Xe(() => t.on(e, r), [t, e, r]);
|
package/dist/ai.d.ts
CHANGED
|
@@ -1198,6 +1198,7 @@ export declare const defaultTranslations: {
|
|
|
1198
1198
|
readonly link: "Link";
|
|
1199
1199
|
readonly date: "Date";
|
|
1200
1200
|
readonly dropdownSingle: "Dropdown";
|
|
1201
|
+
readonly file: "File upload";
|
|
1201
1202
|
};
|
|
1202
1203
|
readonly selectQuestion: {
|
|
1203
1204
|
readonly addOption: "Add option";
|
|
@@ -1207,6 +1208,9 @@ export declare const defaultTranslations: {
|
|
|
1207
1208
|
readonly correct: "Correct";
|
|
1208
1209
|
readonly optionPlaceholder: "Type anything you want here...";
|
|
1209
1210
|
};
|
|
1211
|
+
readonly fileQuestion: {
|
|
1212
|
+
readonly uploadButton: "Upload file";
|
|
1213
|
+
};
|
|
1210
1214
|
readonly answer: {
|
|
1211
1215
|
readonly label: "Answer";
|
|
1212
1216
|
readonly dropdownPlaceholder: "Pick an option";
|
|
@@ -1816,10 +1820,8 @@ declare module "@tiptap/core" {
|
|
|
1816
1820
|
|
|
1817
1821
|
declare module "@tiptap/core" {
|
|
1818
1822
|
interface Commands<ReturnType> {
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
src: string;
|
|
1822
|
-
}) => ReturnType;
|
|
1823
|
+
transcript: {
|
|
1824
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
1823
1825
|
};
|
|
1824
1826
|
}
|
|
1825
1827
|
}
|
|
@@ -1827,8 +1829,10 @@ declare module "@tiptap/core" {
|
|
|
1827
1829
|
|
|
1828
1830
|
declare module "@tiptap/core" {
|
|
1829
1831
|
interface Commands<ReturnType> {
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
+
videoEmbed: {
|
|
1833
|
+
setVideoEmbed: (options: {
|
|
1834
|
+
src: string;
|
|
1835
|
+
}) => ReturnType;
|
|
1832
1836
|
};
|
|
1833
1837
|
}
|
|
1834
1838
|
}
|
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 "./registry-
|
|
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 "./registry-DuKzJwXp.js";
|
|
2
2
|
import { defaultTranslations as d } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-
|
|
3
|
+
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-Ubb7Zvx9.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -2754,6 +2754,7 @@ declare const defaultTranslations: {
|
|
|
2754
2754
|
readonly link: "Link";
|
|
2755
2755
|
readonly date: "Date";
|
|
2756
2756
|
readonly dropdownSingle: "Dropdown";
|
|
2757
|
+
readonly file: "File upload";
|
|
2757
2758
|
};
|
|
2758
2759
|
readonly selectQuestion: {
|
|
2759
2760
|
readonly addOption: "Add option";
|
|
@@ -2763,6 +2764,9 @@ declare const defaultTranslations: {
|
|
|
2763
2764
|
readonly correct: "Correct";
|
|
2764
2765
|
readonly optionPlaceholder: "Type anything you want here...";
|
|
2765
2766
|
};
|
|
2767
|
+
readonly fileQuestion: {
|
|
2768
|
+
readonly uploadButton: "Upload file";
|
|
2769
|
+
};
|
|
2766
2770
|
readonly answer: {
|
|
2767
2771
|
readonly label: "Answer";
|
|
2768
2772
|
readonly dropdownPlaceholder: "Pick an option";
|
|
@@ -3019,7 +3023,7 @@ declare type DropdownProps = Omit<DropdownInternalProps, (typeof privateProps_4)
|
|
|
3019
3023
|
} & WithDataTestIdProps;
|
|
3020
3024
|
|
|
3021
3025
|
/** The edit mode for a column cell in the editable table. */
|
|
3022
|
-
declare type EditableTableCellEditType = "text" | "date" | "select" | "multiselect" | "display-only" | "disabled";
|
|
3026
|
+
declare type EditableTableCellEditType = "text" | "number" | "date" | "select" | "multiselect" | "display-only" | "disabled";
|
|
3023
3027
|
|
|
3024
3028
|
declare type EditableTableCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = CollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, EditableTableVisualizationOptions<R, Filters, Sortings, Summaries>>;
|
|
3025
3029
|
|
|
@@ -3051,6 +3055,12 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
|
|
|
3051
3055
|
* function whose return value isn't statically known.
|
|
3052
3056
|
*/
|
|
3053
3057
|
selectConfig?: SelectCellConfig<R>;
|
|
3058
|
+
/**
|
|
3059
|
+
* Configuration for `"number"` cells. Accepts constraints (`min`, `max`),
|
|
3060
|
+
* stepping (`step`), formatting (`maxDecimals`, `locale`), and units.
|
|
3061
|
+
* Falls back to sensible defaults when omitted.
|
|
3062
|
+
*/
|
|
3063
|
+
numberConfig?: NumberCellConfig;
|
|
3054
3064
|
};
|
|
3055
3065
|
|
|
3056
3066
|
declare type EditableTableVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = Omit<TableVisualizationOptions<R, _Filters, Sortings, Summaries>, "columns"> & {
|
|
@@ -4828,6 +4838,15 @@ export declare interface NotesTextEditorSkeletonProps {
|
|
|
4828
4838
|
withToolbar?: boolean;
|
|
4829
4839
|
}
|
|
4830
4840
|
|
|
4841
|
+
declare type NumberCellConfig = {
|
|
4842
|
+
min?: number;
|
|
4843
|
+
max?: number;
|
|
4844
|
+
step?: number;
|
|
4845
|
+
maxDecimals?: number;
|
|
4846
|
+
locale?: string;
|
|
4847
|
+
units?: string;
|
|
4848
|
+
};
|
|
4849
|
+
|
|
4831
4850
|
export declare type NumberFilterDefinition = BaseFilterDefinition<"number"> & {
|
|
4832
4851
|
options?: NumberFilterOptions_2;
|
|
4833
4852
|
};
|
|
@@ -7238,10 +7257,8 @@ declare module "@tiptap/core" {
|
|
|
7238
7257
|
|
|
7239
7258
|
declare module "@tiptap/core" {
|
|
7240
7259
|
interface Commands<ReturnType> {
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
src: string;
|
|
7244
|
-
}) => ReturnType;
|
|
7260
|
+
transcript: {
|
|
7261
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
7245
7262
|
};
|
|
7246
7263
|
}
|
|
7247
7264
|
}
|
|
@@ -7249,8 +7266,10 @@ declare module "@tiptap/core" {
|
|
|
7249
7266
|
|
|
7250
7267
|
declare module "@tiptap/core" {
|
|
7251
7268
|
interface Commands<ReturnType> {
|
|
7252
|
-
|
|
7253
|
-
|
|
7269
|
+
videoEmbed: {
|
|
7270
|
+
setVideoEmbed: (options: {
|
|
7271
|
+
src: string;
|
|
7272
|
+
}) => ReturnType;
|
|
7254
7273
|
};
|
|
7255
7274
|
}
|
|
7256
7275
|
}
|