vite-plugin-vue-devtools 0.1.1 → 0.1.2
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/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-6fd9a85f.js → IframeView.vue_vue_type_script_setup_true_lang-2e28be97.js} +1 -1
- package/dist/client/assets/StateFields.vue_vue_type_script_setup_true_lang-79e496d1.js +367 -0
- package/dist/client/assets/{VCard-6f5067b2.js → VCard-7f086ce2.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-6118ca39.js → VIcon.vue_vue_type_script_setup_true_lang-4e5c5629.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-ae9230b8.js → VIconButton.vue_vue_type_script_setup_true_lang-aa76fcd1.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-b0f889c4.js → VIconTitle.vue_vue_type_script_setup_true_lang-f04635a9.js} +1 -1
- package/dist/client/assets/{VPanelGrids-99263922.js → VPanelGrids-52d64f52.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-a9a84967.js → VSectionBlock-597971e4.js} +10 -45
- package/dist/client/assets/VTextInput.vue_vue_type_script_setup_true_lang-a597f8b8.js +39 -0
- package/dist/client/assets/{__inspecting-c48a44bd.js → __inspecting-d57587e1.js} +2 -2
- package/dist/client/assets/{assets-da7375f2.js → assets-1330e489.js} +9 -8
- package/dist/client/assets/component-doc-351d62d5.css +114 -0
- package/dist/client/assets/component-doc-e26a9fbd.js +1692 -0
- package/dist/client/assets/{components-9088ee32.js → components-9fbf887f.js} +8 -7
- package/dist/client/assets/{documentations-a53fc5be.js → documentations-b3725461.js} +4 -4
- package/dist/client/assets/{graph-1d314269.js → graph-03cdd540.js} +2 -2
- package/dist/client/assets/{index-673f3336.css → index-4825b66d.css} +1 -1
- package/dist/client/assets/{index-2f57441c.js → index-71609956.js} +25 -18
- package/dist/client/assets/{index-de9a3e22.js → index-930a3e08.js} +1 -1
- package/dist/client/assets/{inspect-4dd467ef.js → inspect-0e407b47.js} +3 -3
- package/dist/client/assets/{npm-aa40787f.js → npm-16e1ac25.js} +7 -6
- package/dist/client/assets/{overview-3d7e9cc1.js → overview-7c9d6d24.js} +5 -5
- package/dist/client/assets/{pages-2a327cb7.js → pages-e045d444.js} +5 -4
- package/dist/client/assets/{pinia-76305a62.js → pinia-979b088d.js} +6 -5
- package/dist/client/assets/{routes-eb449762.js → routes-0206c13d.js} +8 -7
- package/dist/client/assets/{rpc-0cf10553.js → rpc-4e27506e.js} +1 -1
- package/dist/client/assets/{settings-16b21837.js → settings-2660dfcc.js} +4 -4
- package/dist/client/assets/{splitpanes.es-d9f337b4.js → splitpanes.es-0a01f462.js} +2 -366
- package/dist/client/assets/{timeline-b35c200b.js → timeline-7ed97430.js} +8 -7
- package/dist/client/index.html +2 -2
- package/dist/index.cjs +19 -0
- package/dist/index.mjs +19 -0
- package/package.json +4 -1
- /package/dist/client/assets/{VTextInput-52804693.css → VSectionBlock-52804693.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent, ak as useColorMode, $ as ref, a0 as computed, al as reactive, am as useElementBounding, a6 as onMounted, n as nextTick, an as watchEffect, ao as onUnmounted, o as openBlock, e as createElementBlock, z as unref, g as createCommentVNode, x as createBaseVNode } from './index-
|
|
1
|
+
import { v as defineComponent, ak as useColorMode, $ as ref, a0 as computed, al as reactive, am as useElementBounding, a6 as onMounted, n as nextTick, an as watchEffect, ao as onUnmounted, o as openBlock, e as createElementBlock, z as unref, g as createCommentVNode, x as createBaseVNode } from './index-71609956.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-4e5c5629.js';
|
|
2
|
+
import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, K as isRef, a2 as toRaw, a0 as computed, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, as as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, $ as ref, u as createVNode, a5 as withModifiers, d as withDirectives, at as vShow } from './index-71609956.js';
|
|
3
|
+
import { a as isComputed, b as isArray, c as isMap, d as isSet, e as isRegExp, t as toRawType, f as isPlainObject, g as escape } from './index-930a3e08.js';
|
|
4
|
+
import { u as useCopy, _ as _sfc_main$4 } from './VIconButton.vue_vue_type_script_setup_true_lang-aa76fcd1.js';
|
|
5
|
+
|
|
6
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "VExpandIcon",
|
|
8
|
+
props: {
|
|
9
|
+
value: { type: Boolean }
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
return (_ctx, _cache) => {
|
|
13
|
+
const _component_VIcon = _sfc_main$3;
|
|
14
|
+
return openBlock(), createBlock(_component_VIcon, {
|
|
15
|
+
class: normalizeClass(["material-symbols:arrow-right", {
|
|
16
|
+
"transform rotate-90": _ctx.value
|
|
17
|
+
}]),
|
|
18
|
+
"text-5": "",
|
|
19
|
+
"op-50": "",
|
|
20
|
+
"n-transition": ""
|
|
21
|
+
}, null, 8, ["class"]);
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
/* Injected with object hook! */
|
|
27
|
+
|
|
28
|
+
function getFuntionDetails(func) {
|
|
29
|
+
let string = "";
|
|
30
|
+
let matches = null;
|
|
31
|
+
try {
|
|
32
|
+
string = Function.prototype.toString.call(func);
|
|
33
|
+
matches = String.prototype.match.call(string, /\([\s\S]*?\)/);
|
|
34
|
+
} catch (e) {
|
|
35
|
+
}
|
|
36
|
+
const match = matches && matches[0];
|
|
37
|
+
const args = typeof match === "string" ? match : "(?)";
|
|
38
|
+
const name = typeof func.name === "string" ? func.name : "";
|
|
39
|
+
return `<span style="opacity:.5;">function</span> ${escape(name)}${args}`;
|
|
40
|
+
}
|
|
41
|
+
function formatWithExtraType(value, type) {
|
|
42
|
+
return `${value} <span style="color:#6b7280;padding:'0 5px';">(${type})</span>`;
|
|
43
|
+
}
|
|
44
|
+
function formatStateType(value) {
|
|
45
|
+
if (isComputed(value)) {
|
|
46
|
+
const state = formatStateType(value.value);
|
|
47
|
+
return {
|
|
48
|
+
...state,
|
|
49
|
+
...state.recursive ? { rawDisplay: formatWithExtraType(state.rawDisplay, "Computed") } : { value: formatWithExtraType(state.value, "Computed") }
|
|
50
|
+
};
|
|
51
|
+
} else if (isRef(value)) {
|
|
52
|
+
const state = formatStateType(toRaw(value.value));
|
|
53
|
+
return {
|
|
54
|
+
...state,
|
|
55
|
+
...state.recursive ? { rawDisplay: formatWithExtraType(state.rawDisplay, "Ref") } : { value: formatWithExtraType(state.value, "Ref") }
|
|
56
|
+
};
|
|
57
|
+
} else if (isArray(value)) {
|
|
58
|
+
return {
|
|
59
|
+
rawType: "object",
|
|
60
|
+
rawDisplay: `Array[${value.length}]`,
|
|
61
|
+
recursive: true,
|
|
62
|
+
value
|
|
63
|
+
};
|
|
64
|
+
} else if (typeof value === "function") {
|
|
65
|
+
return {
|
|
66
|
+
rawType: "function",
|
|
67
|
+
recursive: false,
|
|
68
|
+
value: getFuntionDetails(value)
|
|
69
|
+
};
|
|
70
|
+
} else if (typeof value === "bigint") {
|
|
71
|
+
const stringifiedBigInt = BigInt.prototype.toString.call(value);
|
|
72
|
+
return {
|
|
73
|
+
rawType: "string",
|
|
74
|
+
rawDisplay: `BigInt(${stringifiedBigInt})`,
|
|
75
|
+
recursive: false,
|
|
76
|
+
value: stringifiedBigInt
|
|
77
|
+
};
|
|
78
|
+
} else if (Number.isNaN(value)) {
|
|
79
|
+
return {
|
|
80
|
+
rawType: "literal",
|
|
81
|
+
recursive: false,
|
|
82
|
+
value: "NaN"
|
|
83
|
+
};
|
|
84
|
+
} else if (value === Infinity) {
|
|
85
|
+
return {
|
|
86
|
+
rawType: "literal",
|
|
87
|
+
recursive: false,
|
|
88
|
+
value: "Infinity"
|
|
89
|
+
};
|
|
90
|
+
} else if (value === -Infinity) {
|
|
91
|
+
return {
|
|
92
|
+
rawType: "literal",
|
|
93
|
+
recursive: false,
|
|
94
|
+
value: "-Infinity"
|
|
95
|
+
};
|
|
96
|
+
} else if (typeof value === "symbol") {
|
|
97
|
+
return {
|
|
98
|
+
rawType: "literal",
|
|
99
|
+
recursive: false,
|
|
100
|
+
value: Symbol.prototype.toString.call(value)
|
|
101
|
+
};
|
|
102
|
+
} else if (value === null) {
|
|
103
|
+
return {
|
|
104
|
+
rawType: "null",
|
|
105
|
+
recursive: false,
|
|
106
|
+
value: "null"
|
|
107
|
+
};
|
|
108
|
+
} else if (typeof value === "undefined") {
|
|
109
|
+
return {
|
|
110
|
+
rawType: "null",
|
|
111
|
+
recursive: false,
|
|
112
|
+
value: "undefined"
|
|
113
|
+
};
|
|
114
|
+
} else if (typeof value === "string") {
|
|
115
|
+
return {
|
|
116
|
+
rawType: "string",
|
|
117
|
+
recursive: false,
|
|
118
|
+
value: `"${value}"`
|
|
119
|
+
};
|
|
120
|
+
} else if (value !== "null" && typeof value === "object") {
|
|
121
|
+
if (isMap(value)) {
|
|
122
|
+
return {
|
|
123
|
+
rawType: "object",
|
|
124
|
+
rawDisplay: "Map",
|
|
125
|
+
recursive: true,
|
|
126
|
+
value: Array.from(value.entries()).map(([key, value2]) => ({ key, value: value2 }))
|
|
127
|
+
};
|
|
128
|
+
} else if (isSet(value)) {
|
|
129
|
+
const list = Array.from(value);
|
|
130
|
+
return {
|
|
131
|
+
rawType: "object",
|
|
132
|
+
rawDisplay: `Set[${list.length}]`,
|
|
133
|
+
recursive: true,
|
|
134
|
+
value: list
|
|
135
|
+
};
|
|
136
|
+
} else if (isRegExp(value)) {
|
|
137
|
+
return {
|
|
138
|
+
rawType: "string",
|
|
139
|
+
recursive: false,
|
|
140
|
+
value: RegExp.prototype.toString.call(value)
|
|
141
|
+
};
|
|
142
|
+
} else if (toRawType(value) === "Error") {
|
|
143
|
+
return {
|
|
144
|
+
rawType: "string",
|
|
145
|
+
recursive: false,
|
|
146
|
+
// @ts-expect-error skip
|
|
147
|
+
value: `${value?.message}: ${value?.stack}`
|
|
148
|
+
};
|
|
149
|
+
} else if (value?.state && value._vm || value.constructor?.name === "Store" && value._wrappedGetters) {
|
|
150
|
+
return {
|
|
151
|
+
rawType: "string",
|
|
152
|
+
recursive: false,
|
|
153
|
+
value: '"[object Store]"'
|
|
154
|
+
};
|
|
155
|
+
} else if (value.constructor && value.constructor.name === "VueRouter" || value.currentRoute) {
|
|
156
|
+
return {
|
|
157
|
+
rawType: "string",
|
|
158
|
+
recursive: false,
|
|
159
|
+
value: '"[object Router]"'
|
|
160
|
+
};
|
|
161
|
+
} else if (typeof value.render === "function") {
|
|
162
|
+
return {
|
|
163
|
+
rawType: "object",
|
|
164
|
+
recursive: false,
|
|
165
|
+
// @ts-expect-error skip
|
|
166
|
+
value: formatWithExtraType(value.__name, "Component") ?? "Vue Component"
|
|
167
|
+
};
|
|
168
|
+
} else if (isPlainObject(value)) {
|
|
169
|
+
return {
|
|
170
|
+
rawType: "object",
|
|
171
|
+
rawDisplay: "Object",
|
|
172
|
+
recursive: true,
|
|
173
|
+
value
|
|
174
|
+
};
|
|
175
|
+
} else {
|
|
176
|
+
return {
|
|
177
|
+
rawType: "string",
|
|
178
|
+
recursive: false,
|
|
179
|
+
value: `"${toRawType(value)}"`
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
} else {
|
|
183
|
+
return {
|
|
184
|
+
rawType: "literal",
|
|
185
|
+
recursive: false,
|
|
186
|
+
value
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Injected with object hook! */
|
|
192
|
+
|
|
193
|
+
const _hoisted_1$1 = ["onClick"];
|
|
194
|
+
const _hoisted_2$1 = {
|
|
195
|
+
key: 1,
|
|
196
|
+
"inline-block": "",
|
|
197
|
+
"h-6": "",
|
|
198
|
+
"w-6": ""
|
|
199
|
+
};
|
|
200
|
+
const _hoisted_3 = {
|
|
201
|
+
"text-purple-700": "",
|
|
202
|
+
"dark:text-purple-300": ""
|
|
203
|
+
};
|
|
204
|
+
const _hoisted_4 = /* @__PURE__ */ createBaseVNode("span", {
|
|
205
|
+
"px-1": "",
|
|
206
|
+
"op-60": ""
|
|
207
|
+
}, ":", -1);
|
|
208
|
+
const _hoisted_5 = ["innerHTML"];
|
|
209
|
+
const _hoisted_6 = ["onClick", "innerHTML"];
|
|
210
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
211
|
+
__name: "StateFieldsTree",
|
|
212
|
+
props: {
|
|
213
|
+
id: {},
|
|
214
|
+
data: {},
|
|
215
|
+
depth: { default: 0 },
|
|
216
|
+
expandedId: {}
|
|
217
|
+
},
|
|
218
|
+
emits: ["updateExpanded"],
|
|
219
|
+
setup(__props, { emit: emits }) {
|
|
220
|
+
const props = __props;
|
|
221
|
+
const rawTypeStyles = { literal: "raw-literal", string: "raw-string", object: "raw-object", function: "raw-function", null: "raw-null" };
|
|
222
|
+
const list = computed(() => {
|
|
223
|
+
if (Array.isArray(props.data)) {
|
|
224
|
+
return props.data.map((item) => {
|
|
225
|
+
return formatStateType(item);
|
|
226
|
+
});
|
|
227
|
+
} else if (typeof props.data === "object" && props.data !== null) {
|
|
228
|
+
const o = {};
|
|
229
|
+
for (const k in props.data) {
|
|
230
|
+
const key = k;
|
|
231
|
+
o[key] = formatStateType(props.data[k]);
|
|
232
|
+
}
|
|
233
|
+
const sorted = {};
|
|
234
|
+
Object.keys(o).sort().forEach((key) => {
|
|
235
|
+
sorted[key] = o[key];
|
|
236
|
+
});
|
|
237
|
+
return sorted;
|
|
238
|
+
} else {
|
|
239
|
+
return formatStateType("");
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
function toggleExpand(id) {
|
|
243
|
+
emits("updateExpanded", id);
|
|
244
|
+
}
|
|
245
|
+
const copy = useCopy();
|
|
246
|
+
return (_ctx, _cache) => {
|
|
247
|
+
const _component_VExpandIcon = _sfc_main$2;
|
|
248
|
+
const _component_StateFieldsTree = resolveComponent("StateFieldsTree", true);
|
|
249
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList(unref(list), (item, index) => {
|
|
250
|
+
return openBlock(), createElementBlock("code", {
|
|
251
|
+
key: unref(nanoid)(),
|
|
252
|
+
block: "",
|
|
253
|
+
"select-none": "",
|
|
254
|
+
"pl-2": "",
|
|
255
|
+
"text-sm": ""
|
|
256
|
+
}, [
|
|
257
|
+
createBaseVNode("p", {
|
|
258
|
+
flex: "",
|
|
259
|
+
"items-center": "",
|
|
260
|
+
class: normalizeClass([item?.recursive && "cursor-pointer"]),
|
|
261
|
+
onClick: ($event) => item?.recursive ? toggleExpand(`${_ctx.id}-${_ctx.depth}-${index}`) : () => {
|
|
262
|
+
}
|
|
263
|
+
}, [
|
|
264
|
+
item?.recursive ? (openBlock(), createBlock(_component_VExpandIcon, {
|
|
265
|
+
key: 0,
|
|
266
|
+
value: _ctx.expandedId.includes(`${_ctx.id}-${_ctx.depth}-${index}`)
|
|
267
|
+
}, null, 8, ["value"])) : (openBlock(), createElementBlock("i", _hoisted_2$1)),
|
|
268
|
+
createBaseVNode("span", _hoisted_3, toDisplayString(index), 1),
|
|
269
|
+
_hoisted_4,
|
|
270
|
+
item?.recursive ? (openBlock(), createElementBlock("span", {
|
|
271
|
+
key: 2,
|
|
272
|
+
class: normalizeClass(rawTypeStyles[item.rawType]),
|
|
273
|
+
"max-w": "[75%]",
|
|
274
|
+
truncate: "",
|
|
275
|
+
innerHTML: item?.rawDisplay
|
|
276
|
+
}, null, 10, _hoisted_5)) : (openBlock(), createElementBlock("span", {
|
|
277
|
+
key: 3,
|
|
278
|
+
class: normalizeClass(rawTypeStyles[item.rawType]),
|
|
279
|
+
"max-w": "[75%]",
|
|
280
|
+
truncate: "",
|
|
281
|
+
hover: "underline underline-offset-3 cursor-pointer",
|
|
282
|
+
onClick: ($event) => unref(copy)(String(item?.value)),
|
|
283
|
+
innerHTML: item?.value
|
|
284
|
+
}, null, 10, _hoisted_6))
|
|
285
|
+
], 10, _hoisted_1$1),
|
|
286
|
+
_ctx.expandedId.includes(`${_ctx.id}-${_ctx.depth}-${index}`) && item?.recursive ? (openBlock(), createBlock(_component_StateFieldsTree, {
|
|
287
|
+
key: 0,
|
|
288
|
+
id: _ctx.id,
|
|
289
|
+
data: item?.value,
|
|
290
|
+
depth: _ctx.depth + 1,
|
|
291
|
+
"expanded-id": _ctx.expandedId,
|
|
292
|
+
onUpdateExpanded: toggleExpand
|
|
293
|
+
}, null, 8, ["id", "data", "depth", "expanded-id"])) : createCommentVNode("", true)
|
|
294
|
+
]);
|
|
295
|
+
}), 128);
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
|
|
300
|
+
/* Injected with object hook! */
|
|
301
|
+
|
|
302
|
+
const _hoisted_1 = { "text-primary": "" };
|
|
303
|
+
const _hoisted_2 = { "pl-3": "" };
|
|
304
|
+
const expandedIdCache = ref([]);
|
|
305
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
306
|
+
__name: "StateFields",
|
|
307
|
+
props: {
|
|
308
|
+
data: {},
|
|
309
|
+
id: { default: 0 }
|
|
310
|
+
},
|
|
311
|
+
setup(__props) {
|
|
312
|
+
const isExpanded = ref(true);
|
|
313
|
+
const copy = useCopy();
|
|
314
|
+
function toggleExpanded() {
|
|
315
|
+
isExpanded.value = !isExpanded.value;
|
|
316
|
+
}
|
|
317
|
+
function updateExpandedIdCache(id) {
|
|
318
|
+
if (expandedIdCache.value.includes(id))
|
|
319
|
+
expandedIdCache.value = expandedIdCache.value.filter((i) => i !== id);
|
|
320
|
+
else
|
|
321
|
+
expandedIdCache.value.push(id);
|
|
322
|
+
}
|
|
323
|
+
return (_ctx, _cache) => {
|
|
324
|
+
const _component_VExpandIcon = _sfc_main$2;
|
|
325
|
+
const _component_VIconButton = _sfc_main$4;
|
|
326
|
+
const _component_StateFieldsTree = _sfc_main$1;
|
|
327
|
+
return openBlock(), createElementBlock("div", null, [
|
|
328
|
+
createBaseVNode("h3", {
|
|
329
|
+
flex: "",
|
|
330
|
+
"cursor-pointer": "",
|
|
331
|
+
"items-center": "",
|
|
332
|
+
"justify-between": "",
|
|
333
|
+
rounded: "",
|
|
334
|
+
"py-1": "",
|
|
335
|
+
class: "hover:bg-[#c2e9d7] hover:dark:bg-[#2c3e50]",
|
|
336
|
+
onClick: toggleExpanded
|
|
337
|
+
}, [
|
|
338
|
+
createBaseVNode("div", null, [
|
|
339
|
+
createVNode(_component_VExpandIcon, { value: unref(isExpanded) }, null, 8, ["value"]),
|
|
340
|
+
createBaseVNode("span", _hoisted_1, toDisplayString(_ctx.data.key), 1)
|
|
341
|
+
]),
|
|
342
|
+
createVNode(_component_VIconButton, {
|
|
343
|
+
mr2: "",
|
|
344
|
+
"flex-none": "",
|
|
345
|
+
title: `Copy ${_ctx.data.key} to clipboard`,
|
|
346
|
+
icon: "carbon-copy",
|
|
347
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(copy)(JSON.stringify(_ctx.data.value)), ["stop"]))
|
|
348
|
+
}, null, 8, ["title"])
|
|
349
|
+
]),
|
|
350
|
+
withDirectives(createBaseVNode("div", _hoisted_2, [
|
|
351
|
+
createVNode(_component_StateFieldsTree, {
|
|
352
|
+
id: _ctx.id,
|
|
353
|
+
data: _ctx.data.value,
|
|
354
|
+
"expanded-id": unref(expandedIdCache),
|
|
355
|
+
onUpdateExpanded: updateExpandedIdCache
|
|
356
|
+
}, null, 8, ["id", "data", "expanded-id"])
|
|
357
|
+
], 512), [
|
|
358
|
+
[vShow, unref(isExpanded)]
|
|
359
|
+
])
|
|
360
|
+
]);
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
|
|
365
|
+
/* Injected with object hook! */
|
|
366
|
+
|
|
367
|
+
export { _sfc_main as _, _sfc_main$2 as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aD as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-71609956.js';
|
|
2
2
|
|
|
3
3
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-71609956.js';
|
|
2
2
|
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "VIcon",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { aE as useClipboard, aF as useNotification, v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent } from './index-71609956.js';
|
|
2
|
+
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-4e5c5629.js';
|
|
3
3
|
|
|
4
4
|
function useCopy() {
|
|
5
5
|
const clipboard = useClipboard();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-
|
|
1
|
+
import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-71609956.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aD as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-71609956.js';
|
|
2
2
|
|
|
3
3
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
4
4
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _sfc_main$
|
|
2
|
-
import { _ as _sfc_main$
|
|
3
|
-
import { v as defineComponent, I as useVModel, b as resolveDirective, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, O as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId,
|
|
1
|
+
import { _ as _sfc_main$1 } from './VIconTitle.vue_vue_type_script_setup_true_lang-f04635a9.js';
|
|
2
|
+
import { _ as _sfc_main$2 } from './VIcon.vue_vue_type_script_setup_true_lang-4e5c5629.js';
|
|
3
|
+
import { v as defineComponent, I as useVModel, b as resolveDirective, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, O as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, aD as _export_sfc } from './index-71609956.js';
|
|
4
4
|
|
|
5
5
|
const _withScopeId = (n) => (pushScopeId("data-v-cf2e46eb"), n = n(), popScopeId(), n);
|
|
6
|
-
const _hoisted_1
|
|
6
|
+
const _hoisted_1 = ["open"];
|
|
7
7
|
const _hoisted_2 = { "text-base": "" };
|
|
8
8
|
const _hoisted_3 = {
|
|
9
9
|
key: 0,
|
|
@@ -12,7 +12,7 @@ const _hoisted_3 = {
|
|
|
12
12
|
};
|
|
13
13
|
const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("div", { class: "flex-auto" }, null, -1));
|
|
14
14
|
const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("div", { class: "x-divider" }, null, -1));
|
|
15
|
-
const _sfc_main
|
|
15
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "VSectionBlock",
|
|
17
17
|
props: {
|
|
18
18
|
icon: {},
|
|
@@ -30,8 +30,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
open.value = e.target.open;
|
|
31
31
|
}
|
|
32
32
|
return (_ctx, _cache) => {
|
|
33
|
-
const _component_VIcon = _sfc_main$
|
|
34
|
-
const _component_VIconTitle = _sfc_main$
|
|
33
|
+
const _component_VIcon = _sfc_main$2;
|
|
34
|
+
const _component_VIconTitle = _sfc_main$1;
|
|
35
35
|
const _directive_lazy_show = resolveDirective("lazy-show");
|
|
36
36
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
37
37
|
createBaseVNode("details", {
|
|
@@ -91,7 +91,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
91
91
|
], 2)), [
|
|
92
92
|
[_directive_lazy_show, unref(open)]
|
|
93
93
|
])
|
|
94
|
-
], 40, _hoisted_1
|
|
94
|
+
], 40, _hoisted_1),
|
|
95
95
|
_hoisted_5
|
|
96
96
|
], 64);
|
|
97
97
|
};
|
|
@@ -103,43 +103,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
103
103
|
/* unplugin-vue-components disabled */const VSectionBlock_vue_vue_type_style_index_0_scoped_cf2e46eb_lang = '';
|
|
104
104
|
/* Injected with object hook! */
|
|
105
105
|
|
|
106
|
-
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
107
|
-
|
|
108
|
-
/* Injected with object hook! */
|
|
109
|
-
|
|
110
|
-
const _hoisted_1 = { class: "n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base" };
|
|
111
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
112
|
-
__name: "VTextInput",
|
|
113
|
-
props: {
|
|
114
|
-
modelValue: { default: "" },
|
|
115
|
-
icon: {},
|
|
116
|
-
placeholder: {},
|
|
117
|
-
disabled: { type: Boolean },
|
|
118
|
-
type: { default: "text" }
|
|
119
|
-
},
|
|
120
|
-
setup(__props, { emit }) {
|
|
121
|
-
const props = __props;
|
|
122
|
-
const input = useVModel(props, "modelValue", emit, { passive: true });
|
|
123
|
-
return (_ctx, _cache) => {
|
|
124
|
-
const _component_VIcon = _sfc_main$3;
|
|
125
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
126
|
-
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
127
|
-
_ctx.icon ? (openBlock(), createBlock(_component_VIcon, {
|
|
128
|
-
key: 0,
|
|
129
|
-
icon: _ctx.icon,
|
|
130
|
-
class: "ml-0.3em mr-0.1em text-1.1em op50"
|
|
131
|
-
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
132
|
-
]),
|
|
133
|
-
withDirectives(createBaseVNode("input", mergeProps({
|
|
134
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(input) ? input.value = $event : null)
|
|
135
|
-
}, _ctx.$props, { class: "ml-0.4em w-full flex-auto n-bg-base !outline-none" }), null, 16), [
|
|
136
|
-
[vModelDynamic, unref(input)]
|
|
137
|
-
])
|
|
138
|
-
]);
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
});
|
|
106
|
+
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cf2e46eb"]]);
|
|
142
107
|
|
|
143
108
|
/* Injected with object hook! */
|
|
144
109
|
|
|
145
|
-
export {
|
|
110
|
+
export { __unplugin_components_3 as _ };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { _ as _sfc_main$1 } from './VIcon.vue_vue_type_script_setup_true_lang-4e5c5629.js';
|
|
2
|
+
import { v as defineComponent, I as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, aG as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, K as isRef, c as createBlock, g as createCommentVNode } from './index-71609956.js';
|
|
3
|
+
|
|
4
|
+
const _hoisted_1 = { class: "n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base" };
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "VTextInput",
|
|
7
|
+
props: {
|
|
8
|
+
modelValue: { default: "" },
|
|
9
|
+
icon: {},
|
|
10
|
+
placeholder: {},
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
type: { default: "text" }
|
|
13
|
+
},
|
|
14
|
+
setup(__props, { emit }) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const input = useVModel(props, "modelValue", emit, { passive: true });
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
const _component_VIcon = _sfc_main$1;
|
|
19
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
20
|
+
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
21
|
+
_ctx.icon ? (openBlock(), createBlock(_component_VIcon, {
|
|
22
|
+
key: 0,
|
|
23
|
+
icon: _ctx.icon,
|
|
24
|
+
class: "ml-0.3em mr-0.1em text-1.1em op50"
|
|
25
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
26
|
+
]),
|
|
27
|
+
withDirectives(createBaseVNode("input", mergeProps({
|
|
28
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(input) ? input.value = $event : null)
|
|
29
|
+
}, _ctx.$props, { class: "ml-0.4em w-full flex-auto n-bg-base !outline-none" }), null, 16), [
|
|
30
|
+
[vModelDynamic, unref(input)]
|
|
31
|
+
])
|
|
32
|
+
]);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
/* Injected with object hook! */
|
|
38
|
+
|
|
39
|
+
export { _sfc_main as _ };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { v as defineComponent, ab as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode,
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-52d64f52.js';
|
|
2
|
+
import { v as defineComponent, ab as useEventListener, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, aI as useDevtoolsClient } from './index-71609956.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = /* @__PURE__ */ createBaseVNode("div", null, " Inspecting Vue components ", -1);
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './VPanelGrids-
|
|
2
|
-
import { _ as __unplugin_components_7 } from './VCard-
|
|
3
|
-
import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { v as defineComponent, $ as ref,
|
|
5
|
-
import { r as rpc } from './rpc-
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as _sfc_main$
|
|
1
|
+
import { _ as __unplugin_components_0 } from './VPanelGrids-52d64f52.js';
|
|
2
|
+
import { _ as __unplugin_components_7 } from './VCard-7f086ce2.js';
|
|
3
|
+
import { _ as _sfc_main$9, u as useCopy } from './VIconButton.vue_vue_type_script_setup_true_lang-aa76fcd1.js';
|
|
4
|
+
import { v as defineComponent, $ as ref, aw as useElementSize, ax as onClickOutside, o as openBlock, c as createBlock, h as withCtx, e as createElementBlock, u as createVNode, x as createBaseVNode, f as renderSlot, k as mergeProps, z as unref, g as createCommentVNode, ay as Transition, a0 as computed, y as toDisplayString, q as normalizeClass, az as useStyleTag, l as normalizeStyle, aA as computedAsync, aB as useTimeAgo, F as Fragment, O as createTextVNode, R as _sfc_main$a, aC as onKeyDown, K as isRef, i as renderList } from './index-71609956.js';
|
|
5
|
+
import { r as rpc } from './rpc-4e27506e.js';
|
|
6
|
+
import { _ as __unplugin_components_3 } from './VSectionBlock-597971e4.js';
|
|
7
|
+
import { _ as _sfc_main$b } from './VTextInput.vue_vue_type_script_setup_true_lang-a597f8b8.js';
|
|
8
|
+
import { _ as _sfc_main$c } from './VIcon.vue_vue_type_script_setup_true_lang-4e5c5629.js';
|
|
8
9
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
9
|
-
import './VIconTitle.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import './VIconTitle.vue_vue_type_script_setup_true_lang-f04635a9.js';
|
|
10
11
|
|
|
11
12
|
const _hoisted_1$7 = {
|
|
12
13
|
relative: "",
|