@inploi/plugin-accessibility 3.9.7 → 3.9.9
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/cdn/index.js +1 -1
- package/package.json +3 -3
package/cdn/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This is an inploi sdk script. Learn more at https://inploi.com
|
|
2
2
|
|
|
3
|
-
"use strict";(()=>{var O=e=>e;var k="isdk_session";var L=new RegExp(`${k}=([^;]+)`);var s="inploi-a11y";var
|
|
3
|
+
"use strict";(()=>{var O=e=>e;var k="isdk_session";var L=new RegExp(`${k}=([^;]+)`);var s="inploi-a11y";var D={getCurrentScript:()=>{let e=document.getElementById(s);if(!e)return null;if(!(e instanceof HTMLScriptElement))throw new Error(`Element with id ${s} is not a script tag.`);return e},getScriptLocation:()=>{var e;return(e=document.querySelector("head"))!=null?e:document.body},createScript:e=>{let i=document.createElement("script");return i.id=s,i.src="https://acsbapp.com/apps/app/dist/js/app.js",i.async=!0,i.onload=function(){var t,n,o,r,a,l,c,p,u,d,g,f,y,m,b,h,w,P,_,v,S,x,E,C,A,I;window.acsbJS.init({statementLink:"",footerHtml:"Powered by inploi",hideMobile:!1,hideTrigger:e.showTrigger===!1,disableBgProcess:!1,language:(t=e.language)!=null?t:"en",position:(r=(o=(n=e.position)==null?void 0:n.x)==null?void 0:o.desktop)!=null?r:"right",leadColor:e.colors.interface,triggerColor:e.colors.trigger,triggerRadius:"50%",triggerPositionX:(c=(l=(a=e.position)==null?void 0:a.x)==null?void 0:l.desktop)!=null?c:"right",triggerPositionY:(d=(u=(p=e.position)==null?void 0:p.y)==null?void 0:u.desktop)!=null?d:"bottom",triggerIcon:"people",triggerSize:"medium",triggerOffsetX:(f=(g=e.position)==null?void 0:g.offsetX)==null?void 0:f.desktop,triggerOffsetY:(m=(y=e.position)==null?void 0:y.offsetY)==null?void 0:m.desktop,mobile:{triggerSize:"small",triggerPositionX:(w=(h=(b=e.position)==null?void 0:b.x)==null?void 0:h.mobile)!=null?w:"right",triggerPositionY:(v=(_=(P=e.position)==null?void 0:P.y)==null?void 0:_.mobile)!=null?v:"bottom",triggerOffsetX:(E=(x=(S=e.position)==null?void 0:S.offsetX)==null?void 0:x.mobile)!=null?E:4,triggerOffsetY:(I=(A=(C=e.position)==null?void 0:C.offsetY)==null?void 0:A.mobile)!=null?I:4,triggerRadius:"20"}})},i}},j=({logger:e,config:i,dom:t})=>{if(!(typeof window=="undefined"||t.getCurrentScript()!==null))try{let o=t.getScriptLocation(),r=t.createScript(i);o.appendChild(r),e==null||e.info("Accessibility plugin initialised")}catch(o){e==null||e.error("Accessibility plugin failed to initialise",o)}},T=e=>O(({logger:i})=>({initialiseWidget:()=>j({logger:i,config:e.widget,dom:D})}));if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.accessibilityPlugin=T;})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-accessibility",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.9",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@inploi/core": "1.
|
|
19
|
+
"@inploi/core": "1.15.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@inploi/sdk": "*"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"happy-dom": "^12.6.0",
|
|
30
30
|
"ts-toolbelt": "^9.6.0",
|
|
31
31
|
"tsup": "^7.2.0",
|
|
32
|
-
"@inploi/sdk": "1.14.
|
|
32
|
+
"@inploi/sdk": "1.14.10",
|
|
33
33
|
"eslint-config-custom": "0.1.0",
|
|
34
34
|
"tsconfig": "0.1.0"
|
|
35
35
|
},
|