@factorialco/f0-react 2.39.0 → 2.40.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/ai.d.ts +6 -6
- package/dist/experimental.d.ts +6 -6
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +6 -6
- package/dist/f0.js +7151 -7122
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/{useDataCollectionSource-DrGZctSN.js → useDataCollectionSource-BA6BeGvi.js} +40 -33
- package/package.json +2 -1
|
@@ -852,9 +852,9 @@ declare module "gridstack" {
|
|
|
852
852
|
|
|
853
853
|
declare module "@tiptap/core" {
|
|
854
854
|
interface Commands<ReturnType> {
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
855
|
+
enhanceHighlight: {
|
|
856
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
857
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
858
858
|
};
|
|
859
859
|
}
|
|
860
860
|
}
|
|
@@ -862,9 +862,9 @@ declare module "@tiptap/core" {
|
|
|
862
862
|
|
|
863
863
|
declare module "@tiptap/core" {
|
|
864
864
|
interface Commands<ReturnType> {
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
865
|
+
aiBlock: {
|
|
866
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
867
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
868
868
|
};
|
|
869
869
|
}
|
|
870
870
|
}
|
|
@@ -51572,47 +51572,51 @@ const uJ = ({
|
|
|
51572
51572
|
onError: n,
|
|
51573
51573
|
onHookUpdate: i
|
|
51574
51574
|
}) => {
|
|
51575
|
-
const r = te(
|
|
51575
|
+
const [r, s] = B(!1), o = te(
|
|
51576
|
+
() => ({
|
|
51577
|
+
...t,
|
|
51578
|
+
isLoading: r,
|
|
51579
|
+
setIsLoading: s
|
|
51580
|
+
}),
|
|
51581
|
+
[t, r]
|
|
51582
|
+
), a = te(
|
|
51576
51583
|
() => cJ(t.currentFilters, e.filters),
|
|
51577
51584
|
[t.currentFilters, e.filters]
|
|
51578
|
-
),
|
|
51579
|
-
filters:
|
|
51585
|
+
), l = qu(o, {
|
|
51586
|
+
filters: a,
|
|
51580
51587
|
onError: n
|
|
51581
51588
|
}), {
|
|
51582
|
-
data:
|
|
51583
|
-
search:
|
|
51584
|
-
setSearch:
|
|
51585
|
-
isInitialLoading:
|
|
51586
|
-
isLoading:
|
|
51587
|
-
isLoadingMore:
|
|
51588
|
-
error:
|
|
51589
|
-
paginationInfo:
|
|
51590
|
-
setPage:
|
|
51591
|
-
loadMore:
|
|
51592
|
-
totalItems:
|
|
51593
|
-
mergedFilters:
|
|
51594
|
-
summaries:
|
|
51595
|
-
} =
|
|
51589
|
+
data: d,
|
|
51590
|
+
search: f,
|
|
51591
|
+
setSearch: c,
|
|
51592
|
+
isInitialLoading: u,
|
|
51593
|
+
isLoading: h,
|
|
51594
|
+
isLoadingMore: m,
|
|
51595
|
+
error: g,
|
|
51596
|
+
paginationInfo: y,
|
|
51597
|
+
setPage: v,
|
|
51598
|
+
loadMore: b,
|
|
51599
|
+
totalItems: k,
|
|
51600
|
+
mergedFilters: w,
|
|
51601
|
+
summaries: _
|
|
51602
|
+
} = l;
|
|
51596
51603
|
return se(() => {
|
|
51597
51604
|
i?.(e.id, {
|
|
51598
|
-
data:
|
|
51599
|
-
search:
|
|
51600
|
-
setSearch:
|
|
51601
|
-
isInitialLoading:
|
|
51602
|
-
isLoading:
|
|
51603
|
-
isLoadingMore:
|
|
51604
|
-
error:
|
|
51605
|
-
paginationInfo:
|
|
51606
|
-
setPage:
|
|
51607
|
-
loadMore:
|
|
51608
|
-
totalItems:
|
|
51609
|
-
mergedFilters:
|
|
51610
|
-
summaries:
|
|
51605
|
+
data: d,
|
|
51606
|
+
search: f,
|
|
51607
|
+
setSearch: c,
|
|
51608
|
+
isInitialLoading: u,
|
|
51609
|
+
isLoading: h,
|
|
51610
|
+
isLoadingMore: m,
|
|
51611
|
+
error: g,
|
|
51612
|
+
paginationInfo: y,
|
|
51613
|
+
setPage: v,
|
|
51614
|
+
loadMore: b,
|
|
51615
|
+
totalItems: k,
|
|
51616
|
+
mergedFilters: w,
|
|
51617
|
+
summaries: _
|
|
51611
51618
|
});
|
|
51612
51619
|
}, [
|
|
51613
|
-
o,
|
|
51614
|
-
a,
|
|
51615
|
-
l,
|
|
51616
51620
|
d,
|
|
51617
51621
|
f,
|
|
51618
51622
|
c,
|
|
@@ -51623,6 +51627,9 @@ const uJ = ({
|
|
|
51623
51627
|
y,
|
|
51624
51628
|
v,
|
|
51625
51629
|
b,
|
|
51630
|
+
k,
|
|
51631
|
+
w,
|
|
51632
|
+
_,
|
|
51626
51633
|
i,
|
|
51627
51634
|
e.id
|
|
51628
51635
|
]), null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorialco/f0-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.40.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"assets",
|
|
@@ -256,6 +256,7 @@
|
|
|
256
256
|
"format": "sh -c 'oxfmt \"${@:-src/}\"' --",
|
|
257
257
|
"format:check": "sh -c 'oxfmt --check \"${@:-src/}\"' --",
|
|
258
258
|
"tsc": "tsc --noEmit",
|
|
259
|
+
"check:api-surface": "tsx .scripts/check-api-surface.ts",
|
|
259
260
|
"vitest": "vitest --project=unit",
|
|
260
261
|
"vitest:ui": "vitest --project=unit --ui",
|
|
261
262
|
"vitest:watch": "vitest --project=unit dev",
|