@omnitend/dashboard-for-laravel 0.7.1 → 0.9.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/components/extended/DXDashboard.vue.d.ts +13 -0
- package/dist/components/extended/DXDashboardSidebar.vue.d.ts +15 -0
- package/dist/components/extended/DXField.vue.d.ts +33 -16
- package/dist/components/extended/DXFieldLabel.vue.d.ts +8 -0
- package/dist/dashboard-for-laravel.js +7740 -7489
- package/dist/dashboard-for-laravel.js.map +1 -1
- package/dist/dashboard-for-laravel.umd.cjs +7 -7
- package/dist/dashboard-for-laravel.umd.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +28 -1
- package/dist/types/navigation.d.ts +6 -0
- package/docs/public/api-reference.json +59 -4
- package/docs/public/docs-map.md +1 -1
- package/docs/public/llms.txt +3 -2
- package/package.json +1 -1
- package/resources/css/theme.scss +62 -1
- package/resources/js/components/extended/DXDashboard.vue +17 -0
- package/resources/js/components/extended/DXDashboardSidebar.vue +302 -41
- package/resources/js/components/extended/DXField.vue +145 -6
- package/resources/js/components/extended/DXFieldLabel.vue +72 -0
- package/resources/js/components/extended/DXForm.vue +8 -1
- package/resources/js/components/extended/DXRepeater.vue +1 -0
- package/resources/js/components/extended/DXTable.vue +26 -5
- package/resources/js/composables/defineForm.ts +1 -0
- package/resources/js/index.ts +1 -0
- package/resources/js/types/index.ts +39 -2
- package/resources/js/types/navigation.ts +6 -0
|
@@ -15,6 +15,17 @@ interface Props {
|
|
|
15
15
|
} | null;
|
|
16
16
|
/** Logout URL for navbar dropdown */
|
|
17
17
|
logoutUrl?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Turn sidebar group headers into accordion toggles that collapse/expand
|
|
20
|
+
* their items. When off (default), every group is permanently expanded.
|
|
21
|
+
*/
|
|
22
|
+
collapsibleGroups?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Only relevant when `collapsibleGroups` is on. `true` (default): only the
|
|
25
|
+
* active-route group starts open and opening one closes the others
|
|
26
|
+
* (single-open accordion). `false`: all groups start open, toggled independently.
|
|
27
|
+
*/
|
|
28
|
+
autoCollapseInactiveGroups?: boolean;
|
|
18
29
|
/** LocalStorage key for sidebar state persistence */
|
|
19
30
|
storageKey?: string;
|
|
20
31
|
/**
|
|
@@ -34,6 +45,8 @@ type __VLS_Slots = {} & {
|
|
|
34
45
|
};
|
|
35
46
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
36
47
|
title: string;
|
|
48
|
+
collapsibleGroups: boolean;
|
|
49
|
+
autoCollapseInactiveGroups: boolean;
|
|
37
50
|
user: {
|
|
38
51
|
name: string;
|
|
39
52
|
email: string;
|
|
@@ -5,6 +5,18 @@ type __VLS_Props = {
|
|
|
5
5
|
collapsed?: boolean;
|
|
6
6
|
hidden?: boolean;
|
|
7
7
|
title?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Turn group headers into accordion toggles that collapse/expand their items.
|
|
10
|
+
* When off (default), every group is rendered permanently expanded.
|
|
11
|
+
*/
|
|
12
|
+
collapsibleGroups?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Only relevant when `collapsibleGroups` is on.
|
|
15
|
+
* `true` (default): only the active-route group starts open, and opening one
|
|
16
|
+
* group closes the others (single-open accordion).
|
|
17
|
+
* `false`: all groups start open and toggle independently.
|
|
18
|
+
*/
|
|
19
|
+
autoCollapseInactiveGroups?: boolean;
|
|
8
20
|
};
|
|
9
21
|
declare var __VLS_1: {
|
|
10
22
|
collapsed: boolean;
|
|
@@ -13,6 +25,7 @@ declare var __VLS_1: {
|
|
|
13
25
|
item: import("../..").NavigationItem;
|
|
14
26
|
isActive: boolean;
|
|
15
27
|
collapsed: boolean;
|
|
28
|
+
isExpanded: boolean;
|
|
16
29
|
};
|
|
17
30
|
type __VLS_Slots = {} & {
|
|
18
31
|
brand?: (props: typeof __VLS_1) => any;
|
|
@@ -27,6 +40,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
27
40
|
collapsed: boolean;
|
|
28
41
|
hidden: boolean;
|
|
29
42
|
title: string;
|
|
43
|
+
collapsibleGroups: boolean;
|
|
44
|
+
autoCollapseInactiveGroups: boolean;
|
|
30
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
46
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
47
|
export default _default;
|
|
@@ -27,33 +27,44 @@ declare var __VLS_1: {
|
|
|
27
27
|
model: any;
|
|
28
28
|
value: any;
|
|
29
29
|
update: typeof setValue;
|
|
30
|
-
},
|
|
30
|
+
}, __VLS_14: {
|
|
31
31
|
field: FieldDefinition;
|
|
32
32
|
model: any;
|
|
33
|
-
},
|
|
33
|
+
}, __VLS_19: {
|
|
34
34
|
field: FieldDefinition;
|
|
35
35
|
model: any;
|
|
36
|
-
},
|
|
36
|
+
}, __VLS_24: {
|
|
37
|
+
field: FieldDefinition;
|
|
38
|
+
model: any;
|
|
39
|
+
value: any;
|
|
40
|
+
update: typeof setValue;
|
|
41
|
+
}, __VLS_35: {
|
|
42
|
+
field: FieldDefinition;
|
|
43
|
+
model: any;
|
|
44
|
+
}, __VLS_40: {
|
|
45
|
+
field: FieldDefinition;
|
|
46
|
+
model: any;
|
|
47
|
+
}, __VLS_55: {
|
|
37
48
|
row: any;
|
|
38
49
|
index: number;
|
|
39
50
|
fields: FieldDefinition[];
|
|
40
51
|
remove: () => void;
|
|
41
52
|
path: string;
|
|
42
|
-
},
|
|
53
|
+
}, __VLS_57: {
|
|
43
54
|
field: FieldDefinition;
|
|
44
55
|
model: any;
|
|
45
|
-
},
|
|
56
|
+
}, __VLS_62: {
|
|
46
57
|
field: FieldDefinition;
|
|
47
58
|
model: any;
|
|
48
|
-
},
|
|
59
|
+
}, __VLS_73: {
|
|
49
60
|
field: FieldDefinition;
|
|
50
61
|
model: any;
|
|
51
62
|
value: any;
|
|
52
63
|
update: typeof setValue;
|
|
53
|
-
},
|
|
64
|
+
}, __VLS_107: {
|
|
54
65
|
field: FieldDefinition;
|
|
55
66
|
model: any;
|
|
56
|
-
},
|
|
67
|
+
}, __VLS_112: {
|
|
57
68
|
field: FieldDefinition;
|
|
58
69
|
model: any;
|
|
59
70
|
};
|
|
@@ -62,21 +73,27 @@ type __VLS_Slots = {} & {
|
|
|
62
73
|
} & {
|
|
63
74
|
value?: (props: typeof __VLS_3) => any;
|
|
64
75
|
} & {
|
|
65
|
-
info?: (props: typeof
|
|
76
|
+
info?: (props: typeof __VLS_14) => any;
|
|
77
|
+
} & {
|
|
78
|
+
hint?: (props: typeof __VLS_19) => any;
|
|
79
|
+
} & {
|
|
80
|
+
value?: (props: typeof __VLS_24) => any;
|
|
81
|
+
} & {
|
|
82
|
+
info?: (props: typeof __VLS_35) => any;
|
|
66
83
|
} & {
|
|
67
|
-
hint?: (props: typeof
|
|
84
|
+
hint?: (props: typeof __VLS_40) => any;
|
|
68
85
|
} & {
|
|
69
|
-
'repeater-row'?: (props: typeof
|
|
86
|
+
'repeater-row'?: (props: typeof __VLS_55) => any;
|
|
70
87
|
} & {
|
|
71
|
-
info?: (props: typeof
|
|
88
|
+
info?: (props: typeof __VLS_57) => any;
|
|
72
89
|
} & {
|
|
73
|
-
hint?: (props: typeof
|
|
90
|
+
hint?: (props: typeof __VLS_62) => any;
|
|
74
91
|
} & {
|
|
75
|
-
value?: (props: typeof
|
|
92
|
+
value?: (props: typeof __VLS_73) => any;
|
|
76
93
|
} & {
|
|
77
|
-
info?: (props: typeof
|
|
94
|
+
info?: (props: typeof __VLS_107) => any;
|
|
78
95
|
} & {
|
|
79
|
-
hint?: (props: typeof
|
|
96
|
+
hint?: (props: typeof __VLS_112) => any;
|
|
80
97
|
};
|
|
81
98
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
82
99
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** Visible label text. */
|
|
3
|
+
label: string;
|
|
4
|
+
/** Optional help text revealed in a popover from an info affordance. */
|
|
5
|
+
info?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|