@factorialco/f0-react 1.207.0 → 1.209.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 +25 -8
- package/dist/experimental.js +7518 -7484
- package/dist/f0.d.ts +23 -8
- package/dist/f0.js +7 -3
- package/dist/{hooks-DpgCYH5Q.js → hooks-DMjORqwR.js} +4591 -4537
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -1274,6 +1274,12 @@ declare type DataCollectionSettings = {
|
|
|
1274
1274
|
visualization: VisualizationSettings;
|
|
1275
1275
|
};
|
|
1276
1276
|
|
|
1277
|
+
declare interface DataCollectionSettingsContextType {
|
|
1278
|
+
setSettings: default_2.Dispatch<default_2.SetStateAction<DataCollectionSettings>>;
|
|
1279
|
+
settings: DataCollectionSettings;
|
|
1280
|
+
setVisualizationSettings: (key: keyof VisualizationSettings, settings: VisualizationSettings[keyof VisualizationSettings] | ((prev: VisualizationSettings[keyof VisualizationSettings]) => VisualizationSettings[keyof VisualizationSettings])) => void;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1277
1283
|
/**
|
|
1278
1284
|
* Data collection source
|
|
1279
1285
|
* Extends the base data source with data collection specific elements / features
|
|
@@ -1587,6 +1593,9 @@ declare const defaultTranslations: {
|
|
|
1587
1593
|
readonly failedToLoadOptions: "Failed to load options";
|
|
1588
1594
|
readonly retry: "Retry";
|
|
1589
1595
|
};
|
|
1596
|
+
readonly toc: {
|
|
1597
|
+
readonly search: "Search";
|
|
1598
|
+
};
|
|
1590
1599
|
readonly collections: {
|
|
1591
1600
|
readonly sorting: {
|
|
1592
1601
|
readonly noSorting: "No sorting";
|
|
@@ -1610,6 +1619,7 @@ declare const defaultTranslations: {
|
|
|
1610
1619
|
readonly of: "of";
|
|
1611
1620
|
};
|
|
1612
1621
|
readonly settings: "{%visualizationName} settings";
|
|
1622
|
+
readonly reset: "Reset to default";
|
|
1613
1623
|
};
|
|
1614
1624
|
readonly itemsCount: "items";
|
|
1615
1625
|
readonly emptyStates: {
|
|
@@ -1972,7 +1982,9 @@ declare interface ErrorMessageProps {
|
|
|
1972
1982
|
export declare type ExtractPropertyKeys<RecordType> = keyof RecordType;
|
|
1973
1983
|
|
|
1974
1984
|
declare type ExtractVisualizationSettings<T> = T extends {
|
|
1975
|
-
settings:
|
|
1985
|
+
settings: {
|
|
1986
|
+
default: infer S;
|
|
1987
|
+
};
|
|
1976
1988
|
} ? S : never;
|
|
1977
1989
|
|
|
1978
1990
|
export declare const F0AiBanner: ForwardRefExoticComponent<AiBannerInternalProps & RefAttributes<HTMLDivElement>> & {
|
|
@@ -4590,6 +4602,8 @@ export declare interface TOCProps {
|
|
|
4590
4602
|
collapsible?: boolean;
|
|
4591
4603
|
sortable?: boolean;
|
|
4592
4604
|
onReorder?: (reorderedIds: IdStructure[]) => void;
|
|
4605
|
+
showSearchBox?: boolean;
|
|
4606
|
+
searchPlaceholder?: string;
|
|
4593
4607
|
}
|
|
4594
4608
|
|
|
4595
4609
|
declare type toggleActionType = {
|
|
@@ -4821,10 +4835,13 @@ declare const VerticalOverflowList: {
|
|
|
4821
4835
|
|
|
4822
4836
|
declare type VisualizacionTypeDefinition<Props, Settings = Record<string, never>> = {
|
|
4823
4837
|
render: (props: Props) => JSX.Element;
|
|
4824
|
-
renderSettings?: (props: Props) => JSX.Element | null;
|
|
4825
4838
|
name: string;
|
|
4826
4839
|
icon: IconType;
|
|
4827
|
-
settings:
|
|
4840
|
+
settings: {
|
|
4841
|
+
default: Settings;
|
|
4842
|
+
renderer?: (props: Props) => JSX.Element | null;
|
|
4843
|
+
resetHandler?: (settings: DataCollectionSettingsContextType) => void;
|
|
4844
|
+
};
|
|
4828
4845
|
};
|
|
4829
4846
|
|
|
4830
4847
|
/**
|
|
@@ -5049,6 +5066,11 @@ declare module "@tiptap/core" {
|
|
|
5049
5066
|
}
|
|
5050
5067
|
|
|
5051
5068
|
|
|
5069
|
+
declare namespace Calendar {
|
|
5070
|
+
var displayName: string;
|
|
5071
|
+
}
|
|
5072
|
+
|
|
5073
|
+
|
|
5052
5074
|
declare module "@tiptap/core" {
|
|
5053
5075
|
interface Commands<ReturnType> {
|
|
5054
5076
|
moodTracker: {
|
|
@@ -5056,8 +5078,3 @@ declare module "@tiptap/core" {
|
|
|
5056
5078
|
};
|
|
5057
5079
|
}
|
|
5058
5080
|
}
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
declare namespace Calendar {
|
|
5062
|
-
var displayName: string;
|
|
5063
|
-
}
|