Socket
Socket
Sign inDemoInstall

@angular/core

Package Overview
Dependencies
3
Maintainers
2
Versions
804
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 18.0.0-next.5 to 18.0.0-next.6

esm2022/primitives/event-dispatch/contract_binary.mjs

2

event-dispatch-contract.min.js

@@ -1,1 +0,1 @@

const t={t:"auxclick",CHANGE:"change",CLICK:"click",i:"clickmod",o:"clickonly",DBLCLICK:"dblclick",FOCUS:"focus",u:"focusin",BLUR:"blur",h:"focusout",T:"submit",KEYDOWN:"keydown",KEYPRESS:"keypress",KEYUP:"keyup",MOUSEUP:"mouseup",MOUSEDOWN:"mousedown",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",O:"mouseenter",l:"mouseleave",MOUSEMOVE:"mousemove",p:"pointerup",I:"pointerdown",v:"pointerover",A:"pointerout",U:"pointerenter",R:"pointerleave",N:"pointermove",C:"pointercancel",S:"gotpointercapture",L:"lostpointercapture",ERROR:"error",M:"load",P:"unload",m:"touchstart",B:"touchend",D:"touchmove",k:"input",K:"scroll",G:"toggle",CUSTOM:"_custom"};var n;function i(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function e(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function o(t){let n=t.target;return!n.getAttribute&&n.parentNode&&(n=n.parentNode),n}!function(t){t[t.X=3]="MAC_ENTER",t[t.H=13]="ENTER",t[t._=32]="SPACE"}(n||(n={}));let r="undefined"!=typeof navigator&&/Macintosh/.test(navigator.userAgent);const s="undefined"!=typeof navigator&&!/Opera/.test(navigator.userAgent)&&/WebKit/.test(navigator.userAgent);"undefined"!=typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident/.test(navigator.userAgent));const c="undefined"!=typeof navigator&&!/Opera|WebKit/.test(navigator.userAgent)&&/Gecko/.test(navigator.product);const u={W:1,k:1,F:1,SELECT:1,V:1};const f={j:n.H,Y:n._},E={W:n.H,V:0,$:n._,q:n.H,J:0,Z:n.H,tt:n.H,nt:n.H,it:0,et:0,ot:0,rt:0,st:0,ct:0,ut:n._,ft:n._,Et:0,T:0,ht:n._,Tt:0,Ot:n.H,lt:n.H};function a(t){return(t.getAttribute("type")||t.tagName).toUpperCase()in T}function h(t){return(t.getAttribute("type")||t.tagName).toUpperCase()in O}const T={$:!0,J:!0,ct:!0,ut:!0},O={COLOR:!0,dt:!0,It:!0,vt:!0,At:!0,Ut:!0,Rt:!0,Nt:!0,Ct:!0,St:!0,Lt:!0,Mt:!0,F:!0,Pt:!0,URL:!0,gt:!0},l={W:!0,yt:!0,V:!0,Bt:!0,Dt:!0,k:!0,tt:!0,it:!0,kt:!0,ct:!0,wt:!0,SELECT:!0,F:!0},d="undefined"!=typeof navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent);class p{constructor(t){this.element=t,this.Kt=[]}addEventListener(n,i){d&&(this.element.style.cursor="pointer"),this.Kt.push(function(n,i,e){let o=!1;return i!==t.FOCUS&&i!==t.BLUR&&i!==t.ERROR&&i!==t.M&&i!==t.G||(o=!0),n.addEventListener(i,e,o),{Gt:i,Xt:e,capture:o}}(this.element,n,i(this.element)))}Ht(){for(let i=0;i<this.Kt.length;i++)n=this.Kt[i],(t=this.element).removeEventListener?t.removeEventListener(n.Gt,n.Xt,n.capture):t.detachEvent&&t.detachEvent(`on${n.Gt}`,n.Xt);var t,n;this.Kt=[]}}function I(t){return t.Gt}function v(t,n){t.Gt=n}function A(t){return t.event}function U(t){return t.targetElement}function R(t){return t._t}function N(t){return t.bt}function C(t,n,i){t.bt=[n,i]}function S(t){return t[1]}function L(t){return t.Wt}function M(t){return{Gt:t.Gt,event:t.event,targetElement:t.targetElement,_t:t._t,bt:t.bt,timeStamp:t.timeStamp,Ft:t.Ft,Wt:t.Wt}}function P(i){(function(i){let e=i.which||i.keyCode;if(!e&&i.key&&(e=f[i.key]),s&&e===n.X&&(e=n.H),e!==n.H&&e!==n._)return!1;const r=o(i);if(i.type!==t.KEYDOWN||!function(t){return"getAttribute"in t&&!h(t)&&!function(t){return"BUTTON"===t.tagName.toUpperCase()||!!t.type&&"FILE"===t.type.toUpperCase()}(t)&&!t.isContentEditable}(r)||function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey}(i))return!1;if(a(r)&&e===n._)return!1;if(!function(t){return(t.tagName in u||function(t){const n=t.getAttributeNode("tabindex");return null!=n&&n.specified}(t))&&!t.disabled}(r))return!1;const c=(r.getAttribute("role")||r.type||r.tagName).toUpperCase(),T=E[c]%e==0,O=!(c in E)&&e===n.H,l="INPUT"!==r.tagName.toUpperCase()||!!r.type;return(T||O)&&l})(A(i))&&(function(t,n){t.Wt=!0}(i),v(i,t.CLICK))}function m(t){L(t)&&(function(t){const i=t.which||t.keyCode,e=o(t),r=(e.type||e.tagName).toUpperCase();return i===n._&&"CHECKBOX"!==r}(A(t))||function(t){const n=o(t),i=n.tagName.toUpperCase(),e=(n.getAttribute("role")||"").toUpperCase();return"BUTTON"===i||"BUTTON"===e||!!function(t){return t.tagName.toUpperCase()in l}(n)&&"A"!==i&&"SELECT"!==i&&!a(n)&&!h(n)}(A(t)))&&e(A(t))}function g(n,i,e){N(i)||I(i)!==t.CLICK||L(i)||void 0===e[t.o]||(v(i,t.o),C(i,e[t.o],n))}var y,B,D;!function(t){t.Vt="maybe_click",t.jt="a11ysgd",t.Yt="a11ysc"}(y||(y={})),function(t){t.xt="jsaction",t.$t="jsnamespace",t.qt="oi",t.zt="ved",t.Jt="vet",t.Qt="jsinstance",t.Zt="jstrack"}(B||(B={})),function(t){t.xt="__jsaction",t.$t="__jsnamespace",t.qt="__oi",t.tn="__owner"}(D||(D={}));const k={};function w(t,n){t[D.xt]=n}const K=".",G=":",X=t.CLICK,H={},_=/\s*;\s*/;class b{static{this.nn=!1}static{this.en=!0}static{this.on=false}static{this.rn=!1}static{this.sn=!1}static{this.cn=!0}constructor(n,i=!1){this.stopPropagation=i,this.un={},this.fn={},this.En=null,this.an=[],this.hn=!1,this.Tn=b.on,this.On=void 0,this.ln=void 0,this.dn=void 0,this.pn=n,b.nn&&this.In(t.CUSTOM),b.rn&&this.vn()}An(t,n,i){const e=function(t,n,i,e,o,r,s,c){return{Gt:t,event:n,targetElement:i,_t:e,timeStamp:Date.now(),bt:void 0,Ft:void 0,Wt:void 0}}(t,n,n.target,i);this.Un(e)}Un(n,o=!0){if(this.En||(function(t,n){t.Ft=!0}(n),this.an?.push(n)),b.nn&&I(n)===t.CUSTOM){const t=A(n).detail;if(!t||!t.Rn)return;v(n,t.Rn)}if(this.Nn(n),this.En&&!A(n)[y.jt]){const i=M(n);I(i)===t.o&&v(i,t.CLICK),this.En(i,!0)}const r=N(n);if(!r&&!function(t){return b.on&&I(t)===y.Vt}(n))return;let s=!1;if(this.stopPropagation&&I(n)!==y.Vt?(!c||"INPUT"!==U(n).tagName&&"TEXTAREA"!==U(n).tagName||I(n)!==t.FOCUS)&&i(A(n)):this.stopPropagation&&I(n)===y.Vt&&(s=!0),this.En){r&&function(n,i){return"A"===n.tagName&&(I(i)===t.CLICK||I(i)===t.i)}(S(r),n)&&e(A(n));const c=this.En(n);if(c&&o)return void this.Un(c,!1);s&&i(A(n))}}Nn(n){var i;I(n)===t.CLICK&&(i=A(n),r&&i.metaKey||!r&&i.ctrlKey||function(t){return 2===t.which||null==t.which&&4===t.button}(i)||i.shiftKey)?v(n,t.i):this.hn?this.On(n):b.on&&I(n)===t.KEYDOWN&&!A(n)[y.Yt]&&v(n,y.Vt);let e=U(n);for(;e&&e!==R(n)&&(this.Cn(e,n),!N(n));)e=e[D.tn]?e[D.tn]:"#document-fragment"!==e.parentNode?.nodeName?e.parentNode:e.parentNode?.host??null;const o=N(n);if(o&&(this.hn&&this.ln(n),b.sn&&(I(n)===t.O||I(n)===t.l||I(n)===t.U||I(n)===t.R)))if(function(n,i,e){const o=n.relatedTarget;return(n.type===t.MOUSEOVER&&i===t.O||n.type===t.MOUSEOUT&&i===t.l||n.type===t.v&&i===t.U||n.type===t.A&&i===t.R)&&(!o||o!==e&&!function(t,n){if(null===n)return!1;if("contains"in t&&1===n.nodeType)return t.contains(n);if("compareDocumentPosition"in t)return t===n||Boolean(16&t.compareDocumentPosition(n));for(;n&&t!==n;)n=n.parentNode;return n===t}(e,o))}(A(n),I(n),S(o))){const i=function(n,i){const e={};for(const t in n){if("srcElement"===t||"target"===t)continue;const i=n[t];"function"!=typeof i&&(e[t]=i)}return e.type=n.type===t.MOUSEOVER?t.O:n.type===t.MOUSEOUT?t.l:n.type===t.v?t.U:t.R,e.target=e.srcElement=i,e.bubbles=!1,e}(A(n),S(o));!function(t,n){t.event=n}(n,i),function(t,n){t.targetElement=n}(n,S(o))}else!function(t){t.bt=void 0}(n)}Cn(n,i){const e=function(t,n){let i=t[D.xt];if(!i){const e=V(t,B.xt);if(e){if(i=k[e],!i){i={};const t=e.split(_);for(let n=0;n<t.length;n++){const e=t[n];if(!e)continue;const o=e.indexOf(G),r=-1!==o,s=r?j(e.substr(0,o)):X,c=r?j(e.substr(o+1)):e;i[s]=c}k[e]=i}if(b.cn){const e=i;i={};for(const o in e)i[o]=W(e[o],t,n)}w(t,i)}else i=H,w(t,i)}return i}(n,R(i)),o=e[I(i)];void 0!==o&&C(i,o,n),this.hn&&this.dn(n,i,e),b.on&&(I(i)===y.Vt&&void 0!==e[t.CLICK]?C(i,e[t.CLICK],n):g(n,i,e))}In(n,i){if(n in this.un||!this.pn)return;if(!b.sn&&(n===t.O||n===t.l||n===t.U||n===t.R))return;const e=(t,n,i)=>{this.An(t,n,i)};this.un[n]=e;const o=function(n){return n===t.O?t.MOUSEOVER:n===t.l?t.MOUSEOUT:n===t.U?t.v:n===t.R?t.A:n}(i||n);if(o!==n){const t=this.fn[o]||[];t.push(n),this.fn[o]=t}this.pn.addEventListener(o,t=>i=>{e(n,i,t)}),this.Tn&&n===t.CLICK&&this.In(t.KEYDOWN)}Sn(){const t=window._ejsa;if(!t)return;const n=t.Ln;for(let t=0;t<n.length;t++){const i=n[t],e=this.Mn(i.Gt);for(let t=0;t<e.length;t++){const n=M(i);v(n,e[t]),this.Un(n)}}const i=t.Pn,e=t.mn;for(let t=0;t<i.length;t++)window.document.documentElement.removeEventListener(i[t],e);delete window._ejsa}Mn(t){const n=[];return this.un[t]&&n.push(t),this.fn[t]&&n.push(...this.fn[t]),n}Xt(t){return this.un[t]}Ht(){this.pn.Ht(),this.pn=null,this.un={},this.fn={},this.En=null,this.an=[]}gn(t,n){this.yn(t,n)}yn(t,n){if(this.En=t,this.an?.length){for(let t=0;t<this.an.length;t++)this.Un(this.an[t]);this.an=null}}vn(){this.Bn(P,m,g)}Dn(){this.Tn=!0,this.kn=this.Bn.bind(this)}Bn(t,n,i){this.Tn=!0,this.hn=!0,this.On=t,this.ln=n,this.dn=i}}function W(t,n,i){if(b.cn){if(function(t){return t.indexOf(K)>=0}(t))return t;let e=n;for(;e;){const n=F(e);if(n)return n+K+t;if(e===i)break;e=e.parentNode}}return t}function F(t){let n=function(t){return t[D.$t]}(t);return void 0===n&&(n=V(t,B.$t),function(t,n){t[D.$t]=n}(t,n)),n}function V(t,n){let i=null;return"getAttribute"in t&&(i=t.getAttribute(n)),i}function j(t){return"function"==typeof String.prototype.trim?t.trim():t.replace(/^\s+/,"").replace(/\s+$/,"")}window.__jsaction_bootstrap=function(t,n,i,e){const o=new p(n),r=window;r[t]||(r[t]={});const s=new b(o,!1);r[t][i]=s;for(const t of e)s.In(t)};
!function(){"use strict";const t={AUXCLICK:"auxclick",CHANGE:"change",CLICK:"click",CLICKMOD:"clickmod",CLICKONLY:"clickonly",DBLCLICK:"dblclick",FOCUS:"focus",FOCUSIN:"focusin",BLUR:"blur",FOCUSOUT:"focusout",SUBMIT:"submit",KEYDOWN:"keydown",KEYPRESS:"keypress",KEYUP:"keyup",MOUSEUP:"mouseup",MOUSEDOWN:"mousedown",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEENTER:"mouseenter",MOUSELEAVE:"mouseleave",MOUSEMOVE:"mousemove",POINTERUP:"pointerup",POINTERDOWN:"pointerdown",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERMOVE:"pointermove",POINTERCANCEL:"pointercancel",GOTPOINTERCAPTURE:"gotpointercapture",LOSTPOINTERCAPTURE:"lostpointercapture",ERROR:"error",LOAD:"load",UNLOAD:"unload",TOUCHSTART:"touchstart",TOUCHEND:"touchend",TOUCHMOVE:"touchmove",INPUT:"input",SCROLL:"scroll",TOGGLE:"toggle",CUSTOM:"_custom"};var e;function n(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function i(t){let e=t.target;return!e.getAttribute&&e.parentNode&&(e=e.parentNode),e}!function(t){t[t.MAC_ENTER=3]="MAC_ENTER",t[t.ENTER=13]="ENTER",t[t.SPACE=32]="SPACE"}(e||(e={}));let r="undefined"!=typeof navigator&&/Macintosh/.test(navigator.userAgent);const E="undefined"!=typeof navigator&&!/Opera/.test(navigator.userAgent)&&/WebKit/.test(navigator.userAgent);"undefined"!=typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident/.test(navigator.userAgent)),"undefined"!=typeof navigator&&!/Opera|WebKit/.test(navigator.userAgent)&&/Gecko/.test(navigator.product);const o={A:1,INPUT:1,TEXTAREA:1,SELECT:1,BUTTON:1};const s={Enter:e.ENTER," ":e.SPACE},a={A:e.ENTER,BUTTON:0,CHECKBOX:e.SPACE,COMBOBOX:e.ENTER,FILE:0,GRIDCELL:e.ENTER,LINK:e.ENTER,LISTBOX:e.ENTER,MENU:0,MENUBAR:0,MENUITEM:0,MENUITEMCHECKBOX:0,MENUITEMRADIO:0,OPTION:0,RADIO:e.SPACE,RADIOGROUP:e.SPACE,RESET:0,SUBMIT:0,SWITCH:e.SPACE,TAB:0,TREE:e.ENTER,TREEITEM:e.ENTER};function c(t){return(t.getAttribute("type")||t.tagName).toUpperCase()in T}function u(t){return(t.getAttribute("type")||t.tagName).toUpperCase()in p}const T={CHECKBOX:!0,FILE:!0,OPTION:!0,RADIO:!0},p={COLOR:!0,DATE:!0,DATETIME:!0,"DATETIME-LOCAL":!0,EMAIL:!0,MONTH:!0,NUMBER:!0,PASSWORD:!0,RANGE:!0,SEARCH:!0,TEL:!0,TEXT:!0,TEXTAREA:!0,TIME:!0,URL:!0,WEEK:!0},O={A:!0,AREA:!0,BUTTON:!0,DIALOG:!0,IMG:!0,INPUT:!0,LINK:!0,MENU:!0,OPTGROUP:!0,OPTION:!0,PROGRESS:!0,SELECT:!0,TEXTAREA:!0},C="undefined"!=typeof navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent);class l{constructor(t){this.element=t,this.handlerInfos=[]}addEventListener(e,n){C&&(this.element.style.cursor="pointer"),this.handlerInfos.push(function(e,n,i){let r=!1;return n!==t.FOCUS&&n!==t.BLUR&&n!==t.ERROR&&n!==t.LOAD&&n!==t.TOGGLE||(r=!0),e.addEventListener(n,i,r),{eventType:n,handler:i,capture:r}}(this.element,e,n(this.element)))}cleanUp(){for(let n=0;n<this.handlerInfos.length;n++)e=this.handlerInfos[n],(t=this.element).removeEventListener?t.removeEventListener(e.eventType,e.handler,e.capture):t.detachEvent&&t.detachEvent(`on${e.eventType}`,e.handler);var t,e;this.handlerInfos=[]}}function A(t){return t.eventType}function f(t,e){t.eventType=e}function d(t){return t.event}function h(t){return t.eic}function N(t){return t.eia}function I(t,e,n){t.eia=[e,n]}function S(t){return t[1]}function R(t){return t.eiack}function P(t){return{eventType:t.eventType,event:t.event,targetElement:t.targetElement,eic:t.eic,eia:t.eia,timeStamp:t.timeStamp,eirp:t.eirp,eiack:t.eiack}}function v(n){(function(n){let r=n.which||n.keyCode;if(!r&&n.key&&(r=s[n.key]),E&&r===e.MAC_ENTER&&(r=e.ENTER),r!==e.ENTER&&r!==e.SPACE)return!1;const T=i(n);if(n.type!==t.KEYDOWN||!function(t){return"getAttribute"in t&&!u(t)&&!function(t){return"BUTTON"===t.tagName.toUpperCase()||!!t.type&&"FILE"===t.type.toUpperCase()}(t)&&!t.isContentEditable}(T)||function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey}(n))return!1;if(c(T)&&r===e.SPACE)return!1;if(!function(t){return(t.tagName in o||function(t){const e=t.getAttributeNode("tabindex");return null!=e&&e.specified}(t))&&!t.disabled}(T))return!1;const p=(T.getAttribute("role")||T.type||T.tagName).toUpperCase(),O=a[p]%r==0,C=!(p in a)&&r===e.ENTER,l="INPUT"!==T.tagName.toUpperCase()||!!T.type;return(O||C)&&l})(d(n))&&(function(t,e){t.eiack=!0}(n),f(n,t.CLICK))}function U(t){R(t)&&(function(t){const n=t.which||t.keyCode,r=i(t),E=(r.type||r.tagName).toUpperCase();return n===e.SPACE&&"CHECKBOX"!==E}(d(t))||function(t){const e=i(t),n=e.tagName.toUpperCase(),r=(e.getAttribute("role")||"").toUpperCase();return"BUTTON"===n||"BUTTON"===r||!!function(t){return t.tagName.toUpperCase()in O}(e)&&"A"!==n&&"SELECT"!==n&&!c(e)&&!u(e)}(d(t)))&&n(d(t))}function y(e,n,i){N(n)||A(n)!==t.CLICK||R(n)||void 0===i[t.CLICKONLY]||(f(n,t.CLICKONLY),I(n,i[t.CLICKONLY],e))}var L,M,_;!function(t){t.MAYBE_CLICK_EVENT_TYPE="maybe_click",t.SKIP_GLOBAL_DISPATCH="a11ysgd",t.SKIP_A11Y_CHECK="a11ysc"}(L||(L={})),function(t){t.JSACTION="jsaction",t.JSNAMESPACE="jsnamespace",t.OI="oi",t.VED="ved",t.VET="vet",t.JSINSTANCE="jsinstance",t.JSTRACK="jstrack"}(M||(M={})),function(t){t.JSACTION="__jsaction",t.JSNAMESPACE="__jsnamespace",t.OI="__oi",t.OWNER="__owner"}(_||(_={}));const g={};function m(t,e){t[_.JSACTION]=e}const K=".",k=":",D=t.CLICK,b={},V=/\s*;\s*/;class B{static{this.CUSTOM_EVENT_SUPPORT=!1}static{this.STOP_PROPAGATION=!0}static{this.A11Y_SUPPORT_IN_DISPATCHER=false}static{this.A11Y_CLICK_SUPPORT=!1}static{this.MOUSE_SPECIAL_SUPPORT=!1}static{this.JSNAMESPACE_SUPPORT=!0}constructor(e){this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[],this.hasA11yClickSupport=!1,this.addA11yClickListener=B.A11Y_SUPPORT_IN_DISPATCHER,this.updateEventInfoForA11yClick=void 0,this.preventDefaultForA11yClick=void 0,this.populateClickOnlyAction=void 0,this.containerManager=e,B.CUSTOM_EVENT_SUPPORT&&this.addEvent(t.CUSTOM),B.A11Y_CLICK_SUPPORT&&this.addA11yClickSupport()}handleEvent(t,e,n){const i=function(t,e,n,i,r,E,o,s){return{eventType:t,event:e,targetElement:n,eic:i,timeStamp:Date.now(),eia:void 0,eirp:void 0,eiack:void 0}}(t,e,e.target,n);this.handleEventInfo(i)}handleEventInfo(e,i=!0){if(this.dispatcher||(function(t,e){t.eirp=!0}(e),this.queuedEventInfos?.push(e)),B.CUSTOM_EVENT_SUPPORT&&A(e)===t.CUSTOM){const t=d(e).detail;if(!t||!t._type)return;f(e,t._type)}if(this.populateAction(e),this.dispatcher&&!d(e)[L.SKIP_GLOBAL_DISPATCH]){const n=P(e);A(n)===t.CLICKONLY&&f(n,t.CLICK),this.dispatcher(n,!0)}const r=N(e);if((r||function(t){return B.A11Y_SUPPORT_IN_DISPATCHER&&A(t)===L.MAYBE_CLICK_EVENT_TYPE}(e))&&this.dispatcher){r&&function(e,n){return"A"===e.tagName&&(A(n)===t.CLICK||A(n)===t.CLICKMOD)}(S(r),e)&&n(d(e));const E=this.dispatcher(e);if(E&&i)return void this.handleEventInfo(E,!1)}}populateAction(e){var n;A(e)===t.CLICK&&(n=d(e),r&&n.metaKey||!r&&n.ctrlKey||function(t){return 2===t.which||null==t.which&&4===t.button}(n)||n.shiftKey)?f(e,t.CLICKMOD):this.hasA11yClickSupport?this.updateEventInfoForA11yClick(e):B.A11Y_SUPPORT_IN_DISPATCHER&&A(e)===t.KEYDOWN&&!d(e)[L.SKIP_A11Y_CHECK]&&f(e,L.MAYBE_CLICK_EVENT_TYPE);let i=function(t){return t.targetElement}(e);for(;i&&i!==h(e)&&(this.populateActionOnElement(i,e),!N(e));)i=i[_.OWNER]?i[_.OWNER]:"#document-fragment"!==i.parentNode?.nodeName?i.parentNode:i.parentNode?.host??null;const E=N(e);if(E&&(this.hasA11yClickSupport&&this.preventDefaultForA11yClick(e),B.MOUSE_SPECIAL_SUPPORT&&(A(e)===t.MOUSEENTER||A(e)===t.MOUSELEAVE||A(e)===t.POINTERENTER||A(e)===t.POINTERLEAVE)))if(function(e,n,i){const r=e.relatedTarget;return(e.type===t.MOUSEOVER&&n===t.MOUSEENTER||e.type===t.MOUSEOUT&&n===t.MOUSELEAVE||e.type===t.POINTEROVER&&n===t.POINTERENTER||e.type===t.POINTEROUT&&n===t.POINTERLEAVE)&&(!r||r!==i&&!function(t,e){if(null===e)return!1;if("contains"in t&&1===e.nodeType)return t.contains(e);if("compareDocumentPosition"in t)return t===e||Boolean(16&t.compareDocumentPosition(e));for(;e&&t!==e;)e=e.parentNode;return e===t}(i,r))}(d(e),A(e),S(E))){const n=function(e,n){const i={};for(const t in e){if("srcElement"===t||"target"===t)continue;const n=e[t];"function"!=typeof n&&(i[t]=n)}return i.type=e.type===t.MOUSEOVER?t.MOUSEENTER:e.type===t.MOUSEOUT?t.MOUSELEAVE:e.type===t.POINTEROVER?t.POINTERENTER:t.POINTERLEAVE,i.target=i.srcElement=n,i.bubbles=!1,i}(d(e),S(E));!function(t,e){t.event=e}(e,n),function(t,e){t.targetElement=e}(e,S(E))}else!function(t){t.eia=void 0}(e)}populateActionOnElement(e,n){const i=function(t,e){let n=t[_.JSACTION];if(!n){const i=H(t,M.JSACTION);if(i){if(n=g[i],!n){n={};const t=i.split(V);for(let e=0;e<t.length;e++){const i=t[e];if(!i)continue;const r=i.indexOf(k),E=-1!==r,o=E?G(i.substr(0,r)):D,s=E?G(i.substr(r+1)):i;n[o]=s}g[i]=n}if(B.JSNAMESPACE_SUPPORT){const i=n;n={};for(const r in i)n[r]=w(i[r],t,e)}m(t,n)}else n=b,m(t,n)}return n}(e,h(n)),r=i[A(n)];void 0!==r&&I(n,r,e),this.hasA11yClickSupport&&this.populateClickOnlyAction(e,n,i),B.A11Y_SUPPORT_IN_DISPATCHER&&(A(n)===L.MAYBE_CLICK_EVENT_TYPE&&void 0!==i[t.CLICK]?I(n,i[t.CLICK],e):y(e,n,i))}addEvent(e,n){if(e in this.eventHandlers||!this.containerManager)return;if(!B.MOUSE_SPECIAL_SUPPORT&&(e===t.MOUSEENTER||e===t.MOUSELEAVE||e===t.POINTERENTER||e===t.POINTERLEAVE))return;const i=(t,e,n)=>{this.handleEvent(t,e,n)};this.eventHandlers[e]=i;const r=function(e){return e===t.MOUSEENTER?t.MOUSEOVER:e===t.MOUSELEAVE?t.MOUSEOUT:e===t.POINTERENTER?t.POINTEROVER:e===t.POINTERLEAVE?t.POINTEROUT:e}(n||e);if(r!==e){const t=this.browserEventTypeToExtraEventTypes[r]||[];t.push(e),this.browserEventTypeToExtraEventTypes[r]=t}this.containerManager.addEventListener(r,t=>n=>{i(e,n,t)}),this.addA11yClickListener&&e===t.CLICK&&this.addEvent(t.KEYDOWN)}replayEarlyEvents(){const t=window._ejsa;if(!t)return;const e=t.q;for(let t=0;t<e.length;t++){const n=e[t],i=this.getEventTypesForBrowserEventType(n.eventType);for(let t=0;t<i.length;t++){const e=P(n);f(e,i[t]),this.handleEventInfo(e)}}const n=t.et,i=t.h;for(let t=0;t<n.length;t++)window.document.documentElement.removeEventListener(n[t],i);delete window._ejsa}getEventTypesForBrowserEventType(t){const e=[];return this.eventHandlers[t]&&e.push(t),this.browserEventTypeToExtraEventTypes[t]&&e.push(...this.browserEventTypeToExtraEventTypes[t]),e}handler(t){return this.eventHandlers[t]}cleanUp(){this.containerManager.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(t,e){this.ecrd(t,e)}ecrd(t,e){if(this.dispatcher=t,this.queuedEventInfos?.length){for(let t=0;t<this.queuedEventInfos.length;t++)this.handleEventInfo(this.queuedEventInfos[t]);this.queuedEventInfos=null}}addA11yClickSupport(){this.addA11yClickSupportImpl(v,U,y)}exportAddA11yClickSupport(){this.addA11yClickListener=!0,this.ecaacs=this.addA11yClickSupportImpl.bind(this)}addA11yClickSupportImpl(t,e,n){this.addA11yClickListener=!0,this.hasA11yClickSupport=!0,this.updateEventInfoForA11yClick=t,this.preventDefaultForA11yClick=e,this.populateClickOnlyAction=n}}function w(t,e,n){if(B.JSNAMESPACE_SUPPORT){if(function(t){return t.indexOf(K)>=0}(t))return t;let i=e;for(;i;){const e=Y(i);if(e)return e+K+t;if(i===n)break;i=i.parentNode}}return t}function Y(t){let e=function(t){return t[_.JSNAMESPACE]}(t);return void 0===e&&(e=H(t,M.JSNAMESPACE),function(t,e){t[_.JSNAMESPACE]=e}(t,e)),e}function H(t,e){let n=null;return"getAttribute"in t&&(n=t.getAttribute(e)),n}function G(t){return"function"==typeof String.prototype.trim?t.trim():t.replace(/^\s+/,"").replace(/\s+$/,"")}window.__jsaction_bootstrap=function(t,e,n,i,r=window){r[t]||(r[t]={});const E=new B(new l(e));r[t][n]=E;for(const t of i)E.addEvent(t);return E}}();
{
"name": "@angular/core",
"version": "18.0.0-next.5",
"version": "18.0.0-next.6",
"description": "Angular - the core framework",

@@ -26,2 +26,8 @@ "author": "angular",

},
"./primitives/event-dispatch": {
"types": "./primitives/event-dispatch/index.d.ts",
"esm2022": "./esm2022/primitives/event-dispatch/index.mjs",
"esm": "./esm2022/primitives/event-dispatch/index.mjs",
"default": "./fesm2022/primitives/event-dispatch.mjs"
},
"./primitives/signals": {

@@ -28,0 +34,0 @@ "types": "./primitives/signals/index.d.ts",

/**
* @license Angular v18.0.0-next.5
* @license Angular v18.0.0-next.6
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v18.0.0-next.5
* @license Angular v18.0.0-next.6
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

{
"schematics": {
"block-template-entities": {
"version": "17.0.0",
"description": "Angular v17 introduces a new control flow syntax that uses the @ and } characters. This migration replaces the existing usages with their corresponding HTML entities.",
"factory": "./migrations/block-template-entities/bundle"
},
"migration-v17-compiler-options": {
"version": "17.0.0",
"description": "CompilerOption.useJit and CompilerOption.missingTranslation are unused under Ivy. This migration removes their usage",
"factory": "./migrations/compiler-options/bundle"
},
"migration-transfer-state": {
"version": "17.0.0",
"description": "Updates `TransferState`, `makeStateKey`, `StateKey` imports from `@angular/platform-browser` to `@angular/core`.",
"factory": "./migrations/transfer-state/bundle"
},
"invalid-two-way-bindings": {
"version": "17.3.0",
"version": "18.0.0",
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
"factory": "./migrations/invalid-two-way-bindings/bundle"
},
"migration-http-providers": {
"version": "18.0.0",
"description": "Replace deprecated HTTP related modules with provider functions",
"factory": "./migrations/http-providers/bundle"
}
}
}
/**
* @license Angular v18.0.0-next.5
* @license Angular v18.0.0-next.6
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -39,9 +39,2 @@ * License: MIT

/**
* @deprecated use `waitForAsync()`, (expected removal in v12)
* @see {@link waitForAsync}
* @publicApi
* */
export declare function async(fn: Function): (done: any) => any;
/**
* Fixture for debugging and testing a component.

@@ -530,3 +523,3 @@ *

* })
* });
* })));
* ```

@@ -533,0 +526,0 @@ *

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc