@histoire/vendors 0.8.2 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/b-floating-vue.d.ts +3 -0
- package/dist/client/{floating-vue.js → b-floating-vue.js} +1 -1
- package/dist/client/b-iconify.d.ts +1 -0
- package/dist/client/{iconify.js → b-iconify.js} +0 -0
- package/dist/client/b-pinia.d.ts +1 -0
- package/dist/client/{pinia.js → b-pinia.js} +41 -8
- package/dist/client/b-scroll.d.ts +2 -0
- package/dist/client/{scroll.js → b-scroll.js} +1 -1
- package/dist/client/b-vue-router.d.ts +1 -0
- package/dist/client/{vue-router.js → b-vue-router.js} +279 -158
- package/dist/client/b-vue-use.d.ts +1 -0
- package/dist/client/{vue-use.js → b-vue-use.js} +1070 -603
- package/dist/client/b-vue.d.ts +1 -0
- package/dist/client/{vue.js → b-vue.js} +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +45 -0
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +214 -0
- package/dist/client/node_modules/@floating-ui/core/index.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/core/package.json +70 -0
- package/dist/client/node_modules/@floating-ui/core/src/_babel.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/core/src/computeCoordsFromPlacement.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/core/src/computePosition.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/detectOverflow.d.ts +9 -0
- package/dist/client/node_modules/@floating-ui/core/src/enums.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/core/src/index.d.ts +11 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/arrow.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts +9 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/flip.d.ts +10 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/hide.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/inline.d.ts +5 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/offset.d.ts +21 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/shift.d.ts +32 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/size.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/core/src/types.d.ts +148 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/expandPaddingObject.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignment.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignmentSides.d.ts +5 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getBasePlacement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getCrossAxis.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getExpandedPlacements.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getLengthFromAxis.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getMainAxisFromPlacement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositeAlignmentPlacement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositePlacement.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getPaddingObject.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/math.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/rectToClientRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/within.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/index.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/package.json +75 -0
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +7 -0
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +27 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/contains.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingClientRect.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParents.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +15 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +2 -0
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +680 -0
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +347 -0
- package/dist/client/node_modules/@iconify/vue/offline/package.json +14 -0
- package/dist/client/node_modules/@iconify/vue/package.json +61 -0
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +176 -0
- package/dist/client/node_modules/@types/web-bluetooth/package.json +40 -0
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +1198 -0
- package/dist/client/node_modules/@vue/compiler-core/package.json +43 -0
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +66 -0
- package/dist/client/node_modules/@vue/compiler-dom/package.json +43 -0
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +321 -0
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +59 -0
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +6 -0
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +108 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +1 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +77 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +5 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +179 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +6 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +4 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +15 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +18 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +47 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +20 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/package.json +37 -0
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +347 -0
- package/dist/client/node_modules/@vue/reactivity/package.json +41 -0
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +33 -0
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +41 -0
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +2018 -0
- package/dist/client/node_modules/@vue/runtime-core/package.json +38 -0
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1522 -0
- package/dist/client/node_modules/@vue/runtime-dom/package.json +42 -0
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +100 -0
- package/dist/client/node_modules/@vue/server-renderer/package.json +41 -0
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +356 -0
- package/dist/client/node_modules/@vue/shared/package.json +33 -0
- package/dist/client/node_modules/@vueuse/core/index.d.ts +4305 -0
- package/dist/client/node_modules/@vueuse/core/metadata.d.ts +1 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/@vueuse/shared/index.d.ts +874 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/@vueuse/shared/package.json +50 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.d.ts +22 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2/index.d.ts +31 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2.7/index.d.ts +52 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +47 -0
- package/dist/client/node_modules/@vueuse/core/package.json +59 -0
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +75 -0
- package/dist/client/node_modules/@vueuse/metadata/package.json +39 -0
- package/dist/client/node_modules/compute-scroll-into-view/package.json +90 -0
- package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +19 -0
- package/dist/client/node_modules/csstype/index.d.ts +38372 -0
- package/dist/client/node_modules/csstype/package.json +57 -0
- package/dist/client/node_modules/estree-walker/dist/esm/package.json +1 -0
- package/dist/client/node_modules/estree-walker/package.json +37 -0
- package/dist/client/node_modules/estree-walker/src/package.json +1 -0
- package/dist/client/node_modules/estree-walker/types/async.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/index.d.ts +56 -0
- package/dist/client/node_modules/estree-walker/types/sync.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/walker.d.ts +37 -0
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.vue.d.ts +25 -0
- package/dist/client/node_modules/floating-vue/dist/components/Menu.vue.d.ts +25 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +374 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +366 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +48 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +9 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +28 -0
- package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +6 -0
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.vue.d.ts +25 -0
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +28 -0
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +11 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +13 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +27 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +414 -0
- package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +2 -0
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +12 -0
- package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +3 -0
- package/dist/client/node_modules/floating-vue/package.json +71 -0
- package/dist/client/node_modules/floating-vue/src/global-shim.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/src/vue-shim.d.ts +5 -0
- package/dist/client/node_modules/magic-string/index.d.ts +221 -0
- package/dist/client/node_modules/magic-string/package.json +52 -0
- package/dist/client/node_modules/nanoid/async/index.d.ts +56 -0
- package/dist/client/node_modules/nanoid/async/package.json +12 -0
- package/dist/client/node_modules/nanoid/index.d.ts +91 -0
- package/dist/client/node_modules/nanoid/non-secure/index.d.ts +33 -0
- package/dist/client/node_modules/nanoid/non-secure/package.json +6 -0
- package/dist/client/node_modules/nanoid/package.json +60 -0
- package/dist/client/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/dist/client/node_modules/picocolors/package.json +25 -0
- package/dist/client/node_modules/picocolors/picocolors.d.ts +5 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +963 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +31 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +52 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +47 -0
- package/dist/client/node_modules/pinia/package.json +101 -0
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +106 -0
- package/dist/client/node_modules/postcss/lib/comment.d.ts +56 -0
- package/dist/client/node_modules/postcss/lib/container.d.ts +442 -0
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +239 -0
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +124 -0
- package/dist/client/node_modules/postcss/lib/document.d.ts +57 -0
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +5 -0
- package/dist/client/node_modules/postcss/lib/input.d.ts +150 -0
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +176 -0
- package/dist/client/node_modules/postcss/lib/list.d.ts +51 -0
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +37 -0
- package/dist/client/node_modules/postcss/lib/node.d.ts +478 -0
- package/dist/client/node_modules/postcss/lib/parse.d.ts +5 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +473 -0
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +72 -0
- package/dist/client/node_modules/postcss/lib/processor.d.ts +102 -0
- package/dist/client/node_modules/postcss/lib/result.d.ts +196 -0
- package/dist/client/node_modules/postcss/lib/root.d.ts +73 -0
- package/dist/client/node_modules/postcss/lib/rule.d.ts +104 -0
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +37 -0
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +5 -0
- package/dist/client/node_modules/postcss/lib/warning.d.ts +138 -0
- package/dist/client/node_modules/postcss/package.json +85 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +144 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/index.d.ts +13 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +19 -0
- package/dist/client/node_modules/source-map/package.json +73 -0
- package/dist/client/node_modules/source-map/source-map.d.ts +98 -0
- package/dist/client/node_modules/source-map-js/package.json +71 -0
- package/dist/client/node_modules/source-map-js/source-map.d.ts +115 -0
- package/dist/client/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +5 -0
- package/dist/client/node_modules/sourcemap-codec/package.json +53 -0
- package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +1 -0
- package/dist/client/node_modules/vue/compiler-sfc/package.json +5 -0
- package/dist/client/node_modules/vue/dist/vue.d.ts +9 -0
- package/dist/client/node_modules/vue/macros-global.d.ts +19 -0
- package/dist/client/node_modules/vue/macros.d.ts +110 -0
- package/dist/client/node_modules/vue/package.json +75 -0
- package/dist/client/node_modules/vue/ref-macros.d.ts +2 -0
- package/dist/client/node_modules/vue/server-renderer/index.d.ts +1 -0
- package/dist/client/node_modules/vue/server-renderer/package.json +5 -0
- package/dist/client/node_modules/vue-resize/package.json +77 -0
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +1491 -0
- package/dist/client/node_modules/vue-router/package.json +114 -0
- package/dist/client/vue.runtime.esm-bundler.js +24 -19
- package/entries.js +7 -7
- package/floating-vue.d.ts +3 -0
- package/iconify.d.ts +3 -0
- package/package.json +13 -4
- package/pinia.d.ts +3 -0
- package/rollup.config.mjs +116 -0
- package/scroll.d.ts +3 -0
- package/src/client/b-floating-vue.ts +3 -0
- package/src/client/b-iconify.ts +1 -0
- package/src/client/b-pinia.ts +1 -0
- package/src/client/b-scroll.ts +2 -0
- package/src/client/b-vue-router.ts +1 -0
- package/src/client/b-vue-use.ts +1 -0
- package/src/client/b-vue.ts +1 -0
- package/vue-router.d.ts +3 -0
- package/vue-use.d.ts +3 -0
- package/vue.d.ts +3 -0
- package/dist/client/floating-vue.d.ts +0 -2
- package/dist/client/iconify.d.ts +0 -1
- package/dist/client/pinia.d.ts +0 -1
- package/dist/client/scroll.d.ts +0 -1
- package/dist/client/vue-router.d.ts +0 -1
- package/dist/client/vue-use.d.ts +0 -1
- package/dist/client/vue.d.ts +0 -1
- package/rollup.config.js +0 -37
- package/src/client/floating-vue.ts +0 -2
- package/src/client/iconify.ts +0 -1
- package/src/client/pinia.ts +0 -1
- package/src/client/scroll.ts +0 -1
- package/src/client/vue-router.ts +0 -1
- package/src/client/vue-use.ts +0 -1
- package/src/client/vue.ts +0 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vue/runtime-dom",
|
|
3
|
+
"version": "3.2.37",
|
|
4
|
+
"description": "@vue/runtime-dom",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"module": "dist/runtime-dom.esm-bundler.js",
|
|
7
|
+
"types": "dist/runtime-dom.d.ts",
|
|
8
|
+
"unpkg": "dist/runtime-dom.global.js",
|
|
9
|
+
"files": [
|
|
10
|
+
"index.js",
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"sideEffects": false,
|
|
14
|
+
"buildOptions": {
|
|
15
|
+
"name": "VueRuntimeDOM",
|
|
16
|
+
"formats": [
|
|
17
|
+
"esm-bundler",
|
|
18
|
+
"esm-browser",
|
|
19
|
+
"cjs",
|
|
20
|
+
"global"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/vuejs/core.git",
|
|
26
|
+
"directory": "packages/runtime-dom"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"vue"
|
|
30
|
+
],
|
|
31
|
+
"author": "Evan You",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/vuejs/core/issues"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@vue/shared": "3.2.37",
|
|
39
|
+
"@vue/runtime-core": "3.2.37",
|
|
40
|
+
"csstype": "^2.6.8"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
|
|
3
|
+
import { App } from 'vue';
|
|
4
|
+
import { Component } from 'vue';
|
|
5
|
+
import { ComponentInternalInstance } from 'vue';
|
|
6
|
+
import { ComponentPublicInstance } from '@vue/runtime-core';
|
|
7
|
+
import { Directive } from '@vue/runtime-core';
|
|
8
|
+
import { Readable } from 'stream';
|
|
9
|
+
import { Slots } from 'vue';
|
|
10
|
+
import { includeBooleanAttr as ssrIncludeBooleanAttr } from '@vue/shared';
|
|
11
|
+
import { VNode } from 'vue';
|
|
12
|
+
import { Writable } from 'stream';
|
|
13
|
+
|
|
14
|
+
export declare function pipeToNodeWritable(input: App | VNode, context: SSRContext | undefined, writable: Writable): void;
|
|
15
|
+
|
|
16
|
+
export declare function pipeToWebWritable(input: App | VNode, context: SSRContext | undefined, writable: WritableStream): void;
|
|
17
|
+
|
|
18
|
+
declare type Props = Record<string, unknown>;
|
|
19
|
+
|
|
20
|
+
declare type PushFn = (item: SSRBufferItem) => void;
|
|
21
|
+
|
|
22
|
+
export declare function renderToNodeStream(input: App | VNode, context?: SSRContext): Readable;
|
|
23
|
+
|
|
24
|
+
export declare function renderToSimpleStream<T extends SimpleReadable>(input: App | VNode, context: SSRContext, stream: T): T;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated
|
|
28
|
+
*/
|
|
29
|
+
export declare function renderToStream(input: App | VNode, context?: SSRContext): Readable;
|
|
30
|
+
|
|
31
|
+
export declare function renderToString(input: App | VNode, context?: SSRContext): Promise<string>;
|
|
32
|
+
|
|
33
|
+
export declare function renderToWebStream(input: App | VNode, context?: SSRContext): ReadableStream;
|
|
34
|
+
|
|
35
|
+
export declare interface SimpleReadable {
|
|
36
|
+
push(chunk: string | null): void;
|
|
37
|
+
destroy(err: any): void;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare type SSRBuffer = SSRBufferItem[] & {
|
|
41
|
+
hasAsync?: boolean;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
declare type SSRBufferItem = string | SSRBuffer | Promise<SSRBuffer>;
|
|
45
|
+
|
|
46
|
+
export declare type SSRContext = {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
teleports?: Record<string, string>;
|
|
49
|
+
__teleportBuffers?: Record<string, SSRBuffer>;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export declare function ssrGetDirectiveProps(instance: ComponentPublicInstance, dir: Directive, value?: any, arg?: string, modifiers?: Record<string, boolean>): Record<string, any>;
|
|
53
|
+
|
|
54
|
+
export declare function ssrGetDynamicModelProps(existingProps: any, model: unknown): {
|
|
55
|
+
checked: boolean;
|
|
56
|
+
value?: undefined;
|
|
57
|
+
} | {
|
|
58
|
+
value: unknown;
|
|
59
|
+
checked?: undefined;
|
|
60
|
+
} | null;
|
|
61
|
+
|
|
62
|
+
export { ssrIncludeBooleanAttr }
|
|
63
|
+
|
|
64
|
+
export declare function ssrInterpolate(value: unknown): string;
|
|
65
|
+
|
|
66
|
+
export declare function ssrLooseContain(arr: unknown[], value: unknown): boolean;
|
|
67
|
+
|
|
68
|
+
export declare const ssrLooseEqual: (a: unknown, b: unknown) => boolean;
|
|
69
|
+
|
|
70
|
+
export declare function ssrRenderAttr(key: string, value: unknown): string;
|
|
71
|
+
|
|
72
|
+
export declare function ssrRenderAttrs(props: Record<string, unknown>, tag?: string): string;
|
|
73
|
+
|
|
74
|
+
export declare function ssrRenderClass(raw: unknown): string;
|
|
75
|
+
|
|
76
|
+
export declare function ssrRenderComponent(comp: Component, props?: Props | null, children?: Slots | SSRSlots | null, parentComponent?: ComponentInternalInstance | null, slotScopeId?: string): SSRBuffer | Promise<SSRBuffer>;
|
|
77
|
+
|
|
78
|
+
export declare function ssrRenderDynamicAttr(key: string, value: unknown, tag?: string): string;
|
|
79
|
+
|
|
80
|
+
export declare function ssrRenderDynamicModel(type: unknown, model: unknown, value: unknown): string;
|
|
81
|
+
|
|
82
|
+
export declare function ssrRenderList(source: unknown, renderItem: (value: unknown, key: string | number, index?: number) => void): void;
|
|
83
|
+
|
|
84
|
+
export declare function ssrRenderSlot(slots: Slots | SSRSlots, slotName: string, slotProps: Props, fallbackRenderFn: (() => void) | null, push: PushFn, parentComponent: ComponentInternalInstance, slotScopeId?: string): void;
|
|
85
|
+
|
|
86
|
+
export declare function ssrRenderSlotInner(slots: Slots | SSRSlots, slotName: string, slotProps: Props, fallbackRenderFn: (() => void) | null, push: PushFn, parentComponent: ComponentInternalInstance, slotScopeId?: string, transition?: boolean): void;
|
|
87
|
+
|
|
88
|
+
export declare function ssrRenderStyle(raw: unknown): string;
|
|
89
|
+
|
|
90
|
+
export declare function ssrRenderSuspense(push: PushFn, { default: renderContent }: Record<string, (() => void) | undefined>): Promise<void>;
|
|
91
|
+
|
|
92
|
+
export declare function ssrRenderTeleport(parentPush: PushFn, contentRenderFn: (push: PushFn) => void, target: string, disabled: boolean, parentComponent: ComponentInternalInstance): void;
|
|
93
|
+
|
|
94
|
+
export declare function ssrRenderVNode(push: PushFn, vnode: VNode, parentComponent: ComponentInternalInstance, slotScopeId?: string): void;
|
|
95
|
+
|
|
96
|
+
declare type SSRSlot = (props: Props, push: PushFn, parentComponent: ComponentInternalInstance | null, scopeId: string | null) => void;
|
|
97
|
+
|
|
98
|
+
declare type SSRSlots = Record<string, SSRSlot>;
|
|
99
|
+
|
|
100
|
+
export { }
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vue/server-renderer",
|
|
3
|
+
"version": "3.2.37",
|
|
4
|
+
"description": "@vue/server-renderer",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"module": "dist/server-renderer.esm-bundler.js",
|
|
7
|
+
"types": "dist/server-renderer.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"index.js",
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"buildOptions": {
|
|
13
|
+
"name": "VueServerRenderer",
|
|
14
|
+
"formats": [
|
|
15
|
+
"esm-bundler",
|
|
16
|
+
"esm-browser",
|
|
17
|
+
"cjs"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/vuejs/core.git",
|
|
23
|
+
"directory": "packages/server-renderer"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"vue"
|
|
27
|
+
],
|
|
28
|
+
"author": "Evan You",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/vuejs/core/issues"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"vue": "3.2.37"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@vue/shared": "3.2.37",
|
|
39
|
+
"@vue/compiler-ssr": "3.2.37"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @private
|
|
3
|
+
*/
|
|
4
|
+
export declare const camelize: (str: string) => string;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @private
|
|
8
|
+
*/
|
|
9
|
+
export declare const capitalize: (str: string) => string;
|
|
10
|
+
|
|
11
|
+
export declare const def: (obj: object, key: string | symbol, value: any) => void;
|
|
12
|
+
|
|
13
|
+
export declare const EMPTY_ARR: readonly never[];
|
|
14
|
+
|
|
15
|
+
export declare const EMPTY_OBJ: {
|
|
16
|
+
readonly [key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export declare function escapeHtml(string: unknown): string;
|
|
20
|
+
|
|
21
|
+
export declare function escapeHtmlComment(src: string): string;
|
|
22
|
+
|
|
23
|
+
export declare const extend: {
|
|
24
|
+
<T, U>(target: T, source: U): T & U;
|
|
25
|
+
<T_1, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
26
|
+
<T_2, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
27
|
+
(target: object, ...sources: any[]): any;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export declare function generateCodeFrame(source: string, start?: number, end?: number): string;
|
|
31
|
+
|
|
32
|
+
export declare function genPropsAccessExp(name: string): string;
|
|
33
|
+
|
|
34
|
+
export declare const getGlobalThis: () => any;
|
|
35
|
+
|
|
36
|
+
export declare const hasChanged: (value: any, oldValue: any) => boolean;
|
|
37
|
+
|
|
38
|
+
export declare const hasOwn: (val: object, key: string | symbol) => key is never;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @private
|
|
42
|
+
*/
|
|
43
|
+
export declare const hyphenate: (str: string) => string;
|
|
44
|
+
|
|
45
|
+
export declare type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Boolean attributes should be included if the value is truthy or ''.
|
|
49
|
+
* e.g. `<select multiple>` compiles to `{ multiple: '' }`
|
|
50
|
+
*/
|
|
51
|
+
export declare function includeBooleanAttr(value: unknown): boolean;
|
|
52
|
+
|
|
53
|
+
export declare const invokeArrayFns: (fns: Function[], arg?: any) => void;
|
|
54
|
+
|
|
55
|
+
export declare const isArray: (arg: any) => arg is any[];
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* The full list is needed during SSR to produce the correct initial markup.
|
|
59
|
+
*/
|
|
60
|
+
export declare const isBooleanAttr: (key: string) => boolean;
|
|
61
|
+
|
|
62
|
+
export declare const isBuiltInDirective: (key: string) => boolean;
|
|
63
|
+
|
|
64
|
+
export declare const isDate: (val: unknown) => val is Date;
|
|
65
|
+
|
|
66
|
+
export declare const isFunction: (val: unknown) => val is Function;
|
|
67
|
+
|
|
68
|
+
export declare const isGloballyWhitelisted: (key: string) => boolean;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Compiler only.
|
|
72
|
+
* Do NOT use in runtime code paths unless behind `__DEV__` flag.
|
|
73
|
+
*/
|
|
74
|
+
export declare const isHTMLTag: (key: string) => boolean;
|
|
75
|
+
|
|
76
|
+
export declare const isIntegerKey: (key: unknown) => boolean;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Known attributes, this is used for stringification of runtime static nodes
|
|
80
|
+
* so that we don't stringify bindings that cannot be set from HTML.
|
|
81
|
+
* Don't also forget to allow `data-*` and `aria-*`!
|
|
82
|
+
* Generated from https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
|
|
83
|
+
*/
|
|
84
|
+
export declare const isKnownHtmlAttr: (key: string) => boolean;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Generated from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute
|
|
88
|
+
*/
|
|
89
|
+
export declare const isKnownSvgAttr: (key: string) => boolean;
|
|
90
|
+
|
|
91
|
+
export declare const isMap: (val: unknown) => val is Map<any, any>;
|
|
92
|
+
|
|
93
|
+
export declare const isModelListener: (key: string) => boolean;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* CSS properties that accept plain numbers
|
|
97
|
+
*/
|
|
98
|
+
export declare const isNoUnitNumericStyleProp: (key: string) => boolean;
|
|
99
|
+
|
|
100
|
+
export declare const isObject: (val: unknown) => val is Record<any, any>;
|
|
101
|
+
|
|
102
|
+
export declare const isOn: (key: string) => boolean;
|
|
103
|
+
|
|
104
|
+
export declare const isPlainObject: (val: unknown) => val is object;
|
|
105
|
+
|
|
106
|
+
export declare const isPromise: <T = any>(val: unknown) => val is Promise<T>;
|
|
107
|
+
|
|
108
|
+
export declare const isReservedProp: (key: string) => boolean;
|
|
109
|
+
|
|
110
|
+
export declare const isSet: (val: unknown) => val is Set<any>;
|
|
111
|
+
|
|
112
|
+
export declare const isSpecialBooleanAttr: (key: string) => boolean;
|
|
113
|
+
|
|
114
|
+
export declare function isSSRSafeAttrName(name: string): boolean;
|
|
115
|
+
|
|
116
|
+
export declare const isString: (val: unknown) => val is string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Compiler only.
|
|
120
|
+
* Do NOT use in runtime code paths unless behind `__DEV__` flag.
|
|
121
|
+
*/
|
|
122
|
+
export declare const isSVGTag: (key: string) => boolean;
|
|
123
|
+
|
|
124
|
+
export declare const isSymbol: (val: unknown) => val is symbol;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Compiler only.
|
|
128
|
+
* Do NOT use in runtime code paths unless behind `__DEV__` flag.
|
|
129
|
+
*/
|
|
130
|
+
export declare const isVoidTag: (key: string) => boolean;
|
|
131
|
+
|
|
132
|
+
export declare function looseEqual(a: any, b: any): boolean;
|
|
133
|
+
|
|
134
|
+
export declare function looseIndexOf(arr: any[], val: any): number;
|
|
135
|
+
|
|
136
|
+
export declare type LooseRequired<T> = {
|
|
137
|
+
[P in string & keyof T]: T[P];
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Make a map and return a function for checking if a key
|
|
142
|
+
* is in that map.
|
|
143
|
+
* IMPORTANT: all calls of this function must be prefixed with
|
|
144
|
+
* \/\*#\_\_PURE\_\_\*\/
|
|
145
|
+
* So that rollup can tree-shake them if necessary.
|
|
146
|
+
*/
|
|
147
|
+
export declare function makeMap(str: string, expectsLowerCase?: boolean): (key: string) => boolean;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Always return false.
|
|
151
|
+
*/
|
|
152
|
+
export declare const NO: () => boolean;
|
|
153
|
+
|
|
154
|
+
export declare const NOOP: () => void;
|
|
155
|
+
|
|
156
|
+
export declare function normalizeClass(value: unknown): string;
|
|
157
|
+
|
|
158
|
+
export declare type NormalizedStyle = Record<string, string | number>;
|
|
159
|
+
|
|
160
|
+
export declare function normalizeProps(props: Record<string, any> | null): Record<string, any> | null;
|
|
161
|
+
|
|
162
|
+
export declare function normalizeStyle(value: unknown): NormalizedStyle | string | undefined;
|
|
163
|
+
|
|
164
|
+
export declare const objectToString: () => string;
|
|
165
|
+
|
|
166
|
+
export declare function parseStringStyle(cssText: string): NormalizedStyle;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* dev only flag -> name mapping
|
|
170
|
+
*/
|
|
171
|
+
export declare const PatchFlagNames: {
|
|
172
|
+
[x: number]: string;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Patch flags are optimization hints generated by the compiler.
|
|
177
|
+
* when a block with dynamicChildren is encountered during diff, the algorithm
|
|
178
|
+
* enters "optimized mode". In this mode, we know that the vdom is produced by
|
|
179
|
+
* a render function generated by the compiler, so the algorithm only needs to
|
|
180
|
+
* handle updates explicitly marked by these patch flags.
|
|
181
|
+
*
|
|
182
|
+
* Patch flags can be combined using the | bitwise operator and can be checked
|
|
183
|
+
* using the & operator, e.g.
|
|
184
|
+
*
|
|
185
|
+
* ```js
|
|
186
|
+
* const flag = TEXT | CLASS
|
|
187
|
+
* if (flag & TEXT) { ... }
|
|
188
|
+
* ```
|
|
189
|
+
*
|
|
190
|
+
* Check the `patchElement` function in '../../runtime-core/src/renderer.ts' to see how the
|
|
191
|
+
* flags are handled during diff.
|
|
192
|
+
*/
|
|
193
|
+
export declare const enum PatchFlags {
|
|
194
|
+
/**
|
|
195
|
+
* Indicates an element with dynamic textContent (children fast path)
|
|
196
|
+
*/
|
|
197
|
+
TEXT = 1,
|
|
198
|
+
/**
|
|
199
|
+
* Indicates an element with dynamic class binding.
|
|
200
|
+
*/
|
|
201
|
+
CLASS = 2,
|
|
202
|
+
/**
|
|
203
|
+
* Indicates an element with dynamic style
|
|
204
|
+
* The compiler pre-compiles static string styles into static objects
|
|
205
|
+
* + detects and hoists inline static objects
|
|
206
|
+
* e.g. `style="color: red"` and `:style="{ color: 'red' }"` both get hoisted
|
|
207
|
+
* as:
|
|
208
|
+
* ```js
|
|
209
|
+
* const style = { color: 'red' }
|
|
210
|
+
* render() { return e('div', { style }) }
|
|
211
|
+
* ```
|
|
212
|
+
*/
|
|
213
|
+
STYLE = 4,
|
|
214
|
+
/**
|
|
215
|
+
* Indicates an element that has non-class/style dynamic props.
|
|
216
|
+
* Can also be on a component that has any dynamic props (includes
|
|
217
|
+
* class/style). when this flag is present, the vnode also has a dynamicProps
|
|
218
|
+
* array that contains the keys of the props that may change so the runtime
|
|
219
|
+
* can diff them faster (without having to worry about removed props)
|
|
220
|
+
*/
|
|
221
|
+
PROPS = 8,
|
|
222
|
+
/**
|
|
223
|
+
* Indicates an element with props with dynamic keys. When keys change, a full
|
|
224
|
+
* diff is always needed to remove the old key. This flag is mutually
|
|
225
|
+
* exclusive with CLASS, STYLE and PROPS.
|
|
226
|
+
*/
|
|
227
|
+
FULL_PROPS = 16,
|
|
228
|
+
/**
|
|
229
|
+
* Indicates an element with event listeners (which need to be attached
|
|
230
|
+
* during hydration)
|
|
231
|
+
*/
|
|
232
|
+
HYDRATE_EVENTS = 32,
|
|
233
|
+
/**
|
|
234
|
+
* Indicates a fragment whose children order doesn't change.
|
|
235
|
+
*/
|
|
236
|
+
STABLE_FRAGMENT = 64,
|
|
237
|
+
/**
|
|
238
|
+
* Indicates a fragment with keyed or partially keyed children
|
|
239
|
+
*/
|
|
240
|
+
KEYED_FRAGMENT = 128,
|
|
241
|
+
/**
|
|
242
|
+
* Indicates a fragment with unkeyed children.
|
|
243
|
+
*/
|
|
244
|
+
UNKEYED_FRAGMENT = 256,
|
|
245
|
+
/**
|
|
246
|
+
* Indicates an element that only needs non-props patching, e.g. ref or
|
|
247
|
+
* directives (onVnodeXXX hooks). since every patched vnode checks for refs
|
|
248
|
+
* and onVnodeXXX hooks, it simply marks the vnode so that a parent block
|
|
249
|
+
* will track it.
|
|
250
|
+
*/
|
|
251
|
+
NEED_PATCH = 512,
|
|
252
|
+
/**
|
|
253
|
+
* Indicates a component with dynamic slots (e.g. slot that references a v-for
|
|
254
|
+
* iterated value, or dynamic slot names).
|
|
255
|
+
* Components with this flag are always force updated.
|
|
256
|
+
*/
|
|
257
|
+
DYNAMIC_SLOTS = 1024,
|
|
258
|
+
/**
|
|
259
|
+
* Indicates a fragment that was created only because the user has placed
|
|
260
|
+
* comments at the root level of a template. This is a dev-only flag since
|
|
261
|
+
* comments are stripped in production.
|
|
262
|
+
*/
|
|
263
|
+
DEV_ROOT_FRAGMENT = 2048,
|
|
264
|
+
/**
|
|
265
|
+
* SPECIAL FLAGS -------------------------------------------------------------
|
|
266
|
+
* Special flags are negative integers. They are never matched against using
|
|
267
|
+
* bitwise operators (bitwise matching should only happen in branches where
|
|
268
|
+
* patchFlag > 0), and are mutually exclusive. When checking for a special
|
|
269
|
+
* flag, simply check patchFlag === FLAG.
|
|
270
|
+
*/
|
|
271
|
+
/**
|
|
272
|
+
* Indicates a hoisted static vnode. This is a hint for hydration to skip
|
|
273
|
+
* the entire sub tree since static content never needs to be updated.
|
|
274
|
+
*/
|
|
275
|
+
HOISTED = -1,
|
|
276
|
+
/**
|
|
277
|
+
* A special flag that indicates that the diffing algorithm should bail out
|
|
278
|
+
* of optimized mode. For example, on block fragments created by renderSlot()
|
|
279
|
+
* when encountering non-compiler generated slots (i.e. manually written
|
|
280
|
+
* render functions, which should always be fully diffed)
|
|
281
|
+
* OR manually cloneVNodes
|
|
282
|
+
*/
|
|
283
|
+
BAIL = -2
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export declare const propsToAttrMap: Record<string, string | undefined>;
|
|
287
|
+
|
|
288
|
+
export declare const remove: <T>(arr: T[], el: T) => void;
|
|
289
|
+
|
|
290
|
+
export declare const enum ShapeFlags {
|
|
291
|
+
ELEMENT = 1,
|
|
292
|
+
FUNCTIONAL_COMPONENT = 2,
|
|
293
|
+
STATEFUL_COMPONENT = 4,
|
|
294
|
+
TEXT_CHILDREN = 8,
|
|
295
|
+
ARRAY_CHILDREN = 16,
|
|
296
|
+
SLOTS_CHILDREN = 32,
|
|
297
|
+
TELEPORT = 64,
|
|
298
|
+
SUSPENSE = 128,
|
|
299
|
+
COMPONENT_SHOULD_KEEP_ALIVE = 256,
|
|
300
|
+
COMPONENT_KEPT_ALIVE = 512,
|
|
301
|
+
COMPONENT = 6
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export declare const enum SlotFlags {
|
|
305
|
+
/**
|
|
306
|
+
* Stable slots that only reference slot props or context state. The slot
|
|
307
|
+
* can fully capture its own dependencies so when passed down the parent won't
|
|
308
|
+
* need to force the child to update.
|
|
309
|
+
*/
|
|
310
|
+
STABLE = 1,
|
|
311
|
+
/**
|
|
312
|
+
* Slots that reference scope variables (v-for or an outer slot prop), or
|
|
313
|
+
* has conditional structure (v-if, v-for). The parent will need to force
|
|
314
|
+
* the child to update because the slot does not fully capture its dependencies.
|
|
315
|
+
*/
|
|
316
|
+
DYNAMIC = 2,
|
|
317
|
+
/**
|
|
318
|
+
* `<slot/>` being forwarded into a child component. Whether the parent needs
|
|
319
|
+
* to update the child is dependent on what kind of slots the parent itself
|
|
320
|
+
* received. This has to be refined at runtime, when the child's vnode
|
|
321
|
+
* is being created (in `normalizeChildren`)
|
|
322
|
+
*/
|
|
323
|
+
FORWARDED = 3
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Dev only
|
|
328
|
+
*/
|
|
329
|
+
export declare const slotFlagsText: {
|
|
330
|
+
1: string;
|
|
331
|
+
2: string;
|
|
332
|
+
3: string;
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
export declare function stringifyStyle(styles: NormalizedStyle | string | undefined): string;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* For converting {{ interpolation }} values to displayed strings.
|
|
339
|
+
* @private
|
|
340
|
+
*/
|
|
341
|
+
export declare const toDisplayString: (val: unknown) => string;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* @private
|
|
345
|
+
*/
|
|
346
|
+
export declare const toHandlerKey: (str: string) => string;
|
|
347
|
+
|
|
348
|
+
export declare const toNumber: (val: any) => any;
|
|
349
|
+
|
|
350
|
+
export declare const toRawType: (value: unknown) => string;
|
|
351
|
+
|
|
352
|
+
export declare const toTypeString: (value: unknown) => string;
|
|
353
|
+
|
|
354
|
+
export declare type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
355
|
+
|
|
356
|
+
export { }
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vue/shared",
|
|
3
|
+
"version": "3.2.37",
|
|
4
|
+
"description": "internal utils shared across @vue packages",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"module": "dist/shared.esm-bundler.js",
|
|
7
|
+
"types": "dist/shared.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"index.js",
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"buildOptions": {
|
|
14
|
+
"formats": [
|
|
15
|
+
"esm-bundler",
|
|
16
|
+
"cjs"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/vuejs/core.git",
|
|
22
|
+
"directory": "packages/shared"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"vue"
|
|
26
|
+
],
|
|
27
|
+
"author": "Evan You",
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/vuejs/core/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/vuejs/core/tree/main/packages/shared#readme"
|
|
33
|
+
}
|