@angular/compiler 21.0.0-rc.1 → 21.0.0-rc.3
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/README.md +1 -2
- package/fesm2022/compiler.mjs +39 -37
- package/fesm2022/compiler.mjs.map +1 -1
- package/package.json +1 -1
- package/types/compiler.d.ts +3 -12
package/README.md
CHANGED
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-rc.
|
|
2
|
+
* @license Angular v21.0.0-rc.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -324,7 +324,7 @@ var ViewEncapsulation$1;
|
|
|
324
324
|
ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated";
|
|
325
325
|
ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
|
|
326
326
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
327
|
-
ViewEncapsulation[ViewEncapsulation["
|
|
327
|
+
ViewEncapsulation[ViewEncapsulation["ExperimentalIsolatedShadowDom"] = 4] = "ExperimentalIsolatedShadowDom";
|
|
328
328
|
})(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
|
|
329
329
|
var ChangeDetectionStrategy;
|
|
330
330
|
(function (ChangeDetectionStrategy) {
|
|
@@ -416,7 +416,7 @@ var ViewEncapsulation;
|
|
|
416
416
|
ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated";
|
|
417
417
|
ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
|
|
418
418
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
419
|
-
ViewEncapsulation[ViewEncapsulation["
|
|
419
|
+
ViewEncapsulation[ViewEncapsulation["ExperimentalIsolatedShadowDom"] = 4] = "ExperimentalIsolatedShadowDom";
|
|
420
420
|
})(ViewEncapsulation || (ViewEncapsulation = {}));
|
|
421
421
|
|
|
422
422
|
let textEncoder;
|
|
@@ -2991,10 +2991,6 @@ class Identifiers {
|
|
|
2991
2991
|
name: 'ɵɵInheritDefinitionFeature',
|
|
2992
2992
|
moduleName: CORE
|
|
2993
2993
|
};
|
|
2994
|
-
static CopyDefinitionFeature = {
|
|
2995
|
-
name: 'ɵɵCopyDefinitionFeature',
|
|
2996
|
-
moduleName: CORE
|
|
2997
|
-
};
|
|
2998
2994
|
static ProvidersFeature = {
|
|
2999
2995
|
name: 'ɵɵProvidersFeature',
|
|
3000
2996
|
moduleName: CORE
|
|
@@ -3083,10 +3079,6 @@ class Identifiers {
|
|
|
3083
3079
|
name: 'ɵUnwrapDirectiveSignalInputs',
|
|
3084
3080
|
moduleName: CORE
|
|
3085
3081
|
};
|
|
3086
|
-
static ExtractFormControlValue = {
|
|
3087
|
-
name: 'ɵExtractFormControlValue',
|
|
3088
|
-
moduleName: CORE
|
|
3089
|
-
};
|
|
3090
3082
|
static unwrapWritableSignal = {
|
|
3091
3083
|
name: 'ɵunwrapWritableSignal',
|
|
3092
3084
|
moduleName: CORE
|
|
@@ -6859,10 +6851,10 @@ class ShadowCss {
|
|
|
6859
6851
|
return cssText.replace(_cssColonHostRe, (_, hostSelectors, otherSelectors) => {
|
|
6860
6852
|
if (hostSelectors) {
|
|
6861
6853
|
const convertedSelectors = [];
|
|
6862
|
-
const
|
|
6863
|
-
|
|
6864
|
-
if (!
|
|
6865
|
-
const convertedSelector = _polyfillHostNoCombinator +
|
|
6854
|
+
for (const hostSelector of this._splitOnTopLevelCommas(hostSelectors, true)) {
|
|
6855
|
+
const trimmedHostSelector = hostSelector.trim();
|
|
6856
|
+
if (!trimmedHostSelector) break;
|
|
6857
|
+
const convertedSelector = _polyfillHostNoCombinator + trimmedHostSelector.replace(_polyfillHost, '') + otherSelectors;
|
|
6866
6858
|
convertedSelectors.push(convertedSelector);
|
|
6867
6859
|
}
|
|
6868
6860
|
return convertedSelectors.join(',');
|
|
@@ -6871,7 +6863,7 @@ class ShadowCss {
|
|
|
6871
6863
|
}
|
|
6872
6864
|
});
|
|
6873
6865
|
}
|
|
6874
|
-
*_splitOnTopLevelCommas(text) {
|
|
6866
|
+
*_splitOnTopLevelCommas(text, returnOnClosingParen) {
|
|
6875
6867
|
const length = text.length;
|
|
6876
6868
|
let parens = 0;
|
|
6877
6869
|
let prev = 0;
|
|
@@ -6881,7 +6873,7 @@ class ShadowCss {
|
|
|
6881
6873
|
parens++;
|
|
6882
6874
|
} else if (charCode === $RPAREN) {
|
|
6883
6875
|
parens--;
|
|
6884
|
-
if (parens < 0) {
|
|
6876
|
+
if (parens < 0 && returnOnClosingParen) {
|
|
6885
6877
|
yield text.slice(prev, i);
|
|
6886
6878
|
return;
|
|
6887
6879
|
}
|
|
@@ -6894,7 +6886,7 @@ class ShadowCss {
|
|
|
6894
6886
|
}
|
|
6895
6887
|
_convertColonHostContext(cssText) {
|
|
6896
6888
|
const results = [];
|
|
6897
|
-
for (const part of this._splitOnTopLevelCommas(cssText)) {
|
|
6889
|
+
for (const part of this._splitOnTopLevelCommas(cssText, false)) {
|
|
6898
6890
|
results.push(this._convertColonHostContextInSelectorPart(part));
|
|
6899
6891
|
}
|
|
6900
6892
|
return results.join(',');
|
|
@@ -6912,7 +6904,7 @@ class ShadowCss {
|
|
|
6912
6904
|
}
|
|
6913
6905
|
const newContextSelectors = [];
|
|
6914
6906
|
let endIndex = 0;
|
|
6915
|
-
for (const selector of this._splitOnTopLevelCommas(afterPrefix.substring(1))) {
|
|
6907
|
+
for (const selector of this._splitOnTopLevelCommas(afterPrefix.substring(1), true)) {
|
|
6916
6908
|
endIndex = endIndex + selector.length + 1;
|
|
6917
6909
|
const trimmed = selector.trim();
|
|
6918
6910
|
if (trimmed) {
|
|
@@ -7130,9 +7122,9 @@ class SafeSelector {
|
|
|
7130
7122
|
this.index++;
|
|
7131
7123
|
return replaceBy;
|
|
7132
7124
|
});
|
|
7133
|
-
this._content = selector.replace(
|
|
7125
|
+
this._content = selector.replace(nthRegex, (_, pseudo, exp) => {
|
|
7134
7126
|
const replaceBy = `__ph-${this.index}__`;
|
|
7135
|
-
this.placeholders.push(exp);
|
|
7127
|
+
this.placeholders.push(`(${exp})`);
|
|
7136
7128
|
this.index++;
|
|
7137
7129
|
return pseudo + replaceBy;
|
|
7138
7130
|
});
|
|
@@ -7159,7 +7151,11 @@ const _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]
|
|
|
7159
7151
|
const _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
7160
7152
|
const _polyfillHost = '-shadowcsshost';
|
|
7161
7153
|
const _polyfillHostContext = '-shadowcsscontext';
|
|
7162
|
-
const
|
|
7154
|
+
const _noParens = '[^)(]*';
|
|
7155
|
+
const _level1Parens = String.raw`(?:\(${_noParens}\)|${_noParens})+?`;
|
|
7156
|
+
const _level2Parens = String.raw`(?:\(${_level1Parens}\)|${_noParens})+?`;
|
|
7157
|
+
const _parenSuffix = String.raw`(?:\((${_level2Parens})\))`;
|
|
7158
|
+
const nthRegex = new RegExp(String.raw`(:nth-[-\w]+)` + _parenSuffix, 'g');
|
|
7163
7159
|
const _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix + '?([^,{]*)', 'gim');
|
|
7164
7160
|
const _hostContextPattern = _polyfillHostContext + _parenSuffix + '?([^{]*)';
|
|
7165
7161
|
const _cssColonHostContextReGlobal = new RegExp(`${_cssScopedPseudoFunctionPrefix}(${_hostContextPattern})`, 'gim');
|
|
@@ -17065,7 +17061,7 @@ const BOOLEAN = 'boolean';
|
|
|
17065
17061
|
const NUMBER = 'number';
|
|
17066
17062
|
const STRING = 'string';
|
|
17067
17063
|
const OBJECT = 'object';
|
|
17068
|
-
const SCHEMA = ['[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot' + ',*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored', '[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy', 'abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy', 'media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume', ':svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex', ':svg:graphics^:svg:|', ':svg:animation^:svg:|*begin,*end,*repeat', ':svg:geometry^:svg:|', ':svg:componentTransferFunction^:svg:|', ':svg:gradient^:svg:|', ':svg:textContent^:svg:graphics|', ':svg:textPositioning^:svg:textContent|', 'a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username', 'area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username', 'audio^media|', 'br^[HTMLElement]|clear', 'base^[HTMLElement]|href,target', 'body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink', 'button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value', 'canvas^[HTMLElement]|#height,#width', 'content^[HTMLElement]|select', 'dl^[HTMLElement]|!compact', 'data^[HTMLElement]|value', 'datalist^[HTMLElement]|', 'details^[HTMLElement]|!open', 'dialog^[HTMLElement]|!open,returnValue', 'dir^[HTMLElement]|!compact', 'div^[HTMLElement]|align', 'embed^[HTMLElement]|align,height,name,src,type,width', 'fieldset^[HTMLElement]|!disabled,name', 'font^[HTMLElement]|color,face,size', 'form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target', 'frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src', 'frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows', 'hr^[HTMLElement]|align,color,!noShade,size,width', 'head^[HTMLElement]|', 'h1,h2,h3,h4,h5,h6^[HTMLElement]|align', 'html^[HTMLElement]|version', 'iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width', 'img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width', 'input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width', 'li^[HTMLElement]|type,#value', 'label^[HTMLElement]|htmlFor', 'legend^[HTMLElement]|align', 'link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type', 'map^[HTMLElement]|name', 'marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width', 'menu^[HTMLElement]|!compact', 'meta^[HTMLElement]|content,httpEquiv,media,name,scheme', 'meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value', 'ins,del^[HTMLElement]|cite,dateTime', 'ol^[HTMLElement]|!compact,!reversed,#start,type', 'object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width', 'optgroup^[HTMLElement]|!disabled,label', 'option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value', 'output^[HTMLElement]|defaultValue,%htmlFor,name,value', 'p^[HTMLElement]|align', 'param^[HTMLElement]|name,type,value,valueType', 'picture^[HTMLElement]|', 'pre^[HTMLElement]|#width', 'progress^[HTMLElement]|#max,#value', 'q,blockquote,cite^[HTMLElement]|', 'script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type', 'select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value', 'selectedcontent^[HTMLElement]|', 'slot^[HTMLElement]|name', 'source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width', 'span^[HTMLElement]|', 'style^[HTMLElement]|!disabled,media,type', 'search^[HTMLELement]|', 'caption^[HTMLElement]|align', 'th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width', 'col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width', 'table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width', 'tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign', 'tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign', 'template^[HTMLElement]|', 'textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap', 'time^[HTMLElement]|dateTime', 'title^[HTMLElement]|text', 'track^[HTMLElement]|!default,kind,label,src,srclang', 'ul^[HTMLElement]|!compact,type', 'unknown^[HTMLElement]|', 'video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width', ':svg:a^:svg:graphics|', ':svg:animate^:svg:animation|', ':svg:animateMotion^:svg:animation|', ':svg:animateTransform^:svg:animation|', ':svg:circle^:svg:geometry|', ':svg:clipPath^:svg:graphics|', ':svg:defs^:svg:graphics|', ':svg:desc^:svg:|', ':svg:discard^:svg:|', ':svg:ellipse^:svg:geometry|', ':svg:feBlend^:svg:|', ':svg:feColorMatrix^:svg:|', ':svg:feComponentTransfer^:svg:|', ':svg:feComposite^:svg:|', ':svg:feConvolveMatrix^:svg:|', ':svg:feDiffuseLighting^:svg:|', ':svg:feDisplacementMap^:svg:|', ':svg:feDistantLight^:svg:|', ':svg:feDropShadow^:svg:|', ':svg:feFlood^:svg:|', ':svg:feFuncA^:svg:componentTransferFunction|', ':svg:feFuncB^:svg:componentTransferFunction|', ':svg:feFuncG^:svg:componentTransferFunction|', ':svg:feFuncR^:svg:componentTransferFunction|', ':svg:feGaussianBlur^:svg:|', ':svg:feImage^:svg:|', ':svg:feMerge^:svg:|', ':svg:feMergeNode^:svg:|', ':svg:feMorphology^:svg:|', ':svg:feOffset^:svg:|', ':svg:fePointLight^:svg:|', ':svg:feSpecularLighting^:svg:|', ':svg:feSpotLight^:svg:|', ':svg:feTile^:svg:|', ':svg:feTurbulence^:svg:|', ':svg:filter^:svg:|', ':svg:foreignObject^:svg:graphics|', ':svg:g^:svg:graphics|', ':svg:image^:svg:graphics|decoding', ':svg:line^:svg:geometry|', ':svg:linearGradient^:svg:gradient|', ':svg:mpath^:svg:|', ':svg:marker^:svg:|', ':svg:mask^:svg:|', ':svg:metadata^:svg:|', ':svg:path^:svg:geometry|', ':svg:pattern^:svg:|', ':svg:polygon^:svg:geometry|', ':svg:polyline^:svg:geometry|', ':svg:radialGradient^:svg:gradient|', ':svg:rect^:svg:geometry|', ':svg:svg^:svg:graphics|#currentScale,#zoomAndPan', ':svg:script^:svg:|type', ':svg:set^:svg:animation|', ':svg:stop^:svg:|', ':svg:style^:svg:|!disabled,media,title,type', ':svg:switch^:svg:graphics|', ':svg:symbol^:svg:|', ':svg:tspan^:svg:textPositioning|', ':svg:text^:svg:textPositioning|', ':svg:textPath^:svg:textContent|', ':svg:title^:svg:|', ':svg:use^:svg:graphics|', ':svg:view^:svg:|#zoomAndPan', 'data^[HTMLElement]|value', 'keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name', 'menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default', 'summary^[HTMLElement]|', 'time^[HTMLElement]|dateTime', ':svg:cursor^:svg:|', ':math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex', ':math:math^:math:|', ':math:maction^:math:|', ':math:menclose^:math:|', ':math:merror^:math:|', ':math:mfenced^:math:|', ':math:mfrac^:math:|', ':math:mi^:math:|', ':math:mmultiscripts^:math:|', ':math:mn^:math:|', ':math:mo^:math:|', ':math:mover^:math:|', ':math:mpadded^:math:|', ':math:mphantom^:math:|', ':math:mroot^:math:|', ':math:mrow^:math:|', ':math:ms^:math:|', ':math:mspace^:math:|', ':math:msqrt^:math:|', ':math:mstyle^:math:|', ':math:msub^:math:|', ':math:msubsup^:math:|', ':math:msup^:math:|', ':math:mtable^:math:|', ':math:mtd^:math:|', ':math:mtext^:math:|', ':math:mtr^:math:|', ':math:munder^:math:|', ':math:munderover^:math:|', ':math:semantics^:math:|'];
|
|
17064
|
+
const SCHEMA = ['[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot' + ',*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored', '[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy', 'abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy', 'media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume', ':svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex', ':svg:graphics^:svg:|', ':svg:animation^:svg:|*begin,*end,*repeat', ':svg:geometry^:svg:|', ':svg:componentTransferFunction^:svg:|', ':svg:gradient^:svg:|', ':svg:textContent^:svg:graphics|', ':svg:textPositioning^:svg:textContent|', 'a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username', 'area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username', 'audio^media|', 'br^[HTMLElement]|clear', 'base^[HTMLElement]|href,target', 'body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink', 'button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value', 'canvas^[HTMLElement]|#height,#width', 'content^[HTMLElement]|select', 'dl^[HTMLElement]|!compact', 'data^[HTMLElement]|value', 'datalist^[HTMLElement]|', 'details^[HTMLElement]|!open', 'dialog^[HTMLElement]|!open,returnValue', 'dir^[HTMLElement]|!compact', 'div^[HTMLElement]|align', 'embed^[HTMLElement]|align,height,name,src,type,width', 'fieldset^[HTMLElement]|!disabled,name', 'font^[HTMLElement]|color,face,size', 'form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target', 'frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src', 'frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows', 'hr^[HTMLElement]|align,color,!noShade,size,width', 'head^[HTMLElement]|', 'h1,h2,h3,h4,h5,h6^[HTMLElement]|align', 'html^[HTMLElement]|version', 'iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width', 'img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width', 'input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width', 'li^[HTMLElement]|type,#value', 'label^[HTMLElement]|htmlFor', 'legend^[HTMLElement]|align', 'link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type', 'map^[HTMLElement]|name', 'marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width', 'menu^[HTMLElement]|!compact', 'meta^[HTMLElement]|content,httpEquiv,media,name,scheme', 'meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value', 'ins,del^[HTMLElement]|cite,dateTime', 'ol^[HTMLElement]|!compact,!reversed,#start,type', 'object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width', 'optgroup^[HTMLElement]|!disabled,label', 'option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value', 'output^[HTMLElement]|defaultValue,%htmlFor,name,value', 'p^[HTMLElement]|align', 'param^[HTMLElement]|name,type,value,valueType', 'picture^[HTMLElement]|', 'pre^[HTMLElement]|#width', 'progress^[HTMLElement]|#max,#value', 'q,blockquote,cite^[HTMLElement]|', 'script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type', 'select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value', 'selectedcontent^[HTMLElement]|', 'slot^[HTMLElement]|name', 'source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width', 'span^[HTMLElement]|', 'style^[HTMLElement]|!disabled,media,type', 'search^[HTMLELement]|', 'caption^[HTMLElement]|align', 'th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width', 'col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width', 'table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width', 'tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign', 'tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign', 'template^[HTMLElement]|', 'textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap', 'time^[HTMLElement]|dateTime', 'title^[HTMLElement]|text', 'track^[HTMLElement]|!default,kind,label,src,srclang', 'ul^[HTMLElement]|!compact,type', 'unknown^[HTMLElement]|', 'video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width', ':svg:a^:svg:graphics|', ':svg:animate^:svg:animation|', ':svg:animateMotion^:svg:animation|', ':svg:animateTransform^:svg:animation|', ':svg:circle^:svg:geometry|', ':svg:clipPath^:svg:graphics|', ':svg:defs^:svg:graphics|', ':svg:desc^:svg:|', ':svg:discard^:svg:|', ':svg:ellipse^:svg:geometry|', ':svg:feBlend^:svg:|', ':svg:feColorMatrix^:svg:|', ':svg:feComponentTransfer^:svg:|', ':svg:feComposite^:svg:|', ':svg:feConvolveMatrix^:svg:|', ':svg:feDiffuseLighting^:svg:|', ':svg:feDisplacementMap^:svg:|', ':svg:feDistantLight^:svg:|', ':svg:feDropShadow^:svg:|', ':svg:feFlood^:svg:|', ':svg:feFuncA^:svg:componentTransferFunction|', ':svg:feFuncB^:svg:componentTransferFunction|', ':svg:feFuncG^:svg:componentTransferFunction|', ':svg:feFuncR^:svg:componentTransferFunction|', ':svg:feGaussianBlur^:svg:|', ':svg:feImage^:svg:|', ':svg:feMerge^:svg:|', ':svg:feMergeNode^:svg:|', ':svg:feMorphology^:svg:|', ':svg:feOffset^:svg:|', ':svg:fePointLight^:svg:|', ':svg:feSpecularLighting^:svg:|', ':svg:feSpotLight^:svg:|', ':svg:feTile^:svg:|', ':svg:feTurbulence^:svg:|', ':svg:filter^:svg:|', ':svg:foreignObject^:svg:graphics|', ':svg:g^:svg:graphics|', ':svg:image^:svg:graphics|decoding', ':svg:line^:svg:geometry|', ':svg:linearGradient^:svg:gradient|', ':svg:mpath^:svg:|', ':svg:marker^:svg:|', ':svg:mask^:svg:|', ':svg:metadata^:svg:|', ':svg:path^:svg:geometry|', ':svg:pattern^:svg:|', ':svg:polygon^:svg:geometry|', ':svg:polyline^:svg:geometry|', ':svg:radialGradient^:svg:gradient|', ':svg:rect^:svg:geometry|', ':svg:svg^:svg:graphics|#currentScale,#zoomAndPan', ':svg:script^:svg:|type', ':svg:set^:svg:animation|', ':svg:stop^:svg:|', ':svg:style^:svg:|!disabled,media,title,type', ':svg:switch^:svg:graphics|', ':svg:symbol^:svg:|', ':svg:tspan^:svg:textPositioning|', ':svg:text^:svg:textPositioning|', ':svg:textPath^:svg:textContent|', ':svg:title^:svg:|', ':svg:use^:svg:graphics|', ':svg:view^:svg:|#zoomAndPan', 'data^[HTMLElement]|value', 'keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name', 'menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default', 'summary^[HTMLElement]|', 'time^[HTMLElement]|dateTime', ':svg:cursor^:svg:|', ':math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex', ':math:math^:math:|', ':math:maction^:math:|', ':math:menclose^:math:|', ':math:merror^:math:|', ':math:mfenced^:math:|', ':math:mfrac^:math:|', ':math:mi^:math:|', ':math:mmultiscripts^:math:|', ':math:mn^:math:|', ':math:mo^:math:|', ':math:mover^:math:|', ':math:mpadded^:math:|', ':math:mphantom^:math:|', ':math:mroot^:math:|', ':math:mrow^:math:|', ':math:ms^:math:|', ':math:mspace^:math:|', ':math:msqrt^:math:|', ':math:mstyle^:math:|', ':math:msub^:math:|', ':math:msubsup^:math:|', ':math:msup^:math:|', ':math:mtable^:math:|', ':math:mtd^:math:|', ':math:mtext^:math:|', ':math:mtr^:math:|', ':math:munder^:math:|', ':math:munderover^:math:|', ':math:semantics^:math:|'];
|
|
17069
17065
|
const _ATTR_TO_PROP = new Map(Object.entries({
|
|
17070
17066
|
'class': 'className',
|
|
17071
17067
|
'for': 'htmlFor',
|
|
@@ -17073,27 +17069,37 @@ const _ATTR_TO_PROP = new Map(Object.entries({
|
|
|
17073
17069
|
'innerHtml': 'innerHTML',
|
|
17074
17070
|
'readonly': 'readOnly',
|
|
17075
17071
|
'tabindex': 'tabIndex',
|
|
17072
|
+
'aria-activedescendant': 'ariaActiveDescendantElement',
|
|
17076
17073
|
'aria-atomic': 'ariaAtomic',
|
|
17077
17074
|
'aria-autocomplete': 'ariaAutoComplete',
|
|
17078
17075
|
'aria-busy': 'ariaBusy',
|
|
17079
17076
|
'aria-checked': 'ariaChecked',
|
|
17080
17077
|
'aria-colcount': 'ariaColCount',
|
|
17081
17078
|
'aria-colindex': 'ariaColIndex',
|
|
17079
|
+
'aria-colindextext': 'ariaColIndexText',
|
|
17082
17080
|
'aria-colspan': 'ariaColSpan',
|
|
17081
|
+
'aria-controls': 'ariaControlsElements',
|
|
17083
17082
|
'aria-current': 'ariaCurrent',
|
|
17083
|
+
'aria-describedby': 'ariaDescribedByElements',
|
|
17084
|
+
'aria-description': 'ariaDescription',
|
|
17085
|
+
'aria-details': 'ariaDetailsElements',
|
|
17084
17086
|
'aria-disabled': 'ariaDisabled',
|
|
17087
|
+
'aria-errormessage': 'ariaErrorMessageElements',
|
|
17085
17088
|
'aria-expanded': 'ariaExpanded',
|
|
17089
|
+
'aria-flowto': 'ariaFlowToElements',
|
|
17086
17090
|
'aria-haspopup': 'ariaHasPopup',
|
|
17087
17091
|
'aria-hidden': 'ariaHidden',
|
|
17088
17092
|
'aria-invalid': 'ariaInvalid',
|
|
17089
17093
|
'aria-keyshortcuts': 'ariaKeyShortcuts',
|
|
17090
17094
|
'aria-label': 'ariaLabel',
|
|
17095
|
+
'aria-labelledby': 'ariaLabelledByElements',
|
|
17091
17096
|
'aria-level': 'ariaLevel',
|
|
17092
17097
|
'aria-live': 'ariaLive',
|
|
17093
17098
|
'aria-modal': 'ariaModal',
|
|
17094
17099
|
'aria-multiline': 'ariaMultiLine',
|
|
17095
17100
|
'aria-multiselectable': 'ariaMultiSelectable',
|
|
17096
17101
|
'aria-orientation': 'ariaOrientation',
|
|
17102
|
+
'aria-owns': 'ariaOwnsElements',
|
|
17097
17103
|
'aria-placeholder': 'ariaPlaceholder',
|
|
17098
17104
|
'aria-posinset': 'ariaPosInSet',
|
|
17099
17105
|
'aria-pressed': 'ariaPressed',
|
|
@@ -17102,6 +17108,7 @@ const _ATTR_TO_PROP = new Map(Object.entries({
|
|
|
17102
17108
|
'aria-roledescription': 'ariaRoleDescription',
|
|
17103
17109
|
'aria-rowcount': 'ariaRowCount',
|
|
17104
17110
|
'aria-rowindex': 'ariaRowIndex',
|
|
17111
|
+
'aria-rowindextext': 'ariaRowIndexText',
|
|
17105
17112
|
'aria-rowspan': 'ariaRowSpan',
|
|
17106
17113
|
'aria-selected': 'ariaSelected',
|
|
17107
17114
|
'aria-setsize': 'ariaSetSize',
|
|
@@ -24689,9 +24696,6 @@ function addFeatures(definitionMap, meta) {
|
|
|
24689
24696
|
if (meta.usesInheritance) {
|
|
24690
24697
|
features.push(importExpr(Identifiers.InheritDefinitionFeature));
|
|
24691
24698
|
}
|
|
24692
|
-
if (meta.fullInheritance) {
|
|
24693
|
-
features.push(importExpr(Identifiers.CopyDefinitionFeature));
|
|
24694
|
-
}
|
|
24695
24699
|
if (meta.lifecycle.usesOnChanges) {
|
|
24696
24700
|
features.push(importExpr(Identifiers.NgOnChangesFeature));
|
|
24697
24701
|
}
|
|
@@ -26171,7 +26175,6 @@ function convertDirectiveFacadeToMetadata(facade) {
|
|
|
26171
26175
|
queries: facade.queries.map(convertToR3QueryMetadata),
|
|
26172
26176
|
providers: facade.providers != null ? new WrappedNodeExpr(facade.providers) : null,
|
|
26173
26177
|
viewQueries: facade.viewQueries.map(convertToR3QueryMetadata),
|
|
26174
|
-
fullInheritance: false,
|
|
26175
26178
|
hostDirectives
|
|
26176
26179
|
};
|
|
26177
26180
|
}
|
|
@@ -26200,7 +26203,6 @@ function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
|
|
|
26200
26203
|
},
|
|
26201
26204
|
deps: null,
|
|
26202
26205
|
typeArgumentCount: 0,
|
|
26203
|
-
fullInheritance: false,
|
|
26204
26206
|
isStandalone: declaration.isStandalone ?? getJitStandaloneDefaultForVersion(declaration.version),
|
|
26205
26207
|
isSignal: declaration.isSignal ?? false,
|
|
26206
26208
|
hostDirectives
|
|
@@ -28079,7 +28081,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
28079
28081
|
function compileDeclareClassMetadata(metadata) {
|
|
28080
28082
|
const definitionMap = new DefinitionMap();
|
|
28081
28083
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
28082
|
-
definitionMap.set('version', literal('21.0.0-rc.
|
|
28084
|
+
definitionMap.set('version', literal('21.0.0-rc.3'));
|
|
28083
28085
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28084
28086
|
definitionMap.set('type', metadata.type);
|
|
28085
28087
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -28097,7 +28099,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
28097
28099
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
28098
28100
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
28099
28101
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
28100
|
-
definitionMap.set('version', literal('21.0.0-rc.
|
|
28102
|
+
definitionMap.set('version', literal('21.0.0-rc.3'));
|
|
28101
28103
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28102
28104
|
definitionMap.set('type', metadata.type);
|
|
28103
28105
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -28170,7 +28172,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
28170
28172
|
const definitionMap = new DefinitionMap();
|
|
28171
28173
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
28172
28174
|
definitionMap.set('minVersion', literal(minVersion));
|
|
28173
|
-
definitionMap.set('version', literal('21.0.0-rc.
|
|
28175
|
+
definitionMap.set('version', literal('21.0.0-rc.3'));
|
|
28174
28176
|
definitionMap.set('type', meta.type.value);
|
|
28175
28177
|
if (meta.isStandalone !== undefined) {
|
|
28176
28178
|
definitionMap.set('isStandalone', literal(meta.isStandalone));
|
|
@@ -28502,7 +28504,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
28502
28504
|
function compileDeclareFactoryFunction(meta) {
|
|
28503
28505
|
const definitionMap = new DefinitionMap();
|
|
28504
28506
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
28505
|
-
definitionMap.set('version', literal('21.0.0-rc.
|
|
28507
|
+
definitionMap.set('version', literal('21.0.0-rc.3'));
|
|
28506
28508
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28507
28509
|
definitionMap.set('type', meta.type.value);
|
|
28508
28510
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -28528,7 +28530,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
28528
28530
|
function createInjectableDefinitionMap(meta) {
|
|
28529
28531
|
const definitionMap = new DefinitionMap();
|
|
28530
28532
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
28531
|
-
definitionMap.set('version', literal('21.0.0-rc.
|
|
28533
|
+
definitionMap.set('version', literal('21.0.0-rc.3'));
|
|
28532
28534
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28533
28535
|
definitionMap.set('type', meta.type.value);
|
|
28534
28536
|
if (meta.providedIn !== undefined) {
|
|
@@ -28569,7 +28571,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
28569
28571
|
function createInjectorDefinitionMap(meta) {
|
|
28570
28572
|
const definitionMap = new DefinitionMap();
|
|
28571
28573
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
28572
|
-
definitionMap.set('version', literal('21.0.0-rc.
|
|
28574
|
+
definitionMap.set('version', literal('21.0.0-rc.3'));
|
|
28573
28575
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28574
28576
|
definitionMap.set('type', meta.type.value);
|
|
28575
28577
|
definitionMap.set('providers', meta.providers);
|
|
@@ -28596,7 +28598,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
28596
28598
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
28597
28599
|
}
|
|
28598
28600
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
28599
|
-
definitionMap.set('version', literal('21.0.0-rc.
|
|
28601
|
+
definitionMap.set('version', literal('21.0.0-rc.3'));
|
|
28600
28602
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28601
28603
|
definitionMap.set('type', meta.type.value);
|
|
28602
28604
|
if (meta.bootstrap.length > 0) {
|
|
@@ -28634,7 +28636,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
28634
28636
|
function createPipeDefinitionMap(meta) {
|
|
28635
28637
|
const definitionMap = new DefinitionMap();
|
|
28636
28638
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
28637
|
-
definitionMap.set('version', literal('21.0.0-rc.
|
|
28639
|
+
definitionMap.set('version', literal('21.0.0-rc.3'));
|
|
28638
28640
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28639
28641
|
definitionMap.set('type', meta.type.value);
|
|
28640
28642
|
if (meta.isStandalone !== undefined) {
|
|
@@ -28708,7 +28710,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
28708
28710
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
28709
28711
|
}
|
|
28710
28712
|
|
|
28711
|
-
const VERSION = new Version('21.0.0-rc.
|
|
28713
|
+
const VERSION = new Version('21.0.0-rc.3');
|
|
28712
28714
|
|
|
28713
28715
|
publishFacade(_global);
|
|
28714
28716
|
|