vite-plugin-vue-devtools 1.0.0-rc.8 → 7.0.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.
Files changed (79) hide show
  1. package/README.md +8 -172
  2. package/dist/client/assets/css-a-KJtBLB.js +505 -0
  3. package/dist/client/assets/diff--l9-nN5b.js +1 -0
  4. package/dist/client/assets/html-5-AIf93y.js +74 -0
  5. package/dist/client/assets/index-NNrCE7Vx.css +1 -0
  6. package/dist/client/assets/index-oq63TS6O.js +1080 -0
  7. package/dist/client/assets/javascript-Of8SnKfU.js +699 -0
  8. package/dist/client/assets/json-t1qiHl76.js +25 -0
  9. package/dist/client/assets/onig-mBJmD8D5.js +1 -0
  10. package/dist/client/assets/shellscript-h1L64xId.js +4 -0
  11. package/dist/client/assets/typescript-b1Nw_bQe.js +666 -0
  12. package/dist/client/assets/unocss-runtime-kftsoZPE.js +2 -0
  13. package/dist/client/assets/vitesse-dark-5VceXvs6.js +1 -0
  14. package/dist/client/assets/vitesse-light-HOMMxGxw.js +1 -0
  15. package/dist/client/assets/vue-apis-Nh9IahXf.js +1 -0
  16. package/dist/client/assets/vue-html-eJ6eRCYJ.js +1 -0
  17. package/dist/client/assets/vue-nOwTje1i.js +2002 -0
  18. package/dist/client/assets/yaml-FtfhlYqU.js +200 -0
  19. package/dist/client/color-scheme.js +6 -0
  20. package/dist/client/index.html +13 -21
  21. package/dist/vite.cjs +116 -13794
  22. package/dist/vite.d.cts +6 -9
  23. package/dist/vite.d.mts +6 -9
  24. package/dist/vite.d.ts +6 -9
  25. package/dist/vite.mjs +113 -13774
  26. package/package.json +18 -19
  27. package/src/overlay/devtools-overlay.css +1 -0
  28. package/src/overlay/devtools-overlay.js +4 -0
  29. package/src/overlay.js +77 -0
  30. package/README.zh-CN.md +0 -186
  31. package/client.d.ts +0 -63
  32. package/dist/client/assets/DrawerRight.vue_vue_type_script_setup_true_lang-99688d1e.js +0 -81
  33. package/dist/client/assets/IconButton.vue_vue_type_script_setup_true_lang-48a6bea2.js +0 -26
  34. package/dist/client/assets/IconTitle.vue_vue_type_script_setup_true_lang-adb17252.js +0 -30
  35. package/dist/client/assets/IframeView.vue_vue_type_script_setup_true_lang-4ccdbf42.js +0 -96
  36. package/dist/client/assets/PanelGrids-664603ce.js +0 -15
  37. package/dist/client/assets/SectionBlock-0024395a.css +0 -18
  38. package/dist/client/assets/SectionBlock-04b7ab1e.js +0 -109
  39. package/dist/client/assets/StateFields.vue_vue_type_script_setup_true_lang-48cf50ad.js +0 -381
  40. package/dist/client/assets/Switch.vue_vue_type_script_setup_true_lang-d74bf986.js +0 -87
  41. package/dist/client/assets/TextInput.vue_vue_type_script_setup_true_lang-65c09c69.js +0 -38
  42. package/dist/client/assets/__eyedropper-7bbec9b2.js +0 -149
  43. package/dist/client/assets/_commonjsHelpers-7e83dbf2.js +0 -34
  44. package/dist/client/assets/assets-641818bf.js +0 -1597
  45. package/dist/client/assets/component-docs-7bd37475.js +0 -195
  46. package/dist/client/assets/components-b0181ea4.js +0 -790
  47. package/dist/client/assets/data-8729d21a.js +0 -399
  48. package/dist/client/assets/dayjs.min-f03ccd82.js +0 -13
  49. package/dist/client/assets/documentations-7cba8670.js +0 -276
  50. package/dist/client/assets/fuse.esm-c317b696.js +0 -1782
  51. package/dist/client/assets/graph-edf83976.js +0 -52092
  52. package/dist/client/assets/index-77d53487.js +0 -18551
  53. package/dist/client/assets/index-b5475fe0.css +0 -482
  54. package/dist/client/assets/inspect-d17224a9.js +0 -20
  55. package/dist/client/assets/jse-theme-dark-333a4654.js +0 -1565
  56. package/dist/client/assets/jse-theme-dark-351d62d5.css +0 -114
  57. package/dist/client/assets/npm-076ecb7c.js +0 -550
  58. package/dist/client/assets/npm-832f3f2c.css +0 -209
  59. package/dist/client/assets/overview-d99e7f18.js +0 -303
  60. package/dist/client/assets/pages-fca7d8d3.js +0 -561
  61. package/dist/client/assets/pinia-3f5b6c57.js +0 -108
  62. package/dist/client/assets/pinia-7ed2c830.svg +0 -1
  63. package/dist/client/assets/rerender-trace-3afd48a1.css +0 -14
  64. package/dist/client/assets/rerender-trace-5fc6fb22.js +0 -436
  65. package/dist/client/assets/routes-9567a43f.js +0 -132
  66. package/dist/client/assets/settings-5a2e184c.js +0 -9652
  67. package/dist/client/assets/settings-7bce89ae.css +0 -11
  68. package/dist/client/assets/splitpanes.es-26cdc434.js +0 -343
  69. package/dist/client/assets/timeline-20d79e43.js +0 -1480
  70. package/dist/client/assets/timeline-b315b2e0.css +0 -1
  71. package/dist/client/assets/vue-5d4e674c.svg +0 -1
  72. package/dist/client/assets/vueuse-995374f6.svg +0 -1
  73. package/src/app.js +0 -4
  74. package/src/views/ComponentInspector.vue +0 -68
  75. package/src/views/FrameBox.vue +0 -231
  76. package/src/views/Main.vue +0 -435
  77. package/src/views/RerenderIndicator.vue +0 -37
  78. package/src/views/composables.ts +0 -630
  79. package/src/views/utils.ts +0 -241
