@bookipi/htmlgenerator 1.5.9-alpha2 → 1.5.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/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -12049,19 +12049,19 @@ var _templateObject$g;
|
|
|
12049
12049
|
var html$g = String.raw;
|
|
12050
12050
|
var BookipayBrandFooter = function BookipayBrandFooter(_ref) {
|
|
12051
12051
|
var _ref$logoUrl = _ref.logoUrl,
|
|
12052
|
-
logoUrl = _ref$logoUrl === void 0 ?
|
|
12052
|
+
logoUrl = _ref$logoUrl === void 0 ? "https://s3.amazonaws.com/bookipi.com/assets/img/app/bookipi-brand-logo.png" : _ref$logoUrl,
|
|
12053
12053
|
_ref$title = _ref.title,
|
|
12054
|
-
title = _ref$title === void 0 ?
|
|
12054
|
+
title = _ref$title === void 0 ? "Generated by Free invoice app" : _ref$title,
|
|
12055
12055
|
_ref$cta = _ref.cta,
|
|
12056
12056
|
cta = _ref$cta === void 0 ? {
|
|
12057
|
-
label:
|
|
12058
|
-
url:
|
|
12057
|
+
label: "Download Bookipi App",
|
|
12058
|
+
url: "https://bookipiinvoice.app.link/uBAtQZtPLMb"
|
|
12059
12059
|
} : _ref$cta,
|
|
12060
12060
|
t = _ref.t;
|
|
12061
12061
|
if (!title) {
|
|
12062
|
-
return
|
|
12062
|
+
return "";
|
|
12063
12063
|
}
|
|
12064
|
-
return html$g(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["<div
|
|
12064
|
+
return html$g(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["<div\n class=\"print-footer\"\n style=\"background-color:#EBF5FF;padding:16px;display:flex;justify-content:space-between;align-items:center;position:fixed;bottom:0;left:0;right:0;\"\n >\n <div style=\"display: flex;color:black;flex:1;align-items:center;\">\n ", "\n ", "\n </div>\n ", "\n ", "\n </div>"])), logoUrl ? "<img alt=\"brand logo\" style=\"max-height:24px;margin-right:16px;\" src=\"" + logoUrl + "\" />" : "", t ? t(title) : title, cta !== null && cta !== void 0 && cta.label && cta !== null && cta !== void 0 && cta.url ? "<a class=\"btn-url\" href=\"" + cta.url + "\" style=\"color:#1C64F2;line-height:2;\" target=\"blank\">" + (t ? t(cta.label) : cta.label) + "</a>" : "", cta !== null && cta !== void 0 && cta.label && cta !== null && cta !== void 0 && cta.action ? "<span class=\"btn-url\" onclick=\"window.postMessage({ type: '" + (cta === null || cta === void 0 ? void 0 : cta.action) + "' }, '*')\" style=\"color:#1C64F2;line-height:2;font-weight:600;\">" + (t ? t(cta.label) : cta.label) + "</span>" : "");
|
|
12065
12065
|
};
|
|
12066
12066
|
|
|
12067
12067
|
var _templateObject$h;
|