blixify-ui-web-mcp 0.1.34 → 0.1.36
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.
|
@@ -280,16 +280,20 @@ Pass `viewSettings` to activate an alternate view instead of the default table.
|
|
|
280
280
|
```tsx
|
|
281
281
|
// Grid view — renders records as image cards
|
|
282
282
|
viewSettings={{
|
|
283
|
-
gridImage: "coverImage", // column ID of an image field
|
|
283
|
+
gridImage: "coverImage", // column ID of an image or multipleImage field
|
|
284
284
|
gridScroll: true, // gridScroll enables infinite scroll;
|
|
285
285
|
gridContain: false, //gridContain uses object-contain instead of object-cover
|
|
286
286
|
}}
|
|
287
287
|
|
|
288
288
|
// List view — renders records as a vertical image list
|
|
289
289
|
viewSettings={{
|
|
290
|
-
listImage: "coverImage", // column ID of an image field
|
|
290
|
+
listImage: "coverImage", // column ID of an image or multipleImage field
|
|
291
291
|
}}
|
|
292
292
|
|
|
293
|
+
// INFO: a multipleImage column shows its first image on the card; a record with
|
|
294
|
+
// no image (or only a video) shows no card image — grid view then uses
|
|
295
|
+
// bareSettings.bareListGridFallbackImg when set
|
|
296
|
+
|
|
293
297
|
// Calendar view — renders records as calendar events
|
|
294
298
|
viewSettings={{
|
|
295
299
|
calendarSettings: {
|
|
@@ -96,7 +96,7 @@ const columns: DataStructure[] = [
|
|
|
96
96
|
| `infoElement` | `ReactElement` | — | Info element rendered in the table header area |
|
|
97
97
|
| `id` | `string` | — | Used when the component is registered as a form input ref |
|
|
98
98
|
| `disabled` | `boolean` | `false` | Removes all editing controls — no add/remove row, no cell editing, no add column |
|
|
99
|
-
| `showTotal` | `boolean` | `true` | Show a subtotal row at the bottom of each category group
|
|
99
|
+
| `showTotal` | `boolean` | `true` | Show a subtotal row at the bottom of each category group, and each category row's sum; `false` hides both |
|
|
100
100
|
| `showGrandTotal` | `boolean` | `false` | Show a grand total row summing all numeric columns across all categories |
|
|
101
101
|
| `hideCategory` | `boolean` | `false` | Hide category grouping and render a flat list of rows |
|
|
102
102
|
| `maxRows` | `number` | — | Maximum rows allowed per category. The add-row button is hidden once the limit is reached |
|