@poveste/vendors 0.14.0 → 0.15.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/dist/client/b-floating-vue.js +1 -1
- package/dist/client/b-iconify.js +1429 -1416
- package/dist/client/b-pinia.js +1359 -1936
- package/dist/client/b-vue-router.js +787 -502
- package/dist/client/b-vue-use.js +497 -367
- package/dist/client/b-vue.js +1 -1
- package/dist/client/devtools-api.js +6568 -0
- package/dist/client/index.js +178 -162
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +17 -72
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +7 -12
- package/dist/client/node_modules/@iconify/vue/offline/package.json +2 -2
- package/dist/client/node_modules/@iconify/vue/package.json +13 -16
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +88 -0
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/set-array.d.ts +32 -0
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
- package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +43 -0
- package/dist/client/node_modules/@jridgewell/gen-mapping/package.json +67 -0
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +89 -0
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +33 -0
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +13 -0
- package/dist/client/node_modules/@jridgewell/gen-mapping/types/types.d.mts +44 -0
- package/dist/client/node_modules/@jridgewell/remapping/package.json +71 -0
- package/dist/client/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.mts +15 -0
- package/dist/client/node_modules/@jridgewell/remapping/types/remapping.d.mts +21 -0
- package/dist/client/node_modules/@jridgewell/remapping/types/source-map-tree.d.mts +46 -0
- package/dist/client/node_modules/@jridgewell/remapping/types/source-map.d.mts +19 -0
- package/dist/client/node_modules/@jridgewell/remapping/types/types.d.mts +16 -0
- package/dist/client/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
- package/dist/client/node_modules/@jridgewell/resolve-uri/package.json +69 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/package.json +67 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +33 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts +4 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +9 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +4 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/sort.d.mts +4 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +17 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts +5 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +80 -0
- package/dist/client/node_modules/@jridgewell/trace-mapping/types/types.d.mts +107 -0
- package/dist/client/node_modules/@vue/devtools-api/dist/index-node.d.ts +11 -0
- package/dist/client/node_modules/@vue/devtools-api/dist/index.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/package.json +25 -24
- package/dist/client/node_modules/@vue/devtools-kit/dist/index.d.ts +1170 -0
- package/dist/client/node_modules/@vue/devtools-kit/global.d.ts +20 -0
- package/dist/client/node_modules/@vue/devtools-kit/package.json +44 -0
- package/dist/client/node_modules/@vue/devtools-kit/types.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-shared/dist/index.d.ts +40 -0
- package/dist/client/node_modules/@vue/devtools-shared/package.json +33 -0
- package/dist/client/node_modules/@vue-macros/common/dist/index.d.ts +124 -0
- package/dist/client/node_modules/@vue-macros/common/package.json +63 -0
- package/dist/client/node_modules/@vueuse/core/dist/index.d.ts +223 -111
- package/dist/client/node_modules/@vueuse/core/package.json +10 -3
- package/dist/client/node_modules/@vueuse/metadata/package.json +4 -1
- package/dist/client/node_modules/@vueuse/shared/dist/index.d.ts +2 -2
- package/dist/client/node_modules/@vueuse/shared/package.json +4 -1
- package/dist/client/node_modules/acorn/dist/acorn.d.mts +897 -0
- package/dist/client/node_modules/acorn/dist/acorn.d.ts +897 -0
- package/dist/client/node_modules/acorn/package.json +50 -0
- package/dist/client/node_modules/ast-kit/dist/index.d.ts +380 -0
- package/dist/client/node_modules/ast-kit/package.json +63 -0
- package/dist/client/node_modules/ast-walker-scope/dist/index.d.mts +51 -0
- package/dist/client/node_modules/ast-walker-scope/package.json +60 -0
- package/dist/client/node_modules/birpc/dist/index.d.mts +215 -0
- package/dist/client/node_modules/birpc/dist/index.d.ts +215 -0
- package/dist/client/node_modules/birpc/package.json +57 -0
- package/dist/client/node_modules/chokidar/handler.d.ts +90 -0
- package/dist/client/node_modules/chokidar/index.d.ts +217 -0
- package/dist/client/node_modules/chokidar/package.json +63 -0
- package/dist/client/node_modules/confbox/dist/_chunks/_format.d.mts +25 -0
- package/dist/client/node_modules/confbox/dist/index.d.mts +34 -0
- package/dist/client/node_modules/confbox/dist/ini.d.mts +62 -0
- package/dist/client/node_modules/confbox/dist/json5.d.mts +59 -0
- package/dist/client/node_modules/confbox/dist/jsonc.d.mts +41 -0
- package/dist/client/node_modules/confbox/dist/toml.d.mts +23 -0
- package/dist/client/node_modules/confbox/dist/yaml.d.mts +96 -0
- package/dist/client/node_modules/confbox/package.json +67 -0
- package/dist/client/node_modules/exsolve/dist/index.d.mts +66 -0
- package/dist/client/node_modules/exsolve/package.json +42 -0
- package/dist/client/node_modules/fdir/dist/index.d.mts +155 -0
- package/dist/client/node_modules/fdir/package.json +103 -0
- package/dist/client/node_modules/hookable/dist/index.d.ts +103 -0
- package/dist/client/node_modules/hookable/package.json +49 -0
- package/dist/client/node_modules/local-pkg/dist/index.d.mts +42 -0
- package/dist/client/node_modules/local-pkg/dist/index.d.ts +42 -0
- package/dist/client/node_modules/local-pkg/package.json +65 -0
- package/dist/client/node_modules/magic-string-ast/dist/index.d.ts +67 -0
- package/dist/client/node_modules/magic-string-ast/package.json +64 -0
- package/dist/client/node_modules/mlly/dist/index.d.mts +564 -0
- package/dist/client/node_modules/mlly/dist/index.d.ts +564 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.mts +32 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.ts +32 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.mts +58 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.ts +58 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.mts +41 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.ts +41 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.mts +24 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.ts +24 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.mts +22 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.ts +22 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.mts +95 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.ts +95 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/json5.d.ts +2 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/jsonc.d.ts +2 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/package.json +86 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/toml.d.ts +2 -0
- package/dist/client/node_modules/mlly/node_modules/confbox/yaml.d.ts +2 -0
- package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.mts +411 -0
- package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.ts +411 -0
- package/dist/client/node_modules/mlly/node_modules/pkg-types/package.json +47 -0
- package/dist/client/node_modules/mlly/package.json +55 -0
- package/dist/client/node_modules/muggle-string/out/base.d.ts +6 -0
- package/dist/client/node_modules/muggle-string/out/basic.d.ts +6 -0
- package/dist/client/node_modules/muggle-string/out/binarySearch.d.ts +1 -0
- package/dist/client/node_modules/muggle-string/out/common.d.ts +9 -0
- package/dist/client/node_modules/muggle-string/out/getLength.d.ts +2 -0
- package/dist/client/node_modules/muggle-string/out/index.d.ts +10 -0
- package/dist/client/node_modules/muggle-string/out/map.d.ts +3 -0
- package/dist/client/node_modules/muggle-string/out/overwriteSource.d.ts +3 -0
- package/dist/client/node_modules/muggle-string/out/replace.d.ts +3 -0
- package/dist/client/node_modules/muggle-string/out/segment.d.ts +6 -0
- package/dist/client/node_modules/muggle-string/out/sourceBased.d.ts +3 -0
- package/dist/client/node_modules/muggle-string/out/toString.d.ts +2 -0
- package/dist/client/node_modules/muggle-string/out/track.d.ts +6 -0
- package/dist/client/node_modules/muggle-string/out/types.d.ts +16 -0
- package/dist/client/node_modules/muggle-string/package.json +22 -0
- package/dist/client/node_modules/nostics/dist/diagnostic-wduO7saY.d.mts +295 -0
- package/dist/client/node_modules/nostics/dist/formatters/ansi.d.mts +15 -0
- package/dist/client/node_modules/nostics/dist/formatters/json.d.mts +7 -0
- package/dist/client/node_modules/nostics/dist/index.d.mts +51 -0
- package/dist/client/node_modules/nostics/dist/reporters/dev.d.mts +13 -0
- package/dist/client/node_modules/nostics/dist/reporters/fetch.d.mts +11 -0
- package/dist/client/node_modules/nostics/dist/reporters/node.d.mts +43 -0
- package/dist/client/node_modules/nostics/package.json +125 -0
- package/dist/client/node_modules/pathe/dist/index.d.mts +47 -0
- package/dist/client/node_modules/pathe/dist/index.d.ts +47 -0
- package/dist/client/node_modules/pathe/dist/utils.d.mts +32 -0
- package/dist/client/node_modules/pathe/dist/utils.d.ts +32 -0
- package/dist/client/node_modules/pathe/package.json +61 -0
- package/dist/client/node_modules/pathe/utils.d.ts +1 -0
- package/dist/client/node_modules/perfect-debounce/dist/index.d.mts +49 -0
- package/dist/client/node_modules/perfect-debounce/package.json +41 -0
- package/dist/client/node_modules/picomatch/package.json +83 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +937 -1056
- package/dist/client/node_modules/pinia/package.json +53 -67
- package/dist/client/node_modules/pkg-types/dist/index.d.mts +695 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/_format.d.mts +22 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/libs/js-yaml.d.mts +33 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/index.d.mts +7 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/ini.d.mts +59 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json.d.mts +25 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json5.d.mts +55 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/jsonc.d.mts +29 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/toml.d.mts +20 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/yaml.d.mts +101 -0
- package/dist/client/node_modules/pkg-types/node_modules/confbox/package.json +68 -0
- package/dist/client/node_modules/pkg-types/package.json +47 -0
- package/dist/client/node_modules/quansync/dist/index.d.mts +22 -0
- package/dist/client/node_modules/quansync/dist/index.d.ts +22 -0
- package/dist/client/node_modules/quansync/dist/macro.d.mts +18 -0
- package/dist/client/node_modules/quansync/dist/macro.d.ts +18 -0
- package/dist/client/node_modules/quansync/dist/types.d.mts +27 -0
- package/dist/client/node_modules/quansync/dist/types.d.ts +27 -0
- package/dist/client/node_modules/quansync/package.json +95 -0
- package/dist/client/node_modules/readdirp/index.d.ts +117 -0
- package/dist/client/node_modules/readdirp/package.json +62 -0
- package/dist/client/node_modules/scule/dist/index.d.mts +57 -0
- package/dist/client/node_modules/scule/dist/index.d.ts +57 -0
- package/dist/client/node_modules/scule/package.json +43 -0
- package/dist/client/node_modules/tinyglobby/dist/index.d.mts +148 -0
- package/dist/client/node_modules/tinyglobby/package.json +70 -0
- package/dist/client/node_modules/ufo/dist/index.d.mts +714 -0
- package/dist/client/node_modules/ufo/dist/index.d.ts +714 -0
- package/dist/client/node_modules/ufo/package.json +48 -0
- package/dist/client/node_modules/unplugin/dist/index.d.mts +241 -0
- package/dist/client/node_modules/unplugin/dist/rspack/loaders/load.d.mts +4 -0
- package/dist/client/node_modules/unplugin/dist/rspack/loaders/transform.d.mts +4 -0
- package/dist/client/node_modules/unplugin/dist/webpack/loaders/load.d.mts +4 -0
- package/dist/client/node_modules/unplugin/dist/webpack/loaders/transform.d.mts +4 -0
- package/dist/client/node_modules/unplugin/package.json +146 -0
- package/dist/client/node_modules/unplugin-utils/dist/index.d.ts +31 -0
- package/dist/client/node_modules/unplugin-utils/package.json +61 -0
- package/dist/client/node_modules/vue-router/dist/experimental/index.d.ts +7 -0
- package/dist/client/node_modules/vue-router/dist/experimental/pinia-colada.d.ts +151 -0
- package/dist/client/node_modules/vue-router/dist/{router-CWoNjPRp.d.mts → index-D7ja2BKs.d.ts} +2480 -1160
- package/dist/client/node_modules/vue-router/dist/options-CwYZKRl4.d.mts +2923 -0
- package/dist/client/node_modules/vue-router/dist/unplugin/esbuild.d.mts +10 -0
- package/dist/client/node_modules/vue-router/dist/unplugin/index.d.mts +62 -0
- package/dist/client/node_modules/vue-router/dist/unplugin/options.d.mts +7 -0
- package/dist/client/node_modules/vue-router/dist/unplugin/rolldown.d.mts +10 -0
- package/dist/client/node_modules/vue-router/dist/unplugin/rollup.d.mts +10 -0
- package/dist/client/node_modules/vue-router/dist/unplugin/types.d.mts +7 -0
- package/dist/client/node_modules/vue-router/dist/unplugin/vite.d.mts +10 -0
- package/dist/client/node_modules/vue-router/dist/unplugin/webpack.d.mts +10 -0
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +7 -0
- package/dist/client/node_modules/vue-router/package.json +153 -95
- package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -17
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.mts +53 -0
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +2 -1
- package/dist/client/node_modules/webpack-virtual-modules/lib/index.d.ts +15 -0
- package/dist/client/node_modules/webpack-virtual-modules/lib/virtual-stats.d.ts +11 -0
- package/dist/client/node_modules/webpack-virtual-modules/package.json +82 -0
- package/dist/client/vue.runtime.esm-bundler.js +1 -176
- package/package.json +8 -7
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +0 -108
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +0 -1
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +0 -78
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +0 -5
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +0 -180
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +0 -6
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +0 -4
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +0 -2
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +0 -15
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +0 -18
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +0 -47
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +0 -20
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +0 -2
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +0 -22
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
- package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +0 -47
- package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +0 -38
- package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +0 -361
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +0 -4
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DevToolsHook, RouterInfo } from './src/types'
|
|
2
|
+
|
|
3
|
+
/* eslint-disable vars-on-top */
|
|
4
|
+
declare global {
|
|
5
|
+
var __VUE_DEVTOOLS_GLOBAL_HOOK__: DevToolsHook
|
|
6
|
+
var __VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__: {
|
|
7
|
+
id: number
|
|
8
|
+
appIds: Set<string>
|
|
9
|
+
}
|
|
10
|
+
var __VUE_DEVTOOLS_ROUTER_INFO__: RouterInfo
|
|
11
|
+
var __VUE_DEVTOOLS_ENV__: {
|
|
12
|
+
vitePluginDetected: boolean
|
|
13
|
+
}
|
|
14
|
+
var __VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__: boolean
|
|
15
|
+
var __VUE_DEVTOOLS_VITE_PLUGIN_DETECTED__: boolean
|
|
16
|
+
var __VUE_DEVTOOLS_VITE_PLUGIN_CLIENT_URL__: string
|
|
17
|
+
var __VUE_DEVTOOLS_BROWSER_EXTENSION_DETECTED__: boolean
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { }
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vue/devtools-kit",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "8.2.1",
|
|
5
|
+
"author": "webfansplz",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"directory": "packages/devtools-kit",
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/vuejs/devtools.git"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"main": "./dist/index.cjs",
|
|
20
|
+
"module": "./dist/index.js",
|
|
21
|
+
"types": "./types.d.ts",
|
|
22
|
+
"files": [
|
|
23
|
+
"**.d.ts",
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"birpc": "^2.6.1",
|
|
28
|
+
"hookable": "^5.5.3",
|
|
29
|
+
"perfect-debounce": "^2.0.0",
|
|
30
|
+
"@vue/devtools-shared": "^8.2.1"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@types/speakingurl": "^13.0.6",
|
|
34
|
+
"speakingurl": "^14.0.1",
|
|
35
|
+
"superjson": "^2.2.2",
|
|
36
|
+
"vue": "^3.5.22",
|
|
37
|
+
"vue-router": "^4.6.0"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsdown --clean",
|
|
41
|
+
"prepare:type": "tsdown --dts-only",
|
|
42
|
+
"stub": "tsdown --watch --onSuccess 'tsdown --dts-only'"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
//#region src/constants.d.ts
|
|
2
|
+
declare const VIEW_MODE_STORAGE_KEY = "__vue-devtools-view-mode__";
|
|
3
|
+
declare const VITE_PLUGIN_DETECTED_STORAGE_KEY = "__vue-devtools-vite-plugin-detected__";
|
|
4
|
+
declare const VITE_PLUGIN_CLIENT_URL_STORAGE_KEY = "__vue-devtools-vite-plugin-client-url__";
|
|
5
|
+
declare const BROADCAST_CHANNEL_NAME = "__vue-devtools-broadcast-channel__";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/env.d.ts
|
|
8
|
+
declare const isBrowser: boolean;
|
|
9
|
+
declare const target: typeof globalThis;
|
|
10
|
+
declare const isInChromePanel: boolean;
|
|
11
|
+
declare const isInIframe: boolean;
|
|
12
|
+
declare const isInElectron: boolean;
|
|
13
|
+
declare const isNuxtApp: boolean;
|
|
14
|
+
declare const isInSeparateWindow: boolean;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/general.d.ts
|
|
17
|
+
declare function NOOP(): void;
|
|
18
|
+
declare const isNumeric: (str: string | number) => boolean;
|
|
19
|
+
declare const isMacOS: () => boolean;
|
|
20
|
+
declare function classify(str: string): string;
|
|
21
|
+
declare function camelize(str: string): string;
|
|
22
|
+
declare function kebabize(str: string): string;
|
|
23
|
+
declare function basename(filename: string, ext: string): string;
|
|
24
|
+
declare function sortByKey(state: unknown[]): Record<"key", number>[];
|
|
25
|
+
/**
|
|
26
|
+
* Check a string is start with `/` or a valid http url
|
|
27
|
+
*/
|
|
28
|
+
declare function isUrlString(str: string): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @copyright [rfdc](https://github.com/davidmarkclements/rfdc)
|
|
31
|
+
* @description A really fast deep clone alternative
|
|
32
|
+
*/
|
|
33
|
+
declare const deepClone: <T>(input: T) => T;
|
|
34
|
+
declare function randomStr(): string;
|
|
35
|
+
declare function isObject<T extends object>(value: any): value is T;
|
|
36
|
+
declare function isArray<T>(value: any): value is T[];
|
|
37
|
+
declare function isSet<T>(value: any): value is Set<T>;
|
|
38
|
+
declare function isMap<K, V>(value: any): value is Map<K, V>;
|
|
39
|
+
//#endregion
|
|
40
|
+
export { BROADCAST_CHANNEL_NAME, NOOP, VIEW_MODE_STORAGE_KEY, VITE_PLUGIN_CLIENT_URL_STORAGE_KEY, VITE_PLUGIN_DETECTED_STORAGE_KEY, basename, camelize, classify, deepClone, isArray, isBrowser, isInChromePanel, isInElectron, isInIframe, isInSeparateWindow, isMacOS, isMap, isNumeric, isNuxtApp, isObject, isSet, isUrlString, kebabize, randomStr, sortByKey, target };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vue/devtools-shared",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "8.2.1",
|
|
5
|
+
"author": "webfansplz",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"directory": "packages/shared",
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/vuejs/devtools.git"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"main": "./dist/index.cjs",
|
|
20
|
+
"module": "./dist/index.js",
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/node": "^24.7.2",
|
|
26
|
+
"rfdc": "^1.4.1"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsdown",
|
|
30
|
+
"prepare:type": "tsdown --dts-only",
|
|
31
|
+
"stub": "tsdown --watch --onSuccess 'tsdown --dts-only'"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { CodeTransform, MagicString, MagicStringAST } from "magic-string-ast";
|
|
2
|
+
import { FilterPattern, FilterPattern as FilterPattern$1, createFilter as createRollupFilter, normalizePath } from "unplugin-utils";
|
|
3
|
+
import { SFCDescriptor, SFCParseResult, SFCScriptBlock as SFCScriptBlock$1 } from "@vue/compiler-sfc";
|
|
4
|
+
import * as t from "@babel/types";
|
|
5
|
+
import { Node, Program } from "@babel/types";
|
|
6
|
+
import { ResolvedOptions } from "@vitejs/plugin-vue";
|
|
7
|
+
import { Plugin } from "rollup";
|
|
8
|
+
import { HmrContext, Plugin as Plugin$1 } from "vite";
|
|
9
|
+
export * from "magic-string-ast";
|
|
10
|
+
export * from "ast-kit";
|
|
11
|
+
|
|
12
|
+
//#region src/ast.d.ts
|
|
13
|
+
declare function checkInvalidScopeReference(node: t.Node | undefined, method: string, setupBindings: string[]): void;
|
|
14
|
+
declare function isStaticExpression(node: t.Node, options?: Partial<Record<"object" | "fn" | "objectMethod" | "array" | "unary" | "regex", boolean> & {
|
|
15
|
+
magicComment?: string;
|
|
16
|
+
}>): boolean;
|
|
17
|
+
declare function isStaticObjectKey(node: t.ObjectExpression): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @param node must be a static expression, SpreadElement is not supported
|
|
20
|
+
*/
|
|
21
|
+
declare function resolveObjectExpression(node: t.ObjectExpression): Record<string | number, t.ObjectMethod | t.ObjectProperty> | undefined;
|
|
22
|
+
declare const HELPER_PREFIX = "__MACROS_";
|
|
23
|
+
declare function importHelperFn(s: MagicString, offset: number, imported: string, local?: string, from?: string, prefix?: string): string;
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/constants.d.ts
|
|
26
|
+
declare const DEFINE_PROPS = "defineProps";
|
|
27
|
+
declare const DEFINE_PROPS_DOLLAR = "$defineProps";
|
|
28
|
+
declare const DEFINE_PROPS_REFS = "definePropsRefs";
|
|
29
|
+
declare const DEFINE_EMITS = "defineEmits";
|
|
30
|
+
declare const WITH_DEFAULTS = "withDefaults";
|
|
31
|
+
declare const DEFINE_OPTIONS = "defineOptions";
|
|
32
|
+
declare const DEFINE_MODELS = "defineModels";
|
|
33
|
+
declare const DEFINE_MODELS_DOLLAR = "$defineModels";
|
|
34
|
+
declare const DEFINE_SETUP_COMPONENT = "defineSetupComponent";
|
|
35
|
+
declare const DEFINE_RENDER = "defineRender";
|
|
36
|
+
declare const DEFINE_SLOTS = "defineSlots";
|
|
37
|
+
declare const DEFINE_STYLEX = "defineStyleX";
|
|
38
|
+
declare const DEFINE_PROP = "defineProp";
|
|
39
|
+
declare const DEFINE_PROP_DOLLAR = "$defineProp";
|
|
40
|
+
declare const DEFINE_EMIT = "defineEmit";
|
|
41
|
+
declare const REPO_ISSUE_URL: "https://github.com/vue-macros/vue-macros/issues";
|
|
42
|
+
declare const REGEX_SRC_FILE: RegExp;
|
|
43
|
+
declare const REGEX_SETUP_SFC: RegExp;
|
|
44
|
+
declare const REGEX_SETUP_SFC_SUB: RegExp;
|
|
45
|
+
declare const REGEX_VUE_SFC: RegExp;
|
|
46
|
+
/** webpack only */
|
|
47
|
+
declare const REGEX_VUE_SUB: RegExp;
|
|
48
|
+
/** webpack only */
|
|
49
|
+
declare const REGEX_VUE_SUB_SETUP: RegExp;
|
|
50
|
+
declare const REGEX_NODE_MODULES: RegExp;
|
|
51
|
+
declare const REGEX_SUPPORTED_EXT: RegExp;
|
|
52
|
+
declare const VIRTUAL_ID_PREFIX = "/vue-macros";
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/dep.d.ts
|
|
55
|
+
declare function detectVueVersion(root?: string, defaultVersion?: number): number;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/error.d.ts
|
|
58
|
+
declare class TransformError<T extends string> extends SyntaxError {
|
|
59
|
+
message: T;
|
|
60
|
+
constructor(message: T);
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/unplugin.d.ts
|
|
64
|
+
interface FilterOptions {
|
|
65
|
+
include?: FilterPattern$1;
|
|
66
|
+
exclude?: FilterPattern$1;
|
|
67
|
+
}
|
|
68
|
+
declare function createFilter(options: FilterOptions): (id: string | unknown) => boolean;
|
|
69
|
+
interface VuePluginApi {
|
|
70
|
+
options: ResolvedOptions;
|
|
71
|
+
version: string;
|
|
72
|
+
}
|
|
73
|
+
declare function getVuePluginApi(plugins: Readonly<(Plugin | Plugin$1)[]> | undefined): VuePluginApi | null;
|
|
74
|
+
declare enum FilterFileType {
|
|
75
|
+
/** Vue SFC */
|
|
76
|
+
VUE_SFC = 0,
|
|
77
|
+
/** Vue SFC with `<script setup>` */
|
|
78
|
+
VUE_SFC_WITH_SETUP = 1,
|
|
79
|
+
/** foo.setup.tsx */
|
|
80
|
+
SETUP_SFC = 2,
|
|
81
|
+
/** Source files */
|
|
82
|
+
SRC_FILE = 3,
|
|
83
|
+
}
|
|
84
|
+
declare function getFilterPattern(types: FilterFileType[], framework?: string): RegExp[];
|
|
85
|
+
declare function hackViteHMR(ctx: HmrContext, filter: (id: string | unknown) => boolean, callback: (code: string, id: string) => CodeTransform | undefined | Promise<CodeTransform | undefined>): void;
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/options.d.ts
|
|
88
|
+
interface BaseOptions extends FilterOptions {
|
|
89
|
+
version?: number;
|
|
90
|
+
isProduction?: boolean;
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region src/types.d.ts
|
|
94
|
+
type MarkRequired<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
95
|
+
type Overwrite<T, U> = Pick<T, Exclude<keyof T, keyof U>> & U;
|
|
96
|
+
type RecordToUnion<T extends Record<string, any>> = T[keyof T];
|
|
97
|
+
type UnionToIntersection<U> = (U extends unknown ? (arg: U) => 0 : never) extends ((arg: infer I) => 0) ? I : never;
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/vue.d.ts
|
|
100
|
+
type SFCScriptBlock = Omit<SFCScriptBlock$1, "scriptAst" | "scriptSetupAst">;
|
|
101
|
+
type SFC = Omit<SFCDescriptor, "script" | "scriptSetup"> & {
|
|
102
|
+
sfc: SFCParseResult;
|
|
103
|
+
script?: SFCScriptBlock | null;
|
|
104
|
+
scriptSetup?: SFCScriptBlock | null;
|
|
105
|
+
lang: string | undefined;
|
|
106
|
+
getScriptAst: () => Program | undefined;
|
|
107
|
+
getSetupAst: () => Program | undefined;
|
|
108
|
+
offset: number;
|
|
109
|
+
} & Pick<SFCParseResult, "errors">;
|
|
110
|
+
declare function parseSFC(code: string, id: string): SFC;
|
|
111
|
+
declare function getFileCodeAndLang(code: string, id: string): {
|
|
112
|
+
code: string;
|
|
113
|
+
lang: string;
|
|
114
|
+
};
|
|
115
|
+
declare function addNormalScript({
|
|
116
|
+
script,
|
|
117
|
+
lang
|
|
118
|
+
}: SFC, s: MagicString): {
|
|
119
|
+
start(): number;
|
|
120
|
+
end(): void;
|
|
121
|
+
};
|
|
122
|
+
declare function removeMacroImport(node: Node, s: MagicStringAST, offset: number): true | undefined;
|
|
123
|
+
//#endregion
|
|
124
|
+
export { BaseOptions, DEFINE_EMIT, DEFINE_EMITS, DEFINE_MODELS, DEFINE_MODELS_DOLLAR, DEFINE_OPTIONS, DEFINE_PROP, DEFINE_PROPS, DEFINE_PROPS_DOLLAR, DEFINE_PROPS_REFS, DEFINE_PROP_DOLLAR, DEFINE_RENDER, DEFINE_SETUP_COMPONENT, DEFINE_SLOTS, DEFINE_STYLEX, FilterFileType, FilterOptions, type FilterPattern, HELPER_PREFIX, MarkRequired, Overwrite, REGEX_NODE_MODULES, REGEX_SETUP_SFC, REGEX_SETUP_SFC_SUB, REGEX_SRC_FILE, REGEX_SUPPORTED_EXT, REGEX_VUE_SFC, REGEX_VUE_SUB, REGEX_VUE_SUB_SETUP, REPO_ISSUE_URL, RecordToUnion, SFC, SFCScriptBlock, TransformError, UnionToIntersection, VIRTUAL_ID_PREFIX, VuePluginApi, WITH_DEFAULTS, addNormalScript, checkInvalidScopeReference, createFilter, createRollupFilter, detectVueVersion, getFileCodeAndLang, getFilterPattern, getVuePluginApi, hackViteHMR, importHelperFn, isStaticExpression, isStaticObjectKey, normalizePath, parseSFC, removeMacroImport, resolveObjectExpression };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vue-macros/common",
|
|
3
|
+
"version": "3.1.4",
|
|
4
|
+
"description": "common feature from Vue Macros.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"vue-macros",
|
|
8
|
+
"macros",
|
|
9
|
+
"vue",
|
|
10
|
+
"sfc",
|
|
11
|
+
"setup",
|
|
12
|
+
"script-setup",
|
|
13
|
+
"common"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"homepage": "https://vue-macros.dev",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/vue-macros/vue-macros/issues"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/vue-macros/vue-macros.git",
|
|
23
|
+
"directory": "packages/common"
|
|
24
|
+
},
|
|
25
|
+
"author": "Kevin Deng <sxzz@sxzz.moe>",
|
|
26
|
+
"funding": "https://github.com/sponsors/vue-macros",
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"main": "./dist/index.js",
|
|
31
|
+
"module": "./dist/index.js",
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": "./dist/index.js",
|
|
35
|
+
"./*": "./*"
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"vue": "^2.7.0 || ^3.2.25"
|
|
42
|
+
},
|
|
43
|
+
"peerDependenciesMeta": {
|
|
44
|
+
"vue": {
|
|
45
|
+
"optional": true
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@vue/compiler-sfc": "^3.5.22",
|
|
50
|
+
"ast-kit": "^2.1.2",
|
|
51
|
+
"local-pkg": "^1.1.2",
|
|
52
|
+
"magic-string-ast": "^1.0.2",
|
|
53
|
+
"unplugin-utils": "^0.3.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@babel/parser": "^7.28.4",
|
|
57
|
+
"@vitejs/plugin-vue": "^6.0.1"
|
|
58
|
+
},
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=20.19.0"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {}
|
|
63
|
+
}
|