@factorialco/f0-react 1.280.0 → 1.281.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/experimental.d.ts +253 -34
- package/dist/experimental.js +11248 -10123
- package/dist/f0.d.ts +77 -27
- package/dist/f0.js +1008 -1074
- package/dist/{hooks-WCchcl_J.js → hooks-CIGhOgZ-.js} +21060 -20929
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -1754,6 +1754,56 @@ export declare const defaultTranslations: {
|
|
|
1754
1754
|
readonly greaterThan: "It should be greater than {{min}}";
|
|
1755
1755
|
readonly lessThan: "It should be less than {{max}}";
|
|
1756
1756
|
};
|
|
1757
|
+
readonly coCreationForm: {
|
|
1758
|
+
readonly actions: {
|
|
1759
|
+
readonly actions: "Actions";
|
|
1760
|
+
readonly duplicateQuestion: "Duplicate question";
|
|
1761
|
+
readonly deleteQuestion: "Delete question";
|
|
1762
|
+
readonly duplicateSection: "Duplicate section";
|
|
1763
|
+
readonly deleteSection: "Delete section";
|
|
1764
|
+
};
|
|
1765
|
+
readonly questionTypes: {
|
|
1766
|
+
readonly section: "Section";
|
|
1767
|
+
readonly rating: "Rating";
|
|
1768
|
+
readonly multipleChoice: "Multiple choice";
|
|
1769
|
+
readonly singleChoice: "Single choice";
|
|
1770
|
+
readonly text: "Text";
|
|
1771
|
+
readonly longText: "Long text";
|
|
1772
|
+
readonly numeric: "Numeric";
|
|
1773
|
+
readonly link: "Link";
|
|
1774
|
+
readonly date: "Date";
|
|
1775
|
+
};
|
|
1776
|
+
readonly selectQuestion: {
|
|
1777
|
+
readonly addOption: "Add option";
|
|
1778
|
+
readonly newOption: "New option {{number}}";
|
|
1779
|
+
readonly markAsCorrect: "Mark as correct";
|
|
1780
|
+
readonly remove: "Remove";
|
|
1781
|
+
readonly correct: "Correct";
|
|
1782
|
+
readonly optionPlaceholder: "Type anything you want here...";
|
|
1783
|
+
};
|
|
1784
|
+
readonly answer: {
|
|
1785
|
+
readonly label: "Answer";
|
|
1786
|
+
readonly placeholder: "Respondent's answer";
|
|
1787
|
+
};
|
|
1788
|
+
readonly labels: {
|
|
1789
|
+
readonly endOfSection: "End of section";
|
|
1790
|
+
readonly title: "Title";
|
|
1791
|
+
readonly titlePlaceholder: "Question title";
|
|
1792
|
+
readonly description: "Description";
|
|
1793
|
+
readonly questionDescriptionPlaceholder: "Describe the question in a few words";
|
|
1794
|
+
readonly sectionDescriptionPlaceholder: "Describe the section in a few words";
|
|
1795
|
+
readonly required: "Required";
|
|
1796
|
+
readonly questionType: "Question type";
|
|
1797
|
+
readonly questionOptions: "Question options";
|
|
1798
|
+
readonly actions: "Actions";
|
|
1799
|
+
readonly sectionTitlePlaceholder: "Section title";
|
|
1800
|
+
};
|
|
1801
|
+
readonly defaults: {
|
|
1802
|
+
readonly newSection: "New Section";
|
|
1803
|
+
readonly newQuestion: "New Question";
|
|
1804
|
+
readonly newQuestionDescription: "New question description";
|
|
1805
|
+
};
|
|
1806
|
+
};
|
|
1757
1807
|
};
|
|
1758
1808
|
|
|
1759
1809
|
/**
|
|
@@ -4295,6 +4345,31 @@ declare global {
|
|
|
4295
4345
|
}
|
|
4296
4346
|
|
|
4297
4347
|
|
|
4348
|
+
declare module "gridstack" {
|
|
4349
|
+
interface GridStackWidget {
|
|
4350
|
+
id?: string;
|
|
4351
|
+
allowedSizes?: Array<{
|
|
4352
|
+
w: number;
|
|
4353
|
+
h: number;
|
|
4354
|
+
}>;
|
|
4355
|
+
renderFn?: () => React.ReactElement | null;
|
|
4356
|
+
meta?: Record<string, unknown>;
|
|
4357
|
+
}
|
|
4358
|
+
interface GridStackNode {
|
|
4359
|
+
id?: string;
|
|
4360
|
+
w?: number;
|
|
4361
|
+
h?: number;
|
|
4362
|
+
x?: number;
|
|
4363
|
+
y?: number;
|
|
4364
|
+
allowedSizes?: Array<{
|
|
4365
|
+
w: number;
|
|
4366
|
+
h: number;
|
|
4367
|
+
}>;
|
|
4368
|
+
renderFn?: () => React.ReactElement | null;
|
|
4369
|
+
}
|
|
4370
|
+
}
|
|
4371
|
+
|
|
4372
|
+
|
|
4298
4373
|
declare module "@tiptap/core" {
|
|
4299
4374
|
interface Commands<ReturnType> {
|
|
4300
4375
|
aiBlock: {
|
|
@@ -4322,28 +4397,8 @@ declare module "@tiptap/core" {
|
|
|
4322
4397
|
}
|
|
4323
4398
|
|
|
4324
4399
|
|
|
4325
|
-
declare
|
|
4326
|
-
|
|
4327
|
-
id?: string;
|
|
4328
|
-
allowedSizes?: Array<{
|
|
4329
|
-
w: number;
|
|
4330
|
-
h: number;
|
|
4331
|
-
}>;
|
|
4332
|
-
renderFn?: () => React.ReactElement | null;
|
|
4333
|
-
meta?: Record<string, unknown>;
|
|
4334
|
-
}
|
|
4335
|
-
interface GridStackNode {
|
|
4336
|
-
id?: string;
|
|
4337
|
-
w?: number;
|
|
4338
|
-
h?: number;
|
|
4339
|
-
x?: number;
|
|
4340
|
-
y?: number;
|
|
4341
|
-
allowedSizes?: Array<{
|
|
4342
|
-
w: number;
|
|
4343
|
-
h: number;
|
|
4344
|
-
}>;
|
|
4345
|
-
renderFn?: () => React.ReactElement | null;
|
|
4346
|
-
}
|
|
4400
|
+
declare namespace Calendar {
|
|
4401
|
+
var displayName: string;
|
|
4347
4402
|
}
|
|
4348
4403
|
|
|
4349
4404
|
|
|
@@ -4354,8 +4409,3 @@ declare module "@tiptap/core" {
|
|
|
4354
4409
|
};
|
|
4355
4410
|
}
|
|
4356
4411
|
}
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
declare namespace Calendar {
|
|
4360
|
-
var displayName: string;
|
|
4361
|
-
}
|