@cling-se/widget 0.13.2 → 0.13.4

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 (117) hide show
  1. package/dist/{AddClientCallout-7LpWNu29.js → AddClientCallout-CUvV9hc1.js} +3 -3
  2. package/dist/{AnswerModal-DnTU4eo8.js → AnswerModal-D7YR33mx.js} +3 -3
  3. package/dist/{AttachmentItem-DcwbrFUh.js → AttachmentItem-vYrh1jQV.js} +2 -2
  4. package/dist/{BaseDatePicker-BpyeJH3N.js → BaseDatePicker-DSaM8YN4.js} +2 -2
  5. package/dist/{BaseInput-DJreiE5M.js → BaseInput-BB_8vX5k.js} +1 -1
  6. package/dist/{BaseUpload-iosxX2-N.js → BaseUpload-CE-cfz2U.js} +2 -2
  7. package/dist/{BlockMedia-DnbdVEZz.js → BlockMedia-4UgM2vFY.js} +1 -1
  8. package/dist/{CCallout-CgviPbdr.js → CCallout-CtYNOt9d.js} +2 -2
  9. package/dist/{CDropdownItem-CTJ55d4m.js → CDropdownItem-BKFex9lI.js} +1 -1
  10. package/dist/{CField-FGP7ehRq.js → CField-BbFsOKA1.js} +1 -1
  11. package/dist/{CPhoneFormat-8u5dmTPd.js → CPhoneFormat-B8yjrsxy.js} +1 -1
  12. package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-CGVIE7T8.js} +1 -1
  13. package/dist/{ClientAutocomplete-hcl0bJxO.js → ClientAutocomplete-BOuabEqx.js} +2 -2
  14. package/dist/{ClientModal-B8PkUqY2.js → ClientModal-7qU_FTFB.js} +4 -4
  15. package/dist/{ColorPicker-6AIHrfJ5.js → ColorPicker-D8aJWIFD.js} +1 -1
  16. package/dist/{CompanyModal-H4hHfy7Y.js → CompanyModal-Cq0_G38j.js} +4 -4
  17. package/dist/{ContentWrapper-CHZtfhFI.js → ContentWrapper-Dlg9OxYv.js} +6 -6
  18. package/dist/{CoverBlockSettings-etwL5N5l.js → CoverBlockSettings-B-CEGFdt.js} +5 -5
  19. package/dist/{DocAnswer-Udn1ItYd.js → DocAnswer-CFFVsUy6.js} +2 -2
  20. package/dist/{DocDetails-BQz-is7P.js → DocDetails-JTcgjxhA.js} +4 -4
  21. package/dist/{DocForm-Cvuxr89v.js → DocForm-C_-eJ9d9.js} +122 -124
  22. package/dist/{DocFormSend-Bo6YPSMr.js → DocFormSend-Cd-SB1W9.js} +3 -3
  23. package/dist/{DocLinks-DlWyanFQ.js → DocLinks-DhKKFV4a.js} +2 -2
  24. package/dist/{DocModalBase-BnuOPozg.js → DocModalBase-NGK43bvU.js} +1 -1
  25. package/dist/{DocPrint-Uw8zz2tr.js → DocPrint-DVLg6cWG.js} +1 -1
  26. package/dist/{DocReceipt-DsRzRjD8.js → DocReceipt-BNMQvOlO.js} +1 -1
  27. package/dist/{DocSendReminder-BEEEh-L9.js → DocSendReminder-BCnYwnrS.js} +1 -1
  28. package/dist/{DocTextEditor-C-qeLSQa.js → DocTextEditor-B_yS_4RV.js} +8 -8
  29. package/dist/{DocTimeline-Bz29bHJu.js → DocTimeline-B3t6uo5e.js} +1 -1
  30. package/dist/{DocumentClient-1O7wxh-X.js → DocumentClient-UhpVi4HO.js} +5 -5
  31. package/dist/{DocumentLayout-BrN5peVY.js → DocumentLayout-C7nouJDC.js} +4 -4
  32. package/dist/{DocumentLogotype-Bbas4MsY.js → DocumentLogotype-ClZREzmO.js} +3 -3
  33. package/dist/{DocumentVoided-Dy-pp_ng.js → DocumentVoided-BpbC4bXx.js} +1 -1
  34. package/dist/{EmbedInput-bXXwMP4u.js → EmbedInput-BMmPfIdI.js} +2 -2
  35. package/dist/{EmbedSettings-BA2THNrd.js → EmbedSettings-DifnJvWL.js} +2 -2
  36. package/dist/{ErrorCallout-Dvy9895L.js → ErrorCallout-DIUyViuJ.js} +1 -1
  37. package/dist/{FilePreviewModal-r84Ah3lE.js → FilePreviewModal-DeDX4wRt.js} +2 -2
  38. package/dist/{Flag-CDN9A_59.js → Flag-Pf1Q2fSw.js} +1 -1
  39. package/dist/{HeaderSettings-DoDFhLcR.js → HeaderSettings-DYTfA3RK.js} +7 -7
  40. package/dist/{ImageSelectModal-D6ifkvIw.js → ImageSelectModal-BhncA-WP.js} +3 -3
  41. package/dist/{ImageUploadWrapper-K0-MmL-L.js → ImageUploadWrapper-ChAz3-dm.js} +2 -2
  42. package/dist/{Index-bIYFzizT.js → Index--GLCYqbJ.js} +2 -2
  43. package/dist/{Index-DWHl_jys.js → Index-3L8UNRT4.js} +3 -3
  44. package/dist/{Index-CSg7HLqX.js → Index-7oMiicd1.js} +4 -4
  45. package/dist/{Index-B6u3OUGH.js → Index-AcjJMstH.js} +2 -2
  46. package/dist/{Index-Btlub0dK.js → Index-B5GJGrBw.js} +1 -1
  47. package/dist/{Index-BQVjSt_5.js → Index-BH7cD6Bs.js} +8 -8
  48. package/dist/{Index-DwlzPadK.js → Index-BO4SyvD7.js} +7 -7
  49. package/dist/{Index-Cj_3udAp.js → Index-Bmnm8D9w.js} +5 -5
  50. package/dist/{Index-BVNgUe07.js → Index-BrRM_ky2.js} +2 -2
  51. package/dist/{Index-CUZJomAi.js → Index-Bs508DBI.js} +5 -5
  52. package/dist/{Index-b0dDsObZ.js → Index-BshXtSwo.js} +5 -5
  53. package/dist/{Index-BNGaREiU.js → Index-Bzi3BUPs.js} +5 -5
  54. package/dist/{Index-B6gB5CD3.js → Index-C2fVSXmZ.js} +4 -4
  55. package/dist/{Index-DoKh3I_O.js → Index-CBzialE3.js} +5 -5
  56. package/dist/{Index-ByCpvqCC.js → Index-CR2KFB-Y.js} +6 -6
  57. package/dist/{Index-Be-J2RvQ.js → Index-CdlsOYxA.js} +4 -4
  58. package/dist/{Index-phsroK51.js → Index-CijhAqbu.js} +4 -4
  59. package/dist/{Index-3p6X7Ln-.js → Index-CwH8vX7u.js} +3 -3
  60. package/dist/{Index-Dk-kPbWy.js → Index-D-M1LO4o.js} +2 -2
  61. package/dist/{Index-TPRXPN4a.js → Index-D2-kMtsJ.js} +4 -4
  62. package/dist/{Index-Di3ibm8r.js → Index-DPhcKOkk.js} +5 -5
  63. package/dist/{Index-B26J4tXQ.js → Index-DSOq_2Es.js} +4 -4
  64. package/dist/{Index-YdyeCcFX.js → Index-DTTt-IRf.js} +5 -5
  65. package/dist/{Index-DvA5sZ1U.js → Index-DW-pryBq.js} +4 -4
  66. package/dist/{Index-BN64idjX.js → Index-DYB7aHie.js} +6 -6
  67. package/dist/{Index-BNeg0lcx.js → Index-DzPN0uzB.js} +1 -1
  68. package/dist/{Index-DT9AWIQ2.js → Index-HMW5Mlsu.js} +6 -6
  69. package/dist/{Index-BtzGGZEN.js → Index-JdpEXP6c.js} +11 -11
  70. package/dist/{Index-Dl87oWQa.js → Index-YL6qqj3h.js} +3 -3
  71. package/dist/{Index-DnDY3FUU.js → Index-buM1dBWf.js} +4 -4
  72. package/dist/{Index-ID37TIgR.js → Index-cLpD7up3.js} +2 -2
  73. package/dist/{Index-CnOdi4ux.js → Index-jgHwHxRS.js} +2 -2
  74. package/dist/{Index-oYQ9EfP9.js → Index-m_GcuIx9.js} +4 -4
  75. package/dist/{Index-d5iMi4y5.js → Index-n0AfYfVe.js} +2 -2
  76. package/dist/{InputToggleRow-ClHkgn7s.js → InputToggleRow-CqjQTNp0.js} +1 -1
  77. package/dist/{ManualPopover-DrhgZvGC.js → ManualPopover-CoB4oOC-.js} +1 -1
  78. package/dist/{MediaWrapper-BxNEJOT7.js → MediaWrapper-DkaMgUWm.js} +3 -3
  79. package/dist/{NotBindingText-BhKMdYBN.js → NotBindingText-B1O0v5Vi.js} +2 -2
  80. package/dist/{PackageGroup--pDNkIMj.js → PackageGroup-DIONd0o7.js} +5 -5
  81. package/dist/{PdfTerms-BL34ex7f.js → PdfTerms-DHwhI0YJ.js} +2 -2
  82. package/dist/{PdfViewer-CPSINxc8.js → PdfViewer-DqrQ4Ghx.js} +2 -2
  83. package/dist/{PlainHtml-Dc76U4EV.js → PlainHtml-ZrDuRVoK.js} +1 -1
  84. package/dist/{PriceHeader-CEGF-DO3.js → PriceHeader-CRVld7HO.js} +6 -6
  85. package/dist/{SearchApi-D4yY2KZj.js → SearchApi-QGQITrrK.js} +2 -2
  86. package/dist/{Setup-BJIY_mWN.js → Setup-BMhxElbF.js} +1 -1
  87. package/dist/{TermsSettings-DM4pvL-n.js → TermsSettings-BXuj9Ygx.js} +3 -3
  88. package/dist/{ThemeColorRow-D7TCU3ap.js → ThemeColorRow-Dv47wN_H.js} +3 -3
  89. package/dist/{ToggleBinding-CSgFUF6o.js → ToggleBinding-CvjAUCAr.js} +3 -3
  90. package/dist/{UploadModal-Cz7o7DeT.js → UploadModal-DPcCq7cK.js} +2 -2
  91. package/dist/{VideoPlayerInput-Db0RRtb5.js → VideoPlayerInput-BU43tIFN.js} +3 -3
  92. package/dist/{VideoPlayerSettings-BgbNuWbP.js → VideoPlayerSettings-BF-yyjoq.js} +2 -2
  93. package/dist/{VideoSelectModal-BIKeCzUZ.js → VideoSelectModal-T52Z5tGW.js} +3 -3
  94. package/dist/{answerDocumentMixin-Bqg9Of1S.js → answerDocumentMixin-B6B_Absw.js} +3 -3
  95. package/dist/{debounce-DceKdgy2.js → debounce-Bku3KTOL.js} +1 -1
  96. package/dist/{focusDrawerMixin-Cx41U1xU.js → focusDrawerMixin-Byq44Fps.js} +1 -1
  97. package/dist/{formComponentsInstall-CWgaR4yB.js → formComponentsInstall-BLUTqIP-.js} +12 -12
  98. package/dist/{formDrawerState-DLCSwrgc.js → formDrawerState-DyfkNQI-.js} +1 -1
  99. package/dist/{formValidationMixin-CsLym0iM.js → formValidationMixin-BOYfELii.js} +1 -1
  100. package/dist/{index-Cp7dG8Zm.js → index--bKQe92o.js} +2 -2
  101. package/dist/{index-4MqvoLi4.js → index-BKawli9V.js} +1 -1
  102. package/dist/{index-By9c7IPL.js → index-BvXtEBVW.js} +5 -5
  103. package/dist/{index-0kj8-T7-.js → index-CI57mY57.js} +5 -5
  104. package/dist/{index-C6C4uskP.js → index-HMD01fSx.js} +1 -1
  105. package/dist/{index-C16hoSRM.js → index-XhscStcK.js} +1 -1
  106. package/dist/index.es.js +2 -2
  107. package/dist/index.umd.js +45 -45
  108. package/dist/{main-DBw231uy.js → main-D84dH9TV.js} +1549 -1549
  109. package/dist/{mapFormMixin-BrtcYsT9.js → mapFormMixin-Brb5jcGN.js} +1 -1
  110. package/dist/{omit-DQqb9hkZ.js → omit-CQHgn0Eu.js} +1 -1
  111. package/dist/{publicSenderState-BysO0Mzz.js → publicSenderState-NpXx8Fu1.js} +1 -1
  112. package/dist/style.css +1 -1
  113. package/dist/{throttle-DKrISvLg.js → throttle-DLrx6mTa.js} +2 -2
  114. package/dist/{tinycolor-Be3bF6zy.js → tinycolor-CFphVWDB.js} +1 -1
  115. package/dist/{tippy.esm-yjYH8SnL.js → tippy.esm-B7RV5DYA.js} +5 -5
  116. package/dist/{utils-DP30AdJH.js → utils-CFgMQnL0.js} +1 -1
  117. package/package.json +1 -1
