@histoire/vendors 0.17.17 → 1.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/b-floating-vue.js +2175 -2150
- package/dist/client/b-iconify.js +663 -850
- package/dist/client/b-pinia.js +130 -68
- package/dist/client/b-scroll.js +3 -52
- package/dist/client/b-vue-router.js +385 -237
- package/dist/client/b-vue-use.js +4578 -3115
- package/dist/client/b-vue.js +1 -1
- package/dist/client/index.js +162 -20
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +31 -0
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/dist/client/node_modules/@babel/parser/package.json +10 -6
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +167 -188
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +2786 -0
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +3286 -0
- package/dist/client/node_modules/@babel/types/package.json +39 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +525 -0
- package/dist/client/node_modules/@floating-ui/core/package.json +32 -39
- package/dist/client/node_modules/@floating-ui/dom/package.json +23 -24
- package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +31 -0
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +11 -7
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +121 -20
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +12 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +7 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +3 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +1 -2
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +103 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/package.json +6 -0
- package/dist/client/node_modules/@floating-ui/utils/package.json +70 -0
- package/dist/client/node_modules/@iconify/types/package.json +23 -0
- package/dist/client/node_modules/@iconify/types/provider.d.ts +44 -0
- package/dist/client/node_modules/@iconify/types/types.d.ts +272 -0
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +122 -327
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +36 -269
- package/dist/client/node_modules/@iconify/vue/package.json +64 -60
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +49 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +2 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +15 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +6 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +3 -2
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +33 -14
- package/dist/client/node_modules/@types/web-bluetooth/package.json +12 -12
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +218 -125
- package/dist/client/node_modules/@vue/compiler-core/package.json +20 -5
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +6 -3
- package/dist/client/node_modules/@vue/compiler-dom/package.json +17 -3
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +35 -25
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +27 -18
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +2 -2
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/devtools-api/package.json +1 -1
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +268 -166
- package/dist/client/node_modules/@vue/reactivity/package.json +16 -2
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +728 -529
- package/dist/client/node_modules/@vue/runtime-core/package.json +17 -3
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +195 -86
- package/dist/client/node_modules/@vue/runtime-dom/package.json +22 -4
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +4 -8
- package/dist/client/node_modules/@vue/server-renderer/package.json +18 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +45 -30
- package/dist/client/node_modules/@vue/shared/package.json +15 -1
- package/dist/client/node_modules/@vueuse/core/index.d.ts +2323 -666
- package/dist/client/node_modules/@vueuse/core/package.json +22 -12
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +7 -5
- package/dist/client/node_modules/@vueuse/metadata/package.json +14 -7
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +451 -280
- package/dist/client/node_modules/@vueuse/shared/package.json +17 -6
- package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +75 -0
- package/dist/client/node_modules/compute-scroll-into-view/package.json +35 -45
- package/dist/client/node_modules/entities/lib/decode.d.ts +211 -0
- package/dist/client/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/lib/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/lib/escape.d.ts +43 -0
- package/dist/client/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/dist/client/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/dist/client/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/dist/client/node_modules/entities/lib/esm/package.json +1 -0
- package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/dist/client/node_modules/entities/lib/index.d.ts +96 -0
- package/dist/client/node_modules/entities/package.json +90 -0
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +225 -105
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +471 -364
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +14 -25
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +392 -6
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +49 -10
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +1 -1
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +2071 -247
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +2 -0
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +1 -1
- package/dist/client/node_modules/floating-vue/package.json +42 -33
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +250 -229
- package/dist/client/node_modules/magic-string/package.json +24 -26
- package/dist/client/node_modules/nanoid/package.json +1 -1
- package/dist/client/node_modules/picocolors/package.json +2 -2
- package/dist/client/node_modules/picocolors/types.d.ts +51 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +116 -37
- package/dist/client/node_modules/pinia/package.json +7 -11
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +22 -19
- package/dist/client/node_modules/postcss/lib/comment.d.ts +6 -5
- package/dist/client/node_modules/postcss/lib/container.d.ts +72 -82
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +16 -13
- package/dist/client/node_modules/postcss/lib/document.d.ts +4 -4
- package/dist/client/node_modules/postcss/lib/input.d.ts +28 -16
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +40 -40
- package/dist/client/node_modules/postcss/lib/list.d.ts +5 -2
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +5 -5
- package/dist/client/node_modules/postcss/lib/node.d.ts +19 -14
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +25 -8
- package/dist/client/node_modules/postcss/lib/processor.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/result.d.ts +10 -11
- package/dist/client/node_modules/postcss/lib/root.d.ts +4 -4
- package/dist/client/node_modules/postcss/lib/rule.d.ts +22 -13
- package/dist/client/node_modules/postcss/package.json +4 -4
- package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +79 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +28 -67
- package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/package.json +1 -1
- package/dist/client/node_modules/source-map-js/source-map.d.ts +88 -99
- package/dist/client/node_modules/vue/dist/vue.d.ts +0 -4
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -1
- package/dist/client/node_modules/vue/jsx.d.ts +2 -1
- package/dist/client/node_modules/vue/package.json +13 -14
- package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +1 -1
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +410 -81
- package/dist/client/node_modules/vue-router/package.json +66 -37
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +4 -0
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +4 -0
- package/dist/client/vue.runtime.esm-bundler.js +6458 -4714
- package/package.json +17 -17
- package/rollup.config.mjs +6 -6
- package/dist/client/index2.js +0 -168
- package/dist/client/node_modules/@floating-ui/core/index.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/_babel.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/computeCoordsFromPlacement.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/core/src/computePosition.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/detectOverflow.d.ts +0 -9
- package/dist/client/node_modules/@floating-ui/core/src/enums.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/core/src/index.d.ts +0 -11
- package/dist/client/node_modules/@floating-ui/core/src/middleware/arrow.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts +0 -9
- package/dist/client/node_modules/@floating-ui/core/src/middleware/flip.d.ts +0 -10
- package/dist/client/node_modules/@floating-ui/core/src/middleware/hide.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/middleware/inline.d.ts +0 -5
- package/dist/client/node_modules/@floating-ui/core/src/middleware/offset.d.ts +0 -21
- package/dist/client/node_modules/@floating-ui/core/src/middleware/shift.d.ts +0 -32
- package/dist/client/node_modules/@floating-ui/core/src/middleware/size.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/core/src/types.d.ts +0 -148
- package/dist/client/node_modules/@floating-ui/core/src/utils/expandPaddingObject.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignment.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignmentSides.d.ts +0 -5
- package/dist/client/node_modules/@floating-ui/core/src/utils/getBasePlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getCrossAxis.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getExpandedPlacements.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getLengthFromAxis.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getMainAxisFromPlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositeAlignmentPlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositePlacement.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/utils/getPaddingObject.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/math.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/rectToClientRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/within.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/contains.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingClientRect.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParents.d.ts +0 -1
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +0 -43
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +0 -41
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +0 -47
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.d.ts +0 -22
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +0 -47
- package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +0 -19
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/dist/components/Menu.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/src/global-shim.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/src/vue-shim.d.ts +0 -5
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +0 -22
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/index.d.ts +0 -13
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +0 -19
- package/dist/client/node_modules/vue/macros-global.d.ts +0 -19
- package/dist/client/node_modules/vue/macros.d.ts +0 -112
- package/dist/client/node_modules/vue/ref-macros.d.ts +0 -2
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.13",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -9,6 +9,20 @@
|
|
|
9
9
|
"index.js",
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/compiler-core.d.ts",
|
|
15
|
+
"node": {
|
|
16
|
+
"production": "./dist/compiler-core.cjs.prod.js",
|
|
17
|
+
"development": "./dist/compiler-core.cjs.js",
|
|
18
|
+
"default": "./index.js"
|
|
19
|
+
},
|
|
20
|
+
"module": "./dist/compiler-core.esm-bundler.js",
|
|
21
|
+
"import": "./dist/compiler-core.esm-bundler.js",
|
|
22
|
+
"require": "./index.js"
|
|
23
|
+
},
|
|
24
|
+
"./*": "./*"
|
|
25
|
+
},
|
|
12
26
|
"buildOptions": {
|
|
13
27
|
"name": "VueCompilerCore",
|
|
14
28
|
"compat": true,
|
|
@@ -32,12 +46,13 @@
|
|
|
32
46
|
},
|
|
33
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
|
34
48
|
"dependencies": {
|
|
35
|
-
"@babel/parser": "^7.
|
|
36
|
-
"
|
|
49
|
+
"@babel/parser": "^7.25.3",
|
|
50
|
+
"entities": "^4.5.0",
|
|
37
51
|
"estree-walker": "^2.0.2",
|
|
38
|
-
"source-map-js": "^1.0
|
|
52
|
+
"source-map-js": "^1.2.0",
|
|
53
|
+
"@vue/shared": "3.5.13"
|
|
39
54
|
},
|
|
40
55
|
"devDependencies": {
|
|
41
|
-
"@babel/types": "^7.
|
|
56
|
+
"@babel/types": "^7.25.2"
|
|
42
57
|
}
|
|
43
58
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ParserOptions, NodeTransform, SourceLocation, CompilerError, DirectiveTransform, CompilerOptions, CodegenResult
|
|
1
|
+
import { ParserOptions, NodeTransform, SourceLocation, CompilerError, DirectiveTransform, RootNode, CompilerOptions, CodegenResult } from '@vue/compiler-core';
|
|
2
2
|
export * from '@vue/compiler-core';
|
|
3
3
|
|
|
4
4
|
export declare const parserOptions: ParserOptions;
|
|
@@ -20,7 +20,7 @@ interface DOMCompilerError extends CompilerError {
|
|
|
20
20
|
code: DOMErrorCodes;
|
|
21
21
|
}
|
|
22
22
|
export declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
|
|
23
|
-
export declare
|
|
23
|
+
export declare enum DOMErrorCodes {
|
|
24
24
|
X_V_HTML_NO_EXPRESSION = 53,
|
|
25
25
|
X_V_HTML_WITH_CHILDREN = 54,
|
|
26
26
|
X_V_TEXT_NO_EXPRESSION = 55,
|
|
@@ -34,9 +34,12 @@ export declare const enum DOMErrorCodes {
|
|
|
34
34
|
X_IGNORED_SIDE_EFFECT_TAG = 63,
|
|
35
35
|
__EXTEND_POINT__ = 64
|
|
36
36
|
}
|
|
37
|
+
export declare const DOMErrorMessages: {
|
|
38
|
+
[code: number]: string;
|
|
39
|
+
};
|
|
37
40
|
|
|
38
41
|
export declare const DOMNodeTransforms: NodeTransform[];
|
|
39
42
|
export declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
|
|
40
|
-
export declare function compile(
|
|
43
|
+
export declare function compile(src: string | RootNode, options?: CompilerOptions): CodegenResult;
|
|
41
44
|
export declare function parse(template: string, options?: ParserOptions): RootNode;
|
|
42
45
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.13",
|
|
4
4
|
"description": "@vue/compiler-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-dom.esm-bundler.js",
|
|
@@ -11,6 +11,20 @@
|
|
|
11
11
|
"index.js",
|
|
12
12
|
"dist"
|
|
13
13
|
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/compiler-dom.d.ts",
|
|
17
|
+
"node": {
|
|
18
|
+
"production": "./dist/compiler-dom.cjs.prod.js",
|
|
19
|
+
"development": "./dist/compiler-dom.cjs.js",
|
|
20
|
+
"default": "./index.js"
|
|
21
|
+
},
|
|
22
|
+
"module": "./dist/compiler-dom.esm-bundler.js",
|
|
23
|
+
"import": "./dist/compiler-dom.esm-bundler.js",
|
|
24
|
+
"require": "./index.js"
|
|
25
|
+
},
|
|
26
|
+
"./*": "./*"
|
|
27
|
+
},
|
|
14
28
|
"sideEffects": false,
|
|
15
29
|
"buildOptions": {
|
|
16
30
|
"name": "VueCompilerDOM",
|
|
@@ -37,7 +51,7 @@
|
|
|
37
51
|
},
|
|
38
52
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
39
53
|
"dependencies": {
|
|
40
|
-
"@vue/shared": "3.
|
|
41
|
-
"@vue/compiler-core": "3.
|
|
54
|
+
"@vue/shared": "3.5.13",
|
|
55
|
+
"@vue/compiler-core": "3.5.13"
|
|
42
56
|
}
|
|
43
57
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import * as _babel_types from '@babel/types';
|
|
2
|
-
import { Statement, Expression, TSType, Program, CallExpression,
|
|
3
|
-
import { CompilerOptions, CodegenResult, ParserOptions,
|
|
2
|
+
import { Statement, Expression, TSType, Node, Program, CallExpression, ObjectPattern, TSModuleDeclaration, TSPropertySignature, TSMethodSignature, TSCallSignatureDeclaration, TSFunctionType } from '@babel/types';
|
|
3
|
+
import { RootNode, CompilerOptions, CodegenResult, ParserOptions, CompilerError, RawSourceMap, SourceLocation, BindingMetadata as BindingMetadata$1 } from '@vue/compiler-core';
|
|
4
4
|
export { BindingMetadata, CompilerError, CompilerOptions, extractIdentifiers, generateCodeFrame, isInDestructureAssignment, isStaticProperty, walkIdentifiers } from '@vue/compiler-core';
|
|
5
|
-
import { RawSourceMap } from 'source-map-js';
|
|
6
5
|
import { ParserPlugin } from '@babel/parser';
|
|
7
6
|
export { parse as babelParse } from '@babel/parser';
|
|
8
7
|
import { Result, LazyResult } from 'postcss';
|
|
9
8
|
import MagicString from 'magic-string';
|
|
10
9
|
export { default as MagicString } from 'magic-string';
|
|
11
10
|
import TS from 'typescript';
|
|
12
|
-
export { shouldTransform as shouldTransformRef, transform as transformRef, transformAST as transformRefAST } from '@vue/reactivity-transform';
|
|
13
11
|
|
|
14
12
|
export interface AssetURLTagConfig {
|
|
15
13
|
[name: string]: string[];
|
|
@@ -28,7 +26,7 @@ export interface AssetURLOptions {
|
|
|
28
26
|
}
|
|
29
27
|
|
|
30
28
|
export interface TemplateCompiler {
|
|
31
|
-
compile(
|
|
29
|
+
compile(source: string | RootNode, options: CompilerOptions): CodegenResult;
|
|
32
30
|
parse(template: string, options: ParserOptions): RootNode;
|
|
33
31
|
}
|
|
34
32
|
export interface SFCTemplateCompileResults {
|
|
@@ -42,6 +40,7 @@ export interface SFCTemplateCompileResults {
|
|
|
42
40
|
}
|
|
43
41
|
export interface SFCTemplateCompileOptions {
|
|
44
42
|
source: string;
|
|
43
|
+
ast?: RootNode;
|
|
45
44
|
filename: string;
|
|
46
45
|
id: string;
|
|
47
46
|
scoped?: boolean;
|
|
@@ -118,15 +117,11 @@ export interface SFCScriptCompileOptions {
|
|
|
118
117
|
*/
|
|
119
118
|
hoistStatic?: boolean;
|
|
120
119
|
/**
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
|
|
124
|
-
defineModel?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* (**Experimental**) Enable reactive destructure for `defineProps`
|
|
127
|
-
* @default false
|
|
120
|
+
* Set to `false` to disable reactive destructure for `defineProps` (pre-3.5
|
|
121
|
+
* behavior), or set to `'error'` to throw hard error on props destructures.
|
|
122
|
+
* @default true
|
|
128
123
|
*/
|
|
129
|
-
propsDestructure?: boolean;
|
|
124
|
+
propsDestructure?: boolean | 'error';
|
|
130
125
|
/**
|
|
131
126
|
* File system access methods to be used when resolving types
|
|
132
127
|
* imported in SFC macros. Defaults to ts.sys in Node.js, can be overwritten
|
|
@@ -135,15 +130,12 @@ export interface SFCScriptCompileOptions {
|
|
|
135
130
|
fs?: {
|
|
136
131
|
fileExists(file: string): boolean;
|
|
137
132
|
readFile(file: string): string | undefined;
|
|
133
|
+
realpath?(file: string): string;
|
|
138
134
|
};
|
|
139
135
|
/**
|
|
140
|
-
*
|
|
141
|
-
* using destructured props with reactivity
|
|
142
|
-
* @deprecated the Reactivity Transform proposal has been dropped. This
|
|
143
|
-
* feature will be removed from Vue core in 3.4. If you intend to continue
|
|
144
|
-
* using it, disable this and switch to the [Vue Macros implementation](https://vue-macros.sxzz.moe/features/reactivity-transform.html).
|
|
136
|
+
* Transform Vue SFCs into custom elements.
|
|
145
137
|
*/
|
|
146
|
-
|
|
138
|
+
customElement?: boolean | ((filename: string) => boolean);
|
|
147
139
|
}
|
|
148
140
|
interface ImportBinding {
|
|
149
141
|
isType: boolean;
|
|
@@ -167,6 +159,7 @@ export interface SFCParseOptions {
|
|
|
167
159
|
pad?: boolean | 'line' | 'space';
|
|
168
160
|
ignoreEmpty?: boolean;
|
|
169
161
|
compiler?: TemplateCompiler;
|
|
162
|
+
templateParseOptions?: ParserOptions;
|
|
170
163
|
}
|
|
171
164
|
export interface SFCBlock {
|
|
172
165
|
type: string;
|
|
@@ -179,7 +172,7 @@ export interface SFCBlock {
|
|
|
179
172
|
}
|
|
180
173
|
export interface SFCTemplateBlock extends SFCBlock {
|
|
181
174
|
type: 'template';
|
|
182
|
-
ast
|
|
175
|
+
ast?: RootNode;
|
|
183
176
|
}
|
|
184
177
|
export interface SFCScriptBlock extends SFCBlock {
|
|
185
178
|
type: 'script';
|
|
@@ -229,7 +222,7 @@ export interface SFCParseResult {
|
|
|
229
222
|
descriptor: SFCDescriptor;
|
|
230
223
|
errors: (CompilerError | SyntaxError)[];
|
|
231
224
|
}
|
|
232
|
-
export declare function parse(source: string,
|
|
225
|
+
export declare function parse(source: string, options?: SFCParseOptions): SFCParseResult;
|
|
233
226
|
|
|
234
227
|
type PreprocessLang = 'less' | 'sass' | 'scss' | 'styl' | 'stylus';
|
|
235
228
|
|
|
@@ -291,14 +284,16 @@ type PropsDestructureBindings = Record<string, // public prop key
|
|
|
291
284
|
local: string;
|
|
292
285
|
default?: Expression;
|
|
293
286
|
}>;
|
|
287
|
+
export declare function extractRuntimeProps(ctx: TypeResolveContext): string | undefined;
|
|
294
288
|
|
|
295
289
|
interface ModelDecl {
|
|
296
290
|
type: TSType | undefined;
|
|
297
291
|
options: string | undefined;
|
|
298
292
|
identifier: string | undefined;
|
|
293
|
+
runtimeOptionNodes: Node[];
|
|
299
294
|
}
|
|
300
295
|
|
|
301
|
-
declare
|
|
296
|
+
declare enum BindingTypes {
|
|
302
297
|
/**
|
|
303
298
|
* returned from data()
|
|
304
299
|
*/
|
|
@@ -355,6 +350,7 @@ export declare class ScriptCompileContext {
|
|
|
355
350
|
options: Partial<SFCScriptCompileOptions>;
|
|
356
351
|
isJS: boolean;
|
|
357
352
|
isTS: boolean;
|
|
353
|
+
isCE: boolean;
|
|
358
354
|
scriptAst: Program | null;
|
|
359
355
|
scriptSetupAst: Program | null;
|
|
360
356
|
source: string;
|
|
@@ -399,9 +395,11 @@ export declare class ScriptCompileContext {
|
|
|
399
395
|
fs?: NonNullable<SFCScriptCompileOptions['fs']>;
|
|
400
396
|
constructor(descriptor: SFCDescriptor, options: Partial<SFCScriptCompileOptions>);
|
|
401
397
|
getString(node: Node, scriptSetup?: boolean): string;
|
|
398
|
+
warn(msg: string, node: Node, scope?: TypeScope): void;
|
|
402
399
|
error(msg: string, node: Node, scope?: TypeScope): never;
|
|
403
400
|
}
|
|
404
401
|
|
|
402
|
+
export type SimpleTypeResolveOptions = Partial<Pick<SFCScriptCompileOptions, 'globalTypeFiles' | 'fs' | 'babelParserPlugins' | 'isProd'>>;
|
|
405
403
|
/**
|
|
406
404
|
* TypeResolveContext is compatible with ScriptCompileContext
|
|
407
405
|
* but also allows a simpler version of it with minimal required properties
|
|
@@ -417,8 +415,9 @@ export declare class ScriptCompileContext {
|
|
|
417
415
|
* }
|
|
418
416
|
* ```
|
|
419
417
|
*/
|
|
420
|
-
export type SimpleTypeResolveContext = Pick<ScriptCompileContext, 'source' | 'filename' | 'error' | '
|
|
418
|
+
export type SimpleTypeResolveContext = Pick<ScriptCompileContext, 'source' | 'filename' | 'error' | 'helper' | 'getString' | 'propsTypeDecl' | 'propsRuntimeDefaults' | 'propsDestructuredBindings' | 'emitsTypeDecl' | 'isCE'> & Partial<Pick<ScriptCompileContext, 'scope' | 'globalScopes' | 'deps' | 'fs'>> & {
|
|
421
419
|
ast: Statement[];
|
|
420
|
+
options: SimpleTypeResolveOptions;
|
|
422
421
|
};
|
|
423
422
|
export type TypeResolveContext = ScriptCompileContext | SimpleTypeResolveContext;
|
|
424
423
|
type Import = Pick<ImportBinding, 'source' | 'imported'>;
|
|
@@ -436,6 +435,7 @@ declare class TypeScope {
|
|
|
436
435
|
types: Record<string, ScopeTypeNode>;
|
|
437
436
|
declares: Record<string, ScopeTypeNode>;
|
|
438
437
|
constructor(filename: string, source: string, offset?: number, imports?: Record<string, Import>, types?: Record<string, ScopeTypeNode>, declares?: Record<string, ScopeTypeNode>);
|
|
438
|
+
isGenericScope: boolean;
|
|
439
439
|
resolvedImportSources: Record<string, string>;
|
|
440
440
|
exportedTypes: Record<string, ScopeTypeNode>;
|
|
441
441
|
exportedDeclares: Record<string, ScopeTypeNode>;
|
|
@@ -455,7 +455,7 @@ interface ResolvedElements {
|
|
|
455
455
|
*/
|
|
456
456
|
export declare function resolveTypeElements(ctx: TypeResolveContext, node: Node & MaybeWithScope & {
|
|
457
457
|
_resolvedElements?: ResolvedElements;
|
|
458
|
-
}, scope?: TypeScope): ResolvedElements;
|
|
458
|
+
}, scope?: TypeScope, typeParameters?: Record<string, Node>): ResolvedElements;
|
|
459
459
|
/**
|
|
460
460
|
* @private
|
|
461
461
|
*/
|
|
@@ -464,11 +464,21 @@ export declare function registerTS(_loadTS: () => typeof TS): void;
|
|
|
464
464
|
* @private
|
|
465
465
|
*/
|
|
466
466
|
export declare function invalidateTypeCache(filename: string): void;
|
|
467
|
-
export declare function inferRuntimeType(ctx: TypeResolveContext, node: Node & MaybeWithScope, scope?: TypeScope): string[];
|
|
467
|
+
export declare function inferRuntimeType(ctx: TypeResolveContext, node: Node & MaybeWithScope, scope?: TypeScope, isKeyOf?: boolean): string[];
|
|
468
|
+
|
|
469
|
+
export declare function extractRuntimeEmits(ctx: TypeResolveContext): Set<string>;
|
|
468
470
|
|
|
469
471
|
export declare const version: string;
|
|
470
472
|
|
|
471
473
|
export declare const parseCache: Map<string, SFCParseResult>;
|
|
474
|
+
export declare const errorMessages: Record<number, string>;
|
|
472
475
|
|
|
473
476
|
export declare const walk: any;
|
|
474
477
|
|
|
478
|
+
/**
|
|
479
|
+
* @deprecated this is preserved to avoid breaking vite-plugin-vue < 5.0
|
|
480
|
+
* with reactivityTransform: true. The desired behavior should be silently
|
|
481
|
+
* ignoring the option instead of breaking.
|
|
482
|
+
*/
|
|
483
|
+
export declare const shouldTransformRef: () => boolean;
|
|
484
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-sfc",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.13",
|
|
4
4
|
"description": "@vue/compiler-sfc",
|
|
5
5
|
"main": "dist/compiler-sfc.cjs.js",
|
|
6
6
|
"module": "dist/compiler-sfc.esm-browser.js",
|
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/compiler-sfc.d.ts",
|
|
14
|
+
"node": "./dist/compiler-sfc.cjs.js",
|
|
15
|
+
"module": "./dist/compiler-sfc.esm-browser.js",
|
|
16
|
+
"import": "./dist/compiler-sfc.esm-browser.js",
|
|
17
|
+
"require": "./dist/compiler-sfc.cjs.js"
|
|
18
|
+
},
|
|
19
|
+
"./*": "./*"
|
|
20
|
+
},
|
|
11
21
|
"buildOptions": {
|
|
12
22
|
"name": "VueCompilerSFC",
|
|
13
23
|
"formats": [
|
|
@@ -32,27 +42,26 @@
|
|
|
32
42
|
},
|
|
33
43
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme",
|
|
34
44
|
"dependencies": {
|
|
35
|
-
"@babel/parser": "^7.
|
|
36
|
-
"@vue/compiler-core": "3.3.8",
|
|
37
|
-
"@vue/compiler-dom": "3.3.8",
|
|
38
|
-
"@vue/compiler-ssr": "3.3.8",
|
|
39
|
-
"@vue/reactivity-transform": "3.3.8",
|
|
40
|
-
"@vue/shared": "3.3.8",
|
|
45
|
+
"@babel/parser": "^7.25.3",
|
|
41
46
|
"estree-walker": "^2.0.2",
|
|
42
|
-
"magic-string": "^0.30.
|
|
43
|
-
"postcss": "^8.4.
|
|
44
|
-
"source-map-js": "^1.0
|
|
47
|
+
"magic-string": "^0.30.11",
|
|
48
|
+
"postcss": "^8.4.48",
|
|
49
|
+
"source-map-js": "^1.2.0",
|
|
50
|
+
"@vue/compiler-core": "3.5.13",
|
|
51
|
+
"@vue/shared": "3.5.13",
|
|
52
|
+
"@vue/compiler-dom": "3.5.13",
|
|
53
|
+
"@vue/compiler-ssr": "3.5.13"
|
|
45
54
|
},
|
|
46
55
|
"devDependencies": {
|
|
47
|
-
"@babel/types": "^7.
|
|
48
|
-
"@vue/consolidate": "^0.
|
|
56
|
+
"@babel/types": "^7.25.2",
|
|
57
|
+
"@vue/consolidate": "^1.0.0",
|
|
49
58
|
"hash-sum": "^2.0.0",
|
|
50
|
-
"lru-cache": "
|
|
59
|
+
"lru-cache": "10.1.0",
|
|
51
60
|
"merge-source-map": "^1.1.0",
|
|
52
|
-
"minimatch": "
|
|
53
|
-
"postcss-modules": "^
|
|
54
|
-
"postcss-selector-parser": "^
|
|
55
|
-
"pug": "^3.0.
|
|
56
|
-
"sass": "^1.
|
|
61
|
+
"minimatch": "~9.0.5",
|
|
62
|
+
"postcss-modules": "^6.0.0",
|
|
63
|
+
"postcss-selector-parser": "^7.0.0",
|
|
64
|
+
"pug": "^3.0.3",
|
|
65
|
+
"sass": "^1.80.6"
|
|
57
66
|
}
|
|
58
67
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompilerOptions, CodegenResult } from '@vue/compiler-dom';
|
|
1
|
+
import { RootNode, CompilerOptions, CodegenResult } from '@vue/compiler-dom';
|
|
2
2
|
|
|
3
|
-
export declare function compile(
|
|
3
|
+
export declare function compile(source: string | RootNode, options?: CompilerOptions): CodegenResult;
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-ssr",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.13",
|
|
4
4
|
"description": "@vue/compiler-ssr",
|
|
5
5
|
"main": "dist/compiler-ssr.cjs.js",
|
|
6
6
|
"types": "dist/compiler-ssr.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@vue/shared": "3.
|
|
32
|
-
"@vue/compiler-dom": "3.
|
|
31
|
+
"@vue/shared": "3.5.13",
|
|
32
|
+
"@vue/compiler-dom": "3.5.13"
|
|
33
33
|
}
|
|
34
34
|
}
|