@vue/devtools-applet 7.0.27 → 7.1.0

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.
Files changed (74) hide show
  1. package/dist/components/basic/CodeBlock.vue.d.ts +39 -0
  2. package/dist/components/basic/DevToolsHeader.vue.d.ts +1 -1
  3. package/dist/components/basic/Empty.vue.d.ts +1 -1
  4. package/dist/components/basic/NodeTag.vue.d.ts +17 -0
  5. package/dist/components/basic/SelectiveList.vue.d.ts +9 -5
  6. package/dist/components/basic/ToggleExpanded.vue.d.ts +1 -1
  7. package/dist/components/state/ChildStateViewer.vue.d.ts +1 -1
  8. package/dist/components/state/RootStateViewer.vue.d.ts +6 -1
  9. package/dist/components/state/StateFieldEditor.vue.d.ts +2 -2
  10. package/dist/components/state/StateFieldInputEditor.vue.d.ts +2 -2
  11. package/dist/components/state/StateFieldViewer.vue.d.ts +1 -1
  12. package/dist/components/tree/TreeViewer.vue.d.ts +28 -0
  13. package/dist/composables/devtools-state.d.ts +22 -0
  14. package/dist/composables/select.d.ts +9 -0
  15. package/dist/composables/shiki.d.ts +10 -0
  16. package/dist/composables/toggle-expanded.d.ts +2 -2
  17. package/dist/composables/virtual-router.d.ts +2 -2
  18. package/dist/css-CAzixsid.js +511 -0
  19. package/dist/css-D2Iou8Kp.cjs +505 -0
  20. package/dist/diff-B-yfB5pV.cjs +1 -0
  21. package/dist/diff-Bo5iyMQ2.js +7 -0
  22. package/dist/html-BZB5lEhh.js +84 -0
  23. package/dist/html-Cm5OXZzB.cjs +74 -0
  24. package/dist/index.cjs +14 -2
  25. package/dist/index.css +1 -1
  26. package/dist/index.d.ts +3 -1
  27. package/dist/index.js +11174 -3896
  28. package/dist/javascript-DqVBMyXe.js +705 -0
  29. package/dist/javascript-a-sFB2oM.cjs +699 -0
  30. package/dist/json-B12k4-6m.js +31 -0
  31. package/dist/json-BkokWKU4.cjs +25 -0
  32. package/dist/modules/components/components/RenderCode.vue.d.ts +19 -0
  33. package/dist/modules/components/index.d.ts +3 -0
  34. package/dist/modules/components/index.vue.d.ts +10 -0
  35. package/dist/modules/pinia/components/DevToolsLogo.vue.d.ts +2 -0
  36. package/dist/modules/pinia/components/Home.vue.d.ts +2 -0
  37. package/dist/modules/pinia/components/Navbar.vue.d.ts +2 -0
  38. package/dist/modules/pinia/components/store/Index.vue.d.ts +2 -0
  39. package/dist/{pinia → modules/pinia}/components/timeline/EventList.vue.d.ts +5 -5
  40. package/dist/modules/pinia/components/timeline/Index.vue.d.ts +2 -0
  41. package/dist/modules/pinia/index.vue.d.ts +2 -0
  42. package/dist/modules/router/components/DevToolsLogo.vue.d.ts +2 -0
  43. package/dist/modules/router/components/Home.vue.d.ts +2 -0
  44. package/dist/modules/router/components/Navbar.vue.d.ts +2 -0
  45. package/dist/modules/router/components/routes/Index.vue.d.ts +2 -0
  46. package/dist/modules/router/components/timeline/EventList.vue.d.ts +33 -0
  47. package/dist/modules/router/components/timeline/Index.vue.d.ts +2 -0
  48. package/dist/modules/router/index.d.ts +3 -0
  49. package/dist/modules/router/index.vue.d.ts +2 -0
  50. package/dist/shellscript-ChGA8H-Z.cjs +1 -0
  51. package/dist/shellscript-DQ1J75ow.js +7 -0
  52. package/dist/typescript-AEg-ehu7.js +672 -0
  53. package/dist/typescript-fPsIX9ZR.cjs +666 -0
  54. package/dist/utils/color.d.ts +1 -0
  55. package/dist/utils/index.d.ts +2 -0
  56. package/dist/utils/search.d.ts +8 -0
  57. package/dist/vitesse-dark-DX6gc1PC.js +683 -0
  58. package/dist/vitesse-dark-gyGPd_e2.cjs +1 -0
  59. package/dist/vitesse-light-BQX_J3vG.js +681 -0
  60. package/dist/vitesse-light-_AOpDvx-.cjs +1 -0
  61. package/dist/vue-CSiwUDF5.js +2124 -0
  62. package/dist/vue-Do7_9u1S.cjs +2002 -0
  63. package/dist/vue-html-D0BKftsE.js +11 -0
  64. package/dist/vue-html-D1b8rTOD.cjs +1 -0
  65. package/dist/yaml-KYXSJxwl.cjs +200 -0
  66. package/dist/yaml-PGla5xPP.js +206 -0
  67. package/package.json +11 -8
  68. package/dist/pinia/components/DevToolsLogo.vue.d.ts +0 -2
  69. package/dist/pinia/components/Home.vue.d.ts +0 -2
  70. package/dist/pinia/components/Navbar.vue.d.ts +0 -2
  71. package/dist/pinia/components/store/Index.vue.d.ts +0 -2
  72. package/dist/pinia/components/timeline/Index.vue.d.ts +0 -2
  73. package/dist/pinia/index.vue.d.ts +0 -2
  74. /package/dist/{pinia → modules/pinia}/index.d.ts +0 -0
