@auxilium/datalynk-client 1.3.20 → 1.3.21
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/dist/index.cjs +6 -3
- package/dist/index.mjs +6 -3
- package/dist/login-prompt.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1768,7 +1768,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1768
1768
|
this.close();
|
|
1769
1769
|
document.head.innerHTML += _LoginPrompt.css(this.options);
|
|
1770
1770
|
const div = document.createElement("div");
|
|
1771
|
-
div.innerHTML = _LoginPrompt.template(
|
|
1771
|
+
div.innerHTML = _LoginPrompt.template({
|
|
1772
|
+
...this.options,
|
|
1773
|
+
title: this.api.options.name
|
|
1774
|
+
});
|
|
1772
1775
|
document.body.appendChild(div);
|
|
1773
1776
|
this.alert = document.querySelector("#datalynk-login-alert");
|
|
1774
1777
|
this.button = document.querySelector("#datalynk-login-form button");
|
|
@@ -2077,7 +2080,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2077
2080
|
</form>
|
|
2078
2081
|
</div>
|
|
2079
2082
|
<div class="login-links" style="text-align: center">
|
|
2080
|
-
${((_a = options == null ? void 0 : options.pwaSettings) == null ? void 0 : _a.loginLink) === true && !["ios", "mac"].includes(options.platform) ? `
|
|
2083
|
+
${((_a = options == null ? void 0 : options.pwaSettings) == null ? void 0 : _a.loginLink) === true && !["ios", "mac"].includes(options.platform) && !matchMedia("(display-mode: standalone)").matches && !(navigator == null ? void 0 : navigator.standalone) && !document.referrer.includes("android-app://") && localStorage.getItem(`${options.title || "Datalynk"}:pwa`) !== "installed" ? `
|
|
2081
2084
|
<a href="#" id="pwa-install-link" style="margin-right: 1rem;" title="Install App">
|
|
2082
2085
|
<svg xmlns="http://www.w3.org/2000/svg" height="40px" viewBox="0 0 24 24" width="40px" fill="${options.color || "#0B76FC"}">
|
|
2083
2086
|
<path d="M12 16l4-5h-3V4h-2v7H8z"/><path d="M20 18H4v-2h16v2z"/>
|
|
@@ -3769,7 +3772,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3769
3772
|
} });
|
|
3770
3773
|
}
|
|
3771
3774
|
}
|
|
3772
|
-
const version = "1.3.
|
|
3775
|
+
const version = "1.3.21";
|
|
3773
3776
|
class WebRtc {
|
|
3774
3777
|
constructor(api) {
|
|
3775
3778
|
__publicField(this, "ice");
|
package/dist/index.mjs
CHANGED
|
@@ -1764,7 +1764,10 @@ const _LoginPrompt = class _LoginPrompt {
|
|
|
1764
1764
|
this.close();
|
|
1765
1765
|
document.head.innerHTML += _LoginPrompt.css(this.options);
|
|
1766
1766
|
const div = document.createElement("div");
|
|
1767
|
-
div.innerHTML = _LoginPrompt.template(
|
|
1767
|
+
div.innerHTML = _LoginPrompt.template({
|
|
1768
|
+
...this.options,
|
|
1769
|
+
title: this.api.options.name
|
|
1770
|
+
});
|
|
1768
1771
|
document.body.appendChild(div);
|
|
1769
1772
|
this.alert = document.querySelector("#datalynk-login-alert");
|
|
1770
1773
|
this.button = document.querySelector("#datalynk-login-form button");
|
|
@@ -2073,7 +2076,7 @@ __publicField(_LoginPrompt, "template", (options) => {
|
|
|
2073
2076
|
</form>
|
|
2074
2077
|
</div>
|
|
2075
2078
|
<div class="login-links" style="text-align: center">
|
|
2076
|
-
${((_a = options == null ? void 0 : options.pwaSettings) == null ? void 0 : _a.loginLink) === true && !["ios", "mac"].includes(options.platform) ? `
|
|
2079
|
+
${((_a = options == null ? void 0 : options.pwaSettings) == null ? void 0 : _a.loginLink) === true && !["ios", "mac"].includes(options.platform) && !matchMedia("(display-mode: standalone)").matches && !(navigator == null ? void 0 : navigator.standalone) && !document.referrer.includes("android-app://") && localStorage.getItem(`${options.title || "Datalynk"}:pwa`) !== "installed" ? `
|
|
2077
2080
|
<a href="#" id="pwa-install-link" style="margin-right: 1rem;" title="Install App">
|
|
2078
2081
|
<svg xmlns="http://www.w3.org/2000/svg" height="40px" viewBox="0 0 24 24" width="40px" fill="${options.color || "#0B76FC"}">
|
|
2079
2082
|
<path d="M12 16l4-5h-3V4h-2v7H8z"/><path d="M20 18H4v-2h16v2z"/>
|
|
@@ -3765,7 +3768,7 @@ class Superuser {
|
|
|
3765
3768
|
} });
|
|
3766
3769
|
}
|
|
3767
3770
|
}
|
|
3768
|
-
const version = "1.3.
|
|
3771
|
+
const version = "1.3.21";
|
|
3769
3772
|
class WebRtc {
|
|
3770
3773
|
constructor(api) {
|
|
3771
3774
|
__publicField(this, "ice");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-prompt.d.ts","sourceRoot":"","sources":["../src/login-prompt.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AAGtC,uCAAuC;AACvC,MAAM,MAAM,kBAAkB,GAAG;IAChC,+BAA+B;IAC/B,QAAQ,CAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAC,EAAE,CAAC;IACzC,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,YAAY,GAAG,YAAY,GAAG,eAAe,CAAC;IAChF,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;IACl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,WAAW;IA2RX,OAAO,CAAC,QAAQ,CAAC,GAAG;aAAuB,KAAK,EAAE,MAAM;IAAS,OAAO,EAAE,kBAAkB;IA1RxG,mCAAmC;IACnC,OAAO,CAAC,MAAM,CAAC,GAAG,CAoLR;IAEV,8BAA8B;IAC9B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAqFrB;IAEF,OAAO,CAAC,KAAK,CAAO;IACpB,OAAO,CAAC,MAAM,CAAO;IACrB,OAAO,CAAC,IAAI,CAAO;IACnB,OAAO,CAAC,QAAQ,CAAO;IACvB,OAAO,CAAC,OAAO,CAAO;IACtB,OAAO,CAAC,QAAQ,CAAO;IAEvB,OAAO,CAAC,KAAK,CAAY;IACzB,oDAAoD;IACpD,IAAI,gBAAmD;gBAE1B,GAAG,EAAE,GAAG,EAAkB,KAAK,EAAE,MAAM,EAAS,OAAO,GAAE,kBAAuB;YAI/F,MAAM;YAsCN,aAAa;IAgB3B,6BAA6B;IAC7B,KAAK;IAKL,0CAA0C;IAC1C,MAAM;IAIN,8BAA8B;IAC9B,KAAK,CAAC,KAAK,EAAE,GAAG;CA4BhB"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@auxilium/datalynk-client",
|
|
3
3
|
"description": "Datalynk client library",
|
|
4
4
|
"repository": "https://gitlab.auxiliumgroup.com/auxilium/datalynk/datalynk-client",
|
|
5
|
-
"version": "1.3.
|
|
5
|
+
"version": "1.3.21",
|
|
6
6
|
"author": "Zak Timson <zaktimson@gmail.com>",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "./dist/index.cjs",
|