@ui5/webcomponents-base 1.9.2 → 1.9.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.9.3](https://github.com/SAP/ui5-webcomponents/compare/v1.9.2...v1.9.3) (2022-12-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @ui5/webcomponents-base
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.9.1](https://github.com/SAP/ui5-webcomponents/compare/v1.9.0...v1.9.1) (2022-11-10)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @ui5/webcomponents-base
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const Zs=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerpolicy&&(i.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?i.credentials="include":r.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}};Zs();const _t={themes:{default:"sap_fiori_3",all:["sap_fiori_3","sap_fiori_3_dark","sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_dark","sap_horizon_hcb","sap_horizon_hcw","sap_horizon_exp"]},languages:{default:"en",all:["ar","bg","ca","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","in","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt_PT","pt","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh_CN","zh_TW"]},locales:{default:"en",all:["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sr_Latn","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"]}},Vt=_t.themes.default,zt=_t.languages.default,O=_t.locales.default,ue=_t.locales.all;var Je=()=>{const e=navigator.languages,t=()=>navigator.language;return e&&e[0]||t()||navigator.userLanguage||navigator.browserLanguage||zt},Xe={},Ye=Xe.hasOwnProperty,qs=Xe.toString,Qe=Ye.toString,Gs=Qe.call(Object),de=function(e){var t,s;return!e||qs.call(e)!=="[object Object]"?!1:(t=Object.getPrototypeOf(e),t?(s=Ye.call(t,"constructor")&&t.constructor,typeof s=="function"&&Qe.call(s)===Gs):!0)},Ks=Object.create(null),ts=function(){var e,t,s,n,r,i,o=arguments[2]||{},a=3,c=arguments.length,l=arguments[0]||!1,d=arguments[1]?void 0:Ks;for(typeof o!="object"&&typeof o!="function"&&(o={});a<c;a++)if((r=arguments[a])!=null)for(n in r)e=o[n],s=r[n],!(n==="__proto__"||o===s)&&(l&&s&&(de(s)||(t=Array.isArray(s)))?(t?(t=!1,i=e&&Array.isArray(e)?e:[]):i=e&&de(e)?e:{},o[n]=ts(l,arguments[1],i,s)):s!==d&&(o[n]=s));return o},te=function(){var e=[!0,!1];return e.push.apply(e,arguments),ts.apply(null,e)};const es=new Map,Js=(e,t)=>{es.set(e,t)},S=e=>es.get(e),Xs=e=>{const t=document.querySelector(`META[name="${e}"]`);return t&&t.getAttribute("content")},Ys=e=>{const t=Xs("sap-allowedThemeOrigins");return t&&t.split(",").some(s=>s==="*"||e===s.trim())},Qs=(e,t)=>{const s=new URL(e).pathname;return new URL(s,t).toString()},tn=e=>{let t,s;try{t=new URL(e);const n=t.origin;return t=t.toString(),t.startsWith(".")||t.startsWith("/")?s=new URL(t,window.location.href).toString():n&&Ys(n)?s=t.toString():s=Qs(t,window.location.href),s.endsWith("/")||(s=`${s}/`),`${s}UI5/`}catch{}};let he=!1,y={animationMode:"full",theme:Vt,themeRoot:null,rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{},fetchDefaultLanguage:!1};const en=()=>($(),y.animationMode),sn=()=>($(),y.theme),nn=()=>($(),y.themeRoot),rn=()=>($(),y.rtl),on=()=>($(),y.language),an=()=>($(),y.fetchDefaultLanguage),cn=()=>($(),y.noConflict),ln=()=>($(),y.calendarType),un=()=>($(),y.formatSettings),ft=new Map;ft.set("true",!0);ft.set("false",!1);const dn=()=>{const e=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let t;if(e){try{t=JSON.parse(e.innerHTML)}catch{console.warn("Incorrect data-sap-ui-config format. Please use JSON")}t&&(y=te(y,t))}},hn=()=>{const e=new URLSearchParams(window.location.search);e.forEach((t,s)=>{const n=s.split("sap-").length;n===0||n===s.split("sap-ui-").length||fe(s,t,"sap")}),e.forEach((t,s)=>{!s.startsWith("sap-ui")||fe(s,t,"sap-ui")})},fn=e=>{const t=e.split("@")[1];return tn(t)},pn=(e,t)=>e==="theme"&&t.includes("@")?t.split("@")[0]:t,fe=(e,t,s)=>{const n=t.toLowerCase(),r=e.split(`${s}-`)[1];ft.has(t)&&(t=ft.get(n)),r==="theme"?(y.theme=pn(r,t),t&&t.includes("@")&&(y.themeRoot=fn(t))):y[r]=t},gn=()=>{const e=S("OpenUI5Support");if(!e||!e.isLoaded())return;const t=e.getConfigurationSettingsObject();y=te(y,t)},$=()=>{he||(dn(),hn(),gn(),he=!0)};class R{constructor(){this._eventRegistry=new Map}attachEvent(t,s){const n=this._eventRegistry,r=n.get(t);if(!Array.isArray(r)){n.set(t,[s]);return}r.includes(s)||r.push(s)}detachEvent(t,s){const n=this._eventRegistry,r=n.get(t);if(!r)return;const i=r.indexOf(s);i!==-1&&r.splice(i,1),r.length===0&&n.delete(t)}fireEvent(t,s){const r=this._eventRegistry.get(t);return r?r.map(i=>i.call(this,s)):[]}fireEventAsync(t,s){return Promise.all(this.fireEvent(t,s))}isHandlerAttached(t,s){const r=this._eventRegistry.get(t);return r?r.includes(s):!1}hasListeners(t){return!!this._eventRegistry.get(t)}}const mn=new R,yn="languageChange",ss=e=>{mn.attachEvent(yn,e)},pe=10;class _n{constructor(){this.list=[],this.lookup=new Set}add(t){this.lookup.has(t)||(this.list.push(t),this.lookup.add(t))}remove(t){!this.lookup.has(t)||(this.list=this.list.filter(s=>s!==t),this.lookup.delete(t))}shift(){const t=this.list.shift();if(t)return this.lookup.delete(t),t}isEmpty(){return this.list.length===0}isAdded(t){return this.lookup.has(t)}process(t){let s;const n=new Map;for(s=this.shift();s;){const r=n.get(s)||0;if(r>pe)throw new Error(`Web component processed too many times this task, max allowed is: ${pe}`);t(s),n.set(s,r+1),s=this.shift()}}}const ns=e=>{const t=[];return e.forEach(s=>{t.push(s)}),t},rs=(e,t=document.body)=>{let s=document.querySelector(e);return s||(s=document.createElement(e),t.insertBefore(s,t.firstChild))},wn=()=>rs("ui5-shared-resources",document.head),x=(e,t)=>{const s=e.split(".");let n=wn();for(let r=0;r<s.length;r++){const i=s[r],o=r===s.length-1;Object.prototype.hasOwnProperty.call(n,i)||(n[i]=o?t:{}),n=n[i]}return n},ge={version:"1.9.
|
|
1
|
+
const Zs=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerpolicy&&(i.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?i.credentials="include":r.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}};Zs();const _t={themes:{default:"sap_fiori_3",all:["sap_fiori_3","sap_fiori_3_dark","sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_dark","sap_horizon_hcb","sap_horizon_hcw","sap_horizon_exp"]},languages:{default:"en",all:["ar","bg","ca","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","in","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt_PT","pt","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh_CN","zh_TW"]},locales:{default:"en",all:["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sr_Latn","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"]}},Vt=_t.themes.default,zt=_t.languages.default,O=_t.locales.default,ue=_t.locales.all;var Je=()=>{const e=navigator.languages,t=()=>navigator.language;return e&&e[0]||t()||navigator.userLanguage||navigator.browserLanguage||zt},Xe={},Ye=Xe.hasOwnProperty,qs=Xe.toString,Qe=Ye.toString,Gs=Qe.call(Object),de=function(e){var t,s;return!e||qs.call(e)!=="[object Object]"?!1:(t=Object.getPrototypeOf(e),t?(s=Ye.call(t,"constructor")&&t.constructor,typeof s=="function"&&Qe.call(s)===Gs):!0)},Ks=Object.create(null),ts=function(){var e,t,s,n,r,i,o=arguments[2]||{},a=3,c=arguments.length,l=arguments[0]||!1,d=arguments[1]?void 0:Ks;for(typeof o!="object"&&typeof o!="function"&&(o={});a<c;a++)if((r=arguments[a])!=null)for(n in r)e=o[n],s=r[n],!(n==="__proto__"||o===s)&&(l&&s&&(de(s)||(t=Array.isArray(s)))?(t?(t=!1,i=e&&Array.isArray(e)?e:[]):i=e&&de(e)?e:{},o[n]=ts(l,arguments[1],i,s)):s!==d&&(o[n]=s));return o},te=function(){var e=[!0,!1];return e.push.apply(e,arguments),ts.apply(null,e)};const es=new Map,Js=(e,t)=>{es.set(e,t)},S=e=>es.get(e),Xs=e=>{const t=document.querySelector(`META[name="${e}"]`);return t&&t.getAttribute("content")},Ys=e=>{const t=Xs("sap-allowedThemeOrigins");return t&&t.split(",").some(s=>s==="*"||e===s.trim())},Qs=(e,t)=>{const s=new URL(e).pathname;return new URL(s,t).toString()},tn=e=>{let t,s;try{t=new URL(e);const n=t.origin;return t=t.toString(),t.startsWith(".")||t.startsWith("/")?s=new URL(t,window.location.href).toString():n&&Ys(n)?s=t.toString():s=Qs(t,window.location.href),s.endsWith("/")||(s=`${s}/`),`${s}UI5/`}catch{}};let he=!1,y={animationMode:"full",theme:Vt,themeRoot:null,rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{},fetchDefaultLanguage:!1};const en=()=>($(),y.animationMode),sn=()=>($(),y.theme),nn=()=>($(),y.themeRoot),rn=()=>($(),y.rtl),on=()=>($(),y.language),an=()=>($(),y.fetchDefaultLanguage),cn=()=>($(),y.noConflict),ln=()=>($(),y.calendarType),un=()=>($(),y.formatSettings),ft=new Map;ft.set("true",!0);ft.set("false",!1);const dn=()=>{const e=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let t;if(e){try{t=JSON.parse(e.innerHTML)}catch{console.warn("Incorrect data-sap-ui-config format. Please use JSON")}t&&(y=te(y,t))}},hn=()=>{const e=new URLSearchParams(window.location.search);e.forEach((t,s)=>{const n=s.split("sap-").length;n===0||n===s.split("sap-ui-").length||fe(s,t,"sap")}),e.forEach((t,s)=>{!s.startsWith("sap-ui")||fe(s,t,"sap-ui")})},fn=e=>{const t=e.split("@")[1];return tn(t)},pn=(e,t)=>e==="theme"&&t.includes("@")?t.split("@")[0]:t,fe=(e,t,s)=>{const n=t.toLowerCase(),r=e.split(`${s}-`)[1];ft.has(t)&&(t=ft.get(n)),r==="theme"?(y.theme=pn(r,t),t&&t.includes("@")&&(y.themeRoot=fn(t))):y[r]=t},gn=()=>{const e=S("OpenUI5Support");if(!e||!e.isLoaded())return;const t=e.getConfigurationSettingsObject();y=te(y,t)},$=()=>{he||(dn(),hn(),gn(),he=!0)};class R{constructor(){this._eventRegistry=new Map}attachEvent(t,s){const n=this._eventRegistry,r=n.get(t);if(!Array.isArray(r)){n.set(t,[s]);return}r.includes(s)||r.push(s)}detachEvent(t,s){const n=this._eventRegistry,r=n.get(t);if(!r)return;const i=r.indexOf(s);i!==-1&&r.splice(i,1),r.length===0&&n.delete(t)}fireEvent(t,s){const r=this._eventRegistry.get(t);return r?r.map(i=>i.call(this,s)):[]}fireEventAsync(t,s){return Promise.all(this.fireEvent(t,s))}isHandlerAttached(t,s){const r=this._eventRegistry.get(t);return r?r.includes(s):!1}hasListeners(t){return!!this._eventRegistry.get(t)}}const mn=new R,yn="languageChange",ss=e=>{mn.attachEvent(yn,e)},pe=10;class _n{constructor(){this.list=[],this.lookup=new Set}add(t){this.lookup.has(t)||(this.list.push(t),this.lookup.add(t))}remove(t){!this.lookup.has(t)||(this.list=this.list.filter(s=>s!==t),this.lookup.delete(t))}shift(){const t=this.list.shift();if(t)return this.lookup.delete(t),t}isEmpty(){return this.list.length===0}isAdded(t){return this.lookup.has(t)}process(t){let s;const n=new Map;for(s=this.shift();s;){const r=n.get(s)||0;if(r>pe)throw new Error(`Web component processed too many times this task, max allowed is: ${pe}`);t(s),n.set(s,r+1),s=this.shift()}}}const ns=e=>{const t=[];return e.forEach(s=>{t.push(s)}),t},rs=(e,t=document.body)=>{let s=document.querySelector(e);return s||(s=document.createElement(e),t.insertBefore(s,t.firstChild))},wn=()=>rs("ui5-shared-resources",document.head),x=(e,t)=>{const s=e.split(".");let n=wn();for(let r=0;r<s.length;r++){const i=s[r],o=r===s.length-1;Object.prototype.hasOwnProperty.call(n,i)||(n[i]=o?t:{}),n=n[i]}return n},ge={version:"1.9.3",major:1,minor:9,patch:3,suffix:"",isNext:!1,buildTime:1671194601};let at,vn="";const $t=new Map,G=x("Runtimes",[]),An=()=>{at===void 0&&(at=G.length,G.push({...ge,alias:vn,description:`Runtime ${at} - ver ${ge.version}`}))},is=()=>at,Sn=(e,t)=>{const s=`${e},${t}`;if($t.has(s))return $t.get(s);const n=G[e],r=G[t];if(!n||!r)throw new Error("Invalid runtime index supplied");if(n.isNext||r.isNext)return n.buildTime-r.buildTime;const i=n.major-r.major;if(i)return i;const o=n.minor-r.minor;if(o)return o;const a=n.patch-r.patch;if(a)return a;const l=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare(n.suffix,r.suffix);return $t.set(s,l),l},$n=()=>G,os=x("Tags",new Map),ee=new Set;let M={},bt;const as="unknown",me=e=>{ee.add(e),os.set(e,is())},bn=e=>ee.has(e),Cn=()=>ns(ee),Tn=e=>{let t=os.get(e);t===void 0&&(t=as),M[t]=M[t]||new Set,M[t].add(e),bt||(bt=setTimeout(()=>{En(),M={},bt=void 0},1e3))},En=()=>{const e=$n(),t=is(),s=e[t];let n="Multiple UI5 Web Components instances detected.";e.length>1&&(n=`${n}
|
|
2
2
|
Loading order (versions before 1.1.0 not listed): ${e.map(r=>`
|
|
3
3
|
${r.description}`).join("")}`),Object.keys(M).forEach(r=>{let i,o;r===as?(i=1,o={description:"Older unknown runtime"}):(i=Sn(t,r),o=e[r]);let a;i>0?a="an older":i<0?a="a newer":a="the same",n=`${n}
|
|
4
4
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-base",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.3",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.base",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@buxlabs/amd-to-es6": "0.16.1",
|
|
38
38
|
"@openui5/sap.ui.core": "1.101.0",
|
|
39
|
-
"@ui5/webcomponents-tools": "1.9.
|
|
39
|
+
"@ui5/webcomponents-tools": "1.9.3",
|
|
40
40
|
"chromedriver": "106.0.1",
|
|
41
41
|
"clean-css": "^5.2.2",
|
|
42
42
|
"copy-and-watch": "^0.1.5",
|