@factorialco/f0-react 1.335.0 → 1.336.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/{AiChatTranslationsProvider-CSca-L63.js → AiChatTranslationsProvider-CSN_jvHE.js} +1439 -1392
- package/dist/{DataCollectionStorageProvider-Ds323gr1.js → DataCollectionStorageProvider-BS0EnnFa.js} +5060 -5057
- package/dist/ai.d.ts +5 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +28 -6
- package/dist/experimental.js +4833 -4827
- package/dist/f0.d.ts +23 -5
- package/dist/f0.js +4 -4
- package/dist/i18n-provider-defaults.d.ts +5 -5
- package/dist/{index-CtCVH5gY.js → index-CKWAEs9z.js} +16477 -16471
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -714,6 +714,11 @@ declare module "gridstack" {
|
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
|
|
717
|
+
declare namespace Calendar {
|
|
718
|
+
var displayName: string;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
|
|
717
722
|
declare module "@tiptap/core" {
|
|
718
723
|
interface Commands<ReturnType> {
|
|
719
724
|
aiBlock: {
|
|
@@ -740,8 +745,3 @@ declare module "@tiptap/core" {
|
|
|
740
745
|
};
|
|
741
746
|
}
|
|
742
747
|
}
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
declare namespace Calendar {
|
|
746
|
-
var displayName: string;
|
|
747
|
-
}
|
package/dist/ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-
|
|
2
|
-
import { I as f, u as h } from "./index-
|
|
1
|
+
import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-CSN_jvHE.js";
|
|
2
|
+
import { I as f, u as h } from "./index-CKWAEs9z.js";
|
|
3
3
|
import { defaultTranslations as m } from "./i18n-provider-defaults.js";
|
|
4
4
|
export {
|
|
5
5
|
i as ActionItem,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -2092,6 +2092,7 @@ declare interface DatePickerPopupProps {
|
|
|
2092
2092
|
hideCalendarInput?: boolean;
|
|
2093
2093
|
asChild?: boolean;
|
|
2094
2094
|
onCompareToChange?: (compareTo: DateRangeComplete | DateRangeComplete[] | undefined) => void;
|
|
2095
|
+
weekStartsOn?: WeekStartsOn;
|
|
2095
2096
|
}
|
|
2096
2097
|
|
|
2097
2098
|
export declare type DatePickerValue = {
|
|
@@ -3462,6 +3463,12 @@ declare interface FrameContextType {
|
|
|
3462
3463
|
|
|
3463
3464
|
export declare const getGranularityDefinition: (granularityKey: GranularityDefinitionKey) => GranularityDefinition;
|
|
3464
3465
|
|
|
3466
|
+
/**
|
|
3467
|
+
* Get granularity definitions with week granularity configured with the specified weekStartsOn.
|
|
3468
|
+
* The week granularity is only created when needed (lazy creation).
|
|
3469
|
+
*/
|
|
3470
|
+
export declare function getGranularityDefinitions(weekStartsOn?: WeekStartsOn): Record<string, GranularityDefinition>;
|
|
3471
|
+
|
|
3465
3472
|
export declare const getGranularitySimpleDefinition: (granularityKey: GranularityDefinitionKey) => GranularityDefinitionSimple;
|
|
3466
3473
|
|
|
3467
3474
|
/**
|
|
@@ -3477,6 +3484,7 @@ export declare const getSecondaryActions: (secondaryActions: SecondaryActionsDef
|
|
|
3477
3484
|
export declare interface GranularityDefinition {
|
|
3478
3485
|
calendarMode?: CalendarMode;
|
|
3479
3486
|
calendarView: CalendarView;
|
|
3487
|
+
weekStartsOn?: WeekStartsOn;
|
|
3480
3488
|
label: (viewDate: Date, i18n: TranslationsType) => ReactNode;
|
|
3481
3489
|
toRangeString: (date: Date | DateRange | undefined | null, i18n: TranslationsType, format?: DateStringFormat) => DateRangeString;
|
|
3482
3490
|
toRange: <T extends Date | DateRange | undefined | null>(date: T) => T extends Date | DateRange ? DateRangeComplete : T;
|
|
@@ -3498,6 +3506,7 @@ export declare interface GranularityDefinition {
|
|
|
3498
3506
|
setViewDate: (date: Date) => void;
|
|
3499
3507
|
viewDate: Date;
|
|
3500
3508
|
compact?: boolean;
|
|
3509
|
+
weekStartsOn?: WeekStartsOn;
|
|
3501
3510
|
}) => ReactNode;
|
|
3502
3511
|
add: (date: DateRangeComplete, delta: number) => DateRangeComplete;
|
|
3503
3512
|
getPrevNext(date: DateRange, options: DateNavigationOptions): PrevNextDateNavigation;
|
|
@@ -4480,7 +4489,7 @@ export declare const OneCalendar: {
|
|
|
4480
4489
|
displayName: string;
|
|
4481
4490
|
};
|
|
4482
4491
|
|
|
4483
|
-
export declare const OneCalendarInternal: ({ mode, view, onSelect, defaultMonth, defaultSelected, showNavigation, showInput, minDate, maxDate, compact, }: OneCalendarInternalProps) => JSX_2.Element;
|
|
4492
|
+
export declare const OneCalendarInternal: ({ mode, view, onSelect, defaultMonth, defaultSelected, showNavigation, showInput, minDate, maxDate, compact, weekStartsOn, }: OneCalendarInternalProps) => JSX_2.Element;
|
|
4484
4493
|
|
|
4485
4494
|
export declare interface OneCalendarInternalProps {
|
|
4486
4495
|
mode: CalendarMode;
|
|
@@ -4493,6 +4502,7 @@ export declare interface OneCalendarInternalProps {
|
|
|
4493
4502
|
minDate?: Date;
|
|
4494
4503
|
maxDate?: Date;
|
|
4495
4504
|
compact?: boolean;
|
|
4505
|
+
weekStartsOn?: WeekStartsOn;
|
|
4496
4506
|
}
|
|
4497
4507
|
|
|
4498
4508
|
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof privateProps_5)[number]>;
|
|
@@ -6316,6 +6326,18 @@ declare interface WeekdaysProps {
|
|
|
6316
6326
|
daysOfTheWeek?: string[];
|
|
6317
6327
|
}
|
|
6318
6328
|
|
|
6329
|
+
export declare const WeekStartDay: {
|
|
6330
|
+
readonly Sunday: 0;
|
|
6331
|
+
readonly Monday: 1;
|
|
6332
|
+
readonly Tuesday: 2;
|
|
6333
|
+
readonly Wednesday: 3;
|
|
6334
|
+
readonly Thursday: 4;
|
|
6335
|
+
readonly Friday: 5;
|
|
6336
|
+
readonly Saturday: 6;
|
|
6337
|
+
};
|
|
6338
|
+
|
|
6339
|
+
export declare type WeekStartsOn = (typeof WeekStartDay)[keyof typeof WeekStartDay];
|
|
6340
|
+
|
|
6319
6341
|
declare type WelcomeScreenSuggestion = {
|
|
6320
6342
|
icon: IconType;
|
|
6321
6343
|
message: string;
|
|
@@ -6483,6 +6505,11 @@ declare module "gridstack" {
|
|
|
6483
6505
|
}
|
|
6484
6506
|
|
|
6485
6507
|
|
|
6508
|
+
declare namespace Calendar {
|
|
6509
|
+
var displayName: string;
|
|
6510
|
+
}
|
|
6511
|
+
|
|
6512
|
+
|
|
6486
6513
|
declare module "@tiptap/core" {
|
|
6487
6514
|
interface Commands<ReturnType> {
|
|
6488
6515
|
aiBlock: {
|
|
@@ -6509,8 +6536,3 @@ declare module "@tiptap/core" {
|
|
|
6509
6536
|
};
|
|
6510
6537
|
}
|
|
6511
6538
|
}
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
declare namespace Calendar {
|
|
6515
|
-
var displayName: string;
|
|
6516
|
-
}
|