@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
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "webpack-virtual-modules",
3
+ "version": "0.6.2",
4
+ "description": "Webpack Virtual Modules",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "clean": "rm -rf ./lib",
8
+ "build": "tsc -p tsconfig.build.json",
9
+ "watch": "tsc -p tsconfig.build.json -w",
10
+ "tests": "jest",
11
+ "tests:watch": "jest --watch",
12
+ "test": "yarn lint && yarn tests",
13
+ "lint": "eslint --fix src/**/*.ts",
14
+ "prepack": "yarn clean && yarn build"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/sysgears/webpack-virtual-modules.git"
19
+ },
20
+ "keywords": [
21
+ "webpack",
22
+ "webpack-plugin",
23
+ "virtual",
24
+ "modules"
25
+ ],
26
+ "author": "SysGears INC",
27
+ "license": "MIT",
28
+ "bugs": {
29
+ "url": "https://github.com/sysgears/webpack-virtual-modules/issues"
30
+ },
31
+ "homepage": "https://github.com/sysgears/webpack-virtual-modules#readme",
32
+ "devDependencies": {
33
+ "@babel/core": "^7.4.5",
34
+ "@babel/plugin-proposal-class-properties": "^7.4.4",
35
+ "@babel/plugin-transform-modules-commonjs": "^7.4.4",
36
+ "@babel/preset-typescript": "^7.3.3",
37
+ "@babel/register": "^7.5.5",
38
+ "@types/jest": "^24.0.6",
39
+ "@types/node": "^11.11.3",
40
+ "@types/tmp": "^0.1.0",
41
+ "@types/webpack": "^4.32.1",
42
+ "@typescript-eslint/eslint-plugin": "^5.26.0",
43
+ "@typescript-eslint/parser": "^5.26.0",
44
+ "babel-jest": "^29.0.3",
45
+ "babel-plugin-replace-ts-export-assignment": "^0.0.2",
46
+ "eslint": "^8.23.1",
47
+ "eslint-config-prettier": "^8.5.0",
48
+ "eslint-plugin-jest": "^27.0.4",
49
+ "eslint-plugin-prettier": "^4.2.1",
50
+ "husky": "^8.0.1",
51
+ "jest": "^29.0.3",
52
+ "lint-staged": "^13.0.3",
53
+ "memory-fs": "^0.5.0",
54
+ "prettier": "^2.7.1",
55
+ "tmp": "^0.2.1",
56
+ "typescript": "^4.8.3",
57
+ "webpack": "5"
58
+ },
59
+ "files": [
60
+ "lib",
61
+ "src",
62
+ "!__tests__"
63
+ ],
64
+ "publishConfig": {
65
+ "main": "lib/index.js",
66
+ "types": "lib/index.d.ts"
67
+ },
68
+ "lint-staged": {
69
+ "*.ts": [
70
+ "eslint --fix -c tslint.json",
71
+ "git add"
72
+ ]
73
+ },
74
+ "prettier": {
75
+ "printWidth": 120,
76
+ "singleQuote": true,
77
+ "parser": "typescript"
78
+ },
79
+ "husky": {
80
+ "pre-commit": "lint-staged"
81
+ }
82
+ }
@@ -13386,179 +13386,4 @@ const compile = () => {
13386
13386
  }
13387
13387
  };
13388
13388
 
