@dskripchenko/laravel-admin 1.39.0 → 1.40.0

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.
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
34
34
  upload: PickerUpload | null;
35
35
  multiple: boolean;
36
36
  perPage: number;
37
+ selected: PickerItem[];
37
38
  maxItems: number | null;
38
39
  availableFilters: FilterDef[];
39
- selected: PickerItem[];
40
40
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
41
  export default _default;
@@ -0,0 +1,8 @@
1
+ import type { SelectValue } from '@dskripchenko/ui';
2
+ /**
3
+ * The value of a single-value UidSelect. Since kit 1.5 its update event is
4
+ * typed for the multiple mode too (`SelectValue | SelectValue[] | null`),
5
+ * whatever `multiple` is; a select without `multiple` never emits a list, so
6
+ * a list is read as its first value.
7
+ */
8
+ export declare function singleSelectValue(next: SelectValue | SelectValue[] | null | undefined): SelectValue | null;
@@ -19,12 +19,12 @@ interface Props {
19
19
  /** The prefix of the UID label next to the status: 'A-' gives 'A-1284'. */
20
20
  uidPrefix?: string;
21
21
  }
22
- declare var __VLS_74: {
22
+ declare var __VLS_70: {
23
23
  record: Record<string, unknown>;
24
24
  resource: import("../..").ManifestResourceMeta | null;
25
25
  };
26
26
  type __VLS_Slots = {} & {
27
- sidebar?: (props: typeof __VLS_74) => any;
27
+ sidebar?: (props: typeof __VLS_70) => any;
28
28
  };
29
29
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
30
30
  indexRouteName: string | null;
@@ -10,13 +10,13 @@ interface Props {
10
10
  /** Whether to show the sidebar's collapse button; only inside the shell layout. */
11
11
  showCollapseToggle?: boolean;
12
12
  }
13
- declare var __VLS_5: {}, __VLS_19: {}, __VLS_25: {};
13
+ declare var __VLS_5: {}, __VLS_15: {}, __VLS_21: {};
14
14
  type __VLS_Slots = {} & {
15
15
  breadcrumbs?: (props: typeof __VLS_5) => any;
16
16
  } & {
17
- search?: (props: typeof __VLS_19) => any;
17
+ search?: (props: typeof __VLS_15) => any;
18
18
  } & {
19
- actions?: (props: typeof __VLS_25) => any;
19
+ actions?: (props: typeof __VLS_21) => any;
20
20
  };
21
21
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
22
  "toggle-sidebar": () => any;