@omnitend/dashboard-for-laravel 0.25.0 → 0.27.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/assets/bootstrap-icons-6c757103.woff2 +0 -0
- package/dist/components/extended/DXTable.vue.d.ts +20 -0
- package/dist/dashboard-for-laravel.js +7654 -7599
- package/dist/dashboard-for-laravel.js.map +1 -1
- package/dist/dashboard-for-laravel.umd.cjs +8 -8
- package/dist/dashboard-for-laravel.umd.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/style.css +2 -2
- package/docs/public/api-reference.json +38 -25
- package/docs/public/docs-map.md +1 -1
- package/docs/public/llms.txt +2 -3
- package/package.json +2 -2
- package/resources/css/theme.scss +150 -11
- package/resources/js/components/extended/DXForm.vue +1 -1
- package/resources/js/components/extended/DXTable.vue +345 -42
- package/resources/js/composables/defineForm.ts +14 -2
- package/resources/js/index.ts +14 -1
- package/dist/components/base/DTab.vue.d.ts +0 -12
- package/resources/js/components/base/DTab.vue +0 -14
|
Binary file
|
|
@@ -201,6 +201,20 @@ export interface Props<TItem = any> {
|
|
|
201
201
|
* per-row detail into a modal.
|
|
202
202
|
*/
|
|
203
203
|
expandedItems?: TItem[];
|
|
204
|
+
/**
|
|
205
|
+
* Class(es) applied to each row's `<tr>` — a string, or a function of the
|
|
206
|
+
* row. Use for conditional row styling (a variant, a muted/disabled look)
|
|
207
|
+
* without reaching into the table's internal DOM from global CSS.
|
|
208
|
+
*/
|
|
209
|
+
rowClass?: string | ((item: TItem, index: number) => string | string[] | Record<string, boolean>);
|
|
210
|
+
/**
|
|
211
|
+
* Whether a given row is actionable. Only relevant when rows are clickable
|
|
212
|
+
* (an `editFields` modal or a `row-clicked` listener). A row this returns
|
|
213
|
+
* `false` for gets no pointer cursor, no hover highlight, and does not fire
|
|
214
|
+
* `row-clicked` or open the edit modal — so a row that isn't clickable
|
|
215
|
+
* doesn't *look* clickable, and a click on it can't quietly do something.
|
|
216
|
+
*/
|
|
217
|
+
rowClickable?: (item: TItem, index: number) => boolean;
|
|
204
218
|
/** Enable client-side filtering, sorting, and pagination on items array */
|
|
205
219
|
clientSide?: boolean;
|
|
206
220
|
}
|
|
@@ -273,6 +287,12 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
273
287
|
}) => any) | undefined;
|
|
274
288
|
} & {
|
|
275
289
|
header?: (props: {}) => any;
|
|
290
|
+
} & {
|
|
291
|
+
'thead-top'?: (props: any) => any;
|
|
292
|
+
} & {
|
|
293
|
+
'thead-top'?: (props: any) => any;
|
|
294
|
+
} & {
|
|
295
|
+
'thead-top'?: (props: any) => any;
|
|
276
296
|
};
|
|
277
297
|
emit: ((evt: "update:sortBy", sortBy: BTableSortBy[]) => void) & ((evt: "update:busy", busy: boolean) => void) & ((evt: "rowClicked", item: T, index: number, event: MouseEvent) => void) & ((evt: "update:expandedItems", items: T[]) => void) & ((evt: "pageChange", page: number) => void) & ((evt: "sortChange", sort: {
|
|
278
298
|
key: string;
|