@bookipi/htmlgenerator 1.5.9-alpha2 → 1.5.9-alpha3
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/dist/watermark~rKbOnEXj.svg +11 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12050,19 +12050,19 @@ var _templateObject$g;
|
|
|
12050
12050
|
var html$g = String.raw;
|
|
12051
12051
|
var BookipayBrandFooter = function BookipayBrandFooter(_ref) {
|
|
12052
12052
|
var _ref$logoUrl = _ref.logoUrl,
|
|
12053
|
-
logoUrl = _ref$logoUrl === void 0 ?
|
|
12053
|
+
logoUrl = _ref$logoUrl === void 0 ? "https://s3.amazonaws.com/bookipi.com/assets/img/app/bookipi-brand-logo.png" : _ref$logoUrl,
|
|
12054
12054
|
_ref$title = _ref.title,
|
|
12055
|
-
title = _ref$title === void 0 ?
|
|
12055
|
+
title = _ref$title === void 0 ? "Generated by Free invoice app" : _ref$title,
|
|
12056
12056
|
_ref$cta = _ref.cta,
|
|
12057
12057
|
cta = _ref$cta === void 0 ? {
|
|
12058
|
-
label:
|
|
12059
|
-
url:
|
|
12058
|
+
label: "Download Bookipi App",
|
|
12059
|
+
url: "https://bookipiinvoice.app.link/uBAtQZtPLMb"
|
|
12060
12060
|
} : _ref$cta,
|
|
12061
12061
|
t = _ref.t;
|
|
12062
12062
|
if (!title) {
|
|
12063
|
-
return
|
|
12063
|
+
return "";
|
|
12064
12064
|
}
|
|
12065
|
-
return html$g(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["<div
|
|
12065
|
+
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>" : "");
|
|
12066
12066
|
};
|
|
12067
12067
|
|
|
12068
12068
|
var _templateObject$h;
|