@@ -0,0 +1,39 @@
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ code: string;
3
+ lang?: import('shiki/langs').BundledLanguage | "text" | undefined;
4
+ lines?: boolean | undefined;
5
+ transformRendered?: ((code: string) => string) | undefined;
6
+ }>, {
7
+ lines: boolean;
8
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ loaded: (...args: any[]) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ code: string;
12
+ lang?: import('shiki/langs').BundledLanguage | "text" | undefined;
13
+ lines?: boolean | undefined;
14
+ transformRendered?: ((code: string) => string) | undefined;
15
+ }>, {
16
+ lines: boolean;
17
+ }>>> & {
18
+ onLoaded?: ((...args: any[]) => any) | undefined;
19
+ }, {
20
+ lines: boolean;
21
+ }, {}>;
22
+ export default _default;
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToRuntimeProps<T> = {
25
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
26
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
+ } : {
28
+ type: import('vue').PropType<T[K]>;
29
+ required: true;
30
+ };
31
+ };
32
+ type __VLS_WithDefaults<P, D> = {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
+ default: D[K];
35
+ }> : P[K];
36
+ };
37
+ type __VLS_Prettify<T> = {
38
+ [K in keyof T]: T[K];
39
+ } & {};
@@ -1,7 +1,7 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  githubRepoLink: string;
3
3
  docLink: string;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  githubRepoLink: string;
6
6
  docLink: string;