13389
- var vue_runtime_esmBundler = /*#__PURE__*/Object.freeze({
13390
- __proto__: null,
13391
- BaseTransition: BaseTransition,
13392
- BaseTransitionPropsValidators: BaseTransitionPropsValidators,
13393
- Comment: Comment,
13394
- DeprecationTypes: DeprecationTypes,
13395
- EffectScope: EffectScope,
13396
- ErrorCodes: ErrorCodes,
13397
- ErrorTypeStrings: ErrorTypeStrings,
13398
- Fragment: Fragment,
13399
- KeepAlive: KeepAlive,
13400
- ReactiveEffect: ReactiveEffect,
13401
- Static: Static,
13402
- Suspense: Suspense,
13403
- Teleport: Teleport,
13404
- Text: Text,
13405
- TrackOpTypes: TrackOpTypes,
13406
- Transition: Transition,
13407
- TransitionGroup: TransitionGroup,
13408
- TriggerOpTypes: TriggerOpTypes,
13409
- VueElement: VueElement,
13410
- assertNumber: assertNumber,
13411
- callWithAsyncErrorHandling: callWithAsyncErrorHandling,
13412
- callWithErrorHandling: callWithErrorHandling,
13413
- camelize: camelize,
13414
- capitalize: capitalize,
13415
- cloneVNode: cloneVNode,
13416
- compatUtils: compatUtils,
13417
- compile: compile,
13418
- computed: computed,
13419
- createApp: createApp,
13420
- createBlock: createBlock,
13421
- createCommentVNode: createCommentVNode,
13422
- createElementBlock: createElementBlock,
13423
- createElementVNode: createBaseVNode,
13424
- createHydrationRenderer: createHydrationRenderer,
13425
- createPropsRestProxy: createPropsRestProxy,
13426
- createRenderer: createRenderer,
13427
- createSSRApp: createSSRApp,
13428
- createSlots: createSlots,
13429
- createStaticVNode: createStaticVNode,
13430
- createTextVNode: createTextVNode,
13431
- createVNode: createVNode,
13432
- customRef: customRef,
13433
- defineAsyncComponent: defineAsyncComponent,
13434
- defineComponent: defineComponent,
13435
- defineCustomElement: defineCustomElement,
13436
- defineEmits: defineEmits,
13437
- defineExpose: defineExpose,
13438
- defineModel: defineModel,
13439
- defineOptions: defineOptions,
13440
- defineProps: defineProps,
13441
- defineSSRCustomElement: defineSSRCustomElement,
13442
- defineSlots: defineSlots,
13443
- devtools: devtools,
13444
- effect: effect,
13445
- effectScope: effectScope,
13446
- getCurrentInstance: getCurrentInstance,
13447
- getCurrentScope: getCurrentScope,
13448
- getCurrentWatcher: getCurrentWatcher,
13449
- getTransitionRawChildren: getTransitionRawChildren,
13450
- guardReactiveProps: guardReactiveProps,
13451
- h: h,
13452
- handleError: handleError,
13453
- hasInjectionContext: hasInjectionContext,
13454
- hydrate: hydrate,
13455
- hydrateOnIdle: hydrateOnIdle,
13456
- hydrateOnInteraction: hydrateOnInteraction,
13457
- hydrateOnMediaQuery: hydrateOnMediaQuery,
13458
- hydrateOnVisible: hydrateOnVisible,
13459
- initCustomFormatter: initCustomFormatter,
13460
- initDirectivesForSSR: initDirectivesForSSR,
13461
- inject: inject,
13462
- isMemoSame: isMemoSame,
13463
- isProxy: isProxy,
13464
- isReactive: isReactive,
13465
- isReadonly: isReadonly,
13466
- isRef: isRef,
13467
- isRuntimeOnly: isRuntimeOnly,
13468
- isShallow: isShallow,
13469
- isVNode: isVNode,
13470
- markRaw: markRaw,
13471
- mergeDefaults: mergeDefaults,
13472
- mergeModels: mergeModels,
13473
- mergeProps: mergeProps,
13474
- nextTick: nextTick,
13475
- nodeOps: nodeOps,
13476
- normalizeClass: normalizeClass,
13477
- normalizeProps: normalizeProps,
13478
- normalizeStyle: normalizeStyle,
13479
- onActivated: onActivated,
13480
- onBeforeMount: onBeforeMount,
13481
- onBeforeUnmount: onBeforeUnmount,
13482
- onBeforeUpdate: onBeforeUpdate,
13483
- onDeactivated: onDeactivated,
13484
- onErrorCaptured: onErrorCaptured,
13485
- onMounted: onMounted,
13486
- onRenderTracked: onRenderTracked,
13487
- onRenderTriggered: onRenderTriggered,
13488
- onScopeDispose: onScopeDispose,
13489
- onServerPrefetch: onServerPrefetch,
13490
- onUnmounted: onUnmounted,
13491
- onUpdated: onUpdated,
13492
- onWatcherCleanup: onWatcherCleanup,
13493
- openBlock: openBlock,
13494
- patchProp: patchProp,
13495
- popScopeId: popScopeId,
13496
- provide: provide,
13497
- proxyRefs: proxyRefs,
13498
- pushScopeId: pushScopeId,
13499
- queuePostFlushCb: queuePostFlushCb,
13500
- reactive: reactive,
13501
- readonly: readonly,
13502
- ref: ref,
13503
- registerRuntimeCompiler: registerRuntimeCompiler,
13504
- render: render,
13505
- renderList: renderList,
13506
- renderSlot: renderSlot,
13507
- resolveComponent: resolveComponent,
13508
- resolveDirective: resolveDirective,
13509
- resolveDynamicComponent: resolveDynamicComponent,
13510
- resolveFilter: resolveFilter,
13511
- resolveTransitionHooks: resolveTransitionHooks,
13512
- setBlockTracking: setBlockTracking,
13513
- setDevtoolsHook: setDevtoolsHook,
13514
- setTransitionHooks: setTransitionHooks,
13515
- shallowReactive: shallowReactive,
13516
- shallowReadonly: shallowReadonly,
13517
- shallowRef: shallowRef,
13518
- ssrContextKey: ssrContextKey,
13519
- ssrUtils: ssrUtils,
13520
- stop: stop,
13521
- toDisplayString: toDisplayString,
13522
- toHandlerKey: toHandlerKey,
13523
- toHandlers: toHandlers,
13524
- toRaw: toRaw,
13525
- toRef: toRef,
13526
- toRefs: toRefs,
13527
- toValue: toValue,
13528
- transformVNodeArgs: transformVNodeArgs,
13529
- triggerRef: triggerRef,
13530
- unref: unref,
13531
- useAttrs: useAttrs,
13532
- useCssModule: useCssModule,
13533
- useCssVars: useCssVars,
13534
- useHost: useHost,
13535
- useId: useId,
13536
- useModel: useModel,
13537
- useSSRContext: useSSRContext,
13538
- useShadowRoot: useShadowRoot,
13539
- useSlots: useSlots,
13540
- useTemplateRef: useTemplateRef,
13541
- useTransitionState: useTransitionState,
13542
- vModelCheckbox: vModelCheckbox,
13543
- vModelDynamic: vModelDynamic,
13544
- vModelRadio: vModelRadio,
13545
- vModelSelect: vModelSelect,
13546
- vModelText: vModelText,
13547
- vShow: vShow,
13548
- version: version,
13549
- warn: warn,
13550
- watch: watch,
13551
- watchEffect: watchEffect,
13552
- watchPostEffect: watchPostEffect,
13553
- watchSyncEffect: watchSyncEffect,
13554
- withAsyncContext: withAsyncContext,
13555
- withCtx: withCtx,
13556
- withDefaults: withDefaults,
13557
- withDirectives: withDirectives,
13558
- withKeys: withKeys,
13559
- withMemo: withMemo,
13560
- withModifiers: withModifiers,
13561
- withScopeId: withScopeId
13562
- });
13563
-
13564
- export { onBeforeUnmount as $, toRaw as A, watch as B, unref as C, markRaw as D, effectScope as E, Fragment as F, isRef as G, isReactive as H, getCurrentScope as I, onScopeDispose as J, toRefs as K, computed as L, reactive as M, toRef as N, getCurrentInstance as O, onUnmounted as P, onDeactivated as Q, onActivated as R, watchEffect as S, provide as T, shallowRef as U, shallowReactive as V, readonly as W, customRef as X, toValue as Y, shallowReadonly as Z, onBeforeMount as _, normalizeProps as a, mergeDefaults as a$, onMounted as a0, TransitionGroup as a1, onUpdated as a2, isReadonly as a3, onBeforeUpdate as a4, BaseTransition as a5, BaseTransitionPropsValidators as a6, Comment as a7, DeprecationTypes as a8, EffectScope as a9, createTextVNode as aA, defineAsyncComponent as aB, defineCustomElement as aC, defineEmits as aD, defineExpose as aE, defineModel as aF, defineOptions as aG, defineProps as aH, defineSSRCustomElement as aI, defineSlots as aJ, devtools as aK, effect as aL, getCurrentWatcher as aM, getTransitionRawChildren as aN, handleError as aO, hydrate as aP, hydrateOnIdle as aQ, hydrateOnInteraction as aR, hydrateOnMediaQuery as aS, hydrateOnVisible as aT, initCustomFormatter as aU, initDirectivesForSSR as aV, isMemoSame as aW, isProxy as aX, isRuntimeOnly as aY, isShallow as aZ, isVNode as a_, ErrorCodes as aa, ErrorTypeStrings as ab, KeepAlive as ac, ReactiveEffect as ad, Static as ae, Suspense as af, Teleport as ag, Text as ah, TrackOpTypes as ai, Transition as aj, TriggerOpTypes as ak, VueElement as al, assertNumber as am, callWithAsyncErrorHandling as an, callWithErrorHandling as ao, camelize as ap, capitalize as aq, cloneVNode as ar, compatUtils as as, compile as at, createHydrationRenderer as au, createPropsRestProxy as av, createRenderer as aw, createSSRApp as ax, createSlots as ay, createStaticVNode as az, nextTick as b, mergeModels as b0, nodeOps as b1, onErrorCaptured as b2, onRenderTracked as b3, onRenderTriggered as b4, onServerPrefetch as b5, onWatcherCleanup as b6, patchProp as b7, proxyRefs as b8, queuePostFlushCb as b9, useTemplateRef as bA, useTransitionState as bB, vModelCheckbox as bC, vModelDynamic as bD, vModelRadio as bE, vModelSelect as bF, vModelText as bG, vShow as bH, version as bI, warn as bJ, watchPostEffect as bK, watchSyncEffect as bL, withAsyncContext as bM, withDefaults as bN, withDirectives as bO, withMemo as bP, withModifiers as bQ, registerRuntimeCompiler as ba, render as bb, renderList as bc, resolveDirective as bd, resolveDynamicComponent as be, resolveFilter as bf, resolveTransitionHooks as bg, setBlockTracking as bh, setDevtoolsHook as bi, setTransitionHooks as bj, ssrContextKey as bk, ssrUtils as bl, stop as bm, toHandlerKey as bn, toHandlers as bo, transformVNodeArgs as bp, triggerRef as bq, useAttrs as br, useCssModule as bs, useCssVars as bt, useHost as bu, useId as bv, useModel as bw, useSSRContext as bx, useShadowRoot as by, useSlots as bz, createElementBlock as c, defineComponent as d, popScopeId as e, createBlock as f, guardReactiveProps as g, createBaseVNode as h, resolveComponent as i, withKeys as j, normalizeStyle as k, createCommentVNode as l, mergeProps as m, normalizeClass as n, openBlock as o, pushScopeId as p, withCtx as q, renderSlot as r, createVNode as s, toDisplayString as t, ref as u, createApp as v, withScopeId as w, h as x, hasInjectionContext as y, inject as z };
13389
+ export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, ReactiveEffect, Static, Suspense, Teleport, Text, TrackOpTypes, Transition, TransitionGroup, TriggerOpTypes, VueElement, assertNumber, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, cloneVNode, compatUtils, compile, computed, createApp, createBaseVNode, createBlock, createCommentVNode, createElementBlock, createHydrationRenderer, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, customRef, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, effect, effectScope, getCurrentInstance, getCurrentScope, getCurrentWatcher, getTransitionRawChildren, guardReactiveProps, h, handleError, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, inject, isMemoSame, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isShallow, isVNode, markRaw, mergeDefaults, mergeModels, mergeProps, nextTick, nodeOps, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, patchProp, popScopeId, provide, proxyRefs, pushScopeId, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, stop, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toValue, transformVNodeArgs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useHost, useId, useModel, useSSRContext, useShadowRoot, useSlots, useTemplateRef, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@poveste/vendors",
3
3
  "type": "module",
