x-prop-tree 0.5.16 → 0.6.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.
@@ -1,23 +1,32 @@
1
+ import { CSSProperties } from 'vue';
1
2
  interface Props {
2
3
  minHeight: string;
3
4
  }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: HTMLDivElement;
11
- };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
+ declare const mouseOver: import("vue").Ref<boolean, boolean>;
6
+ declare const style: import("vue").ComputedRef<CSSProperties>;
7
+ declare const onContextMenu: (e: MouseEvent) => void;
8
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
+ declare var __VLS_1: {};
10
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
11
+ default?: (props: typeof __VLS_1) => any;
12
+ }>;
13
+ declare const __VLS_self: import("vue").DefineComponent<Props, {
14
+ mouseOver: typeof mouseOver;
15
+ style: typeof style;
16
+ onContextMenu: typeof onContextMenu;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ menu: (...args: any[]) => void;
19
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
+ onMenu?: ((...args: any[]) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
22
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
23
  menu: (...args: any[]) => void;
15
24
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
16
25
  onMenu?: ((...args: any[]) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
28
  export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
29
+ type __VLS_WithSlots<T, S> = T & {
21
30
  new (): {
22
31
  $slots: S;
23
32
  };
@@ -6,14 +6,14 @@ interface Props {
6
6
  index?: number;
7
7
  }
8
8
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- menu: (...args: any[]) => void;
10
9
  collapse: (...args: any[]) => void;
10
+ menu: (...args: any[]) => void;
11
11
  create: (...args: any[]) => void;
12
12
  delete: (...args: any[]) => void;
13
13
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
14
- onMenu?: ((...args: any[]) => any) | undefined;
15
14
  onCollapse?: ((...args: any[]) => any) | undefined;
15
+ onMenu?: ((...args: any[]) => any) | undefined;
16
16
  onCreate?: ((...args: any[]) => any) | undefined;
17
17
  onDelete?: ((...args: any[]) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  export default _default;
@@ -3,14 +3,14 @@ interface Props {
3
3
  readonly?: boolean;
4
4
  }
5
5
  type __VLS_Props = Props;
6
- type __VLS_PublicProps = {
6
+ type __VLS_PublicProps = __VLS_Props & {
7
7
  modelValue?: string;
8
- } & __VLS_Props;
8
+ };
9
9
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  delete: (...args: any[]) => void;
11
- "update:modelValue": (value: string) => void;
11
+ "update:modelValue": (value: string | undefined) => void;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  onDelete?: ((...args: any[]) => any) | undefined;
14
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;
@@ -8,5 +8,5 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
8
8
  "x-click": (...args: any[]) => void;
9
9
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
10
  "onX-click"?: ((...args: any[]) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
@@ -6,5 +6,5 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
6
6
  "x-click": (...args: any[]) => void;
7
7
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
8
  "onX-click"?: ((...args: any[]) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
10
  export default _default;
@@ -4,14 +4,14 @@ interface Props {
4
4
  types: ZType[];
5
5
  }
6
6
  type __VLS_Props = Props;
7
- type __VLS_PublicProps = {
7
+ type __VLS_PublicProps = __VLS_Props & {
8
8
  modelValue?: string;
9
- } & __VLS_Props;
9
+ };
10
10
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  delete: (...args: any[]) => void;
12
12
  "update:modelValue": (value: string) => void;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
14
  onDelete?: ((...args: any[]) => any) | undefined;
15
15
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  export default _default;
@@ -7,14 +7,14 @@ interface Props {
7
7
  readonly?: boolean;
8
8
  }
9
9
  type __VLS_Props = Props;
10
- type __VLS_PublicProps = {
10
+ type __VLS_PublicProps = __VLS_Props & {
11
11
  modelValue?: number;
12
- } & __VLS_Props;
12
+ };
13
13
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  delete: (...args: any[]) => void;
15
- "update:modelValue": (value: number) => void;
15
+ "update:modelValue": (value: number | undefined) => void;
16
16
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
17
  onDelete?: ((...args: any[]) => any) | undefined;
18
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ "onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  export default _default;
@@ -7,14 +7,14 @@ interface Props {
7
7
  }[];
8
8
  }
9
9
  type __VLS_Props = Props;
10
- type __VLS_PublicProps = {
10
+ type __VLS_PublicProps = __VLS_Props & {
11
11
  modelValue?: string;
12
- } & __VLS_Props;
12
+ };
13
13
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  delete: (...args: any[]) => void;
15
- "update:modelValue": (value: string) => void;
15
+ "update:modelValue": (value: string | undefined) => void;
16
16
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
17
  onDelete?: ((...args: any[]) => any) | undefined;
18
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  export default _default;
@@ -3,14 +3,14 @@ interface Props {
3
3
  readonly?: boolean;
4
4
  }
5
5
  type __VLS_Props = Props;
6
- type __VLS_PublicProps = {
6
+ type __VLS_PublicProps = __VLS_Props & {
7
7
  modelValue?: string;
8
- } & __VLS_Props;
8
+ };
9
9
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  delete: (...args: any[]) => void;
11
- "update:modelValue": (value: string) => void;
11
+ "update:modelValue": (value: string | undefined) => void;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  onDelete?: ((...args: any[]) => any) | undefined;
14
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;
@@ -3,14 +3,14 @@ interface Props {
3
3
  readonly?: boolean;
4
4
  }
5
5
  type __VLS_Props = Props;
6
- type __VLS_PublicProps = {
6
+ type __VLS_PublicProps = __VLS_Props & {
7
7
  modelValue?: boolean;
8
- } & __VLS_Props;
8
+ };
9
9
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  delete: (...args: any[]) => void;
11
- "update:modelValue": (value: boolean) => void;
11
+ "update:modelValue": (value: boolean | undefined) => void;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  onDelete?: ((...args: any[]) => any) | undefined;
14
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;