flow-mindmap 0.4.2 → 0.4.3

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,12 +7,33 @@ type __VLS_Props = {
7
7
  open?: boolean;
8
8
  /** Optional title shown in the header. */
9
9
  title?: string;
10
+ /**
11
+ * Overlay scope.
12
+ * - 'page' : Drawer flows inside its parent (current behavior).
13
+ * The parent decides where the drawer lives.
14
+ * - 'canvas' : Drawer floats over the parent — it becomes
15
+ * `position: absolute` and a clickable backdrop is
16
+ * rendered behind it. The backdrop fills the parent
17
+ * only, not the whole page, so it never covers tool-
18
+ * bars or sidebars that live outside the canvas.
19
+ * Default 'page'.
20
+ */
21
+ scope?: 'page' | 'canvas';
22
+ /** Hide the close (×) button. Useful when the host wires keyboard
23
+ * or another control to close. */
24
+ closable?: boolean;
25
+ /** Dismiss the drawer by clicking the backdrop. Default true. */
26
+ closeOnBackdrop?: boolean;
10
27
  };
11
- declare var __VLS_5: {}, __VLS_7: {};
28
+ declare var __VLS_9: {}, __VLS_11: {}, __VLS_17: {}, __VLS_19: {};
12
29
  type __VLS_Slots = {} & {
13
- header?: (props: typeof __VLS_5) => any;
30
+ header?: (props: typeof __VLS_9) => any;
14
31
  } & {
15
- default?: (props: typeof __VLS_7) => any;
32
+ default?: (props: typeof __VLS_11) => any;
33
+ } & {
34
+ header?: (props: typeof __VLS_17) => any;
35
+ } & {
36
+ default?: (props: typeof __VLS_19) => any;
16
37
  };
17
38
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
39
  "update:open": (value: boolean) => any;
@@ -23,6 +44,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
23
44
  width: number;
24
45
  side: "left" | "right";
25
46
  open: boolean;
47
+ scope: "page" | "canvas";
48
+ closable: boolean;
49
+ closeOnBackdrop: boolean;
26
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
51
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
52
  export default _default;