@firecms/core 3.0.0-canary.128 → 3.0.0-canary.129

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@firecms/core",
3
3
  "type": "module",
4
- "version": "3.0.0-canary.128",
4
+ "version": "3.0.0-canary.129",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -46,9 +46,9 @@
46
46
  "./package.json": "./package.json"
47
47
  },
48
48
  "dependencies": {
49
- "@firecms/editor": "^3.0.0-canary.128",
50
- "@firecms/formex": "^3.0.0-canary.128",
51
- "@firecms/ui": "^3.0.0-canary.128",
49
+ "@firecms/editor": "^3.0.0-canary.129",
50
+ "@firecms/formex": "^3.0.0-canary.129",
51
+ "@firecms/ui": "^3.0.0-canary.129",
52
52
  "@hello-pangea/dnd": "^16.6.0",
53
53
  "@radix-ui/react-portal": "^1.1.1",
54
54
  "clsx": "^2.1.1",
@@ -100,7 +100,7 @@
100
100
  "dist",
101
101
  "src"
102
102
  ],
103
- "gitHead": "bc89d0f2a854db605146acc129aeee89d8e0d0a3",
103
+ "gitHead": "576f01afd4b2e604c7505e3317ab178b33916068",
104
104
  "publishConfig": {
105
105
  "access": "public"
106
106
  },
@@ -216,7 +216,7 @@ export const VirtualTable = React.memo<VirtualTableProps<any>>(
216
216
  scrollOffset: number,
217
217
  scrollUpdateWasRequested: boolean;
218
218
  }) => {
219
- if(debug)
219
+ if (debug)
220
220
  console.log("onScroll", {
221
221
  scrollDirection,
222
222
  scrollOffset,
@@ -227,7 +227,7 @@ export const VirtualTable = React.memo<VirtualTableProps<any>>(
227
227
  }, [maxScroll, onEndReachedInternal]);
228
228
 
229
229
  const onFilterUpdateInternal = useCallback((column: VirtualTableColumn, filterForProperty?: [VirtualTableWhereFilterOp, any]) => {
230
- if(debug)
230
+ if (debug)
231
231
  console.log("onFilterUpdateInternal", column, filterForProperty);
232
232
 
233
233
  endReachCallbackThreshold.current = 0;
@@ -258,13 +258,13 @@ export const VirtualTable = React.memo<VirtualTableProps<any>>(
258
258
  </div>;
259
259
  }, [emptyComponent, loading]);
260
260
 
261
- const empty = !loading && (data?.length ?? 0) === 0;
261
+ const empty = data?.length ?? 0 === 0;
262
262
  const customView = error
263
263
  ? <CenteredView maxWidth={"2xl"}
264
264
  className="flex flex-col gap-2">
265
265
 
266
266
  <Typography variant={"h6"}>
267
- {"Error fetching data from the data source"}
267
+ {"Error"}
268
268
  </Typography>
269
269
 
270
270
  {error?.message && <SafeLinkRenderer text={error.message}/>}
@@ -293,7 +293,7 @@ export const VirtualTable = React.memo<VirtualTableProps<any>>(
293
293
  AddColumnComponent
294
294
  };
295
295
 
296
- if(debug)
296
+ if (debug)
297
297
  console.log("VirtualTable render", virtualListController);
298
298
 
299
299
  // useTraceUpdate(virtualListController);