@factorialco/f0-react 2.32.0 → 2.32.2
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/ai.d.ts +10 -10
- package/dist/experimental.d.ts +10 -10
- package/dist/experimental.js +1 -1
- package/dist/f0.d.ts +41 -10
- package/dist/f0.js +2061 -2045
- package/dist/i18n-provider-defaults.d.ts +10 -10
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -4210,11 +4210,6 @@ declare module "gridstack" {
|
|
|
4210
4210
|
}
|
|
4211
4211
|
|
|
4212
4212
|
|
|
4213
|
-
declare namespace Calendar {
|
|
4214
|
-
var displayName: string;
|
|
4215
|
-
}
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
4213
|
declare module "@tiptap/core" {
|
|
4219
4214
|
interface Commands<ReturnType> {
|
|
4220
4215
|
aiBlock: {
|
|
@@ -4227,9 +4222,8 @@ declare module "@tiptap/core" {
|
|
|
4227
4222
|
|
|
4228
4223
|
declare module "@tiptap/core" {
|
|
4229
4224
|
interface Commands<ReturnType> {
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
4225
|
+
moodTracker: {
|
|
4226
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
4233
4227
|
};
|
|
4234
4228
|
}
|
|
4235
4229
|
}
|
|
@@ -4237,8 +4231,9 @@ declare module "@tiptap/core" {
|
|
|
4237
4231
|
|
|
4238
4232
|
declare module "@tiptap/core" {
|
|
4239
4233
|
interface Commands<ReturnType> {
|
|
4240
|
-
|
|
4241
|
-
|
|
4234
|
+
enhanceHighlight: {
|
|
4235
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
4236
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
4242
4237
|
};
|
|
4243
4238
|
}
|
|
4244
4239
|
}
|
|
@@ -4264,6 +4259,11 @@ declare module "@tiptap/core" {
|
|
|
4264
4259
|
}
|
|
4265
4260
|
|
|
4266
4261
|
|
|
4262
|
+
declare namespace Calendar {
|
|
4263
|
+
var displayName: string;
|
|
4264
|
+
}
|
|
4265
|
+
|
|
4266
|
+
|
|
4267
4267
|
declare namespace F0GraphNodeWrapperInner {
|
|
4268
4268
|
var displayName: string;
|
|
4269
4269
|
}
|
package/dist/experimental.d.ts
CHANGED
|
@@ -8564,11 +8564,6 @@ declare module "gridstack" {
|
|
|
8564
8564
|
}
|
|
8565
8565
|
|
|
8566
8566
|
|
|
8567
|
-
declare namespace Calendar {
|
|
8568
|
-
var displayName: string;
|
|
8569
|
-
}
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
8567
|
declare module "@tiptap/core" {
|
|
8573
8568
|
interface Commands<ReturnType> {
|
|
8574
8569
|
aiBlock: {
|
|
@@ -8581,9 +8576,8 @@ declare module "@tiptap/core" {
|
|
|
8581
8576
|
|
|
8582
8577
|
declare module "@tiptap/core" {
|
|
8583
8578
|
interface Commands<ReturnType> {
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
8579
|
+
moodTracker: {
|
|
8580
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
8587
8581
|
};
|
|
8588
8582
|
}
|
|
8589
8583
|
}
|
|
@@ -8591,8 +8585,9 @@ declare module "@tiptap/core" {
|
|
|
8591
8585
|
|
|
8592
8586
|
declare module "@tiptap/core" {
|
|
8593
8587
|
interface Commands<ReturnType> {
|
|
8594
|
-
|
|
8595
|
-
|
|
8588
|
+
enhanceHighlight: {
|
|
8589
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
8590
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
8596
8591
|
};
|
|
8597
8592
|
}
|
|
8598
8593
|
}
|
|
@@ -8618,6 +8613,11 @@ declare module "@tiptap/core" {
|
|
|
8618
8613
|
}
|
|
8619
8614
|
|
|
8620
8615
|
|
|
8616
|
+
declare namespace Calendar {
|
|
8617
|
+
var displayName: string;
|
|
8618
|
+
}
|
|
8619
|
+
|
|
8620
|
+
|
|
8621
8621
|
declare namespace F0GraphNodeWrapperInner {
|
|
8622
8622
|
var displayName: string;
|
|
8623
8623
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -4635,7 +4635,7 @@ const Wi = ({
|
|
|
4635
4635
|
"div",
|
|
4636
4636
|
{
|
|
4637
4637
|
className: p(
|
|
4638
|
-
"flex min-w-0 max-w-full flex-1 items-center gap-2 overflow-hidden
|
|
4638
|
+
"flex min-w-0 max-w-full flex-1 items-center gap-2 overflow-hidden text-lg font-semibold text-f1-foreground transition-colors"
|
|
4639
4639
|
),
|
|
4640
4640
|
children: [
|
|
4641
4641
|
/* @__PURE__ */ e(
|
package/dist/f0.d.ts
CHANGED
|
@@ -10441,6 +10441,14 @@ export declare const getAnimationVariants: (options?: AnimationVariantsOptions)
|
|
|
10441
10441
|
};
|
|
10442
10442
|
};
|
|
10443
10443
|
|
|
10444
|
+
/**
|
|
10445
|
+
* Builds the localStorage key for a OneDataCollection's persisted state.
|
|
10446
|
+
*
|
|
10447
|
+
* @param id - The OneDataCollection `id` (e.g. `organization/employees/v1`),
|
|
10448
|
+
* WITHOUT the `datacollection-` prefix.
|
|
10449
|
+
*/
|
|
10450
|
+
export declare const getDataCollectionStorageKey: (id: string) => string;
|
|
10451
|
+
|
|
10444
10452
|
/**
|
|
10445
10453
|
* Get the pagination type of a data adapter
|
|
10446
10454
|
* @param dataAdapter - The data adapter to get the pagination type of
|
|
@@ -12683,6 +12691,16 @@ declare type RatingQuestionProps = BaseQuestionPropsForOtherQuestionComponents &
|
|
|
12683
12691
|
}[];
|
|
12684
12692
|
};
|
|
12685
12693
|
|
|
12694
|
+
/**
|
|
12695
|
+
* Synchronously reads a OneDataCollection's persisted state from localStorage.
|
|
12696
|
+
*
|
|
12697
|
+
* @param id - The same `id` passed to OneDataCollection (e.g.
|
|
12698
|
+
* `organization/employees/v1`), WITHOUT the `datacollection-`
|
|
12699
|
+
* prefix — this function applies it.
|
|
12700
|
+
* @returns The parsed storage, or `null` on missing key / parse error.
|
|
12701
|
+
*/
|
|
12702
|
+
export declare const readDataCollectionStorage: <CurrentFiltersState extends FiltersState<FiltersDefinition> = FiltersState<FiltersDefinition>>(id: string) => DataCollectionStorage<CurrentFiltersState> | null;
|
|
12703
|
+
|
|
12686
12704
|
export declare function reconstructElements(flatItems: FlatFormItem[]): SurveyFormBuilderElement[];
|
|
12687
12705
|
|
|
12688
12706
|
/**
|
|
@@ -12871,6 +12889,19 @@ export declare type RequisitionProfile = {
|
|
|
12871
12889
|
};
|
|
12872
12890
|
};
|
|
12873
12891
|
|
|
12892
|
+
/**
|
|
12893
|
+
* Resolves the effective filters for the persisted visualization:
|
|
12894
|
+
* `visualizationFilters[String(visualization ?? 0)] ?? filters`.
|
|
12895
|
+
*
|
|
12896
|
+
* Pure equivalent of the runtime keying in usePerVisualizationFilters.ts; the
|
|
12897
|
+
* hook's refs/transitions/preset-hydration are irrelevant when reading
|
|
12898
|
+
* already-persisted state.
|
|
12899
|
+
*
|
|
12900
|
+
* NOTE on sortings: F0 persists `sortings` as `SortingsState` — a single
|
|
12901
|
+
* `{ field; order } | null`, NOT an array. Read it via `storage?.sortings`.
|
|
12902
|
+
*/
|
|
12903
|
+
export declare const resolveDataCollectionFilters: <CurrentFiltersState extends FiltersState<FiltersDefinition> = FiltersState<FiltersDefinition>>(storage: Pick<DataCollectionStorage<CurrentFiltersState>, "visualization" | "visualizationFilters" | "filters"> | null) => CurrentFiltersState | undefined;
|
|
12904
|
+
|
|
12874
12905
|
export declare type ResolvedRecordType<R> = R extends RecordType ? R : RecordType;
|
|
12875
12906
|
|
|
12876
12907
|
/**
|
|
@@ -15175,11 +15206,6 @@ declare module "gridstack" {
|
|
|
15175
15206
|
}
|
|
15176
15207
|
|
|
15177
15208
|
|
|
15178
|
-
declare namespace Calendar {
|
|
15179
|
-
var displayName: string;
|
|
15180
|
-
}
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
15209
|
declare module "@tiptap/core" {
|
|
15184
15210
|
interface Commands<ReturnType> {
|
|
15185
15211
|
aiBlock: {
|
|
@@ -15192,9 +15218,8 @@ declare module "@tiptap/core" {
|
|
|
15192
15218
|
|
|
15193
15219
|
declare module "@tiptap/core" {
|
|
15194
15220
|
interface Commands<ReturnType> {
|
|
15195
|
-
|
|
15196
|
-
|
|
15197
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
15221
|
+
moodTracker: {
|
|
15222
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
15198
15223
|
};
|
|
15199
15224
|
}
|
|
15200
15225
|
}
|
|
@@ -15202,8 +15227,9 @@ declare module "@tiptap/core" {
|
|
|
15202
15227
|
|
|
15203
15228
|
declare module "@tiptap/core" {
|
|
15204
15229
|
interface Commands<ReturnType> {
|
|
15205
|
-
|
|
15206
|
-
|
|
15230
|
+
enhanceHighlight: {
|
|
15231
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
15232
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
15207
15233
|
};
|
|
15208
15234
|
}
|
|
15209
15235
|
}
|
|
@@ -15229,6 +15255,11 @@ declare module "@tiptap/core" {
|
|
|
15229
15255
|
}
|
|
15230
15256
|
|
|
15231
15257
|
|
|
15258
|
+
declare namespace Calendar {
|
|
15259
|
+
var displayName: string;
|
|
15260
|
+
}
|
|
15261
|
+
|
|
15262
|
+
|
|
15232
15263
|
declare namespace F0GraphNodeWrapperInner {
|
|
15233
15264
|
var displayName: string;
|
|
15234
15265
|
}
|