@poveste/vendors 0.15.0 → 0.16.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.
- package/README.md +15 -1
- package/iconify.d.ts +5 -0
- package/iconify.js +5 -0
- package/package.json +39 -34
- package/pinia.d.ts +5 -0
- package/pinia.js +5 -0
- package/vue-router.d.ts +5 -0
- package/vue-router.js +5 -0
- package/vue-use.d.ts +5 -0
- package/vue-use.js +5 -0
- package/vue.d.ts +5 -0
- package/vue.js +9 -0
- package/dist/client/b-floating-vue.d.ts +0 -3
- package/dist/client/b-floating-vue.js +0 -3377
- package/dist/client/b-iconify.d.ts +0 -1
- package/dist/client/b-iconify.js +0 -1896
- package/dist/client/b-pinia.d.ts +0 -1
- package/dist/client/b-pinia.js +0 -1492
- package/dist/client/b-scroll.d.ts +0 -2
- package/dist/client/b-scroll.js +0 -7
- package/dist/client/b-vue-router.d.ts +0 -1
- package/dist/client/b-vue-router.js +0 -3058
- package/dist/client/b-vue-use.d.ts +0 -1
- package/dist/client/b-vue-use.js +0 -10774
- package/dist/client/b-vue.d.ts +0 -1
- package/dist/client/b-vue.js +0 -1
- package/dist/client/devtools-api.js +0 -6568
- package/dist/client/index.js +0 -185
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +0 -31
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/dist/client/node_modules/@babel/parser/package.json +0 -50
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -262
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +0 -2796
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +0 -3616
- package/dist/client/node_modules/@babel/types/package.json +0 -39
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +0 -535
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +0 -535
- package/dist/client/node_modules/@floating-ui/core/package.json +0 -63
- package/dist/client/node_modules/@floating-ui/dom/index.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/package.json +0 -74
- package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +0 -31
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +0 -11
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +0 -128
- package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +0 -12
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +0 -3
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +0 -7
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +0 -17
- package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +0 -3
- package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +0 -105
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +0 -105
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +0 -47
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +0 -47
- package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +0 -47
- package/dist/client/node_modules/@floating-ui/utils/dom/package.json +0 -6
- package/dist/client/node_modules/@floating-ui/utils/package.json +0 -70
- package/dist/client/node_modules/@iconify/types/package.json +0 -23
- package/dist/client/node_modules/@iconify/types/provider.d.ts +0 -44
- package/dist/client/node_modules/@iconify/types/types.d.ts +0 -272
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +0 -420
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +0 -109
- package/dist/client/node_modules/@iconify/vue/offline/package.json +0 -14
- package/dist/client/node_modules/@iconify/vue/package.json +0 -62
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +0 -88
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/set-array.d.ts +0 -32
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +0 -43
- package/dist/client/node_modules/@jridgewell/gen-mapping/package.json +0 -67
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +0 -89
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +0 -33
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +0 -13
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/types.d.mts +0 -44
- package/dist/client/node_modules/@jridgewell/remapping/package.json +0 -71
- package/dist/client/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.mts +0 -15
- package/dist/client/node_modules/@jridgewell/remapping/types/remapping.d.mts +0 -21
- package/dist/client/node_modules/@jridgewell/remapping/types/source-map-tree.d.mts +0 -46
- package/dist/client/node_modules/@jridgewell/remapping/types/source-map.d.mts +0 -19
- package/dist/client/node_modules/@jridgewell/remapping/types/types.d.mts +0 -16
- package/dist/client/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +0 -4
- package/dist/client/node_modules/@jridgewell/resolve-uri/package.json +0 -69
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +0 -64
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +0 -5
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +0 -50
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +0 -11
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +0 -16
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +0 -9
- package/dist/client/node_modules/@jridgewell/trace-mapping/package.json +0 -67
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +0 -33
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts +0 -4
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +0 -9
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +0 -4
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/sort.d.mts +0 -4
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +0 -17
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts +0 -5
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +0 -80
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/types.d.mts +0 -107
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +0 -265
- package/dist/client/node_modules/@types/web-bluetooth/package.json +0 -46
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +0 -1120
- package/dist/client/node_modules/@vue/compiler-core/package.json +0 -58
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +0 -45
- package/dist/client/node_modules/@vue/compiler-dom/package.json +0 -57
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +0 -487
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +0 -67
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +0 -4
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +0 -34
- package/dist/client/node_modules/@vue/devtools-api/dist/index-node.d.ts +0 -11
- package/dist/client/node_modules/@vue/devtools-api/dist/index.d.ts +0 -2
- package/dist/client/node_modules/@vue/devtools-api/package.json +0 -38
- package/dist/client/node_modules/@vue/devtools-kit/dist/index.d.ts +0 -1170
- package/dist/client/node_modules/@vue/devtools-kit/global.d.ts +0 -20
- package/dist/client/node_modules/@vue/devtools-kit/package.json +0 -44
- package/dist/client/node_modules/@vue/devtools-kit/types.d.ts +0 -2
- package/dist/client/node_modules/@vue/devtools-shared/dist/index.d.ts +0 -40
- package/dist/client/node_modules/@vue/devtools-shared/package.json +0 -33
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +0 -757
- package/dist/client/node_modules/@vue/reactivity/package.json +0 -55
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +0 -1868
- package/dist/client/node_modules/@vue/runtime-core/package.json +0 -52
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +0 -1452
- package/dist/client/node_modules/@vue/runtime-dom/package.json +0 -60
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +0 -65
- package/dist/client/node_modules/@vue/server-renderer/package.json +0 -53
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +0 -334
- package/dist/client/node_modules/@vue/shared/package.json +0 -47
- package/dist/client/node_modules/@vue-macros/common/dist/index.d.ts +0 -124
- package/dist/client/node_modules/@vue-macros/common/package.json +0 -63
- package/dist/client/node_modules/@vueuse/core/dist/index.d.ts +0 -5860
- package/dist/client/node_modules/@vueuse/core/dist/metadata.d.mts +0 -1
- package/dist/client/node_modules/@vueuse/core/package.json +0 -56
- package/dist/client/node_modules/@vueuse/metadata/dist/index.d.ts +0 -81
- package/dist/client/node_modules/@vueuse/metadata/package.json +0 -41
- package/dist/client/node_modules/@vueuse/shared/dist/index.d.ts +0 -1511
- package/dist/client/node_modules/@vueuse/shared/package.json +0 -45
- package/dist/client/node_modules/acorn/dist/acorn.d.mts +0 -897
- package/dist/client/node_modules/acorn/dist/acorn.d.ts +0 -897
- package/dist/client/node_modules/acorn/package.json +0 -50
- package/dist/client/node_modules/ast-kit/dist/index.d.ts +0 -380
- package/dist/client/node_modules/ast-kit/package.json +0 -63
- package/dist/client/node_modules/ast-walker-scope/dist/index.d.mts +0 -51
- package/dist/client/node_modules/ast-walker-scope/package.json +0 -60
- package/dist/client/node_modules/birpc/dist/index.d.mts +0 -215
- package/dist/client/node_modules/birpc/dist/index.d.ts +0 -215
- package/dist/client/node_modules/birpc/package.json +0 -57
- package/dist/client/node_modules/chokidar/handler.d.ts +0 -90
- package/dist/client/node_modules/chokidar/index.d.ts +0 -217
- package/dist/client/node_modules/chokidar/package.json +0 -63
- package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +0 -75
- package/dist/client/node_modules/compute-scroll-into-view/package.json +0 -82
- package/dist/client/node_modules/confbox/dist/_chunks/_format.d.mts +0 -25
- package/dist/client/node_modules/confbox/dist/index.d.mts +0 -34
- package/dist/client/node_modules/confbox/dist/ini.d.mts +0 -62
- package/dist/client/node_modules/confbox/dist/json5.d.mts +0 -59
- package/dist/client/node_modules/confbox/dist/jsonc.d.mts +0 -41
- package/dist/client/node_modules/confbox/dist/toml.d.mts +0 -23
- package/dist/client/node_modules/confbox/dist/yaml.d.mts +0 -96
- package/dist/client/node_modules/confbox/package.json +0 -67
- package/dist/client/node_modules/csstype/index.d.ts +0 -22569
- package/dist/client/node_modules/csstype/package.json +0 -70
- package/dist/client/node_modules/entities/decode.d.ts +0 -3
- package/dist/client/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
- package/dist/client/node_modules/entities/dist/commonjs/decode.d.ts +0 -205
- package/dist/client/node_modules/entities/dist/commonjs/encode.d.ts +0 -22
- package/dist/client/node_modules/entities/dist/commonjs/escape.d.ts +0 -46
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
- package/dist/client/node_modules/entities/dist/commonjs/index.d.ts +0 -96
- package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +0 -17
- package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
- package/dist/client/node_modules/entities/dist/commonjs/package.json +0 -3
- package/dist/client/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
- package/dist/client/node_modules/entities/dist/esm/decode.d.ts +0 -205
- package/dist/client/node_modules/entities/dist/esm/encode.d.ts +0 -22
- package/dist/client/node_modules/entities/dist/esm/escape.d.ts +0 -46
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
- package/dist/client/node_modules/entities/dist/esm/index.d.ts +0 -96
- package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
- package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
- package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
- package/dist/client/node_modules/entities/dist/esm/package.json +0 -3
- package/dist/client/node_modules/entities/escape.d.ts +0 -3
- package/dist/client/node_modules/entities/package.json +0 -120
- package/dist/client/node_modules/estree-walker/dist/esm/package.json +0 -1
- package/dist/client/node_modules/estree-walker/package.json +0 -37
- package/dist/client/node_modules/estree-walker/src/package.json +0 -1
- package/dist/client/node_modules/estree-walker/types/async.d.ts +0 -53
- package/dist/client/node_modules/estree-walker/types/index.d.ts +0 -56
- package/dist/client/node_modules/estree-walker/types/sync.d.ts +0 -53
- package/dist/client/node_modules/estree-walker/types/walker.d.ts +0 -37
- package/dist/client/node_modules/exsolve/dist/index.d.mts +0 -66
- package/dist/client/node_modules/exsolve/package.json +0 -42
- package/dist/client/node_modules/fdir/dist/index.d.mts +0 -155
- package/dist/client/node_modules/fdir/package.json +0 -103
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +0 -398
- package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +0 -398
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +0 -495
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +0 -474
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +0 -37
- package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +0 -9
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +0 -414
- package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +0 -6
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +0 -398
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +0 -67
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +0 -11
- package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +0 -13
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +0 -27
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +0 -2239
- package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +0 -2
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +0 -14
- package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +0 -3
- package/dist/client/node_modules/floating-vue/package.json +0 -80
- package/dist/client/node_modules/hookable/dist/index.d.ts +0 -103
- package/dist/client/node_modules/hookable/package.json +0 -49
- package/dist/client/node_modules/local-pkg/dist/index.d.mts +0 -42
- package/dist/client/node_modules/local-pkg/dist/index.d.ts +0 -42
- package/dist/client/node_modules/local-pkg/package.json +0 -65
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +0 -289
- package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +0 -289
- package/dist/client/node_modules/magic-string/package.json +0 -67
- package/dist/client/node_modules/magic-string-ast/dist/index.d.ts +0 -67
- package/dist/client/node_modules/magic-string-ast/package.json +0 -64
- package/dist/client/node_modules/mlly/dist/index.d.mts +0 -564
- package/dist/client/node_modules/mlly/dist/index.d.ts +0 -564
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.mts +0 -32
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.ts +0 -32
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.mts +0 -58
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.ts +0 -58
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.mts +0 -41
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.ts +0 -41
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.mts +0 -24
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.ts +0 -24
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.mts +0 -22
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.ts +0 -22
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.mts +0 -95
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.ts +0 -95
- package/dist/client/node_modules/mlly/node_modules/confbox/json5.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/confbox/jsonc.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/confbox/package.json +0 -86
- package/dist/client/node_modules/mlly/node_modules/confbox/toml.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/confbox/yaml.d.ts +0 -2
- package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.mts +0 -411
- package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.ts +0 -411
- package/dist/client/node_modules/mlly/node_modules/pkg-types/package.json +0 -47
- package/dist/client/node_modules/mlly/package.json +0 -55
- package/dist/client/node_modules/muggle-string/out/base.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/basic.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/binarySearch.d.ts +0 -1
- package/dist/client/node_modules/muggle-string/out/common.d.ts +0 -9
- package/dist/client/node_modules/muggle-string/out/getLength.d.ts +0 -2
- package/dist/client/node_modules/muggle-string/out/index.d.ts +0 -10
- package/dist/client/node_modules/muggle-string/out/map.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/overwriteSource.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/replace.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/segment.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/sourceBased.d.ts +0 -3
- package/dist/client/node_modules/muggle-string/out/toString.d.ts +0 -2
- package/dist/client/node_modules/muggle-string/out/track.d.ts +0 -6
- package/dist/client/node_modules/muggle-string/out/types.d.ts +0 -16
- package/dist/client/node_modules/muggle-string/package.json +0 -22
- package/dist/client/node_modules/nanoid/async/index.d.ts +0 -56
- package/dist/client/node_modules/nanoid/async/package.json +0 -12
- package/dist/client/node_modules/nanoid/index.d.ts +0 -91
- package/dist/client/node_modules/nanoid/non-secure/index.d.ts +0 -33
- package/dist/client/node_modules/nanoid/non-secure/package.json +0 -6
- package/dist/client/node_modules/nanoid/package.json +0 -89
- package/dist/client/node_modules/nanoid/url-alphabet/package.json +0 -6
- package/dist/client/node_modules/nostics/dist/diagnostic-wduO7saY.d.mts +0 -295
- package/dist/client/node_modules/nostics/dist/formatters/ansi.d.mts +0 -15
- package/dist/client/node_modules/nostics/dist/formatters/json.d.mts +0 -7
- package/dist/client/node_modules/nostics/dist/index.d.mts +0 -51
- package/dist/client/node_modules/nostics/dist/reporters/dev.d.mts +0 -13
- package/dist/client/node_modules/nostics/dist/reporters/fetch.d.mts +0 -11
- package/dist/client/node_modules/nostics/dist/reporters/node.d.mts +0 -43
- package/dist/client/node_modules/nostics/package.json +0 -125
- package/dist/client/node_modules/pathe/dist/index.d.mts +0 -47
- package/dist/client/node_modules/pathe/dist/index.d.ts +0 -47
- package/dist/client/node_modules/pathe/dist/utils.d.mts +0 -32
- package/dist/client/node_modules/pathe/dist/utils.d.ts +0 -32
- package/dist/client/node_modules/pathe/package.json +0 -61
- package/dist/client/node_modules/pathe/utils.d.ts +0 -1
- package/dist/client/node_modules/perfect-debounce/dist/index.d.mts +0 -49
- package/dist/client/node_modules/perfect-debounce/package.json +0 -41
- package/dist/client/node_modules/picocolors/package.json +0 -25
- package/dist/client/node_modules/picocolors/picocolors.d.ts +0 -5
- package/dist/client/node_modules/picocolors/types.d.ts +0 -51
- package/dist/client/node_modules/picomatch/package.json +0 -83
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +0 -955
- package/dist/client/node_modules/pinia/package.json +0 -82
- package/dist/client/node_modules/pkg-types/dist/index.d.mts +0 -695
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/_format.d.mts +0 -22
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/libs/js-yaml.d.mts +0 -33
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/index.d.mts +0 -7
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/ini.d.mts +0 -59
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json.d.mts +0 -25
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json5.d.mts +0 -55
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/jsonc.d.mts +0 -29
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/toml.d.mts +0 -20
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/yaml.d.mts +0 -101
- package/dist/client/node_modules/pkg-types/node_modules/confbox/package.json +0 -68
- package/dist/client/node_modules/pkg-types/package.json +0 -47
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +0 -139
- package/dist/client/node_modules/postcss/lib/comment.d.ts +0 -67
- package/dist/client/node_modules/postcss/lib/container.d.ts +0 -474
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +0 -247
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +0 -150
- package/dist/client/node_modules/postcss/lib/document.d.ts +0 -68
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +0 -9
- package/dist/client/node_modules/postcss/lib/input.d.ts +0 -226
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +0 -189
- package/dist/client/node_modules/postcss/lib/list.d.ts +0 -60
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +0 -45
- package/dist/client/node_modules/postcss/lib/node.d.ts +0 -555
- package/dist/client/node_modules/postcss/lib/parse.d.ts +0 -9
- package/dist/client/node_modules/postcss/lib/postcss.d.mts +0 -66
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +0 -464
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +0 -80
- package/dist/client/node_modules/postcss/lib/processor.d.ts +0 -114
- package/dist/client/node_modules/postcss/lib/result.d.ts +0 -204
- package/dist/client/node_modules/postcss/lib/root.d.ts +0 -86
- package/dist/client/node_modules/postcss/lib/rule.d.ts +0 -126
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +0 -45
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +0 -9
- package/dist/client/node_modules/postcss/lib/warning.d.ts +0 -146
- package/dist/client/node_modules/postcss/package.json +0 -88
- package/dist/client/node_modules/quansync/dist/index.d.mts +0 -22
- package/dist/client/node_modules/quansync/dist/index.d.ts +0 -22
- package/dist/client/node_modules/quansync/dist/macro.d.mts +0 -18
- package/dist/client/node_modules/quansync/dist/macro.d.ts +0 -18
- package/dist/client/node_modules/quansync/dist/types.d.mts +0 -27
- package/dist/client/node_modules/quansync/dist/types.d.ts +0 -27
- package/dist/client/node_modules/quansync/package.json +0 -95
- package/dist/client/node_modules/readdirp/index.d.ts +0 -117
- package/dist/client/node_modules/readdirp/package.json +0 -62
- package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +0 -79
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +0 -80
- package/dist/client/node_modules/scule/dist/index.d.mts +0 -57
- package/dist/client/node_modules/scule/dist/index.d.ts +0 -57
- package/dist/client/node_modules/scule/package.json +0 -43
- package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
- package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
- package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +0 -1
- package/dist/client/node_modules/source-map-js/package.json +0 -71
- package/dist/client/node_modules/source-map-js/source-map.d.ts +0 -104
- package/dist/client/node_modules/tinyglobby/dist/index.d.mts +0 -148
- package/dist/client/node_modules/tinyglobby/package.json +0 -70
- package/dist/client/node_modules/ufo/dist/index.d.mts +0 -714
- package/dist/client/node_modules/ufo/dist/index.d.ts +0 -714
- package/dist/client/node_modules/ufo/package.json +0 -48
- package/dist/client/node_modules/unplugin/dist/index.d.mts +0 -241
- package/dist/client/node_modules/unplugin/dist/rspack/loaders/load.d.mts +0 -4
- package/dist/client/node_modules/unplugin/dist/rspack/loaders/transform.d.mts +0 -4
- package/dist/client/node_modules/unplugin/dist/webpack/loaders/load.d.mts +0 -4
- package/dist/client/node_modules/unplugin/dist/webpack/loaders/transform.d.mts +0 -4
- package/dist/client/node_modules/unplugin/package.json +0 -146
- package/dist/client/node_modules/unplugin-utils/dist/index.d.ts +0 -31
- package/dist/client/node_modules/unplugin-utils/package.json +0 -61
- package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +0 -1
- package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +0 -1
- package/dist/client/node_modules/vue/compiler-sfc/package.json +0 -4
- package/dist/client/node_modules/vue/dist/vue.d.mts +0 -7
- package/dist/client/node_modules/vue/dist/vue.d.ts +0 -7
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +0 -25
- package/dist/client/node_modules/vue/jsx-runtime/package.json +0 -5
- package/dist/client/node_modules/vue/jsx.d.ts +0 -22
- package/dist/client/node_modules/vue/package.json +0 -112
- package/dist/client/node_modules/vue/server-renderer/index.d.mts +0 -1
- package/dist/client/node_modules/vue/server-renderer/index.d.ts +0 -1
- package/dist/client/node_modules/vue/server-renderer/package.json +0 -4
- package/dist/client/node_modules/vue-resize/package.json +0 -77
- package/dist/client/node_modules/vue-router/dist/experimental/index.d.ts +0 -7
- package/dist/client/node_modules/vue-router/dist/experimental/pinia-colada.d.ts +0 -151
- package/dist/client/node_modules/vue-router/dist/index-D7ja2BKs.d.ts +0 -3293
- package/dist/client/node_modules/vue-router/dist/options-CwYZKRl4.d.mts +0 -2923
- package/dist/client/node_modules/vue-router/dist/unplugin/esbuild.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/index.d.mts +0 -62
- package/dist/client/node_modules/vue-router/dist/unplugin/options.d.mts +0 -7
- package/dist/client/node_modules/vue-router/dist/unplugin/rolldown.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/rollup.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/types.d.mts +0 -7
- package/dist/client/node_modules/vue-router/dist/unplugin/vite.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/unplugin/webpack.d.mts +0 -10
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +0 -7
- package/dist/client/node_modules/vue-router/package.json +0 -211
- package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +0 -27
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.mts +0 -53
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +0 -2
- package/dist/client/node_modules/webpack-virtual-modules/lib/index.d.ts +0 -15
- package/dist/client/node_modules/webpack-virtual-modules/lib/virtual-stats.d.ts +0 -11
- package/dist/client/node_modules/webpack-virtual-modules/package.json +0 -82
- package/dist/client/vue.runtime.esm-bundler.js +0 -13389
- package/src/client/b-floating-vue.ts +0 -5
- package/src/client/b-iconify.ts +0 -1
- package/src/client/b-pinia.ts +0 -1
- package/src/client/b-scroll.ts +0 -4
- package/src/client/b-vue-router.ts +0 -1
- package/src/client/b-vue-use.ts +0 -1
- package/src/client/b-vue.ts +0 -1
|
@@ -1,1170 +0,0 @@
|
|
|
1
|
-
import * as hookable from "hookable";
|
|
2
|
-
import { HookKeys, Hookable } from "hookable";
|
|
3
|
-
import { BirpcGroup, BirpcOptions, BirpcReturn, ChannelOptions } from "birpc";
|
|
4
|
-
import { App as App$1, ComponentInternalInstance, ComponentOptions, SuspenseBoundary, VNode } from "vue";
|
|
5
|
-
import { RouteLocationNormalizedLoaded, RouteRecordNormalized, Router } from "vue-router";
|
|
6
|
-
|
|
7
|
-
//#region src/types/app.d.ts
|
|
8
|
-
type App = any;
|
|
9
|
-
type VueAppInstance = ComponentInternalInstance & {
|
|
10
|
-
type: {
|
|
11
|
-
_componentTag: string | undefined;
|
|
12
|
-
components: Record<string, ComponentInternalInstance['type']>;
|
|
13
|
-
__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__: string;
|
|
14
|
-
__isKeepAlive: boolean;
|
|
15
|
-
devtools: {
|
|
16
|
-
hide: boolean;
|
|
17
|
-
};
|
|
18
|
-
mixins: ComponentOptions[];
|
|
19
|
-
extends: ComponentOptions;
|
|
20
|
-
vuex: {
|
|
21
|
-
getters: Record<string, unknown>;
|
|
22
|
-
};
|
|
23
|
-
computed: Record<string, unknown>;
|
|
24
|
-
};
|
|
25
|
-
__v_cache: Cache;
|
|
26
|
-
__VUE_DEVTOOLS_NEXT_UID__: string;
|
|
27
|
-
_isBeingDestroyed: boolean;
|
|
28
|
-
_instance: VueAppInstance;
|
|
29
|
-
_container: {
|
|
30
|
-
_vnode: {
|
|
31
|
-
component: VueAppInstance;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
isUnmounted: boolean;
|
|
35
|
-
parent: VueAppInstance;
|
|
36
|
-
appContext: {
|
|
37
|
-
app: VueAppInstance & App & {
|
|
38
|
-
__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__: string;
|
|
39
|
-
__VUE_DEVTOOLS_NEXT_APP_RECORD__: AppRecord;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
__VUE_DEVTOOLS_NEXT_APP_RECORD__: AppRecord;
|
|
43
|
-
suspense: SuspenseBoundary & {
|
|
44
|
-
suspenseKey: string;
|
|
45
|
-
};
|
|
46
|
-
renderContext: Record<string, unknown>;
|
|
47
|
-
devtoolsRawSetupState: Record<string, unknown>;
|
|
48
|
-
setupState: Record<string, unknown>;
|
|
49
|
-
provides: Record<string | symbol, unknown>;
|
|
50
|
-
ctx: Record<string, unknown>;
|
|
51
|
-
} & App;
|
|
52
|
-
interface AppRecord {
|
|
53
|
-
id: string;
|
|
54
|
-
name: string;
|
|
55
|
-
app?: App;
|
|
56
|
-
version?: string;
|
|
57
|
-
types?: Record<string, string | symbol>;
|
|
58
|
-
instanceMap: Map<string, VueAppInstance>;
|
|
59
|
-
perfGroupIds: Map<string, {
|
|
60
|
-
groupId: number;
|
|
61
|
-
time: number;
|
|
62
|
-
}>;
|
|
63
|
-
rootInstance: VueAppInstance;
|
|
64
|
-
routerId?: string;
|
|
65
|
-
iframe?: string;
|
|
66
|
-
}
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/types/command.d.ts
|
|
69
|
-
interface CustomCommandAction {
|
|
70
|
-
type: 'url';
|
|
71
|
-
/**
|
|
72
|
-
* Url of the action, if set, execute the action will open the url
|
|
73
|
-
*/
|
|
74
|
-
src: string;
|
|
75
|
-
}
|
|
76
|
-
interface CustomCommand {
|
|
77
|
-
/**
|
|
78
|
-
* The id of the command, should be unique
|
|
79
|
-
*/
|
|
80
|
-
id: string;
|
|
81
|
-
title: string;
|
|
82
|
-
description?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Order of the command, bigger number will be shown first
|
|
85
|
-
* @default 0
|
|
86
|
-
*/
|
|
87
|
-
order?: number;
|
|
88
|
-
/**
|
|
89
|
-
* Icon of the tab, support any Iconify icons, or a url to an image
|
|
90
|
-
*/
|
|
91
|
-
icon?: string;
|
|
92
|
-
/**
|
|
93
|
-
* - action of the command
|
|
94
|
-
* - __NOTE__: This will be ignored if `children` is set
|
|
95
|
-
*/
|
|
96
|
-
action?: CustomCommandAction;
|
|
97
|
-
/**
|
|
98
|
-
* - children of action, if set, execute the action will show the children
|
|
99
|
-
*/
|
|
100
|
-
children?: Omit<CustomCommand, 'children'>[];
|
|
101
|
-
}
|
|
102
|
-
//#endregion
|
|
103
|
-
//#region src/types/inspector.d.ts
|
|
104
|
-
interface CustomInspectorOptions {
|
|
105
|
-
id: string;
|
|
106
|
-
label: string;
|
|
107
|
-
icon?: string;
|
|
108
|
-
treeFilterPlaceholder?: string;
|
|
109
|
-
stateFilterPlaceholder?: string;
|
|
110
|
-
noSelectionText?: string;
|
|
111
|
-
actions?: {
|
|
112
|
-
icon: string;
|
|
113
|
-
tooltip?: string;
|
|
114
|
-
action: () => void | Promise<void>;
|
|
115
|
-
}[];
|
|
116
|
-
nodeActions?: {
|
|
117
|
-
icon: string;
|
|
118
|
-
tooltip?: string;
|
|
119
|
-
action: (nodeId: string) => void | Promise<void>;
|
|
120
|
-
}[];
|
|
121
|
-
}
|
|
122
|
-
interface InspectorNodeTag {
|
|
123
|
-
label: string;
|
|
124
|
-
textColor: number;
|
|
125
|
-
backgroundColor: number;
|
|
126
|
-
tooltip?: string;
|
|
127
|
-
}
|
|
128
|
-
type EditStatePayload = {
|
|
129
|
-
value: any;
|
|
130
|
-
newKey?: string | null;
|
|
131
|
-
remove?: undefined | false;
|
|
132
|
-
} | {
|
|
133
|
-
value?: undefined;
|
|
134
|
-
newKey?: undefined;
|
|
135
|
-
remove: true;
|
|
136
|
-
};
|
|
137
|
-
interface CustomInspectorNode {
|
|
138
|
-
id: string;
|
|
139
|
-
label: string;
|
|
140
|
-
children?: CustomInspectorNode[];
|
|
141
|
-
tags?: InspectorNodeTag[];
|
|
142
|
-
name?: string;
|
|
143
|
-
file?: string;
|
|
144
|
-
}
|
|
145
|
-
interface CustomInspectorState {
|
|
146
|
-
[key: string]: (StateBase | Omit<ComponentState, 'type'>)[];
|
|
147
|
-
}
|
|
148
|
-
//#endregion
|
|
149
|
-
//#region src/types/component.d.ts
|
|
150
|
-
type ComponentInstance = any;
|
|
151
|
-
interface ComponentTreeNode {
|
|
152
|
-
uid: string | number;
|
|
153
|
-
id: string;
|
|
154
|
-
name: string;
|
|
155
|
-
renderKey: string | number;
|
|
156
|
-
inactive: boolean;
|
|
157
|
-
isFragment: boolean;
|
|
158
|
-
hasChildren: boolean;
|
|
159
|
-
children: ComponentTreeNode[];
|
|
160
|
-
domOrder?: number[];
|
|
161
|
-
consoleId?: string;
|
|
162
|
-
isRouterView?: boolean;
|
|
163
|
-
macthedRouteSegment?: string;
|
|
164
|
-
tags: InspectorNodeTag[];
|
|
165
|
-
autoOpen: boolean;
|
|
166
|
-
meta?: any;
|
|
167
|
-
file?: string;
|
|
168
|
-
}
|
|
169
|
-
type ComponentBuiltinCustomStateTypes = 'function' | 'map' | 'set' | 'reference' | 'component' | 'component-definition' | 'store';
|
|
170
|
-
interface ComponentCustomState extends ComponentStateBase {
|
|
171
|
-
value: CustomState;
|
|
172
|
-
}
|
|
173
|
-
interface StateBase {
|
|
174
|
-
key: string;
|
|
175
|
-
value: any;
|
|
176
|
-
editable?: boolean;
|
|
177
|
-
objectType?: 'ref' | 'reactive' | 'computed' | 'other';
|
|
178
|
-
raw?: string;
|
|
179
|
-
}
|
|
180
|
-
interface ComponentStateBase extends StateBase {
|
|
181
|
-
type: string;
|
|
182
|
-
}
|
|
183
|
-
interface ComponentPropState extends ComponentStateBase {
|
|
184
|
-
meta?: {
|
|
185
|
-
type: string;
|
|
186
|
-
required: boolean; /** Vue 1 only */
|
|
187
|
-
mode?: 'default' | 'sync' | 'once';
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
interface CustomState {
|
|
191
|
-
_custom: {
|
|
192
|
-
type: ComponentBuiltinCustomStateTypes | string;
|
|
193
|
-
objectType?: string;
|
|
194
|
-
display?: string;
|
|
195
|
-
tooltip?: string;
|
|
196
|
-
value?: any;
|
|
197
|
-
abstract?: boolean;
|
|
198
|
-
file?: string;
|
|
199
|
-
uid?: number;
|
|
200
|
-
readOnly?: boolean; /** Configure immediate child fields */
|
|
201
|
-
fields?: {
|
|
202
|
-
abstract?: boolean;
|
|
203
|
-
};
|
|
204
|
-
id?: any;
|
|
205
|
-
actions?: {
|
|
206
|
-
icon: string;
|
|
207
|
-
tooltip?: string;
|
|
208
|
-
action: () => void | Promise<void>;
|
|
209
|
-
}[]; /** internal */
|
|
210
|
-
_reviveId?: number;
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
type ComponentState = ComponentStateBase | ComponentPropState | ComponentCustomState;
|
|
214
|
-
interface InspectedComponentData {
|
|
215
|
-
id: string;
|
|
216
|
-
name: string;
|
|
217
|
-
file: string;
|
|
218
|
-
state: ComponentState[];
|
|
219
|
-
functional?: boolean;
|
|
220
|
-
}
|
|
221
|
-
interface ComponentBounds {
|
|
222
|
-
left: number;
|
|
223
|
-
top: number;
|
|
224
|
-
width: number;
|
|
225
|
-
height: number;
|
|
226
|
-
}
|
|
227
|
-
//#endregion
|
|
228
|
-
//#region src/ctx/state.d.ts
|
|
229
|
-
interface DevToolsAppRecords extends AppRecord {}
|
|
230
|
-
interface DevToolsState {
|
|
231
|
-
connected: boolean;
|
|
232
|
-
clientConnected: boolean;
|
|
233
|
-
vitePluginDetected: boolean;
|
|
234
|
-
appRecords: DevToolsAppRecords[];
|
|
235
|
-
activeAppRecordId: string;
|
|
236
|
-
tabs: CustomTab[];
|
|
237
|
-
commands: CustomCommand[];
|
|
238
|
-
highPerfModeEnabled: boolean;
|
|
239
|
-
devtoolsClientDetected: {
|
|
240
|
-
[key: string]: boolean;
|
|
241
|
-
};
|
|
242
|
-
perfUniqueGroupId: number;
|
|
243
|
-
timelineLayersState: Record<string, boolean>;
|
|
244
|
-
}
|
|
245
|
-
declare const callStateUpdatedHook: ((state: DevToolsState) => Promise<void>) & {
|
|
246
|
-
cancel: () => void;
|
|
247
|
-
flush: () => Promise<void> | undefined;
|
|
248
|
-
isPending: () => boolean;
|
|
249
|
-
};
|
|
250
|
-
declare const callConnectedUpdatedHook: ((state: DevToolsState, oldState: DevToolsState) => Promise<void>) & {
|
|
251
|
-
cancel: () => void;
|
|
252
|
-
flush: () => Promise<void> | undefined;
|
|
253
|
-
isPending: () => boolean;
|
|
254
|
-
};
|
|
255
|
-
declare const devtoolsAppRecords: DevToolsAppRecords[] & {
|
|
256
|
-
value: DevToolsAppRecords[];
|
|
257
|
-
};
|
|
258
|
-
declare const addDevToolsAppRecord: (app: AppRecord) => void;
|
|
259
|
-
declare const removeDevToolsAppRecord: (app: AppRecord["app"]) => void;
|
|
260
|
-
declare const activeAppRecord: AppRecord & {
|
|
261
|
-
value: AppRecord;
|
|
262
|
-
id: string;
|
|
263
|
-
};
|
|
264
|
-
declare function setActiveAppRecord(app: AppRecord): void;
|
|
265
|
-
declare function setActiveAppRecordId(id: string): void;
|
|
266
|
-
declare const devtoolsState: DevToolsState;
|
|
267
|
-
declare function resetDevToolsState(): void;
|
|
268
|
-
declare function updateDevToolsState(state: Partial<DevToolsState>): void;
|
|
269
|
-
declare function onDevToolsConnected(fn: () => void): Promise<void>;
|
|
270
|
-
declare function addCustomTab(tab: CustomTab): void;
|
|
271
|
-
declare function addCustomCommand(action: CustomCommand): void;
|
|
272
|
-
declare function removeCustomCommand(actionId: string): void;
|
|
273
|
-
declare function toggleClientConnected(state: boolean): void;
|
|
274
|
-
//#endregion
|
|
275
|
-
//#region src/ctx/hook.d.ts
|
|
276
|
-
declare enum DevToolsV6PluginAPIHookKeys {
|
|
277
|
-
VISIT_COMPONENT_TREE = "visitComponentTree",
|
|
278
|
-
INSPECT_COMPONENT = "inspectComponent",
|
|
279
|
-
EDIT_COMPONENT_STATE = "editComponentState",
|
|
280
|
-
GET_INSPECTOR_TREE = "getInspectorTree",
|
|
281
|
-
GET_INSPECTOR_STATE = "getInspectorState",
|
|
282
|
-
EDIT_INSPECTOR_STATE = "editInspectorState",
|
|
283
|
-
INSPECT_TIMELINE_EVENT = "inspectTimelineEvent",
|
|
284
|
-
TIMELINE_CLEARED = "timelineCleared",
|
|
285
|
-
SET_PLUGIN_SETTINGS = "setPluginSettings"
|
|
286
|
-
}
|
|
287
|
-
interface DevToolsV6PluginAPIHookPayloads {
|
|
288
|
-
[DevToolsV6PluginAPIHookKeys.VISIT_COMPONENT_TREE]: {
|
|
289
|
-
app: App;
|
|
290
|
-
componentInstance: ComponentInstance;
|
|
291
|
-
treeNode: ComponentTreeNode;
|
|
292
|
-
filter: string;
|
|
293
|
-
};
|
|
294
|
-
[DevToolsV6PluginAPIHookKeys.INSPECT_COMPONENT]: {
|
|
295
|
-
app: App;
|
|
296
|
-
componentInstance: ComponentInstance;
|
|
297
|
-
instanceData: InspectedComponentData;
|
|
298
|
-
};
|
|
299
|
-
[DevToolsV6PluginAPIHookKeys.EDIT_COMPONENT_STATE]: {
|
|
300
|
-
app: App;
|
|
301
|
-
inspectorId: string;
|
|
302
|
-
nodeId: string;
|
|
303
|
-
path: string[];
|
|
304
|
-
type: string;
|
|
305
|
-
state: EditStatePayload;
|
|
306
|
-
set: (object: any, path?: string | (string[]), value?: any, cb?: (object: any, field: string, value: any) => void) => void;
|
|
307
|
-
};
|
|
308
|
-
[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_TREE]: {
|
|
309
|
-
app: App;
|
|
310
|
-
inspectorId: string;
|
|
311
|
-
filter: string;
|
|
312
|
-
rootNodes: CustomInspectorNode[];
|
|
313
|
-
};
|
|
314
|
-
[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_STATE]: {
|
|
315
|
-
app: App;
|
|
316
|
-
inspectorId: string;
|
|
317
|
-
nodeId: string;
|
|
318
|
-
state: CustomInspectorState;
|
|
319
|
-
};
|
|
320
|
-
[DevToolsV6PluginAPIHookKeys.EDIT_INSPECTOR_STATE]: {
|
|
321
|
-
app: App;
|
|
322
|
-
inspectorId: string;
|
|
323
|
-
nodeId: string;
|
|
324
|
-
path: string[];
|
|
325
|
-
type: string;
|
|
326
|
-
state: EditStatePayload;
|
|
327
|
-
set: (object: any, path?: string | (string[]), value?: any, cb?: (object: any, field: string, value: any) => void) => void;
|
|
328
|
-
};
|
|
329
|
-
[DevToolsV6PluginAPIHookKeys.INSPECT_TIMELINE_EVENT]: {
|
|
330
|
-
app: App;
|
|
331
|
-
layerId: string;
|
|
332
|
-
event: TimelineEvent;
|
|
333
|
-
all?: boolean;
|
|
334
|
-
data: any;
|
|
335
|
-
};
|
|
336
|
-
[DevToolsV6PluginAPIHookKeys.TIMELINE_CLEARED]: Record<string, never>;
|
|
337
|
-
[DevToolsV6PluginAPIHookKeys.SET_PLUGIN_SETTINGS]: {
|
|
338
|
-
app: App;
|
|
339
|
-
pluginId: string;
|
|
340
|
-
key: string;
|
|
341
|
-
newValue: any;
|
|
342
|
-
oldValue: any;
|
|
343
|
-
settings: any;
|
|
344
|
-
};
|
|
345
|
-
}
|
|
346
|
-
interface DevToolsV6PluginAPIHooks {
|
|
347
|
-
[DevToolsV6PluginAPIHookKeys.VISIT_COMPONENT_TREE]: (payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.VISIT_COMPONENT_TREE]) => void;
|
|
348
|
-
[DevToolsV6PluginAPIHookKeys.INSPECT_COMPONENT]: (payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.INSPECT_COMPONENT]) => void;
|
|
349
|
-
[DevToolsV6PluginAPIHookKeys.EDIT_COMPONENT_STATE]: (payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.EDIT_COMPONENT_STATE]) => void;
|
|
350
|
-
[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_TREE]: (payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_TREE]) => void;
|
|
351
|
-
[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_STATE]: (payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_STATE]) => void;
|
|
352
|
-
[DevToolsV6PluginAPIHookKeys.EDIT_INSPECTOR_STATE]: (payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.EDIT_INSPECTOR_STATE]) => void;
|
|
353
|
-
[DevToolsV6PluginAPIHookKeys.INSPECT_TIMELINE_EVENT]: (payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.INSPECT_TIMELINE_EVENT]) => void;
|
|
354
|
-
[DevToolsV6PluginAPIHookKeys.TIMELINE_CLEARED]: (payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.TIMELINE_CLEARED]) => void;
|
|
355
|
-
[DevToolsV6PluginAPIHookKeys.SET_PLUGIN_SETTINGS]: (payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.SET_PLUGIN_SETTINGS]) => void;
|
|
356
|
-
}
|
|
357
|
-
declare enum DevToolsContextHookKeys {
|
|
358
|
-
ADD_INSPECTOR = "addInspector",
|
|
359
|
-
SEND_INSPECTOR_TREE = "sendInspectorTree",
|
|
360
|
-
SEND_INSPECTOR_STATE = "sendInspectorState",
|
|
361
|
-
CUSTOM_INSPECTOR_SELECT_NODE = "customInspectorSelectNode",
|
|
362
|
-
TIMELINE_LAYER_ADDED = "timelineLayerAdded",
|
|
363
|
-
TIMELINE_EVENT_ADDED = "timelineEventAdded",
|
|
364
|
-
GET_COMPONENT_INSTANCES = "getComponentInstances",
|
|
365
|
-
GET_COMPONENT_BOUNDS = "getComponentBounds",
|
|
366
|
-
GET_COMPONENT_NAME = "getComponentName",
|
|
367
|
-
COMPONENT_HIGHLIGHT = "componentHighlight",
|
|
368
|
-
COMPONENT_UNHIGHLIGHT = "componentUnhighlight"
|
|
369
|
-
}
|
|
370
|
-
interface DevToolsContextHookPayloads {
|
|
371
|
-
[DevToolsContextHookKeys.ADD_INSPECTOR]: {
|
|
372
|
-
inspector: CustomInspectorOptions;
|
|
373
|
-
plugin: DevToolsPlugin;
|
|
374
|
-
};
|
|
375
|
-
[DevToolsContextHookKeys.SEND_INSPECTOR_TREE]: {
|
|
376
|
-
inspectorId: string;
|
|
377
|
-
plugin: DevToolsPlugin;
|
|
378
|
-
};
|
|
379
|
-
[DevToolsContextHookKeys.SEND_INSPECTOR_STATE]: {
|
|
380
|
-
inspectorId: string;
|
|
381
|
-
plugin: DevToolsPlugin;
|
|
382
|
-
};
|
|
383
|
-
[DevToolsContextHookKeys.CUSTOM_INSPECTOR_SELECT_NODE]: {
|
|
384
|
-
inspectorId: string;
|
|
385
|
-
nodeId: string;
|
|
386
|
-
plugin: DevToolsPlugin;
|
|
387
|
-
};
|
|
388
|
-
[DevToolsContextHookKeys.TIMELINE_LAYER_ADDED]: {
|
|
389
|
-
options: TimelineLayerOptions;
|
|
390
|
-
plugin: DevToolsPlugin;
|
|
391
|
-
};
|
|
392
|
-
[DevToolsContextHookKeys.TIMELINE_EVENT_ADDED]: {
|
|
393
|
-
options: TimelineEventOptions;
|
|
394
|
-
plugin: DevToolsPlugin;
|
|
395
|
-
};
|
|
396
|
-
[DevToolsContextHookKeys.GET_COMPONENT_INSTANCES]: {
|
|
397
|
-
app: App;
|
|
398
|
-
};
|
|
399
|
-
[DevToolsContextHookKeys.GET_COMPONENT_BOUNDS]: {
|
|
400
|
-
instance: ComponentInstance;
|
|
401
|
-
};
|
|
402
|
-
[DevToolsContextHookKeys.GET_COMPONENT_NAME]: {
|
|
403
|
-
instance: ComponentInstance;
|
|
404
|
-
};
|
|
405
|
-
[DevToolsContextHookKeys.COMPONENT_HIGHLIGHT]: {
|
|
406
|
-
uid: string;
|
|
407
|
-
};
|
|
408
|
-
[DevToolsContextHookKeys.COMPONENT_UNHIGHLIGHT]: Record<string, never>;
|
|
409
|
-
}
|
|
410
|
-
declare enum DevToolsMessagingHookKeys {
|
|
411
|
-
SEND_INSPECTOR_TREE_TO_CLIENT = "sendInspectorTreeToClient",
|
|
412
|
-
SEND_INSPECTOR_STATE_TO_CLIENT = "sendInspectorStateToClient",
|
|
413
|
-
SEND_TIMELINE_EVENT_TO_CLIENT = "sendTimelineEventToClient",
|
|
414
|
-
SEND_INSPECTOR_TO_CLIENT = "sendInspectorToClient",
|
|
415
|
-
SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT = "sendActiveAppUpdatedToClient",
|
|
416
|
-
DEVTOOLS_STATE_UPDATED = "devtoolsStateUpdated",
|
|
417
|
-
DEVTOOLS_CONNECTED_UPDATED = "devtoolsConnectedUpdated",
|
|
418
|
-
ROUTER_INFO_UPDATED = "routerInfoUpdated"
|
|
419
|
-
}
|
|
420
|
-
interface DevToolsMessagingHookPayloads {
|
|
421
|
-
[DevToolsMessagingHookKeys.SEND_INSPECTOR_TREE_TO_CLIENT]: {
|
|
422
|
-
inspectorId: string;
|
|
423
|
-
rootNodes: CustomInspectorNode[];
|
|
424
|
-
};
|
|
425
|
-
[DevToolsMessagingHookKeys.SEND_INSPECTOR_STATE_TO_CLIENT]: {
|
|
426
|
-
inspectorId: string;
|
|
427
|
-
nodeId: string;
|
|
428
|
-
state: CustomInspectorState;
|
|
429
|
-
};
|
|
430
|
-
[DevToolsMessagingHookKeys.SEND_TIMELINE_EVENT_TO_CLIENT]: TimelineEventOptions;
|
|
431
|
-
[DevToolsMessagingHookKeys.SEND_INSPECTOR_TO_CLIENT]: {
|
|
432
|
-
id: string;
|
|
433
|
-
label: string;
|
|
434
|
-
logo: string;
|
|
435
|
-
icon: string;
|
|
436
|
-
packageName: string | undefined;
|
|
437
|
-
homepage: string | undefined;
|
|
438
|
-
}[];
|
|
439
|
-
[DevToolsMessagingHookKeys.DEVTOOLS_STATE_UPDATED]: {
|
|
440
|
-
state: DevToolsState;
|
|
441
|
-
};
|
|
442
|
-
[DevToolsMessagingHookKeys.DEVTOOLS_CONNECTED_UPDATED]: {
|
|
443
|
-
state: DevToolsState;
|
|
444
|
-
oldState: DevToolsState;
|
|
445
|
-
};
|
|
446
|
-
[DevToolsMessagingHookKeys.ROUTER_INFO_UPDATED]: {
|
|
447
|
-
state: RouterInfo;
|
|
448
|
-
};
|
|
449
|
-
}
|
|
450
|
-
interface DevToolsMessagingHooks {
|
|
451
|
-
[DevToolsMessagingHookKeys.SEND_INSPECTOR_TREE_TO_CLIENT]: (payload: DevToolsMessagingHookPayloads[DevToolsMessagingHookKeys.SEND_INSPECTOR_TREE_TO_CLIENT]) => void;
|
|
452
|
-
[DevToolsMessagingHookKeys.SEND_INSPECTOR_STATE_TO_CLIENT]: (payload: DevToolsMessagingHookPayloads[DevToolsMessagingHookKeys.SEND_INSPECTOR_STATE_TO_CLIENT]) => void;
|
|
453
|
-
[DevToolsMessagingHookKeys.SEND_TIMELINE_EVENT_TO_CLIENT]: (payload: DevToolsMessagingHookPayloads[DevToolsMessagingHookKeys.SEND_TIMELINE_EVENT_TO_CLIENT]) => void;
|
|
454
|
-
[DevToolsMessagingHookKeys.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT]: () => void;
|
|
455
|
-
[DevToolsMessagingHookKeys.SEND_INSPECTOR_TO_CLIENT]: (payload: DevToolsMessagingHookPayloads[DevToolsMessagingHookKeys.SEND_INSPECTOR_TO_CLIENT]) => void;
|
|
456
|
-
[DevToolsMessagingHookKeys.DEVTOOLS_STATE_UPDATED]: (payload: DevToolsMessagingHookPayloads[DevToolsMessagingHookKeys.DEVTOOLS_STATE_UPDATED]) => void;
|
|
457
|
-
[DevToolsMessagingHookKeys.DEVTOOLS_CONNECTED_UPDATED]: (payload: DevToolsMessagingHookPayloads[DevToolsMessagingHookKeys.DEVTOOLS_CONNECTED_UPDATED]) => void;
|
|
458
|
-
[DevToolsMessagingHookKeys.ROUTER_INFO_UPDATED]: (payload: DevToolsMessagingHookPayloads[DevToolsMessagingHookKeys.ROUTER_INFO_UPDATED]) => void;
|
|
459
|
-
}
|
|
460
|
-
interface DevToolsContextHooks extends DevToolsV6PluginAPIHooks {
|
|
461
|
-
[DevToolsContextHookKeys.ADD_INSPECTOR]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.ADD_INSPECTOR]) => void;
|
|
462
|
-
[DevToolsContextHookKeys.SEND_INSPECTOR_TREE]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.SEND_INSPECTOR_TREE]) => void;
|
|
463
|
-
[DevToolsContextHookKeys.SEND_INSPECTOR_STATE]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.SEND_INSPECTOR_STATE]) => void;
|
|
464
|
-
[DevToolsContextHookKeys.CUSTOM_INSPECTOR_SELECT_NODE]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.CUSTOM_INSPECTOR_SELECT_NODE]) => void;
|
|
465
|
-
[DevToolsContextHookKeys.TIMELINE_LAYER_ADDED]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.TIMELINE_LAYER_ADDED]) => void;
|
|
466
|
-
[DevToolsContextHookKeys.TIMELINE_EVENT_ADDED]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.TIMELINE_EVENT_ADDED]) => void;
|
|
467
|
-
[DevToolsContextHookKeys.GET_COMPONENT_INSTANCES]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.GET_COMPONENT_INSTANCES]) => void;
|
|
468
|
-
[DevToolsContextHookKeys.GET_COMPONENT_BOUNDS]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.GET_COMPONENT_BOUNDS]) => void;
|
|
469
|
-
[DevToolsContextHookKeys.GET_COMPONENT_NAME]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.GET_COMPONENT_NAME]) => void;
|
|
470
|
-
[DevToolsContextHookKeys.COMPONENT_HIGHLIGHT]: (payload: DevToolsContextHookPayloads[DevToolsContextHookKeys.COMPONENT_HIGHLIGHT]) => void;
|
|
471
|
-
[DevToolsContextHookKeys.COMPONENT_UNHIGHLIGHT]: () => void;
|
|
472
|
-
}
|
|
473
|
-
declare function createDevToolsCtxHooks(): hookable.Hookable<DevToolsContextHooks & DevToolsMessagingHooks, hookable.HookKeys<DevToolsContextHooks & DevToolsMessagingHooks>>;
|
|
474
|
-
//#endregion
|
|
475
|
-
//#region src/core/component-inspector/index.d.ts
|
|
476
|
-
interface ComponentInspector {
|
|
477
|
-
enabled: boolean;
|
|
478
|
-
position: {
|
|
479
|
-
x: number;
|
|
480
|
-
y: number;
|
|
481
|
-
};
|
|
482
|
-
linkParams: {
|
|
483
|
-
file: string;
|
|
484
|
-
line: number;
|
|
485
|
-
column: number;
|
|
486
|
-
};
|
|
487
|
-
enable: () => void;
|
|
488
|
-
disable: () => void;
|
|
489
|
-
toggleEnabled: () => void;
|
|
490
|
-
openInEditor: (baseUrl: string, file: string, line: number, column: number) => void;
|
|
491
|
-
onUpdated: () => void;
|
|
492
|
-
}
|
|
493
|
-
declare function toggleComponentInspectorEnabled(enabled: boolean): void;
|
|
494
|
-
declare function getComponentInspector(): Promise<ComponentInspector>;
|
|
495
|
-
//#endregion
|
|
496
|
-
//#region src/core/open-in-editor/index.d.ts
|
|
497
|
-
interface OpenInEditorOptions {
|
|
498
|
-
baseUrl?: string;
|
|
499
|
-
file?: string;
|
|
500
|
-
line?: number;
|
|
501
|
-
column?: number;
|
|
502
|
-
host?: string;
|
|
503
|
-
}
|
|
504
|
-
declare function setOpenInEditorBaseUrl(url: string): void;
|
|
505
|
-
declare function openInEditor(options?: OpenInEditorOptions): void;
|
|
506
|
-
//#endregion
|
|
507
|
-
//#region src/ctx/api.d.ts
|
|
508
|
-
declare function createDevToolsApi(hooks: Hookable<DevToolsContextHooks & DevToolsMessagingHooks, HookKeys<DevToolsContextHooks & DevToolsMessagingHooks>>): {
|
|
509
|
-
getInspectorTree(payload: Pick<DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_TREE], "inspectorId" | "filter">): Promise<never[]>;
|
|
510
|
-
getInspectorState(payload: Pick<DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_STATE], "inspectorId" | "nodeId">): Promise<CustomInspectorState>;
|
|
511
|
-
editInspectorState(payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.EDIT_INSPECTOR_STATE]): void;
|
|
512
|
-
sendInspectorState(inspectorId: string): void;
|
|
513
|
-
inspectComponentInspector(): Promise<string>;
|
|
514
|
-
cancelInspectComponentInspector(): void;
|
|
515
|
-
getComponentRenderCode(id: string): any;
|
|
516
|
-
scrollToComponent(id: string): void;
|
|
517
|
-
openInEditor: typeof openInEditor;
|
|
518
|
-
getVueInspector: typeof getComponentInspector;
|
|
519
|
-
toggleApp(id: string, options?: {
|
|
520
|
-
inspectingComponent?: boolean;
|
|
521
|
-
}): void;
|
|
522
|
-
inspectDOM(instanceId: string): void;
|
|
523
|
-
updatePluginSettings(pluginId: string, key: string, value: string): void;
|
|
524
|
-
getPluginSettings(pluginId: string): {
|
|
525
|
-
options: Record<string, {
|
|
526
|
-
label: string;
|
|
527
|
-
description?: string;
|
|
528
|
-
} & ({
|
|
529
|
-
type: "boolean";
|
|
530
|
-
defaultValue: boolean;
|
|
531
|
-
} | {
|
|
532
|
-
type: "choice";
|
|
533
|
-
defaultValue: string | number;
|
|
534
|
-
options: {
|
|
535
|
-
value: string | number;
|
|
536
|
-
label: string;
|
|
537
|
-
}[];
|
|
538
|
-
component?: "select" | "button-group";
|
|
539
|
-
} | {
|
|
540
|
-
type: "text";
|
|
541
|
-
defaultValue: string;
|
|
542
|
-
})> | null;
|
|
543
|
-
values: any;
|
|
544
|
-
};
|
|
545
|
-
};
|
|
546
|
-
type DevToolsApiType = ReturnType<typeof createDevToolsApi>;
|
|
547
|
-
//#endregion
|
|
548
|
-
//#region src/ctx/env.d.ts
|
|
549
|
-
declare function getDevToolsEnv(): any;
|
|
550
|
-
declare function setDevToolsEnv(env: Partial<any>): void;
|
|
551
|
-
//#endregion
|
|
552
|
-
//#region src/ctx/inspector.d.ts
|
|
553
|
-
interface DevToolsKitInspector {
|
|
554
|
-
options: CustomInspectorOptions;
|
|
555
|
-
descriptor: PluginDescriptor;
|
|
556
|
-
treeFilterPlaceholder: string;
|
|
557
|
-
stateFilterPlaceholder: string;
|
|
558
|
-
treeFilter: string;
|
|
559
|
-
selectedNodeId: string;
|
|
560
|
-
appRecord: unknown;
|
|
561
|
-
}
|
|
562
|
-
declare const devtoolsInspector: DevToolsKitInspector[];
|
|
563
|
-
declare const callInspectorUpdatedHook: (() => Promise<void>) & {
|
|
564
|
-
cancel: () => void;
|
|
565
|
-
flush: () => Promise<void> | undefined;
|
|
566
|
-
isPending: () => boolean;
|
|
567
|
-
};
|
|
568
|
-
declare function addInspector(inspector: CustomInspectorOptions, descriptor: PluginDescriptor): void;
|
|
569
|
-
declare function getActiveInspectors(): {
|
|
570
|
-
id: string;
|
|
571
|
-
label: string;
|
|
572
|
-
logo: string;
|
|
573
|
-
icon: string;
|
|
574
|
-
packageName: string | undefined;
|
|
575
|
-
homepage: string | undefined;
|
|
576
|
-
pluginId: string;
|
|
577
|
-
}[];
|
|
578
|
-
declare function getInspectorInfo(id: string): {
|
|
579
|
-
id: string;
|
|
580
|
-
label: string;
|
|
581
|
-
logo: string | undefined;
|
|
582
|
-
packageName: string | undefined;
|
|
583
|
-
homepage: string | undefined;
|
|
584
|
-
timelineLayers: {
|
|
585
|
-
id: string;
|
|
586
|
-
label: string;
|
|
587
|
-
color: number;
|
|
588
|
-
}[];
|
|
589
|
-
treeFilterPlaceholder: string;
|
|
590
|
-
stateFilterPlaceholder: string;
|
|
591
|
-
} | undefined;
|
|
592
|
-
declare function getInspector(id: string, app?: App$1): DevToolsKitInspector | undefined;
|
|
593
|
-
declare function getInspectorActions(id: string): {
|
|
594
|
-
icon: string;
|
|
595
|
-
tooltip?: string;
|
|
596
|
-
action: () => void | Promise<void>;
|
|
597
|
-
}[] | undefined;
|
|
598
|
-
declare function getInspectorNodeActions(id: string): {
|
|
599
|
-
icon: string;
|
|
600
|
-
tooltip?: string;
|
|
601
|
-
action: (nodeId: string) => void | Promise<void>;
|
|
602
|
-
}[] | undefined;
|
|
603
|
-
//#endregion
|
|
604
|
-
//#region src/ctx/plugin.d.ts
|
|
605
|
-
type DevToolsKitPluginBuffer = [PluginDescriptor, PluginSetupFunction];
|
|
606
|
-
declare const devtoolsPluginBuffer: DevToolsKitPluginBuffer[];
|
|
607
|
-
declare function addDevToolsPluginToBuffer(pluginDescriptor: PluginDescriptor, setupFn: PluginSetupFunction): void;
|
|
608
|
-
//#endregion
|
|
609
|
-
//#region src/ctx/router.d.ts
|
|
610
|
-
declare const ROUTER_KEY = "__VUE_DEVTOOLS_ROUTER__";
|
|
611
|
-
declare const ROUTER_INFO_KEY = "__VUE_DEVTOOLS_ROUTER_INFO__";
|
|
612
|
-
declare const devtoolsRouterInfo: RouterInfo;
|
|
613
|
-
declare const devtoolsRouter: {
|
|
614
|
-
value: Router;
|
|
615
|
-
};
|
|
616
|
-
//#endregion
|
|
617
|
-
//#region src/ctx/timeline.d.ts
|
|
618
|
-
declare function updateTimelineLayersState(state: Record<string, boolean>): void;
|
|
619
|
-
//#endregion
|
|
620
|
-
//#region src/ctx/index.d.ts
|
|
621
|
-
interface DevtoolsContext {
|
|
622
|
-
hooks: Hookable<DevToolsContextHooks & DevToolsMessagingHooks, HookKeys<DevToolsContextHooks & DevToolsMessagingHooks>>;
|
|
623
|
-
state: DevToolsState & {
|
|
624
|
-
activeAppRecordId: string;
|
|
625
|
-
activeAppRecord: DevToolsAppRecords;
|
|
626
|
-
appRecords: DevToolsAppRecords[];
|
|
627
|
-
};
|
|
628
|
-
api: DevToolsApiType;
|
|
629
|
-
}
|
|
630
|
-
declare const devtoolsContext: DevtoolsContext;
|
|
631
|
-
//#endregion
|
|
632
|
-
//#region src/api/v6/index.d.ts
|
|
633
|
-
declare class DevToolsV6PluginAPI {
|
|
634
|
-
private plugin;
|
|
635
|
-
private hooks;
|
|
636
|
-
constructor({
|
|
637
|
-
plugin,
|
|
638
|
-
ctx
|
|
639
|
-
}: {
|
|
640
|
-
plugin: DevToolsPlugin;
|
|
641
|
-
ctx: DevtoolsContext;
|
|
642
|
-
});
|
|
643
|
-
get on(): {
|
|
644
|
-
visitComponentTree: (handler: DevToolsV6PluginAPIHooks[DevToolsV6PluginAPIHookKeys.VISIT_COMPONENT_TREE]) => void;
|
|
645
|
-
inspectComponent: (handler: DevToolsV6PluginAPIHooks[DevToolsV6PluginAPIHookKeys.INSPECT_COMPONENT]) => void;
|
|
646
|
-
editComponentState: (handler: DevToolsV6PluginAPIHooks[DevToolsV6PluginAPIHookKeys.EDIT_COMPONENT_STATE]) => void;
|
|
647
|
-
getInspectorTree: (handler: DevToolsV6PluginAPIHooks[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_TREE]) => void;
|
|
648
|
-
getInspectorState: (handler: DevToolsV6PluginAPIHooks[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_STATE]) => void;
|
|
649
|
-
editInspectorState: (handler: DevToolsV6PluginAPIHooks[DevToolsV6PluginAPIHookKeys.EDIT_INSPECTOR_STATE]) => void;
|
|
650
|
-
inspectTimelineEvent: (handler: DevToolsV6PluginAPIHooks[DevToolsV6PluginAPIHookKeys.INSPECT_TIMELINE_EVENT]) => void;
|
|
651
|
-
timelineCleared: (handler: DevToolsV6PluginAPIHooks[DevToolsV6PluginAPIHookKeys.TIMELINE_CLEARED]) => void;
|
|
652
|
-
setPluginSettings: (handler: DevToolsV6PluginAPIHooks[DevToolsV6PluginAPIHookKeys.SET_PLUGIN_SETTINGS]) => void;
|
|
653
|
-
};
|
|
654
|
-
notifyComponentUpdate(instance?: ComponentInstance): void;
|
|
655
|
-
addInspector(options: CustomInspectorOptions): void;
|
|
656
|
-
sendInspectorTree(inspectorId: string): void;
|
|
657
|
-
sendInspectorState(inspectorId: string): void;
|
|
658
|
-
selectInspectorNode(inspectorId: string, nodeId: string): void;
|
|
659
|
-
visitComponentTree(payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.VISIT_COMPONENT_TREE]): Promise<any>;
|
|
660
|
-
now(): number;
|
|
661
|
-
addTimelineLayer(options: TimelineLayerOptions): void;
|
|
662
|
-
addTimelineEvent(options: TimelineEventOptions): void;
|
|
663
|
-
getSettings(pluginId?: string): any;
|
|
664
|
-
getComponentInstances(app: App): Promise<ComponentInstance[]>;
|
|
665
|
-
getComponentBounds(instance: ComponentInstance): Promise<ComponentBounds>;
|
|
666
|
-
getComponentName(instance: ComponentInstance): Promise<string>;
|
|
667
|
-
highlightElement(instance: ComponentInstance): Promise<any>;
|
|
668
|
-
unhighlightElement(): Promise<any>;
|
|
669
|
-
}
|
|
670
|
-
//#endregion
|
|
671
|
-
//#region src/api/index.d.ts
|
|
672
|
-
declare const DevToolsPluginAPI: typeof DevToolsV6PluginAPI;
|
|
673
|
-
//#endregion
|
|
674
|
-
//#region src/types/plugin.d.ts
|
|
675
|
-
type PluginSettingsItem = {
|
|
676
|
-
label: string;
|
|
677
|
-
description?: string;
|
|
678
|
-
} & ({
|
|
679
|
-
type: 'boolean';
|
|
680
|
-
defaultValue: boolean;
|
|
681
|
-
} | {
|
|
682
|
-
type: 'choice';
|
|
683
|
-
defaultValue: string | number;
|
|
684
|
-
options: {
|
|
685
|
-
value: string | number;
|
|
686
|
-
label: string;
|
|
687
|
-
}[];
|
|
688
|
-
component?: 'select' | 'button-group';
|
|
689
|
-
} | {
|
|
690
|
-
type: 'text';
|
|
691
|
-
defaultValue: string;
|
|
692
|
-
});
|
|
693
|
-
type PluginSetupFunction = (api: InstanceType<typeof DevToolsPluginAPI>) => void;
|
|
694
|
-
interface PluginDescriptor {
|
|
695
|
-
id: string;
|
|
696
|
-
label: string;
|
|
697
|
-
app: App$1<any>;
|
|
698
|
-
packageName?: string;
|
|
699
|
-
homepage?: string;
|
|
700
|
-
componentStateTypes?: string[];
|
|
701
|
-
logo?: string;
|
|
702
|
-
disableAppScope?: boolean;
|
|
703
|
-
disablePluginScope?: boolean;
|
|
704
|
-
/**
|
|
705
|
-
* Run the plugin setup and expose the api even if the devtools is not opened yet.
|
|
706
|
-
* Useful to record timeline events early.
|
|
707
|
-
*/
|
|
708
|
-
enableEarlyProxy?: boolean;
|
|
709
|
-
settings?: Record<string, PluginSettingsItem>;
|
|
710
|
-
}
|
|
711
|
-
interface DevToolsPlugin {
|
|
712
|
-
descriptor: PluginDescriptor;
|
|
713
|
-
setupFn: PluginSetupFunction;
|
|
714
|
-
}
|
|
715
|
-
//#endregion
|
|
716
|
-
//#region src/types/hook.d.ts
|
|
717
|
-
type HookAppInstance = App$1 & VueAppInstance;
|
|
718
|
-
declare enum DevToolsHooks {
|
|
719
|
-
APP_INIT = "app:init",
|
|
720
|
-
APP_UNMOUNT = "app:unmount",
|
|
721
|
-
COMPONENT_UPDATED = "component:updated",
|
|
722
|
-
COMPONENT_ADDED = "component:added",
|
|
723
|
-
COMPONENT_REMOVED = "component:removed",
|
|
724
|
-
COMPONENT_EMIT = "component:emit",
|
|
725
|
-
PERFORMANCE_START = "perf:start",
|
|
726
|
-
PERFORMANCE_END = "perf:end",
|
|
727
|
-
ADD_ROUTE = "router:add-route",
|
|
728
|
-
REMOVE_ROUTE = "router:remove-route",
|
|
729
|
-
RENDER_TRACKED = "render:tracked",
|
|
730
|
-
RENDER_TRIGGERED = "render:triggered",
|
|
731
|
-
APP_CONNECTED = "app:connected",
|
|
732
|
-
SETUP_DEVTOOLS_PLUGIN = "devtools-plugin:setup"
|
|
733
|
-
}
|
|
734
|
-
interface DevToolsEvent {
|
|
735
|
-
[DevToolsHooks.APP_INIT]: (app: VueAppInstance['appContext']['app'], version: string, types: Record<string, string | symbol>) => void | Promise<void>;
|
|
736
|
-
[DevToolsHooks.APP_CONNECTED]: () => void;
|
|
737
|
-
[DevToolsHooks.APP_UNMOUNT]: (app: VueAppInstance['appContext']['app']) => void | Promise<void>;
|
|
738
|
-
[DevToolsHooks.COMPONENT_ADDED]: (app: HookAppInstance, uid: number, parentUid: number, component: VueAppInstance) => void | Promise<void>;
|
|
739
|
-
[DevToolsHooks.COMPONENT_EMIT]: (app: HookAppInstance, instance: VueAppInstance, event: string, params: unknown) => void | Promise<void>;
|
|
740
|
-
[DevToolsHooks.COMPONENT_UPDATED]: DevToolsEvent['component:added'];
|
|
741
|
-
[DevToolsHooks.COMPONENT_REMOVED]: DevToolsEvent['component:added'];
|
|
742
|
-
[DevToolsHooks.SETUP_DEVTOOLS_PLUGIN]: (pluginDescriptor: PluginDescriptor, setupFn: PluginSetupFunction, options?: {
|
|
743
|
-
target?: string;
|
|
744
|
-
}) => void;
|
|
745
|
-
[DevToolsHooks.PERFORMANCE_START]: (app: App$1, uid: number, vm: HookAppInstance, type: string, time: number) => void;
|
|
746
|
-
[DevToolsHooks.PERFORMANCE_END]: (app: App$1, uid: number, vm: HookAppInstance, type: string, time: number) => void;
|
|
747
|
-
}
|
|
748
|
-
interface DevToolsHook {
|
|
749
|
-
id: string;
|
|
750
|
-
enabled?: boolean;
|
|
751
|
-
devtoolsVersion: string;
|
|
752
|
-
events: Map<DevToolsHooks, Function[]>;
|
|
753
|
-
emit: (event: DevToolsHooks, ...payload: any[]) => void;
|
|
754
|
-
on: <T extends Function>(event: DevToolsHooks, handler: T) => () => void;
|
|
755
|
-
once: <T extends Function>(event: DevToolsHooks, handler: T) => void;
|
|
756
|
-
off: <T extends Function>(event: DevToolsHooks, handler: T) => void;
|
|
757
|
-
appRecords: AppRecord[];
|
|
758
|
-
apps: any;
|
|
759
|
-
cleanupBuffer?: (matchArg: unknown) => boolean;
|
|
760
|
-
}
|
|
761
|
-
interface VueHooks {
|
|
762
|
-
on: {
|
|
763
|
-
vueAppInit: (fn: DevToolsEvent[DevToolsHooks.APP_INIT]) => void;
|
|
764
|
-
vueAppUnmount: (fn: DevToolsEvent[DevToolsHooks.APP_UNMOUNT]) => void;
|
|
765
|
-
vueAppConnected: (fn: DevToolsEvent[DevToolsHooks.APP_CONNECTED]) => void;
|
|
766
|
-
componentAdded: (fn: DevToolsEvent[DevToolsHooks.COMPONENT_ADDED]) => () => void;
|
|
767
|
-
componentEmit: (fn: DevToolsEvent[DevToolsHooks.COMPONENT_EMIT]) => () => void;
|
|
768
|
-
componentUpdated: (fn: DevToolsEvent[DevToolsHooks.COMPONENT_UPDATED]) => () => void;
|
|
769
|
-
componentRemoved: (fn: DevToolsEvent[DevToolsHooks.COMPONENT_REMOVED]) => () => void;
|
|
770
|
-
setupDevtoolsPlugin: (fn: DevToolsEvent[DevToolsHooks.SETUP_DEVTOOLS_PLUGIN]) => void;
|
|
771
|
-
perfStart: (fn: DevToolsEvent[DevToolsHooks.PERFORMANCE_START]) => void;
|
|
772
|
-
perfEnd: (fn: DevToolsEvent[DevToolsHooks.PERFORMANCE_END]) => void;
|
|
773
|
-
};
|
|
774
|
-
setupDevToolsPlugin: (pluginDescriptor: PluginDescriptor, setupFn: PluginSetupFunction) => void;
|
|
775
|
-
}
|
|
776
|
-
//#endregion
|
|
777
|
-
//#region src/types/router.d.ts
|
|
778
|
-
interface RouterInfo {
|
|
779
|
-
currentRoute: RouteLocationNormalizedLoaded | null | Record<string, any>;
|
|
780
|
-
routes: RouteRecordNormalized[];
|
|
781
|
-
}
|
|
782
|
-
//#endregion
|
|
783
|
-
//#region src/types/tab.d.ts
|
|
784
|
-
type TabCategory = 'pinned' | 'app' | 'modules' | 'advanced';
|
|
785
|
-
type ModuleView = ModuleIframeView | ModuleVNodeView | ModuleSFCView;
|
|
786
|
-
interface ModuleIframeView {
|
|
787
|
-
/**
|
|
788
|
-
* Iframe view
|
|
789
|
-
*/
|
|
790
|
-
type: 'iframe';
|
|
791
|
-
/**
|
|
792
|
-
* Url of the iframe
|
|
793
|
-
*/
|
|
794
|
-
src: string;
|
|
795
|
-
/**
|
|
796
|
-
* Persist the iframe instance even if the tab is not active
|
|
797
|
-
*
|
|
798
|
-
* @default true
|
|
799
|
-
*/
|
|
800
|
-
persistent?: boolean;
|
|
801
|
-
}
|
|
802
|
-
interface ModuleVNodeView {
|
|
803
|
-
/**
|
|
804
|
-
* Vue's VNode view
|
|
805
|
-
*/
|
|
806
|
-
type: 'vnode';
|
|
807
|
-
/**
|
|
808
|
-
* Send vnode to the client, they must be static and serializable
|
|
809
|
-
*/
|
|
810
|
-
vnode: VNode;
|
|
811
|
-
}
|
|
812
|
-
interface ModuleSFCView {
|
|
813
|
-
/**
|
|
814
|
-
* SFC view
|
|
815
|
-
*/
|
|
816
|
-
type: 'sfc';
|
|
817
|
-
/**
|
|
818
|
-
* SFC component
|
|
819
|
-
*/
|
|
820
|
-
sfc: string;
|
|
821
|
-
}
|
|
822
|
-
interface CustomTab {
|
|
823
|
-
/**
|
|
824
|
-
* The name of the tab, must be unique
|
|
825
|
-
*/
|
|
826
|
-
name: string;
|
|
827
|
-
/**
|
|
828
|
-
* Icon of the tab, support any Iconify icons, or a url to an image
|
|
829
|
-
*/
|
|
830
|
-
icon?: string;
|
|
831
|
-
/**
|
|
832
|
-
* Title of the tab
|
|
833
|
-
*/
|
|
834
|
-
title: string;
|
|
835
|
-
/**
|
|
836
|
-
* Main view of the tab
|
|
837
|
-
*/
|
|
838
|
-
view: ModuleView;
|
|
839
|
-
/**
|
|
840
|
-
* Category of the tab
|
|
841
|
-
* @default 'app'
|
|
842
|
-
*/
|
|
843
|
-
category?: TabCategory;
|
|
844
|
-
}
|
|
845
|
-
//#endregion
|
|
846
|
-
//#region src/types/timeline.d.ts
|
|
847
|
-
interface TimelineEvent<TData = any, TMeta = any> {
|
|
848
|
-
time: number;
|
|
849
|
-
data: TData;
|
|
850
|
-
logType?: 'default' | 'warning' | 'error';
|
|
851
|
-
meta?: TMeta;
|
|
852
|
-
groupId?: number | string;
|
|
853
|
-
title?: string;
|
|
854
|
-
subtitle?: string;
|
|
855
|
-
}
|
|
856
|
-
interface ScreenshotOverlayEvent {
|
|
857
|
-
layerId: string;
|
|
858
|
-
renderMeta: any;
|
|
859
|
-
}
|
|
860
|
-
interface ScreenshotOverlayRenderContext<TData = any, TMeta = any> {
|
|
861
|
-
screenshot: ScreenshotData;
|
|
862
|
-
events: (TimelineEvent<TData, TMeta> & ScreenshotOverlayEvent)[];
|
|
863
|
-
index: number;
|
|
864
|
-
}
|
|
865
|
-
type ScreenshotOverlayRenderResult = HTMLElement | string | false;
|
|
866
|
-
interface ScreenshotData {
|
|
867
|
-
time: number;
|
|
868
|
-
}
|
|
869
|
-
interface TimelineLayerOptions<TData = any, TMeta = any> {
|
|
870
|
-
id: string;
|
|
871
|
-
label: string;
|
|
872
|
-
color: number;
|
|
873
|
-
skipScreenshots?: boolean;
|
|
874
|
-
groupsOnly?: boolean;
|
|
875
|
-
ignoreNoDurationGroups?: boolean;
|
|
876
|
-
screenshotOverlayRender?: (event: TimelineEvent<TData, TMeta> & ScreenshotOverlayEvent, ctx: ScreenshotOverlayRenderContext) => ScreenshotOverlayRenderResult | Promise<ScreenshotOverlayRenderResult>;
|
|
877
|
-
}
|
|
878
|
-
interface TimelineEventOptions {
|
|
879
|
-
layerId: string;
|
|
880
|
-
event: TimelineEvent;
|
|
881
|
-
all?: boolean;
|
|
882
|
-
}
|
|
883
|
-
//#endregion
|
|
884
|
-
//#region src/core/index.d.ts
|
|
885
|
-
declare function initDevTools(): void;
|
|
886
|
-
declare function onDevToolsClientConnected(fn: () => void): Promise<void>;
|
|
887
|
-
//#endregion
|
|
888
|
-
//#region src/core/high-perf-mode/index.d.ts
|
|
889
|
-
declare function toggleHighPerfMode(state?: boolean): void;
|
|
890
|
-
//#endregion
|
|
891
|
-
//#region src/core/plugin/components.d.ts
|
|
892
|
-
declare function createComponentsDevToolsPlugin(app: App): [PluginDescriptor, PluginSetupFunction];
|
|
893
|
-
//#endregion
|
|
894
|
-
//#region src/core/plugin/index.d.ts
|
|
895
|
-
declare function setupDevToolsPlugin(pluginDescriptor: PluginDescriptor, setupFn: PluginSetupFunction): void;
|
|
896
|
-
declare function callDevToolsPluginSetupFn(plugin: [PluginDescriptor, PluginSetupFunction], app: App): void;
|
|
897
|
-
declare function removeRegisteredPluginApp(app: App): void;
|
|
898
|
-
declare function registerDevToolsPlugin(app: App, options?: {
|
|
899
|
-
inspectingComponent?: boolean;
|
|
900
|
-
}): void;
|
|
901
|
-
//#endregion
|
|
902
|
-
//#region src/core/component/types/bounding-rect.d.ts
|
|
903
|
-
interface ComponentBoundingRect {
|
|
904
|
-
left: number;
|
|
905
|
-
top: number;
|
|
906
|
-
right: number;
|
|
907
|
-
bottom: number;
|
|
908
|
-
width: number;
|
|
909
|
-
height: number;
|
|
910
|
-
}
|
|
911
|
-
interface ComponentBoundingRectApiPayload {
|
|
912
|
-
app?: VueAppInstance;
|
|
913
|
-
inspectorId?: string;
|
|
914
|
-
instanceId?: string;
|
|
915
|
-
rect?: ComponentBoundingRect;
|
|
916
|
-
}
|
|
917
|
-
//#endregion
|
|
918
|
-
//#region src/core/component/types/custom.d.ts
|
|
919
|
-
type customTypeEnums = 'function' | 'bigint' | 'map' | 'set' | 'store' | 'component' | 'component-definition' | 'HTMLElement' | 'component-definition' | 'date';
|
|
920
|
-
//#endregion
|
|
921
|
-
//#region src/core/component/state/editor.d.ts
|
|
922
|
-
type Recordable = Record<PropertyKey, any>;
|
|
923
|
-
//#endregion
|
|
924
|
-
//#region src/core/component/types/editor.d.ts
|
|
925
|
-
type PropPath = string | string[];
|
|
926
|
-
interface InspectorStateEditorPayload {
|
|
927
|
-
app?: AppRecord['app'];
|
|
928
|
-
inspectorId: string;
|
|
929
|
-
nodeId: string;
|
|
930
|
-
type: string;
|
|
931
|
-
path: PropPath;
|
|
932
|
-
state: {
|
|
933
|
-
value: unknown;
|
|
934
|
-
newKey: string;
|
|
935
|
-
remove?: boolean;
|
|
936
|
-
type: string;
|
|
937
|
-
};
|
|
938
|
-
set?: (obj: Recordable, path: PropPath, value: unknown, cb?: (object: Recordable, field: string, value: unknown) => void) => unknown;
|
|
939
|
-
}
|
|
940
|
-
//#endregion
|
|
941
|
-
//#region src/core/component/types/state.d.ts
|
|
942
|
-
interface InspectorCustomState {
|
|
943
|
-
_custom?: {
|
|
944
|
-
type?: string;
|
|
945
|
-
displayText?: string;
|
|
946
|
-
tooltipText?: string;
|
|
947
|
-
value?: string | InspectorCustomState;
|
|
948
|
-
stateTypeName?: string;
|
|
949
|
-
fields?: {
|
|
950
|
-
abstract?: boolean;
|
|
951
|
-
};
|
|
952
|
-
};
|
|
953
|
-
}
|
|
954
|
-
interface InspectorState {
|
|
955
|
-
key: string;
|
|
956
|
-
value: string | number | boolean | null | Record<string, unknown> | InspectorCustomState | Array<unknown>;
|
|
957
|
-
type: string;
|
|
958
|
-
path?: string[];
|
|
959
|
-
stateType?: string;
|
|
960
|
-
stateTypeName?: string;
|
|
961
|
-
meta?: Record<string, boolean | string>;
|
|
962
|
-
raw?: string;
|
|
963
|
-
editable?: boolean;
|
|
964
|
-
children?: {
|
|
965
|
-
key: string;
|
|
966
|
-
value: string | number;
|
|
967
|
-
type: string;
|
|
968
|
-
}[];
|
|
969
|
-
}
|
|
970
|
-
interface InspectorStateApiPayload {
|
|
971
|
-
app: VueAppInstance;
|
|
972
|
-
inspectorId: string;
|
|
973
|
-
nodeId: string;
|
|
974
|
-
state: {
|
|
975
|
-
id: string;
|
|
976
|
-
name: string;
|
|
977
|
-
file: string | undefined;
|
|
978
|
-
state: InspectorState[];
|
|
979
|
-
instance: VueAppInstance | undefined;
|
|
980
|
-
};
|
|
981
|
-
}
|
|
982
|
-
interface AddInspectorApiPayload {
|
|
983
|
-
id: string;
|
|
984
|
-
label: string;
|
|
985
|
-
icon?: string;
|
|
986
|
-
treeFilterPlaceholder?: string;
|
|
987
|
-
actions?: {
|
|
988
|
-
icon: string;
|
|
989
|
-
tooltip: string;
|
|
990
|
-
action: (payload: unknown) => void;
|
|
991
|
-
}[];
|
|
992
|
-
}
|
|
993
|
-
//#endregion
|
|
994
|
-
//#region src/core/component/types/tree.d.ts
|
|
995
|
-
interface InspectorTreeApiPayload {
|
|
996
|
-
app?: VueAppInstance;
|
|
997
|
-
inspectorId?: string;
|
|
998
|
-
filter?: string;
|
|
999
|
-
instanceId?: string;
|
|
1000
|
-
rootNodes?: ComponentTreeNode[];
|
|
1001
|
-
}
|
|
1002
|
-
interface InspectorTree {
|
|
1003
|
-
id: string;
|
|
1004
|
-
label: string;
|
|
1005
|
-
tags?: InspectorNodeTag[];
|
|
1006
|
-
children?: InspectorTree[];
|
|
1007
|
-
}
|
|
1008
|
-
//#endregion
|
|
1009
|
-
//#region src/core/component-highlighter/types.d.ts
|
|
1010
|
-
interface ComponentHighLighterOptions {
|
|
1011
|
-
bounds: ComponentBoundingRect;
|
|
1012
|
-
name?: string;
|
|
1013
|
-
id?: string;
|
|
1014
|
-
visible?: boolean;
|
|
1015
|
-
}
|
|
1016
|
-
interface ScrollToComponentOptions {
|
|
1017
|
-
id?: string;
|
|
1018
|
-
}
|
|
1019
|
-
//#endregion
|
|
1020
|
-
//#region src/core/component-highlighter/index.d.ts
|
|
1021
|
-
declare function toggleComponentHighLighter(options: ComponentHighLighterOptions): void;
|
|
1022
|
-
declare function highlight(instance: VueAppInstance): void;
|
|
1023
|
-
declare function unhighlight(): void;
|
|
1024
|
-
declare function cancelInspectComponentHighLighter(): void;
|
|
1025
|
-
declare function inspectComponentHighLighter(): Promise<string>;
|
|
1026
|
-
declare function scrollToComponent(options: ScrollToComponentOptions): void;
|
|
1027
|
-
//#endregion
|
|
1028
|
-
//#region src/core/component/state/constants.d.ts
|
|
1029
|
-
declare const UNDEFINED = "__vue_devtool_undefined__";
|
|
1030
|
-
declare const INFINITY = "__vue_devtool_infinity__";
|
|
1031
|
-
declare const NEGATIVE_INFINITY = "__vue_devtool_negative_infinity__";
|
|
1032
|
-
declare const NAN = "__vue_devtool_nan__";
|
|
1033
|
-
//#endregion
|
|
1034
|
-
//#region src/core/component/state/format.d.ts
|
|
1035
|
-
declare function getInspectorStateValueType(value: any, raw?: boolean): string;
|
|
1036
|
-
declare function formatInspectorStateValue(value: any, quotes?: boolean, options?: {
|
|
1037
|
-
customClass?: Partial<Record<'string', string>>;
|
|
1038
|
-
}): any;
|
|
1039
|
-
declare function getRaw(value: InspectorState['value']): {
|
|
1040
|
-
value: object | string | number | boolean | null;
|
|
1041
|
-
inherit: Record<string, any> | {
|
|
1042
|
-
abstract: true;
|
|
1043
|
-
};
|
|
1044
|
-
customType?: customTypeEnums;
|
|
1045
|
-
};
|
|
1046
|
-
declare function toEdit(value: unknown, customType?: customTypeEnums): string;
|
|
1047
|
-
declare function toSubmit(value: string, customType?: customTypeEnums): any;
|
|
1048
|
-
//#endregion
|
|
1049
|
-
//#region src/core/component/state/is.d.ts
|
|
1050
|
-
declare function isPlainObject(obj: unknown): obj is object;
|
|
1051
|
-
//#endregion
|
|
1052
|
-
//#region src/core/component/state/util.d.ts
|
|
1053
|
-
declare function escape(s: string): string;
|
|
1054
|
-
//#endregion
|
|
1055
|
-
//#region src/core/devtools-client/detected.d.ts
|
|
1056
|
-
declare function updateDevToolsClientDetected(params: Record<string, boolean>): void;
|
|
1057
|
-
//#endregion
|
|
1058
|
-
//#region src/messaging/presets/electron/context.d.ts
|
|
1059
|
-
interface EventEmitter$2 {
|
|
1060
|
-
on: (name: string, handler: (data: any) => void) => void;
|
|
1061
|
-
send: (name: string, ...args: any[]) => void;
|
|
1062
|
-
emit: (name: string, ...args: any[]) => void;
|
|
1063
|
-
}
|
|
1064
|
-
interface ElectronClientContext extends EventEmitter$2 {}
|
|
1065
|
-
interface ElectronProxyContext extends EventEmitter$2 {}
|
|
1066
|
-
interface ElectronServerContext extends EventEmitter$2 {}
|
|
1067
|
-
declare function setElectronClientContext(context: ElectronClientContext): void;
|
|
1068
|
-
declare function setElectronProxyContext(context: ElectronProxyContext): void;
|
|
1069
|
-
declare function setElectronServerContext(context: ElectronServerContext): void;
|
|
1070
|
-
//#endregion
|
|
1071
|
-
//#region src/messaging/presets/extension/context.d.ts
|
|
1072
|
-
interface EventEmitter$1 {
|
|
1073
|
-
onMessage: {
|
|
1074
|
-
addListener: (listener: (name: string, ...args: any[]) => void) => void;
|
|
1075
|
-
};
|
|
1076
|
-
postMessage: (name: string, ...args: any[]) => void;
|
|
1077
|
-
}
|
|
1078
|
-
interface ExtensionClientContext extends EventEmitter$1 {}
|
|
1079
|
-
declare function getExtensionClientContext(): ExtensionClientContext;
|
|
1080
|
-
declare function setExtensionClientContext(context: ExtensionClientContext): void;
|
|
1081
|
-
//#endregion
|
|
1082
|
-
//#region src/messaging/presets/iframe/context.d.ts
|
|
1083
|
-
declare function setIframeServerContext(context: HTMLIFrameElement): void;
|
|
1084
|
-
//#endregion
|
|
1085
|
-
//#region src/messaging/presets/vite/context.d.ts
|
|
1086
|
-
interface EventEmitter {
|
|
1087
|
-
on: (name: string, handler: (data: any) => void) => void;
|
|
1088
|
-
send: (name: string, ...args: any[]) => void;
|
|
1089
|
-
}
|
|
1090
|
-
interface ViteClientContext extends EventEmitter {}
|
|
1091
|
-
interface ViteDevServer {
|
|
1092
|
-
hot?: EventEmitter;
|
|
1093
|
-
ws?: EventEmitter;
|
|
1094
|
-
}
|
|
1095
|
-
declare function setViteClientContext(context: ViteClientContext): void;
|
|
1096
|
-
declare function setViteServerContext(context: ViteDevServer): void;
|
|
1097
|
-
//#endregion
|
|
1098
|
-
//#region src/messaging/index.d.ts
|
|
1099
|
-
type Presets = 'iframe' | 'electron' | 'vite' | 'broadcast' | 'extension';
|
|
1100
|
-
interface CreateRpcClientOptions<RemoteFunctions> {
|
|
1101
|
-
options?: BirpcOptions<RemoteFunctions>;
|
|
1102
|
-
preset?: Presets;
|
|
1103
|
-
channel?: ChannelOptions;
|
|
1104
|
-
}
|
|
1105
|
-
interface CreateRpcServerOptions<RemoteFunctions> {
|
|
1106
|
-
options?: BirpcOptions<RemoteFunctions>;
|
|
1107
|
-
preset?: Presets;
|
|
1108
|
-
channel?: ChannelOptions;
|
|
1109
|
-
}
|
|
1110
|
-
declare function setRpcServerToGlobal<R, L>(rpc: BirpcGroup<R, L>): void;
|
|
1111
|
-
declare function getRpcClient<R, L extends object = Record<string, never>>(): BirpcReturn<R, L>;
|
|
1112
|
-
declare function getRpcServer<R, L extends object = Record<string, never>>(): BirpcGroup<R, L>;
|
|
1113
|
-
declare function setViteRpcClientToGlobal<R, L>(rpc: BirpcReturn<R, L>): void;
|
|
1114
|
-
declare function setViteRpcServerToGlobal<R, L>(rpc: BirpcGroup<R, L>): void;
|
|
1115
|
-
declare function getViteRpcClient<R, L extends object = Record<string, never>>(): BirpcReturn<R, L>;
|
|
1116
|
-
declare function getViteRpcServer<R, L extends object = Record<string, never>>(): BirpcGroup<R, L>;
|
|
1117
|
-
declare function createRpcClient<RemoteFunctions = Record<string, never>, LocalFunctions extends object = Record<string, never>>(functions: LocalFunctions, options?: CreateRpcClientOptions<RemoteFunctions>): BirpcReturn<RemoteFunctions, LocalFunctions> | undefined;
|
|
1118
|
-
declare function createRpcServer<RemoteFunctions = Record<string, never>, LocalFunctions extends object = Record<string, never>>(functions: LocalFunctions, options?: CreateRpcServerOptions<RemoteFunctions>): void;
|
|
1119
|
-
declare function createRpcProxy<RemoteFunctions = Record<string, never>, LocalFunctions extends object = Record<string, never>>(options?: CreateRpcClientOptions<RemoteFunctions>): BirpcReturn<RemoteFunctions, LocalFunctions>;
|
|
1120
|
-
//#endregion
|
|
1121
|
-
//#region src/shared/util.d.ts
|
|
1122
|
-
declare function stringify<T extends object = Record<string, unknown>>(data: T): string | string[];
|
|
1123
|
-
declare function parse(data: string, revive?: boolean): any;
|
|
1124
|
-
//#endregion
|
|
1125
|
-
//#region src/index.d.ts
|
|
1126
|
-
declare const devtools: {
|
|
1127
|
-
hook: VueHooks;
|
|
1128
|
-
init: () => void;
|
|
1129
|
-
readonly ctx: DevtoolsContext;
|
|
1130
|
-
readonly api: {
|
|
1131
|
-
getInspectorTree(payload: Pick<DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_TREE], "inspectorId" | "filter">): Promise<never[]>;
|
|
1132
|
-
getInspectorState(payload: Pick<DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.GET_INSPECTOR_STATE], "inspectorId" | "nodeId">): Promise<CustomInspectorState>;
|
|
1133
|
-
editInspectorState(payload: DevToolsV6PluginAPIHookPayloads[DevToolsV6PluginAPIHookKeys.EDIT_INSPECTOR_STATE]): void;
|
|
1134
|
-
sendInspectorState(inspectorId: string): void;
|
|
1135
|
-
inspectComponentInspector(): Promise<string>;
|
|
1136
|
-
cancelInspectComponentInspector(): void;
|
|
1137
|
-
getComponentRenderCode(id: string): any;
|
|
1138
|
-
scrollToComponent(id: string): void;
|
|
1139
|
-
openInEditor: typeof openInEditor;
|
|
1140
|
-
getVueInspector: typeof getComponentInspector;
|
|
1141
|
-
toggleApp(id: string, options?: {
|
|
1142
|
-
inspectingComponent?: boolean;
|
|
1143
|
-
}): void;
|
|
1144
|
-
inspectDOM(instanceId: string): void;
|
|
1145
|
-
updatePluginSettings(pluginId: string, key: string, value: string): void;
|
|
1146
|
-
getPluginSettings(pluginId: string): {
|
|
1147
|
-
options: Record<string, {
|
|
1148
|
-
label: string;
|
|
1149
|
-
description?: string;
|
|
1150
|
-
} & ({
|
|
1151
|
-
type: "boolean";
|
|
1152
|
-
defaultValue: boolean;
|
|
1153
|
-
} | {
|
|
1154
|
-
type: "choice";
|
|
1155
|
-
defaultValue: string | number;
|
|
1156
|
-
options: {
|
|
1157
|
-
value: string | number;
|
|
1158
|
-
label: string;
|
|
1159
|
-
}[];
|
|
1160
|
-
component?: "select" | "button-group";
|
|
1161
|
-
} | {
|
|
1162
|
-
type: "text";
|
|
1163
|
-
defaultValue: string;
|
|
1164
|
-
})> | null;
|
|
1165
|
-
values: any;
|
|
1166
|
-
};
|
|
1167
|
-
};
|
|
1168
|
-
};
|
|
1169
|
-
//#endregion
|
|
1170
|
-
export { AddInspectorApiPayload, App, AppRecord, ComponentBoundingRect, ComponentBoundingRectApiPayload, ComponentBounds, ComponentHighLighterOptions, ComponentInspector, ComponentInstance, ComponentState, ComponentTreeNode, CreateRpcClientOptions, CreateRpcServerOptions, CustomCommand, CustomCommandAction, CustomInspectorNode, CustomInspectorOptions, CustomInspectorState, CustomTab, DevToolsApiType, DevToolsAppRecords, DevToolsContextHookKeys, DevToolsContextHookPayloads, DevToolsContextHooks, DevToolsEvent, DevToolsHook, DevToolsHooks, DevToolsMessagingHookKeys, DevToolsMessagingHookPayloads, DevToolsMessagingHooks, DevToolsPlugin, DevToolsState, DevToolsV6PluginAPIHookKeys, DevToolsV6PluginAPIHookPayloads, DevToolsV6PluginAPIHooks, DevtoolsContext, EditStatePayload, INFINITY, InspectedComponentData, InspectorCustomState, InspectorNodeTag, InspectorState, InspectorStateApiPayload, InspectorStateEditorPayload, InspectorTree, InspectorTreeApiPayload, ModuleIframeView, ModuleSFCView, ModuleVNodeView, ModuleView, NAN, NEGATIVE_INFINITY, OpenInEditorOptions, PluginDescriptor, PluginSetupFunction, Presets, PropPath, ROUTER_INFO_KEY, ROUTER_KEY, type Router, RouterInfo, ScreenshotData, ScreenshotOverlayEvent, ScreenshotOverlayRenderContext, ScreenshotOverlayRenderResult, ScrollToComponentOptions, StateBase, TimelineEvent, TimelineEventOptions, TimelineLayerOptions, UNDEFINED, VueAppInstance, type VueHooks, activeAppRecord, addCustomCommand, addCustomTab, addDevToolsAppRecord, addDevToolsPluginToBuffer, addInspector, callConnectedUpdatedHook, callDevToolsPluginSetupFn, callInspectorUpdatedHook, callStateUpdatedHook, cancelInspectComponentHighLighter, createComponentsDevToolsPlugin, createDevToolsApi, createDevToolsCtxHooks, createRpcClient, createRpcProxy, createRpcServer, customTypeEnums, devtools, devtoolsAppRecords, devtoolsContext, devtoolsInspector, devtoolsPluginBuffer, devtoolsRouter, devtoolsRouterInfo, devtoolsState, escape, formatInspectorStateValue, getActiveInspectors, getComponentInspector, getDevToolsEnv, getExtensionClientContext, getInspector, getInspectorActions, getInspectorInfo, getInspectorNodeActions, getInspectorStateValueType, getRaw, getRpcClient, getRpcServer, getViteRpcClient, getViteRpcServer, highlight, initDevTools, inspectComponentHighLighter, isPlainObject, onDevToolsClientConnected, onDevToolsConnected, openInEditor, parse, registerDevToolsPlugin, removeCustomCommand, removeDevToolsAppRecord, removeRegisteredPluginApp, resetDevToolsState, scrollToComponent, setActiveAppRecord, setActiveAppRecordId, setDevToolsEnv, setElectronClientContext, setElectronProxyContext, setElectronServerContext, setExtensionClientContext, setIframeServerContext, setOpenInEditorBaseUrl, setRpcServerToGlobal, setViteClientContext, setViteRpcClientToGlobal, setViteRpcServerToGlobal, setViteServerContext, setupDevToolsPlugin, stringify, toEdit, toSubmit, toggleClientConnected, toggleComponentHighLighter, toggleComponentInspectorEnabled, toggleHighPerfMode, unhighlight, updateDevToolsClientDetected, updateDevToolsState, updateTimelineLayersState };
|