@factorialco/f0-react 1.299.0 → 1.299.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/experimental.d.ts +29 -28
- package/dist/experimental.js +1500 -1477
- package/dist/f0.d.ts +27 -27
- package/dist/i18n-provider-defaults.d.ts +27 -27
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -1475,7 +1475,7 @@ declare interface ClockInGraphProps {
|
|
|
1475
1475
|
|
|
1476
1476
|
declare type ClockInStatus = "clocked-in" | "break" | "clocked-out";
|
|
1477
1477
|
|
|
1478
|
-
export declare const CoCreationForm: ({ elements, isEditMode, onChange, allowedQuestionTypes, }: CoCreationFormProps) => JSX_2.Element;
|
|
1478
|
+
export declare const CoCreationForm: ({ elements: elementsProp, isEditMode, onChange, disallowOptionalQuestions, allowedQuestionTypes, }: CoCreationFormProps) => JSX_2.Element;
|
|
1479
1479
|
|
|
1480
1480
|
export declare type CoCreationFormCallbacks = {
|
|
1481
1481
|
onQuestionChange?: (params: OnChangeQuestionParams) => void;
|
|
@@ -1496,6 +1496,7 @@ export declare type CoCreationFormProps = {
|
|
|
1496
1496
|
elements: CoCreationFormElement[];
|
|
1497
1497
|
onChange: (elements: CoCreationFormElement[]) => void;
|
|
1498
1498
|
isEditMode?: boolean;
|
|
1499
|
+
disallowOptionalQuestions?: boolean;
|
|
1499
1500
|
allowedQuestionTypes?: QuestionType[];
|
|
1500
1501
|
};
|
|
1501
1502
|
|
|
@@ -6371,6 +6372,31 @@ declare global {
|
|
|
6371
6372
|
}
|
|
6372
6373
|
|
|
6373
6374
|
|
|
6375
|
+
declare module "gridstack" {
|
|
6376
|
+
interface GridStackWidget {
|
|
6377
|
+
id?: string;
|
|
6378
|
+
allowedSizes?: Array<{
|
|
6379
|
+
w: number;
|
|
6380
|
+
h: number;
|
|
6381
|
+
}>;
|
|
6382
|
+
renderFn?: () => React.ReactElement | null;
|
|
6383
|
+
meta?: Record<string, unknown>;
|
|
6384
|
+
}
|
|
6385
|
+
interface GridStackNode {
|
|
6386
|
+
id?: string;
|
|
6387
|
+
w?: number;
|
|
6388
|
+
h?: number;
|
|
6389
|
+
x?: number;
|
|
6390
|
+
y?: number;
|
|
6391
|
+
allowedSizes?: Array<{
|
|
6392
|
+
w: number;
|
|
6393
|
+
h: number;
|
|
6394
|
+
}>;
|
|
6395
|
+
renderFn?: () => React.ReactElement | null;
|
|
6396
|
+
}
|
|
6397
|
+
}
|
|
6398
|
+
|
|
6399
|
+
|
|
6374
6400
|
declare module "@tiptap/core" {
|
|
6375
6401
|
interface Commands<ReturnType> {
|
|
6376
6402
|
aiBlock: {
|
|
@@ -6398,28 +6424,8 @@ declare module "@tiptap/core" {
|
|
|
6398
6424
|
}
|
|
6399
6425
|
|
|
6400
6426
|
|
|
6401
|
-
declare
|
|
6402
|
-
|
|
6403
|
-
id?: string;
|
|
6404
|
-
allowedSizes?: Array<{
|
|
6405
|
-
w: number;
|
|
6406
|
-
h: number;
|
|
6407
|
-
}>;
|
|
6408
|
-
renderFn?: () => React.ReactElement | null;
|
|
6409
|
-
meta?: Record<string, unknown>;
|
|
6410
|
-
}
|
|
6411
|
-
interface GridStackNode {
|
|
6412
|
-
id?: string;
|
|
6413
|
-
w?: number;
|
|
6414
|
-
h?: number;
|
|
6415
|
-
x?: number;
|
|
6416
|
-
y?: number;
|
|
6417
|
-
allowedSizes?: Array<{
|
|
6418
|
-
w: number;
|
|
6419
|
-
h: number;
|
|
6420
|
-
}>;
|
|
6421
|
-
renderFn?: () => React.ReactElement | null;
|
|
6422
|
-
}
|
|
6427
|
+
declare namespace Calendar {
|
|
6428
|
+
var displayName: string;
|
|
6423
6429
|
}
|
|
6424
6430
|
|
|
6425
6431
|
|
|
@@ -6430,8 +6436,3 @@ declare module "@tiptap/core" {
|
|
|
6430
6436
|
};
|
|
6431
6437
|
}
|
|
6432
6438
|
}
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
declare namespace Calendar {
|
|
6436
|
-
var displayName: string;
|
|
6437
|
-
}
|