@bookipi/htmlgenerator 1.4.4-alpha2 → 1.4.4-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 CHANGED
@@ -12108,7 +12108,7 @@ var BookipayBrandFooter = function BookipayBrandFooter(_ref) {
12108
12108
  var _ref$logoUrl = _ref.logoUrl,
12109
12109
  logoUrl = _ref$logoUrl === void 0 ? 'https://s3.amazonaws.com/bookipi.com/assets/img/app/bookipi-brand-logo.png' : _ref$logoUrl,
12110
12110
  _ref$title = _ref.title,
12111
- title = _ref$title === void 0 ? 'Generated by Bookipi' : _ref$title,
12111
+ title = _ref$title === void 0 ? 'Generated by Free invoice app' : _ref$title,
12112
12112
  _ref$cta = _ref.cta,
12113
12113
  cta = _ref$cta === void 0 ? {
12114
12114
  label: 'Download Bookipi App',
@@ -12149,6 +12149,7 @@ var invoiceHtmlWithDetails = (function (_ref) {
12149
12149
  signItIntegration = _ref$signItIntegratio === void 0 ? false : _ref$signItIntegratio,
12150
12150
  _ref$showFooterBrand = _ref.showFooterBrand,
12151
12151
  showFooterBrand = _ref$showFooterBrand === void 0 ? false : _ref$showFooterBrand,
12152
+ footerBrandText = _ref.footerBrandText,
12152
12153
  t = _ref.t;
12153
12154
  invoice = sanitize(invoice);
12154
12155
  var defaultLang = {
@@ -12259,7 +12260,8 @@ var invoiceHtmlWithDetails = (function (_ref) {
12259
12260
  }), InvoiceAttachments({
12260
12261
  attachments: attachments
12261
12262
  }), showFooterBrand ? BookipayBrandFooter({
12262
- t: t
12263
+ t: t,
12264
+ title: footerBrandText
12263
12265
  }) : "", !removeHtmlStandardDom ? "</body></html>" : "");
12264
12266
  return {
12265
12267
  html: html,
@@ -12645,6 +12647,7 @@ var invoiceHtmlWithDetailsNew = (function (_ref) {
12645
12647
  signItIntegration = _ref$signItIntegratio === void 0 ? false : _ref$signItIntegratio,
12646
12648
  _ref$showFooterBrand = _ref.showFooterBrand,
12647
12649
  showFooterBrand = _ref$showFooterBrand === void 0 ? false : _ref$showFooterBrand,
12650
+ footerBrandText = _ref.footerBrandText,
12648
12651
  t = _ref.t,
12649
12652
  _ref$showWatermark = _ref.showWatermark,
12650
12653
  showWatermark = _ref$showWatermark === void 0 ? false : _ref$showWatermark;
@@ -12766,7 +12769,8 @@ var invoiceHtmlWithDetailsNew = (function (_ref) {
12766
12769
  }), InvoiceAttachments({
12767
12770
  attachments: attachments
12768
12771
  }), showFooterBrand ? BookipayBrandFooter({
12769
- t: t
12772
+ t: t,
12773
+ title: footerBrandText
12770
12774
  }) : "", !removeHtmlStandardDom ? "</body></html>" : "");
12771
12775
  return {
12772
12776
  html: html,
@@ -12806,6 +12810,7 @@ var invoiceHtml = (function (_ref) {
12806
12810
  isNewLayout = _ref$isNewLayout === void 0 ? false : _ref$isNewLayout,
12807
12811
  _ref$showFooterBrand = _ref.showFooterBrand,
12808
12812
  showFooterBrand = _ref$showFooterBrand === void 0 ? false : _ref$showFooterBrand,
12813
+ footerBrandText = _ref.footerBrandText,
12809
12814
  _ref$showWatermark = _ref.showWatermark,
12810
12815
  showWatermark = _ref$showWatermark === void 0 ? false : _ref$showWatermark;
12811
12816
  var renderInvoice = isNewLayout ? invoiceHtmlWithDetailsNew : invoiceHtmlWithDetails;
@@ -12823,6 +12828,7 @@ var invoiceHtml = (function (_ref) {
12823
12828
  itemWidth: itemWidth,
12824
12829
  forceItemUnitPriceDecimal: forceItemUnitPriceDecimal,
12825
12830
  showFooterBrand: showFooterBrand,
12831
+ footerBrandText: footerBrandText,
12826
12832
  signItIntegration: signItIntegration,
12827
12833
  t: t,
12828
12834
  showWatermark: showWatermark
@@ -13000,6 +13006,7 @@ var InvoiceCompatHtml = function InvoiceCompatHtml(_ref) {
13000
13006
  isNewLayout = _ref$isNewLayout === void 0 ? false : _ref$isNewLayout,
13001
13007
  _ref$showFooterBrand = _ref.showFooterBrand,
13002
13008
  showFooterBrand = _ref$showFooterBrand === void 0 ? false : _ref$showFooterBrand,
13009
+ footerBrandText = _ref.footerBrandText,
13003
13010
  _ref$showWatermark = _ref.showWatermark,
13004
13011
  showWatermark = _ref$showWatermark === void 0 ? false : _ref$showWatermark;
13005
13012
  return invoiceHtml({
@@ -13017,6 +13024,7 @@ var InvoiceCompatHtml = function InvoiceCompatHtml(_ref) {
13017
13024
  t: t,
13018
13025
  isNewLayout: isNewLayout,
13019
13026
  showFooterBrand: showFooterBrand,
13027
+ footerBrandText: footerBrandText,
13020
13028
  showWatermark: showWatermark
13021
13029
  });
13022
13030
  };