@@ -1,195 +0,0 @@
1
- import { v as defineComponent, cc as useColorMode, a$ as ref, a1 as computed, by as watch, o as openBlock, e as createElementBlock, x as createBaseVNode, u as createVNode, z as unref, aC as isRef, h as withCtx, F as Fragment, i as renderList, d as withDirectives, bv as vShow, q as normalizeClass, l as normalizeStyle, ci as rpc, _ as __unplugin_components_7, y as toDisplayString } from './index-77d53487.js';
2
- import { _ as _sfc_main$1 } from './TextInput.vue_vue_type_script_setup_true_lang-65c09c69.js';
3
- import { g, M } from './splitpanes.es-26cdc434.js';
4
- import { F as Fuse } from './fuse.esm-c317b696.js';
5
- import { U as Uu } from './jse-theme-dark-333a4654.js';
6
-
7
- const _hoisted_1 = {
8
- relative: "",
9
- "h-full": "",
10
- "of-hidden": "",
11
- "n-panel-grids": ""
12
- };
13
- const _hoisted_2 = {
14
- border: "b base",
15
- flex: "~ col gap1",
16
- px4: "",
17
- py3: "",
18
- "navbar-glass": ""
19
- };
20
- const _hoisted_3 = {
21
- "h-full": "",
22
- "select-none": "",
23
- "overflow-scroll": "",
24
- "p-2": "",
25
- class: "no-scrollbar"
26
- };
27
- const _hoisted_4 = { key: 0 };
28
- const _hoisted_5 = ["onClick"];
29
- const _hoisted_6 = {
30
- key: 1,
31
- "h-full": "",
32
- flex: "",
33
- "items-center": "",
34
- "justify-center": ""
35
- };
36
- const _hoisted_7 = /* @__PURE__ */ createBaseVNode("h1", {
37
- "text-sm": "",
38
- italic: "",
39
- op50: ""
40
- }, " No Files ", -1);
41
- const _hoisted_8 = {
42
- "h-full": "",
43
- "select-none": "",
44
- "overflow-scroll": "",
45
- "p-2": "",
46
- class: "no-scrollbar"
47
- };
48
- const _hoisted_9 = {
49
- "h-full": "",
50
- flex: "",
51
- "items-center": "",
52
- "justify-center": ""
53
- };
54
- const _hoisted_10 = /* @__PURE__ */ createBaseVNode("h1", {
55
- "text-sm": "",
56
- italic: "",
57
- op50: ""
58
- }, " No Data ", -1);
59
- const _sfc_main = /* @__PURE__ */ defineComponent({
60
- __name: "component-docs",
61
- setup(__props) {
62
- const colorMode = useColorMode();
63
- const keywords = ref("");
64
- const activeFileIndex = ref(0);
65
- const files = ref([]);
66
- const content = ref({});
67
- const list = computed(() => {
68
- const fuse = new Fuse(files.value, {
69
- shouldSort: true
70
- });
71
- const result = keywords.value ? fuse.search(keywords.value).map((i) => i.item) : files.value || [];
72
- return result;
73
- });
74
- async function getFileList() {
75
- files.value = await rpc.getVueSFCList();
76
- getComponentInfo();
77
- }
78
- async function getComponentInfo() {
79
- if (!list.value.length)
80
- return;
81
- const info = await rpc.getComponentInfo(list.value[activeFileIndex.value]);
82
- content.value = info;
83
- }
84
- function toggle(index) {
85
- activeFileIndex.value = index;
86
- getComponentInfo();
87
- }
88
- getFileList();
89
- watch(keywords, () => {
90
- activeFileIndex.value = 0;
91
- getComponentInfo();
92
- });
93
- return (_ctx, _cache) => {
94
- const _component_VDTextInput = _sfc_main$1;
95
- const _component_VDCard = __unplugin_components_7;
96
- return openBlock(), createElementBlock("div", _hoisted_1, [
97
- createBaseVNode("div", _hoisted_2, [
98
- createVNode(_component_VDTextInput, {
99
- modelValue: unref(keywords),
100
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(keywords) ? keywords.value = $event : null),
101
- "font-mono": "",
102
- icon: "carbon:search",
103
- placeholder: "Filter Files",
104
- op50: ""
105
- }, null, 8, ["modelValue"])
106
- ]),
107
- createVNode(unref(M), {
108
- style: normalizeStyle({ height: "calc(100% - 60px)" })
109
- }, {
110
- default: withCtx(() => [
111
- createVNode(unref(g), { border: "r base" }, {
112
- default: withCtx(() => [
113
- createBaseVNode("div", _hoisted_3, [
114
- unref(list).length ? (openBlock(), createElementBlock("ul", _hoisted_4, [
115
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(list), (file, index) => {
116
- return openBlock(), createElementBlock("li", {
117
- key: index,
118
- class: normalizeClass([unref(activeFileIndex) === index ? "op100" : "op60"]),
119
- hover: "op100",
120
- "h-8": "",
121
- "cursor-pointer": "",
122
- "of-hidden": "",
123
- "text-ellipsis": "",
124
- "lh-8": "",
125
- onClick: ($event) => toggle(index)
126
- }, toDisplayString(file), 11, _hoisted_5);
127
- }), 128))
128
- ])) : (openBlock(), createElementBlock("div", _hoisted_6, [
129
- createVNode(_component_VDCard, {
130
- flex: "~ col gap2",
131
- "min-w-30": "",
132
- "items-center": "",
133
- p3: ""
134
- }, {
135
- default: withCtx(() => [
136
- _hoisted_7
137
- ]),
138
- _: 1
139
- })
140
- ]))
141
- ])
142
- ]),
143
- _: 1
144
- }),
145
- createVNode(unref(g), null, {
146
- default: withCtx(() => [
147
- createBaseVNode("div", _hoisted_8, [
148
- withDirectives(createVNode(unref(Uu), {
149
- modelValue: unref(content),
150
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(content) ? content.value = $event : null),
151
- "h-full": "",
152
- class: normalizeClass(["json-editor-vue", [
153
- unref(colorMode) === "dark" ? "jse-theme-dark" : ""
154
- ]]),
155
- "main-menu-bar": false,
156
- "navigation-bar": false,
157
- "status-bar": false,
158
- "read-only": true,
159
- indentation: 2,
160
- "tab-size": 2
161
- }, null, 8, ["modelValue", "class"]), [
162
- [vShow, unref(list).length]
163
- ]),
164
- withDirectives(createBaseVNode("div", _hoisted_9, [
165
- createVNode(_component_VDCard, {
166
- flex: "~ col gap2",
167
- "min-w-30": "",
168
- "items-center": "",
169
- p3: ""
170
- }, {
171
- default: withCtx(() => [
172
- _hoisted_10
173
- ]),
174
- _: 1
175
- })
176
- ], 512), [
177
- [vShow, !unref(list).length]
178
- ])
179
- ])
180
- ]),
181
- _: 1
182
- })
183
- ]),
184
- _: 1
185
- }, 8, ["style"])
186
- ]);
187
- };
188
- }
189
- });
190
-
191
- /* Injected with object hook! */
192
-
193
- /* Injected with object hook! */
194
-
195
- export { _sfc_main as default };