@factorialco/f0-react 6.2.2 → 6.3.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/{ChatPdfThumbnail-BLCNW9tn.js → ChatPdfThumbnail-Dghs0CzO.js} +1 -1
- package/dist/{DocumentToolbar-_eHuk_7I.js → DocumentToolbar-BDvNUhV7.js} +2 -2
- package/dist/{DocxViewer-0nTKwe4-.js → DocxViewer-CY5mp3ZZ.js} +2 -2
- package/dist/{F0AiProcessingOverlay-Dk7GnQns.js → F0AiProcessingOverlay-DqFO2k91.js} +1 -1
- package/dist/{F0CanvasPanel-o1LTTwSF.js → F0CanvasPanel-BIyPWdvY.js} +47 -51
- package/dist/{F0VideoPlayer-CYF7DmfJ.js → F0VideoPlayer-9AGbcWmR.js} +1 -1
- package/dist/{SheetViewer-DQLoSGfZ.js → SheetViewer-Ck_r2UBe.js} +2 -2
- package/dist/{TextViewer-CEOWQzCr.js → TextViewer-yHpXtqxA.js} +2 -2
- package/dist/ai.d.ts +8 -8
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +8 -8
- package/dist/experimental.js +2004 -2016
- package/dist/f0.d.ts +35 -9
- package/dist/f0.js +5348 -5330
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/{index-QfL3G68m.js → index-CTq35fiY.js} +3 -3
- package/dist/{index-BONXxGHX.js → index-DFDpzKBm.js} +308 -307
- package/dist/index-TLOX-SJX.js +4 -0
- package/dist/{pdfWorker-C6o67B6L.js → pdfWorker-WfUrOW8A.js} +2 -2
- package/dist/styles.css +1 -1
- package/icons/app/MaximizeHorizontal.d.ts.map +1 -1
- package/icons/app/MaximizeHorizontal.js +1 -1
- package/icons/app/MinimizeHorizontal.d.ts.map +1 -1
- package/icons/app/MinimizeHorizontal.js +1 -1
- package/package.json +1 -1
- package/dist/index-BZ75fcLT.js +0 -4
package/dist/f0.d.ts
CHANGED
|
@@ -16797,7 +16797,7 @@ export declare type SurveyDataset = {
|
|
|
16797
16797
|
|
|
16798
16798
|
export declare type SurveyDatasets = Record<string, SurveyDataset>;
|
|
16799
16799
|
|
|
16800
|
-
export declare const SurveyFormBuilder: WithDataTestIdReturnType_8<({ elements: elementsProp, disabled, onChange, disallowOptionalQuestions, allowedQuestionTypes, applyingChanges, useUpload, datasets, }: SurveyFormBuilderProps) => JSX_2.Element>;
|
|
16800
|
+
export declare const SurveyFormBuilder: WithDataTestIdReturnType_8<({ elements: elementsProp, disabled, onChange, disallowOptionalQuestions, allowedQuestionTypes, applyingChanges, useUpload, datasets, placeholders, labels, skipDefaultSection, }: SurveyFormBuilderProps) => JSX_2.Element>;
|
|
16801
16801
|
|
|
16802
16802
|
export declare type SurveyFormBuilderCallbacks = {
|
|
16803
16803
|
onQuestionChange?: (params: OnChangeQuestionParams) => void;
|
|
@@ -16814,6 +16814,22 @@ export declare type SurveyFormBuilderElement = {
|
|
|
16814
16814
|
question: QuestionElement;
|
|
16815
16815
|
};
|
|
16816
16816
|
|
|
16817
|
+
export declare type SurveyFormBuilderLabels = {
|
|
16818
|
+
/** Overrides the label/tooltip of the "add" buttons (default: "Add question"). */
|
|
16819
|
+
addQuestion?: string;
|
|
16820
|
+
};
|
|
16821
|
+
|
|
16822
|
+
export declare type SurveyFormBuilderPlaceholders = {
|
|
16823
|
+
/** Overrides the default "Question title" placeholder shown on empty questions. */
|
|
16824
|
+
questionTitle?: string;
|
|
16825
|
+
/** Overrides the default "Section title" placeholder shown on empty sections. */
|
|
16826
|
+
sectionTitle?: string;
|
|
16827
|
+
/** Overrides the default question description placeholder (pass "" to hide the hint). */
|
|
16828
|
+
questionDescription?: string;
|
|
16829
|
+
/** Overrides the default text-answer preview placeholder (pass "" to hide the hint). */
|
|
16830
|
+
answer?: string;
|
|
16831
|
+
};
|
|
16832
|
+
|
|
16817
16833
|
export declare type SurveyFormBuilderProps = {
|
|
16818
16834
|
elements: SurveyFormBuilderElement[];
|
|
16819
16835
|
onChange: (elements: SurveyFormBuilderElement[]) => void;
|
|
@@ -16823,6 +16839,16 @@ export declare type SurveyFormBuilderProps = {
|
|
|
16823
16839
|
applyingChanges?: boolean;
|
|
16824
16840
|
useUpload?: UseFileUpload;
|
|
16825
16841
|
datasets?: SurveyDatasets;
|
|
16842
|
+
/** Per-instance overrides for the builder's title placeholders. Falls back to i18n defaults. */
|
|
16843
|
+
placeholders?: SurveyFormBuilderPlaceholders;
|
|
16844
|
+
/** Per-instance overrides for the builder's action labels. Falls back to i18n defaults. */
|
|
16845
|
+
labels?: SurveyFormBuilderLabels;
|
|
16846
|
+
/**
|
|
16847
|
+
* When true, an empty builder does NOT auto-insert a default section on mount,
|
|
16848
|
+
* letting the consumer start from a blank form. Defaults to the legacy behaviour
|
|
16849
|
+
* (a section is created).
|
|
16850
|
+
*/
|
|
16851
|
+
skipDefaultSection?: boolean;
|
|
16826
16852
|
};
|
|
16827
16853
|
|
|
16828
16854
|
export declare type SurveyFormSubmitResult = {
|
|
@@ -19069,11 +19095,9 @@ declare module "@tiptap/core" {
|
|
|
19069
19095
|
|
|
19070
19096
|
declare module "@tiptap/core" {
|
|
19071
19097
|
interface Commands<ReturnType> {
|
|
19072
|
-
|
|
19073
|
-
|
|
19074
|
-
|
|
19075
|
-
}) => ReturnType;
|
|
19076
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
19098
|
+
fontSize: {
|
|
19099
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
19100
|
+
unsetFontSize: () => ReturnType;
|
|
19077
19101
|
};
|
|
19078
19102
|
}
|
|
19079
19103
|
}
|
|
@@ -19081,9 +19105,11 @@ declare module "@tiptap/core" {
|
|
|
19081
19105
|
|
|
19082
19106
|
declare module "@tiptap/core" {
|
|
19083
19107
|
interface Commands<ReturnType> {
|
|
19084
|
-
|
|
19085
|
-
|
|
19086
|
-
|
|
19108
|
+
enhanceHighlight: {
|
|
19109
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
19110
|
+
placeholder?: string;
|
|
19111
|
+
}) => ReturnType;
|
|
19112
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
19087
19113
|
};
|
|
19088
19114
|
}
|
|
19089
19115
|
}
|