@vue/compat 3.3.0-beta.2 → 3.3.0-beta.4
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/vue.cjs.js +12 -13
- package/dist/vue.cjs.prod.js +12 -5
- package/dist/vue.esm-browser.js +10 -11
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.esm-bundler.js +10 -11
- package/dist/vue.global.js +10 -11
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +5 -10
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.esm-bundler.js +5 -10
- package/dist/vue.runtime.global.js +5 -10
- package/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +2 -2
package/dist/vue.cjs.js
CHANGED
|
@@ -262,13 +262,13 @@ const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
|
|
|
262
262
|
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
263
263
|
const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
264
264
|
const isBooleanAttr = /* @__PURE__ */ makeMap(
|
|
265
|
-
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
|
|
265
|
+
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
|
|
266
266
|
);
|
|
267
267
|
function includeBooleanAttr(value) {
|
|
268
268
|
return !!value || value === "";
|
|
269
269
|
}
|
|
270
270
|
const isKnownHtmlAttr = /* @__PURE__ */ makeMap(
|
|
271
|
-
`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`
|
|
271
|
+
`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`
|
|
272
272
|
);
|
|
273
273
|
const isKnownSvgAttr = /* @__PURE__ */ makeMap(
|
|
274
274
|
`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`
|
|
@@ -6348,7 +6348,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6348
6348
|
return vm;
|
|
6349
6349
|
}
|
|
6350
6350
|
}
|
|
6351
|
-
Vue.version = `2.6.14-compat:${"3.3.0-beta.
|
|
6351
|
+
Vue.version = `2.6.14-compat:${"3.3.0-beta.4"}`;
|
|
6352
6352
|
Vue.config = singletonApp.config;
|
|
6353
6353
|
Vue.use = (p, ...options) => {
|
|
6354
6354
|
if (p && isFunction(p.install)) {
|
|
@@ -9931,6 +9931,9 @@ const normalizeRef = ({
|
|
|
9931
9931
|
ref_key,
|
|
9932
9932
|
ref_for
|
|
9933
9933
|
}) => {
|
|
9934
|
+
if (typeof ref === "number") {
|
|
9935
|
+
ref = "" + ref;
|
|
9936
|
+
}
|
|
9934
9937
|
return ref != null ? isString(ref) || isRef(ref) || isFunction(ref) ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for } : ref : null;
|
|
9935
9938
|
};
|
|
9936
9939
|
function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
|
|
@@ -10558,14 +10561,6 @@ function getSlotsProxy(instance) {
|
|
|
10558
10561
|
get(target, key) {
|
|
10559
10562
|
track(instance, "get", "$slots");
|
|
10560
10563
|
return target[key];
|
|
10561
|
-
},
|
|
10562
|
-
set() {
|
|
10563
|
-
warn(`setupContext.slots is readonly.`);
|
|
10564
|
-
return false;
|
|
10565
|
-
},
|
|
10566
|
-
deleteProperty() {
|
|
10567
|
-
warn(`setupContext.slots is readonly.`);
|
|
10568
|
-
return false;
|
|
10569
10564
|
}
|
|
10570
10565
|
}));
|
|
10571
10566
|
}
|
|
@@ -10894,7 +10889,7 @@ function isMemoSame(cached, memo) {
|
|
|
10894
10889
|
return true;
|
|
10895
10890
|
}
|
|
10896
10891
|
|
|
10897
|
-
const version = "3.3.0-beta.
|
|
10892
|
+
const version = "3.3.0-beta.4";
|
|
10898
10893
|
const _ssrUtils = {
|
|
10899
10894
|
createComponentInstance,
|
|
10900
10895
|
setupComponent,
|
|
@@ -13768,6 +13763,7 @@ function parseAttributes(context, type) {
|
|
|
13768
13763
|
return props;
|
|
13769
13764
|
}
|
|
13770
13765
|
function parseAttribute(context, nameSet) {
|
|
13766
|
+
var _a;
|
|
13771
13767
|
const start = getCursor(context);
|
|
13772
13768
|
const match = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(context.source);
|
|
13773
13769
|
const name = match[0];
|
|
@@ -13810,7 +13806,10 @@ function parseAttribute(context, nameSet) {
|
|
|
13810
13806
|
let arg;
|
|
13811
13807
|
if (match2[2]) {
|
|
13812
13808
|
const isSlot = dirName === "slot";
|
|
13813
|
-
const startOffset = name.lastIndexOf(
|
|
13809
|
+
const startOffset = name.lastIndexOf(
|
|
13810
|
+
match2[2],
|
|
13811
|
+
name.length - (((_a = match2[3]) == null ? void 0 : _a.length) || 0)
|
|
13812
|
+
);
|
|
13814
13813
|
const loc2 = getSelection(
|
|
13815
13814
|
context,
|
|
13816
13815
|
getNewPosition(context, start, startOffset),
|
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -199,13 +199,13 @@ const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
|
|
|
199
199
|
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
200
200
|
const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
201
201
|
const isBooleanAttr = /* @__PURE__ */ makeMap(
|
|
202
|
-
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
|
|
202
|
+
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
|
|
203
203
|
);
|
|
204
204
|
function includeBooleanAttr(value) {
|
|
205
205
|
return !!value || value === "";
|
|
206
206
|
}
|
|
207
207
|
const isKnownHtmlAttr = /* @__PURE__ */ makeMap(
|
|
208
|
-
`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`
|
|
208
|
+
`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`
|
|
209
209
|
);
|
|
210
210
|
const isKnownSvgAttr = /* @__PURE__ */ makeMap(
|
|
211
211
|
`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`
|
|
@@ -5066,7 +5066,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
5066
5066
|
return vm;
|
|
5067
5067
|
}
|
|
5068
5068
|
}
|
|
5069
|
-
Vue.version = `2.6.14-compat:${"3.3.0-beta.
|
|
5069
|
+
Vue.version = `2.6.14-compat:${"3.3.0-beta.4"}`;
|
|
5070
5070
|
Vue.config = singletonApp.config;
|
|
5071
5071
|
Vue.use = (p, ...options) => {
|
|
5072
5072
|
if (p && isFunction(p.install)) {
|
|
@@ -8129,6 +8129,9 @@ const normalizeRef = ({
|
|
|
8129
8129
|
ref_key,
|
|
8130
8130
|
ref_for
|
|
8131
8131
|
}) => {
|
|
8132
|
+
if (typeof ref === "number") {
|
|
8133
|
+
ref = "" + ref;
|
|
8134
|
+
}
|
|
8132
8135
|
return ref != null ? isString(ref) || isRef(ref) || isFunction(ref) ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for } : ref : null;
|
|
8133
8136
|
};
|
|
8134
8137
|
function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
|
|
@@ -8747,7 +8750,7 @@ function isMemoSame(cached, memo) {
|
|
|
8747
8750
|
return true;
|
|
8748
8751
|
}
|
|
8749
8752
|
|
|
8750
|
-
const version = "3.3.0-beta.
|
|
8753
|
+
const version = "3.3.0-beta.4";
|
|
8751
8754
|
const _ssrUtils = {
|
|
8752
8755
|
createComponentInstance,
|
|
8753
8756
|
setupComponent,
|
|
@@ -11412,6 +11415,7 @@ function parseAttributes(context, type) {
|
|
|
11412
11415
|
return props;
|
|
11413
11416
|
}
|
|
11414
11417
|
function parseAttribute(context, nameSet) {
|
|
11418
|
+
var _a;
|
|
11415
11419
|
const start = getCursor(context);
|
|
11416
11420
|
const match = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(context.source);
|
|
11417
11421
|
const name = match[0];
|
|
@@ -11454,7 +11458,10 @@ function parseAttribute(context, nameSet) {
|
|
|
11454
11458
|
let arg;
|
|
11455
11459
|
if (match2[2]) {
|
|
11456
11460
|
const isSlot = dirName === "slot";
|
|
11457
|
-
const startOffset = name.lastIndexOf(
|
|
11461
|
+
const startOffset = name.lastIndexOf(
|
|
11462
|
+
match2[2],
|
|
11463
|
+
name.length - (((_a = match2[3]) == null ? void 0 : _a.length) || 0)
|
|
11464
|
+
);
|
|
11458
11465
|
const loc2 = getSelection(
|
|
11459
11466
|
context,
|
|
11460
11467
|
getNewPosition(context, start, startOffset),
|
package/dist/vue.esm-browser.js
CHANGED
|
@@ -6248,7 +6248,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6248
6248
|
return vm;
|
|
6249
6249
|
}
|
|
6250
6250
|
}
|
|
6251
|
-
Vue.version = `2.6.14-compat:${"3.3.0-beta.
|
|
6251
|
+
Vue.version = `2.6.14-compat:${"3.3.0-beta.4"}`;
|
|
6252
6252
|
Vue.config = singletonApp.config;
|
|
6253
6253
|
Vue.use = (p, ...options) => {
|
|
6254
6254
|
if (p && isFunction(p.install)) {
|
|
@@ -9831,6 +9831,9 @@ const normalizeRef = ({
|
|
|
9831
9831
|
ref_key,
|
|
9832
9832
|
ref_for
|
|
9833
9833
|
}) => {
|
|
9834
|
+
if (typeof ref === "number") {
|
|
9835
|
+
ref = "" + ref;
|
|
9836
|
+
}
|
|
9834
9837
|
return ref != null ? isString(ref) || isRef(ref) || isFunction(ref) ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for } : ref : null;
|
|
9835
9838
|
};
|
|
9836
9839
|
function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
|
|
@@ -10446,14 +10449,6 @@ function getSlotsProxy(instance) {
|
|
|
10446
10449
|
get(target, key) {
|
|
10447
10450
|
track(instance, "get", "$slots");
|
|
10448
10451
|
return target[key];
|
|
10449
|
-
},
|
|
10450
|
-
set() {
|
|
10451
|
-
warn(`setupContext.slots is readonly.`);
|
|
10452
|
-
return false;
|
|
10453
|
-
},
|
|
10454
|
-
deleteProperty() {
|
|
10455
|
-
warn(`setupContext.slots is readonly.`);
|
|
10456
|
-
return false;
|
|
10457
10452
|
}
|
|
10458
10453
|
}));
|
|
10459
10454
|
}
|
|
@@ -10782,7 +10777,7 @@ function isMemoSame(cached, memo) {
|
|
|
10782
10777
|
return true;
|
|
10783
10778
|
}
|
|
10784
10779
|
|
|
10785
|
-
const version = "3.3.0-beta.
|
|
10780
|
+
const version = "3.3.0-beta.4";
|
|
10786
10781
|
const ssrUtils = null;
|
|
10787
10782
|
const resolveFilter = resolveFilter$1 ;
|
|
10788
10783
|
const _compatUtils = {
|
|
@@ -13683,6 +13678,7 @@ function parseAttributes(context, type) {
|
|
|
13683
13678
|
return props;
|
|
13684
13679
|
}
|
|
13685
13680
|
function parseAttribute(context, nameSet) {
|
|
13681
|
+
var _a;
|
|
13686
13682
|
const start = getCursor(context);
|
|
13687
13683
|
const match = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(context.source);
|
|
13688
13684
|
const name = match[0];
|
|
@@ -13725,7 +13721,10 @@ function parseAttribute(context, nameSet) {
|
|
|
13725
13721
|
let arg;
|
|
13726
13722
|
if (match2[2]) {
|
|
13727
13723
|
const isSlot = dirName === "slot";
|
|
13728
|
-
const startOffset = name.lastIndexOf(
|
|
13724
|
+
const startOffset = name.lastIndexOf(
|
|
13725
|
+
match2[2],
|
|
13726
|
+
name.length - (((_a = match2[3]) == null ? void 0 : _a.length) || 0)
|
|
13727
|
+
);
|
|
13729
13728
|
const loc2 = getSelection(
|
|
13730
13729
|
context,
|
|
13731
13730
|
getNewPosition(context, start, startOffset),
|