x-prop-tree 0.5.11 → 0.5.12

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.
@@ -0,0 +1,2 @@
1
+ import { ZProp } from 'x-runtime-lib';
2
+ export declare const isPropCompatible: (l: ZProp, r: ZProp) => boolean;
@@ -1,4 +1,5 @@
1
1
  export * from './base';
2
2
  export * from './branch';
3
+ export * from './copyPaste';
3
4
  export * from './propState';
4
5
  export * from './provideInject';
@@ -2,18 +2,19 @@ interface Props {
2
2
  minHeight: string;
3
3
  }
4
4
  declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
5
6
  slots: {
6
7
  default?(_: {}): any;
7
8
  };
8
9
  refs: {};
9
- attrs: Partial<{}>;
10
+ rootEl: HTMLDivElement;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
14
  menu: (...args: any[]) => void;
14
15
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
15
16
  onMenu?: ((...args: any[]) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
17
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
19
  export default _default;
19
20
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -15,5 +15,5 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
15
15
  onCollapse?: ((...args: any[]) => any) | undefined;
16
16
  onCreate?: ((...args: any[]) => any) | undefined;
17
17
  onDelete?: ((...args: any[]) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
19
19
  export default _default;
@@ -2,13 +2,15 @@ interface Props {
2
2
  hasDelete?: boolean;
3
3
  readonly?: boolean;
4
4
  }
5
- declare let __VLS_typeProps: Props;
5
+ type __VLS_Props = Props;
6
6
  type __VLS_PublicProps = {
7
7
  modelValue?: string;
8
- } & typeof __VLS_typeProps;
8
+ } & __VLS_Props;
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
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
13
  onDelete?: ((...args: any[]) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
16
  export default _default;
@@ -0,0 +1,12 @@
1
+ interface Props {
2
+ id: string;
3
+ title: string;
4
+ collapse: boolean;
5
+ count: number;
6
+ }
7
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "x-click": (...args: any[]) => void;
9
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
+ "onX-click"?: ((...args: any[]) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { ListEntry } from 'x-group-list';
2
+ interface Props {
3
+ compList: ListEntry[];
4
+ }
5
+ type __VLS_Props = Props;
6
+ type __VLS_PublicProps = {
7
+ modelValue: string;
8
+ } & __VLS_Props;
9
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,10 @@
1
+ interface Props {
2
+ id: string;
3
+ title: string;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "x-click": (...args: any[]) => void;
7
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
+ "onX-click"?: ((...args: any[]) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
@@ -0,0 +1,9 @@
1
+ type __VLS_PublicProps = {
2
+ modelValue: string;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:modelValue": (value: string) => any;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -3,13 +3,15 @@ interface Props {
3
3
  hasDelete?: boolean;
4
4
  types: ZType[];
5
5
  }
6
- declare let __VLS_typeProps: Props;
6
+ type __VLS_Props = Props;
7
7
  type __VLS_PublicProps = {
8
8
  modelValue?: string;
9
- } & typeof __VLS_typeProps;
9
+ } & __VLS_Props;
10
10
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  delete: (...args: any[]) => void;
12
+ "update:modelValue": (value: string) => void;
12
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
14
  onDelete?: ((...args: any[]) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
15
17
  export default _default;
@@ -6,13 +6,15 @@ interface Props {
6
6
  step?: number;
7
7
  readonly?: boolean;
8
8
  }
9
- declare let __VLS_typeProps: Props;
9
+ type __VLS_Props = Props;
10
10
  type __VLS_PublicProps = {
11
11
  modelValue?: number;
12
- } & typeof __VLS_typeProps;
12
+ } & __VLS_Props;
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
16
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
17
  onDelete?: ((...args: any[]) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
18
20
  export default _default;
@@ -6,13 +6,15 @@ interface Props {
6
6
  value: string;
7
7
  }[];
8
8
  }
9
- declare let __VLS_typeProps: Props;
9
+ type __VLS_Props = Props;
10
10
  type __VLS_PublicProps = {
11
11
  modelValue?: string;
12
- } & typeof __VLS_typeProps;
12
+ } & __VLS_Props;
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
16
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
17
  onDelete?: ((...args: any[]) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
18
20
  export default _default;
@@ -2,13 +2,15 @@ interface Props {
2
2
  hasDelete?: boolean;
3
3
  readonly?: boolean;
4
4
  }
5
- declare let __VLS_typeProps: Props;
5
+ type __VLS_Props = Props;
6
6
  type __VLS_PublicProps = {
7
7
  modelValue?: string;
8
- } & typeof __VLS_typeProps;
8
+ } & __VLS_Props;
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
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
13
  onDelete?: ((...args: any[]) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
14
16
  export default _default;
@@ -2,13 +2,15 @@ interface Props {
2
2
  hasDelete?: boolean;
3
3
  readonly?: boolean;
4
4
  }
5
- declare let __VLS_typeProps: Props;
5
+ type __VLS_Props = Props;
6
6
  type __VLS_PublicProps = {
7
7
  modelValue?: boolean;
8
- } & typeof __VLS_typeProps;
8
+ } & __VLS_Props;
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
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
13
  onDelete?: ((...args: any[]) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
14
16
  export default _default;