@omnitend/dashboard-for-laravel 0.9.0 → 0.9.1

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.
@@ -164,8 +164,13 @@ export interface FieldDefinition {
164
164
  export interface FormTab {
165
165
  /** Unique key for this tab */
166
166
  key: string;
167
- /** Display label (optional, defaults to the key) */
168
- label?: string;
167
+ /**
168
+ * Display label (optional, defaults to the key). May be a function of the
169
+ * form model — the live form data merged with any `context` (e.g. the row
170
+ * DXTable is editing) — so a tab title can reflect the record, such as
171
+ * `label: (model) => \`Products (${model.products_count ?? 0})\``.
172
+ */
173
+ label?: MaybeFn<string>;
169
174
  /** Field keys (from the form's fields) to render in this tab */
170
175
  fieldKeys: string[];
171
176
  /** Conditional display — boolean or a function of the form model */
@@ -1,8 +1,8 @@
1
1
  {
2
- "generated": "2026-07-04T10:39:25.077Z",
2
+ "generated": "2026-07-04T11:43:17.570Z",
3
3
  "package": {
4
4
  "name": "@omnitend/dashboard-for-laravel",
5
- "version": "0.9.0"
5
+ "version": "0.9.1"
6
6
  },
7
7
  "components": {
8
8
  "base": [
@@ -1,7 +1,7 @@
1
1
  # Documentation Map
2
2
 
3
3
  > Auto-generated hierarchical overview of all documentation
4
- > Last updated: 2026-07-04T10:39:25.137Z
4
+ > Last updated: 2026-07-04T11:43:17.631Z
5
5
 
6
6
  This file provides a complete map of all available documentation for AI agents and developers.
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnitend/dashboard-for-laravel",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Vue 3 dashboard components for Laravel with Bootstrap Vue Next",
5
5
  "type": "module",
6
6
  "main": "./dist/dashboard-for-laravel.umd.cjs",