4
- "version": "0.14.0",
4
+ "version": "0.15.0",
5
5
  "description": "Bundled vendors for Poveste",
6
6
  "author": {
7
7
  "name": "Sorin Gitlan",
@@ -40,22 +40,23 @@
40
40
  "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@iconify/vue": "^4.1.2",
43
+ "@iconify/vue": "^5.0.1",
44
44
  "@rollup/plugin-commonjs": "^28.0.1",
45
45
  "@rollup/plugin-node-resolve": "^15.3.0",
46
46
  "@types/node": "^22.10.1",
47
- "@vueuse/core": "^14.4.0",
47
+ "@vue/devtools-api": "^8.1.5",
48
+ "@vueuse/core": "^15.0.0",
48
49
  "execa": "^9.5.1",
49
50
  "floating-vue": "5.2.2",
50
51
  "fs-extra": "^11.2.0",
51
- "globby": "^14.0.2",
52
- "pinia": "^2.3.0",
52
+ "globby": "^16.2.4",
53
+ "pinia": "^4.0.3",
53
54
  "rollup": "^4.28.0",
54
55
  "rollup-plugin-typescript2": "^0.36.0",
55
56
  "scroll-into-view-if-needed": "^3.1.0",
56
- "typescript": "5.6.3",
57
+ "typescript": "6.0.3",
57
58
  "vue": "^3.5.26",
58
- "vue-router": "^4.5.0"
59
+ "vue-router": "^5.3.1"
59
60
  },
