@dskripchenko/laravel-admin 1.17.1 → 1.19.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/dashboard/DashboardPage.vue.d.ts +1 -1
- package/dist/components/fields/RepeaterField.vue.d.ts +1 -1
- package/dist/components/fields/SelectField.vue.d.ts +1 -1
- package/dist/components/shell/AdminBootSkeleton.vue.d.ts +2 -0
- package/dist/composables/useAppReady.d.ts +18 -0
- package/dist/composables/useAppReady.test.d.ts +1 -0
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12092 -12031
- package/dist/index.mjs.map +1 -1
- package/dist/stores/resourceForm.d.ts +1 -1
- package/dist/stores/resourceIndex.d.ts +1 -1
- package/dist/stores/screen.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -17,8 +17,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
17
17
|
onExport?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
title: string;
|
|
20
|
-
subtitle: string;
|
|
21
20
|
slug: string;
|
|
21
|
+
subtitle: string;
|
|
22
22
|
widgets: WidgetNode[];
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -14,8 +14,8 @@ interface Props {
|
|
|
14
14
|
}
|
|
15
15
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
16
|
label: string | null;
|
|
17
|
-
required: boolean;
|
|
18
17
|
fields: FieldNode[];
|
|
18
|
+
required: boolean;
|
|
19
19
|
reorderable: boolean;
|
|
20
20
|
help: string | null;
|
|
21
21
|
maxItems: number | null;
|
|
@@ -25,8 +25,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
25
25
|
label: string | null;
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
placeholder: string | null;
|
|
28
|
-
required: boolean;
|
|
29
28
|
searchable: boolean;
|
|
29
|
+
required: boolean;
|
|
30
30
|
readonly: boolean;
|
|
31
31
|
clearable: boolean;
|
|
32
32
|
help: string | null;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Один гейт готовности каркаса: меню и страница появляются вместе.
|
|
4
|
+
*
|
|
5
|
+
* Замер на живом стенде показал двухтактную загрузку: на 236 мс отрисован
|
|
6
|
+
* топбар с пустым сайдбаром и страница, которой в этой установке нет
|
|
7
|
+
* (HomePage-заглушка «зарегистрируйте DashboardScreen»), и только на 510 мс
|
|
8
|
+
* приходит manifest — меню наполняется, страница подменяется настоящей.
|
|
9
|
+
* Четверть секунды пользователь смотрел на чужой экран, а потом всё
|
|
10
|
+
* скачком переставлялось.
|
|
11
|
+
*
|
|
12
|
+
* Манифест и меню запрашиваются параллельно, поэтому ждать оба дешевле, чем
|
|
13
|
+
* показывать полусобранный интерфейс. Гейт открывается по готовности обоих —
|
|
14
|
+
* либо по страховочному таймауту: зависший запрос меню не имеет права
|
|
15
|
+
* держать страницу вечно.
|
|
16
|
+
*/
|
|
17
|
+
export declare const BOOT_GATE_TIMEOUT_MS = 1500;
|
|
18
|
+
export declare function useAppReady(): ComputedRef<boolean>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|