vite-plugin-vue-devtools 1.0.0-rc.4 → 1.0.0-rc.6
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/README.md +14 -11
- package/README.zh-CN.md +8 -8
- package/client.d.ts +0 -2
- package/dist/client/assets/{DrawerRight.vue_vue_type_script_setup_true_lang-c5e61967.js → DrawerRight.vue_vue_type_script_setup_true_lang-ea4a391d.js} +2 -2
- package/dist/client/assets/{IconButton.vue_vue_type_script_setup_true_lang-0986c643.js → IconButton.vue_vue_type_script_setup_true_lang-c511c403.js} +1 -2
- package/dist/client/assets/{IconTitle.vue_vue_type_script_setup_true_lang-6c8cd627.js → IconTitle.vue_vue_type_script_setup_true_lang-3fda1be4.js} +1 -1
- package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-960de27c.js → IframeView.vue_vue_type_script_setup_true_lang-c329a152.js} +1 -1
- package/dist/client/assets/{PanelGrids-b286bc3a.js → PanelGrids-6c145a6d.js} +1 -1
- package/dist/client/assets/{SectionBlock-0efb0258.js → SectionBlock-6ff4d332.js} +2 -3
- package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-9d374998.js → StateFields.vue_vue_type_script_setup_true_lang-9f151653.js} +2 -4
- package/dist/client/assets/{Switch.vue_vue_type_script_setup_true_lang-1cb456df.js → Switch.vue_vue_type_script_setup_true_lang-f5fe047d.js} +1 -2
- package/dist/client/assets/{TextInput.vue_vue_type_script_setup_true_lang-f48c06e7.js → TextInput.vue_vue_type_script_setup_true_lang-f1de0ed2.js} +1 -2
- package/dist/client/assets/{__eyedropper-64cf5368.js → __eyedropper-fbe83c63.js} +2 -3
- package/dist/client/assets/{assets-097cb67f.js → assets-7672ec82.js} +7 -8
- package/dist/client/assets/{component-docs-4685eecc.js → component-docs-a7fb20ef.js} +4 -5
- package/dist/client/assets/{components-a345a26a.js → components-1e04b633.js} +12 -14
- package/dist/client/assets/{data-b08ac93e.js → data-cd80d678.js} +1 -1
- package/dist/client/assets/dayjs.min-f03ccd82.js +13 -0
- package/dist/client/assets/{documentations-1ee105b0.js → documentations-24dd3610.js} +2 -2
- package/dist/client/assets/{graph-b5237ca6.js → graph-c87c9a78.js} +2216 -4778
- package/dist/client/assets/index-b5475fe0.css +482 -0
- package/dist/client/assets/{index-e9eb3ad5.js → index-dd609791.js} +424 -274
- package/dist/client/assets/{inspect-7d1f032a.js → inspect-f78e94f7.js} +2 -2
- package/dist/client/assets/jse-theme-dark-d3f9a0f5.js +1565 -0
- package/dist/client/assets/{npm-ca738914.js → npm-2991504d.js} +9 -9
- package/dist/client/assets/{overview-696cca4c.js → overview-033bae24.js} +3 -4
- package/dist/client/assets/{pages-70fafa60.js → pages-a93f85aa.js} +7 -8
- package/dist/client/assets/{pinia-cc53425d.js → pinia-91d267b1.js} +4 -6
- package/dist/client/assets/{rerender-trace-3fb4c93e.js → rerender-trace-265ea878.js} +3 -3
- package/dist/client/assets/{routes-99d63142.js → routes-c821766b.js} +5 -7
- package/dist/client/assets/{settings-cbef4d71.js → settings-254c35a9.js} +27 -9
- package/dist/client/assets/{splitpanes.es-ec1c26e9.js → splitpanes.es-a962aa75.js} +1 -1
- package/dist/client/assets/{timeline-5bfd21e0.js → timeline-82d354dc.js} +6 -8
- package/dist/client/index.html +2 -2
- package/dist/vite.d.cts +10 -10
- package/dist/vite.d.mts +10 -10
- package/dist/vite.d.ts +10 -10
- package/package.json +6 -6
- package/src/views/ComponentInspector.vue +1 -1
- package/src/views/Main.vue +1 -1
- package/src/views/composables.ts +27 -19
- package/dist/client/assets/Icon.vue_vue_type_script_setup_true_lang-66500aa3.js +0 -19
- package/dist/client/assets/dayjs.min-ff0bd3aa.js +0 -13
- package/dist/client/assets/index-08df55bc.css +0 -482
- package/dist/client/assets/index-645ed09c.js +0 -48
- package/dist/client/assets/jse-theme-dark-8bbe1465.js +0 -1558
package/README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
> [!IMPORTANT]
|
|
2
|
+
> We are heavily refactoring the codebase, so there might only be limited support and a slow response now. The new version will be released soon, if you have any suggestions, please feel free to [create an issue](https://github.com/webfansplz/vite-plugin-vue-devtools/issues/new).
|
|
3
|
+
|
|
1
4
|
<p align="center">
|
|
2
5
|
<img src="https://github.com/webfansplz/vite-plugin-vue-devtools/raw/main/screenshots/bg.png" />
|
|
3
6
|
</p>
|
|
@@ -122,17 +125,17 @@ export default defineConfig({
|
|
|
122
125
|
interface AnalyzeOptions {
|
|
123
126
|
/**
|
|
124
127
|
* @default true
|
|
125
|
-
|
|
128
|
+
*/
|
|
126
129
|
rerenderTrace: boolean
|
|
127
130
|
}
|
|
128
131
|
|
|
129
132
|
interface VitePluginVueDevToolsOptions {
|
|
130
133
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
* append an import to the module id ending with `appendTo` instead of adding a script into body
|
|
135
|
+
* useful for projects that do not use html file as an entry
|
|
136
|
+
*
|
|
137
|
+
* WARNING: only set this if you know exactly what it does.
|
|
138
|
+
*/
|
|
136
139
|
appendTo?: string | RegExp
|
|
137
140
|
/**
|
|
138
141
|
* Enable Vue DevTools to analyze the codebase by using Babel
|
|
@@ -140,13 +143,13 @@ interface VitePluginVueDevToolsOptions {
|
|
|
140
143
|
* {
|
|
141
144
|
* rerenderTrace: true, // enable rerenderTrace feature
|
|
142
145
|
* }
|
|
143
|
-
|
|
146
|
+
*/
|
|
144
147
|
analyze?: Partial<AnalyzeOptions>
|
|
145
148
|
|
|
146
149
|
/**
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
+
* Customize openInEditor host (e.g. http://localhost:3000)
|
|
151
|
+
* @default false
|
|
152
|
+
*/
|
|
150
153
|
openInEditorHost?: string | false
|
|
151
154
|
}
|
|
152
155
|
```
|
|
@@ -154,7 +157,7 @@ interface VitePluginVueDevToolsOptions {
|
|
|
154
157
|
## 💡 Notice
|
|
155
158
|
|
|
156
159
|
- Only available in `development mode`.
|
|
157
|
-
- Only support `Vue3.0+` .
|
|
160
|
+
- Only support `Vue3.0+` and `Vite 3.1+`.
|
|
158
161
|
- Only supports single-instance `Vue` applications.
|
|
159
162
|
- Doesn't support `SSR` (If you're using `Nuxt`, use [nuxt/devtools](https://github.com/nuxt/devtools) directly).
|
|
160
163
|
- The plugin follows `Vue's DevTools` configuration, so if you have configured the `hide` option, it will also be applied in this plugin. e.g.
|
package/README.zh-CN.md
CHANGED
|
@@ -121,17 +121,17 @@ export default defineConfig({
|
|
|
121
121
|
interface AnalyzeOptions {
|
|
122
122
|
/**
|
|
123
123
|
* @default true
|
|
124
|
-
|
|
124
|
+
*/
|
|
125
125
|
rerenderTrace: boolean
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
interface VitePluginVueDevToolsOptions {
|
|
129
129
|
/**
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
* append an import to the module id ending with `appendTo` instead of adding a script into body
|
|
131
|
+
* useful for projects that do not use html file as an entry
|
|
132
|
+
*
|
|
133
|
+
* WARNING: only set this if you know exactly what it does.
|
|
134
|
+
*/
|
|
135
135
|
appendTo?: string | RegExp
|
|
136
136
|
|
|
137
137
|
/**
|
|
@@ -140,7 +140,7 @@ interface VitePluginVueDevToolsOptions {
|
|
|
140
140
|
* {
|
|
141
141
|
* rerenderTrace: true, // enable rerenderTrace feature
|
|
142
142
|
* }
|
|
143
|
-
|
|
143
|
+
*/
|
|
144
144
|
analyze?: Partial<AnalyzeOptions>
|
|
145
145
|
}
|
|
146
146
|
```
|
|
@@ -148,7 +148,7 @@ interface VitePluginVueDevToolsOptions {
|
|
|
148
148
|
## 💡 注意
|
|
149
149
|
|
|
150
150
|
- 仅在 `开发模式` 下可用。
|
|
151
|
-
- 仅支持 `Vue3.0+`
|
|
151
|
+
- 仅支持 `Vue3.0+` 和 `Vite 3.1+`。
|
|
152
152
|
- 仅支持单实例 `Vue` 应用程序。
|
|
153
153
|
- 不支持 `SSR` (如果您使用 `Nuxt` ,请使用 [nuxt/devtools](https://github.com/nuxt/devtools))。
|
|
154
154
|
- 该插件遵循 `Vue` 的 `DevTools` 配置,因此如果您配置了 `hide` 选项,它也将应用于该插件。例如
|
package/client.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ declare interface ExecNpmScriptOptions {
|
|
|
30
30
|
callback?: (type: string, data: string) => void
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
|
|
34
33
|
declare interface RPCFunctions {
|
|
35
34
|
componentGraph(): Promise<ModuleInfo[]>
|
|
36
35
|
inspectClientUrl(): string
|
|
@@ -50,7 +49,6 @@ declare interface RPCFunctions {
|
|
|
50
49
|
root(): string
|
|
51
50
|
}
|
|
52
51
|
|
|
53
|
-
|
|
54
52
|
declare interface PackageMeta {
|
|
55
53
|
type: string
|
|
56
54
|
version: string
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './IconButton.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { v as defineComponent, a$ as ref,
|
|
1
|
+
import { _ as _sfc_main$1 } from './IconButton.vue_vue_type_script_setup_true_lang-c511c403.js';
|
|
2
|
+
import { v as defineComponent, a$ as ref, cP as useElementSize, cf 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, P as Transition } from './index-dd609791.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
relative: "",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent } from './index-e9eb3ad5.js';
|
|
1
|
+
import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, bJ as _sfc_main$1, k as mergeProps, j as resolveDynamicComponent } from './index-dd609791.js';
|
|
3
2
|
|
|
4
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
4
|
__name: "IconButton",
|
|
@@ -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-dd609791.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
flex: "~ gap-3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as defineComponent,
|
|
1
|
+
import { v as defineComponent, cc as useColorMode, a$ as ref, a1 as computed, aZ as reactive, cv as useElementBounding, aP as onMounted, n as nextTick, bz as watchEffect, aU as onUnmounted, o as openBlock, e as createElementBlock, z as unref, g as createCommentVNode, x as createBaseVNode } from './index-dd609791.js';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bK as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-dd609791.js';
|
|
2
2
|
|
|
3
3
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
4
4
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { _ as _sfc_main$1 } from './IconTitle.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import {
|
|
3
|
-
import { v as defineComponent, bK 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, a9 as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, bJ as _export_sfc } from './index-e9eb3ad5.js';
|
|
1
|
+
import { _ as _sfc_main$1 } from './IconTitle.vue_vue_type_script_setup_true_lang-3fda1be4.js';
|
|
2
|
+
import { v as defineComponent, bL 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, a9 as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, bJ as _sfc_main$2, bK as _export_sfc } from './index-dd609791.js';
|
|
4
3
|
|
|
5
4
|
const _withScopeId = (n) => (pushScopeId("data-v-e966339e"), n = n(), popScopeId(), n);
|
|
6
5
|
const _hoisted_1 = ["open"];
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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-645ed09c.js';
|
|
4
|
-
import { _ as _sfc_main$4 } from './IconButton.vue_vue_type_script_setup_true_lang-0986c643.js';
|
|
1
|
+
import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, bJ as _sfc_main$3, cz as isComputed, aC as isRef, bd as toRaw, cA as isArray, cB as isMap, cC as isSet, cD as isRegExp, cE as toRawType, cF as isPlainObject, cG as escape, a1 as computed, cH as useCopy, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, cI as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, a$ as ref, cJ as useNotification, u as createVNode, bG as withModifiers, d as withDirectives, bv as vShow } from './index-dd609791.js';
|
|
2
|
+
import { _ as _sfc_main$4 } from './IconButton.vue_vue_type_script_setup_true_lang-c511c403.js';
|
|
5
3
|
|
|
6
4
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
5
|
__name: "ExpandIcon",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, bt as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, aC as isRef, c as createBlock, bq as vModelCheckbox, bE as withKeys } from './index-e9eb3ad5.js';
|
|
1
|
+
import { v as defineComponent, bL as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, bt as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, aC as isRef, c as createBlock, bJ as _sfc_main$2, bq as vModelCheckbox, bE as withKeys } from './index-dd609791.js';
|
|
3
2
|
|
|
4
3
|
const _hoisted_1$1 = { class: "n-text-input flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base" };
|
|
5
4
|
const _hoisted_2$1 = ["disabled"];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, br as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, aC as isRef, c as createBlock, g as createCommentVNode } from './index-e9eb3ad5.js';
|
|
1
|
+
import { v as defineComponent, bL as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, br as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, aC as isRef, c as createBlock, g as createCommentVNode, bJ as _sfc_main$1 } from './index-dd609791.js';
|
|
3
2
|
|
|
4
3
|
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
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './PanelGrids-
|
|
2
|
-
import { v as defineComponent,
|
|
3
|
-
import { h as checkIsSecurityContext } from './index-645ed09c.js';
|
|
1
|
+
import { _ as __unplugin_components_0 } from './PanelGrids-6c145a6d.js';
|
|
2
|
+
import { v as defineComponent, cQ as useRouter, a$ as ref, a1 as computed, cH as useCopy, cm as useEventListener, aP as onMounted, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, z as unref, e as createElementBlock, l as normalizeStyle, a9 as createTextVNode, y as toDisplayString, c6 as useDevToolsClient, bY as useFrameState, u as createVNode, cR as checkIsSecurityContext } from './index-dd609791.js';
|
|
4
3
|
|
|
5
4
|
const _hoisted_1 = {
|
|
6
5
|
key: 0
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './PanelGrids-
|
|
2
|
-
import { v as defineComponent, a1 as computed, o as openBlock, e as createElementBlock, y as toDisplayString, z as unref, q as normalizeClass,
|
|
3
|
-
import { _ as _sfc_main$d } from './DrawerRight.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as _sfc_main$b } from './TextInput.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as _sfc_main$8 } from './IconButton.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as __unplugin_components_3 } from './SectionBlock-0efb0258.js';
|
|
1
|
+
import { _ as __unplugin_components_0 } from './PanelGrids-6c145a6d.js';
|
|
2
|
+
import { v as defineComponent, a1 as computed, o as openBlock, e as createElementBlock, y as toDisplayString, z as unref, q as normalizeClass, cK as useStyleTag, l as normalizeStyle, c as createBlock, x as createBaseVNode, bL as useVModel, cJ as useNotification, cL as computedAsync, cH as useCopy, cM as useTimeAgo, a$ as ref, F as Fragment, u as createVNode, g as createCommentVNode, a9 as createTextVNode, h as withCtx, aC as isRef, ci as rpc, c6 as useDevToolsClient, bM as _sfc_main$9, bN as _sfc_main$a, r as resolveComponent, f as renderSlot, i as renderList, bJ as _sfc_main$c, cN as onKeyDown, cn as hookApi, c7 as rootPath, _ as __unplugin_components_7, cO as useDebounceFn } from './index-dd609791.js';
|
|
3
|
+
import { _ as _sfc_main$d } from './DrawerRight.vue_vue_type_script_setup_true_lang-ea4a391d.js';
|
|
4
|
+
import { _ as _sfc_main$b } from './TextInput.vue_vue_type_script_setup_true_lang-f1de0ed2.js';
|
|
5
|
+
import { _ as _sfc_main$8 } from './IconButton.vue_vue_type_script_setup_true_lang-c511c403.js';
|
|
6
|
+
import { _ as __unplugin_components_3 } from './SectionBlock-6ff4d332.js';
|
|
8
7
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
9
|
-
import './IconTitle.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import './IconTitle.vue_vue_type_script_setup_true_lang-3fda1be4.js';
|
|
10
9
|
|
|
11
10
|
const _hoisted_1$6 = ["title"];
|
|
12
11
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { v as defineComponent,
|
|
2
|
-
import { _ as _sfc_main$1 } from './TextInput.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { g, M } from './splitpanes.es-
|
|
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-dd609791.js';
|
|
2
|
+
import { _ as _sfc_main$1 } from './TextInput.vue_vue_type_script_setup_true_lang-f1de0ed2.js';
|
|
3
|
+
import { g, M } from './splitpanes.es-a962aa75.js';
|
|
4
4
|
import { F as Fuse } from './fuse.esm-c317b696.js';
|
|
5
|
-
import { U as Uu } from './jse-theme-dark-
|
|
6
|
-
import './Icon.vue_vue_type_script_setup_true_lang-66500aa3.js';
|
|
5
|
+
import { U as Uu } from './jse-theme-dark-d3f9a0f5.js';
|
|
7
6
|
|
|
8
7
|
const _hoisted_1 = {
|
|
9
8
|
relative: "",
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { _ as __unplugin_components_0 } from './PanelGrids-
|
|
2
|
-
import { a$ as ref, a1 as computed, b8 as shallowRef,
|
|
3
|
-
import { a as _sfc_main$2, _ as _sfc_main$4 } from './StateFields.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { g as getInstanceName, c as classify, k as kebabize, i as isFragment, b as isBeingDestroyed, d as getUniqueComponentId, e as getRenderKey, f as getInstanceState, h as getInstanceDetails } from './data-
|
|
5
|
-
import { _ as _sfc_main$3 } from './TextInput.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { g, M } from './splitpanes.es-
|
|
7
|
-
import './
|
|
8
|
-
import './index-645ed09c.js';
|
|
9
|
-
import './IconButton.vue_vue_type_script_setup_true_lang-0986c643.js';
|
|
1
|
+
import { _ as __unplugin_components_0 } from './PanelGrids-6c145a6d.js';
|
|
2
|
+
import { a$ as ref, a1 as computed, b8 as shallowRef, c6 as useDevToolsClient, cw as useThrottleFn, v as defineComponent, by as watch, r as resolveComponent, o as openBlock, e as createElementBlock, x as createBaseVNode, z as unref, c as createBlock, q as normalizeClass, y as toDisplayString, l as normalizeStyle, F as Fragment, i as renderList, g as createCommentVNode, cp as watchDebounced, aP as onMounted, cx as onVueInstanceUpdate, cu as useMagicKeys, bz as watchEffect, u as createVNode, h as withCtx, aC as isRef, c7 as rootPath, aZ as reactive, _ as __unplugin_components_7, cy as instance } from './index-dd609791.js';
|
|
3
|
+
import { a as _sfc_main$2, _ as _sfc_main$4 } from './StateFields.vue_vue_type_script_setup_true_lang-9f151653.js';
|
|
4
|
+
import { g as getInstanceName, c as classify, k as kebabize, i as isFragment, b as isBeingDestroyed, d as getUniqueComponentId, e as getRenderKey, f as getInstanceState, h as getInstanceDetails } from './data-cd80d678.js';
|
|
5
|
+
import { _ as _sfc_main$3 } from './TextInput.vue_vue_type_script_setup_true_lang-f1de0ed2.js';
|
|
6
|
+
import { g, M } from './splitpanes.es-a962aa75.js';
|
|
7
|
+
import './IconButton.vue_vue_type_script_setup_true_lang-c511c403.js';
|
|
10
8
|
|
|
11
|
-
const t
|
|
9
|
+
const t=t=>"object"==typeof t&&null!=t&&1===t.nodeType,e$1=(t,e)=>(!e||"hidden"!==t)&&("visible"!==t&&"clip"!==t),n=(t,n)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){const o=getComputedStyle(t,null);return e$1(o.overflowY,n)||e$1(o.overflowX,n)||(t=>{const e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return !!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)})(t)}return !1},o$1=(t,e,n,o,i,l,r,d)=>l<t&&r>e||l>t&&r<e?0:l<=t&&d<=n||r>=e&&d>=n?l-t-o:r>e&&d<n||l<t&&d>n?r-e+i:0,i=t=>{const e=t.parentElement;return null==e?t.getRootNode().host||null:e},l=(e,l)=>{var r,d,s,h;if("undefined"==typeof document)return [];const{scrollMode:c,block:f,inline:u,boundary:a,skipOverflowHiddenElements:g}=l,m="function"==typeof a?a:t=>t!==a;if(!t(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,w=[];let W=e;for(;t(W)&&m(W);){if(W=i(W),W===p){w.push(W);break}null!=W&&W===document.body&&n(W)&&!n(document.documentElement)||null!=W&&n(W,g)&&w.push(W);}const H=null!=(d=null==(r=window.visualViewport)?void 0:r.width)?d:innerWidth,b=null!=(h=null==(s=window.visualViewport)?void 0:s.height)?h:innerHeight,{scrollX:v,scrollY:y}=window,{height:E,width:M,top:x,right:I,bottom:C,left:R}=e.getBoundingClientRect();let T="start"===f||"nearest"===f?x:"end"===f?C:x+E/2,V="center"===u?R+M/2:"end"===u?I:R;const k=[];for(let t=0;t<w.length;t++){const e=w[t],{height:n,width:i,top:l,right:r,bottom:d,left:s}=e.getBoundingClientRect();if("if-needed"===c&&x>=0&&R>=0&&C<=b&&I<=H&&x>=l&&C<=d&&R>=s&&I<=r)return k;const h=getComputedStyle(e),a=parseInt(h.borderLeftWidth,10),g=parseInt(h.borderTopWidth,10),m=parseInt(h.borderRightWidth,10),W=parseInt(h.borderBottomWidth,10);let B=0,D=0;const L="offsetWidth"in e?e.offsetWidth-e.clientWidth-a-m:0,S="offsetHeight"in e?e.offsetHeight-e.clientHeight-g-W:0,X="offsetWidth"in e?0===e.offsetWidth?0:i/e.offsetWidth:0,Y="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(p===e)B="start"===f?T:"end"===f?T-b:"nearest"===f?o$1(y,y+b,b,g,W,y+T,y+T+E,E):T-b/2,D="start"===u?V:"center"===u?V-H/2:"end"===u?V-H:o$1(v,v+H,H,a,m,v+V,v+V+M,M),B=Math.max(0,B+y),D=Math.max(0,D+v);else {B="start"===f?T-l-g:"end"===f?T-d+W+S:"nearest"===f?o$1(l,d,n,g,W+S,T,T+E,E):T-(l+n/2)+S/2,D="start"===u?V-s-a:"center"===u?V-(s+i/2)+L/2:"end"===u?V-r+m+L:o$1(s,r,i,a,m+L,V,V+M,M);const{scrollLeft:t,scrollTop:h}=e;B=Math.max(0,Math.min(h+B/Y,e.scrollHeight-n/Y+S)),D=Math.max(0,Math.min(t+D/X,e.scrollWidth-i/X+L)),T+=h-B,V+=t-D;}k.push({el:e,top:B,left:D});}return k};
|
|
12
10
|
/* Injected with object hook! */
|
|
13
11
|
|
|
14
|
-
const o=
|
|
12
|
+
const o=t=>!1===t?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&0!==Object.keys(t).length)(t)?t:{block:"start",inline:"nearest"};function e(e,r){if(!e.isConnected||!(t=>{let o=t;for(;o&&o.parentNode;){if(o.parentNode===document)return !0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode;}return !1})(e))return;const n=(t=>{const o=window.getComputedStyle(t);return {top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(e);if((t=>"object"==typeof t&&"function"==typeof t.behavior)(r))return r.behavior(l(e,r));const l$1="boolean"==typeof r||null==r?void 0:r.behavior;for(const{el:a,top:i,left:s}of l(e,o(r))){const t=i-n.top+n.bottom,o=s-n.left+n.right;a.scroll({top:t,left:o,behavior:l$1});}}
|
|
15
13
|
/* Injected with object hook! */
|
|
16
14
|
|
|
17
15
|
class ComponentFilter {
|
|
@@ -23,7 +21,7 @@ class ComponentFilter {
|
|
|
23
21
|
* Check if an instance is qualified.
|
|
24
22
|
*
|
|
25
23
|
* @param {Vue|Vnode} instance
|
|
26
|
-
* @return {
|
|
24
|
+
* @return {boolean}
|
|
27
25
|
*/
|
|
28
26
|
isQualified(instance) {
|
|
29
27
|
const name = getInstanceName(instance);
|
|
@@ -242,7 +240,7 @@ class ComponentWalker {
|
|
|
242
240
|
* Capture the meta information of an instance. (recursive)
|
|
243
241
|
*
|
|
244
242
|
* @param {Vue} instance
|
|
245
|
-
* @return {
|
|
243
|
+
* @return {object}
|
|
246
244
|
*/
|
|
247
245
|
async capture(instance, list, depth) {
|
|
248
246
|
if (!instance)
|
|
@@ -400,7 +398,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
400
398
|
function autoScroll() {
|
|
401
399
|
if (isSelected.value && toggleEl.value) {
|
|
402
400
|
const el = toggleEl.value;
|
|
403
|
-
|
|
401
|
+
e(el, {
|
|
404
402
|
scrollMode: "if-needed",
|
|
405
403
|
block: "center",
|
|
406
404
|
behavior: "smooth",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { c as commonjsGlobal, a as getDefaultExportFromCjs } from './_commonjsHelpers-7e83dbf2.js';
|
|
2
|
+
|
|
3
|
+
var dayjs_min = {exports: {}};/* Injected with object hook! */
|
|
4
|
+
|
|
5
|
+
(function (module, exports) {
|
|
6
|
+
!function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
|
|
7
|
+
} (dayjs_min));
|
|
8
|
+
|
|
9
|
+
var dayjs_minExports = dayjs_min.exports;
|
|
10
|
+
const dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
|
|
11
|
+
/* Injected with object hook! */
|
|
12
|
+
|
|
13
|
+
export { dayjs as d };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, a9 as createTextVNode, y as toDisplayString, g as createCommentVNode, e as createElementBlock, bG as withModifiers, f as renderSlot, _ as __unplugin_components_7, a$ as ref, z as unref, u as createVNode, T as Teleport, F as Fragment, i as renderList } from './index-
|
|
2
|
-
import { _ as _sfc_main$2 } from './IframeView.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { v as defineComponent, r as resolveComponent, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, a9 as createTextVNode, y as toDisplayString, g as createCommentVNode, e as createElementBlock, bG as withModifiers, f as renderSlot, _ as __unplugin_components_7, a$ as ref, z as unref, u as createVNode, T as Teleport, F as Fragment, i as renderList } from './index-dd609791.js';
|
|
2
|
+
import { _ as _sfc_main$2 } from './IframeView.vue_vue_type_script_setup_true_lang-c329a152.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1$1 = {
|
|
5
5
|
flex: "~ col gap2",
|