@ui5/webcomponents-base
Advanced tools
@@ -6,3 +6,3 @@ const patchFocusEvent = (Popup) => { | ||
| const target = e.target; | ||
| if (!isTypeFocus || !target.closest("[ui5-popover],[ui5-responsive-popover],[ui5-dialog]")) { | ||
| if (!isTypeFocus || !target?.closest?.("[ui5-popover],[ui5-responsive-popover],[ui5-dialog]")) { | ||
| origFocusEvent.call(this, e, ...rest); | ||
@@ -9,0 +9,0 @@ } |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"patchPopup.js","sourceRoot":"","sources":["../../src/features/patchPopup.ts"],"names":[],"mappings":"AAQA,MAAM,eAAe,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC/C,MAAM,cAAc,GAAG,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC;IACpD,KAAK,CAAC,SAAS,CAAC,YAAY,GAAG,SAAS,YAAY,CAAC,CAAa,EAAE,GAAG,IAAI;QAC1E,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,KAAK,OAAO,IAAI,CAAC,CAAC,IAAI,KAAK,UAAU,CAAC;QAChE,MAAM,MAAM,GAAG,CAAC,CAAC,MAAqB,CAAC;QACvC,IAAI,CAAC,WAAW,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,qDAAqD,CAAC,EAAE;YAC3F,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;SACtC;IACF,CAAC,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC1C,eAAe,CAAC,KAAK,CAAC,CAAC,CAAA,+BAA+B;AACvD,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["type OpenUI5Popup = {\n\tsetInitialZIndex: (zIndex: number) => void,\n\tgetNextZIndex: () => number,\n\tprototype: {\n\t\tonFocusEvent: (e: FocusEvent) => void,\n\t}\n};\n\nconst patchFocusEvent = (Popup: OpenUI5Popup) => {\n\tconst origFocusEvent = Popup.prototype.onFocusEvent;\n\tPopup.prototype.onFocusEvent = function onFocusEvent(e: FocusEvent, ...rest) {\n\t\tconst isTypeFocus = e.type === \"focus\" || e.type === \"activate\";\n\t\tconst target = e.target as HTMLElement;\n\t\tif (!isTypeFocus || !target.closest(\"[ui5-popover],[ui5-responsive-popover],[ui5-dialog]\")) {\n\t\t\torigFocusEvent.call(this, e, ...rest);\n\t\t}\n\t};\n};\n\nconst patchPopup = (Popup: OpenUI5Popup) => {\n\tpatchFocusEvent(Popup);// Popup.prototype.onFocusEvent\n};\n\nexport default patchPopup;\nexport type { OpenUI5Popup };\n"]} | ||
| {"version":3,"file":"patchPopup.js","sourceRoot":"","sources":["../../src/features/patchPopup.ts"],"names":[],"mappings":"AAQA,MAAM,eAAe,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC/C,MAAM,cAAc,GAAG,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC;IACpD,KAAK,CAAC,SAAS,CAAC,YAAY,GAAG,SAAS,YAAY,CAAC,CAAa,EAAE,GAAG,IAAI;QAC1E,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,KAAK,OAAO,IAAI,CAAC,CAAC,IAAI,KAAK,UAAU,CAAC;QAChE,MAAM,MAAM,GAAG,CAAC,CAAC,MAAqB,CAAC;QACvC,IAAI,CAAC,WAAW,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,qDAAqD,CAAC,EAAE;YAC9F,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;SACtC;IACF,CAAC,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC1C,eAAe,CAAC,KAAK,CAAC,CAAC,CAAA,+BAA+B;AACvD,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["type OpenUI5Popup = {\n\tsetInitialZIndex: (zIndex: number) => void,\n\tgetNextZIndex: () => number,\n\tprototype: {\n\t\tonFocusEvent: (e: FocusEvent) => void,\n\t}\n};\n\nconst patchFocusEvent = (Popup: OpenUI5Popup) => {\n\tconst origFocusEvent = Popup.prototype.onFocusEvent;\n\tPopup.prototype.onFocusEvent = function onFocusEvent(e: FocusEvent, ...rest) {\n\t\tconst isTypeFocus = e.type === \"focus\" || e.type === \"activate\";\n\t\tconst target = e.target as HTMLElement;\n\t\tif (!isTypeFocus || !target?.closest?.(\"[ui5-popover],[ui5-responsive-popover],[ui5-dialog]\")) {\n\t\t\torigFocusEvent.call(this, e, ...rest);\n\t\t}\n\t};\n};\n\nconst patchPopup = (Popup: OpenUI5Popup) => {\n\tpatchFocusEvent(Popup);// Popup.prototype.onFocusEvent\n};\n\nexport default patchPopup;\nexport type { OpenUI5Popup };\n"]} |
| const VersionInfo = { | ||
| version: "1.24.28", | ||
| version: "1.24.29", | ||
| major: 1, | ||
| minor: 24, | ||
| patch: 28, | ||
| patch: 29, | ||
| suffix: "", | ||
| isNext: false, | ||
| buildTime: 1778488346, | ||
| buildTime: 1783946180, | ||
| }; | ||
| export default VersionInfo; | ||
| //# sourceMappingURL=VersionInfo.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"VersionInfo.js","sourceRoot":"","sources":["../../src/generated/VersionInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IACnB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,UAAU;CACrB,CAAC;AACF,eAAe,WAAW,CAAC","sourcesContent":["const VersionInfo = {\n\tversion: \"1.24.28\",\n\tmajor: 1,\n\tminor: 24,\n\tpatch: 28,\n\tsuffix: \"\",\n\tisNext: false,\n\tbuildTime: 1778488346,\n};\nexport default VersionInfo;"]} | ||
| {"version":3,"file":"VersionInfo.js","sourceRoot":"","sources":["../../src/generated/VersionInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IACnB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,UAAU;CACrB,CAAC;AACF,eAAe,WAAW,CAAC","sourcesContent":["const VersionInfo = {\n\tversion: \"1.24.29\",\n\tmajor: 1,\n\tminor: 24,\n\tpatch: 29,\n\tsuffix: \"\",\n\tisNext: false,\n\tbuildTime: 1783946180,\n};\nexport default VersionInfo;"]} |
+4
-4
| { | ||
| "name": "@ui5/webcomponents-base", | ||
| "version": "1.24.28", | ||
| "version": "1.24.29", | ||
| "description": "UI5 Web Components: webcomponents.base", | ||
@@ -48,4 +48,4 @@ "author": "SAP SE (https://www.sap.com)", | ||
| "@openui5/sap.ui.core": "1.120.17", | ||
| "@ui5/webcomponents-tools": "1.24.28", | ||
| "chromedriver": "^147.0.4", | ||
| "@ui5/webcomponents-tools": "1.24.29", | ||
| "chromedriver": "^149.0.4", | ||
| "clean-css": "^5.2.2", | ||
@@ -59,3 +59,3 @@ "copy-and-watch": "^0.1.5", | ||
| }, | ||
| "gitHead": "bbf0e0f759f2d9ce3918bcbd50f46871a8ae256b" | ||
| "gitHead": "29a67f765349745598ae4187fd540601209ee410" | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1725170
0.02%