60
61
  "scripts": {
61
62
  "build": "rimraf dist && rollup -c rollup.config.mjs"
@@ -1,108 +0,0 @@
1
- import type { ComponentBounds, Hookable } from './hooks.js';
2
- import type { Context } from './context.js';
3
- import type { ComponentInstance, ComponentState, StateBase } from './component.js';
4
- import type { App } from './app.js';
5
- import type { ID } from './util.js';
6
- export interface DevtoolsPluginApi<TSettings> {
7
- on: Hookable<Context>;
8
- notifyComponentUpdate: (instance?: ComponentInstance) => void;
9
- addTimelineLayer: (options: TimelineLayerOptions) => void;
10
- addTimelineEvent: (options: TimelineEventOptions) => void;
11
- addInspector: (options: CustomInspectorOptions) => void;
12
- sendInspectorTree: (inspectorId: string) => void;
13
- sendInspectorState: (inspectorId: string) => void;
14
- selectInspectorNode: (inspectorId: string, nodeId: string) => void;
15
- getComponentBounds: (instance: ComponentInstance) => Promise<ComponentBounds>;
16
- getComponentName: (instance: ComponentInstance) => Promise<string>;
17
- getComponentInstances: (app: App) => Promise<ComponentInstance[]>;
18
- highlightElement: (instance: ComponentInstance) => void;
19
- unhighlightElement: () => void;
20
- getSettings: (pluginId?: string) => TSettings;
21
- now: () => number;
22
- /**
23
- * @private
24
- */
25
- setSettings: (values: TSettings) => void;
26
- }
27
- export interface AppRecord {
28
- id: string;
29
- name: string;
30
- instanceMap: Map<string, ComponentInstance>;
31
- rootInstance: ComponentInstance;
32
- }
33
- export interface TimelineLayerOptions<TData = any, TMeta = any> {
34
- id: string;
35
- label: string;
36
- color: number;
37
- skipScreenshots?: boolean;
38
- groupsOnly?: boolean;
39
- ignoreNoDurationGroups?: boolean;
40
- screenshotOverlayRender?: (event: TimelineEvent<TData, TMeta> & ScreenshotOverlayEvent, ctx: ScreenshotOverlayRenderContext) => ScreenshotOverlayRenderResult | Promise<ScreenshotOverlayRenderResult>;
41
- }
42
- export interface ScreenshotOverlayEvent {
43
- layerId: string;
44
- renderMeta: any;
45
- }
46
- export interface ScreenshotOverlayRenderContext<TData = any, TMeta = any> {
47
- screenshot: ScreenshotData;
48
- events: (TimelineEvent<TData, TMeta> & ScreenshotOverlayEvent)[];
49
- index: number;
50
- }
51
- export type ScreenshotOverlayRenderResult = HTMLElement | string | false;
52
- export interface ScreenshotData {
53
- time: number;
54
- }
55
- export interface TimelineEventOptions {
56
- layerId: string;
57
- event: TimelineEvent;
58
- all?: boolean;
59
- }
60
- export interface TimelineEvent<TData = any, TMeta = any> {
61
- time: number;
62
- data: TData;
63
- logType?: 'default' | 'warning' | 'error';
64
- meta?: TMeta;
65
- groupId?: ID;
66
- title?: string;
67
- subtitle?: string;
68
- }
69
- export interface TimelineMarkerOptions {
70
- id: string;
71
- time: number;
72
- color: number;
73
- label: string;
74
- all?: boolean;
75
- }
76
- export interface CustomInspectorOptions {
77
- id: string;
78
- label: string;
79
- icon?: string;
80
- treeFilterPlaceholder?: string;
81
- stateFilterPlaceholder?: string;
82
- noSelectionText?: string;
83
- actions?: {
84
- icon: string;
85
- tooltip?: string;
86
- action: () => void | Promise<void>;
87
- }[];
88
- nodeActions?: {
89
- icon: string;
90
- tooltip?: string;
91
- action: (nodeId: string) => void | Promise<void>;
92
- }[];
93
- }
94
- export interface CustomInspectorNode {
95
- id: string;
96
- label: string;
97
- children?: CustomInspectorNode[];
98
- tags?: InspectorNodeTag[];
99
- }
100
- export interface InspectorNodeTag {
101
- label: string;
102
- textColor: number;
103
- backgroundColor: number;
104
- tooltip?: string;
105
- }
106
- export interface CustomInspectorState {
107
- [key: string]: (StateBase | Omit<ComponentState, 'type'>)[];
108
- }
@@ -1 +0,0 @@
1
- export type App = any;
@@ -1,78 +0,0 @@
1
- import type { InspectorNodeTag } from './api.js';
2
- import type { ID } from './util.js';
3
- export type ComponentInstance = any;
4
- export interface ComponentTreeNode {
5
- uid: ID;
6
- id: string;
7
- name: string;
8
- renderKey: string | number;
9
- inactive: boolean;
10
- isFragment: boolean;
11
- hasChildren: boolean;
12
- children: ComponentTreeNode[];
13
- domOrder?: number[];
14
- consoleId?: string;
15
- isRouterView?: boolean;
16
- macthedRouteSegment?: string;
17
- tags: InspectorNodeTag[];
18
- autoOpen: boolean;
19
- meta?: any;
20
- }
21
- export interface InspectedComponentData {
22
- id: string;
23
- name: string;
24
- file: string;
25
- state: ComponentState[];
26
- functional?: boolean;
27
- }
28
- export interface StateBase {
29
- key: string;
30
- value: any;
31
- editable?: boolean;
32
- objectType?: 'ref' | 'reactive' | 'computed' | 'other';
33
- raw?: string;
34
- }
35
- export interface ComponentStateBase extends StateBase {
36
- type: string;
37
- }
38
- export interface ComponentPropState extends ComponentStateBase {
39
- meta?: {
40
- type: string;
41
- required: boolean;
42
- /** Vue 1 only */
43
- mode?: 'default' | 'sync' | 'once';
44
- };
45
- }
46
- export type ComponentBuiltinCustomStateTypes = 'function' | 'map' | 'set' | 'reference' | 'component' | 'component-definition' | 'router' | 'store';
47
- export interface ComponentCustomState extends ComponentStateBase {
48
- value: CustomState;
49
- }
50
- export interface CustomState {
51
- _custom: {
52
- type: ComponentBuiltinCustomStateTypes | string;
53
- objectType?: string;
54
- display?: string;
55
- tooltip?: string;
56
- value?: any;
57
- abstract?: boolean;
58
- file?: string;
59
- uid?: number;
60
- readOnly?: boolean;
61
- /** Configure immediate child fields */
62
- fields?: {
63
- abstract?: boolean;
64
- };
65
- id?: any;
66
- actions?: {
67
- icon: string;
68
- tooltip?: string;
69
- action: () => void | Promise<void>;
70
- }[];
71
- /** internal */
72
- _reviveId?: number;
73
- };
74
- }
75
- export type ComponentState = ComponentStateBase | ComponentPropState | ComponentCustomState;
76
- export interface ComponentDevtoolsOptions {
77
- hide?: boolean;
78
- }
@@ -1,5 +0,0 @@
1
- import type { AppRecord } from './api.js';
2
- export interface Context {
3
- currentTab: string;
4
- currentAppRecord: AppRecord;
5
- }
@@ -1,180 +0,0 @@
1
- import type { ComponentDevtoolsOptions, ComponentInstance, ComponentTreeNode, InspectedComponentData } from './component.js';
2
- import type { App } from './app.js';
3
- import type { CustomInspectorNode, CustomInspectorState, TimelineEvent } from './api.js';
4
- export declare const enum Hooks {
5
- TRANSFORM_CALL = "transformCall",
6
- GET_APP_RECORD_NAME = "getAppRecordName",
7
- GET_APP_ROOT_INSTANCE = "getAppRootInstance",
8
- REGISTER_APPLICATION = "registerApplication",
9
- WALK_COMPONENT_TREE = "walkComponentTree",
10
- VISIT_COMPONENT_TREE = "visitComponentTree",
11
- WALK_COMPONENT_PARENTS = "walkComponentParents",
12
- INSPECT_COMPONENT = "inspectComponent",
13
- GET_COMPONENT_BOUNDS = "getComponentBounds",
14
- GET_COMPONENT_NAME = "getComponentName",
15
- GET_COMPONENT_INSTANCES = "getComponentInstances",
16
- GET_ELEMENT_COMPONENT = "getElementComponent",
17
- GET_COMPONENT_ROOT_ELEMENTS = "getComponentRootElements",
18
- EDIT_COMPONENT_STATE = "editComponentState",
19
- GET_COMPONENT_DEVTOOLS_OPTIONS = "getAppDevtoolsOptions",
20
- GET_COMPONENT_RENDER_CODE = "getComponentRenderCode",
21
- INSPECT_TIMELINE_EVENT = "inspectTimelineEvent",
22
- TIMELINE_CLEARED = "timelineCleared",
23
- GET_INSPECTOR_TREE = "getInspectorTree",
24
- GET_INSPECTOR_STATE = "getInspectorState",
25
- EDIT_INSPECTOR_STATE = "editInspectorState",
26
- SET_PLUGIN_SETTINGS = "setPluginSettings"
27
- }
28
- export interface ComponentBounds {
29
- left: number;
30
- top: number;
31
- width: number;
32
- height: number;
33
- }
34
- export interface HookPayloads {
35
- [Hooks.TRANSFORM_CALL]: {
36
- callName: string;
37
- inArgs: any[];
38
- outArgs: any[];
39
- };
40
- [Hooks.GET_APP_RECORD_NAME]: {
41
- app: App;
42
- name: string;
43
- };
44
- [Hooks.GET_APP_ROOT_INSTANCE]: {
45
- app: App;
46
- root: ComponentInstance;
47
- };
48
- [Hooks.REGISTER_APPLICATION]: {
49
- app: App;
50
- };
51
- [Hooks.WALK_COMPONENT_TREE]: {
52
- componentInstance: ComponentInstance;
53
- componentTreeData: ComponentTreeNode[];
54
- maxDepth: number;
55
- filter: string;
56
- recursively: boolean;
57
- };
58
- [Hooks.VISIT_COMPONENT_TREE]: {
59
- app: App;
60
- componentInstance: ComponentInstance;
61
- treeNode: ComponentTreeNode;
62
- filter: string;
63
- };
64
- [Hooks.WALK_COMPONENT_PARENTS]: {
65
- componentInstance: ComponentInstance;
66
- parentInstances: ComponentInstance[];
67
- };
68
- [Hooks.INSPECT_COMPONENT]: {
69
- app: App;
70
- componentInstance: ComponentInstance;
71
- instanceData: InspectedComponentData;
72
- };
73
- [Hooks.GET_COMPONENT_BOUNDS]: {
74
- componentInstance: ComponentInstance;
75
- bounds: ComponentBounds;
76
- };
77
- [Hooks.GET_COMPONENT_NAME]: {
78
- componentInstance: ComponentInstance;
79
- name: string;
80
- };
81
- [Hooks.GET_COMPONENT_INSTANCES]: {
82
- app: App;
83
- componentInstances: ComponentInstance[];
84
- };
85
- [Hooks.GET_ELEMENT_COMPONENT]: {
86
- element: HTMLElement | any;
87
- componentInstance: ComponentInstance;
88
- };
89
- [Hooks.GET_COMPONENT_ROOT_ELEMENTS]: {
90
- componentInstance: ComponentInstance;
91
- rootElements: (HTMLElement | any)[];
92
- };
93
- [Hooks.EDIT_COMPONENT_STATE]: {
94
- app: App;
95
- componentInstance: ComponentInstance;
96
- path: string[];
97
- type: string;
98
- state: EditStatePayload;
99
- set: (object: any, path?: string | (string[]), value?: any, cb?: (object: any, field: string, value: any) => void) => void;
100
- };
101
- [Hooks.GET_COMPONENT_DEVTOOLS_OPTIONS]: {
102
- componentInstance: ComponentInstance;
103
- options: ComponentDevtoolsOptions;
104
- };
105
- [Hooks.GET_COMPONENT_RENDER_CODE]: {
106
- componentInstance: ComponentInstance;
107
- code: string;
108
- };
109
- [Hooks.INSPECT_TIMELINE_EVENT]: {
110
- app: App;
111
- layerId: string;
112
- event: TimelineEvent;
113
- all?: boolean;
114
- data: any;
115
- };
116
- [Hooks.TIMELINE_CLEARED]: Record<string, never>;
117
- [Hooks.GET_INSPECTOR_TREE]: {
118
- app: App;
119
- inspectorId: string;
120
- filter: string;
121
- rootNodes: CustomInspectorNode[];
122
- };
123
- [Hooks.GET_INSPECTOR_STATE]: {
124
- app: App;
125
- inspectorId: string;
126
- nodeId: string;
127
- state: CustomInspectorState;
128
- };
129
- [Hooks.EDIT_INSPECTOR_STATE]: {
130
- app: App;
131
- inspectorId: string;
132
- nodeId: string;
133
- path: string[];
134
- type: string;
135
- state: EditStatePayload;
136
- set: (object: any, path?: string | (string[]), value?: any, cb?: (object: any, field: string, value: any) => void) => void;
137
- };
138
- [Hooks.SET_PLUGIN_SETTINGS]: {
139
- app: App;
140
- pluginId: string;
141
- key: string;
142
- newValue: any;
143
- oldValue: any;
144
- settings: any;
145
- };
146
- }
147
- export type EditStatePayload = {
148
- value: any;
149
- newKey?: string | null;
150
- remove?: undefined | false;
151
- } | {
152
- value?: undefined;
153
- newKey?: undefined;
154
- remove: true;
155
- };
156
- export type HookHandler<TPayload, TContext> = (payload: TPayload, ctx: TContext) => void | Promise<void>;
157
- export interface Hookable<TContext> {
158
- transformCall: (handler: HookHandler<HookPayloads[Hooks.TRANSFORM_CALL], TContext>) => any;
159
- getAppRecordName: (handler: HookHandler<HookPayloads[Hooks.GET_APP_RECORD_NAME], TContext>) => any;
160
- getAppRootInstance: (handler: HookHandler<HookPayloads[Hooks.GET_APP_ROOT_INSTANCE], TContext>) => any;
161
- registerApplication: (handler: HookHandler<HookPayloads[Hooks.REGISTER_APPLICATION], TContext>) => any;
162
- walkComponentTree: (handler: HookHandler<HookPayloads[Hooks.WALK_COMPONENT_TREE], TContext>) => any;
163
- visitComponentTree: (handler: HookHandler<HookPayloads[Hooks.VISIT_COMPONENT_TREE], TContext>) => any;
164
- walkComponentParents: (handler: HookHandler<HookPayloads[Hooks.WALK_COMPONENT_PARENTS], TContext>) => any;
165
- inspectComponent: (handler: HookHandler<HookPayloads[Hooks.INSPECT_COMPONENT], TContext>) => any;
166
- getComponentBounds: (handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_BOUNDS], TContext>) => any;
167
- getComponentName: (handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_NAME], TContext>) => any;
168
- getComponentInstances: (handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_INSTANCES], TContext>) => any;
169
- getElementComponent: (handler: HookHandler<HookPayloads[Hooks.GET_ELEMENT_COMPONENT], TContext>) => any;
170
- getComponentRootElements: (handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_ROOT_ELEMENTS], TContext>) => any;
171
- editComponentState: (handler: HookHandler<HookPayloads[Hooks.EDIT_COMPONENT_STATE], TContext>) => any;
172
- getComponentDevtoolsOptions: (handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_DEVTOOLS_OPTIONS], TContext>) => any;
173
- getComponentRenderCode: (handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_RENDER_CODE], TContext>) => any;
174
- inspectTimelineEvent: (handler: HookHandler<HookPayloads[Hooks.INSPECT_TIMELINE_EVENT], TContext>) => any;
175
- timelineCleared: (handler: HookHandler<HookPayloads[Hooks.TIMELINE_CLEARED], TContext>) => any;
176
- getInspectorTree: (handler: HookHandler<HookPayloads[Hooks.GET_INSPECTOR_TREE], TContext>) => any;
177
- getInspectorState: (handler: HookHandler<HookPayloads[Hooks.GET_INSPECTOR_STATE], TContext>) => any;
178
- editInspectorState: (handler: HookHandler<HookPayloads[Hooks.EDIT_INSPECTOR_STATE], TContext>) => any;
179
- setPluginSettings: (handler: HookHandler<HookPayloads[Hooks.SET_PLUGIN_SETTINGS], TContext>) => any;
180
- }