@designcrowd/library.brand-page 5.16.18-save-15 → 5.16.18-save-17

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.
Files changed (24) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-Dm2Jxe68.js → CreatedOnBrandCrowd-de-de-DuYBijnr.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-CNdMhgWg.js → CreatedOnBrandCrowd-en-us-CnU_1M4b.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-CZOE1JXZ.js → CreatedOnBrandCrowd-es-es-k3pFHiFk.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-CGVJmRwT.js → CreatedOnBrandCrowd-fr-ca-Crf8Zo_p.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-CGVJmRwT.js → CreatedOnBrandCrowd-fr-fr-Crf8Zo_p.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-yBesxVL-.js → CreatedOnBrandCrowd-pt-br-DQNc35dz.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-yBesxVL-.js → CreatedOnBrandCrowd-pt-pt-DQNc35dz.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-C6jKKIva.js → CreatedOnDcom-de-de-DAi3TSsl.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-BzybYVxC.js → CreatedOnDcom-en-us-Dx0HhRDQ.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-BFEmIe0C.js → CreatedOnDcom-es-es-pUnxscff.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-DO_zPAo4.js → CreatedOnDcom-fr-ca-BH7AGcH5.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-BobIOVQi.js → CreatedOnDcom-fr-fr-DTP0-5lF.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-dW5GGeFu.js → CreatedOnDcom-pt-br-Dn_HoWZX.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-By9PhXQ8.js → CreatedOnDcom-pt-pt-D-vog5Px.js} +1 -1
  15. package/lib/src/brand-page/components/page/Page.mixin.js +3 -4
  16. package/lib/src/css/library.brand-page-brandCrowd.min.css +9 -9
  17. package/lib/src/css/library.brand-page-brandPage.min.css +9 -9
  18. package/lib/src/css/library.brand-page-designCom.min.css +9 -9
  19. package/lib/src/css/library.brand-page-preview.min.css +9 -9
  20. package/lib/src/index.mjs +1 -1
  21. package/lib/src/{lib-wQK8smLl.js → lib-dRlEZ1KV.js} +17 -18
  22. package/package.json +1 -1
  23. package/src/brand-page/components/page/Page.mixin.ts +2 -2
  24. package/src/brand-page/components/save-contact/SaveContactWidget.vue +11 -0
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-wQK8smLl.js";
2
+ import { _ as t } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-wQK8smLl.js";
2
+ import { _ as t } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-wQK8smLl.js";
2
+ import { _ as t } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-wQK8smLl.js";
2
+ import { _ as t } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-wQK8smLl.js";
2
+ import { _ as t } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-wQK8smLl.js";
2
+ import { _ as t } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-wQK8smLl.js";
2
+ import { _ as t } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-wQK8smLl.js";
2
+ import { _ as e } from "./lib-dRlEZ1KV.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-wQK8smLl.js";
2
+ import { _ as e } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-wQK8smLl.js";
2
+ import { _ as e } from "./lib-dRlEZ1KV.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-wQK8smLl.js";
2
+ import { _ as e } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-wQK8smLl.js";
2
+ import { _ as e } from "./lib-dRlEZ1KV.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-wQK8smLl.js";
2
+ import { _ as M } from "./lib-dRlEZ1KV.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-wQK8smLl.js";
2
+ import { _ as M } from "./lib-dRlEZ1KV.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -266,10 +266,9 @@ export default defineComponent({
266
266
  },
