@vue/compiler-dom 3.2.45 → 3.2.46
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/compiler-dom.cjs.js +3 -5
- package/dist/compiler-dom.cjs.prod.js +3 -5
- package/dist/compiler-dom.esm-browser.js +44 -40
- package/dist/compiler-dom.esm-browser.prod.js +1 -1
- package/dist/compiler-dom.esm-bundler.js +1 -1
- package/dist/compiler-dom.global.js +47 -45
- package/dist/compiler-dom.global.prod.js +1 -1
- package/package.json +3 -3
package/dist/compiler-dom.cjs.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var compilerCore = require('@vue/compiler-core');
|
|
6
4
|
var shared = require('@vue/shared');
|
|
7
5
|
|
|
@@ -3119,9 +3117,6 @@ function parse(template, options = {}) {
|
|
|
3119
3117
|
return compilerCore.baseParse(template, shared.extend({}, parserOptions, options));
|
|
3120
3118
|
}
|
|
3121
3119
|
|
|
3122
|
-
Object.keys(compilerCore).forEach(function (k) {
|
|
3123
|
-
if (k !== 'default') exports[k] = compilerCore[k];
|
|
3124
|
-
});
|
|
3125
3120
|
exports.DOMDirectiveTransforms = DOMDirectiveTransforms;
|
|
3126
3121
|
exports.DOMNodeTransforms = DOMNodeTransforms;
|
|
3127
3122
|
exports.TRANSITION = TRANSITION;
|
|
@@ -3139,3 +3134,6 @@ exports.createDOMCompilerError = createDOMCompilerError;
|
|
|
3139
3134
|
exports.parse = parse;
|
|
3140
3135
|
exports.parserOptions = parserOptions;
|
|
3141
3136
|
exports.transformStyle = transformStyle;
|
|
3137
|
+
Object.keys(compilerCore).forEach(function(k) {
|
|
3138
|
+
if (k !== 'default') exports[k] = compilerCore[k];
|
|
3139
|
+
});
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var compilerCore = require('@vue/compiler-core');
|
|
6
4
|
var shared = require('@vue/shared');
|
|
7
5
|
|
|
@@ -3057,9 +3055,6 @@ function parse(template, options = {}) {
|
|
|
3057
3055
|
return compilerCore.baseParse(template, shared.extend({}, parserOptions, options));
|
|
3058
3056
|
}
|
|
3059
3057
|
|
|
3060
|
-
Object.keys(compilerCore).forEach(function (k) {
|
|
3061
|
-
if (k !== 'default') exports[k] = compilerCore[k];
|
|
3062
|
-
});
|
|
3063
3058
|
exports.DOMDirectiveTransforms = DOMDirectiveTransforms;
|
|
3064
3059
|
exports.DOMNodeTransforms = DOMNodeTransforms;
|
|
3065
3060
|
exports.TRANSITION = TRANSITION;
|
|
@@ -3077,3 +3072,6 @@ exports.createDOMCompilerError = createDOMCompilerError;
|
|
|
3077
3072
|
exports.parse = parse;
|
|
3078
3073
|
exports.parserOptions = parserOptions;
|
|
3079
3074
|
exports.transformStyle = transformStyle;
|
|
3075
|
+
Object.keys(compilerCore).forEach(function(k) {
|
|
3076
|
+
if (k !== 'default') exports[k] = compilerCore[k];
|
|
3077
|
+
});
|
|
@@ -107,7 +107,7 @@ function parseStringStyle(cssText) {
|
|
|
107
107
|
// These tag configs are shared between compiler-dom and runtime-dom, so they
|
|
108
108
|
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element
|
|
109
109
|
const HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +
|
|
110
|
-
'header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +
|
|
110
|
+
'header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +
|
|
111
111
|
'figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,' +
|
|
112
112
|
'data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,' +
|
|
113
113
|
'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +
|
|
@@ -119,7 +119,7 @@ const HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,asi
|
|
|
119
119
|
const SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,' +
|
|
120
120
|
'defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,' +
|
|
121
121
|
'feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,' +
|
|
122
|
-
'
|
|
122
|
+
'feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,' +
|
|
123
123
|
'feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,' +
|
|
124
124
|
'fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,' +
|
|
125
125
|
'foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,' +
|
|
@@ -145,7 +145,6 @@ const isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);
|
|
|
145
145
|
|
|
146
146
|
const EMPTY_OBJ = Object.freeze({})
|
|
147
147
|
;
|
|
148
|
-
Object.freeze([]) ;
|
|
149
148
|
const NOOP = () => { };
|
|
150
149
|
/**
|
|
151
150
|
* Always return false.
|
|
@@ -249,7 +248,7 @@ const errorMessages = {
|
|
|
249
248
|
[34 /* ErrorCodes.X_V_BIND_NO_EXPRESSION */]: `v-bind is missing expression.`,
|
|
250
249
|
[35 /* ErrorCodes.X_V_ON_NO_EXPRESSION */]: `v-on is missing expression.`,
|
|
251
250
|
[36 /* ErrorCodes.X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET */]: `Unexpected custom directive on <slot> outlet.`,
|
|
252
|
-
[37 /* ErrorCodes.X_V_SLOT_MIXED_SLOT_USAGE */]: `Mixed v-slot usage on both the component and nested <template
|
|
251
|
+
[37 /* ErrorCodes.X_V_SLOT_MIXED_SLOT_USAGE */]: `Mixed v-slot usage on both the component and nested <template>. ` +
|
|
253
252
|
`When there are multiple named slots, all slots should use <template> ` +
|
|
254
253
|
`syntax to avoid scope ambiguity.`,
|
|
255
254
|
[38 /* ErrorCodes.X_V_SLOT_DUPLICATE_SLOT_NAMES */]: `Duplicate slot names found. `,
|
|
@@ -372,7 +371,7 @@ function createRoot(children, loc = locStub) {
|
|
|
372
371
|
return {
|
|
373
372
|
type: 0 /* NodeTypes.ROOT */,
|
|
374
373
|
children,
|
|
375
|
-
helpers:
|
|
374
|
+
helpers: new Set(),
|
|
376
375
|
components: [],
|
|
377
376
|
directives: [],
|
|
378
377
|
hoists: [],
|
|
@@ -719,7 +718,7 @@ function hasDynamicKeyVBind(node) {
|
|
|
719
718
|
!p.arg.isStatic) // v-bind:[foo]
|
|
720
719
|
);
|
|
721
720
|
}
|
|
722
|
-
function isText(node) {
|
|
721
|
+
function isText$1(node) {
|
|
723
722
|
return node.type === 5 /* NodeTypes.INTERPOLATION */ || node.type === 2 /* NodeTypes.TEXT */;
|
|
724
723
|
}
|
|
725
724
|
function isVSlot(p) {
|
|
@@ -2245,7 +2244,7 @@ function transform(root, options) {
|
|
|
2245
2244
|
createRootCodegen(root, context);
|
|
2246
2245
|
}
|
|
2247
2246
|
// finalize meta information
|
|
2248
|
-
root.helpers = [...context.helpers.keys()];
|
|
2247
|
+
root.helpers = new Set([...context.helpers.keys()]);
|
|
2249
2248
|
root.components = [...context.components];
|
|
2250
2249
|
root.directives = [...context.directives];
|
|
2251
2250
|
root.imports = context.imports;
|
|
@@ -2451,12 +2450,16 @@ function generate(ast, options = {}) {
|
|
|
2451
2450
|
if (options.onContextCreated)
|
|
2452
2451
|
options.onContextCreated(context);
|
|
2453
2452
|
const { mode, push, prefixIdentifiers, indent, deindent, newline, scopeId, ssr } = context;
|
|
2454
|
-
const
|
|
2453
|
+
const helpers = Array.from(ast.helpers);
|
|
2454
|
+
const hasHelpers = helpers.length > 0;
|
|
2455
2455
|
const useWithBlock = !prefixIdentifiers && mode !== 'module';
|
|
2456
|
+
const isSetupInlined = !true ;
|
|
2456
2457
|
// preambles
|
|
2457
2458
|
// in setup() inline mode, the preamble is generated in a sub context
|
|
2458
2459
|
// and returned separately.
|
|
2459
|
-
const preambleContext =
|
|
2460
|
+
const preambleContext = isSetupInlined
|
|
2461
|
+
? createCodegenContext(ast, options)
|
|
2462
|
+
: context;
|
|
2460
2463
|
{
|
|
2461
2464
|
genFunctionPreamble(ast, preambleContext);
|
|
2462
2465
|
}
|
|
@@ -2474,7 +2477,7 @@ function generate(ast, options = {}) {
|
|
|
2474
2477
|
// function mode const declarations should be inside with block
|
|
2475
2478
|
// also they should be renamed to avoid collision with user properties
|
|
2476
2479
|
if (hasHelpers) {
|
|
2477
|
-
push(`const { ${
|
|
2480
|
+
push(`const { ${helpers.map(aliasHelper).join(', ')} } = _Vue`);
|
|
2478
2481
|
push(`\n`);
|
|
2479
2482
|
newline();
|
|
2480
2483
|
}
|
|
@@ -2526,7 +2529,7 @@ function generate(ast, options = {}) {
|
|
|
2526
2529
|
return {
|
|
2527
2530
|
ast,
|
|
2528
2531
|
code: context.code,
|
|
2529
|
-
preamble: ``,
|
|
2532
|
+
preamble: isSetupInlined ? preambleContext.code : ``,
|
|
2530
2533
|
// SourceMapGenerator does have toJSON() method but it's not in the types
|
|
2531
2534
|
map: context.map ? context.map.toJSON() : undefined
|
|
2532
2535
|
};
|
|
@@ -2538,7 +2541,8 @@ function genFunctionPreamble(ast, context) {
|
|
|
2538
2541
|
// In prefix mode, we place the const declaration at top so it's done
|
|
2539
2542
|
// only once; But if we not prefixing, we place the declaration inside the
|
|
2540
2543
|
// with block so it doesn't incur the `in` check cost for every helper access.
|
|
2541
|
-
|
|
2544
|
+
const helpers = Array.from(ast.helpers);
|
|
2545
|
+
if (helpers.length > 0) {
|
|
2542
2546
|
{
|
|
2543
2547
|
// "with" mode.
|
|
2544
2548
|
// save Vue in a separate variable to avoid collision
|
|
@@ -2554,7 +2558,7 @@ function genFunctionPreamble(ast, context) {
|
|
|
2554
2558
|
CREATE_TEXT,
|
|
2555
2559
|
CREATE_STATIC
|
|
2556
2560
|
]
|
|
2557
|
-
.filter(helper =>
|
|
2561
|
+
.filter(helper => helpers.includes(helper))
|
|
2558
2562
|
.map(aliasHelper)
|
|
2559
2563
|
.join(', ');
|
|
2560
2564
|
push(`const { ${staticHelpers} } = _Vue\n`);
|
|
@@ -2601,7 +2605,7 @@ function genHoists(hoists, context) {
|
|
|
2601
2605
|
}
|
|
2602
2606
|
context.pure = false;
|
|
2603
2607
|
}
|
|
2604
|
-
function isText
|
|
2608
|
+
function isText(n) {
|
|
2605
2609
|
return (isString(n) ||
|
|
2606
2610
|
n.type === 4 /* NodeTypes.SIMPLE_EXPRESSION */ ||
|
|
2607
2611
|
n.type === 2 /* NodeTypes.TEXT */ ||
|
|
@@ -2610,7 +2614,7 @@ function isText$1(n) {
|
|
|
2610
2614
|
}
|
|
2611
2615
|
function genNodeListAsArray(nodes, context) {
|
|
2612
2616
|
const multilines = nodes.length > 3 ||
|
|
2613
|
-
(nodes.some(n => isArray(n) || !isText
|
|
2617
|
+
(nodes.some(n => isArray(n) || !isText(n)));
|
|
2614
2618
|
context.push(`[`);
|
|
2615
2619
|
multilines && context.indent();
|
|
2616
2620
|
genNodeList(nodes, context, multilines);
|
|
@@ -3047,11 +3051,11 @@ const isStaticProperty = (node) => node &&
|
|
|
3047
3051
|
const isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;
|
|
3048
3052
|
|
|
3049
3053
|
// these keywords should not appear inside expressions, but operators like
|
|
3050
|
-
// typeof, instanceof and in are allowed
|
|
3054
|
+
// 'typeof', 'instanceof', and 'in' are allowed
|
|
3051
3055
|
const prohibitedKeywordRE = new RegExp('\\b' +
|
|
3052
|
-
('
|
|
3053
|
-
'
|
|
3054
|
-
'
|
|
3056
|
+
('arguments,await,break,case,catch,class,const,continue,debugger,default,' +
|
|
3057
|
+
'delete,do,else,export,extends,finally,for,function,if,import,let,new,' +
|
|
3058
|
+
'return,super,switch,throw,try,var,void,while,with,yield')
|
|
3055
3059
|
.split(',')
|
|
3056
3060
|
.join('\\b|\\b') +
|
|
3057
3061
|
'\\b');
|
|
@@ -4506,7 +4510,7 @@ function processSlotOutlet(node, context) {
|
|
|
4506
4510
|
}
|
|
4507
4511
|
|
|
4508
4512
|
const fnExpRE = /^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
|
|
4509
|
-
const transformOn = (dir, node, context, augmentor) => {
|
|
4513
|
+
const transformOn$1 = (dir, node, context, augmentor) => {
|
|
4510
4514
|
const { loc, modifiers, arg } = dir;
|
|
4511
4515
|
if (!dir.exp && !modifiers.length) {
|
|
4512
4516
|
context.onError(createCompilerError(35 /* ErrorCodes.X_V_ON_NO_EXPRESSION */, loc));
|
|
@@ -4666,11 +4670,11 @@ const transformText = (node, context) => {
|
|
|
4666
4670
|
let hasText = false;
|
|
4667
4671
|
for (let i = 0; i < children.length; i++) {
|
|
4668
4672
|
const child = children[i];
|
|
4669
|
-
if (isText(child)) {
|
|
4673
|
+
if (isText$1(child)) {
|
|
4670
4674
|
hasText = true;
|
|
4671
4675
|
for (let j = i + 1; j < children.length; j++) {
|
|
4672
4676
|
const next = children[j];
|
|
4673
|
-
if (isText(next)) {
|
|
4677
|
+
if (isText$1(next)) {
|
|
4674
4678
|
if (!currentContainer) {
|
|
4675
4679
|
currentContainer = children[i] = createCompoundExpression([child], child.loc);
|
|
4676
4680
|
}
|
|
@@ -4712,7 +4716,7 @@ const transformText = (node, context) => {
|
|
|
4712
4716
|
// runtime normalization.
|
|
4713
4717
|
for (let i = 0; i < children.length; i++) {
|
|
4714
4718
|
const child = children[i];
|
|
4715
|
-
if (isText(child) || child.type === 8 /* NodeTypes.COMPOUND_EXPRESSION */) {
|
|
4719
|
+
if (isText$1(child) || child.type === 8 /* NodeTypes.COMPOUND_EXPRESSION */) {
|
|
4716
4720
|
const callArgs = [];
|
|
4717
4721
|
// createTextVNode defaults to single whitespace, so if it is a
|
|
4718
4722
|
// single space the code could be an empty call to save bytes.
|
|
@@ -4737,13 +4741,13 @@ const transformText = (node, context) => {
|
|
|
4737
4741
|
}
|
|
4738
4742
|
};
|
|
4739
4743
|
|
|
4740
|
-
const seen = new WeakSet();
|
|
4744
|
+
const seen$1 = new WeakSet();
|
|
4741
4745
|
const transformOnce = (node, context) => {
|
|
4742
4746
|
if (node.type === 1 /* NodeTypes.ELEMENT */ && findDir(node, 'once', true)) {
|
|
4743
|
-
if (seen.has(node) || context.inVOnce) {
|
|
4747
|
+
if (seen$1.has(node) || context.inVOnce) {
|
|
4744
4748
|
return;
|
|
4745
4749
|
}
|
|
4746
|
-
seen.add(node);
|
|
4750
|
+
seen$1.add(node);
|
|
4747
4751
|
context.inVOnce = true;
|
|
4748
4752
|
context.helper(SET_BLOCK_TRACKING);
|
|
4749
4753
|
return () => {
|
|
@@ -4756,7 +4760,7 @@ const transformOnce = (node, context) => {
|
|
|
4756
4760
|
}
|
|
4757
4761
|
};
|
|
4758
4762
|
|
|
4759
|
-
const transformModel = (dir, node, context) => {
|
|
4763
|
+
const transformModel$1 = (dir, node, context) => {
|
|
4760
4764
|
const { exp, arg } = dir;
|
|
4761
4765
|
if (!exp) {
|
|
4762
4766
|
context.onError(createCompilerError(41 /* ErrorCodes.X_V_MODEL_NO_EXPRESSION */, dir.loc));
|
|
@@ -4782,7 +4786,7 @@ const transformModel = (dir, node, context) => {
|
|
|
4782
4786
|
const propName = arg ? arg : createSimpleExpression('modelValue', true);
|
|
4783
4787
|
const eventName = arg
|
|
4784
4788
|
? isStaticExp(arg)
|
|
4785
|
-
? `onUpdate:${arg.content}`
|
|
4789
|
+
? `onUpdate:${camelize(arg.content)}`
|
|
4786
4790
|
: createCompoundExpression(['"onUpdate:" + ', arg])
|
|
4787
4791
|
: `onUpdate:modelValue`;
|
|
4788
4792
|
let assignmentExp;
|
|
@@ -4983,14 +4987,14 @@ function wrapFilter(exp, filter, context) {
|
|
|
4983
4987
|
}
|
|
4984
4988
|
}
|
|
4985
4989
|
|
|
4986
|
-
const seen
|
|
4990
|
+
const seen = new WeakSet();
|
|
4987
4991
|
const transformMemo = (node, context) => {
|
|
4988
4992
|
if (node.type === 1 /* NodeTypes.ELEMENT */) {
|
|
4989
4993
|
const dir = findDir(node, 'memo');
|
|
4990
|
-
if (!dir || seen
|
|
4994
|
+
if (!dir || seen.has(node)) {
|
|
4991
4995
|
return;
|
|
4992
4996
|
}
|
|
4993
|
-
seen
|
|
4997
|
+
seen.add(node);
|
|
4994
4998
|
return () => {
|
|
4995
4999
|
const codegenNode = node.codegenNode ||
|
|
4996
5000
|
context.currentNode.codegenNode;
|
|
@@ -5026,9 +5030,9 @@ function getBaseTransformPreset(prefixIdentifiers) {
|
|
|
5026
5030
|
transformText
|
|
5027
5031
|
],
|
|
5028
5032
|
{
|
|
5029
|
-
on: transformOn,
|
|
5033
|
+
on: transformOn$1,
|
|
5030
5034
|
bind: transformBind,
|
|
5031
|
-
model: transformModel
|
|
5035
|
+
model: transformModel$1
|
|
5032
5036
|
}
|
|
5033
5037
|
];
|
|
5034
5038
|
}
|
|
@@ -5258,8 +5262,8 @@ const transformVText = (dir, node, context) => {
|
|
|
5258
5262
|
};
|
|
5259
5263
|
};
|
|
5260
5264
|
|
|
5261
|
-
const transformModel
|
|
5262
|
-
const baseResult = transformModel(dir, node, context);
|
|
5265
|
+
const transformModel = (dir, node, context) => {
|
|
5266
|
+
const baseResult = transformModel$1(dir, node, context);
|
|
5263
5267
|
// base transform has errors OR component v-model (only need props)
|
|
5264
5268
|
if (!baseResult.props.length || node.tagType === 1 /* ElementTypes.COMPONENT */) {
|
|
5265
5269
|
return baseResult;
|
|
@@ -5413,8 +5417,8 @@ const transformClick = (key, event) => {
|
|
|
5413
5417
|
])
|
|
5414
5418
|
: key;
|
|
5415
5419
|
};
|
|
5416
|
-
const transformOn
|
|
5417
|
-
return transformOn(dir, node, context, baseResult => {
|
|
5420
|
+
const transformOn = (dir, node, context) => {
|
|
5421
|
+
return transformOn$1(dir, node, context, baseResult => {
|
|
5418
5422
|
const { modifiers } = dir;
|
|
5419
5423
|
if (!modifiers.length)
|
|
5420
5424
|
return baseResult;
|
|
@@ -5527,8 +5531,8 @@ const DOMDirectiveTransforms = {
|
|
|
5527
5531
|
cloak: noopDirectiveTransform,
|
|
5528
5532
|
html: transformVHtml,
|
|
5529
5533
|
text: transformVText,
|
|
5530
|
-
model: transformModel
|
|
5531
|
-
on: transformOn
|
|
5534
|
+
model: transformModel,
|
|
5535
|
+
on: transformOn,
|
|
5532
5536
|
show: transformShow
|
|
5533
5537
|
};
|
|
5534
5538
|
function compile(template, options = {}) {
|
|
@@ -5549,4 +5553,4 @@ function parse(template, options = {}) {
|
|
|
5549
5553
|
return baseParse(template, extend({}, parserOptions, options));
|
|
5550
5554
|
}
|
|
5551
5555
|
|
|
5552
|
-
export { BASE_TRANSITION, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, DOMDirectiveTransforms, DOMNodeTransforms, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TRANSITION, TRANSITION_GROUP, UNREF, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, compile, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createDOMCompilerError, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, extractIdentifiers, findDir, findProp, generate, generateCodeFrame, getBaseTransformPreset, getConstantType, getInnerRange, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isBuiltInType, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText, isVSlot, locStub, makeBlock, noopDirectiveTransform, parse, parserOptions, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, stringifyExpression, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, transformStyle, traverseNode, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };
|
|
5556
|
+
export { BASE_TRANSITION, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, DOMDirectiveTransforms, DOMNodeTransforms, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TRANSITION, TRANSITION_GROUP, UNREF, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, compile, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createDOMCompilerError, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, extractIdentifiers, findDir, findProp, generate, generateCodeFrame, getBaseTransformPreset, getConstantType, getInnerRange, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isBuiltInType, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText$1 as isText, isVSlot, locStub, makeBlock, noopDirectiveTransform, parse, parserOptions, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, stringifyExpression, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel$1 as transformModel, transformOn$1 as transformOn, transformStyle, traverseNode, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };
|