@vue/devtools-applet 7.2.1 → 7.3.0-beta.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.
- package/dist/components/basic/AppConnecting.vue.d.ts +9 -0
- package/dist/components/basic/CodeBlock.vue.d.ts +2 -2
- package/dist/components/basic/DevToolsHeader.vue.d.ts +2 -2
- package/dist/components/basic/SelectiveList.vue.d.ts +3 -11
- package/dist/components/state/ChildStateViewer.vue.d.ts +3 -3
- package/dist/components/state/RootStateViewer.vue.d.ts +3 -3
- package/dist/components/state/StateFieldEditor.vue.d.ts +7 -3
- package/dist/components/state/StateFieldViewer.vue.d.ts +3 -3
- package/dist/components/timeline/EventList.vue.d.ts +2 -14
- package/dist/components/timeline/index.vue.d.ts +2 -2
- package/dist/composables/custom-inspector-state.d.ts +16 -0
- package/dist/composables/custom-inspector.d.ts +17 -0
- package/dist/composables/state-editor.d.ts +1 -1
- package/dist/composables/virtual-router.d.ts +7 -9
- package/dist/index.cjs +7 -7
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.js +6936 -6890
- package/dist/modules/custom-inspector/index.d.ts +3 -0
- package/dist/modules/custom-inspector/index.vue.d.ts +19 -0
- package/dist/modules/router/index.vue.d.ts +14 -1
- package/dist/utils/search.d.ts +1 -1
- package/dist/{vue-B_jF2ZqE.cjs → vue-B-DNVENE.cjs} +2 -2
- package/dist/{vue-yccoFuXf.js → vue-CCacahFR.js} +2 -2
- package/dist/{vue-html-B1I176mK.cjs → vue-html-BG-X_5uR.cjs} +1 -1
- package/dist/{vue-html-PWeNQaIl.js → vue-html-Cae35ipv.js} +1 -1
- package/package.json +6 -6
- package/dist/composables/connect-state.d.ts +0 -7
- package/dist/composables/devtools-state.d.ts +0 -25
- package/dist/modules/vee-validate/index.d.ts +0 -3
- package/dist/modules/vee-validate/index.vue.d.ts +0 -2
- package/dist/modules/vue-query/components/DevToolsLogo.vue.d.ts +0 -2
- package/dist/modules/vue-query/components/Home.vue.d.ts +0 -2
- package/dist/modules/vue-query/components/timeline/Index.vue.d.ts +0 -2
- package/dist/modules/vue-query/index.d.ts +0 -3
- package/dist/modules/vue-query/index.vue.d.ts +0 -2
- package/dist/modules/vuex/components/DevToolsLogo.vue.d.ts +0 -2
- package/dist/modules/vuex/components/Home.vue.d.ts +0 -2
- package/dist/modules/vuex/components/store/Index.vue.d.ts +0 -2
- package/dist/modules/vuex/components/timeline/Index.vue.d.ts +0 -2
- package/dist/modules/vuex/index.d.ts +0 -3
- package/dist/modules/vuex/index.vue.d.ts +0 -2
- /package/dist/modules/{vee-validate → custom-inspector}/components/DevToolsLogo.vue.d.ts +0 -0
- /package/dist/modules/{vee-validate → custom-inspector}/components/Home.vue.d.ts +0 -0
- /package/dist/modules/{vee-validate → custom-inspector}/components/state/Index.vue.d.ts +0 -0
- /package/dist/modules/{vue-query/components/state → custom-inspector/components/timeline}/Index.vue.d.ts +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
code: string;
|
|
3
|
-
lang?: import('shiki/langs').BundledLanguage |
|
|
3
|
+
lang?: "text" | import('shiki/langs').BundledLanguage | undefined;
|
|
4
4
|
lines?: boolean | undefined;
|
|
5
5
|
transformRendered?: ((code: string) => string) | undefined;
|
|
6
6
|
}>, {
|
|
@@ -9,7 +9,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
9
9
|
loaded: (...args: any[]) => void;
|
|
10
10
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
code: string;
|
|
12
|
-
lang?: import('shiki/langs').BundledLanguage |
|
|
12
|
+
lang?: "text" | import('shiki/langs').BundledLanguage | undefined;
|
|
13
13
|
lines?: boolean | undefined;
|
|
14
14
|
transformRendered?: ((code: string) => string) | undefined;
|
|
15
15
|
}>, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
githubRepoLink
|
|
2
|
+
githubRepoLink?: string | undefined;
|
|
3
3
|
docLink: string;
|
|
4
4
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
githubRepoLink
|
|
5
|
+
githubRepoLink?: string | undefined;
|
|
6
6
|
docLink: string;
|
|
7
7
|
}>>>, {}, {}>, {
|
|
8
8
|
default?(_: {}): any;
|
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomInspectorNode } from '@vue/devtools-kit';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
modelValue: import('vue').PropType<any>;
|
|
5
5
|
data: {
|
|
6
|
-
type: import('vue').PropType<
|
|
7
|
-
id: string;
|
|
8
|
-
label: string;
|
|
9
|
-
tags: InspectorNodeTag[];
|
|
10
|
-
}[]>;
|
|
6
|
+
type: import('vue').PropType<CustomInspectorNode[]>;
|
|
11
7
|
required: true;
|
|
12
8
|
};
|
|
13
9
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
10
|
modelValue: import('vue').PropType<any>;
|
|
15
11
|
data: {
|
|
16
|
-
type: import('vue').PropType<
|
|
17
|
-
id: string;
|
|
18
|
-
label: string;
|
|
19
|
-
tags: InspectorNodeTag[];
|
|
20
|
-
}[]>;
|
|
12
|
+
type: import('vue').PropType<CustomInspectorNode[]>;
|
|
21
13
|
required: true;
|
|
22
14
|
};
|
|
23
15
|
}>>, {}, {}>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomInspectorState } from '@vue/devtools-kit';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
data:
|
|
4
|
+
data: CustomInspectorState[];
|
|
5
5
|
depth: number;
|
|
6
6
|
index: string;
|
|
7
7
|
}>, {
|
|
8
8
|
depth: number;
|
|
9
9
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
data:
|
|
10
|
+
data: CustomInspectorState[];
|
|
11
11
|
depth: number;
|
|
12
12
|
index: string;
|
|
13
13
|
}>, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomInspectorState } from '@vue/devtools-kit';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
data: Record<string,
|
|
4
|
+
data: Record<string, CustomInspectorState[]>;
|
|
5
5
|
nodeId: string;
|
|
6
6
|
inspectorId: string;
|
|
7
7
|
disableEdit?: boolean | undefined;
|
|
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
10
10
|
disableEdit: boolean;
|
|
11
11
|
expandedStateId: string;
|
|
12
12
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
data: Record<string,
|
|
13
|
+
data: Record<string, CustomInspectorState[]>;
|
|
14
14
|
nodeId: string;
|
|
15
15
|
inspectorId: string;
|
|
16
16
|
disableEdit?: boolean | undefined;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomInspectorState } from '@vue/devtools-kit';
|
|
2
2
|
import { EditorAddNewPropType, EditorInputValidType } from '../../composables/state-editor';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
data:
|
|
5
|
+
data: CustomInspectorState & {
|
|
6
|
+
key?: string;
|
|
7
|
+
};
|
|
6
8
|
hovering: boolean;
|
|
7
9
|
depth: number;
|
|
8
10
|
showAddIfNeeded?: boolean | undefined;
|
|
@@ -13,7 +15,9 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
15
|
enableEditInput: (type: EditorInputValidType) => void;
|
|
14
16
|
addNewProp: (type: EditorAddNewPropType) => void;
|
|
15
17
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
-
data:
|
|
18
|
+
data: CustomInspectorState & {
|
|
19
|
+
key?: string;
|
|
20
|
+
};
|
|
17
21
|
hovering: boolean;
|
|
18
22
|
depth: number;
|
|
19
23
|
showAddIfNeeded?: boolean | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomInspectorState } from '@vue/devtools-kit';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
data:
|
|
4
|
+
data: CustomInspectorState;
|
|
5
5
|
depth: number;
|
|
6
6
|
index: string;
|
|
7
7
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
data:
|
|
8
|
+
data: CustomInspectorState;
|
|
9
9
|
depth: number;
|
|
10
10
|
index: string;
|
|
11
11
|
}>>>, {}, {}>;
|
|
@@ -2,13 +2,7 @@
|
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
modelValue: import('vue').PropType<any>;
|
|
4
4
|
data: {
|
|
5
|
-
type: import('vue').PropType<({
|
|
6
|
-
groupId: number;
|
|
7
|
-
time: number;
|
|
8
|
-
title: string;
|
|
9
|
-
subtitle: string;
|
|
10
|
-
data: Record<string, unknown>;
|
|
11
|
-
} & {
|
|
5
|
+
type: import('vue').PropType<(import('@vue/devtools-kit').TimelineEvent<any, any> & {
|
|
12
6
|
color?: string | undefined;
|
|
13
7
|
id?: number | undefined;
|
|
14
8
|
})[]>;
|
|
@@ -17,13 +11,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
17
11
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
12
|
modelValue: import('vue').PropType<any>;
|
|
19
13
|
data: {
|
|
20
|
-
type: import('vue').PropType<({
|
|
21
|
-
groupId: number;
|
|
22
|
-
time: number;
|
|
23
|
-
title: string;
|
|
24
|
-
subtitle: string;
|
|
25
|
-
data: Record<string, unknown>;
|
|
26
|
-
} & {
|
|
14
|
+
type: import('vue').PropType<(import('@vue/devtools-kit').TimelineEvent<any, any> & {
|
|
27
15
|
color?: string | undefined;
|
|
28
16
|
id?: number | undefined;
|
|
29
17
|
})[]>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
layerIds: string[];
|
|
3
3
|
docLink: string;
|
|
4
|
-
githubRepoLink
|
|
4
|
+
githubRepoLink?: string | undefined;
|
|
5
5
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
6
|
layerIds: string[];
|
|
7
7
|
docLink: string;
|
|
8
|
-
githubRepoLink
|
|
8
|
+
githubRepoLink?: string | undefined;
|
|
9
9
|
}>>>, {}, {}>;
|
|
10
10
|
export default _default;
|
|
11
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare function useCustomInspectorState(): Ref<Partial<{
|
|
4
|
+
homepage: string;
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
logo: string;
|
|
8
|
+
timelineLayerIds: string[];
|
|
9
|
+
}>>;
|
|
10
|
+
export declare function createCustomInspectorStateContext(): Ref<Partial<{
|
|
11
|
+
homepage: string;
|
|
12
|
+
id: string;
|
|
13
|
+
label: string;
|
|
14
|
+
logo: string;
|
|
15
|
+
timelineLayerIds: string[];
|
|
16
|
+
}>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface CustomInspectorType {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
logo: string;
|
|
5
|
+
packageName: string | undefined;
|
|
6
|
+
homepage: string | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare function useCustomInspector(): {
|
|
9
|
+
registeredInspector: import('vue').Ref<{
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
logo: string;
|
|
13
|
+
packageName: string | undefined;
|
|
14
|
+
homepage: string | undefined;
|
|
15
|
+
}[]>;
|
|
16
|
+
register: (inspector: CustomInspectorType) => void;
|
|
17
|
+
};
|
|
@@ -20,7 +20,7 @@ export declare function useStateEditor(): {
|
|
|
20
20
|
editing: Ref<boolean>;
|
|
21
21
|
toggleEditing(t?: EditorInputValidType): void;
|
|
22
22
|
editingType: Ref<EditorInputValidType>;
|
|
23
|
-
nodeId: string
|
|
23
|
+
nodeId: import('vue').ComputedRef<string>;
|
|
24
24
|
};
|
|
25
25
|
export declare function useStateEditorDrafting(): {
|
|
26
26
|
addNewProp: (type: EditorAddNewPropType, data: any) => void;
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { Component, Ref } from 'vue';
|
|
1
|
+
import { Component, ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { MaybeRef } from '@vueuse/core';
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
+
export interface VirtualRoute {
|
|
4
5
|
path: string;
|
|
5
6
|
component: Component;
|
|
6
7
|
icon?: string;
|
|
7
8
|
name?: string;
|
|
8
|
-
}
|
|
9
|
+
}
|
|
10
|
+
export declare function registerVirtualRouter(routes: MaybeRef<VirtualRoute[]>): {
|
|
9
11
|
VirtualRouterView: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
10
12
|
[key: string]: any;
|
|
11
13
|
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
14
|
+
restoreRouter: () => void;
|
|
12
15
|
};
|
|
13
16
|
export declare function useVirtualRouter(): {
|
|
14
17
|
push(path: string): void;
|
|
15
18
|
};
|
|
16
19
|
export declare function useVirtualRoute(): {
|
|
17
|
-
routes:
|
|
18
|
-
path: string;
|
|
19
|
-
component: Component;
|
|
20
|
-
icon?: string | undefined;
|
|
21
|
-
name?: string | undefined;
|
|
22
|
-
}[];
|
|
20
|
+
routes: ComputedRef<VirtualRoute[]>;
|
|
23
21
|
currentRoute: Ref<{
|
|
24
22
|
path: string;
|
|
25
23
|
}>;
|