x-prop-tree 0.5.12 → 0.5.13
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/provideInject.d.ts +4 -1
- package/dist/components/propTree/components/values/compSelect/compList/index.vue.d.ts +4 -6
- package/dist/i18n/locales/en/index.d.ts +7 -0
- package/dist/i18n/locales/zhHans/index.d.ts +7 -0
- package/dist/{i18n-en-eyioipy9.js → i18n-en-nonohi4u.js} +7 -0
- package/dist/{i18n-zhHans-mtvnapj8.js → i18n-zhHans-gdfh4wwz.js} +7 -0
- package/dist/index.js +963 -877
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { ListEntry } from 'x-group-list';
|
|
3
3
|
import { ZProp } from 'x-runtime-lib';
|
|
4
4
|
import { ChangeEvent } from './base';
|
|
5
|
+
import { PropStateMap } from './propState';
|
|
5
6
|
export declare function provideConfig(config: Ref<ZProp[]>): void;
|
|
6
7
|
export declare function injectConfig(): Ref<ZProp[]>;
|
|
7
8
|
export declare function provideObject(object: Ref<any>): void;
|
|
@@ -10,3 +11,5 @@ export declare function providePropStates(propStates: Ref<PropStateMap>): void;
|
|
|
10
11
|
export declare function injectPropStates(): Ref<PropStateMap>;
|
|
11
12
|
export declare function provideChangeEvent(changeEvent: ChangeEvent): void;
|
|
12
13
|
export declare function injectChangeEvent(): ChangeEvent;
|
|
14
|
+
export declare function provideCompList(compList: Ref<ListEntry[]>): void;
|
|
15
|
+
export declare function injectCompList(): Ref<ListEntry[]>;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { ListEntry } from 'x-group-list';
|
|
2
|
-
interface Props {
|
|
3
|
-
compList: ListEntry[];
|
|
4
|
-
}
|
|
5
|
-
type __VLS_Props = Props;
|
|
6
1
|
type __VLS_PublicProps = {
|
|
7
2
|
modelValue: string;
|
|
8
|
-
|
|
3
|
+
'open': boolean;
|
|
4
|
+
};
|
|
9
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
6
|
"update:modelValue": (value: string) => any;
|
|
7
|
+
"update:open": (value: boolean) => any;
|
|
11
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
13
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
12
|
export default _default;
|