@poveste/vendors 0.15.0 → 0.16.1

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 (423) hide show
  1. package/README.md +15 -1
  2. package/iconify.d.ts +5 -0
  3. package/iconify.js +5 -0
  4. package/package.json +39 -34
  5. package/pinia.d.ts +5 -0
  6. package/pinia.js +5 -0
  7. package/vue-router.d.ts +5 -0
  8. package/vue-router.js +5 -0
  9. package/vue-use.d.ts +5 -0
  10. package/vue-use.js +5 -0
  11. package/vue.d.ts +5 -0
  12. package/vue.js +9 -0
  13. package/dist/client/b-floating-vue.d.ts +0 -3
  14. package/dist/client/b-floating-vue.js +0 -3377
  15. package/dist/client/b-iconify.d.ts +0 -1
  16. package/dist/client/b-iconify.js +0 -1896
  17. package/dist/client/b-pinia.d.ts +0 -1
  18. package/dist/client/b-pinia.js +0 -1492
  19. package/dist/client/b-scroll.d.ts +0 -2
  20. package/dist/client/b-scroll.js +0 -7
  21. package/dist/client/b-vue-router.d.ts +0 -1
  22. package/dist/client/b-vue-router.js +0 -3058
  23. package/dist/client/b-vue-use.d.ts +0 -1
  24. package/dist/client/b-vue-use.js +0 -10774
  25. package/dist/client/b-vue.d.ts +0 -1
  26. package/dist/client/b-vue.js +0 -1
  27. package/dist/client/devtools-api.js +0 -6568
  28. package/dist/client/index.js +0 -185
  29. package/dist/client/node_modules/@babel/helper-string-parser/package.json +0 -31
  30. package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  31. package/dist/client/node_modules/@babel/parser/package.json +0 -50
  32. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -262
  33. package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +0 -2796
  34. package/dist/client/node_modules/@babel/types/lib/index.d.ts +0 -3616
  35. package/dist/client/node_modules/@babel/types/package.json +0 -39
  36. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +0 -535
  37. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +0 -535
  38. package/dist/client/node_modules/@floating-ui/core/package.json +0 -63
  39. package/dist/client/node_modules/@floating-ui/dom/index.d.ts +0 -1
  40. package/dist/client/node_modules/@floating-ui/dom/package.json +0 -74
  41. package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +0 -31
  42. package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +0 -11
  43. package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +0 -2
  44. package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +0 -128
  45. package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +0 -6
  46. package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +0 -2
  47. package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +0 -12
  48. package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +0 -1
  49. package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +0 -4
  50. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +0 -2
  51. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +0 -1
  52. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +0 -2
  53. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +0 -1
  54. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +0 -1
  55. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +0 -2
  56. package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +0 -1
  57. package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +0 -3
  58. package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +0 -1
  59. package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +0 -2
  60. package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +0 -7
  61. package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +0 -2
  62. package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +0 -1
  63. package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +0 -17
  64. package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +0 -3
  65. package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +0 -2
  66. package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +0 -1
  67. package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +0 -1
  68. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +0 -105
  69. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +0 -105
  70. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +0 -47
  71. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +0 -47
  72. package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +0 -47
  73. package/dist/client/node_modules/@floating-ui/utils/dom/package.json +0 -6
  74. package/dist/client/node_modules/@floating-ui/utils/package.json +0 -70
  75. package/dist/client/node_modules/@iconify/types/package.json +0 -23
  76. package/dist/client/node_modules/@iconify/types/provider.d.ts +0 -44
  77. package/dist/client/node_modules/@iconify/types/types.d.ts +0 -272
  78. package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +0 -420
  79. package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +0 -109
  80. package/dist/client/node_modules/@iconify/vue/offline/package.json +0 -14
  81. package/dist/client/node_modules/@iconify/vue/package.json +0 -62
  82. package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +0 -88
  83. package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/set-array.d.ts +0 -32
  84. package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
  85. package/dist/client/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +0 -43
  86. package/dist/client/node_modules/@jridgewell/gen-mapping/package.json +0 -67
  87. package/dist/client/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +0 -89
  88. package/dist/client/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +0 -33
  89. package/dist/client/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +0 -13
  90. package/dist/client/node_modules/@jridgewell/gen-mapping/types/types.d.mts +0 -44
  91. package/dist/client/node_modules/@jridgewell/remapping/package.json +0 -71
  92. package/dist/client/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.mts +0 -15
  93. package/dist/client/node_modules/@jridgewell/remapping/types/remapping.d.mts +0 -21
  94. package/dist/client/node_modules/@jridgewell/remapping/types/source-map-tree.d.mts +0 -46
  95. package/dist/client/node_modules/@jridgewell/remapping/types/source-map.d.mts +0 -19
  96. package/dist/client/node_modules/@jridgewell/remapping/types/types.d.mts +0 -16
  97. package/dist/client/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +0 -4
  98. package/dist/client/node_modules/@jridgewell/resolve-uri/package.json +0 -69
  99. package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +0 -64
  100. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/range-mappings.d.mts +0 -5
  101. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +0 -50
  102. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +0 -11
  103. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +0 -16
  104. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +0 -9
  105. package/dist/client/node_modules/@jridgewell/trace-mapping/package.json +0 -67
  106. package/dist/client/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +0 -33
  107. package/dist/client/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts +0 -4
  108. package/dist/client/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +0 -9
  109. package/dist/client/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +0 -4
  110. package/dist/client/node_modules/@jridgewell/trace-mapping/types/sort.d.mts +0 -4
  111. package/dist/client/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +0 -17
  112. package/dist/client/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts +0 -5
  113. package/dist/client/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +0 -80
  114. package/dist/client/node_modules/@jridgewell/trace-mapping/types/types.d.mts +0 -107
  115. package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +0 -265
  116. package/dist/client/node_modules/@types/web-bluetooth/package.json +0 -46
  117. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +0 -1120
  118. package/dist/client/node_modules/@vue/compiler-core/package.json +0 -58
  119. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +0 -45
  120. package/dist/client/node_modules/@vue/compiler-dom/package.json +0 -57
  121. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +0 -487
  122. package/dist/client/node_modules/@vue/compiler-sfc/package.json +0 -67
  123. package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +0 -4
  124. package/dist/client/node_modules/@vue/compiler-ssr/package.json +0 -34
  125. package/dist/client/node_modules/@vue/devtools-api/dist/index-node.d.ts +0 -11
  126. package/dist/client/node_modules/@vue/devtools-api/dist/index.d.ts +0 -2
  127. package/dist/client/node_modules/@vue/devtools-api/package.json +0 -38
  128. package/dist/client/node_modules/@vue/devtools-kit/dist/index.d.ts +0 -1170
  129. package/dist/client/node_modules/@vue/devtools-kit/global.d.ts +0 -20
  130. package/dist/client/node_modules/@vue/devtools-kit/package.json +0 -44
  131. package/dist/client/node_modules/@vue/devtools-kit/types.d.ts +0 -2
  132. package/dist/client/node_modules/@vue/devtools-shared/dist/index.d.ts +0 -40
  133. package/dist/client/node_modules/@vue/devtools-shared/package.json +0 -33
  134. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +0 -757
  135. package/dist/client/node_modules/@vue/reactivity/package.json +0 -55
  136. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +0 -1868
  137. package/dist/client/node_modules/@vue/runtime-core/package.json +0 -52
  138. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +0 -1452
  139. package/dist/client/node_modules/@vue/runtime-dom/package.json +0 -60
  140. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +0 -65
  141. package/dist/client/node_modules/@vue/server-renderer/package.json +0 -53
  142. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +0 -334
  143. package/dist/client/node_modules/@vue/shared/package.json +0 -47
  144. package/dist/client/node_modules/@vue-macros/common/dist/index.d.ts +0 -124
  145. package/dist/client/node_modules/@vue-macros/common/package.json +0 -63
  146. package/dist/client/node_modules/@vueuse/core/dist/index.d.ts +0 -5860
  147. package/dist/client/node_modules/@vueuse/core/dist/metadata.d.mts +0 -1
  148. package/dist/client/node_modules/@vueuse/core/package.json +0 -56
  149. package/dist/client/node_modules/@vueuse/metadata/dist/index.d.ts +0 -81
  150. package/dist/client/node_modules/@vueuse/metadata/package.json +0 -41
  151. package/dist/client/node_modules/@vueuse/shared/dist/index.d.ts +0 -1511
  152. package/dist/client/node_modules/@vueuse/shared/package.json +0 -45
  153. package/dist/client/node_modules/acorn/dist/acorn.d.mts +0 -897
  154. package/dist/client/node_modules/acorn/dist/acorn.d.ts +0 -897
  155. package/dist/client/node_modules/acorn/package.json +0 -50
  156. package/dist/client/node_modules/ast-kit/dist/index.d.ts +0 -380
  157. package/dist/client/node_modules/ast-kit/package.json +0 -63
  158. package/dist/client/node_modules/ast-walker-scope/dist/index.d.mts +0 -51
  159. package/dist/client/node_modules/ast-walker-scope/package.json +0 -60
  160. package/dist/client/node_modules/birpc/dist/index.d.mts +0 -215
  161. package/dist/client/node_modules/birpc/dist/index.d.ts +0 -215
  162. package/dist/client/node_modules/birpc/package.json +0 -57
  163. package/dist/client/node_modules/chokidar/handler.d.ts +0 -90
  164. package/dist/client/node_modules/chokidar/index.d.ts +0 -217
  165. package/dist/client/node_modules/chokidar/package.json +0 -63
  166. package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +0 -75
  167. package/dist/client/node_modules/compute-scroll-into-view/package.json +0 -82
  168. package/dist/client/node_modules/confbox/dist/_chunks/_format.d.mts +0 -25
  169. package/dist/client/node_modules/confbox/dist/index.d.mts +0 -34
  170. package/dist/client/node_modules/confbox/dist/ini.d.mts +0 -62
  171. package/dist/client/node_modules/confbox/dist/json5.d.mts +0 -59
  172. package/dist/client/node_modules/confbox/dist/jsonc.d.mts +0 -41
  173. package/dist/client/node_modules/confbox/dist/toml.d.mts +0 -23
  174. package/dist/client/node_modules/confbox/dist/yaml.d.mts +0 -96
  175. package/dist/client/node_modules/confbox/package.json +0 -67
  176. package/dist/client/node_modules/csstype/index.d.ts +0 -22569
  177. package/dist/client/node_modules/csstype/package.json +0 -70
  178. package/dist/client/node_modules/entities/decode.d.ts +0 -3
  179. package/dist/client/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
  180. package/dist/client/node_modules/entities/dist/commonjs/decode.d.ts +0 -205
  181. package/dist/client/node_modules/entities/dist/commonjs/encode.d.ts +0 -22
  182. package/dist/client/node_modules/entities/dist/commonjs/escape.d.ts +0 -46
  183. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
  184. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
  185. package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
  186. package/dist/client/node_modules/entities/dist/commonjs/index.d.ts +0 -96
  187. package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +0 -17
  188. package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
  189. package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
  190. package/dist/client/node_modules/entities/dist/commonjs/package.json +0 -3
  191. package/dist/client/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
  192. package/dist/client/node_modules/entities/dist/esm/decode.d.ts +0 -205
  193. package/dist/client/node_modules/entities/dist/esm/encode.d.ts +0 -22
  194. package/dist/client/node_modules/entities/dist/esm/escape.d.ts +0 -46
  195. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
  196. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
  197. package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
  198. package/dist/client/node_modules/entities/dist/esm/index.d.ts +0 -96
  199. package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
  200. package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
  201. package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
  202. package/dist/client/node_modules/entities/dist/esm/package.json +0 -3
  203. package/dist/client/node_modules/entities/escape.d.ts +0 -3
  204. package/dist/client/node_modules/entities/package.json +0 -120
  205. package/dist/client/node_modules/estree-walker/dist/esm/package.json +0 -1
  206. package/dist/client/node_modules/estree-walker/package.json +0 -37
  207. package/dist/client/node_modules/estree-walker/src/package.json +0 -1
  208. package/dist/client/node_modules/estree-walker/types/async.d.ts +0 -53
  209. package/dist/client/node_modules/estree-walker/types/index.d.ts +0 -56
  210. package/dist/client/node_modules/estree-walker/types/sync.d.ts +0 -53
  211. package/dist/client/node_modules/estree-walker/types/walker.d.ts +0 -37
  212. package/dist/client/node_modules/exsolve/dist/index.d.mts +0 -66
  213. package/dist/client/node_modules/exsolve/package.json +0 -42
  214. package/dist/client/node_modules/fdir/dist/index.d.mts +0 -155
  215. package/dist/client/node_modules/fdir/package.json +0 -103
  216. package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +0 -398
  217. package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +0 -398
  218. package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +0 -495
  219. package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +0 -474
  220. package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +0 -37
  221. package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +0 -9
  222. package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +0 -414
  223. package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +0 -6
  224. package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +0 -398
  225. package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +0 -67
  226. package/dist/client/node_modules/floating-vue/dist/config.d.ts +0 -11
  227. package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +0 -13
  228. package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +0 -27
  229. package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +0 -1
  230. package/dist/client/node_modules/floating-vue/dist/index.d.ts +0 -2239
  231. package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +0 -1
  232. package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +0 -2
  233. package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +0 -14
  234. package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +0 -1
  235. package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +0 -1
  236. package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +0 -3
  237. package/dist/client/node_modules/floating-vue/package.json +0 -80
  238. package/dist/client/node_modules/hookable/dist/index.d.ts +0 -103
  239. package/dist/client/node_modules/hookable/package.json +0 -49
  240. package/dist/client/node_modules/local-pkg/dist/index.d.mts +0 -42
  241. package/dist/client/node_modules/local-pkg/dist/index.d.ts +0 -42
  242. package/dist/client/node_modules/local-pkg/package.json +0 -65
  243. package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +0 -289
  244. package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +0 -289
  245. package/dist/client/node_modules/magic-string/package.json +0 -67
  246. package/dist/client/node_modules/magic-string-ast/dist/index.d.ts +0 -67
  247. package/dist/client/node_modules/magic-string-ast/package.json +0 -64
  248. package/dist/client/node_modules/mlly/dist/index.d.mts +0 -564
  249. package/dist/client/node_modules/mlly/dist/index.d.ts +0 -564
  250. package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.mts +0 -32
  251. package/dist/client/node_modules/mlly/node_modules/confbox/dist/index.d.ts +0 -32
  252. package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.mts +0 -58
  253. package/dist/client/node_modules/mlly/node_modules/confbox/dist/json5.d.ts +0 -58
  254. package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.mts +0 -41
  255. package/dist/client/node_modules/mlly/node_modules/confbox/dist/jsonc.d.ts +0 -41
  256. package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.mts +0 -24
  257. package/dist/client/node_modules/mlly/node_modules/confbox/dist/shared/confbox.9745c98f.d.ts +0 -24
  258. package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.mts +0 -22
  259. package/dist/client/node_modules/mlly/node_modules/confbox/dist/toml.d.ts +0 -22
  260. package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.mts +0 -95
  261. package/dist/client/node_modules/mlly/node_modules/confbox/dist/yaml.d.ts +0 -95
  262. package/dist/client/node_modules/mlly/node_modules/confbox/json5.d.ts +0 -2
  263. package/dist/client/node_modules/mlly/node_modules/confbox/jsonc.d.ts +0 -2
  264. package/dist/client/node_modules/mlly/node_modules/confbox/package.json +0 -86
  265. package/dist/client/node_modules/mlly/node_modules/confbox/toml.d.ts +0 -2
  266. package/dist/client/node_modules/mlly/node_modules/confbox/yaml.d.ts +0 -2
  267. package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.mts +0 -411
  268. package/dist/client/node_modules/mlly/node_modules/pkg-types/dist/index.d.ts +0 -411
  269. package/dist/client/node_modules/mlly/node_modules/pkg-types/package.json +0 -47
  270. package/dist/client/node_modules/mlly/package.json +0 -55
  271. package/dist/client/node_modules/muggle-string/out/base.d.ts +0 -6
  272. package/dist/client/node_modules/muggle-string/out/basic.d.ts +0 -6
  273. package/dist/client/node_modules/muggle-string/out/binarySearch.d.ts +0 -1
  274. package/dist/client/node_modules/muggle-string/out/common.d.ts +0 -9
  275. package/dist/client/node_modules/muggle-string/out/getLength.d.ts +0 -2
  276. package/dist/client/node_modules/muggle-string/out/index.d.ts +0 -10
  277. package/dist/client/node_modules/muggle-string/out/map.d.ts +0 -3
  278. package/dist/client/node_modules/muggle-string/out/overwriteSource.d.ts +0 -3
  279. package/dist/client/node_modules/muggle-string/out/replace.d.ts +0 -3
  280. package/dist/client/node_modules/muggle-string/out/segment.d.ts +0 -6
  281. package/dist/client/node_modules/muggle-string/out/sourceBased.d.ts +0 -3
  282. package/dist/client/node_modules/muggle-string/out/toString.d.ts +0 -2
  283. package/dist/client/node_modules/muggle-string/out/track.d.ts +0 -6
  284. package/dist/client/node_modules/muggle-string/out/types.d.ts +0 -16
  285. package/dist/client/node_modules/muggle-string/package.json +0 -22
  286. package/dist/client/node_modules/nanoid/async/index.d.ts +0 -56
  287. package/dist/client/node_modules/nanoid/async/package.json +0 -12
  288. package/dist/client/node_modules/nanoid/index.d.ts +0 -91
  289. package/dist/client/node_modules/nanoid/non-secure/index.d.ts +0 -33
  290. package/dist/client/node_modules/nanoid/non-secure/package.json +0 -6
  291. package/dist/client/node_modules/nanoid/package.json +0 -89
  292. package/dist/client/node_modules/nanoid/url-alphabet/package.json +0 -6
  293. package/dist/client/node_modules/nostics/dist/diagnostic-wduO7saY.d.mts +0 -295
  294. package/dist/client/node_modules/nostics/dist/formatters/ansi.d.mts +0 -15
  295. package/dist/client/node_modules/nostics/dist/formatters/json.d.mts +0 -7
  296. package/dist/client/node_modules/nostics/dist/index.d.mts +0 -51
  297. package/dist/client/node_modules/nostics/dist/reporters/dev.d.mts +0 -13
  298. package/dist/client/node_modules/nostics/dist/reporters/fetch.d.mts +0 -11
  299. package/dist/client/node_modules/nostics/dist/reporters/node.d.mts +0 -43
  300. package/dist/client/node_modules/nostics/package.json +0 -125
  301. package/dist/client/node_modules/pathe/dist/index.d.mts +0 -47
  302. package/dist/client/node_modules/pathe/dist/index.d.ts +0 -47
  303. package/dist/client/node_modules/pathe/dist/utils.d.mts +0 -32
  304. package/dist/client/node_modules/pathe/dist/utils.d.ts +0 -32
  305. package/dist/client/node_modules/pathe/package.json +0 -61
  306. package/dist/client/node_modules/pathe/utils.d.ts +0 -1
  307. package/dist/client/node_modules/perfect-debounce/dist/index.d.mts +0 -49
  308. package/dist/client/node_modules/perfect-debounce/package.json +0 -41
  309. package/dist/client/node_modules/picocolors/package.json +0 -25
  310. package/dist/client/node_modules/picocolors/picocolors.d.ts +0 -5
  311. package/dist/client/node_modules/picocolors/types.d.ts +0 -51
  312. package/dist/client/node_modules/picomatch/package.json +0 -83
  313. package/dist/client/node_modules/pinia/dist/pinia.d.ts +0 -955
  314. package/dist/client/node_modules/pinia/package.json +0 -82
  315. package/dist/client/node_modules/pkg-types/dist/index.d.mts +0 -695
  316. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/_format.d.mts +0 -22
  317. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/_chunks/libs/js-yaml.d.mts +0 -33
  318. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/index.d.mts +0 -7
  319. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/ini.d.mts +0 -59
  320. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json.d.mts +0 -25
  321. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/json5.d.mts +0 -55
  322. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/jsonc.d.mts +0 -29
  323. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/toml.d.mts +0 -20
  324. package/dist/client/node_modules/pkg-types/node_modules/confbox/dist/yaml.d.mts +0 -101
  325. package/dist/client/node_modules/pkg-types/node_modules/confbox/package.json +0 -68
  326. package/dist/client/node_modules/pkg-types/package.json +0 -47
  327. package/dist/client/node_modules/postcss/lib/at-rule.d.ts +0 -139
  328. package/dist/client/node_modules/postcss/lib/comment.d.ts +0 -67
  329. package/dist/client/node_modules/postcss/lib/container.d.ts +0 -474
  330. package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +0 -247
  331. package/dist/client/node_modules/postcss/lib/declaration.d.ts +0 -150
  332. package/dist/client/node_modules/postcss/lib/document.d.ts +0 -68
  333. package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +0 -9
  334. package/dist/client/node_modules/postcss/lib/input.d.ts +0 -226
  335. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +0 -189
  336. package/dist/client/node_modules/postcss/lib/list.d.ts +0 -60
  337. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +0 -45
  338. package/dist/client/node_modules/postcss/lib/node.d.ts +0 -555
  339. package/dist/client/node_modules/postcss/lib/parse.d.ts +0 -9
  340. package/dist/client/node_modules/postcss/lib/postcss.d.mts +0 -66
  341. package/dist/client/node_modules/postcss/lib/postcss.d.ts +0 -464
  342. package/dist/client/node_modules/postcss/lib/previous-map.d.ts +0 -80
  343. package/dist/client/node_modules/postcss/lib/processor.d.ts +0 -114
  344. package/dist/client/node_modules/postcss/lib/result.d.ts +0 -204
  345. package/dist/client/node_modules/postcss/lib/root.d.ts +0 -86
  346. package/dist/client/node_modules/postcss/lib/rule.d.ts +0 -126
  347. package/dist/client/node_modules/postcss/lib/stringifier.d.ts +0 -45
  348. package/dist/client/node_modules/postcss/lib/stringify.d.ts +0 -9
  349. package/dist/client/node_modules/postcss/lib/warning.d.ts +0 -146
  350. package/dist/client/node_modules/postcss/package.json +0 -88
  351. package/dist/client/node_modules/quansync/dist/index.d.mts +0 -22
  352. package/dist/client/node_modules/quansync/dist/index.d.ts +0 -22
  353. package/dist/client/node_modules/quansync/dist/macro.d.mts +0 -18
  354. package/dist/client/node_modules/quansync/dist/macro.d.ts +0 -18
  355. package/dist/client/node_modules/quansync/dist/types.d.mts +0 -27
  356. package/dist/client/node_modules/quansync/dist/types.d.ts +0 -27
  357. package/dist/client/node_modules/quansync/package.json +0 -95
  358. package/dist/client/node_modules/readdirp/index.d.ts +0 -117
  359. package/dist/client/node_modules/readdirp/package.json +0 -62
  360. package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +0 -79
  361. package/dist/client/node_modules/scroll-into-view-if-needed/package.json +0 -80
  362. package/dist/client/node_modules/scule/dist/index.d.mts +0 -57
  363. package/dist/client/node_modules/scule/dist/index.d.ts +0 -57
  364. package/dist/client/node_modules/scule/package.json +0 -43
  365. package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +0 -1
  366. package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +0 -1
  367. package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +0 -1
  368. package/dist/client/node_modules/source-map-js/package.json +0 -71
  369. package/dist/client/node_modules/source-map-js/source-map.d.ts +0 -104
  370. package/dist/client/node_modules/tinyglobby/dist/index.d.mts +0 -148
  371. package/dist/client/node_modules/tinyglobby/package.json +0 -70
  372. package/dist/client/node_modules/ufo/dist/index.d.mts +0 -714
  373. package/dist/client/node_modules/ufo/dist/index.d.ts +0 -714
  374. package/dist/client/node_modules/ufo/package.json +0 -48
  375. package/dist/client/node_modules/unplugin/dist/index.d.mts +0 -241
  376. package/dist/client/node_modules/unplugin/dist/rspack/loaders/load.d.mts +0 -4
  377. package/dist/client/node_modules/unplugin/dist/rspack/loaders/transform.d.mts +0 -4
  378. package/dist/client/node_modules/unplugin/dist/webpack/loaders/load.d.mts +0 -4
  379. package/dist/client/node_modules/unplugin/dist/webpack/loaders/transform.d.mts +0 -4
  380. package/dist/client/node_modules/unplugin/package.json +0 -146
  381. package/dist/client/node_modules/unplugin-utils/dist/index.d.ts +0 -31
  382. package/dist/client/node_modules/unplugin-utils/package.json +0 -61
  383. package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +0 -1
  384. package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +0 -1
  385. package/dist/client/node_modules/vue/compiler-sfc/package.json +0 -4
  386. package/dist/client/node_modules/vue/dist/vue.d.mts +0 -7
  387. package/dist/client/node_modules/vue/dist/vue.d.ts +0 -7
  388. package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +0 -25
  389. package/dist/client/node_modules/vue/jsx-runtime/package.json +0 -5
  390. package/dist/client/node_modules/vue/jsx.d.ts +0 -22
  391. package/dist/client/node_modules/vue/package.json +0 -112
  392. package/dist/client/node_modules/vue/server-renderer/index.d.mts +0 -1
  393. package/dist/client/node_modules/vue/server-renderer/index.d.ts +0 -1
  394. package/dist/client/node_modules/vue/server-renderer/package.json +0 -4
  395. package/dist/client/node_modules/vue-resize/package.json +0 -77
  396. package/dist/client/node_modules/vue-router/dist/experimental/index.d.ts +0 -7
  397. package/dist/client/node_modules/vue-router/dist/experimental/pinia-colada.d.ts +0 -151
  398. package/dist/client/node_modules/vue-router/dist/index-D7ja2BKs.d.ts +0 -3293
  399. package/dist/client/node_modules/vue-router/dist/options-CwYZKRl4.d.mts +0 -2923
  400. package/dist/client/node_modules/vue-router/dist/unplugin/esbuild.d.mts +0 -10
  401. package/dist/client/node_modules/vue-router/dist/unplugin/index.d.mts +0 -62
  402. package/dist/client/node_modules/vue-router/dist/unplugin/options.d.mts +0 -7
  403. package/dist/client/node_modules/vue-router/dist/unplugin/rolldown.d.mts +0 -10
  404. package/dist/client/node_modules/vue-router/dist/unplugin/rollup.d.mts +0 -10
  405. package/dist/client/node_modules/vue-router/dist/unplugin/types.d.mts +0 -7
  406. package/dist/client/node_modules/vue-router/dist/unplugin/vite.d.mts +0 -10
  407. package/dist/client/node_modules/vue-router/dist/unplugin/webpack.d.mts +0 -10
  408. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +0 -7
  409. package/dist/client/node_modules/vue-router/package.json +0 -211
  410. package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +0 -27
  411. package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.mts +0 -53
  412. package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +0 -2
  413. package/dist/client/node_modules/webpack-virtual-modules/lib/index.d.ts +0 -15
  414. package/dist/client/node_modules/webpack-virtual-modules/lib/virtual-stats.d.ts +0 -11
  415. package/dist/client/node_modules/webpack-virtual-modules/package.json +0 -82
  416. package/dist/client/vue.runtime.esm-bundler.js +0 -13389
  417. package/src/client/b-floating-vue.ts +0 -5
  418. package/src/client/b-iconify.ts +0 -1
  419. package/src/client/b-pinia.ts +0 -1
  420. package/src/client/b-scroll.ts +0 -4
  421. package/src/client/b-vue-router.ts +0 -1
  422. package/src/client/b-vue-use.ts +0 -1
  423. package/src/client/b-vue.ts +0 -1
