@dskripchenko/laravel-admin 1.1.24 → 1.2.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/auth/ForgotPasswordPage.vue.d.ts +9 -0
- package/dist/components/auth/LoginPage.vue.d.ts +7 -3
- package/dist/components/auth/ResetPasswordPage.vue.d.ts +7 -0
- package/dist/components/dashboard/AddWidgetDialog.vue.d.ts +12 -0
- package/dist/components/dashboard/BarChartWidget.vue.d.ts +1 -1
- package/dist/components/dashboard/ChartWidget.vue.d.ts +18 -0
- package/dist/components/dashboard/DashboardPage.vue.d.ts +8 -6
- package/dist/components/dashboard/GaugeWidget.vue.d.ts +1 -1
- package/dist/components/dashboard/WidgetActionsOverlay.vue.d.ts +8 -0
- package/dist/components/dashboard/WidgetConfigDialog.vue.d.ts +24 -0
- package/dist/components/dashboard/builtin.d.ts +5 -0
- package/dist/components/fields/DateField.vue.d.ts +2 -2
- package/dist/components/fields/NumberField.vue.d.ts +3 -3
- package/dist/components/fields/SelectField.vue.d.ts +1 -1
- package/dist/components/fields/TagsField.vue.d.ts +38 -0
- package/dist/components/fields/TextAreaField.vue.d.ts +1 -1
- package/dist/components/fields/TextField.vue.d.ts +1 -1
- package/dist/components/fields/TranslatableField.vue.d.ts +24 -0
- package/dist/components/fields/wysiwyg/quill/QuillField.vue.d.ts +4 -5
- package/dist/components/infolist/BadgeEntry.vue.d.ts +1 -1
- package/dist/components/infolist/TextEntry.vue.d.ts +2 -2
- package/dist/components/profile/ApiTokensManager.vue.d.ts +2 -0
- package/dist/components/profile/TwoFactorSetup.vue.d.ts +24 -0
- package/dist/components/resource/AdminFilterToolbar.vue.d.ts +42 -0
- package/dist/components/resource/AuditTimeline.vue.d.ts +12 -0
- package/dist/components/resource/FilterEditor.d.ts +58 -0
- package/dist/components/resource/InlineEditCell.vue.d.ts +26 -0
- package/dist/components/resource/ResourceFormPage.vue.d.ts +6 -3
- package/dist/components/resource/ResourceIndexPage.vue.d.ts +10 -4
- package/dist/components/resource/ResourceViewPage.vue.d.ts +33 -4
- package/dist/components/shell/AdminShell.vue.d.ts +8 -2
- package/dist/components/shell/AdminSidebar.vue.d.ts +10 -4
- package/dist/components/shell/AdminTopBar.vue.d.ts +4 -4
- package/dist/components/shell/BrandLogo.vue.d.ts +16 -0
- package/dist/components/shell/NotificationsDrawer.vue.d.ts +2 -0
- package/dist/components/shell/iconRegistry.d.ts +18 -0
- package/dist/createAdminApp.d.ts +3 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6499 -2729
- package/dist/index.mjs.map +1 -1
- package/dist/quill.cjs +1 -1
- package/dist/quill.cjs.map +1 -1
- package/dist/quill.mjs +21 -33
- package/dist/quill.mjs.map +1 -1
- package/dist/router/index.d.ts +4 -0
- package/dist/stores/dashboard.d.ts +212 -0
- package/dist/stores/i18n.d.ts +31 -0
- package/dist/stores/manifest.d.ts +73 -11
- package/dist/stores/navigation.d.ts +1 -1
- package/dist/stores/notifications.d.ts +14 -2
- package/dist/stores/resourceForm.d.ts +3 -3
- package/dist/stores/resourceIndex.d.ts +1 -1
- package/dist/stores/toast.d.ts +16 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -3,18 +3,24 @@ interface ImpersonationData {
|
|
|
3
3
|
asName: string;
|
|
4
4
|
}
|
|
5
5
|
interface Props {
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* v-model:collapsed — состояние сворачивания. Опционально: если host
|
|
8
|
+
* не передаёт, AdminShell использует internal ref'ом, чтобы collapse
|
|
9
|
+
* toggle работал out-of-the-box.
|
|
10
|
+
*/
|
|
7
11
|
collapsed?: boolean;
|
|
8
12
|
/** Если задано — показывает amber-banner и сдвигает контент. */
|
|
9
13
|
impersonation?: ImpersonationData | null;
|
|
10
14
|
}
|
|
11
|
-
declare var __VLS_9: {}, __VLS_14: {}, __VLS_23: {};
|
|
15
|
+
declare var __VLS_9: {}, __VLS_14: {}, __VLS_23: {}, __VLS_25: {};
|
|
12
16
|
type __VLS_Slots = {} & {
|
|
13
17
|
sidebar?: (props: typeof __VLS_9) => any;
|
|
14
18
|
} & {
|
|
15
19
|
topbar?: (props: typeof __VLS_14) => any;
|
|
16
20
|
} & {
|
|
17
21
|
default?: (props: typeof __VLS_23) => any;
|
|
22
|
+
} & {
|
|
23
|
+
footer?: (props: typeof __VLS_25) => any;
|
|
18
24
|
};
|
|
19
25
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
26
|
"update:collapsed": (value: boolean) => any;
|
|
@@ -2,8 +2,13 @@ interface Props {
|
|
|
2
2
|
collapsed?: boolean;
|
|
3
3
|
/** Заголовок бренда. */
|
|
4
4
|
brandName?: string;
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Custom mark (если задан — рендерится вместо BrandLogo). Полезно
|
|
7
|
+
* host-проекту с собственным логотипом.
|
|
8
|
+
*/
|
|
9
|
+
brandMark?: string | null;
|
|
10
|
+
/** Named-route для click'а по brand-row. */
|
|
11
|
+
homeRouteName?: string;
|
|
7
12
|
/** Тенант / workspace — опционально показывается под брендом. */
|
|
8
13
|
tenant?: {
|
|
9
14
|
label: string;
|
|
@@ -14,14 +19,15 @@ interface Props {
|
|
|
14
19
|
docsUrl?: string | null;
|
|
15
20
|
}
|
|
16
21
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
22
|
+
version: string | null;
|
|
17
23
|
collapsed: boolean;
|
|
18
24
|
brandName: string;
|
|
19
|
-
brandMark: string;
|
|
25
|
+
brandMark: string | null;
|
|
26
|
+
homeRouteName: string;
|
|
20
27
|
tenant: {
|
|
21
28
|
label: string;
|
|
22
29
|
name: string;
|
|
23
30
|
} | null;
|
|
24
|
-
version: string | null;
|
|
25
31
|
docsUrl: string | null;
|
|
26
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
33
|
export default _default;
|
|
@@ -8,13 +8,13 @@ interface Props {
|
|
|
8
8
|
/** Показывать кнопку collapse сайдбара (только в shell-layout'е). */
|
|
9
9
|
showCollapseToggle?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare var
|
|
11
|
+
declare var __VLS_5: {}, __VLS_11: {}, __VLS_17: {};
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
|
-
breadcrumbs?: (props: typeof
|
|
13
|
+
breadcrumbs?: (props: typeof __VLS_5) => any;
|
|
14
14
|
} & {
|
|
15
|
-
search?: (props: typeof
|
|
15
|
+
search?: (props: typeof __VLS_11) => any;
|
|
16
16
|
} & {
|
|
17
|
-
actions?: (props: typeof
|
|
17
|
+
actions?: (props: typeof __VLS_17) => any;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
20
|
"toggle-sidebar": () => any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** Сторона квадрата в px. */
|
|
3
|
+
size?: number;
|
|
4
|
+
/** Мигающий курсор. */
|
|
5
|
+
animated?: boolean;
|
|
6
|
+
/** color = бренд-палитра, mono = single-tone через currentColor. */
|
|
7
|
+
variant?: 'color' | 'mono';
|
|
8
|
+
title?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
|
+
size: number;
|
|
12
|
+
title: string;
|
|
13
|
+
variant: "color" | "mono";
|
|
14
|
+
animated: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -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
|
+
/**
|
|
2
|
+
* Резолвер kebab-имени lucide-иконки → Vue-компонент.
|
|
3
|
+
*
|
|
4
|
+
* MenuItem.icon приходит из backend'а строкой (например 'file-text', 'users').
|
|
5
|
+
* Чтобы не тащить весь lucide-vue-next в bundle — держим whitelist
|
|
6
|
+
* популярных имён. Host может расширить через registerIcon(name, comp).
|
|
7
|
+
*
|
|
8
|
+
* Не найденное имя возвращает fallback (Box) — sidebar item никогда не
|
|
9
|
+
* рендерится без иконки.
|
|
10
|
+
*/
|
|
11
|
+
import type { Component } from 'vue';
|
|
12
|
+
/**
|
|
13
|
+
* Найти иконку по имени. Не найдена — null (вызывающий код решает рендерить
|
|
14
|
+
* fallback или ничего).
|
|
15
|
+
*/
|
|
16
|
+
export declare function resolveIcon(name: string | null | undefined): Component | null;
|
|
17
|
+
/** Зарегистрировать дополнительную иконку (host-проект). */
|
|
18
|
+
export declare function registerIcon(name: string, component: Component): void;
|
package/dist/createAdminApp.d.ts
CHANGED
|
@@ -35,6 +35,9 @@ export interface CreateAdminAppPages {
|
|
|
35
35
|
notFound?: Component;
|
|
36
36
|
/** Профиль. По умолчанию ProfilePage. */
|
|
37
37
|
profile?: Component;
|
|
38
|
+
/** Auth: forgot/reset password. По умолчанию core'овские. */
|
|
39
|
+
forgotPassword?: Component;
|
|
40
|
+
resetPassword?: Component;
|
|
38
41
|
/** Resource index/form/view. По умолчанию core'овские. */
|
|
39
42
|
resourceIndex?: Component;
|
|
40
43
|
resourceCreate?: Component;
|