@omnitend/dashboard-for-laravel 0.41.0 → 0.41.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.
- package/dist/components/base/DButton.vue.d.ts +9 -0
- package/dist/components/extended/DXTable.vue.d.ts +2 -0
- package/dist/dashboard-for-laravel.js +2325 -2322
- package/dist/dashboard-for-laravel.js.map +1 -1
- package/dist/dashboard-for-laravel.umd.cjs +4 -4
- package/dist/dashboard-for-laravel.umd.cjs.map +1 -1
- package/dist/style.css +2 -2
- package/docs/public/api-reference.json +25 -4
- package/docs/public/docs-map.md +1 -1
- package/package.json +1 -1
- package/resources/css/theme.scss +33 -26
- package/resources/js/components/base/DAutocomplete.vue +3 -3
- package/resources/js/components/base/DButton.vue +39 -5
- package/resources/js/components/extended/DXSwitch.vue +10 -7
- package/resources/js/components/extended/DXTable.vue +83 -88
|
@@ -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;
|
|
@@ -479,6 +479,8 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
479
479
|
header?: (props: {}) => any;
|
|
480
480
|
} & {
|
|
481
481
|
'thead-top'?: (props: any) => any;
|
|
482
|
+
} & {
|
|
483
|
+
'thead-sub'?: (props: any) => any;
|
|
482
484
|
};
|
|
483
485
|
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
486
|
key: string;
|