@dskripchenko/laravel-admin 1.11.0 → 1.11.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.
@@ -7,18 +7,29 @@ interface Props {
7
7
  item?: WidgetLayoutItem | null;
8
8
  /** Title виджета на момент открытия (для configure-mode из manifest'а). */
9
9
  initialTitle?: string;
10
+ /** Скрытые виджеты дашборда — предлагаются к восстановлению (BL-18). */
11
+ restorable?: Array<{
12
+ slug: string;
13
+ title: string;
14
+ }>;
10
15
  }
11
16
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
17
  add: (item: WidgetLayoutItem) => any;
13
18
  close: () => any;
14
19
  save: (patch: Partial<WidgetLayoutItem>) => any;
20
+ restore: (slug: string) => any;
15
21
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
16
22
  onAdd?: ((item: WidgetLayoutItem) => any) | undefined;
17
23
  onClose?: (() => any) | undefined;
18
24
  onSave?: ((patch: Partial<WidgetLayoutItem>) => any) | undefined;
25
+ onRestore?: ((slug: string) => any) | undefined;
19
26
  }>, {
20
27
  mode: "add" | "configure";
21
28
  item: WidgetLayoutItem | null;
22
29
  initialTitle: string;
30
+ restorable: Array<{
31
+ slug: string;
32
+ title: string;
33
+ }>;
23
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
35
  export default _default;