@dskripchenko/laravel-admin 1.10.0 → 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.
@@ -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: {}, __VLS_103: {}, __VLS_173: {
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
- }, __VLS_239: `cell-${string}`, __VLS_240: {
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 __VLS_239>]?: (props: typeof __VLS_240) => any;
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 __VLS_103) => any;
24
+ 'header-menu'?: (props: typeof __VLS_79) => any;
25
25
  } & {
26
- filters?: (props: typeof __VLS_173) => any;
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;