@factorialco/f0-react 4.0.3 → 4.1.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/{F0CanvasPanel-BEfffklz.js → F0CanvasPanel-BldFCFfR.js} +9304 -9284
- package/dist/ai.d.ts +7 -7
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +12 -8
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +112 -15
- package/dist/f0.js +9 -9
- package/dist/i18n-provider-defaults.d.ts +7 -7
- package/dist/styles.css +1 -1
- package/dist/{useChatHistory-XWv7ITeI.js → useChatHistory-CmV8QZ5c.js} +1 -1
- package/dist/{useDataCollectionSource-BIPtqfqk.js → useDataCollectionSource-CS0v7UFK.js} +6374 -6295
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -4718,11 +4718,8 @@ declare module "@tiptap/core" {
|
|
|
4718
4718
|
|
|
4719
4719
|
declare module "@tiptap/core" {
|
|
4720
4720
|
interface Commands<ReturnType> {
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
placeholder?: string;
|
|
4724
|
-
}) => ReturnType;
|
|
4725
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
4721
|
+
moodTracker: {
|
|
4722
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
4726
4723
|
};
|
|
4727
4724
|
}
|
|
4728
4725
|
}
|
|
@@ -4730,8 +4727,11 @@ declare module "@tiptap/core" {
|
|
|
4730
4727
|
|
|
4731
4728
|
declare module "@tiptap/core" {
|
|
4732
4729
|
interface Commands<ReturnType> {
|
|
4733
|
-
|
|
4734
|
-
|
|
4730
|
+
enhanceHighlight: {
|
|
4731
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
4732
|
+
placeholder?: string;
|
|
4733
|
+
}) => ReturnType;
|
|
4734
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
4735
4735
|
};
|
|
4736
4736
|
}
|
|
4737
4737
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, D as r, c as t, F as o, a as i, f as n, g as F, d as C, e as A, I as l, P as d, b as u, u as m } from "./F0CanvasPanel-
|
|
1
|
+
import { C as e, D as r, c as t, F as o, a as i, f as n, g as F, d as C, e as A, I as l, P as d, b as u, u as m } from "./F0CanvasPanel-BldFCFfR.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as P, s as v, t as f, w as g, l as p, i as T, q as y, x as S, p as x, r as H, j as V, e as b, g as k, k as w, F as M, h as O, a as D, n as j, m as q, o as z, b as B, f as E, v as L, c as R, d as G, u as J } from "./useChatHistory-
|
|
3
|
+
import { A as P, s as v, t as f, w as g, l as p, i as T, q as y, x as S, p as x, r as H, j as V, e as b, g as k, k as w, F as M, h as O, a as D, n as j, m as q, o as z, b as B, f as E, v as L, c as R, d as G, u as J } from "./useChatHistory-CmV8QZ5c.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -2975,6 +2975,8 @@ declare interface DatePickerPopupProps {
|
|
|
2975
2975
|
asChild?: boolean;
|
|
2976
2976
|
onCompareToChange?: (compareTo: DateRangeComplete | DateRangeComplete[] | undefined) => void;
|
|
2977
2977
|
weekStartsOn?: WeekStartsOn;
|
|
2978
|
+
/** When true, switching granularity only changes the view; selection and close happen only on a cell click. Default false. */
|
|
2979
|
+
selectOnCellOnly?: boolean;
|
|
2978
2980
|
}
|
|
2979
2981
|
|
|
2980
2982
|
export declare type DatePickerValue = {
|
|
@@ -6916,7 +6918,7 @@ export declare const OneCalendar: WithDataTestIdReturnType_2< {
|
|
|
6916
6918
|
displayName: string;
|
|
6917
6919
|
}>;
|
|
6918
6920
|
|
|
6919
|
-
export declare const OneCalendarInternal: ({ mode, view, onSelect, defaultMonth, defaultSelected, showNavigation, showInput, minDate, maxDate, compact, weekStartsOn, }: OneCalendarInternalProps) => JSX_2.Element;
|
|
6921
|
+
export declare const OneCalendarInternal: ({ mode, view, onSelect, defaultMonth, defaultSelected, showNavigation, showInput, minDate, maxDate, compact, weekStartsOn, selectOnCellOnly, }: OneCalendarInternalProps) => JSX_2.Element;
|
|
6920
6922
|
|
|
6921
6923
|
export declare interface OneCalendarInternalProps {
|
|
6922
6924
|
mode: CalendarMode;
|
|
@@ -6930,6 +6932,8 @@ export declare interface OneCalendarInternalProps {
|
|
|
6930
6932
|
maxDate?: Date;
|
|
6931
6933
|
compact?: boolean;
|
|
6932
6934
|
weekStartsOn?: WeekStartsOn;
|
|
6935
|
+
/** When true, a granularity change updates the view without emitting `onSelect`. Default false. */
|
|
6936
|
+
selectOnCellOnly?: boolean;
|
|
6933
6937
|
}
|
|
6934
6938
|
|
|
6935
6939
|
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof privateProps_6)[number]>;
|
|
@@ -9743,11 +9747,8 @@ declare module "@tiptap/core" {
|
|
|
9743
9747
|
|
|
9744
9748
|
declare module "@tiptap/core" {
|
|
9745
9749
|
interface Commands<ReturnType> {
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
placeholder?: string;
|
|
9749
|
-
}) => ReturnType;
|
|
9750
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
9750
|
+
moodTracker: {
|
|
9751
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
9751
9752
|
};
|
|
9752
9753
|
}
|
|
9753
9754
|
}
|
|
@@ -9755,8 +9756,11 @@ declare module "@tiptap/core" {
|
|
|
9755
9756
|
|
|
9756
9757
|
declare module "@tiptap/core" {
|
|
9757
9758
|
interface Commands<ReturnType> {
|
|
9758
|
-
|
|
9759
|
-
|
|
9759
|
+
enhanceHighlight: {
|
|
9760
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
9761
|
+
placeholder?: string;
|
|
9762
|
+
}) => ReturnType;
|
|
9763
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
9760
9764
|
};
|
|
9761
9765
|
}
|
|
9762
9766
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h as ga, B as pa, i as ba, j as xa, k as Dt, l as Be, m as Te, n as va, o as b, p as J, q as ye, u as oe, T as ya, r as wa, s as Na, R as Ca, t as Ia, v as ce, w as ka, x as Nt, y as ut, z as Ve, A as Le, E as Sa, G as Fa, H as U, J as Aa, K as La, L as xe, M as mn, N as Oa, O as Pa, Q as H, S as hn, U as z, V as ke, W as Ea, X as _a, Y as Da, Z as Ta, _ as za, $ as Oe, a0 as gn, a1 as Ra, a2 as we, a3 as Ue, a4 as Ba, e as pn, a5 as Ae, a6 as $a, a7 as bn, a8 as ie, a9 as X, aa as xn, ab as vn, ac as Ma, ad as yn, ae as pe, af as ae, ag as Wa, ah as ja, ai as Va, aj as Ua, ak as ve, al as Ye, am as Ha, an as Ga, ao as Ka, ap as qa, aq as Je, ar as wn, as as Ya, at as Ja, au as Za, av as He, aw as Xa, ax as Nn, ay as Qa, az as er, aA as tr, aB as nr, aC as ar, aD as rr, aE as ir, aF as lr, aG as ft, aH as Cn, aI as mt, aJ as In, aK as sr, aL as or, aM as cr, aN as dr, aO as ur, aP as Ze, aQ as Xe, aR as ht, aS as kn, aT as fr, aU as Ct, aV as mr, aW as hr, aX as gr, aY as Re, aZ as pr, a_ as br, a$ as $e, b0 as Tt, b1 as gt, b2 as xr, b3 as vr, a as yr, b as wr, b4 as Sn, b5 as Nr, g as Cr, F as Ir, b6 as kr, b7 as Fn, b8 as Sr, b9 as An, ba as Ln, bb as Fr, bc as Ar, bd as Lr, be as Or, bf as Pr, bg as Er, bh as _r, bi as Dr, bj as Tr, bk as On, bl as zr, bm as Rr, bn as Br, bo as $r, bp as ge, bq as It, br as kt, bs as St, bt as Pn, bu as Ft, bv as En, bw as _n, bx as Mr, by as Wr, bz as jr, bA as Vr, bB as Ur, bC as Hr, bD as Gr, bE as Kr, bF as zt, bG as qr, bH as Yr, bI as Rt, bJ as Bt, bK as $t, bL as Jr, bM as Zr, bN as Xr, bO as Qr, bP as Dn, bQ as ei, bR as ti } from "./F0CanvasPanel-
|
|
2
|
-
import { c2 as Kc, c1 as qc, ce as Yc, b_ as Jc, b$ as Zc, bS as Xc, bT as Qc, ch as ed, bU as td, bV as nd, ci as ad, c0 as rd, ca as id, cb as ld, cf as sd, bW as od, c4 as cd, c3 as dd, bX as ud, bY as fd, cc as md, cj as hd, cd as gd, cg as pd, c9 as bd, c6 as xd, c8 as vd, c5 as yd, bZ as wd, c7 as Nd } from "./F0CanvasPanel-
|
|
1
|
+
import { h as ga, B as pa, i as ba, j as xa, k as Dt, l as Be, m as Te, n as va, o as b, p as J, q as ye, u as oe, T as ya, r as wa, s as Na, R as Ca, t as Ia, v as ce, w as ka, x as Nt, y as ut, z as Ve, A as Le, E as Sa, G as Fa, H as U, J as Aa, K as La, L as xe, M as mn, N as Oa, O as Pa, Q as H, S as hn, U as z, V as ke, W as Ea, X as _a, Y as Da, Z as Ta, _ as za, $ as Oe, a0 as gn, a1 as Ra, a2 as we, a3 as Ue, a4 as Ba, e as pn, a5 as Ae, a6 as $a, a7 as bn, a8 as ie, a9 as X, aa as xn, ab as vn, ac as Ma, ad as yn, ae as pe, af as ae, ag as Wa, ah as ja, ai as Va, aj as Ua, ak as ve, al as Ye, am as Ha, an as Ga, ao as Ka, ap as qa, aq as Je, ar as wn, as as Ya, at as Ja, au as Za, av as He, aw as Xa, ax as Nn, ay as Qa, az as er, aA as tr, aB as nr, aC as ar, aD as rr, aE as ir, aF as lr, aG as ft, aH as Cn, aI as mt, aJ as In, aK as sr, aL as or, aM as cr, aN as dr, aO as ur, aP as Ze, aQ as Xe, aR as ht, aS as kn, aT as fr, aU as Ct, aV as mr, aW as hr, aX as gr, aY as Re, aZ as pr, a_ as br, a$ as $e, b0 as Tt, b1 as gt, b2 as xr, b3 as vr, a as yr, b as wr, b4 as Sn, b5 as Nr, g as Cr, F as Ir, b6 as kr, b7 as Fn, b8 as Sr, b9 as An, ba as Ln, bb as Fr, bc as Ar, bd as Lr, be as Or, bf as Pr, bg as Er, bh as _r, bi as Dr, bj as Tr, bk as On, bl as zr, bm as Rr, bn as Br, bo as $r, bp as ge, bq as It, br as kt, bs as St, bt as Pn, bu as Ft, bv as En, bw as _n, bx as Mr, by as Wr, bz as jr, bA as Vr, bB as Ur, bC as Hr, bD as Gr, bE as Kr, bF as zt, bG as qr, bH as Yr, bI as Rt, bJ as Bt, bK as $t, bL as Jr, bM as Zr, bN as Xr, bO as Qr, bP as Dn, bQ as ei, bR as ti } from "./F0CanvasPanel-BldFCFfR.js";
|
|
2
|
+
import { c2 as Kc, c1 as qc, ce as Yc, b_ as Jc, b$ as Zc, bS as Xc, bT as Qc, ch as ed, bU as td, bV as nd, ci as ad, c0 as rd, ca as id, cb as ld, cf as sd, bW as od, c4 as cd, c3 as dd, bX as ud, bY as fd, cc as md, cj as hd, cd as gd, cg as pd, c9 as bd, c6 as xd, c8 as vd, c5 as yd, bZ as wd, c7 as Nd } from "./F0CanvasPanel-BldFCFfR.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as Z } from "react/jsx-runtime";
|
|
4
4
|
import ue, { forwardRef as G, useRef as j, useTransition as ni, useState as D, useLayoutEffect as Tn, useId as pt, useContext as Pe, createContext as Qe, useEffect as W, useCallback as ne, useMemo as q, Fragment as ai, isValidElement as ri, cloneElement as zn, Children as Rn } from "react";
|
|
5
|
-
import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-
|
|
6
|
-
import { r as Id, s as kd, o as Sd, H as Fd, t as Ad, z as Ld, a8 as Od, G as Pd, q as Ed, aa as _d, a9 as Dd, Q as Td, ad as zd, F as Rd, Y as Bd, U as $d, J as Md, af as Wd, K as jd, Z as Vd, _ as Ud, v as Hd, ab as Gd, ac as Kd, N as qd, $ as Yd, a5 as Jd, a7 as Zd, w as Xd, y as Qd, D as eu, W as tu, ae as nu, X as au, T as ru, ag as iu, x as lu, E as su, m as ou, n as cu, a1 as du, a2 as uu, a6 as fu, I as mu, a3 as hu, a0 as gu, a4 as pu } from "./useDataCollectionSource-
|
|
5
|
+
import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-CS0v7UFK.js";
|
|
6
|
+
import { r as Id, s as kd, o as Sd, H as Fd, t as Ad, z as Ld, a8 as Od, G as Pd, q as Ed, aa as _d, a9 as Dd, Q as Td, ad as zd, F as Rd, Y as Bd, U as $d, J as Md, af as Wd, K as jd, Z as Vd, _ as Ud, v as Hd, ab as Gd, ac as Kd, N as qd, $ as Yd, a5 as Jd, a7 as Zd, w as Xd, y as Qd, D as eu, W as tu, ae as nu, X as au, T as ru, ag as iu, x as lu, E as su, m as ou, n as cu, a1 as du, a2 as uu, a6 as fu, I as mu, a3 as hu, a0 as gu, a4 as pu } from "./useDataCollectionSource-CS0v7UFK.js";
|
|
7
7
|
const ki = ga("Search", [
|
|
8
8
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
9
9
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -4115,6 +4115,8 @@ declare interface DatePickerPopupProps {
|
|
|
4115
4115
|
asChild?: boolean;
|
|
4116
4116
|
onCompareToChange?: (compareTo: DateRangeComplete | DateRangeComplete[] | undefined) => void;
|
|
4117
4117
|
weekStartsOn?: WeekStartsOn;
|
|
4118
|
+
/** When true, switching granularity only changes the view; selection and close happen only on a cell click. Default false. */
|
|
4119
|
+
selectOnCellOnly?: boolean;
|
|
4118
4120
|
}
|
|
4119
4121
|
|
|
4120
4122
|
export declare const datepickerSizes: readonly ["sm", "md"];
|
|
@@ -8045,9 +8047,9 @@ declare type F0DateOrDateTimeFieldConfig = F0DateFieldConfig | F0TimeFieldConfig
|
|
|
8045
8047
|
|
|
8046
8048
|
export declare const F0DatePicker: WithDataTestIdReturnType_3<typeof F0DatePicker_2>;
|
|
8047
8049
|
|
|
8048
|
-
declare function F0DatePicker_2({ onChange, value, presets, granularities, minDate, maxDate, open, showIcon, displayFormat, ...inputProps }: F0DatePickerProps): JSX_2.Element;
|
|
8050
|
+
declare function F0DatePicker_2({ onChange, value, presets, granularities, minDate, maxDate, open, showIcon, displayFormat, selectOnCellOnly, ...inputProps }: F0DatePickerProps): JSX_2.Element;
|
|
8049
8051
|
|
|
8050
|
-
export declare type F0DatePickerProps = Pick<DatePickerPopupProps, "granularities" | "minDate" | "maxDate" | "presets" | "open" | "onOpenChange"> & {
|
|
8052
|
+
export declare type F0DatePickerProps = Pick<DatePickerPopupProps, "granularities" | "minDate" | "maxDate" | "presets" | "open" | "onOpenChange" | "selectOnCellOnly"> & {
|
|
8051
8053
|
showIcon?: boolean;
|
|
8052
8054
|
/** Controls how the selected date is displayed in the input. Defaults to "long" (e.g. "01 Aug 2025"). Use "default" for dd/MM/yyyy. */
|
|
8053
8055
|
displayFormat?: DateStringFormat;
|
|
@@ -8359,7 +8361,7 @@ export declare interface F0FAQItem {
|
|
|
8359
8361
|
/**
|
|
8360
8362
|
* Union of all F0 field types used for rendering
|
|
8361
8363
|
*/
|
|
8362
|
-
export declare type F0Field = F0TextField | F0NumberField | F0DurationField | F0TextareaField | F0SelectField | F0CheckboxField | F0SwitchField | F0DateField | F0TimeField | F0DateTimeField | F0DateRangeField | F0RichTextField | F0FileField | F0CardSelectField | F0CustomField;
|
|
8364
|
+
export declare type F0Field = F0TextField | F0NumberField | F0DurationField | F0TextareaField | F0SelectField | F0CheckboxField | F0SwitchField | F0DateField | F0TimeField | F0DateTimeField | F0DateRangeField | F0PeriodField | F0RichTextField | F0FileField | F0CardSelectField | F0CustomField;
|
|
8363
8365
|
|
|
8364
8366
|
/**
|
|
8365
8367
|
* Alert configuration for a field.
|
|
@@ -8394,12 +8396,12 @@ export declare type F0FieldAlertProps = Omit<F0AlertProps, "variant"> & {
|
|
|
8394
8396
|
* @typeParam T - The value type for select fields (string or number)
|
|
8395
8397
|
* @typeParam R - Record type for data source (when using source instead of options)
|
|
8396
8398
|
*/
|
|
8397
|
-
export declare type F0FieldConfig<T extends string | number = string | number, R extends Record<string, unknown> = Record<string, unknown>> = F0StringConfig<string, undefined, R> | F0NumberFieldConfig<R> | F0BooleanConfig | F0DateFieldConfig | F0TimeFieldConfig | F0DateTimeFieldConfig | F0ArrayConfig<T, R> | F0FileFieldConfig | F0ObjectConfig | F0StringCardSelectConfig;
|
|
8399
|
+
export declare type F0FieldConfig<T extends string | number = string | number, R extends Record<string, unknown> = Record<string, unknown>> = F0StringConfig<string, undefined, R> | F0NumberFieldConfig<R> | F0BooleanConfig | F0DateFieldConfig | F0TimeFieldConfig | F0DateTimeFieldConfig | F0ArrayConfig<T, R> | F0FileFieldConfig | F0ObjectConfig | F0PeriodFieldConfig | F0StringCardSelectConfig;
|
|
8398
8400
|
|
|
8399
8401
|
/**
|
|
8400
8402
|
* Field types for rendering
|
|
8401
8403
|
*/
|
|
8402
|
-
export declare type F0FieldType = "text" | "number" | "percentage" | "money" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "richtext" | "file" | "cardSelect" | "custom";
|
|
8404
|
+
export declare type F0FieldType = "text" | "number" | "percentage" | "money" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "period" | "richtext" | "file" | "cardSelect" | "custom";
|
|
8403
8405
|
|
|
8404
8406
|
export declare type F0FileAction = {
|
|
8405
8407
|
icon?: IconType;
|
|
@@ -8746,6 +8748,12 @@ export declare function f0FormField<T extends z.ZodArray<ZodTypeAny>, V extends
|
|
|
8746
8748
|
*/
|
|
8747
8749
|
export declare function f0FormField<T extends z.ZodObject<z.ZodRawShape>, TConfig = undefined>(schema: T, config: F0ObjectConfig<z.infer<T>, TConfig>): T & F0ZodType<T>;
|
|
8748
8750
|
|
|
8751
|
+
/**
|
|
8752
|
+
* Period field - date navigator that preserves the full DatePickerValue.
|
|
8753
|
+
* Use with `z.custom<DatePickerValue>()` (or its optional/nullable wrappers).
|
|
8754
|
+
*/
|
|
8755
|
+
export declare function f0FormField<T extends ZodTypeAny>(schema: T, config: F0PeriodFieldConfig): T & F0ZodType<T>;
|
|
8756
|
+
|
|
8749
8757
|
/**
|
|
8750
8758
|
* Optional wrapper - inherits inner type's config
|
|
8751
8759
|
* @typeParam V - The value type for select fields (string or number)
|
|
@@ -8916,6 +8924,14 @@ export declare namespace f0FormField {
|
|
|
8916
8924
|
export function dateRange(config: DateRangeConfig & {
|
|
8917
8925
|
optional?: false | undefined;
|
|
8918
8926
|
}): DateRangeObjectSchema & F0ZodType<DateRangeObjectSchema>;
|
|
8927
|
+
/* Excluded from this release type: PeriodValueSchema */
|
|
8928
|
+
/* Excluded from this release type: DatePeriodConfig */
|
|
8929
|
+
export function datePeriod(config: DatePeriodConfig & {
|
|
8930
|
+
optional: true;
|
|
8931
|
+
}): z.ZodOptional<z.ZodNullable<PeriodValueSchema>> & F0ZodType<z.ZodOptional<z.ZodNullable<PeriodValueSchema>>>;
|
|
8932
|
+
export function datePeriod(config: DatePeriodConfig & {
|
|
8933
|
+
optional?: false | undefined;
|
|
8934
|
+
}): PeriodValueSchema & F0ZodType<PeriodValueSchema>;
|
|
8919
8935
|
/* Excluded from this release type: RichTextObjectSchema */
|
|
8920
8936
|
/* Excluded from this release type: RichTextConfig */
|
|
8921
8937
|
export function richText(config: RichTextConfig & {
|
|
@@ -9763,6 +9779,70 @@ export declare type F0OneSwitchProps = React.ComponentPropsWithoutRef<typeof Swi
|
|
|
9763
9779
|
autoOpen?: boolean;
|
|
9764
9780
|
};
|
|
9765
9781
|
|
|
9782
|
+
/**
|
|
9783
|
+
* F0 config options specific to period fields.
|
|
9784
|
+
*
|
|
9785
|
+
* A period field reuses `F0DatePicker` exactly like the `date` field, but keeps
|
|
9786
|
+
* the full `DatePickerValue` (`{ value: { from, to }, granularity }`) as the
|
|
9787
|
+
* form value instead of collapsing it to a single `Date`. This lets a form
|
|
9788
|
+
* declare a real "period" selector (Year / Half year / Quarter / Month / Range).
|
|
9789
|
+
*
|
|
9790
|
+
* Note: `clearable` is derived from the Zod schema (optional/nullable).
|
|
9791
|
+
*/
|
|
9792
|
+
export declare interface F0PeriodConfig {
|
|
9793
|
+
/** Available granularities for the period picker */
|
|
9794
|
+
granularities?: DateGranularity[];
|
|
9795
|
+
/** Preset period options to display */
|
|
9796
|
+
presets?: DatePreset[];
|
|
9797
|
+
/**
|
|
9798
|
+
* Controls how the selected period is displayed in the input.
|
|
9799
|
+
* Defaults to "long" (e.g. "01 Aug 2025"). Use "default" for dd/MM/yyyy.
|
|
9800
|
+
*/
|
|
9801
|
+
displayFormat?: DateStringFormat;
|
|
9802
|
+
/**
|
|
9803
|
+
* Minimum selectable date.
|
|
9804
|
+
* Can be a static Date or a function that receives form values for dynamic constraints.
|
|
9805
|
+
* @example
|
|
9806
|
+
* // Static constraint
|
|
9807
|
+
* minDate: new Date("2024-01-01")
|
|
9808
|
+
*
|
|
9809
|
+
* // Dynamic constraint based on another field
|
|
9810
|
+
* minDate: ({ values }) => values.startDate
|
|
9811
|
+
*/
|
|
9812
|
+
minDate?: F0DateConstraintProp;
|
|
9813
|
+
/**
|
|
9814
|
+
* Maximum selectable date.
|
|
9815
|
+
* Can be a static Date or a function that receives form values for dynamic constraints.
|
|
9816
|
+
* @example
|
|
9817
|
+
* // Static constraint
|
|
9818
|
+
* maxDate: new Date("2025-12-31")
|
|
9819
|
+
*
|
|
9820
|
+
* // Dynamic constraint based on another field
|
|
9821
|
+
* maxDate: ({ values }) => values.endDate
|
|
9822
|
+
*/
|
|
9823
|
+
maxDate?: F0DateConstraintProp;
|
|
9824
|
+
}
|
|
9825
|
+
|
|
9826
|
+
/**
|
|
9827
|
+
* Period field with all properties for rendering.
|
|
9828
|
+
* Includes properties derived from the Zod schema.
|
|
9829
|
+
*/
|
|
9830
|
+
export declare type F0PeriodField = F0BaseField & F0PeriodConfig & {
|
|
9831
|
+
type: "period";
|
|
9832
|
+
/** Whether the period can be cleared (derived from optional/nullable) */
|
|
9833
|
+
clearable?: boolean;
|
|
9834
|
+
/** Conditional rendering based on another field's value */
|
|
9835
|
+
renderIf?: PeriodFieldRenderIf;
|
|
9836
|
+
};
|
|
9837
|
+
|
|
9838
|
+
/**
|
|
9839
|
+
* Config for period fields (date navigator that preserves the full
|
|
9840
|
+
* DatePickerValue: `{ value: { from, to }, granularity }`).
|
|
9841
|
+
*/
|
|
9842
|
+
export declare type F0PeriodFieldConfig = F0BaseConfig & F0PeriodConfig & {
|
|
9843
|
+
fieldType: "period";
|
|
9844
|
+
};
|
|
9845
|
+
|
|
9766
9846
|
/**
|
|
9767
9847
|
* A record mapping section IDs to their individual schemas.
|
|
9768
9848
|
* When used, each section gets independent validation and its own submit button.
|
|
@@ -10901,7 +10981,7 @@ export declare function fieldsToSeconds(fields: DurationFields): number;
|
|
|
10901
10981
|
/**
|
|
10902
10982
|
* Field types for rendering
|
|
10903
10983
|
*/
|
|
10904
|
-
export declare type FieldType = "text" | "number" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "richtext" | "file" | "cardSelect" | "custom";
|
|
10984
|
+
export declare type FieldType = "text" | "number" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "period" | "richtext" | "file" | "cardSelect" | "custom";
|
|
10905
10985
|
|
|
10906
10986
|
export declare const FILE_TYPES: {
|
|
10907
10987
|
readonly PDF: "pdf";
|
|
@@ -13195,7 +13275,7 @@ export declare const OneCalendar: WithDataTestIdReturnType_3< {
|
|
|
13195
13275
|
displayName: string;
|
|
13196
13276
|
}>;
|
|
13197
13277
|
|
|
13198
|
-
export declare const OneCalendarInternal: ({ mode, view, onSelect, defaultMonth, defaultSelected, showNavigation, showInput, minDate, maxDate, compact, weekStartsOn, }: OneCalendarInternalProps) => JSX_2.Element;
|
|
13278
|
+
export declare const OneCalendarInternal: ({ mode, view, onSelect, defaultMonth, defaultSelected, showNavigation, showInput, minDate, maxDate, compact, weekStartsOn, selectOnCellOnly, }: OneCalendarInternalProps) => JSX_2.Element;
|
|
13199
13279
|
|
|
13200
13280
|
export declare interface OneCalendarInternalProps {
|
|
13201
13281
|
mode: CalendarMode;
|
|
@@ -13209,6 +13289,8 @@ export declare interface OneCalendarInternalProps {
|
|
|
13209
13289
|
maxDate?: Date;
|
|
13210
13290
|
compact?: boolean;
|
|
13211
13291
|
weekStartsOn?: WeekStartsOn;
|
|
13292
|
+
/** When true, a granularity change updates the view without emitting `onSelect`. Default false. */
|
|
13293
|
+
selectOnCellOnly?: boolean;
|
|
13212
13294
|
}
|
|
13213
13295
|
|
|
13214
13296
|
export declare type OneCalendarProps = Omit<OneCalendarInternalProps, (typeof privateProps_6)[number]>;
|
|
@@ -13496,6 +13578,21 @@ declare type PendingQuote = {
|
|
|
13496
13578
|
text: string;
|
|
13497
13579
|
};
|
|
13498
13580
|
|
|
13581
|
+
declare type PeriodFieldRenderIf = PeriodRenderIfCondition | CommonRenderIfCondition | F0BaseFieldRenderIfFunction;
|
|
13582
|
+
|
|
13583
|
+
declare interface PeriodRenderIfBase {
|
|
13584
|
+
fieldId: string;
|
|
13585
|
+
}
|
|
13586
|
+
|
|
13587
|
+
/**
|
|
13588
|
+
* RenderIf conditions specific to period fields.
|
|
13589
|
+
* The value is a `DatePickerValue` object, so only `isEmpty` is meaningful
|
|
13590
|
+
* (same approach as date range fields).
|
|
13591
|
+
*/
|
|
13592
|
+
export declare type PeriodRenderIfCondition = PeriodRenderIfBase & {
|
|
13593
|
+
isEmpty: boolean;
|
|
13594
|
+
};
|
|
13595
|
+
|
|
13499
13596
|
/**
|
|
13500
13597
|
* Creates a union of `[sectionId, data]` pairs for each key in T.
|
|
13501
13598
|
* Used to build a callback where TypeScript narrows `data` based on `sectionId`.
|
|
@@ -14159,7 +14256,7 @@ declare interface RenderIfBase {
|
|
|
14159
14256
|
/**
|
|
14160
14257
|
* Union of all possible RenderIf conditions (used internally for evaluation)
|
|
14161
14258
|
*/
|
|
14162
|
-
export declare type RenderIfCondition = CommonRenderIfCondition | TextRenderIfCondition | NumberRenderIfCondition | BooleanRenderIfCondition | SelectRenderIfCondition | DateRenderIfCondition | DateRangeRenderIfCondition;
|
|
14259
|
+
export declare type RenderIfCondition = CommonRenderIfCondition | TextRenderIfCondition | NumberRenderIfCondition | BooleanRenderIfCondition | SelectRenderIfCondition | DateRenderIfCondition | DateRangeRenderIfCondition | PeriodRenderIfCondition;
|
|
14163
14260
|
|
|
14164
14261
|
export declare interface ReplaceBlockNotesTextEditorPageDocumentPatch {
|
|
14165
14262
|
type: "replace_block";
|
|
@@ -16787,11 +16884,8 @@ declare module "@tiptap/core" {
|
|
|
16787
16884
|
|
|
16788
16885
|
declare module "@tiptap/core" {
|
|
16789
16886
|
interface Commands<ReturnType> {
|
|
16790
|
-
|
|
16791
|
-
|
|
16792
|
-
placeholder?: string;
|
|
16793
|
-
}) => ReturnType;
|
|
16794
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
16887
|
+
moodTracker: {
|
|
16888
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
16795
16889
|
};
|
|
16796
16890
|
}
|
|
16797
16891
|
}
|
|
@@ -16799,8 +16893,11 @@ declare module "@tiptap/core" {
|
|
|
16799
16893
|
|
|
16800
16894
|
declare module "@tiptap/core" {
|
|
16801
16895
|
interface Commands<ReturnType> {
|
|
16802
|
-
|
|
16803
|
-
|
|
16896
|
+
enhanceHighlight: {
|
|
16897
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
16898
|
+
placeholder?: string;
|
|
16899
|
+
}) => ReturnType;
|
|
16900
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
16804
16901
|
};
|
|
16805
16902
|
}
|
|
16806
16903
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { gN as WI, a8 as rt, bp as M_, o as J, q as Ln, gH as $I, p as ta, eV as pG, gO as UI, af as Gp, U as K, u as $e, H as tt, dg as au, A as Hp, j as YI, L as Ka, d0 as Qa, a9 as qt, a5 as kf, gP as gG, ae as El, gE as q0, gQ as mG, gR as yG, gS as $S, e6 as bG, gT as xG, gU as XI, fv as E_, gV as _G, gW as wG, gX as _l, gY as Pf, gZ as ou, g_ as SG, g$ as qI, h0 as CG, h1 as TG, bJ as DG, bI as AG, v as Cs, J as Of, K as Bf, Q as ct, O as zf, fR as ZI, Y as Zt, ad as Vf, _ as hs, h2 as MG, aP as jI, bg as EG, e2 as US, cW as KI, ba as Gl, bh as LG, aD as L_, aE as N_, aF as I_, al as R_, ce as lv, h3 as k_, h4 as NG, gG as YS, fA as IG, h5 as uv, at as RG, gg as P_, h6 as kG, $ as Ff, c4 as PG, n as OG, l as BG, h7 as QI, h8 as zG, h9 as VG, ha as JI, y as FG, hb as GG, hc as HG, hd as WG, he as XS, ft as $G, hf as UG, fZ as su, f_ as Gf, gc as YG, fP as e2, aa as bn, aq as XG, cP as Z0, cO as t2, g0 as r2, fO as qG, hg as Wp, dr as O_, gs as ZG, a3 as n2, fs as jG, bL as KG, gh as B_, dV as QG, dW as JG, dX as e3, d as t3, eF as r3, G as i2, cV as Ts, dK as a2, dq as o2, bO as z_, dM as s2, cG as V_, fT as Ll, fU as Nl, N as Il, fV as Rl, fS as Pa, cI as l2, as as n3, dn as cv, be as Hl, g3 as Fr, bW as i3, a2 as u2, ds as j0, e3 as Kc, bV as a3, aY as c2, aC as o3, gm as jr, hh as s3, hi as l3, hj as f2, hk as $p, hl as u3, hm as c3, dv as d2, dt as h2, e0 as f3, hn as d3, aS as v2, ge as h3, gf as v3, bq as lu, bu as uu, bB as Hf, dN as p3, br as g3, b7 as m3, S as p2, bf as y3, a1 as b3, dk as qS, dJ as Qc, fw as x3, fx as _3, ho as w3, aX as S3, bv as C3, c_ as g2, a6 as T3, cN as D3, gK as A3, bD as M3, hp as E3, hq as L3, I as N3, hr as I3, hs as R3, ht as k3, hu as P3, hv as O3 } from "./F0CanvasPanel-
|
|
2
|
-
import { hL as Vpe, C as Fpe, D as Gpe, aQ as Hpe, c as Wpe, F as $pe, a as Upe, hE as Ype, f as Xpe, b8 as qpe, aR as Zpe, bE as jpe, dZ as Kpe, aI as Qpe, bk as Jpe, ak as ege, e5 as tge, bS as rge, g as nge, dY as ige, hz as age, hQ as oge, ch as sge, a$ as lge, e as uge, bU as cge, av as fge, bw as dge, hG as hge, b3 as vge, hH as pge, hJ as gge, hK as mge, ci as yge, hN as bge, ca as xge, cb as _ge, P as wge, cf as Sge, hI as Cge, cc as Tge, hM as Dge, hR as Age, hw as Mge, hx as Ege, hy as Lge, cd as Nge, hP as Ige, hF as Rge, hC as kge, hB as Pge, cg as Oge, fM as Bge, gt as zge, hO as Vge, aV as Fge, c9 as Gge, c6 as Hge, c8 as Wge, c5 as $ge, hD as Uge, gv as Yge, gp as Xge, g1 as qge, hU as Zge, bZ as jge, c7 as Kge, hT as Qge, bl as Jge, d_ as eme, fL as tme, g2 as rme, b as nme, bo as ime, gM as ame, aT as ome, d$ as sme, hA as lme, gr as ume, gq as cme, hS as fme } from "./F0CanvasPanel-
|
|
1
|
+
import { gN as WI, a8 as rt, bp as M_, o as J, q as Ln, gH as $I, p as ta, eV as pG, gO as UI, af as Gp, U as K, u as $e, H as tt, dg as au, A as Hp, j as YI, L as Ka, d0 as Qa, a9 as qt, a5 as kf, gP as gG, ae as El, gE as q0, gQ as mG, gR as yG, gS as $S, e6 as bG, gT as xG, gU as XI, fv as E_, gV as _G, gW as wG, gX as _l, gY as Pf, gZ as ou, g_ as SG, g$ as qI, h0 as CG, h1 as TG, bJ as DG, bI as AG, v as Cs, J as Of, K as Bf, Q as ct, O as zf, fR as ZI, Y as Zt, ad as Vf, _ as hs, h2 as MG, aP as jI, bg as EG, e2 as US, cW as KI, ba as Gl, bh as LG, aD as L_, aE as N_, aF as I_, al as R_, ce as lv, h3 as k_, h4 as NG, gG as YS, fA as IG, h5 as uv, at as RG, gg as P_, h6 as kG, $ as Ff, c4 as PG, n as OG, l as BG, h7 as QI, h8 as zG, h9 as VG, ha as JI, y as FG, hb as GG, hc as HG, hd as WG, he as XS, ft as $G, hf as UG, fZ as su, f_ as Gf, gc as YG, fP as e2, aa as bn, aq as XG, cP as Z0, cO as t2, g0 as r2, fO as qG, hg as Wp, dr as O_, gs as ZG, a3 as n2, fs as jG, bL as KG, gh as B_, dV as QG, dW as JG, dX as e3, d as t3, eF as r3, G as i2, cV as Ts, dK as a2, dq as o2, bO as z_, dM as s2, cG as V_, fT as Ll, fU as Nl, N as Il, fV as Rl, fS as Pa, cI as l2, as as n3, dn as cv, be as Hl, g3 as Fr, bW as i3, a2 as u2, ds as j0, e3 as Kc, bV as a3, aY as c2, aC as o3, gm as jr, hh as s3, hi as l3, hj as f2, hk as $p, hl as u3, hm as c3, dv as d2, dt as h2, e0 as f3, hn as d3, aS as v2, ge as h3, gf as v3, bq as lu, bu as uu, bB as Hf, dN as p3, br as g3, b7 as m3, S as p2, bf as y3, a1 as b3, dk as qS, dJ as Qc, fw as x3, fx as _3, ho as w3, aX as S3, bv as C3, c_ as g2, a6 as T3, cN as D3, gK as A3, bD as M3, hp as E3, hq as L3, I as N3, hr as I3, hs as R3, ht as k3, hu as P3, hv as O3 } from "./F0CanvasPanel-BldFCFfR.js";
|
|
2
|
+
import { hL as Vpe, C as Fpe, D as Gpe, aQ as Hpe, c as Wpe, F as $pe, a as Upe, hE as Ype, f as Xpe, b8 as qpe, aR as Zpe, bE as jpe, dZ as Kpe, aI as Qpe, bk as Jpe, ak as ege, e5 as tge, bS as rge, g as nge, dY as ige, hz as age, hQ as oge, ch as sge, a$ as lge, e as uge, bU as cge, av as fge, bw as dge, hG as hge, b3 as vge, hH as pge, hJ as gge, hK as mge, ci as yge, hN as bge, ca as xge, cb as _ge, P as wge, cf as Sge, hI as Cge, cc as Tge, hM as Dge, hR as Age, hw as Mge, hx as Ege, hy as Lge, cd as Nge, hP as Ige, hF as Rge, hC as kge, hB as Pge, cg as Oge, fM as Bge, gt as zge, hO as Vge, aV as Fge, c9 as Gge, c6 as Hge, c8 as Wge, c5 as $ge, hD as Uge, gv as Yge, gp as Xge, g1 as qge, hU as Zge, bZ as jge, c7 as Kge, hT as Qge, bl as Jge, d_ as eme, fL as tme, g2 as rme, b as nme, bo as ime, gM as ame, aT as ome, d$ as sme, hA as lme, gr as ume, gq as cme, hS as fme } from "./F0CanvasPanel-BldFCFfR.js";
|
|
3
3
|
import { jsx as S, jsxs as B, Fragment as nt } from "react/jsx-runtime";
|
|
4
4
|
import * as St from "react";
|
|
5
5
|
import xt, { forwardRef as hr, useRef as fe, useImperativeHandle as B3, Children as fv, createContext as Or, useContext as fr, useState as oe, useMemo as le, useEffect as pe, useCallback as ie, useLayoutEffect as K0, isValidElement as m2, Fragment as Up, memo as y2, useReducer as z3, cloneElement as V3, useId as Rc, useSyncExternalStore as ZS } from "react";
|
|
6
|
-
import { y as F3, z as G3, B as H3, C as W3, D as b2, E as dv, G as F_, H as x2, I as _2, J as pi, K as $3, L as U3, M as Y3, N as X3, O as q3, F as Z3 } from "./useChatHistory-
|
|
7
|
-
import { A as hme, s as vme, t as pme, w as gme, l as mme, i as yme, q as bme, x as xme, p as _me, r as wme, j as Sme, e as Cme, g as Tme, k as Dme, h as Ame, a as Mme, n as Eme, m as Lme, o as Nme, b as Ime, f as Rme, v as kme, c as Pme, d as Ome, u as Bme } from "./useChatHistory-
|
|
6
|
+
import { y as F3, z as G3, B as H3, C as W3, D as b2, E as dv, G as F_, H as x2, I as _2, J as pi, K as $3, L as U3, M as Y3, N as X3, O as q3, F as Z3 } from "./useChatHistory-CmV8QZ5c.js";
|
|
7
|
+
import { A as hme, s as vme, t as pme, w as gme, l as mme, i as yme, q as bme, x as xme, p as _me, r as wme, j as Sme, e as Cme, g as Tme, k as Dme, h as Ame, a as Mme, n as Eme, m as Lme, o as Nme, b as Ime, f as Rme, v as kme, c as Pme, d as Ome, u as Bme } from "./useChatHistory-CmV8QZ5c.js";
|
|
8
8
|
import { createPortal as G_, unstable_batchedUpdates as vd } from "react-dom";
|
|
9
|
-
import { C as j3, F as K3, ah as w2, ai as Q3, aj as J3, ak as eH, al as H_, am as W_, G as tH, an as rH, Y as nH, a8 as iH, ao as aH, Q as oH, ap as sH, aq as lH, c as Yp, ar as Wf, R as $_, u as U_, W as S2, O as Y_, as as C2, at as jS, au as X_, o as uH, d as T2, $ as D2, av as cH, aw as fH, ax as dH, ay as hH, az as vH, M as pH } from "./useDataCollectionSource-
|
|
10
|
-
import { r as Vme, s as Fme, H as Gme, t as Hme, z as Wme, aQ as $me, aP as Ume, aL as Yme, aB as Xme, aA as qme, aC as Zme, aD as jme, aa as Kme, a9 as Qme, ad as Jme, U as eye, J as tye, af as rye, K as nye, v as iye, aR as aye, ab as oye, ac as sye, N as lye, w as uye, P as cye, y as fye, D as dye, ae as hye, T as vye, ag as pye, x as gye, E as mye, aT as yye, m as bye, n as xye, aK as _ye, aG as wye, aF as Sye, aS as Cye, a6 as Tye, aI as Dye, aJ as Aye, I as Mye, aU as Eye, aV as Lye, e as Nye, aM as Iye, aN as Rye, aO as kye, aH as Pye, f as Oye, h as Bye, aE as zye, aW as Vye } from "./useDataCollectionSource-
|
|
9
|
+
import { C as j3, F as K3, ah as w2, ai as Q3, aj as J3, ak as eH, al as H_, am as W_, G as tH, an as rH, Y as nH, a8 as iH, ao as aH, Q as oH, ap as sH, aq as lH, c as Yp, ar as Wf, R as $_, u as U_, W as S2, O as Y_, as as C2, at as jS, au as X_, o as uH, d as T2, $ as D2, av as cH, aw as fH, ax as dH, ay as hH, az as vH, M as pH } from "./useDataCollectionSource-CS0v7UFK.js";
|
|
10
|
+
import { r as Vme, s as Fme, H as Gme, t as Hme, z as Wme, aQ as $me, aP as Ume, aL as Yme, aB as Xme, aA as qme, aC as Zme, aD as jme, aa as Kme, a9 as Qme, ad as Jme, U as eye, J as tye, af as rye, K as nye, v as iye, aR as aye, ab as oye, ac as sye, N as lye, w as uye, P as cye, y as fye, D as dye, ae as hye, T as vye, ag as pye, x as gye, E as mye, aT as yye, m as bye, n as xye, aK as _ye, aG as wye, aF as Sye, aS as Cye, a6 as Tye, aI as Dye, aJ as Aye, I as Mye, aU as Eye, aV as Lye, e as Nye, aM as Iye, aN as Rye, aO as kye, aH as Pye, f as Oye, h as Bye, aE as zye, aW as Vye } from "./useDataCollectionSource-CS0v7UFK.js";
|
|
11
11
|
import { utils as kl, write as A2 } from "./xlsx-Bedf3nwD.js";
|
|
12
12
|
import { defaultTranslations as Gye } from "./i18n-provider-defaults.js";
|
|
13
13
|
import './f0.css';const gH = {
|
|
@@ -62460,7 +62460,7 @@ const bI = {
|
|
|
62460
62460
|
onChange: D,
|
|
62461
62461
|
disabled: z,
|
|
62462
62462
|
className: J(
|
|
62463
|
-
"w-full resize-none px-2 py-1 text-lg font-semibold
|
|
62463
|
+
"w-full resize-none px-2 py-1 text-lg font-semibold text-f1-foreground placeholder:text-f1-foreground-tertiary [&::-webkit-search-cancel-button]:hidden",
|
|
62464
62464
|
V && "cursor-not-allowed"
|
|
62465
62465
|
),
|
|
62466
62466
|
style: bI
|
|
@@ -63150,7 +63150,7 @@ const Rde = {
|
|
|
63150
63150
|
),
|
|
63151
63151
|
value: d,
|
|
63152
63152
|
onChange: C,
|
|
63153
|
-
className: "flex-1 resize-none font-medium",
|
|
63153
|
+
className: "flex-1 resize-none font-medium text-f1-foreground placeholder:text-f1-foreground-tertiary",
|
|
63154
63154
|
style: Rde
|
|
63155
63155
|
}
|
|
63156
63156
|
) : /* @__PURE__ */ S("p", { className: "flex-1 font-medium", children: d }),
|
|
@@ -63594,7 +63594,7 @@ const Rde = {
|
|
|
63594
63594
|
onChange: g,
|
|
63595
63595
|
disabled: _,
|
|
63596
63596
|
className: J(
|
|
63597
|
-
"w-full text-lg font-semibold
|
|
63597
|
+
"w-full text-lg font-semibold text-f1-foreground placeholder:text-f1-foreground-tertiary [&::-webkit-search-cancel-button]:hidden",
|
|
63598
63598
|
_ && "cursor-not-allowed"
|
|
63599
63599
|
)
|
|
63600
63600
|
}
|
|
@@ -873,11 +873,8 @@ declare module "@tiptap/core" {
|
|
|
873
873
|
|
|
874
874
|
declare module "@tiptap/core" {
|
|
875
875
|
interface Commands<ReturnType> {
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
placeholder?: string;
|
|
879
|
-
}) => ReturnType;
|
|
880
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
876
|
+
moodTracker: {
|
|
877
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
881
878
|
};
|
|
882
879
|
}
|
|
883
880
|
}
|
|
@@ -885,8 +882,11 @@ declare module "@tiptap/core" {
|
|
|
885
882
|
|
|
886
883
|
declare module "@tiptap/core" {
|
|
887
884
|
interface Commands<ReturnType> {
|
|
888
|
-
|
|
889
|
-
|
|
885
|
+
enhanceHighlight: {
|
|
886
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
887
|
+
placeholder?: string;
|
|
888
|
+
}) => ReturnType;
|
|
889
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
890
890
|
};
|
|
891
891
|
}
|
|
892
892
|
}
|