@xy-planning-network/trees 0.5.0-rc-1 → 0.5.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/style.css +1 -1
- package/dist/trees.es.js +73 -57
- package/dist/trees.umd.js +6 -8
- package/package.json +1 -1
- package/src/lib-components/lists/DetailList.vue +1 -1
- package/src/lib-components/lists/Table.vue +1 -1
- package/types/composables/useFlashes.d.ts +7 -1
- package/types/composables/useSpinner.d.ts +1 -1
- package/types/types/lists.d.ts +0 -12
package/package.json
CHANGED
|
@@ -77,4 +77,10 @@ export declare function useFlashes(flasherConfig?: FlasherConfig): {
|
|
|
77
77
|
*/
|
|
78
78
|
export declare const loadWindowFlashes: (flasher: Flasher) => void;
|
|
79
79
|
export declare function useAppFlashes(): UseFlashes;
|
|
80
|
-
export declare
|
|
80
|
+
export declare const useAppFlasher: {
|
|
81
|
+
error(msg: string, persistent?: boolean | undefined): void;
|
|
82
|
+
info(msg: string, persistent?: boolean | undefined): void;
|
|
83
|
+
success(msg: string, persistent?: boolean | undefined): void;
|
|
84
|
+
warning(msg: string, persistent?: boolean | undefined): void;
|
|
85
|
+
genericError(email?: string | undefined, persistent?: boolean | undefined): void;
|
|
86
|
+
};
|
|
@@ -22,7 +22,7 @@ export declare function useSpinnerDisplay(): {
|
|
|
22
22
|
hide: () => void;
|
|
23
23
|
};
|
|
24
24
|
export declare function useAppSpinnerDisplay(): UseSpinnerDisplay;
|
|
25
|
-
export declare
|
|
25
|
+
export declare const useAppSpinner: {
|
|
26
26
|
show: (msgs?: string[] | undefined) => void;
|
|
27
27
|
hide: () => void;
|
|
28
28
|
};
|
package/types/types/lists.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface Pagination {
|
|
2
|
-
page: number;
|
|
3
|
-
perPage: number;
|
|
4
|
-
totalItems: number;
|
|
5
|
-
totalPages: number;
|
|
6
|
-
}
|
|
7
|
-
export interface PaginationItems<T = any> {
|
|
8
|
-
items: T[];
|
|
9
|
-
}
|
|
10
|
-
export interface PaginationData<T = any> {
|
|
11
|
-
data: Pagination & PaginationItems<T>;
|
|
12
|
-
}
|