@factorialco/f0-react 1.207.0 → 1.208.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 +20 -8
- package/dist/experimental.js +6981 -6978
- package/dist/f0.d.ts +20 -8
- package/dist/f0.js +4 -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
|
|
@@ -1610,6 +1616,7 @@ declare const defaultTranslations: {
|
|
|
1610
1616
|
readonly of: "of";
|
|
1611
1617
|
};
|
|
1612
1618
|
readonly settings: "{%visualizationName} settings";
|
|
1619
|
+
readonly reset: "Reset to default";
|
|
1613
1620
|
};
|
|
1614
1621
|
readonly itemsCount: "items";
|
|
1615
1622
|
readonly emptyStates: {
|
|
@@ -1972,7 +1979,9 @@ declare interface ErrorMessageProps {
|
|
|
1972
1979
|
export declare type ExtractPropertyKeys<RecordType> = keyof RecordType;
|
|
1973
1980
|
|
|
1974
1981
|
declare type ExtractVisualizationSettings<T> = T extends {
|
|
1975
|
-
settings:
|
|
1982
|
+
settings: {
|
|
1983
|
+
default: infer S;
|
|
1984
|
+
};
|
|
1976
1985
|
} ? S : never;
|
|
1977
1986
|
|
|
1978
1987
|
export declare const F0AiBanner: ForwardRefExoticComponent<AiBannerInternalProps & RefAttributes<HTMLDivElement>> & {
|
|
@@ -4821,10 +4830,13 @@ declare const VerticalOverflowList: {
|
|
|
4821
4830
|
|
|
4822
4831
|
declare type VisualizacionTypeDefinition<Props, Settings = Record<string, never>> = {
|
|
4823
4832
|
render: (props: Props) => JSX.Element;
|
|
4824
|
-
renderSettings?: (props: Props) => JSX.Element | null;
|
|
4825
4833
|
name: string;
|
|
4826
4834
|
icon: IconType;
|
|
4827
|
-
settings:
|
|
4835
|
+
settings: {
|
|
4836
|
+
default: Settings;
|
|
4837
|
+
renderer?: (props: Props) => JSX.Element | null;
|
|
4838
|
+
resetHandler?: (settings: DataCollectionSettingsContextType) => void;
|
|
4839
|
+
};
|
|
4828
4840
|
};
|
|
4829
4841
|
|
|
4830
4842
|
/**
|
|
@@ -5049,6 +5061,11 @@ declare module "@tiptap/core" {
|
|
|
5049
5061
|
}
|
|
5050
5062
|
|
|
5051
5063
|
|
|
5064
|
+
declare namespace Calendar {
|
|
5065
|
+
var displayName: string;
|
|
5066
|
+
}
|
|
5067
|
+
|
|
5068
|
+
|
|
5052
5069
|
declare module "@tiptap/core" {
|
|
5053
5070
|
interface Commands<ReturnType> {
|
|
5054
5071
|
moodTracker: {
|
|
@@ -5056,8 +5073,3 @@ declare module "@tiptap/core" {
|
|
|
5056
5073
|
};
|
|
5057
5074
|
}
|
|
5058
5075
|
}
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
declare namespace Calendar {
|
|
5062
|
-
var displayName: string;
|
|
5063
|
-
}
|