7
7
  }>>>, {}, {}>, {
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -0,0 +1,17 @@
1
+ import { InspectorNodeTag } from '@vue/devtools-kit';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ tag: InspectorNodeTag;
5
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ tag: InspectorNodeTag;
7
+ }>>>, {}, {}>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -1,18 +1,22 @@
1
+ import { InspectorNodeTag } from '@vue/devtools-kit';
2
+
1
3
  declare const _default: import('vue').DefineComponent<{
2
- modelValue: import("vue").PropType<any>;
4
+ modelValue: import('vue').PropType<any>;
3
5
  data: {
4
- type: import("vue").PropType<{
6
+ type: import('vue').PropType<{
5
7
  id: string;
6
8
  label: string;
9
+ tags: InspectorNodeTag[];
7
10
  }[]>;
8
11
  required: true;
9
12
  };
10
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
- modelValue: import("vue").PropType<any>;
13
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
+ modelValue: import('vue').PropType<any>;
12
15
  data: {
13
- type: import("vue").PropType<{
16
+ type: import('vue').PropType<{
14
17
  id: string;
15
18
  label: string;
19
+ tags: InspectorNodeTag[];
16
20
  }[]>;
17
21
  required: true;
18
22
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  value: boolean;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  value: boolean;
5
5
  }>>>, {}, {}>;
6
6
  export default _default;
@@ -6,7 +6,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
6
6
  index: string;
7
7
  }>, {
8
8
  depth: number;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
10
  data: InspectorState[];
11
11
  depth: number;
12
12
  index: string;
@@ -5,17 +5,22 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
5
5
  nodeId: string;
6
6
  inspectorId: string;
7
7
  disableEdit?: boolean | undefined;
8
+ expandedStateId?: string | undefined;
8
9
  }>, {
9
10
  disableEdit: boolean;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ expandedStateId: string;
12
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
13
  data: Record<string, InspectorState[]>;
12
14
  nodeId: string;
13
15
  inspectorId: string;
14
16
  disableEdit?: boolean | undefined;
17
+ expandedStateId?: string | undefined;
15
18
  }>, {
16
19
  disableEdit: boolean;
20
+ expandedStateId: string;
17
21
  }>>>, {
18
22
  disableEdit: boolean;
23
+ expandedStateId: string;
19
24
  }, {}>;
20
25
  export default _default;
21
26
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -9,10 +9,10 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
9
9
  disableEdit?: boolean | undefined;
10
10
  }>, {
11
11
  showAddIfNeeded: boolean;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
13
  enableEditInput: (type: EditorInputValidType) => void;
14
14
  addNewProp: (type: EditorAddNewPropType) => void;
15
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
16
  data: InspectorState;
17
17
  hovering: boolean;
18
18
  depth: number;
@@ -8,11 +8,11 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
8
8
  }>, {
9
9
  showActions: boolean;
10
10
  autoFocus: boolean;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
12
  cancel: () => void;
13
13
  submit: () => void;
14
14
  "update:modelValue": (value: string) => void;
15
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
16
  modelValue: string;
17
17
  customType?: customTypeEnums | undefined;
18
18
  showActions?: boolean | undefined;
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimePr
4
4
  data: InspectorState;
5
5
  depth: number;
6
6
  index: string;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  data: InspectorState;
9
9
  depth: number;
10
10
  index: string;
@@ -0,0 +1,28 @@
1
+ import { ComponentTreeNode } from '@vue/devtools-kit';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ modelValue: import('vue').PropType<any>;
5
+ data: {
6
+ type: import('vue').PropType<ComponentTreeNode[]>;
7
+ required: true;
8
+ };
9
+ depth: {
10
+ type: import('vue').PropType<number>;
11
+ required: true;
12
+ default: number;
13
+ };
14
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ modelValue: import('vue').PropType<any>;
16
+ data: {
17
+ type: import('vue').PropType<ComponentTreeNode[]>;
18
+ required: true;
19
+ };
20
+ depth: {
21
+ type: import('vue').PropType<number>;
22
+ required: true;
23
+ default: number;
24
+ };
25
+ }>>, {
26
+ depth: number;
27
+ }, {}>;
28
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { AppRecord } from '@vue/devtools-kit';
2
+ import { Ref } from 'vue';
3
+
4
+ export type DevtoolsBridgeAppRecord = Pick<AppRecord, 'name' | 'id' | 'version' | 'routerId' | 'moduleDetectives'>;
5
+ export declare function createDevToolsStateContext(): {
6
+ appRecords: Ref<{
7
+ name: string;
8
+ id: string | number;
9
+ version?: string | undefined;
10
+ routerId?: string | undefined;
11
+ moduleDetectives?: {
12
+ vueRouter: boolean;
13
+ pinia: boolean;
14
+ vueI18n: boolean;
15
+ } | undefined;
16
+ }[]>;
17
+ activeAppRecordId: Ref<string>;
18
+ };
19
+ export declare function useDevToolsState(): {
20
+ appRecords: Ref<DevtoolsBridgeAppRecord[]>;
21
+ activeAppRecordId: Ref<string>;
22
+ };
@@ -0,0 +1,9 @@
1
+ import { Ref } from 'vue';
2
+
3
+ export declare function createSelectedContext(): {
4
+ selected: Ref<string>;
5
+ };
6
+ export declare function useSelect(): {
7
+ selected: Ref<string>;
8
+ select: (value: string) => void;
9
+ };
@@ -0,0 +1,10 @@
1
+ import { BuiltinLanguage, HighlighterCore } from 'shiki';
2
+
3
+ export declare const shiki: import('vue').ShallowRef<HighlighterCore | undefined>;
4
+ export declare function renderCodeHighlight(code: string, lang?: BuiltinLanguage | 'text'): {
5
+ code: string;
6
+ supported: false | undefined;
7
+ } | {
8
+ code: string;
9
+ supported: boolean;
10
+ };
@@ -1,9 +1,9 @@
1
1
  import { Ref } from 'vue';
2
2
 
3
- export declare function createExpandedContext(): {
3
+ export declare function createExpandedContext(id?: string): {
4
4
  expanded: Ref<string[]>;
5
5
  };
6
- export declare function useToggleExpanded(): {
6
+ export declare function useToggleExpanded(id?: string): {
7
7
  expanded: Ref<string[]>;
8
8
  toggleExpanded: (key: string) => void;
9
9
  };
@@ -6,9 +6,9 @@ export declare function registerVirtualRouter(routes: {
6
6
  icon?: string;
7
7
  name?: string;
8
8
  }[]): {
9
- VirtualRouterView: import('vue').DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ VirtualRouterView: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
10
10
  [key: string]: any;
11
- }> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
11
+ }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
12
12
  };
13
13
  export declare function useVirtualRouter(): {
14
14
  push(path: string): void;