@@ -1,56 +0,0 @@
1
- /**
2
- * Generate secure URL-friendly unique ID. The non-blocking version.
3
- *
4
- * By default, the ID will have 21 symbols to have a collision probability
5
- * similar to UUID v4.
6
- *
7
- * ```js
8
- * import { nanoid } from 'nanoid/async'
9
- * nanoid().then(id => {
10
- * model.id = id
11
- * })
12
- * ```
13
- *
14
- * @param size Size of the ID. The default size is 21.
15
- * @returns A promise with a random string.
16
- */
17
- export function nanoid(size?: number): Promise<string>
18
-
19
- /**
20
- * A low-level function.
21
- * Generate secure unique ID with custom alphabet. The non-blocking version.
22
- *
23
- * Alphabet must contain 256 symbols or less. Otherwise, the generator
24
- * will not be secure.
25
- *
26
- * @param alphabet Alphabet used to generate the ID.
27
- * @param defaultSize Size of the ID. The default size is 21.
28
- * @returns A function that returns a promise with a random string.
29
- *
30
- * ```js
31
- * import { customAlphabet } from 'nanoid/async'
32
- * const nanoid = customAlphabet('0123456789абвгдеё', 5)
33
- * nanoid().then(id => {
34
- * model.id = id //=> "8ё56а"
35
- * })
36
- * ```
37
- */
38
- export function customAlphabet(
39
- alphabet: string,
40
- defaultSize?: number
41
- ): (size?: number) => Promise<string>
42
-
43
- /**
44
- * Generate an array of random bytes collected from hardware noise.
45
- *
46
- * ```js
47
- * import { random } from 'nanoid/async'
48
- * random(5).then(bytes => {
49
- * bytes //=> [10, 67, 212, 67, 89]
50
- * })
51
- * ```
52
- *
53
- * @param bytes Size of the array.
54
- * @returns A promise with a random bytes array.
55
- */
56
- export function random(bytes: number): Promise<Uint8Array>
@@ -1,12 +0,0 @@
1
- {
2
- "type": "module",
3
- "main": "index.cjs",
4
- "module": "index.js",
5
- "react-native": {
6
- "./index.js": "./index.native.js"
7
- },
8
- "browser": {
9
- "./index.js": "./index.browser.js",
10
- "./index.cjs": "./index.browser.cjs"
11
- }
12
- }
@@ -1,91 +0,0 @@
1
- /**
2
- * Generate secure URL-friendly unique ID.
3
- *
4
- * By default, the ID will have 21 symbols to have a collision probability
5
- * similar to UUID v4.
6
- *
7
- * ```js
8
- * import { nanoid } from 'nanoid'
9
- * model.id = nanoid() //=> "Uakgb_J5m9g-0JDMbcJqL"
10
- * ```
11
- *
12
- * @param size Size of the ID. The default size is 21.
13
- * @returns A random string.
14
- */
15
- export function nanoid(size?: number): string
16
-
17
- /**
18
- * Generate secure unique ID with custom alphabet.
19
- *
20
- * Alphabet must contain 256 symbols or less. Otherwise, the generator
21
- * will not be secure.
22
- *
23
- * @param alphabet Alphabet used to generate the ID.
24
- * @param defaultSize Size of the ID. The default size is 21.
25
- * @returns A random string generator.
26
- *
27
- * ```js
28
- * const { customAlphabet } = require('nanoid')
29
- * const nanoid = customAlphabet('0123456789абвгдеё', 5)
30
- * nanoid() //=> "8ё56а"
31
- * ```
32
- */
33
- export function customAlphabet(
34
- alphabet: string,
35
- defaultSize?: number
36
- ): (size?: number) => string
37
-
38
- /**
39
- * Generate unique ID with custom random generator and alphabet.
40
- *
41
- * Alphabet must contain 256 symbols or less. Otherwise, the generator
42
- * will not be secure.
43
- *
44
- * ```js
45
- * import { customRandom } from 'nanoid/format'
46
- *
47
- * const nanoid = customRandom('abcdef', 5, size => {
48
- * const random = []
49
- * for (let i = 0; i < size; i++) {
50
- * random.push(randomByte())
51
- * }
52
- * return random
53
- * })
54
- *
55
- * nanoid() //=> "fbaef"
56
- * ```
57
- *
58
- * @param alphabet Alphabet used to generate a random string.
59
- * @param size Size of the random string.
60
- * @param random A random bytes generator.
61
- * @returns A random string generator.
62
- */
63
- export function customRandom(
64
- alphabet: string,
65
- size: number,
66
- random: (bytes: number) => Uint8Array
67
- ): () => string
68
-
69
- /**
70
- * URL safe symbols.
71
- *
72
- * ```js
73
- * import { urlAlphabet } from 'nanoid'
74
- * const nanoid = customAlphabet(urlAlphabet, 10)
75
- * nanoid() //=> "Uakgb_J5m9"
76
- * ```
77
- */
78
- export const urlAlphabet: string
79
-
80
- /**
81
- * Generate an array of random bytes collected from hardware noise.
82
- *
83
- * ```js
84
- * import { customRandom, random } from 'nanoid'
85
- * const nanoid = customRandom("abcdef", 5, random)
86
- * ```
87
- *
88
- * @param bytes Size of the array.
89
- * @returns An array of random bytes.
90
- */
91
- export function random(bytes: number): Uint8Array
@@ -1,33 +0,0 @@
1
- /**
2
- * Generate URL-friendly unique ID. This method uses the non-secure
3
- * predictable random generator with bigger collision probability.
4
- *
5
- * ```js
6
- * import { nanoid } from 'nanoid/non-secure'
7
- * model.id = nanoid() //=> "Uakgb_J5m9g-0JDMbcJqL"
8
- * ```
9
- *
10
- * @param size Size of the ID. The default size is 21.
11
- * @returns A random string.
12
- */
13
- export function nanoid(size?: number): string
14
-
15
- /**
16
- * Generate a unique ID based on a custom alphabet.
17
- * This method uses the non-secure predictable random generator
18
- * with bigger collision probability.
19
- *
20
- * @param alphabet Alphabet used to generate the ID.
21
- * @param defaultSize Size of the ID. The default size is 21.
22
- * @returns A random string generator.
23
- *
24
- * ```js
25
- * import { customAlphabet } from 'nanoid/non-secure'
26
- * const nanoid = customAlphabet('0123456789абвгдеё', 5)
27
- * model.id = //=> "8ё56а"
28
- * ```
29
- */
30
- export function customAlphabet(
31
- alphabet: string,
32
- defaultSize?: number
33
- ): (size?: number) => string
@@ -1,6 +0,0 @@
1
- {
2
- "type": "module",
3
- "main": "index.cjs",
4
- "module": "index.js",
5
- "react-native": "index.js"
6
- }
@@ -1,89 +0,0 @@
1
- {
2
- "name": "nanoid",
3
- "version": "3.3.19",
4
- "description": "A tiny (116 bytes), secure URL-friendly unique string ID generator",
5
- "keywords": [
6
- "uuid",
7
- "random",
8
- "id",
9
- "url"
10
- ],
11
- "engines": {
12
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
13
- },
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/ai"
18
- }
19
- ],
20
- "author": "Andrey Sitnik <andrey@sitnik.ru>",
21
- "license": "MIT",
22
- "repository": "ai/nanoid",
23
- "browser": {
24
- "./index.js": "./index.browser.js",
25
- "./async/index.js": "./async/index.browser.js",
26
- "./async/index.cjs": "./async/index.browser.cjs",
27
- "./index.cjs": "./index.browser.cjs"
28
- },
29
- "react-native": "index.js",
30
- "bin": "./bin/nanoid.cjs",
31
- "sideEffects": false,
32
- "types": "./index.d.ts",
33
- "type": "module",
34
- "main": "index.cjs",
35
- "module": "index.js",
36
- "exports": {
37
- ".": {
38
- "react-native": "./index.browser.js",
39
- "browser": "./index.browser.js",
40
- "require": {
41
- "types": "./index.d.cts",
42
- "default": "./index.cjs"
43
- },
44
- "import": {
45
- "types": "./index.d.ts",
46
- "default": "./index.js"
47
- },
48
- "default": "./index.js"
49
- },
50
- "./package.json": "./package.json",
51
- "./async/package.json": "./async/package.json",
52
- "./async": {
53
- "browser": "./async/index.browser.js",
54
- "require": {
55
- "types": "./index.d.cts",
56
- "default": "./async/index.cjs"
57
- },
58
- "import": {
59
- "types": "./index.d.ts",
60
- "default": "./async/index.js"
61
- },
62
- "default": "./async/index.js"
63
- },
64
- "./non-secure/package.json": "./non-secure/package.json",
65
- "./non-secure": {
66
- "require": {
67
- "types": "./index.d.cts",
68
- "default": "./non-secure/index.cjs"
69
- },
70
- "import": {
71
- "types": "./index.d.ts",
72
- "default": "./non-secure/index.js"
73
- },
74
- "default": "./non-secure/index.js"
75
- },
76
- "./url-alphabet/package.json": "./url-alphabet/package.json",
77
- "./url-alphabet": {
78
- "require": {
79
- "types": "./index.d.cts",
80
- "default": "./url-alphabet/index.cjs"
81
- },
82
- "import": {
83
- "types": "./index.d.ts",
84
- "default": "./url-alphabet/index.js"
85
- },
86
- "default": "./url-alphabet/index.js"
87
- }
88
- }
89
- }
@@ -1,6 +0,0 @@
1
- {
2
- "type": "module",
3
- "main": "index.cjs",
4
- "module": "index.js",
5
- "react-native": "index.js"
6
- }
@@ -1,295 +0,0 @@
1
- //#region src/utils.d.ts
2
- /**
3
- * A value of type T, or a function that resolves T from a single params object.
4
- *
5
- * @internal
6
- */
7
- type ValueOrFn<T, P = any> = T | ((params: P) => T);
8
- /**
9
- * Extracts the param type from a single-arg function, or `never` for
10
- * non-function inputs. Pairs with {@link ValueOrFn}.
11
- *
12
- * @internal
13
- */
14
- type ExtractFnParam<T> = T extends ((params: infer P) => any) ? P : never;
15
- /**
16
- * Converts a union of types to their intersection.
17
- *
18
- * @internal
19
- */
20
- type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
21
- /**
22
- * `true` when `T` is the `any` type.
23
- *
24
- * @internal
25
- */
26
- type IsAny<Type> = 0 extends 1 & Type ? true : false;
27
- /**
28
- * `true` when `T` is the `unknown` type (and not `any`).
29
- *
30
- * @internal
31
- */
32
- type IsUnknown<Type> = IsAny<Type> extends true ? false : unknown extends Type ? true : false;
33
- /**
34
- * Expands a type to its property listing so editor hovers show the resolved
35
- * shape instead of a chain of aliases / intersections.
36
- *
37
- * @internal
38
- */
39
- type Prettify<Type> = { [Key in keyof Type]: Type[Key] };
40
- //#endregion
41
- //#region src/diagnostic.d.ts
42
- /**
43
- * Define-time shape of a diagnostic. Each field can be a static value or a
44
- * function that resolves it from a shared `params` object passed at call
45
- * time. Runtime-only fields (`cause`, `sources`) from {@link DiagnosticInit}
46
- * are intentionally omitted: they're only meaningful at the call site.
47
- */
48
- interface DiagnosticDefinition<P = any> {
49
- /**
50
- * The error message: why this failed. String, or a function of `params`.
51
- *
52
- * @example
53
- * ```ts
54
- * why: (p: { name: string }) => `module "${p.name}" failed to load`
55
- * ```
56
- */
57
- why: ValueOrFn<string, P>;
58
- /**
59
- * Actionable instructions on how to resolve the problem. String, or a
60
- * function of `params`.
61
- *
62
- * @example
63
- * ```ts
64
- * fix: (p: { name: string }) => `run "npm install ${p.name}"`
65
- * ```
66
- */
67
- fix?: ValueOrFn<string, P>;
68
- /**
69
- * Per-code docs URL. A string overrides
70
- * {@link DefineDiagnosticsOptions.docsBase} for this code; `false` opts this
71
- * code out entirely, even when `docsBase` is set. When omitted, the URL is
72
- * derived from `docsBase`.
73
- */
74
- docs?: string | false;
75
- }
76
- /**
77
- * Runtime-only fields that can be passed alongside the interpolation params
78
- * at call time. Merged into the same object so callers pass everything in
79
- * one place.
80
- */
81
- interface DiagnosticCallParams {
82
- /**
83
- * Original error or exception that triggered this diagnostic. Pass it
84
- * through when re-throwing so the original stack trace is preserved.
85
- */
86
- cause?: unknown;
87
- /**
88
- * Locations in user code that contributed to this diagnostic, in
89
- * `file:line:column` format. Useful for compilers and other tools where the
90
- * JS stack trace doesn't reflect the user's source.
91
- */
92
- sources?: string[];
93
- }
94
- /**
95
- * Structured initializer for a {@link Diagnostic}. `why` is the only required
96
- * field: it becomes the {@link Diagnostic.message}. The remaining fields are
97
- * optional metadata that reporters and consumers can render or forward.
98
- */
99
- interface DiagnosticInit extends DiagnosticCallParams {
100
- /**
101
- * The diagnostic code, e.g. `MATH_E001`. Appear as {@link Diagnostic.name}.
102
- */
103
- code: string;
104
- /**
105
- * The actual error message: why this failed.
106
- * Mirrored to `Error.message`.
107
- */
108
- why: string;
109
- /**
110
- * Optional actionable instructions on how to resolve the problem.
111
- */
112
- fix?: string;
113
- /**
114
- * URL to extended documentation for this diagnostic.
115
- */
116
- docs?: string;
117
- }
118
- /**
119
- * Represents how to report a diagnostic. Could call `console.log()`, send the
120
- * diagnostic to a server, or something else. Reporters declare the shape of
121
- * options they need via `ReporterOpts`; `defineDiagnostics` intersects every
122
- * reporter's options into a single object passed at the call site.
123
- */
124
- type DiagnosticReporter<ReporterOpts extends object = {}> = (diagnostic: Diagnostic, options: ReporterOpts) => void;
125
- /**
126
- * Permissive reporter constraint used internally so reporters with 1 arg,
127
- * required options, or optional options all satisfy the array constraint.
128
- *
129
- * @internal
130
- */
131
- type AnyDiagnosticReporter = (diagnostic: Diagnostic, options: any) => void;
132
- /**
133
- * The `console` methods a log reporter can route to.
134
- */
135
- type ConsoleMethod = "log" | "error" | "warn";
136
- /**
137
- * Options for {@link createConsoleReporter}.
138
- */
139
- interface ConsoleReporterOptions {
140
- /**
141
- * `console` method used to print the diagnostic. Defaults to `'warn'`. The
142
- * returned reporter still accepts a per-call `{ method }` override through
143
- * the call-site reporter options.
144
- */
145
- method?: ConsoleMethod;
146
- /**
147
- * Renders the diagnostic into the string handed to `console`. Defaults to
148
- * {@link formatDiagnostic}, the plain unicode-decorated formatter.
149
- */
150
- formatter?: (diagnostic: Diagnostic) => string;
151
- }
152
- /**
153
- * Creates a console reporter that renders each diagnostic with `formatter` and
154
- * prints the result via `console[method]`. Both default sensibly (`'warn'` and
155
- * {@link formatDiagnostic}); `method` can also be overridden per call through
156
- * the reporter options.
157
- */
158
- declare function createConsoleReporter({
159
- method: defaultMethod,
160
- formatter
161
- }?: ConsoleReporterOptions): DiagnosticReporter<{
162
- method?: ConsoleMethod;
163
- }>;
164
- /**
165
- * Resolves the `params` type a code expects from the intersection of params
166
- * across all function-typed fields, falling back to `{}` when every field is
167
- * static. Merged with {@link DiagnosticCallParams} at the call site.
168
- *
169
- * @internal
170
- */
171
- type InferCodeParams<Def> = [ExtractFnParam<Def[keyof Def]>] extends [never] ? {} : UnionToIntersection<ExtractFnParam<Def[keyof Def]>>;
172
- /**
173
- * Options for {@link defineDiagnostics}.
174
- */
175
- interface DefineDiagnosticsOptions<Codes extends Record<string, DiagnosticDefinition>, Reporters extends readonly AnyDiagnosticReporter[]> {
176
- /**
177
- * Base URL or resolver for documentation links. When a string, the code is
178
- * appended as a lowercase path segment (e.g. `"https://docs.example.com"` →
179
- * `"https://docs.example.com/math_e001"`). When a function, receives the
180
- * code and returns a URL or `undefined`.
181
- */
182
- docsBase?: string | ((code: keyof Codes) => string | undefined);
183
- /**
184
- * Map of diagnostic codes to their definitions.
185
- */
186
- codes: Codes;
187
- /**
188
- * Reporters called every time a diagnostic is produced. Can be used to
189
- * integrate with custom logging.
190
- */
191
- reporters?: Reporters;
192
- }
193
- /**
194
- * The first positional argument of a {@link DiagnosticHandle} call:
195
- * interpolation params merged with the runtime-only call-site fields
196
- * (`cause`, `sources`).
197
- *
198
- * @internal
199
- */
200
- type CallSiteParams<Params> = Params & DiagnosticCallParams;
201
- /**
202
- * Resolves the full argument tuple for a {@link DiagnosticHandle} call.
203
- * Branches on whether params and reporter options each have required fields.
204
- * Required positions become required tuple elements, all-optional ones
205
- * become `?`, and when no reporter declares any options the parameter is
206
- * omitted entirely.
207
- *
208
- * @internal
209
- */
210
- type ActionArgs<Params, ReporterOpts> = keyof ReporterOpts extends never ? {} extends Params ? [params?: CallSiteParams<Params>] : [params: CallSiteParams<Params>] : {} extends ReporterOpts ? {} extends Params ? [params?: CallSiteParams<Params>, reporterOptions?: ReporterOpts] : [params: CallSiteParams<Params>, reporterOptions?: ReporterOpts] : {} extends Params ? [params: CallSiteParams<Params> | undefined, reporterOptions: ReporterOpts] : [params: CallSiteParams<Params>, reporterOptions: ReporterOpts];
211
- /**
212
- * Per-code handle exposed by {@link defineDiagnostics}. Each code is a
213
- * callable: invoke it to build the diagnostic and run every reporter, or
214
- * prefix the call with `throw` to raise it.
215
- *
216
- * @example
217
- * ```ts
218
- * diagnostics.MATH_E001({ name: 'x' }) // report
219
- * throw diagnostics.MATH_E001({ name: 'x' }) // throw
220
- * ```
221
- */
222
- interface DiagnosticHandle<Params, ReporterOpts> {
223
- /**
224
- * Builds the diagnostic, runs every reporter, and returns the diagnostic
225
- * instance. The returned diagnostic can be inspected, attached as `cause`,
226
- * or thrown with `throw`.
227
- */
228
- (...args: ActionArgs<Params, ReporterOpts>): Diagnostic;
229
- }
230
- /**
231
- * Return type of {@link defineDiagnostics}.
232
- */
233
- type Diagnostics<Codes extends Record<string, DiagnosticDefinition>, Reporters extends readonly AnyDiagnosticReporter[]> = { [Code in keyof Codes]: DiagnosticHandle<InferCodeParams<Codes[Code]>, Prettify<ExtractReportersOptions<Reporters>>> };
234
- declare class Diagnostic extends Error {
235
- name: string;
236
- /**
237
- * The diagnostic code, e.g. `MATH_E001`.
238
- * Also appears as the `name` property.
239
- */
240
- code: string;
241
- /**
242
- * URL to extended documentation for this diagnostic code.
243
- * Auto-generated from {@link DefineDiagnosticsOptions.docsBase}.
244
- */
245
- docs?: string;
246
- /**
247
- * Optional actionable instructions on how to resolve the problem.
248
- */
249
- fix?: string;
250
- /**
251
- * Locations in user code that contributed to this diagnostic, in
252
- * `file:line:column` format. Relevant when the stack trace doesn't reflect
253
- * the user's source (e.g. compilers, bundlers), otherwise redundant with the
254
- * stack and should be omitted.
255
- */
256
- sources?: string[];
257
- /**
258
- * Alias for {@link Error.message}: the reason this diagnostic was raised.
259
- */
260
- get why(): string;
261
- /**
262
- * @param init structured initializer; `why` is required
263
- * @param captureFrom V8 stack-cutoff frame. Defaults to {@link Diagnostic}
264
- * so the top of the trace is the `new Diagnostic(...)` call site.
265
- * `defineDiagnostics` passes its action method to strip its own frames too.
266
- * Ignored on engines without `Error.captureStackTrace`.
267
- */
268
- constructor(init: DiagnosticInit, captureFrom?: Function);
269
- /**
270
- * Converts the diagnostic into a serializable structured object.
271
- */
272
- toJSON(): object;
273
- }
274
- /**
275
- * Creates a typed diagnostics object from a set of code definitions. Each
276
- * code becomes a callable {@link DiagnosticHandle}: invoke to report, or
277
- * `throw` the result to raise. No `new` required, no proxy.
278
- */
279
- declare function defineDiagnostics<const Codes extends Record<string, DiagnosticDefinition>, const Reporters extends readonly AnyDiagnosticReporter[]>(options: DefineDiagnosticsOptions<Codes, Reporters>): Diagnostics<Codes, Reporters>;
280
- /**
281
- * Extracts the options object a reporter accepts as its 2nd argument. Returns
282
- * `{}` when the reporter has no 2nd arg (so it contributes nothing to the
283
- * merged shape).
284
- */
285
- type ExtractSingleReporterOptions<Reporter> = Reporter extends ((diagnostic: Diagnostic, options: infer ReporterOpts) => any) ? IsUnknown<ReporterOpts> extends true ? {} : Exclude<ReporterOpts, undefined> : {};
286
- /**
287
- * Intersects every reporter's options shape into a single object. If any
288
- * reporter has a required field, the merged shape has a required field, and
289
- * {@link ActionArgs} flips `reporterOptions` from optional to required via
290
- * `{} extends Merged`.
291
- */
292
- type ExtractReportersOptions<Reporters extends readonly any[]> = Reporters extends readonly [infer First, ...infer Rest] ? ExtractSingleReporterOptions<First> & ExtractReportersOptions<Rest> : {};
293
- //#endregion
294
- export { Diagnostic as a, DiagnosticHandle as c, Diagnostics as d, createConsoleReporter as f, DefineDiagnosticsOptions as i, DiagnosticInit as l, ValueOrFn as m, ConsoleMethod as n, DiagnosticCallParams as o, defineDiagnostics as p, ConsoleReporterOptions as r, DiagnosticDefinition as s, AnyDiagnosticReporter as t, DiagnosticReporter as u };
295
- //# sourceMappingURL=diagnostic-wduO7saY.d.mts.map
@@ -1,15 +0,0 @@
1
- import { a as Diagnostic } from "../diagnostic-wduO7saY.mjs";
2
-
3
- //#region src/formatters/ansi.d.ts
4
- interface Colors {
5
- red: (s: string) => string;
6
- yellow: (s: string) => string;
7
- cyan: (s: string) => string;
8
- gray: (s: string) => string;
9
- bold: (s: string) => string;
10
- dim: (s: string) => string;
11
- }
12
- declare function ansiFormatter(colors: Colors): (d: Diagnostic) => string;
13
- //#endregion
14
- export { Colors, ansiFormatter };
15
- //# sourceMappingURL=ansi.d.mts.map
@@ -1,7 +0,0 @@
1
- import { a as Diagnostic } from "../diagnostic-wduO7saY.mjs";
2
-
3
- //#region src/formatters/json.d.ts
4
- declare const jsonFormatter: (d: Diagnostic) => string;
5
- //#endregion
6
- export { jsonFormatter };
7
- //# sourceMappingURL=json.d.mts.map
@@ -1,51 +0,0 @@
1
- import { a as Diagnostic, c as DiagnosticHandle, d as Diagnostics, f as createConsoleReporter, i as DefineDiagnosticsOptions, l as DiagnosticInit, m as ValueOrFn, n as ConsoleMethod, o as DiagnosticCallParams, p as defineDiagnostics, r as ConsoleReporterOptions, s as DiagnosticDefinition, t as AnyDiagnosticReporter, u as DiagnosticReporter } from "./diagnostic-wduO7saY.mjs";
2
-
3
- //#region src/formatters/plain.d.ts
4
- /**
5
- * Renders a diagnostic into a multi-line, unicode-decorated string suitable
6
- * for terminal output. The first line is `[<name>] <message>`; optional
7
- * details (`fix`, `sources`, `docs`) follow with `├▶`/`╰▶` connectors.
8
- */
9
- declare function formatDiagnostic(diagnostic: Diagnostic): string;
10
- //#endregion
11
- //#region src/prod-diagnostics.d.ts
12
- /**
13
- * Options for {@link defineProdDiagnostics}. A lean subset of
14
- * {@link DefineDiagnosticsOptions}: no `codes` map (the proxy serves any code),
15
- * only what is needed to keep behaviour correct in production.
16
- */
17
- interface DefineProdDiagnosticsOptions<Reporters extends readonly AnyDiagnosticReporter[] = readonly AnyDiagnosticReporter[]> {
18
- /**
19
- * Base URL or resolver for documentation links, identical to
20
- * {@link DefineDiagnosticsOptions.docsBase}. The docs URL is derived from the
21
- * accessed code at call time, so links survive even without the catalog.
22
- */
23
- docsBase?: string | ((code: string) => string | undefined);
24
- /**
25
- * Reporters called every time a diagnostic is produced. Omitted by default in
26
- * production builds; the strip plugin can copy them into the prod branch when
27
- * prod-time reporting (e.g. telemetry) is desired.
28
- */
29
- reporters?: Reporters;
30
- }
31
- /**
32
- * Production counterpart to {@link defineDiagnostics}. Returns a `Proxy` that
33
- * builds a minimal {@link Diagnostic} for any accessed code: the code becomes
34
- * the instance `name`, `docs` is derived from `docsBase`, and `why` points to
35
- * the docs URL when one exists (empty otherwise, so the thrown header is just
36
- * the code). It carries no catalog text, so it stays tiny in a bundle.
37
- *
38
- * The strip plugin (`@nostics/unplugin`) can rewrite a `defineDiagnostics()`
39
- * call into a `process.env.NODE_ENV === 'production'` ternary that selects this
40
- * factory in production, dropping every `why`/`fix` string from the bundle.
41
- *
42
- * @example
43
- * ```ts
44
- * const diagnostics = defineProdDiagnostics({ docsBase: 'https://docs.example.com' })
45
- * throw diagnostics.NUXT_B2011() // NUXT_B2011: https://docs.example.com/nuxt_b2011
46
- * ```
47
- */
48
- declare function defineProdDiagnostics<const Codes extends Record<string, DiagnosticDefinition> = Record<string, DiagnosticDefinition>, const Reporters extends readonly AnyDiagnosticReporter[] = readonly AnyDiagnosticReporter[]>(options?: DefineProdDiagnosticsOptions<Reporters>): Diagnostics<Codes, Reporters>;
49
- //#endregion
50
- export { type AnyDiagnosticReporter, type ConsoleMethod, type ConsoleReporterOptions, type DefineDiagnosticsOptions, type DefineProdDiagnosticsOptions, Diagnostic, type DiagnosticCallParams, type DiagnosticDefinition, type DiagnosticHandle, type DiagnosticInit, type DiagnosticReporter, type Diagnostics, type ValueOrFn as _ValueOrFn, createConsoleReporter, defineDiagnostics, defineProdDiagnostics, formatDiagnostic };
51
- //# sourceMappingURL=index.d.mts.map
@@ -1,13 +0,0 @@
1
- import { u as DiagnosticReporter } from "../diagnostic-wduO7saY.mjs";
2
-
3
- //#region src/reporters/dev.d.ts
4
- /**
5
- * Creates a reporter for browser code under Vite dev: it forwards each
6
- * diagnostic over `import.meta.hot.send('nostics:report', ...)` so the
7
- * dev-server collector can file it. Outside Vite (`import.meta.hot` absent) it
8
- * warns once and does nothing.
9
- */
10
- declare function createDevReporter(): DiagnosticReporter;
11
- //#endregion
12
- export { createDevReporter };
13
- //# sourceMappingURL=dev.d.mts.map