x-prop-tree 0.7.12 → 0.7.14
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.
- package/dist/components/propTree/common/base.d.ts +3 -3
- package/dist/components/propTree/common/copyPaste.d.ts +2 -2
- package/dist/components/propTree/common/index.d.ts +1 -1
- package/dist/components/propTree/common/propertyState.d.ts +16 -0
- package/dist/components/propTree/common/provideInject.d.ts +6 -6
- package/dist/components/propTree/components/common/entry.vue.d.ts +3 -2
- package/dist/components/propTree/components/common/menu.vue.d.ts +2 -1
- package/dist/components/propTree/components/common/title.vue.d.ts +2 -1
- package/dist/components/propTree/components/values/colorPicker.vue.d.ts +4 -2
- package/dist/components/propTree/components/values/compSelect/compList/group.vue.d.ts +2 -1
- package/dist/components/propTree/components/values/compSelect/compList/index.vue.d.ts +4 -3
- package/dist/components/propTree/components/values/compSelect/compList/item.vue.d.ts +2 -1
- package/dist/components/propTree/components/values/compSelect/index.vue.d.ts +4 -3
- package/dist/components/propTree/components/values/iconSelect/index.vue.d.ts +2 -1
- package/dist/components/propTree/components/values/iconSelect/item.vue.d.ts +2 -1
- package/dist/components/propTree/components/values/jsonEditor/editor.vue.d.ts +4 -3
- package/dist/components/propTree/components/values/jsonEditor/index.vue.d.ts +4 -3
- package/dist/components/propTree/components/values/multiTypes.vue.d.ts +4 -2
- package/dist/components/propTree/components/values/numInput.vue.d.ts +4 -2
- package/dist/components/propTree/components/values/select.vue.d.ts +4 -2
- package/dist/components/propTree/components/values/strInput.vue.d.ts +4 -2
- package/dist/components/propTree/components/values/switch.vue.d.ts +4 -2
- package/dist/components/propTree/composables/common.d.ts +3 -3
- package/dist/components/propTree/composables/uiColorPicker.d.ts +2 -2
- package/dist/components/propTree/composables/uiCompSelect.d.ts +2 -2
- package/dist/components/propTree/composables/uiDummy.d.ts +2 -2
- package/dist/components/propTree/composables/uiJsonEditor.d.ts +2 -2
- package/dist/components/propTree/composables/uiMultiTypes.d.ts +2 -2
- package/dist/components/propTree/composables/uiNumInput.d.ts +2 -2
- package/dist/components/propTree/composables/uiProp.d.ts +4 -4
- package/dist/components/propTree/composables/uiSelect.d.ts +2 -2
- package/dist/components/propTree/composables/uiStrInput.d.ts +2 -2
- package/dist/components/propTree/composables/uiSwitch.d.ts +2 -2
- package/dist/components/propTree/index.vue.d.ts +4 -3
- package/dist/index.js +509 -509
- package/package.json +18 -18
- package/dist/components/propTree/common/propState.d.ts +0 -16
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
export type ChangeEvent = (keys: (string | number)[], value: unknown) => void;
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const unpkgProperty: (properties: ZProperty[], keys: (string | number)[]) => {
|
|
4
4
|
array?: false;
|
|
5
5
|
} & {
|
|
6
6
|
ui?: undefined;
|
|
7
|
-
children:
|
|
7
|
+
children: ZProperty[];
|
|
8
8
|
default?: undefined;
|
|
9
9
|
} & {
|
|
10
10
|
key: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const isPropCompatible: (l:
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
|
+
export declare const isPropCompatible: (l: ZProperty, r: ZProperty) => boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
3
|
+
import { ChangeEvent } from './base';
|
|
4
|
+
export type PropertyState = {
|
|
5
|
+
change: boolean;
|
|
6
|
+
children?: PropertyStateMap | PropertyStateArray;
|
|
7
|
+
};
|
|
8
|
+
export type PropertyStateMap = {
|
|
9
|
+
[key: string]: PropertyState;
|
|
10
|
+
};
|
|
11
|
+
export type PropertyStateArray = PropertyState[];
|
|
12
|
+
export declare const isPropertyStateChildrenMap: (children: PropertyStateMap | PropertyStateArray) => children is PropertyStateMap;
|
|
13
|
+
export declare const isPropertyStateChildrenArray: (children: PropertyStateMap | PropertyStateArray) => children is PropertyStateArray;
|
|
14
|
+
export declare const execProperty: (keys: (string | number)[], property: ZProperty, object: any, state: PropertyState, changeEvent?: ChangeEvent, arrayIndex?: number, isBranch?: boolean) => boolean;
|
|
15
|
+
export declare const rebuildPropertyState: (propertyStates: Ref<PropertyStateMap>, config: ZProperty[], object: any, changeEvent?: ChangeEvent) => void;
|
|
16
|
+
export declare const isPropertyChanged: (propertyStates: PropertyStateMap, keys: (string | number)[]) => boolean;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { ListEntry } from 'x-group-list';
|
|
3
|
-
import {
|
|
3
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
4
4
|
import { ChangeEvent } from './base';
|
|
5
|
-
import {
|
|
5
|
+
import { PropertyStateMap } from './propertyState';
|
|
6
6
|
export declare function provideVersion(version: Ref<string>): void;
|
|
7
7
|
export declare function injectVersion(): Ref<string>;
|
|
8
|
-
export declare function provideConfig(config: Ref<
|
|
9
|
-
export declare function injectConfig(): Ref<
|
|
8
|
+
export declare function provideConfig(config: Ref<ZProperty[]>): void;
|
|
9
|
+
export declare function injectConfig(): Ref<ZProperty[]>;
|
|
10
10
|
export declare function provideObject(object: Ref<any>): void;
|
|
11
11
|
export declare function injectObject(): Ref<any>;
|
|
12
|
-
export declare function providePropStates(propStates: Ref<
|
|
13
|
-
export declare function injectPropStates(): Ref<
|
|
12
|
+
export declare function providePropStates(propStates: Ref<PropertyStateMap>): void;
|
|
13
|
+
export declare function injectPropStates(): Ref<PropertyStateMap>;
|
|
14
14
|
export declare function provideChangeEvent(changeEvent: ChangeEvent): void;
|
|
15
15
|
export declare function injectChangeEvent(): ChangeEvent;
|
|
16
16
|
export declare function provideCompList(compList: Ref<ListEntry[]>): void;
|
|
@@ -5,12 +5,13 @@ declare var __VLS_1: {};
|
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_1) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
menu: (...args: any[]) => void;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
11
|
onMenu?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -5,7 +5,7 @@ interface Props {
|
|
|
5
5
|
hasDelete?: boolean;
|
|
6
6
|
index?: number;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
collapse: (...args: any[]) => void;
|
|
10
10
|
menu: (...args: any[]) => void;
|
|
11
11
|
create: (...args: any[]) => void;
|
|
@@ -16,4 +16,5 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
16
16
|
onCreate?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
19
20
|
export default _default;
|
|
@@ -3,14 +3,16 @@ interface Props {
|
|
|
3
3
|
readonly?: boolean;
|
|
4
4
|
}
|
|
5
5
|
type __VLS_Props = Props;
|
|
6
|
-
type
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
7
|
modelValue?: string;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
delete: (...args: any[]) => void;
|
|
11
12
|
"update:modelValue": (value: string | undefined) => void;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
14
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
14
15
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
15
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
16
18
|
export default _default;
|
|
@@ -4,9 +4,10 @@ interface Props {
|
|
|
4
4
|
collapse: boolean;
|
|
5
5
|
count: number;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
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
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
type
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
'open': boolean;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:modelValue": (value: string | undefined) => any;
|
|
7
7
|
"update:open": (value: boolean) => any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
10
10
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
@@ -2,9 +2,10 @@ interface Props {
|
|
|
2
2
|
id: string;
|
|
3
3
|
title: string;
|
|
4
4
|
}
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
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
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
type
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (value: string | undefined) => any;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
7
7
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
8
8
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
type
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
2
|
modelValue: string;
|
|
3
3
|
'lock': boolean;
|
|
4
4
|
'scale': number;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {
|
|
7
7
|
save: () => void;
|
|
8
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (value: string) => any;
|
|
10
10
|
"update:lock": (value: boolean) => any;
|
|
11
11
|
"update:scale": (value: number) => any;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
"onUpdate:lock"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
"onUpdate:scale"?: ((value: number) => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
type
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
2
|
modelValue: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (value: string) => any;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
7
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
8
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
@@ -3,14 +3,16 @@ interface Props {
|
|
|
3
3
|
types: string;
|
|
4
4
|
}
|
|
5
5
|
type __VLS_Props = Props;
|
|
6
|
-
type
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
7
|
modelValue?: string;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
delete: (...args: any[]) => void;
|
|
11
12
|
"update:modelValue": (value: string | undefined) => void;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
14
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
14
15
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
15
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
16
18
|
export default _default;
|
|
@@ -7,14 +7,16 @@ interface Props {
|
|
|
7
7
|
readonly?: boolean;
|
|
8
8
|
}
|
|
9
9
|
type __VLS_Props = Props;
|
|
10
|
-
type
|
|
10
|
+
type __VLS_ModelProps = {
|
|
11
11
|
modelValue: number;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
15
|
delete: (...args: any[]) => void;
|
|
15
16
|
"update:modelValue": (value: number) => void;
|
|
16
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
18
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
18
19
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
20
22
|
export default _default;
|
|
@@ -4,14 +4,16 @@ interface Props {
|
|
|
4
4
|
items: string;
|
|
5
5
|
}
|
|
6
6
|
type __VLS_Props = Props;
|
|
7
|
-
type
|
|
7
|
+
type __VLS_ModelProps = {
|
|
8
8
|
modelValue?: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
12
|
delete: (...args: any[]) => void;
|
|
12
13
|
"update:modelValue": (value: string | undefined) => void;
|
|
13
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
15
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
15
16
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
16
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
17
19
|
export default _default;
|
|
@@ -3,14 +3,16 @@ interface Props {
|
|
|
3
3
|
readonly?: boolean;
|
|
4
4
|
}
|
|
5
5
|
type __VLS_Props = Props;
|
|
6
|
-
type
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
7
|
modelValue: string;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
delete: (...args: any[]) => void;
|
|
11
12
|
"update:modelValue": (value: string) => void;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
14
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
14
15
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
16
18
|
export default _default;
|
|
@@ -3,14 +3,16 @@ interface Props {
|
|
|
3
3
|
readonly?: boolean;
|
|
4
4
|
}
|
|
5
5
|
type __VLS_Props = Props;
|
|
6
|
-
type
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
7
|
modelValue?: boolean;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
delete: (...args: any[]) => void;
|
|
11
12
|
"update:modelValue": (value: boolean | undefined) => void;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
14
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
14
15
|
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
15
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
16
18
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
|
-
export declare const getModelValue: (keys: (string | number)[],
|
|
4
|
-
export declare const setModelValue: (keys: (string | number)[],
|
|
3
|
+
export declare const getModelValue: (keys: (string | number)[], property: ZProperty, object: any, changeEvent: ChangeEvent, arrayIndex?: number, isBranch?: boolean) => any;
|
|
4
|
+
export declare const setModelValue: (keys: (string | number)[], property: ZProperty, object: any, val: unknown, changeEvent: ChangeEvent, arrayIndex?: number, isBranch?: boolean) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
3
|
export declare function useUiColorPicker(changeEvent: ChangeEvent): {
|
|
4
|
-
renderUiColorPicker: (keys: (string | number)[],
|
|
4
|
+
renderUiColorPicker: (keys: (string | number)[], property: ZProperty, object: any, arrayIndex?: number, isBranch?: boolean) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
3
|
export declare function useUiCompSelect(changeEvent: ChangeEvent): {
|
|
4
|
-
renderUiCompSelect: (keys: (string | number)[],
|
|
4
|
+
renderUiCompSelect: (keys: (string | number)[], property: ZProperty, object: any, arrayIndex?: number, isBranch?: boolean) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
3
|
export declare function useUiDummy(changeEvent: ChangeEvent): {
|
|
4
|
-
renderUiDummy: (keys: (string | number)[],
|
|
4
|
+
renderUiDummy: (keys: (string | number)[], property: ZProperty, object: any, arrayIndex?: number, isBranch?: boolean) => undefined;
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
3
|
export declare function useUiJsonEditor(changeEvent: ChangeEvent): {
|
|
4
|
-
renderUiJsonEditor: (keys: (string | number)[],
|
|
4
|
+
renderUiJsonEditor: (keys: (string | number)[], property: ZProperty, object: any, arrayIndex?: number, isBranch?: boolean) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
3
|
export declare function useUiMultiTypes(changeEvent: ChangeEvent): {
|
|
4
|
-
renderUiMultiTypes: (keys: (string | number)[],
|
|
4
|
+
renderUiMultiTypes: (keys: (string | number)[], property: ZProperty, object: any, arrayIndex?: number, isBranch?: boolean) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
3
|
export declare function useUiNumInput(changeEvent: ChangeEvent): {
|
|
4
|
-
renderUiNumInput: (keys: (string | number)[],
|
|
4
|
+
renderUiNumInput: (keys: (string | number)[], property: ZProperty, object: any, arrayIndex?: number, isBranch?: boolean) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref, VNode } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export declare function useUiProp(propStates: Ref<
|
|
5
|
-
renderProp: (keys: (string | number)[],
|
|
2
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
3
|
+
import { PropertyStateMap } from '../common/propertyState';
|
|
4
|
+
export declare function useUiProp(propStates: Ref<PropertyStateMap>, entryHeight: Ref<string>, entryValueWidth: Ref<string>): {
|
|
5
|
+
renderProp: (keys: (string | number)[], property: ZProperty, node: VNode) => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}>;
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
3
|
export declare function useUiSelect(changeEvent: ChangeEvent): {
|
|
4
|
-
renderUiSelect: (keys: (string | number)[],
|
|
4
|
+
renderUiSelect: (keys: (string | number)[], property: ZProperty, object: any, arrayIndex?: number, isBranch?: boolean) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
3
|
export declare function useUiStrInput(changeEvent: ChangeEvent): {
|
|
4
|
-
renderUiStrInput: (keys: (string | number)[],
|
|
4
|
+
renderUiStrInput: (keys: (string | number)[], property: ZProperty, object: any, arrayIndex?: number, isBranch?: boolean) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
import { ChangeEvent } from '../common';
|
|
3
3
|
export declare function useUiSwitch(changeEvent: ChangeEvent): {
|
|
4
|
-
renderUiSwitch: (keys: (string | number)[],
|
|
4
|
+
renderUiSwitch: (keys: (string | number)[], property: ZProperty, object: any, arrayIndex?: number, isBranch?: boolean) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}>;
|
|
7
7
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProperty } from 'x-runtime-lib';
|
|
2
2
|
interface Props {
|
|
3
3
|
unique: string;
|
|
4
|
-
config:
|
|
4
|
+
config: ZProperty[];
|
|
5
5
|
object: any;
|
|
6
6
|
version: string;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
change: (...args: any[]) => void;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
11
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
13
14
|
export default _default;
|