@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.
Files changed (224) hide show
  1. package/dist/client/b-floating-vue.js +1 -1
  2. package/dist/client/b-iconify.js +1429 -1416
  3. package/dist/client/b-pinia.js +1359 -1936
  4. package/dist/client/b-vue-router.js +787 -502
  5. package/dist/client/b-vue-use.js +497 -367
  6. package/dist/client/b-vue.js +1 -1
  7. package/dist/client/devtools-api.js +6568 -0
  8. package/dist/client/index.js +178 -162
  9. package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +17 -72
  10. package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +7 -12
  11. package/dist/client/node_modules/@iconify/vue/offline/package.json +2 -2
  12. package/dist/client/node_modules/@iconify/vue/package.json +13 -16
  13. package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +88 -0
  14. package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/set-array.d.ts +32 -0
  15. package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
  16. package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +43 -0
  17. package/dist/client/node_modules/@jridgewell/gen-mapping/package.json +67 -0
  18. package/dist/client/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +89 -0
  19. package/dist/client/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +33 -0
  20. package/dist/client/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +13 -0
  21. package/dist/client/node_modules/@jridgewell/gen-mapping/types/types.d.mts +44 -0
  22. package/dist/client/node_modules/@jridgewell/remapping/package.json +71 -0
  23. package/dist/client/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.mts +15 -0
  24. package/dist/client/node_modules/@jridgewell/remapping/types/remapping.d.mts +21 -0
  25. package/dist/client/node_modules/@jridgewell/remapping/types/source-map-tree.d.mts +46 -0
  26. package/dist/client/node_modules/@jridgewell/remapping/types/source-map.d.mts +19 -0
  27. package/dist/client/node_modules/@jridgewell/remapping/types/types.d.mts +16 -0
  28. package/dist/client/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
  29. package/dist/client/node_modules/@jridgewell/resolve-uri/package.json +69 -0
  30. package/dist/client/node_modules/@jridgewell/trace-mapping/package.json +67 -0
  31. package/dist/client/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +33 -0
  32. package/dist/client/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts +4 -0
  33. package/dist/client/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +9 -0
  34. package/dist/client/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +4 -0
  35. package/dist/client/node_modules/@jridgewell/trace-mapping/types/sort.d.mts +4 -0
  36. package/dist/client/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +17 -0
  37. package/dist/client/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts +5 -0
  38. package/dist/client/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +80 -0
  39. package/dist/client/node_modules/@jridgewell/trace-mapping/types/types.d.mts +107 -0
  40. package/dist/client/node_modules/@vue/devtools-api/dist/index-node.d.ts +11 -0
  41. package/dist/client/node_modules/@vue/devtools-api/dist/index.d.ts +2 -0
  42. package/dist/client/node_modules/@vue/devtools-api/package.json +25 -24
  43. package/dist/client/node_modules/@vue/devtools-kit/dist/index.d.ts +1170 -0
  44. package/dist/client/node_modules/@vue/devtools-kit/global.d.ts +20 -0
  45. package/dist/client/node_modules/@vue/devtools-kit/package.json +44 -0
  46. package/dist/client/node_modules/@vue/devtools-kit/types.d.ts +2 -0
  47. package/dist/client/node_modules/@vue/devtools-shared/dist/index.d.ts +40 -0
  48. package/dist/client/node_modules/@vue/devtools-shared/package.json +33 -0
  49. package/dist/client/node_modules/@vue-macros/common/dist/index.d.ts +124 -0
  50. package/dist/client/node_modules/@vue-macros/common/package.json +63 -0
  51. package/dist/client/node_modules/@vueuse/core/dist/index.d.ts +223 -111
  52. package/dist/client/node_modules/@vueuse/core/package.json +10 -3
  53. package/dist/client/node_modules/@vueuse/metadata/package.json +4 -1
  54. package/dist/client/node_modules/@vueuse/shared/dist/index.d.ts +2 -2
  55. package/dist/client/node_modules/@vueuse/shared/package.json +4 -1
  56. package/dist/client/node_modules/acorn/dist/acorn.d.mts +897 -0
  57. package/dist/client/node_modules/acorn/dist/acorn.d.ts +897 -0
  58. package/dist/client/node_modules/acorn/package.json +50 -0
  59. package/dist/client/node_modules/ast-kit/dist/index.d.ts +380 -0
  60. package/dist/client/node_modules/ast-kit/package.json +63 -0
  61. package/dist/client/node_modules/ast-walker-scope/dist/index.d.mts +51 -0
  62. package/dist/client/node_modules/ast-walker-scope/package.json +60 -0
  63. package/dist/client/node_modules/birpc/dist/index.d.mts +215 -0
  64. package/dist/client/node_modules/birpc/dist/index.d.ts +215 -0
  65. package/dist/client/node_modules/birpc/package.json +57 -0
  66. package/dist/client/node_modules/chokidar/handler.d.ts +90 -0
  67. package/dist/client/node_modules/chokidar/index.d.ts +217 -0
  68. package/dist/client/node_modules/chokidar/package.json +63 -0
  69. package/dist/client/node_modules/confbox/dist/_chunks/_format.d.mts +25 -0
  70. package/dist/client/node_modules/confbox/dist/index.d.mts +34 -0
  71. package/dist/client/node_modules/confbox/dist/ini.d.mts +62 -0
  72. package/dist/client/node_modules/confbox/dist/json5.d.mts +59 -0
  73. package/dist/client/node_modules/confbox/dist/jsonc.d.mts +41 -0
  74. package/dist/client/node_modules/confbox/dist/toml.d.mts +23 -0
  75. package/dist/client/node_modules/confbox/dist/yaml.d.mts +96 -0
  76. package/dist/client/node_modules/confbox/package.json +67 -0
  77. package/dist/client/node_modules/exsolve/dist/index.d.mts +66 -0
  78. package/dist/client/node_modules/exsolve/package.json +42 -0
  79. package/dist/client/node_modules/fdir/dist/index.d.mts +155 -0
  80. package/dist/client/node_modules/fdir/package.json +103 -0
  81. package/dist/client/node_modules/hookable/dist/index.d.ts +103 -0
  82. package/dist/client/node_modules/hookable/package.json +49 -0
  83. package/dist/client/node_modules/local-pkg/dist/index.d.mts +42 -0
  84. package/dist/client/node_modules/local-pkg/dist/index.d.ts +42 -0
  85. package/dist/client/node_modules/local-pkg/package.json +65 -0
  86. package/dist/client/node_modules/magic-string-ast/dist/index.d.ts +67 -0
  87. package/dist/client/node_modules/magic-string-ast/package.json +64 -0
  88. package/dist/client/node_modules/mlly/dist/index.d.mts +564 -0
  89. package/dist/client/node_modules/mlly/dist/index.d.ts +564 -0
  90. package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.mts +32 -0
  91. package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.ts +32 -0
  92. package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.mts +58 -0
  93. package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.ts +58 -0
  94. package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.mts +41 -0
  95. package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.ts +41 -0
  96. package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.mts +24 -0
  97. package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.ts +24 -0
  98. package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.mts +22 -0
  99. package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.ts +22 -0
  100. package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.mts +95 -0
  101. package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.ts +95 -0
  102. package/dist/client/node_modules/mlly/node_modules/confbox/json5.d.ts +2 -0
  103. package/dist/client/node_modules/mlly/node_modules/confbox/jsonc.d.ts +2 -0
  104. package/dist/client/node_modules/mlly/node_modules/confbox/package.json +86 -0
  105. package/dist/client/node_modules/mlly/node_modules/confbox/toml.d.ts +2 -0
  106. package/dist/client/node_modules/mlly/node_modules/confbox/yaml.d.ts +2 -0
  107. package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.mts +411 -0
  108. package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.ts +411 -0
  109. package/dist/client/node_modules/mlly/node_modules/pkg-types/package.json +47 -0
  110. package/dist/client/node_modules/mlly/package.json +55 -0
  111. package/dist/client/node_modules/muggle-string/out/base.d.ts +6 -0
  112. package/dist/client/node_modules/muggle-string/out/basic.d.ts +6 -0
  113. package/dist/client/node_modules/muggle-string/out/binarySearch.d.ts +1 -0
  114. package/dist/client/node_modules/muggle-string/out/common.d.ts +9 -0
  115. package/dist/client/node_modules/muggle-string/out/getLength.d.ts +2 -0
  116. package/dist/client/node_modules/muggle-string/out/index.d.ts +10 -0
  117. package/dist/client/node_modules/muggle-string/out/map.d.ts +3 -0
  118. package/dist/client/node_modules/muggle-string/out/overwriteSource.d.ts +3 -0
  119. package/dist/client/node_modules/muggle-string/out/replace.d.ts +3 -0
  120. package/dist/client/node_modules/muggle-string/out/segment.d.ts +6 -0
  121. package/dist/client/node_modules/muggle-string/out/sourceBased.d.ts +3 -0
  122. package/dist/client/node_modules/muggle-string/out/toString.d.ts +2 -0
  123. package/dist/client/node_modules/muggle-string/out/track.d.ts +6 -0
  124. package/dist/client/node_modules/muggle-string/out/types.d.ts +16 -0
  125. package/dist/client/node_modules/muggle-string/package.json +22 -0
  126. package/dist/client/node_modules/nostics/dist/diagnostic-wduO7saY.d.mts +295 -0
  127. package/dist/client/node_modules/nostics/dist/formatters/ansi.d.mts +15 -0
  128. package/dist/client/node_modules/nostics/dist/formatters/json.d.mts +7 -0
  129. package/dist/client/node_modules/nostics/dist/index.d.mts +51 -0
  130. package/dist/client/node_modules/nostics/dist/reporters/dev.d.mts +13 -0
  131. package/dist/client/node_modules/nostics/dist/reporters/fetch.d.mts +11 -0
  132. package/dist/client/node_modules/nostics/dist/reporters/node.d.mts +43 -0
  133. package/dist/client/node_modules/nostics/package.json +125 -0
  134. package/dist/client/node_modules/pathe/dist/index.d.mts +47 -0
  135. package/dist/client/node_modules/pathe/dist/index.d.ts +47 -0
  136. package/dist/client/node_modules/pathe/dist/utils.d.mts +32 -0
  137. package/dist/client/node_modules/pathe/dist/utils.d.ts +32 -0
  138. package/dist/client/node_modules/pathe/package.json +61 -0
  139. package/dist/client/node_modules/pathe/utils.d.ts +1 -0
  140. package/dist/client/node_modules/perfect-debounce/dist/index.d.mts +49 -0
  141. package/dist/client/node_modules/perfect-debounce/package.json +41 -0
  142. package/dist/client/node_modules/picomatch/package.json +83 -0
  143. package/dist/client/node_modules/pinia/dist/pinia.d.ts +937 -1056
  144. package/dist/client/node_modules/pinia/package.json +53 -67
  145. package/dist/client/node_modules/pkg-types/dist/index.d.mts +695 -0
  146. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/_format.d.mts +22 -0
  147. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/libs/js-yaml.d.mts +33 -0
  148. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/index.d.mts +7 -0
  149. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/ini.d.mts +59 -0
  150. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json.d.mts +25 -0
  151. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json5.d.mts +55 -0
  152. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/jsonc.d.mts +29 -0
  153. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/toml.d.mts +20 -0
  154. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/yaml.d.mts +101 -0
  155. package/dist/client/node_modules/pkg-types/node_modules/confbox/package.json +68 -0
  156. package/dist/client/node_modules/pkg-types/package.json +47 -0
  157. package/dist/client/node_modules/quansync/dist/index.d.mts +22 -0
  158. package/dist/client/node_modules/quansync/dist/index.d.ts +22 -0
  159. package/dist/client/node_modules/quansync/dist/macro.d.mts +18 -0
  160. package/dist/client/node_modules/quansync/dist/macro.d.ts +18 -0
  161. package/dist/client/node_modules/quansync/dist/types.d.mts +27 -0
  162. package/dist/client/node_modules/quansync/dist/types.d.ts +27 -0
  163. package/dist/client/node_modules/quansync/package.json +95 -0
  164. package/dist/client/node_modules/readdirp/index.d.ts +117 -0
  165. package/dist/client/node_modules/readdirp/package.json +62 -0
  166. package/dist/client/node_modules/scule/dist/index.d.mts +57 -0
  167. package/dist/client/node_modules/scule/dist/index.d.ts +57 -0
  168. package/dist/client/node_modules/scule/package.json +43 -0
  169. package/dist/client/node_modules/tinyglobby/dist/index.d.mts +148 -0
  170. package/dist/client/node_modules/tinyglobby/package.json +70 -0
  171. package/dist/client/node_modules/ufo/dist/index.d.mts +714 -0
  172. package/dist/client/node_modules/ufo/dist/index.d.ts +714 -0
  173. package/dist/client/node_modules/ufo/package.json +48 -0
  174. package/dist/client/node_modules/unplugin/dist/index.d.mts +241 -0
  175. package/dist/client/node_modules/unplugin/dist/rspack/loaders/load.d.mts +4 -0
  176. package/dist/client/node_modules/unplugin/dist/rspack/loaders/transform.d.mts +4 -0
  177. package/dist/client/node_modules/unplugin/dist/webpack/loaders/load.d.mts +4 -0
  178. package/dist/client/node_modules/unplugin/dist/webpack/loaders/transform.d.mts +4 -0
  179. package/dist/client/node_modules/unplugin/package.json +146 -0
  180. package/dist/client/node_modules/unplugin-utils/dist/index.d.ts +31 -0
  181. package/dist/client/node_modules/unplugin-utils/package.json +61 -0
  182. package/dist/client/node_modules/vue-router/dist/experimental/index.d.ts +7 -0
  183. package/dist/client/node_modules/vue-router/dist/experimental/pinia-colada.d.ts +151 -0
  184. package/dist/client/node_modules/vue-router/dist/{router-CWoNjPRp.d.mts → index-D7ja2BKs.d.ts} +2480 -1160
  185. package/dist/client/node_modules/vue-router/dist/options-CwYZKRl4.d.mts +2923 -0
  186. package/dist/client/node_modules/vue-router/dist/unplugin/esbuild.d.mts +10 -0
  187. package/dist/client/node_modules/vue-router/dist/unplugin/index.d.mts +62 -0
  188. package/dist/client/node_modules/vue-router/dist/unplugin/options.d.mts +7 -0
  189. package/dist/client/node_modules/vue-router/dist/unplugin/rolldown.d.mts +10 -0
  190. package/dist/client/node_modules/vue-router/dist/unplugin/rollup.d.mts +10 -0
  191. package/dist/client/node_modules/vue-router/dist/unplugin/types.d.mts +7 -0
  192. package/dist/client/node_modules/vue-router/dist/unplugin/vite.d.mts +10 -0
  193. package/dist/client/node_modules/vue-router/dist/unplugin/webpack.d.mts +10 -0
  194. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +7 -0
  195. package/dist/client/node_modules/vue-router/package.json +153 -95
  196. package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -17
  197. package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.mts +53 -0
  198. package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +2 -1
  199. package/dist/client/node_modules/webpack-virtual-modules/lib/index.d.ts +15 -0
  200. package/dist/client/node_modules/webpack-virtual-modules/lib/virtual-stats.d.ts +11 -0
  201. package/dist/client/node_modules/webpack-virtual-modules/package.json +82 -0
  202. package/dist/client/vue.runtime.esm-bundler.js +1 -176
  203. package/package.json +8 -7
  204. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +0 -108
  205. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +0 -1
  206. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +0 -78
  207. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +0 -5
  208. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +0 -180
  209. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +0 -6
  210. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +0 -4
  211. package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +0 -2
  212. package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +0 -15
  213. package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +0 -18
  214. package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +0 -47
  215. package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +0 -20
  216. package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +0 -2
  217. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +0 -22
  218. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
  219. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
  220. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
  221. package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +0 -47
  222. package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +0 -38
  223. package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +0 -361
  224. package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +0 -4