@@ -1,26 +1,26 @@
1
- import se from "./AnswerModal-DnTU4eo8.js";
2
- import { o as ne } from "./index-C6C4uskP.js";
3
- import { w as b } from "./CDropdownItem-CTJ55d4m.js";
4
- import { aU as F, g as m, n as d, c as f, b as u, d as oe, aV as le, S as re, u as U, j as $, aA as ce, aO as y, R as p, L as H, h as D, a1 as h, aW as de, aX as pe, aY as ue, aZ as me, a_ as he, a$ as fe, V as A, aQ as O, aR as R, I as z, b0 as B, aS as ge, b1 as Ce, F as ve, b2 as ye, f as xe, k as G, b3 as we, b4 as be, B as ke, b5 as _e, C as W, b6 as Le, b7 as $e, K as q, b8 as Se, b9 as Te, aT as De, ba as Ve, bb as Be, bc as Me, ah as Fe, bd as Ie, m as He, a as Ae, be as Pe } from "./main-DBw231uy.js";
5
- import { a as x, m as g } from "./vuex.esm-DKGl8mcw.js";
6
- import { s as k } from "./Flag-CDN9A_59.js";
7
- import { l as ze, g as Ee, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-BrN5peVY.js";
8
- import { F as N, d as Ge } from "./tippy.esm-yjYH8SnL.js";
9
- import { m as S } from "./mapFormMixin-BrtcYsT9.js";
10
- import { d as P, t as We } from "./debounce-DceKdgy2.js";
11
- import { d as qe, o as Ne, _ as je } from "./omit-DQqb9hkZ.js";
12
- import { C as Ke, I as _, a as L, s as Ye } from "./index-Cp7dG8Zm.js";
13
- import { C as j, S as Qe, i as Je } from "./formComponentsInstall-CWgaR4yB.js";
14
- import { S as Xe } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js";
15
- import { v as I } from "./index-C16hoSRM.js";
16
- import { t as et } from "./tinycolor-Be3bF6zy.js";
17
- import { s as v } from "./formDrawerState-DLCSwrgc.js";
1
+ import se from "./AnswerModal-D7YR33mx.js";
2
+ import { o as ne } from "./index-HMD01fSx.js";
3
+ import { w as x } from "./CDropdownItem-BKFex9lI.js";
4
+ import { aU as I, g as m, n as d, c as f, b as u, d as oe, aV as le, S as re, u as U, j as $, aA as ce, aO as y, R as p, L as H, h as D, a1 as h, aW as de, aX as pe, aY as ue, aZ as me, a_ as he, a$ as fe, V as A, aQ as O, aR as R, I as E, b0 as B, aS as ge, b1 as Ce, F as ve, b2 as ye, f as xe, k as G, b3 as we, b4 as be, B as ke, b5 as _e, C as W, b6 as Le, b7 as $e, K as q, b8 as Se, b9 as Te, aT as De, ba as Ve, bb as Be, bc as Me, ah as Ie, bd as Fe, m as He, a as Ae, be as Pe } from "./main-D84dH9TV.js";
5
+ import { a as w, m as g } from "./vuex.esm-DKGl8mcw.js";
6
+ import { s as k } from "./Flag-Pf1Q2fSw.js";
7
+ import { l as Ee, g as ze, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-C7nouJDC.js";
8
+ import { F as N, d as Ge } from "./tippy.esm-B7RV5DYA.js";
9
+ import { m as S } from "./mapFormMixin-Brb5jcGN.js";
10
+ import { d as P, t as We } from "./debounce-Bku3KTOL.js";
11
+ import { d as qe, o as Ne, _ as je } from "./omit-CQHgn0Eu.js";
12
+ import { C as Ke, I as _, a as L, s as Ye } from "./index--bKQe92o.js";
13
+ import { C as j, S as Qe, i as Je } from "./formComponentsInstall-BLUTqIP-.js";
14
+ import { S as Xe } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-CGVIE7T8.js";
15
+ import { v as F } from "./index-XhscStcK.js";
16
+ import { t as et } from "./tinycolor-CFphVWDB.js";
17
+ import { s as v } from "./formDrawerState-DyfkNQI-.js";
18
18
  import { s as tt } from "./dom-CPYqHOIw.js";
19
- import { f as it } from "./formValidationMixin-CsLym0iM.js";
20
- import { B as at } from "./BlockMedia-DnbdVEZz.js";
19
+ import { f as it } from "./formValidationMixin-BOYfELii.js";
20
+ import { B as at } from "./BlockMedia-4UgM2vFY.js";
21
21
  const st = {
22
22
  name: "DocumentPostSendStep",
23
- mixins: [b],
23
+ mixins: [x],
24
24
  i18nOptions: {
25
25
  namespaces: "PostDocumentSend",
26
26
  messages: {
@@ -55,7 +55,7 @@ const st = {
55
55
  return this.mq === "sm" ? "100%" : "auto";
56
56
  },
57
57
  usesManualDelivery() {
58
- const i = F(this.document);
58
+ const i = I(this.document);
59
59
  return !i.sms && !i.email;
60
60
  }
61
61
  },
@@ -64,13 +64,13 @@ const st = {
64
64
  (i = this.document) != null && i.senderClient ? await this.senderAnswer() : await this.onSend();
65
65
  },
66
66
  methods: {
67
- ...x({
67
+ ...w({
68
68
  updateDocument: m.DO_UPDATE_DOCUMENT2,
69
69
  answerDocument: m.ANSWER_OWN_DOCUMENT2,
70
70
  sendDocument: m.DO_SEND_DOCUMENT2
71
71
  }),
72
72
  async handleDocumentLinks() {
73
- const { id: i } = this.document, e = F(this.document), t = !e.sms && !e.email;
73
+ const { id: i } = this.document, e = I(this.document), t = !e.sms && !e.email;
74
74
  t && (await this.updateDocument({
75
75
  id: i,
76
76
  body: { status: "sent" },
@@ -267,14 +267,14 @@ const Ct = gt.exports, vt = {
267
267
  };
268
268
  var yt = function() {
269
269
  var e = this, t = e._self._c;
270
- return t("div", { staticClass: "DocumentFormNav fixed left-0 right-0 top-0 z-[98] px-2 py-2 md:px-6" }, [t("div", { staticClass: "flex" }, [t("div", { staticClass: "inline-flex flex-grow items-center" }, [e._t("left")], 2), t("div", { staticClass: "inline-flex flex-auto items-center justify-center" }, [e._t("center")], 2), t("div", { staticClass: "inline-flex flex-grow items-center justify-end" }, [e._t("right")], 2)])]);
270
+ return t("div", { staticClass: "DocumentFormNav fixed left-0 right-0 top-0 z-[98] bg-gray-200 px-2 py-2 md:px-6" }, [t("div", { staticClass: "flex" }, [t("div", { staticClass: "inline-flex flex-grow items-center" }, [e._t("left")], 2), t("div", { staticClass: "inline-flex flex-auto items-center justify-center" }, [e._t("center")], 2), t("div", { staticClass: "inline-flex flex-grow items-center justify-end" }, [e._t("right")], 2)])]);
271
271
  }, xt = [], wt = /* @__PURE__ */ d(
272
272
  vt,
273
273
  yt,
274
274
  xt,
275
275
  !1,
276
276
  null,
277
- "0a769595"
277
+ null
278
278
  );
279
279
  const bt = wt.exports, kt = {
280
280
  name: "DocumentFormViewRadio",
@@ -291,15 +291,15 @@ const bt = wt.exports, kt = {
291
291
  };
292
292
  var _t = function() {
293
293
  var e = this, t = e._self._c;
294
- return t("div", { staticClass: "inline-flex h-9 cursor-pointer space-x-2 rounded-[2em] bg-slate-300 p-1 text-sm text-white" }, [t("div", { staticClass: "inline-flex select-none items-center justify-center rounded-[2em] px-1 font-semibold leading-none text-gray-700 transition duration-150 ease-linear", class: {
294
+ return t("div", { staticClass: "inline-flex h-9 cursor-pointer space-x-2 rounded-md bg-gray-300 p-1 text-sm text-white" }, [t("div", { staticClass: "inline-flex select-none items-center justify-center rounded-md px-1 font-semibold leading-none text-gray-700 transition duration-150 ease-linear", class: {
295
295
  "m-0 bg-white px-3 py-[1em] text-zinc-900 drop-shadow-md": e.value === "edit"
296
296
  }, on: { click: function(a) {
297
297
  e.value === "preview" && e.$emit("input", "edit");
298
- } } }, [e.small ? t("CIcon", { attrs: { type: "edit", size: "18" } }) : [e._v(e._s(e.$t("edit")))]], 2), t("div", { staticClass: "inline-flex select-none items-center justify-center rounded-[2em] px-1 font-semibold leading-none text-gray-700 transition duration-150 ease-linear", class: {
298
+ } } }, [e.small ? t("CIcon", { attrs: { type: "edit", size: "16" } }) : [e._v(e._s(e.$t("edit")))]], 2), t("div", { staticClass: "inline-flex select-none items-center justify-center rounded-md px-1 font-semibold leading-none text-gray-700 transition duration-150 ease-linear", class: {
299
299
  "m-0 bg-white px-3 py-[1em] text-zinc-900 drop-shadow-md": e.value === "preview"
300
300
  }, attrs: { "data-onboarding": "preview-button" }, on: { click: function(a) {
301
301
  e.value === "edit" && e.$emit("input", "preview");
302
- } } }, [e.small ? t("CIcon", { attrs: { type: "eye", size: "18" } }) : [e._v(e._s(e.$t("preview")))]], 2)]);
302
+ } } }, [e.small ? t("CIcon", { attrs: { type: "eye", size: "16" } }) : [e._v(e._s(e.$t("preview")))]], 2)]);
303
303
  }, Lt = [], $t = /* @__PURE__ */ d(
304
304
  kt,
305
305
  _t,
@@ -359,7 +359,7 @@ var Dt = function() {
359
359
  null,
360
360
  "bfd61212"
361
361
  );
362
- const Mt = Bt.exports, Ft = {
362
+ const Mt = Bt.exports, It = {
363
363
  name: "DynamicBlock",
364
364
  components: {
365
365
  BlockControlButtons: Mt
@@ -423,7 +423,7 @@ const Mt = Bt.exports, Ft = {
423
423
  }
424
424
  }
425
425
  };
426
- var It = function() {
426
+ var Ft = function() {
427
427
  var e = this, t = e._self._c;
428
428
  return t("Animation", { staticClass: "w-full" }, [t("div", { staticClass: "block-root", class: [
429
429
  {
@@ -447,14 +447,14 @@ var It = function() {
447
447
  return e.$emit("remove");
448
448
  } } }, [e.showEditButton ? t("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: e.onEdit } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e._e()], 1) : e._e()], 1)]);
449
449
  }, Ht = [], At = /* @__PURE__ */ d(
450
- Ft,
451
450
  It,
451
+ Ft,
452
452
  Ht,
453
453
  !1,
454
454
  null,
455
455
  "ba9843e6"
456
456
  );
457
- const Pt = At.exports, zt = {
457
+ const Pt = At.exports, Et = {
458
458
  name: "LogoBanner",
459
459
  props: {
460
460
  position: {
@@ -472,14 +472,14 @@ const Pt = At.exports, zt = {
472
472
  }
473
473
  }
474
474
  };
475
- var Et = function() {
475
+ var zt = function() {
476
476
  var e = this, t = e._self._c;
477
477
  return t("div", { staticClass: "pointer-events-none bottom-0 left-0 right-0 z-50 flex justify-end px-[10px] pb-[10px]", class: e.position }, [t("a", { staticClass: "pointer-events-auto inline-flex h-8 items-center rounded-md border border-white/30 bg-black/80 pl-1.5 pr-2", attrs: { href: `https://${e.$t(
478
478
  "_common:brand.domain"
479
479
  )}?utm_source=document&utm_medium=logo-banner`, target: "_blank" } }, [t("div", { staticClass: "mr-2 h-5 w-5 overflow-hidden rounded bg-white" }, [t("img", { staticClass: "h-full w-full", attrs: { src: e.logoUrl, alt: e.$t("brand.name") } })]), t("div", { staticClass: "text-xs font-medium text-white" }, [e._v(" Made in " + e._s(e.$t("brand.name")) + " ")])])]);
480
480
  }, Zt = [], Ut = /* @__PURE__ */ d(
481
- zt,
482
481
  Et,
482
+ zt,
483
483
  Zt,
484
484
  !1,
485
485
  null,
@@ -569,7 +569,7 @@ var Kt = function() {
569
569
  null,
570
570
  "8029d5ea"
571
571
  );
572
- const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt = {
572
+ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, b = (i) => (i || "").match(Jt), Xt = {
573
573
  i18nOptions: {
574
574
  namespaces: "common",
575
575
  keyPrefix: "designLabels"
@@ -657,14 +657,14 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
657
657
  }
658
658
  },
659
659
  onInput: ({ family: a, weight: s, options: n = [] }) => {
660
- this.update(i, a), ze(a), t != s && this.update("fontWeight", s), this.fontWeightOptions = n;
660
+ this.update(i, a), Ee(a), t != s && this.update("fontWeight", s), this.fontWeightOptions = n;
661
661
  }
662
662
  }
663
663
  ]
664
664
  };
665
665
  },
666
666
  fontSize: ({ key: i, value: e }) => {
667
- const [, t, a] = w(e);
667
+ const [, t, a] = b(e);
668
668
  return {
669
669
  label: this.$t("size"),
670
670
  inputs: [
@@ -752,7 +752,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
752
752
  };
753
753
  },
754
754
  letterSpacing: ({ key: i, value: e }) => {
755
- const [, t = 0] = w(e);
755
+ const [, t = 0] = b(e);
756
756
  return {
757
757
  label: this.$t("letterSpacing"),
758
758
  inputs: [
@@ -783,7 +783,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
783
783
  };
784
784
  },
785
785
  marginBottom: ({ key: i, value: e }) => {
786
- const [, t] = w(e);
786
+ const [, t] = b(e);
787
787
  return {
788
788
  label: this.$t("marginBottom"),
789
789
  inputs: [
@@ -864,7 +864,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
864
864
  ]
865
865
  }),
866
866
  width: ({ key: i, value: e }) => {
867
- const [, t, a] = w(e);
867
+ const [, t, a] = b(e);
868
868
  return {
869
869
  label: this.$t("contentWidth"),
870
870
  inputs: [
@@ -904,7 +904,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
904
904
  };
905
905
  },
906
906
  padding: ({ key: i, value: e }) => {
907
- const [, t] = w(e);
907
+ const [, t] = b(e);
908
908
  return {
909
909
  label: this.$t("padding"),
910
910
  inputs: [
@@ -944,7 +944,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
944
944
  };
945
945
  },
946
946
  border: ([i, e, t]) => {
947
- const a = i.value === "solid", [, s] = w(e.value), n = [
947
+ const a = i.value === "solid", [, s] = b(e.value), n = [
948
948
  {
949
949
  label: this.$t("border"),
950
950
  inputs: [
@@ -1123,7 +1123,7 @@ const Y = Qt.exports, Jt = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Jt), Xt =
1123
1123
  watch: {
1124
1124
  async activeItem(i) {
1125
1125
  const e = u(i, "style.fontFamily");
1126
- e && (this.fontWeightOptions = await Ee(e));
1126
+ e && (this.fontWeightOptions = await ze(e));
1127
1127
  }
1128
1128
  },
1129
1129
  methods: {
@@ -1476,7 +1476,7 @@ const a1 = i1.exports, s1 = {
1476
1476
  this.isPublicForm || await this.loadUsers();
1477
1477
  },
1478
1478
  methods: {
1479
- ...x({
1479
+ ...w({
1480
1480
  loadUsers: m.LOAD_COMPANY_USERS
1481
1481
  }),
1482
1482
  update(i, e) {
@@ -1834,12 +1834,12 @@ const m1 = u1.exports, h1 = {
1834
1834
  validations: {
1835
1835
  form: {
1836
1836
  label: {
1837
- required: I.required,
1837
+ required: F.required,
1838
1838
  isUniqueLabel(i) {
1839
1839
  return this.fields.reduce((t, { label: a }) => a === i ? !1 : t, !0);
1840
1840
  }
1841
1841
  },
1842
- value: { required: I.required }
1842
+ value: { required: F.required }
1843
1843
  }
1844
1844
  },
1845
1845
  computed: {
@@ -2152,7 +2152,7 @@ const k1 = b1.exports, _1 = (i) => {
2152
2152
  cover: {
2153
2153
  video: {
2154
2154
  id: "1409899",
2155
- url: "https://player.vimeo.com/external/289258217.hd.mp4?s=5cf87d7670d96bbd2c110f4dc97fd5116f4468ad&profile_id=175&oauth2_token_id=57447761",
2155
+ url: "https://videos.pexels.com/video-files/1409899/1409899-hd_1920_1080_25fps.mp4",
2156
2156
  thumbnail: "https://images.pexels.com/videos/1409899/free-video-1409899.jpg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",
2157
2157
  provider: "pexels"
2158
2158
  }
@@ -2265,7 +2265,7 @@ const k1 = b1.exports, _1 = (i) => {
2265
2265
  cover: {
2266
2266
  video: {
2267
2267
  id: "2818546",
2268
- url: "https://player.vimeo.com/external/354645621.hd.mp4?s=afa953a69cc6f7cdefc721120fa062a016dd4653&profile_id=175&oauth2_token_id=57447761",
2268
+ url: "https://videos.pexels.com/video-files/2818546/2818546-hd_1920_1080_24fps.mp4",
2269
2269
  thumbnail: "https://images.pexels.com/videos/2818546/free-video-2818546.jpg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",
2270
2270
  provider: "pexels"
2271
2271
  },
@@ -2376,7 +2376,7 @@ const k1 = b1.exports, _1 = (i) => {
2376
2376
  nodeId: i[4]
2377
2377
  }
2378
2378
  ];
2379
- }, F1 = () => ({
2379
+ }, I1 = () => ({
2380
2380
  clients: [
2381
2381
  {
2382
2382
  name: "Pernilla P.",
@@ -2388,7 +2388,7 @@ const k1 = b1.exports, _1 = (i) => {
2388
2388
  answerMethod: { accept: "signature", deny: "button" }
2389
2389
  }
2390
2390
  ]
2391
- }), I1 = (i = "en") => [
2391
+ }), F1 = (i = "en") => [
2392
2392
  { key: "senderString", anyOf: [{ type: "string" }, { type: "null" }] },
2393
2393
  { key: "receiverString", anyOf: [{ type: "string" }, { type: "null" }] },
2394
2394
  {
@@ -2403,9 +2403,9 @@ const k1 = b1.exports, _1 = (i) => {
2403
2403
  }) => {
2404
2404
  const { language: a } = e || {};
2405
2405
  let s = null;
2406
- return typeof t == "function" ? s = t() : i && (s = F1()), {
2406
+ return typeof t == "function" ? s = t() : i && (s = I1()), {
2407
2407
  readView: M1(),
2408
- validation: I1(a),
2408
+ validation: F1(a),
2409
2409
  // Client / company will for now always exist on doc and in validation
2410
2410
  ...s && { data: s }
2411
2411
  };
@@ -2432,14 +2432,14 @@ const k1 = b1.exports, _1 = (i) => {
2432
2432
  size: "small"
2433
2433
  }
2434
2434
  }
2435
- ], z1 = () => null, E1 = ({
2435
+ ], E1 = () => null, z1 = ({
2436
2436
  includeMockData: i = !1,
2437
2437
  document: e = null,
2438
2438
  contentData: t = null
2439
2439
  } = {}) => {
2440
2440
  const a = p();
2441
2441
  let s = null;
2442
- return typeof t == "function" ? s = t(a) : i && (s = z1()), {
2442
+ return typeof t == "function" ? s = t(a) : i && (s = E1()), {
2443
2443
  readView: A1(a),
2444
2444
  validation: P1(a),
2445
2445
  ...s && { data: s }
@@ -4352,7 +4352,7 @@ const f2 = ({
4352
4352
  }
4353
4353
  })
4354
4354
  }
4355
- ], E = {
4355
+ ], z = {
4356
4356
  titleAndText2: _2,
4357
4357
  attachments2: $1,
4358
4358
  pdf: pe,
@@ -4360,7 +4360,7 @@ const f2 = ({
4360
4360
  multiGroupPricing: l2,
4361
4361
  coverBlock: V1,
4362
4362
  videoPlayer: T2,
4363
- embed: E1,
4363
+ embed: z1,
4364
4364
  header: a2,
4365
4365
  answer: ue,
4366
4366
  terms: x2,
@@ -4397,20 +4397,20 @@ const f2 = ({
4397
4397
  addBlock: (i) => he({
4398
4398
  ...i,
4399
4399
  set: this.set,
4400
- tplGenerators: E,
4400
+ tplGenerators: z,
4401
4401
  includeMockData: this.includeMockData,
4402
4402
  emit: (...e) => this.$emit(...e)
4403
4403
  }),
4404
4404
  getBlockPayload: (i) => fe(
4405
4405
  i,
4406
4406
  this.set,
4407
- E,
4407
+ z,
4408
4408
  this.includeMockdata
4409
4409
  )
4410
4410
  });
4411
4411
  }
4412
4412
  }, B2 = null, M2 = null;
4413
- var F2 = /* @__PURE__ */ d(
4413
+ var I2 = /* @__PURE__ */ d(
4414
4414
  V2,
4415
4415
  B2,
4416
4416
  M2,
@@ -4418,7 +4418,7 @@ var F2 = /* @__PURE__ */ d(
4418
4418
  null,
4419
4419
  null
4420
4420
  );
4421
- const Q = F2.exports, I2 = {
4421
+ const Q = I2.exports, F2 = {
4422
4422
  name: "MenuBlockConvertPopover",
4423
4423
  props: {
4424
4424
  target: {
@@ -4459,14 +4459,14 @@ var H2 = function() {
4459
4459
  return e.$emit("convert");
4460
4460
  } } }, [e._v(" " + e._s(e.$t("button")) + " ")])], 1)])], 1);
4461
4461
  }, A2 = [], P2 = /* @__PURE__ */ d(
4462
- I2,
4462
+ F2,
4463
4463
  H2,
4464
4464
  A2,
4465
4465
  !1,
4466
4466
  null,
4467
4467
  null
4468
4468
  );
4469
- const z2 = P2.exports, E2 = A.component("ProBadge", {
4469
+ const E2 = P2.exports, z2 = A.component("ProBadge", {
4470
4470
  name: "ProBadge",
4471
4471
  render(i) {
4472
4472
  return i(
@@ -4552,10 +4552,10 @@ const z2 = P2.exports, E2 = A.component("ProBadge", {
4552
4552
  DragItem: R,
4553
4553
  AddBlock: Q,
4554
4554
  IsPremiumPreStep: _,
4555
- ProBadge: E2,
4556
- MenuBlockConvertPopover: z2
4555
+ ProBadge: z2,
4556
+ MenuBlockConvertPopover: E2
4557
4557
  },
4558
- mixins: [b],
4558
+ mixins: [x],
4559
4559
  inject: {
4560
4560
  viewSettings: {
4561
4561
  default: () => ({ isPublicForm: !1 })
@@ -5053,7 +5053,7 @@ const G2 = R2.exports, W2 = {
5053
5053
  Fields: k1,
5054
5054
  ExtensionTab: m1,
5055
5055
  DocumentGeneralSettings: r1,
5056
- DocumentGuide: () => import("./index-4MqvoLi4.js"),
5056
+ DocumentGuide: () => import("./index-BKawli9V.js"),
5057
5057
  MenuBlocks: G2,
5058
5058
  Simplebar: k
5059
5059
  },
@@ -5095,7 +5095,7 @@ const G2 = R2.exports, W2 = {
5095
5095
  data() {
5096
5096
  return {
5097
5097
  showGuide: !1,
5098
- showGuideNotification: !z.getItem("hideFormGuideNotification"),
5098
+ showGuideNotification: !E.getItem("hideFormGuideNotification"),
5099
5099
  tab: "blocks"
5100
5100
  };
5101
5101
  },
@@ -5117,13 +5117,13 @@ const G2 = R2.exports, W2 = {
5117
5117
  },
5118
5118
  methods: {
5119
5119
  openGuide() {
5120
- this.showGuide = !0, this.showGuideNotification = !1, z.setItem("hideFormGuideNotification", !0);
5120
+ this.showGuide = !0, this.showGuideNotification = !1, E.setItem("hideFormGuideNotification", !0);
5121
5121
  }
5122
5122
  }
5123
5123
  };
5124
5124
  var q2 = function() {
5125
5125
  var e = this, t = e._self._c;
5126
- return t("div", [t("div", { staticClass: "root menu-wrapper", style: [{ width: `${e.width}px` }, e.fixed && { zIndex: 999 }] }, [e.fixed ? t("div", { staticClass: "fixed inset-0", on: { click: function(a) {
5126
+ return t("div", [t("div", { staticClass: "root menu-wrapper fixed left-0 top-14 z-[99] bg-white", style: [{ width: `${e.width}px` }, e.fixed && { zIndex: 999 }] }, [e.fixed ? t("div", { staticClass: "fixed inset-0", on: { click: function(a) {
5127
5127
  return e.$emit("close");
5128
5128
  } } }) : e._e(), t("div", { staticStyle: { height: "100%", "font-size": "14px", "border-radius": "0 8px 8px 0", "box-shadow": "0 10px 20px rgba(0, 0, 0, 0.2)" }, style: { width: `${e.width}px` } }, [e.isLegacyTemplate ? e._e() : t("div", { staticClass: "tab-list" }, [t("div", { staticClass: "tab-item", class: { "is-active": e.tab === "blocks" }, domProps: { textContent: e._s(e.$t("tabs.blocks")) }, on: { click: function(a) {
5129
5129
  e.tab = "blocks";
@@ -5174,7 +5174,7 @@ var q2 = function() {
5174
5174
  N2,
5175
5175
  !1,
5176
5176
  null,
5177
- "269dc270"
5177
+ "a591711d"
5178
5178
  );
5179
5179
  const K2 = j2.exports, J = (i, e, t = "$children") => {
5180
5180
  if (!i)
@@ -5212,7 +5212,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5212
5212
  LogoBanner: Ot,
5213
5213
  IsPremium: L
5214
5214
  },
5215
- mixins: [b],
5215
+ mixins: [x],
5216
5216
  props: {
5217
5217
  _document: {
5218
5218
  type: Object,
@@ -5450,10 +5450,22 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5450
5450
  };
5451
5451
  var Q2 = function() {
5452
5452
  var e = this, t = e._self._c;
5453
- return t("div", { staticStyle: { overflow: "auto", height: "100vh" } }, [t("div", { staticClass: "container-root font-inter flex", class: {
5453
+ return t("div", { staticClass: "min-h-screen overflow-auto" }, [t("div", { staticClass: "relative flex min-h-screen flex-row bg-gray-200", class: {
5454
5454
  "is-edit-view": e.isEditView,
5455
5455
  "is-empty-list": !e.nestedReadLayout.length
5456
- } }, [t("DocumentFormMenu", { directives: [{ name: "show", rawName: "v-show", value: e.drawerState.showLeft, expression: "drawerState.showLeft" }], attrs: { state: e._document, "on-added-block": ({ nodeId: a, onAddFnName: s = "onAdd" }) => {
5456
+ } }, [t("DocumentFormNav", { attrs: { close: e.close } }, [t("div", { staticClass: "relative flex w-full items-center space-x-4", attrs: { slot: "left" }, slot: "left" }, [t("div", { staticClass: "rounded-md bg-gray-300 sm:bg-transparent" }, [e.close ? t("CButton", { staticClass: "d-nav-button position left close h-[2.25em] w-[2.25em] text-base backdrop-blur-[25px]", attrs: { "icon-props": { size: e.mq === "sm" ? 16 : 20 }, size: "normal", icon: "x", type: "none", pattern: "tertiary" }, on: { click: e.close } }) : e._e()], 1), e.goBack && e.mq !== "sm" ? t("CButton", { staticClass: "mr-2", staticStyle: { background: "rgba(255, 255, 255, 0.75)", "backdrop-filter": "blur(25px)" }, attrs: { circle: "", type: "none", pattern: "tertiary", icon: "arrow-left" }, on: { click: e.goBack } }) : e._e(), t("div", { staticClass: "relative hidden rounded-md bg-gray-300 sm:flex sm:bg-transparent" }, [t("CButton", { staticStyle: { width: "36px", height: "36px", "padding-left": "14px", "padding-right": "14px" }, attrs: { size: "normal", type: "none", pattern: "tertiary", "icon-props": { size: 20 }, thinner: "", icon: "sidebar" }, on: { click: function(a) {
5457
+ return a.stopPropagation(), e.drawerState.toggleLeft.apply(null, arguments);
5458
+ } } })], 1), e._t("nav-left")], 2), t("div", { staticClass: "relative", attrs: { slot: "center" }, slot: "center" }, [t("DocumentFormViewRadio", { directives: [{ name: "show", rawName: "v-show", value: e.nestedReadLayout.length, expression: "nestedReadLayout.length" }], attrs: { small: e.mq === "sm", value: e.view }, on: { input: function(a) {
5459
+ return e.$emit("update:view", a);
5460
+ } } }), !e.isEditView && !["sm", "md"].includes(e.mq) ? t("div", { staticClass: "absolute inline-flex h-9 space-x-2 rounded-md bg-gray-300 p-1 backdrop-blur-lg backdrop-saturate-[180%]", staticStyle: { left: "calc(100% + calc(1.25 * var(--rem)))" } }, e._l(["desktop", "tablet", "mobile"], function(a) {
5461
+ return t("div", { key: a, staticClass: "pointer inline-flex select-none items-center justify-center rounded-md p-[10px] font-semibold text-gray-700 transition duration-150 ease-linear", style: e.previewDevice === a && {
5462
+ boxShadow: "0 1px 1px rgba(0, 0, 0, 0.2)",
5463
+ backgroundColor: "hsl(0, 0%, 100%)",
5464
+ color: "hsl(0, 0%, 7%)"
5465
+ }, on: { click: function(s) {
5466
+ e.previewDevice = a;
5467
+ } } }, [t("CIcon", { attrs: { type: a, size: "16" } })], 1);
5468
+ }), 0) : e._e()], 1), e._t("nav-right", null, { slot: "right" })], 2), t("DocumentFormMenu", { directives: [{ name: "show", rawName: "v-show", value: e.drawerState.showLeft, expression: "drawerState.showLeft" }], attrs: { state: e._document, "on-added-block": ({ nodeId: a, onAddFnName: s = "onAdd" }) => {
5457
5469
  e.onAddRedis[a] = s;
5458
5470
  }, set: e.setFormValue, "remove-value": e.removeFormValue, template: e.docTemplate, fixed: e.drawerState.isFixed, "can-use-blocks": e.isTemplateEditable, "is-legacy-template": e.isLegacyTemplate, width: e.sidebarWidth }, on: { close: function(a) {
5459
5471
  e.drawerState.showLeft = !1;
@@ -5461,24 +5473,7 @@ var Q2 = function() {
5461
5473
  "device-offset": e.isEditView
5462
5474
  }, style: e.drawerState.showLeft && !e.drawerState.isFixed && {
5463
5475
  marginLeft: `${e.sidebarWidth}px`
5464
- } }, [t("DocumentFormNav", { style: !e.drawerState.isFixed && {
5465
- marginLeft: e.drawerState.showLeft ? `${e.sidebarWidth}px` : 0
5466
- }, attrs: { close: e.close } }, [t("div", { staticClass: "flex w-full items-center", staticStyle: { position: "relative" }, attrs: { slot: "left" }, slot: "left" }, [e.close ? t("CButton", { staticClass: "d-nav-button position left close", staticStyle: { "font-size": "16px", height: "2.25em", width: "2.25em", "flex-shrink": "0", "margin-right": "0.5em", background: "rgba(255, 255, 255, 0.75)", "backdrop-filter": "blur(25px)" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: e.close } }) : e._e(), e.goBack && e.mq !== "sm" ? t("CButton", { staticClass: "mr-2", staticStyle: { background: "rgba(255, 255, 255, 0.75)", "backdrop-filter": "blur(25px)" }, attrs: { circle: "", type: "none", pattern: "tertiary", icon: "arrow-left" }, on: { click: e.goBack } }) : e._e(), t("div", { staticClass: "relative" }, [t("CButton", { staticStyle: { "font-size": "16px", height: "2.5em", width: "2.5em", background: "rgba(255, 255, 255, 0.75)", "backdrop-filter": "blur(25px)" }, attrs: { circle: "", type: "none", pattern: "tertiary", icon: "sidebar" }, on: { click: function(a) {
5467
- return a.stopPropagation(), e.drawerState.toggleLeft.apply(null, arguments);
5468
- } } }), t("transition", { attrs: { name: "fade-bounce", appear: "" } }, [!e.nestedReadLayout.length && e.isFixedSidebar ? t("div", { staticClass: "bg-primary-500 absolute -left-3/4 top-full w-64 translate-y-2 rounded-lg p-3 text-base font-semibold leading-snug text-white shadow-lg" }, [e._v(" " + e._s(e.$t("emptyBlockPlaceholderSmall")) + " "), t("svg", { staticClass: "text-primary-500 absolute left-10 top-0 -translate-y-full", attrs: { width: "16", height: "6", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z", fill: "currentColor" } })])]) : e._e()])], 1), e._t("nav-left")], 2), t("div", { staticStyle: { position: "relative" }, attrs: { slot: "center" }, slot: "center" }, [t("DocumentFormViewRadio", { directives: [{ name: "show", rawName: "v-show", value: e.nestedReadLayout.length, expression: "nestedReadLayout.length" }], attrs: { small: e.mq === "sm", value: e.view }, on: { input: function(a) {
5469
- return e.$emit("update:view", a);
5470
- } } }), !e.isEditView && !["sm", "md"].includes(e.mq) ? t("div", { staticStyle: { position: "absolute", left: "calc(100% + calc(1.25 * var(--rem)))", transform: "translateY(50%)", top: "-50%", display: "inline-flex", "border-radius": "2em", padding: "3px", "background-color": "hsl(0, 0%, 0%, 0.07)", "backdrop-filter": "saturate(180%) blur(20px)", "font-size": "15px", height: "36px" } }, e._l(["desktop", "tablet", "mobile"], function(a) {
5471
- return t("div", { key: a, staticStyle: { "border-radius": "2em", "font-weight": "500", cursor: "pointer", "padding-top": "4px", "padding-bottom": "4px", margin: "0 4px", "user-select": "none", display: "inline-flex", "align-items": "center", "justify-content": "center", color: "hsl(0, 0%, 0%, 0.5)", transition: "150ms" }, style: e.previewDevice === a && {
5472
- boxShadow: "0 1px 1px rgba(0, 0, 0, 0.2)",
5473
- backgroundColor: "hsl(0, 0%, 100%)",
5474
- color: "hsl(0, 0%, 7%)",
5475
- paddingLeft: "6px",
5476
- paddingRight: "6px",
5477
- margin: 0
5478
- }, on: { click: function(s) {
5479
- e.previewDevice = a;
5480
- } } }, [t("CIcon", { attrs: { type: a, size: "18" } })], 1);
5481
- }), 0) : e._e()], 1), e._t("nav-right", null, { slot: "right" })], 2), t("div", { staticClass: "list-container", class: [
5476
+ } }, [t("div", { staticClass: "list-container", class: [
5482
5477
  {
5483
5478
  "is-device-edit": e.isEditView,
5484
5479
  "is-empty": !e.nestedReadLayout.length
@@ -5521,7 +5516,7 @@ var Q2 = function() {
5521
5516
  }), 1) : e._e(), e.canShowBanner ? t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ isProLike: l }) {
5522
5517
  return [!e.isEditView && !l ? t("LogoBanner", { attrs: { position: "sticky" } }) : e._e()];
5523
5518
  } }], null, !0) }) : e._e()], 1);
5524
- } }]) })], 1)], 1)], 1), t("DocumentDrawer", { key: "settingsDrawer", attrs: { id: "settingsDrawer", open: !!e.drawerState.openSection, fixed: !0, position: "right" }, on: { "update:open": function(a) {
5519
+ } }]) })], 1)], 1)]), t("DocumentDrawer", { key: "settingsDrawer", attrs: { id: "settingsDrawer", open: !!e.drawerState.openSection, fixed: !0, position: "right" }, on: { "update:open": function(a) {
5525
5520
  e.drawerState.openSection = null;
5526
5521
  } } }, [t("CButton", { staticClass: "absolute right-2 top-2", attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(a) {
5527
5522
  e.drawerState.openSection = null;
@@ -5535,7 +5530,7 @@ var Q2 = function() {
5535
5530
  J2,
5536
5531
  !1,
5537
5532
  null,
5538
- "551a3142"
5533
+ "a76132ce"
5539
5534
  );
5540
5535
  const ei = X2.exports, ti = {
5541
5536
  name: "DocumentSend",
@@ -5575,7 +5570,7 @@ const ei = X2.exports, ti = {
5575
5570
  useEmit: !1,
5576
5571
  setFnName: "setFormValue"
5577
5572
  }),
5578
- b
5573
+ x
5579
5574
  ],
5580
5575
  props: {
5581
5576
  setFormValue: {
@@ -5628,7 +5623,7 @@ const ei = X2.exports, ti = {
5628
5623
  !this.isPublicForm && ((i = window.App) != null && i.$fab) && (window.App.$fab.show = !0);
5629
5624
  },
5630
5625
  methods: {
5631
- ...x({
5626
+ ...w({
5632
5627
  createTemplate: m.DO_CREATE_TEMPLATE
5633
5628
  }),
5634
5629
  open() {
@@ -5742,7 +5737,7 @@ const ni = si.exports, oi = {
5742
5737
  },
5743
5738
  validations: {
5744
5739
  name: {
5745
- required: I.requiredIf((i) => !i.updateExistingDocTemplate)
5740
+ required: F.requiredIf((i) => !i.updateExistingDocTemplate)
5746
5741
  }
5747
5742
  },
5748
5743
  computed: {
@@ -5774,7 +5769,7 @@ const ni = si.exports, oi = {
5774
5769
  this.$refs.input && this.$refs.input.focus();
5775
5770
  },
5776
5771
  methods: {
5777
- ...x({
5772
+ ...w({
5778
5773
  loadTemplate: m.DO_LOAD_TEMPLATE,
5779
5774
  saveTemplate: m.SAVE_TEMPLATE_FORM,
5780
5775
  updateSettings: m.UPDATE_SETTINGS
@@ -5888,7 +5883,7 @@ const fi = /* @__PURE__ */ G(hi), gi = {
5888
5883
  }
5889
5884
  }
5890
5885
  },
5891
- mixins: [b],
5886
+ mixins: [x],
5892
5887
  methods: {
5893
5888
  clamp: fi
5894
5889
  }
@@ -5927,7 +5922,7 @@ const xi = yi.exports, T = A.observable({
5927
5922
  DocumentSend: ni,
5928
5923
  RemainingTrialButton: xi
5929
5924
  },
5930
- mixins: [it],
5925
+ mixins: [it, x],
5931
5926
  provide: () => ({ viewSettings: T }),
5932
5927
  props: {
5933
5928
  document: {
@@ -6037,21 +6032,24 @@ var bi = function() {
6037
6032
  e.view = a;
6038
6033
  } } }, [t("template", { slot: "nav-right" }, [t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateDocument: a, canCreateTemplate: s }) {
6039
6034
  return [t("IsPremiumPreStep", { attrs: { feature: "documents" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: n }) {
6040
- return [t("div", { key: e.canDoActions, staticStyle: { flex: "1", display: "inline-flex", "justify-content": "flex-end" } }, [e._t("nav-right-action", function() {
6041
- return [t("RemainingTrialButton"), t("div", { staticClass: "buttons has-addons", staticStyle: { "white-space": "nowrap" } }, [t("CButton", { ref: "sendButton", staticClass: "d-nav-button position right", staticStyle: { "border-radius": "7px 0 0 7px", height: "36px", "padding-left": "11px", "padding-right": "10px", "font-size": "13px", "font-weight": "500" }, attrs: { disabled: !e.canDoActions, loading: e.isLoading, "data-onboarding": "send-button", size: "small", type: "secondary", thinner: "" }, on: { click: function(o) {
6035
+ return [t("div", { key: e.canDoActions, staticClass: "inline-flex flex-1 justify-end space-x-5" }, [t("IsPremiumPreStep", { attrs: { feature: "saveDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: o }) {
6036
+ return [t("div", { staticClass: "rounded-md bg-gray-300 sm:bg-transparent" }, [t("CDropdown", { attrs: { disabled: !e.canDoActions } }, [t("CButton", { staticClass: "d-nav-button position right", staticStyle: { width: "36px", height: "36px", "padding-left": "14px", "padding-right": "14px" }, attrs: { slot: "trigger", "icon-props": {
6037
+ size: e.mq === "sm" ? 16 : 20,
6038
+ strokeWidth: 2
6039
+ }, size: "medium", type: "none", pattern: "tertiary", thinner: "", icon: "save" }, slot: "trigger" }), t("CDropdownItem", { attrs: { "icon-props": { stroke: "hsl(205, 100%, 50%)" }, "icon-left": "save" }, on: { click: function(l) {
6040
+ a || e.document.id ? e.submitSave() : n({ callback: e.submitSave });
6041
+ } } }, [e._v(" " + e._s(e.$t("_common:save", { thing: e.$t("_common:document").toLowerCase() })) + " ")]), t("CDropdownItem", { attrs: { disabled: e.isLoading, "icon-left": "template-color" }, on: { click: function(l) {
6042
+ s ? e.saveAsTemplate() : o({
6043
+ callback: e.saveAsTemplate
6044
+ });
6045
+ } } }, [e._v(" " + e._s(e.$t("_common:saveAs", { thing: e.$t("_common:template") })) + " ")])], 1)], 1)];
6046
+ } }], null, !0) }), e._t("nav-right-action", function() {
6047
+ return [t("RemainingTrialButton"), t("div", { staticClass: "buttons has-addons", staticStyle: { "white-space": "nowrap" } }, [t("CButton", { ref: "sendButton", staticClass: "d-nav-button position right h-9 w-9", attrs: { disabled: !e.canDoActions, loading: e.isLoading, "data-onboarding": "send-button", size: "small", type: "secondary", icon: e.mq === "sm" ? "send" : null, thinner: "", expanded: "" }, on: { click: function(o) {
6042
6048
  a || !e.doConsumeQuota || e.document.id ? e.openSendModal() : n({ callback: e.openSendModal });
6043
- } } }, [e._v(" " + e._s(e.$t("_common:reviewSend")) + " ")]), t("IsPremiumPreStep", { attrs: { feature: "saveDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: o }) {
6044
- return [t("CDropdown", { attrs: { disabled: !e.canDoActions } }, [t("CButton", { staticClass: "d-nav-button position right", staticStyle: { "border-radius": "0px 7px 7px 0px", height: "36px", "border-left": "1px solid hsla(0, 0%, 100%, 0.35)", "font-size": "13px", "padding-left": "14px", "padding-right": "14px" }, attrs: { slot: "trigger", "icon-props": { size: 13, strokeWidth: 2.5 }, size: "small", type: "secondary", thinner: "", icon: "chevron-down" }, slot: "trigger" }), t("CDropdownItem", { attrs: { "icon-props": { stroke: "hsl(205, 100%, 50%)" }, "icon-left": "save" }, on: { click: function(l) {
6045
- a || e.document.id ? e.submitSave() : n({ callback: e.submitSave });
6046
- } } }, [e._v(" " + e._s(e.$t("_common:save", { thing: e.$t("_common:document").toLowerCase() })) + " ")]), t("CDropdownItem", { attrs: { disabled: e.isLoading, "icon-left": "template-color" }, on: { click: function(l) {
6047
- s ? e.saveAsTemplate() : o({
6048
- callback: e.saveAsTemplate
6049
- });
6050
- } } }, [e._v(" " + e._s(e.$t("_common:saveAs", { thing: e.$t("_common:template") })) + " ")])], 1)];
6051
- } }], null, !0) })], 1)];
6049
+ } } }, [e._v(" " + e._s(e.mq === "sm" ? null : e.$t("_common:reviewSend")) + " ")])], 1)];
6052
6050
  })], 2)];
6053
6051
  } }], null, !0) })];
6054
- } }], null, !1, 3160700437) })], 1)], 2), t("DocumentSend", { ref: "documentSend", attrs: { _document: e.document, _value: {
6052
+ } }], null, !1, 1295890373) })], 1)], 2), t("DocumentSend", { ref: "documentSend", attrs: { _document: e.document, _value: {
6055
6053
  expiresAt: "data.expiresAt",
6056
6054
  personalMessage: "data.personalMessage",
6057
6055
  defaultAnswerMethod: "data.defaultAnswerMethod",
@@ -6104,7 +6102,7 @@ const Li = _i.exports, $i = {
6104
6102
  this.onLoadDocuments();
6105
6103
  },
6106
6104
  methods: {
6107
- ...x({
6105
+ ...w({
6108
6106
  loadDocument: m.LOAD_DOCUMENT2
6109
6107
  }),
6110
6108
  async onInput() {
@@ -6217,15 +6215,15 @@ var Mi = function(e, t) {
6217
6215
  } }) : t.props.isPlaceholder || t.props.isAdd ? t._e() : e(t.injections.components.BlockMedia, { tag: "component", staticClass: "item-media", attrs: { media: t.props.media, preview: "" } }), t.scopedSlots.badge ? e("div", { staticClass: "absolute bottom-2 right-2" }, [t._t("badge")], 2) : t._e(), t.props.isAdd ? e("div", { staticClass: "add-button" }, [e("CIcon", { attrs: { size: 18, "stroke-width": 3, type: "plus" } })], 1) : t._e()], 1), e("div", { staticClass: "item-footer" }, [t.props.isAdd ? e("div", { staticClass: "item-text", staticStyle: { color: "hsl(0, 0%, 55%)" }, domProps: { textContent: t._s(
6218
6216
  t.parent.$t("_common:empty", { thing: t.parent.$t("_common:template") })
6219
6217
  ) } }) : t.props.name ? [e("div", { staticClass: "item-text", domProps: { textContent: t._s(t.$options.truncate(t.props.name, 60)) } }), t._t("default")] : t._e()], 2)]);
6220
- }, Fi = [], Ii = /* @__PURE__ */ d(
6218
+ }, Ii = [], Fi = /* @__PURE__ */ d(
6221
6219
  Bi,
6222
6220
  Mi,
6223
- Fi,
6221
+ Ii,
6224
6222
  !0,
6225
6223
  null,
6226
6224
  "c3016d8f"
6227
6225
  );
6228
- const Hi = Ii.exports, Ai = {
6226
+ const Hi = Fi.exports, Ai = {
6229
6227
  name: "HorizontalScroll",
6230
6228
  components: {
6231
6229
  Simplebar: k
@@ -6293,15 +6291,15 @@ var Pi = function() {
6293
6291
  return e.$emit("expand");
6294
6292
  } } })];
6295
6293
  })], 2) : e._e()]), t("div", { staticClass: "hl-container" }, [t("Simplebar", { ref: "list", staticClass: "hl-list", on: { scroll: e.scrollHandler } }, [t("div", { staticClass: "flex w-full" }, [e._t("default")], 2)])], 1)]);
6296
- }, zi = [], Ei = /* @__PURE__ */ d(
6294
+ }, Ei = [], zi = /* @__PURE__ */ d(
6297
6295
  Ai,
6298
6296
  Pi,
6299
- zi,
6297
+ Ei,
6300
6298
  !1,
6301
6299
  null,
6302
6300
  "31e10485"
6303
6301
  );
6304
- const Zi = Ei.exports;
6302
+ const Zi = zi.exports;
6305
6303
  function Ui(i, { availableProducts: e }) {
6306
6304
  if (!i)
6307
6305
  throw new Error("Missing parameter templateId");
@@ -6661,7 +6659,7 @@ const Ni = qi.exports, ji = {
6661
6659
  }
6662
6660
  },
6663
6661
  methods: {
6664
- ...x({
6662
+ ...w({
6665
6663
  loadPrices: m.LOAD_PRICES
6666
6664
  }),
6667
6665
  async loadTemplateGallery() {
@@ -6836,7 +6834,7 @@ const Ji = Qi.exports, Xi = {
6836
6834
  GalleryLogic: Ji,
6837
6835
  IsPremiumPreStep: _
6838
6836
  },
6839
- mixins: [b],
6837
+ mixins: [x],
6840
6838
  props: {
6841
6839
  // Used for creating documents form project/client views
6842
6840
  projectId: {
@@ -6933,7 +6931,7 @@ const Ji = Qi.exports, Xi = {
6933
6931
  this.loadTemplates();
6934
6932
  },
6935
6933
  methods: {
6936
- ...x({
6934
+ ...w({
6937
6935
  loadTemplatesAction: m.LOAD_TEMPLATES,
6938
6936
  loadTemplate: m.LOAD_TEMPLATE,
6939
6937
  createTemplate: m.DO_CREATE_TEMPLATE,
@@ -7053,7 +7051,7 @@ var ea = function() {
7053
7051
  "5c1a776a"
7054
7052
  );
7055
7053
  const aa = ia.exports;
7056
- var sa = Be, na = Me, oa = Fe;
7054
+ var sa = Be, na = Me, oa = Ie;
7057
7055
  function la(i, e, t) {
7058
7056
  for (var a = -1, s = e.length, n = {}; ++a < s; ) {
7059
7057
  var o = e[a], l = sa(i, o);
@@ -7061,7 +7059,7 @@ function la(i, e, t) {
7061
7059
  }
7062
7060
  return n;
7063
7061
  }
7064
- var ra = la, ca = ra, da = Ie;
7062
+ var ra = la, ca = ra, da = Fe;
7065
7063
  function pa(i, e) {
7066
7064
  return ca(i, e, function(t, a) {
7067
7065
  return da(i, a);
@@ -7251,7 +7249,7 @@ const va = {
7251
7249
  this.view = "templateSelect", this.setDocValue({ key: "__isNew", value: !0 });
7252
7250
  },
7253
7251
  isManualDelivery(i) {
7254
- const e = F(i);
7252
+ const e = I(i);
7255
7253
  return !e.sms && !e.email;
7256
7254
  }
7257
7255
  }