@omnitend/dashboard-for-laravel 0.41.0 → 0.41.2
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/base/DButton.vue.d.ts +9 -0
- package/dist/components/base/DModal.vue.d.ts +26 -2
- package/dist/components/extended/DXLoading.vue.d.ts +9 -0
- package/dist/components/extended/DXModalActions.vue.d.ts +12 -0
- package/dist/components/extended/DXSwitch.vue.d.ts +1 -1
- package/dist/components/extended/DXTable.vue.d.ts +4 -0
- package/dist/dashboard-for-laravel.js +3066 -2998
- 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 +3 -0
- package/dist/style.css +2 -2
- package/docs/public/api-reference.json +80 -8
- package/docs/public/docs-map.md +1 -1
- package/docs/public/llms.txt +5 -2
- package/package.json +1 -1
- package/resources/css/theme.scss +44 -39
- package/resources/js/components/base/DAutocomplete.vue +3 -3
- package/resources/js/components/base/DButton.vue +39 -5
- package/resources/js/components/base/DModal.vue +13 -2
- package/resources/js/components/extended/DXLoading.vue +47 -0
- package/resources/js/components/extended/DXModalActions.vue +13 -0
- package/resources/js/components/extended/DXSwitch.vue +16 -10
- package/resources/js/components/extended/DXTable.vue +97 -95
- package/resources/js/components/extended/DXTablePagination.vue +1 -1
- package/resources/js/index.ts +3 -0
|
@@ -47,6 +47,14 @@ interface Props {
|
|
|
47
47
|
* icon mode is unreachable through `DButton`. See DIVERGENCES.md.
|
|
48
48
|
*/
|
|
49
49
|
icon?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Square icon control at the same height as a normal button of this size.
|
|
52
|
+
* Use `icon` or an icon in the default slot, and provide `aria-label`.
|
|
53
|
+
* Takes precedence over `block`. While loading, the spinner replaces the
|
|
54
|
+
* icon/slot without changing dimensions; `loadingText` is not shown.
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
57
|
+
iconOnly?: boolean;
|
|
50
58
|
/**
|
|
51
59
|
* Full-width button (BS5 `w-100` idiom, replacing the dropped `.btn-block`).
|
|
52
60
|
* @default false
|
|
@@ -75,6 +83,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
75
83
|
loading: boolean;
|
|
76
84
|
variant: ButtonVariant | LinkVariant | null;
|
|
77
85
|
disabled: boolean;
|
|
86
|
+
iconOnly: boolean;
|
|
78
87
|
block: boolean;
|
|
79
88
|
spinnerDelay: number;
|
|
80
89
|
minSpinnerTime: number;
|
|
@@ -1,6 +1,30 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_6: {
|
|
2
|
+
cancel: () => void;
|
|
3
|
+
close: () => void;
|
|
4
|
+
ok: () => void;
|
|
5
|
+
id: string;
|
|
6
|
+
show: () => void;
|
|
7
|
+
hide: (trigger?: string, noTriggerEmit?: boolean) => void;
|
|
8
|
+
toggle: () => void;
|
|
9
|
+
active: boolean;
|
|
10
|
+
visible: boolean;
|
|
11
|
+
}, __VLS_11: {
|
|
12
|
+
cancel: () => void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
ok: () => void;
|
|
15
|
+
id: string;
|
|
16
|
+
show: () => void;
|
|
17
|
+
hide: (trigger?: string, noTriggerEmit?: boolean) => void;
|
|
18
|
+
toggle: () => void;
|
|
19
|
+
active: boolean;
|
|
20
|
+
visible: boolean;
|
|
21
|
+
}, __VLS_14: string, __VLS_15: any;
|
|
2
22
|
type __VLS_Slots = {} & {
|
|
3
|
-
[K in NonNullable<typeof
|
|
23
|
+
[K in NonNullable<typeof __VLS_14>]?: (props: typeof __VLS_15) => any;
|
|
24
|
+
} & {
|
|
25
|
+
default?: (props: typeof __VLS_6) => any;
|
|
26
|
+
} & {
|
|
27
|
+
actions?: (props: typeof __VLS_11) => any;
|
|
4
28
|
};
|
|
5
29
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
30
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text?: string;
|
|
3
|
+
delay?: number;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
delay: number;
|
|
7
|
+
text: string;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -16,7 +16,7 @@ interface Props {
|
|
|
16
16
|
*/
|
|
17
17
|
onVariant?: "success" | "neutral";
|
|
18
18
|
/**
|
|
19
|
-
* `"sm"` renders a compact
|
|
19
|
+
* `"sm"` renders a compact rounded pill (a few px shorter than the default, which
|
|
20
20
|
* matches the input height) for dense rows that repeat the switch per item (a
|
|
21
21
|
* per-line visibility toggle in a modal). Omit for the standard size, which
|
|
22
22
|
* lines the switch up with the `.form-control`
|
|
@@ -64,6 +64,8 @@ export interface TableField {
|
|
|
64
64
|
filterAllText?: string;
|
|
65
65
|
sortable?: boolean;
|
|
66
66
|
hint?: string;
|
|
67
|
+
/** Help revealed from a focusable info icon beside the column label. */
|
|
68
|
+
info?: string;
|
|
67
69
|
/**
|
|
68
70
|
* The inline filter control for this column, or `false`/omit for none. See
|
|
69
71
|
* `FilterType`. `'select'` (typeahead) and `'select-native'` (plain
|
|
@@ -479,6 +481,8 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
479
481
|
header?: (props: {}) => any;
|
|
480
482
|
} & {
|
|
481
483
|
'thead-top'?: (props: any) => any;
|
|
484
|
+
} & {
|
|
485
|
+
'thead-sub'?: (props: any) => any;
|
|
482
486
|
};
|
|
483
487
|
emit: ((evt: "rowCreated", item: any, response: any) => void) & ((evt: "createError", error: any) => void) & ((evt: "rowUpdated", item: T, response: any) => void) & ((evt: "editError", item: T, error: any) => void) & ((evt: "rowDeleted", item: T, response: any) => void) & ((evt: "deleteError", item: T, error: any) => void) & ((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: {
|
|
484
488
|
key: string;
|