@@ -1,6 +0,0 @@
1
- export * from './api.js';
2
- export * from './app.js';
3
- export * from './component.js';
4
- export * from './context.js';
5
- export * from './hooks.js';
6
- export * from './util.js';
@@ -1,4 +0,0 @@
1
- export type ID = number | string;
2
- export interface WithId {
3
- id: ID;
4
- }
@@ -1,2 +0,0 @@
1
- export declare const HOOK_SETUP = "devtools-plugin:setup";
2
- export declare const HOOK_PLUGIN_SETTINGS_SET = "plugin:settings:set";
@@ -1,15 +0,0 @@
1
- import type { ApiProxy } from './proxy.js';
2
- import type { PluginDescriptor, SetupFunction } from './index.js';
3
- export interface PluginQueueItem {
4
- pluginDescriptor: PluginDescriptor;
5
- setupFn: SetupFunction;
6
- proxy?: ApiProxy;
7
- }
8
- interface GlobalTarget {
9
- __VUE_DEVTOOLS_PLUGINS__?: PluginQueueItem[];
10
- __VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__?: boolean;
11
- }
12
- export declare function getDevtoolsGlobalHook(): any;
13
- export declare function getTarget(): GlobalTarget;
14
- export declare const isProxyAvailable: boolean;
15
- export {};
@@ -1,18 +0,0 @@
1
- import type { DevtoolsPluginApi } from './api/index.js';
2
- import type { ExtractSettingsTypes, PluginDescriptor, PluginSettingsItem } from './plugin.js';
3
- export * from './api/index.js';
4
- export * from './plugin.js';
5
- export * from './time.js';
6
- export { PluginQueueItem } from './env.js';
7
- type Cast<A, B> = A extends B ? A : B;
8
- type Narrowable = string | number | bigint | boolean;
9
- type Narrow<A> = Cast<A, [] | (A extends Narrowable ? A : never) | ({
10
- [K in keyof A]: Narrow<A[K]>;
11
- })>;
12
- type Exact<C, T> = {
13
- [K in keyof C]: K extends keyof T ? T[K] : never;
14
- };
15
- export type SetupFunction<TSettings = any> = (api: DevtoolsPluginApi<TSettings>) => void;
16
- export declare function setupDevtoolsPlugin<TDescriptor extends Exact<TDescriptor, PluginDescriptor>, TSettings = ExtractSettingsTypes<TDescriptor extends {
17
- settings: infer S;
18
- } ? S extends Record<string, PluginSettingsItem> ? S : Record<string, PluginSettingsItem> : Record<string, PluginSettingsItem>>>(pluginDescriptor: Narrow<TDescriptor>, setupFn: SetupFunction<TSettings>): void;
@@ -1,47 +0,0 @@
1
- import type { App } from './api/index.js';
2
- export interface PluginDescriptor {
3
- id: string;
4
- label: string;
5
- app: App;
6
- packageName?: string;
7
- homepage?: string;
8
- componentStateTypes?: string[];
9
- logo?: string;
10
- disableAppScope?: boolean;
11
- disablePluginScope?: boolean;
12
- /**
13
- * Run the plugin setup and expose the api even if the devtools is not opened yet.
14
- * Useful to record timeline events early.
15
- */
16
- enableEarlyProxy?: boolean;
17
- settings?: Record<string, PluginSettingsItem>;
18
- }
19
- export type PluginSettingsItem = {
20
- label: string;
21
- description?: string;
22
- } & ({
23
- type: 'boolean';
24
- defaultValue: boolean;
25
- } | {
26
- type: 'choice';
27
- defaultValue: string | number;
28
- options: {
29
- value: string | number;
30
- label: string;
31
- }[];
32
- component?: 'select' | 'button-group';
33
- } | {
34
- type: 'text';
35
- defaultValue: string;
36
- });
37
- type InferSettingsType<T extends PluginSettingsItem> = [T] extends [{
38
- type: 'boolean';
39
- }] ? boolean : [T] extends [{
40
- type: 'choice';
41
- }] ? T['options'][number]['value'] : [T] extends [{
42
- type: 'text';
43
- }] ? string : unknown;
44
- export type ExtractSettingsTypes<O extends Record<string, PluginSettingsItem>> = {
45
- [K in keyof O]: InferSettingsType<O[K]>;
46
- };
47
- export {};
@@ -1,20 +0,0 @@
1
- import type { Context, DevtoolsPluginApi, Hookable } from './api/index.js';
2
- import type { PluginDescriptor } from './plugin.js';
3
- interface QueueItem {
4
- method: string;
5
- args: any[];
6
- resolve?: (value?: any) => void;
7
- }
8
- export declare class ApiProxy<TTarget extends DevtoolsPluginApi<any> = DevtoolsPluginApi<any>> {
9
- target: TTarget | null;
10
- targetQueue: QueueItem[];
11
- proxiedTarget: TTarget;
12
- onQueue: QueueItem[];
13
- proxiedOn: Hookable<Context>;
14
- plugin: PluginDescriptor;
15
- hook: any;
16
- fallbacks: Record<string, any>;
17
- constructor(plugin: PluginDescriptor, hook: any);
18
- setRealTarget(target: TTarget): Promise<void>;
19
- }
20
- export {};
@@ -1,2 +0,0 @@
1
- export declare function isPerformanceSupported(): boolean;
2
- export declare function now(): number;
@@ -1,22 +0,0 @@
1
- import * as Vue from 'vue'
2
- declare const isVue2: boolean
3
- declare const isVue3: boolean
4
- declare const Vue2: any
5
- declare const install: (vue?: any) => void
6
- /**
7
- * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
8
- * Refer to https://github.com/vueuse/vue-demi/issues/41
9
- */
10
- declare const V: typeof Vue
11
-
12
- export function set<T>(target: any, key: any, val: T): T
13
- export function del(target: any, key: any): void
14
-
15
- export * from 'vue'
16
- export {
17
- V as Vue,
18
- Vue2,
19
- isVue2,
20
- isVue3,
21
- install,
22
- }
@@ -1,33 +0,0 @@
1
- import Vue from 'vue'
2
- import type { PluginFunction, PluginObject } from 'vue'
3
- declare const isVue2: boolean
4
- declare const isVue3: boolean
5
- declare const Vue2: typeof Vue | undefined
6
- declare const version: string
7
- declare const install: (vue?: typeof Vue) => void
8
- /**
9
- * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
10
- * Refer to https://github.com/vueuse/vue-demi/issues/41
11
- */
12
- declare const V: typeof Vue
13
-
14
- /**
15
- * DebuggerEvent is a Vue 3 development only feature. This type cannot exist in Vue 2.
16
- */
17
- export declare type DebuggerEvent = never
18
-
19
- // accept no generic because Vue 3 doesn't accept any
20
- // https://github.com/vuejs/vue-next/pull/2758/
21
- export declare type Plugin = PluginObject<any> | PluginFunction<any>
22
- export type { VNode } from 'vue'
23
- export * from '@vue/composition-api'
24
- export {
25
- V as Vue,
26
- Vue2,
27
- isVue2,
28
- isVue3,
29
- version,
30
- install,
31
- }
32
-
33
- export declare function hasInjectionContext(): boolean
@@ -1,38 +0,0 @@
1
- import Vue from 'vue'
2
- import type { PluginFunction, PluginObject, VueConstructor, Directive, InjectionKey, Component } from 'vue'
3
-
4
- declare const isVue2: boolean
5
- declare const isVue3: boolean
6
- declare const Vue2: typeof Vue | undefined
7
- declare const version: string
8
- declare const install: (vue?: typeof Vue) => void
9
- export declare function warn(msg: string, vm?: Component | null): void
10
- /**
11
- * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
12
- * Refer to https://github.com/vueuse/vue-demi/issues/41
13
- */
14
- declare const V: typeof Vue
15
-
16
- // accept no generic because Vue 3 doesn't accept any
17
- // https://github.com/vuejs/vue-next/pull/2758/
18
- export declare type Plugin = PluginObject<any> | PluginFunction<any>
19
- export type { VNode } from 'vue'
20
- export * from 'vue'
21
- export { V as Vue, Vue2, isVue2, isVue3, version, install }
22
-
23
- // #region createApp polyfill
24
- export interface App<T = any> {
25
- config: VueConstructor['config']
26
- use: VueConstructor['use']
27
- mixin: VueConstructor['mixin']
28
- component: VueConstructor['component']
29
- directive(name: string): Directive | undefined
30
- directive(name: string, directive: Directive): this
31
- provide<T>(key: InjectionKey<T> | string, value: T): this
32
- mount: Vue['$mount']
33
- unmount: Vue['$destroy']
34
- }
35
- export declare function createApp(rootComponent: any, rootProps?: any): App
36
- // #endregion
37
-
38
- export declare function hasInjectionContext(): boolean
@@ -1,22 +0,0 @@
1
- import * as Vue from 'vue'
2
- declare const isVue2: boolean
3
- declare const isVue3: boolean
4
- declare const Vue2: any
5
- declare const install: (vue?: any) => void
6
- /**
7
- * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
8
- * Refer to https://github.com/vueuse/vue-demi/issues/41
9
- */
10
- declare const V: typeof Vue
11
-
12
- export function set<T>(target: any, key: any, val: T): T
13
- export function del(target: any, key: any): void
14
-
15
- export * from 'vue'
16
- export {
17
- V as Vue,
18
- Vue2,
19
- isVue2,
20
- isVue3,
21
- install,
22
- }
@@ -1,47 +0,0 @@
1
- {
2
- "name": "vue-demi",
3
- "version": "0.14.10",
4
- "engines": {
5
- "node": ">=12"
6
- },
7
- "repository": "https://github.com/antfu/vue-demi.git",
8
- "funding": "https://github.com/sponsors/antfu",
9
- "license": "MIT",
10
- "author": "Anthony Fu <anthonyfu117@hotmail.com>",
11
- "main": "lib/index.cjs",
12
- "jsdelivr": "lib/index.iife.js",
13
- "unpkg": "lib/index.iife.js",
14
- "module": "lib/index.mjs",
15
- "types": "lib/index.d.ts",
16
- "exports": {
17
- ".": {
18
- "types": "./lib/index.d.ts",
19
- "require": "./lib/index.cjs",
20
- "import": "./lib/index.mjs",
21
- "browser": "./lib/index.mjs"
22
- },
23
- "./*": "./*"
24
- },
25
- "bin": {
26
- "vue-demi-fix": "bin/vue-demi-fix.js",
27
- "vue-demi-switch": "bin/vue-demi-switch.js"
28
- },
29
- "files": [
30
- "lib",
31
- "bin",
32
- "scripts"
33
- ],
34
- "scripts": {
35
- "postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"",
36
- "release": "npx bumpp --tag --commit --push && npm publish"
37
- },
38
- "peerDependencies": {
39
- "@vue/composition-api": "^1.0.0-rc.1",
40
- "vue": "^3.0.0-0 || ^2.6.0"
41
- },
42
- "peerDependenciesMeta": {
43
- "@vue/composition-api": {
44
- "optional": true
45
- }
46
- }
47
- }
@@ -1,38 +0,0 @@
1
- /*!
2
- * vue-router v4.6.4
3
- * (c) 2025 Eduardo San Martin Morote
4
- * @license MIT
5
- */
6
- import { A as MatcherPatternPathDynamic_ParamOptions, D as MatcherPatternHash, E as MatcherPattern, M as MatcherQueryParams, N as MatcherQueryParamsValue, O as MatcherPatternPath, P as ParamParser, S as PARAM_PARSER_BOOL, T as MatcherParamsFormatted, _ as MatcherPatternQueryParam, a as EXPERIMENTAL_RouteRecord_Base, b as defineQueryParamParser, c as EXPERIMENTAL_Router, d as EXPERIMENTAL_Router_Base, f as experimental_createRouter, g as MatcherPatternQuery, h as createFixedResolver, i as EXPERIMENTAL_RouteRecordRaw, j as MatcherPatternPathStatic, k as MatcherPatternPathDynamic, l as EXPERIMENTAL_RouterOptions, m as normalizeRouteRecord, n as EXPERIMENTAL_RouteRecordNormalized_Group, o as EXPERIMENTAL_RouteRecord_Group, p as mergeRouteRecord, r as EXPERIMENTAL_RouteRecordNormalized_Matchable, s as EXPERIMENTAL_RouteRecord_Matchable, t as EXPERIMENTAL_RouteRecordNormalized, u as EXPERIMENTAL_RouterOptions_Base, v as defineParamParser, w as EmptyParams, x as PARAM_PARSER_INT, y as definePathParamParser } from "../router-CWoNjPRp.mjs";
7
-
8
- //#region src/experimental/route-resolver/matchers/errors.d.ts
9
- /**
10
- * Error throw when a matcher matches by regex but validation fails.
11
- */
12
- declare class MatchMiss extends Error {
13
- name: string;
14
- }
15
- /**
16
- * Helper to create a {@link MatchMiss} error.
17
- * @param args - Arguments to pass to the `MatchMiss` constructor.
18
- *
19
- * @example
20
- * ```ts
21
- * throw miss()
22
- * // in a number param matcher
23
- * throw miss('Number must be finite')
24
- * ```
25
- */
26
- declare const miss: (...args: ConstructorParameters<typeof MatchMiss>) => MatchMiss;
27
- //#endregion
28
- //#region src/experimental/index.d.ts
29
- declare module 'vue-router' {
30
- interface RouteLocationMatched {
31
- /**
32
- * The experimental router uses a `parent` property instead of `children`.
33
- */
34
- children?: never;
35
- }
36
- }
37
- //#endregion
38
- export { type EXPERIMENTAL_RouteRecordNormalized, type EXPERIMENTAL_RouteRecordNormalized_Group, type EXPERIMENTAL_RouteRecordNormalized_Matchable, type EXPERIMENTAL_RouteRecordRaw, type EXPERIMENTAL_RouteRecord_Base, type EXPERIMENTAL_RouteRecord_Group, type EXPERIMENTAL_RouteRecord_Matchable, type EXPERIMENTAL_Router, type EXPERIMENTAL_RouterOptions, type EXPERIMENTAL_RouterOptions_Base, type EXPERIMENTAL_Router_Base, type EmptyParams, MatchMiss, type MatcherParamsFormatted, type MatcherPattern, type MatcherPatternHash, type MatcherPatternPath, MatcherPatternPathDynamic, type MatcherPatternPathDynamic_ParamOptions, MatcherPatternPathStatic, type MatcherPatternQuery, MatcherPatternQueryParam, type MatcherQueryParams, type MatcherQueryParamsValue, PARAM_PARSER_BOOL, PARAM_PARSER_INT, type ParamParser, mergeRouteRecord as _mergeRouteRecord, createFixedResolver, defineParamParser, definePathParamParser, defineQueryParamParser, experimental_createRouter, miss, normalizeRouteRecord };