267
267
  shouldShowSaveContactWidget() {
268
268
  try {
269
- if (
270
- // this.context.isPreview ||
271
- // this.context.options?.showOnGeneratedPreviews === false ||
272
- !this.context.isBrandContact) {
269
+ if (this.context.isPreview ||
270
+ this.context.options?.showOnGeneratedPreviews === false ||
271
+ !this.context.isBrandContact) {
273
272
  return false;
274
273
  }
275
274
  const brandPageData = { pages: this.context?.pages || [] };
@@ -7188,7 +7188,7 @@ to {
7188
7188
  font-family: Lato, Helvetica, sans-serif;
7189
7189
  }
7190
7190
 
7191
- .brand-page__footer[data-v-eec21c59] {
7191
+ .brand-page__footer[data-v-94f275b9] {
7192
7192
  display: -webkit-box;
7193
7193
  display: -ms-flexbox;
7194
7194
  display: flex;
@@ -7196,7 +7196,7 @@ to {
7196
7196
  -ms-flex-pack: center;
7197
7197
  justify-content: center;
7198
7198
  }
7199
- .brand-page__footer-link[data-v-eec21c59] {
7199
+ .brand-page__footer-link[data-v-94f275b9] {
7200
7200
  display: block;
7201
7201
  border-radius: 0.25rem;
7202
7202
  padding: 0.75rem;
@@ -7204,25 +7204,25 @@ to {
7204
7204
  -webkit-transition: background 0.2s ease-in-out;
7205
7205
  transition: background 0.2s ease-in-out;
7206
7206
  }
7207
- .brand-page__footer-link[data-v-eec21c59]:hover {
7207
+ .brand-page__footer-link[data-v-94f275b9]:hover {
7208
7208
  opacity: 0.9;
7209
7209
  }
7210
- .icon-container[data-v-eec21c59] {
7210
+ .icon-container[data-v-94f275b9] {
7211
7211
  width: 20px;
7212
7212
  overflow: hidden;
7213
7213
  }
7214
- .extra-height[data-v-eec21c59] {
7214
+ .extra-height[data-v-94f275b9] {
7215
7215
  -webkit-transition: height 0.5s ease-in-out;
7216
7216
  transition: height 0.5s ease-in-out;
7217
7217
  width: 100%;
7218
7218
  }
7219
- .c-button__label[data-v-eec21c59] {
7219
+ .c-button__label[data-v-94f275b9] {
7220
7220
  margin: 0 auto;
7221
7221
  word-break: break-word;
7222
7222
  overflow-wrap: anywhere;
7223
7223
  width: auto;
7224
7224
  }
7225
- .c-button[data-v-eec21c59] {
7225
+ .c-button[data-v-94f275b9] {
7226
7226
  --icon-h: 1.5rem;
7227
7227
  --icon-m-r: 0.5rem;
7228
7228
  --icon-m-icon: 0.5rem;
@@ -7237,10 +7237,10 @@ to {
7237
7237
  -ms-flex-align: center !important;
7238
7238
  align-items: center !important;
7239
7239
  }
7240
- .button__icon[data-v-eec21c59] {
7240
+ .button__icon[data-v-94f275b9] {
7241
7241
  margin-right: var(--icon-m-r);
7242
7242
  }
7243
- .btn-max-width[data-v-eec21c59] {
7243
+ .btn-max-width[data-v-94f275b9] {
7244
7244
  max-width: 315px;
7245
7245
  width: 100%;
7246
7246
  }
@@ -7505,7 +7505,7 @@ to {
7505
7505
  font-family: Lato, Helvetica, sans-serif;
7506
7506
  }
7507
7507
 
7508
- .brand-page__footer[data-v-eec21c59] {
7508
+ .brand-page__footer[data-v-94f275b9] {
7509
7509
  display: -webkit-box;
7510
7510
  display: -ms-flexbox;
7511
7511
  display: flex;
@@ -7513,7 +7513,7 @@ to {
7513
7513
  -ms-flex-pack: center;
7514
7514
  justify-content: center;
7515
7515
  }
7516
- .brand-page__footer-link[data-v-eec21c59] {
7516
+ .brand-page__footer-link[data-v-94f275b9] {
7517
7517
  display: block;
7518
7518
  border-radius: 0.25rem;
7519
7519
  padding: 0.75rem;
@@ -7521,25 +7521,25 @@ to {
7521
7521
  -webkit-transition: background 0.2s ease-in-out;
7522
7522
  transition: background 0.2s ease-in-out;
7523
7523
  }
7524
- .brand-page__footer-link[data-v-eec21c59]:hover {
7524
+ .brand-page__footer-link[data-v-94f275b9]:hover {
7525
7525
  opacity: 0.9;
7526
7526
  }
7527
- .icon-container[data-v-eec21c59] {
7527
+ .icon-container[data-v-94f275b9] {
7528
7528
  width: 20px;
7529
7529
  overflow: hidden;
7530
7530
  }
7531
- .extra-height[data-v-eec21c59] {
7531
+ .extra-height[data-v-94f275b9] {
7532
7532
  -webkit-transition: height 0.5s ease-in-out;
7533
7533
  transition: height 0.5s ease-in-out;
7534
7534
  width: 100%;
7535
7535
  }
7536
- .c-button__label[data-v-eec21c59] {
7536
+ .c-button__label[data-v-94f275b9] {
7537
7537
  margin: 0 auto;
7538
7538
  word-break: break-word;
7539
7539
  overflow-wrap: anywhere;
7540
7540
  width: auto;
7541
7541
  }
7542
- .c-button[data-v-eec21c59] {
7542
+ .c-button[data-v-94f275b9] {
7543
7543
  --icon-h: 1.5rem;
7544
7544
  --icon-m-r: 0.5rem;
7545
7545
  --icon-m-icon: 0.5rem;
@@ -7554,10 +7554,10 @@ to {
7554
7554
  -ms-flex-align: center !important;
7555
7555
  align-items: center !important;
7556
7556
  }
7557
- .button__icon[data-v-eec21c59] {
7557
+ .button__icon[data-v-94f275b9] {
7558
7558
  margin-right: var(--icon-m-r);
7559
7559
  }
7560
- .btn-max-width[data-v-eec21c59] {
7560
+ .btn-max-width[data-v-94f275b9] {
7561
7561
  max-width: 315px;
7562
7562
  width: 100%;
7563
7563
  }
@@ -7206,7 +7206,7 @@ to {
7206
7206
  font-family: Lato, Helvetica, sans-serif;
7207
7207
  }
7208
7208
 
7209
- .brand-page__footer[data-v-eec21c59] {
7209
+ .brand-page__footer[data-v-94f275b9] {
7210
7210
  display: -webkit-box;
7211
7211
  display: -ms-flexbox;
7212
7212
  display: flex;
@@ -7214,7 +7214,7 @@ to {
7214
7214
  -ms-flex-pack: center;
7215
7215
  justify-content: center;
7216
7216
  }
7217
- .brand-page__footer-link[data-v-eec21c59] {
7217
+ .brand-page__footer-link[data-v-94f275b9] {
7218
7218
  display: block;
7219
7219
  border-radius: 0.5rem;
7220
7220
  padding: 0.75rem;
@@ -7222,25 +7222,25 @@ to {
7222
7222
  -webkit-transition: background 0.2s ease-in-out;
7223
7223
  transition: background 0.2s ease-in-out;
7224
7224
  }
7225
- .brand-page__footer-link[data-v-eec21c59]:hover {
7225
+ .brand-page__footer-link[data-v-94f275b9]:hover {
7226
7226
  opacity: 0.9;
7227
7227
  }
7228
- .icon-container[data-v-eec21c59] {
7228
+ .icon-container[data-v-94f275b9] {
7229
7229
  width: 20px;
7230
7230
  overflow: hidden;
7231
7231
  }
7232
- .extra-height[data-v-eec21c59] {
7232
+ .extra-height[data-v-94f275b9] {
7233
7233
  -webkit-transition: height 0.5s ease-in-out;
7234
7234
  transition: height 0.5s ease-in-out;
7235
7235
  width: 100%;
7236
7236
  }
7237
- .c-button__label[data-v-eec21c59] {
7237
+ .c-button__label[data-v-94f275b9] {
7238
7238
  margin: 0 auto;
7239
7239
  word-break: break-word;
7240
7240
  overflow-wrap: anywhere;
7241
7241
  width: auto;
7242
7242
  }
7243
- .c-button[data-v-eec21c59] {
7243
+ .c-button[data-v-94f275b9] {
7244
7244
  --icon-h: 1.5rem;
7245
7245
  --icon-m-r: 0.5rem;
7246
7246
  --icon-m-icon: 0.5rem;
@@ -7255,10 +7255,10 @@ to {
7255
7255
  -ms-flex-align: center !important;
7256
7256
  align-items: center !important;
7257
7257
  }
7258
- .button__icon[data-v-eec21c59] {
7258
+ .button__icon[data-v-94f275b9] {
7259
7259
  margin-right: var(--icon-m-r);
7260
7260
  }
7261
- .btn-max-width[data-v-eec21c59] {
7261
+ .btn-max-width[data-v-94f275b9] {
7262
7262
  max-width: 315px;
7263
7263
  width: 100%;
7264
7264
  }
@@ -6932,7 +6932,7 @@ to {
6932
6932
  font-family: Lato, Helvetica, sans-serif;
6933
6933
  }
6934
6934
 
6935
- .bp .brand-page__footer[data-v-eec21c59] {
6935
+ .bp .brand-page__footer[data-v-94f275b9] {
6936
6936
  display: -webkit-box;
6937
6937
  display: -ms-flexbox;
6938
6938
  display: flex;
@@ -6940,7 +6940,7 @@ to {
6940
6940
  -ms-flex-pack: center;
6941
6941
  justify-content: center;
6942
6942
  }
6943
- .bp .brand-page__footer-link[data-v-eec21c59] {
6943
+ .bp .brand-page__footer-link[data-v-94f275b9] {
6944
6944
  display: block;
6945
6945
  border-radius: 0.25rem;
6946
6946
  padding: 0.75rem;
@@ -6948,25 +6948,25 @@ to {
6948
6948
  -webkit-transition: background 0.2s ease-in-out;
6949
6949
  transition: background 0.2s ease-in-out;
6950
6950
  }
6951
- .bp .brand-page__footer-link[data-v-eec21c59]:hover {
6951
+ .bp .brand-page__footer-link[data-v-94f275b9]:hover {
6952
6952
  opacity: 0.9;
6953
6953
  }
6954
- .bp .icon-container[data-v-eec21c59] {
6954
+ .bp .icon-container[data-v-94f275b9] {
6955
6955
  width: 20px;
6956
6956
  overflow: hidden;
6957
6957
  }
6958
- .bp .extra-height[data-v-eec21c59] {
6958
+ .bp .extra-height[data-v-94f275b9] {
6959
6959
  -webkit-transition: height 0.5s ease-in-out;
6960
6960
  transition: height 0.5s ease-in-out;
6961
6961
  width: 100%;
6962
6962
  }
6963
- .bp .c-button__label[data-v-eec21c59] {
6963
+ .bp .c-button__label[data-v-94f275b9] {
6964
6964
  margin: 0 auto;
6965
6965
  word-break: break-word;
6966
6966
  overflow-wrap: anywhere;
6967
6967
  width: auto;
6968
6968
  }
6969
- .bp .c-button[data-v-eec21c59] {
6969
+ .bp .c-button[data-v-94f275b9] {
6970
6970
  --icon-h: 1.5rem;
6971
6971
  --icon-m-r: 0.5rem;
6972
6972
  --icon-m-icon: 0.5rem;
@@ -6981,10 +6981,10 @@ to {
6981
6981
  -ms-flex-align: center !important;
6982
6982
  align-items: center !important;
6983
6983
  }
6984
- .bp .button__icon[data-v-eec21c59] {
6984
+ .bp .button__icon[data-v-94f275b9] {
6985
6985
  margin-right: var(--icon-m-r);
6986
6986
  }
6987
- .bp .btn-max-width[data-v-eec21c59] {
6987
+ .bp .btn-max-width[data-v-94f275b9] {
6988
6988
  max-width: 315px;
6989
6989
  width: 100%;
6990
6990
  }
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { bD as E, ar as T, aU as I, a5 as s, aj as N, ai as S, af as A, bt as e, bK as O, cb as G, ca as C, c9 as D, c3 as P, b2 as t, b1 as R, bP as L, bQ as M, bX as o, bM as b, bO as r, bN as F, bR as n, bS as B, c2 as i, c0 as l, aq as g, c1 as Y, a8 as U, aZ as c, a$ as d, a_ as u, e as H, f as y, B as p, $ as K, d as V, a0 as k, j as X, an as m, Z as v, bs as h, bL as W, ay as x, aW as f, aS as z, b_ as Z, bZ as w, C as Q, b5 as j, D as q, b as J, a as $, bV as aa, b4 as _a, aX as Ea, aT as Ta, c7 as Ia, c8 as sa, bY as Na, bH as Sa, ad as Aa, b$ as ea, c4 as Oa, ba as Ga, aK as Ca, bg as Da, F as Pa, a7 as ta, a6 as Ra, h as La, a1 as Ma, b7 as oa, aV as ba, aR as ra, a3 as Fa, ak as na, l as Ba, K as ia, H as la, a9 as ga, bE as Ya, bb as Ua, bc as ca, bC as da, bi as ua, bk as Ha, b6 as ya, L as pa, aJ as Ka, bp as Va, aP as ka, bo as Xa, as as ma, ab as va, bW as ha, c5 as Wa, c6 as xa, aY as fa, N as za, aB as Za, aA as wa, aC as Qa, aw as ja, ax as qa, az as Ja, be as $a, bl as a_, b8 as __, o as E_, al as T_, am as I_, ag as s_, ah as N_, ae as S_, a4 as A_, m as e_, bq as O_, ap as G_, bI as C_, bJ as D_, bU as P_, ac as t_, bG as R_, br as L_, n as M_, S as o_, P as b_, aI as r_, bF as F_, bf as n_, bx as B_, bw as i_, bz as l_, bu as g_, bA as Y_, bB as U_, bv as c_, by as d_, aD as u_, aE as H_, bn as y_, bm as p_, aG as K_, aH as V_, aM as k_, b0 as X_, aL as m_, aN as v_, U as h_, aa as W_, aQ as x_, k as f_, bd as z_, ao as Z_, b9 as w_, bh as Q_, bj as j_, b3 as q_, Q as J_, a2 as $_, g as aE, bT as _E, r as EE, u as TE, M as IE, Y as sE, aF as NE, aO as SE, au as AE, p as eE, W as OE, t as GE, w as CE, at as DE, i as PE, av as tE, c as RE, q as LE, v as ME, V as oE, O as bE, s as rE, X as FE, A as nE, x as BE, y as iE, T as lE, E as gE, R as YE, G as UE, J as cE, z as dE, I as uE } from "./lib-wQK8smLl.js";
1
+ import { bD as E, ar as T, aU as I, a5 as s, aj as N, ai as S, af as A, bt as e, bK as O, cb as G, ca as C, c9 as D, c3 as P, b2 as t, b1 as R, bP as L, bQ as M, bX as o, bM as b, bO as r, bN as F, bR as n, bS as B, c2 as i, c0 as l, aq as g, c1 as Y, a8 as U, aZ as c, a$ as d, a_ as u, e as H, f as y, B as p, $ as K, d as V, a0 as k, j as X, an as m, Z as v, bs as h, bL as W, ay as x, aW as f, aS as z, b_ as Z, bZ as w, C as Q, b5 as j, D as q, b as J, a as $, bV as aa, b4 as _a, aX as Ea, aT as Ta, c7 as Ia, c8 as sa, bY as Na, bH as Sa, ad as Aa, b$ as ea, c4 as Oa, ba as Ga, aK as Ca, bg as Da, F as Pa, a7 as ta, a6 as Ra, h as La, a1 as Ma, b7 as oa, aV as ba, aR as ra, a3 as Fa, ak as na, l as Ba, K as ia, H as la, a9 as ga, bE as Ya, bb as Ua, bc as ca, bC as da, bi as ua, bk as Ha, b6 as ya, L as pa, aJ as Ka, bp as Va, aP as ka, bo as Xa, as as ma, ab as va, bW as ha, c5 as Wa, c6 as xa, aY as fa, N as za, aB as Za, aA as wa, aC as Qa, aw as ja, ax as qa, az as Ja, be as $a, bl as a_, b8 as __, o as E_, al as T_, am as I_, ag as s_, ah as N_, ae as S_, a4 as A_, m as e_, bq as O_, ap as G_, bI as C_, bJ as D_, bU as P_, ac as t_, bG as R_, br as L_, n as M_, S as o_, P as b_, aI as r_, bF as F_, bf as n_, bx as B_, bw as i_, bz as l_, bu as g_, bA as Y_, bB as U_, bv as c_, by as d_, aD as u_, aE as H_, bn as y_, bm as p_, aG as K_, aH as V_, aM as k_, b0 as X_, aL as m_, aN as v_, U as h_, aa as W_, aQ as x_, k as f_, bd as z_, ao as Z_, b9 as w_, bh as Q_, bj as j_, b3 as q_, Q as J_, a2 as $_, g as aE, bT as _E, r as EE, u as TE, M as IE, Y as sE, aF as NE, aO as SE, au as AE, p as eE, W as OE, t as GE, w as CE, at as DE, i as PE, av as tE, c as RE, q as LE, v as ME, V as oE, O as bE, s as rE, X as FE, A as nE, x as BE, y as iE, T as lE, E as gE, R as YE, G as UE, J as cE, z as dE, I as uE } from "./lib-dRlEZ1KV.js";
2
2
  import { createPinia as yE, setActivePinia as pE } from "pinia";
3
3
  export {
4
4
  E as ABOUT_SECTION_SETTINGS_CONFIG,
@@ -39658,18 +39658,14 @@ const Iy1 = {
39658
39658
  return df(this.context);
39659
39659
  },
39660
39660
  shouldShowSaveContactWidget() {
39661
- var e;
39661
+ var e, t;
39662
39662
  try {
39663
- if (
39664
- // this.context.isPreview ||
39665
- // this.context.options?.showOnGeneratedPreviews === false ||
39666
- !this.context.isBrandContact
39667
- )
39663
+ if (this.context.isPreview || ((e = this.context.options) == null ? void 0 : e.showOnGeneratedPreviews) === !1 || !this.context.isBrandContact)
39668
39664
  return !1;
39669
- const t = { pages: ((e = this.context) == null ? void 0 : e.pages) || [] };
39670
- return PH(t);
39671
- } catch (t) {
39672
- return console.error("Error checking profile content:", t), !1;
39665
+ const n = { pages: ((t = this.context) == null ? void 0 : t.pages) || [] };
39666
+ return PH(n);
39667
+ } catch (n) {
39668
+ return console.error("Error checking profile content:", n), !1;
39673
39669
  }
39674
39670
  }
39675
39671
  },
@@ -59006,10 +59002,10 @@ const un = /* @__PURE__ */ v5(rL1), aL1 = (e, t, n) => {
59006
59002
  Ct(() => n.context.isDesignCom, async () => {
59007
59003
  const S = V9().toLowerCase(), _ = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
59008
59004
  try {
59009
- const { default: k } = await dM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-Dm2Jxe68.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CNdMhgWg.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-CZOE1JXZ.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-CGVJmRwT.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-CGVJmRwT.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-yBesxVL-.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-yBesxVL-.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-C6jKKIva.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BzybYVxC.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BFEmIe0C.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-DO_zPAo4.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-BobIOVQi.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-dW5GGeFu.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-By9PhXQ8.js") }), `./watermark/CreatedOn${_}-${S}.vue`, 3);
59005
+ const { default: k } = await dM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-DuYBijnr.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CnU_1M4b.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-k3pFHiFk.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Crf8Zo_p.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Crf8Zo_p.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-DQNc35dz.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-DQNc35dz.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DAi3TSsl.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-Dx0HhRDQ.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-pUnxscff.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-BH7AGcH5.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-DTP0-5lF.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-Dn_HoWZX.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-D-vog5Px.js") }), `./watermark/CreatedOn${_}-${S}.vue`, 3);
59010
59006
  i.value = k;
59011
59007
  } catch {
59012
- const { default: V } = await dM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CNdMhgWg.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BzybYVxC.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
59008
+ const { default: V } = await dM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CnU_1M4b.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-Dx0HhRDQ.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
59013
59009
  i.value = V;
59014
59010
  }
59015
59011
  }, {
@@ -68114,7 +68110,8 @@ const XN1 = /* @__PURE__ */ v(jN1, [["render", YN1]]), JN1 = { key: 0 }, QN1 = {
68114
68110
  const t = e, n = (A3 == null ? void 0 : A3()) || null, i = (Nt == null ? void 0 : Nt()) || null, o = V1(!1), s = Rt({
68115
68111
  extraHeightStyle: { height: "0px" },
68116
68112
  buttonPositionStyle: { bottom: "0px" },
68117
- showPopup: !1
68113
+ showPopup: !1,
68114
+ isProcessing: !1
68118
68115
  }), r = Cg(), a = (m) => {
68119
68116
  m ? setTimeout(() => {
68120
68117
  var w;
@@ -68133,21 +68130,23 @@ const XN1 = /* @__PURE__ */ v(jN1, [["render", YN1]]), JN1 = { key: 0 }, QN1 = {
68133
68130
  }
68134
68131
  );
68135
68132
  const l = () => {
68136
- i == null || i.sendWebsiteEvent({
68133
+ if (s.isProcessing)
68134
+ return;
68135
+ s.isProcessing = !0, i == null || i.sendWebsiteEvent({
68137
68136
  eventName: nt.WEBSITE_SAVE_CONTACT,
68138
68137
  eventProps: {}
68139
68138
  });
68140
68139
  const m = { pages: t.context.pages || [] };
68141
68140
  if (!PH(m)) {
68142
- console.warn("No contact information found");
68141
+ console.warn("No contact information found"), s.isProcessing = !1;
68143
68142
  return;
68144
68143
  }
68145
68144
  try {
68146
68145
  Fy1(m), setTimeout(() => {
68147
- s.showPopup = !0;
68146
+ s.showPopup = !0, s.isProcessing = !1;
68148
68147
  }, 500);
68149
68148
  } catch (y) {
68150
- console.error("Failed to save contact:", y);
68149
+ console.error("Failed to save contact:", y), s.isProcessing = !1;
68151
68150
  }
68152
68151
  }, d = () => Fr("saveContactButton"), c = I(() => {
68153
68152
  var m, y;
@@ -68217,7 +68216,7 @@ const XN1 = /* @__PURE__ */ v(jN1, [["render", YN1]]), JN1 = { key: 0 }, QN1 = {
68217
68216
  ])
68218
68217
  ])) : M("", !0);
68219
68218
  }
68220
- }), CR1 = /* @__PURE__ */ v(uR1, [["__scopeId", "data-v-eec21c59"]]), pR1 = {
68219
+ }), CR1 = /* @__PURE__ */ v(uR1, [["__scopeId", "data-v-94f275b9"]]), pR1 = {
68221
68220
  components: {
68222
68221
  MediaQuery: $E,
68223
68222
  NavigationSideMenu: RN1,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designcrowd/library.brand-page",
3
3
  "description": "A collection of Maker/Designer applications",
4
- "version": "5.16.18-save-15",
4
+ "version": "5.16.18-save-17",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -368,8 +368,8 @@ export default defineComponent({
368
368
  shouldShowSaveContactWidget(): boolean {
369
369
  try {
370
370
  if (
371
- // this.context.isPreview ||
372
- // this.context.options?.showOnGeneratedPreviews === false ||
371
+ this.context.isPreview ||
372
+ this.context.options?.showOnGeneratedPreviews === false ||
373
373
  !this.context.isBrandContact
374
374
  ) {
375
375
  return false;
@@ -72,6 +72,7 @@ const data = reactive({
72
72
  extraHeightStyle: { height: '0px' },
73
73
  buttonPositionStyle: { bottom: '0px' },
74
74
  showPopup: false,
75
+ isProcessing: false,
75
76
  });
76
77
 
77
78
  const consent = useConsent();
@@ -106,6 +107,13 @@ watch(
106
107
  );
107
108
 
108
109
  const onSaveContactClick = (): void => {
110
+ // Prevent double clicks
111
+ if (data.isProcessing) {
112
+ return;
113
+ }
114
+
115
+ data.isProcessing = true;
116
+
109
117
  eventTracker?.sendWebsiteEvent({
110
118
  eventName: EVENTS.WEBSITE_SAVE_CONTACT,
111
119
  eventProps: {},
@@ -116,6 +124,7 @@ const onSaveContactClick = (): void => {
116
124
  // Check if there's any contact information to save
117
125
  if (!hasProfileContent(brandPageData)) {
118
126
  console.warn('No contact information found');
127
+ data.isProcessing = false;
119
128
  return;
120
129
  }
121
130
 
@@ -125,9 +134,11 @@ const onSaveContactClick = (): void => {
125
134
  // Add delay for iOS - wait for file download to complete before showing popup
126
135
  setTimeout(() => {
127
136
  data.showPopup = true;
137
+ data.isProcessing = false;
128
138
  }, 500);
129
139
  } catch (error) {
130
140
  console.error('Failed to save contact:', error);
141
+ data.isProcessing = false;
131
142
  }
132
143
  };
133
144