@dskripchenko/laravel-admin 1.9.3 → 1.10.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/infolist/BadgeEntry.vue.d.ts +6 -0
- package/dist/components/resource/ResourceIndexPage.vue.d.ts +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +11733 -11701
- package/dist/index.mjs.map +1 -1
- package/dist/stores/manifest.d.ts +4 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,10 @@ interface Props {
|
|
|
5
5
|
value?: string | null;
|
|
6
6
|
/** map value → variant. Если не задан — default. */
|
|
7
7
|
map?: Record<string, BadgeVariant>;
|
|
8
|
+
/** Backend BadgeEntry::colors() — value → variant (алиас map). */
|
|
9
|
+
colors?: Record<string, BadgeVariant>;
|
|
10
|
+
/** map value → отображаемая подпись (локализация: active → «Активен»). */
|
|
11
|
+
labels?: Record<string, string>;
|
|
8
12
|
/** Принудительный variant. */
|
|
9
13
|
variant?: BadgeVariant;
|
|
10
14
|
}
|
|
@@ -14,5 +18,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
14
18
|
label: string;
|
|
15
19
|
name: string;
|
|
16
20
|
variant: BadgeVariant;
|
|
21
|
+
labels: Record<string, string>;
|
|
22
|
+
colors: Record<string, BadgeVariant>;
|
|
17
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
24
|
export default _default;
|
|
@@ -10,20 +10,20 @@ interface Props {
|
|
|
10
10
|
/** Имя router-route для action «Создать». */
|
|
11
11
|
createRouteName?: string | null;
|
|
12
12
|
}
|
|
13
|
-
declare var __VLS_5: {},
|
|
13
|
+
declare var __VLS_5: {}, __VLS_79: {}, __VLS_149: {
|
|
14
14
|
filters: Record<string, unknown>;
|
|
15
15
|
setFilter: (key: string, value: unknown) => Promise<void>;
|
|
16
|
-
},
|
|
16
|
+
}, __VLS_215: `cell-${string}`, __VLS_216: {
|
|
17
17
|
row: Record<string, unknown> | undefined;
|
|
18
18
|
};
|
|
19
19
|
type __VLS_Slots = {} & {
|
|
20
|
-
[K in NonNullable<typeof
|
|
20
|
+
[K in NonNullable<typeof __VLS_215>]?: (props: typeof __VLS_216) => any;
|
|
21
21
|
} & {
|
|
22
22
|
actions?: (props: typeof __VLS_5) => any;
|
|
23
23
|
} & {
|
|
24
|
-
'header-menu'?: (props: typeof
|
|
24
|
+
'header-menu'?: (props: typeof __VLS_79) => any;
|
|
25
25
|
} & {
|
|
26
|
-
filters?: (props: typeof
|
|
26
|
+
filters?: (props: typeof __VLS_149) => any;
|
|
27
27
|
};
|
|
28
28
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
29
|
import: () => any;
|