@omnitend/dashboard-for-laravel 0.24.0 → 0.26.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/DXDashboard.vue.d.ts +3 -0
- package/dist/components/extended/DXDashboardNavbar.vue.d.ts +6 -0
- package/dist/components/extended/DXTable.vue.d.ts +27 -0
- package/dist/dashboard-for-laravel.js +7287 -7212
- 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 +1 -1
- package/docs/public/api-reference.json +53 -26
- 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 +123 -12
- package/resources/js/components/base/DAutocomplete.vue +54 -1
- package/resources/js/components/extended/DXDashboard.vue +5 -0
- package/resources/js/components/extended/DXDashboardNavbar.vue +96 -54
- package/resources/js/components/extended/DXForm.vue +1 -1
- package/resources/js/components/extended/DXTable.vue +271 -41
- package/resources/js/components/extended/DXUserAvatar.vue +5 -1
- 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
|
|
@@ -37,6 +37,8 @@ interface Props {
|
|
|
37
37
|
* phones). Forwarded to DXDashboardNavbar.
|
|
38
38
|
*/
|
|
39
39
|
actionsOnMobile?: NavbarActionsOnMobile;
|
|
40
|
+
/** Accessible name for the navbar's user-menu trigger. Forwarded to DXDashboardNavbar. */
|
|
41
|
+
userMenuLabel?: string;
|
|
40
42
|
/**
|
|
41
43
|
* Turn sidebar group headers into accordion toggles that collapse/expand
|
|
42
44
|
* their items. When off (default), every group is permanently expanded.
|
|
@@ -89,6 +91,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
89
91
|
pageTitle: string;
|
|
90
92
|
searchAlign: NavbarSearchAlign;
|
|
91
93
|
actionsOnMobile: NavbarActionsOnMobile;
|
|
94
|
+
userMenuLabel: string;
|
|
92
95
|
contentMaxWidth: string;
|
|
93
96
|
storageKey: string;
|
|
94
97
|
dashboardId: string;
|
|
@@ -21,6 +21,11 @@ type __VLS_Props = {
|
|
|
21
21
|
* (for apps that relocate page actions into the page on phones).
|
|
22
22
|
*/
|
|
23
23
|
actionsOnMobile?: NavbarActionsOnMobile;
|
|
24
|
+
/**
|
|
25
|
+
* Accessible name for the user-menu trigger. Without one, a screen reader
|
|
26
|
+
* announces the trigger as the avatar's initial ("J") rather than as a menu.
|
|
27
|
+
*/
|
|
28
|
+
userMenuLabel?: string;
|
|
24
29
|
};
|
|
25
30
|
declare var __VLS_11: {}, __VLS_13: {}, __VLS_15: {
|
|
26
31
|
pageTitle: string;
|
|
@@ -70,6 +75,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
70
75
|
pageTitle: string;
|
|
71
76
|
searchAlign: NavbarSearchAlign;
|
|
72
77
|
actionsOnMobile: NavbarActionsOnMobile;
|
|
78
|
+
userMenuLabel: string;
|
|
73
79
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
74
80
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
75
81
|
export default _default;
|
|
@@ -24,6 +24,13 @@ export interface TableField {
|
|
|
24
24
|
filterNullText?: string;
|
|
25
25
|
/** The value sent when the `filterNullText` option is chosen. Default `"null"`. */
|
|
26
26
|
filterNullValue?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Text of the "clear this filter" option at the top of a `select` filter's
|
|
29
|
+
* list (default: the filter's placeholder, e.g. "All statuses"). The list
|
|
30
|
+
* otherwise offers no way back to *unfiltered* once a value is picked —
|
|
31
|
+
* only the ✕, which isn't discoverable from inside the open dropdown.
|
|
32
|
+
*/
|
|
33
|
+
filterAllText?: string;
|
|
27
34
|
sortable?: boolean;
|
|
28
35
|
hint?: string;
|
|
29
36
|
filter?: FilterType;
|
|
@@ -194,6 +201,20 @@ export interface Props<TItem = any> {
|
|
|
194
201
|
* per-row detail into a modal.
|
|
195
202
|
*/
|
|
196
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;
|
|
197
218
|
/** Enable client-side filtering, sorting, and pagination on items array */
|
|
198
219
|
clientSide?: boolean;
|
|
199
220
|
}
|
|
@@ -266,6 +287,12 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
266
287
|
}) => any) | undefined;
|
|
267
288
|
} & {
|
|
268
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;
|
|
269
296
|
};
|
|
270
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: {
|
|
271
298
|
key: string;
|