@cling-se/widget 0.14.0 → 0.14.2

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 (122) hide show
  1. package/dist/{AddClientCallout-C7BLDW6Y.js → AddClientCallout-BP2ip0A4.js} +3 -3
  2. package/dist/{AnswerModal-KWFteFV9.js → AnswerModal-C8i3ldB_.js} +3 -3
  3. package/dist/{AttachmentItem-CSerklBS.js → AttachmentItem-BrvrAMae.js} +2 -2
  4. package/dist/{BaseDatePicker-BOxfHGS8.js → BaseDatePicker-BSkAllLg.js} +481 -481
  5. package/dist/{BaseUpload-B-CktrCH.js → BaseUpload-J2v3G0-q.js} +13 -13
  6. package/dist/{BlockMedia-T4OxMb4n.js → BlockMedia-CAgKbN_k.js} +1 -1
  7. package/dist/{CCallout-yFt7TFJa.js → CCallout-D5Nk5DgN.js} +2 -2
  8. package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
  9. package/dist/{CDropdownItem-DhEpCmQt.js → CDropdownItem-DGES8E6l.js} +7 -5
  10. package/dist/{CFormField-DDLf5YY4.js → CFormField-CE4rV3cr.js} +1 -1
  11. package/dist/{CPhoneFormat-B88rkuf0.js → CPhoneFormat-DXPrTit9.js} +1 -1
  12. package/dist/CPriceInput-CYsf1n6T.js +112 -0
  13. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
  14. package/dist/{ClientAutocomplete-DmRl3SUj.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
  15. package/dist/{ClientModal-Dn3WDhGU.js → ClientModal-Dznh8Vvn.js} +44 -36
  16. package/dist/{ColorPicker-DX6JAsTn.js → ColorPicker-CWQEE8VR.js} +1 -1
  17. package/dist/{CompanyModal-BbO2nTd5.js → CompanyModal-CeZ3GgLu.js} +4 -4
  18. package/dist/{ContentWrapper-BvbmcTXK.js → ContentWrapper-DW7VHTdA.js} +6 -6
  19. package/dist/{CoverBlockSettings-C8FDwx7i.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
  20. package/dist/{DocAnswer-OttbybQs.js → DocAnswer-CPttkKAJ.js} +2 -2
  21. package/dist/{DocDetails-J7O26zqa.js → DocDetails-BCwWW_kM.js} +7 -7
  22. package/dist/{DocForm-Bgbesq79.js → DocForm-BPjC08Ic.js} +54 -53
  23. package/dist/{DocFormSend-D_U3ztgw.js → DocFormSend-BaC8IJCu.js} +2 -2
  24. package/dist/{DocLinks-Dp-iQ-B_.js → DocLinks-DN-S8MY_.js} +2 -2
  25. package/dist/{DocModalBase-F-wlPg7j.js → DocModalBase-bFJp0T2Y.js} +1 -1
  26. package/dist/{DocPrint-B45voy0W.js → DocPrint-Ci7Jyh-C.js} +11 -17
  27. package/dist/{DocReceipt-jKVK5U-a.js → DocReceipt-BYlXr6eS.js} +6 -6
  28. package/dist/{DocSendReminder-BersSNb1.js → DocSendReminder-DFx4934a.js} +1 -1
  29. package/dist/{DocTextEditor-CYe_jWZ8.js → DocTextEditor-idQMnlIF.js} +281 -270
  30. package/dist/{DocTimeline-yyzh51yB.js → DocTimeline-ZmGSVRUB.js} +1 -1
  31. package/dist/{DocumentClient-CS_EVjK9.js → DocumentClient-DTRlyvLO.js} +5 -5
  32. package/dist/{DocumentLayout-Ba121Zro.js → DocumentLayout-BJAyNjNa.js} +4 -4
  33. package/dist/{DocumentLogotype-DUVhl9xC.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
  34. package/dist/{DocumentVoided-D5ePc-a5.js → DocumentVoided-DfKewfe4.js} +1 -1
  35. package/dist/{EmbedInput-Ds-Z-0J2.js → EmbedInput-7hLNsnEV.js} +2 -2
  36. package/dist/{EmbedSettings-C8BP4YuY.js → EmbedSettings-CpL24RhA.js} +2 -2
  37. package/dist/{ErrorCallout-B_QrRAm6.js → ErrorCallout-CdJCe67q.js} +1 -1
  38. package/dist/{FilePreviewModal-B105PxLD.js → FilePreviewModal-B7qT3I7F.js} +2 -2
  39. package/dist/{Flag-hg61To9C.js → Flag-DwW19zju.js} +1 -1
  40. package/dist/{HeaderSettings-DIBiJc4I.js → HeaderSettings-C8SuuAwv.js} +7 -7
  41. package/dist/{ImageSelectModal-D2g42vWJ.js → ImageSelectModal-CAOh3YHc.js} +3 -3
  42. package/dist/{ImageUploadWrapper-CREUMKh3.js → ImageUploadWrapper-21yldsj9.js} +2 -2
  43. package/dist/{Index-8DAfMA_s.js → Index-B0BgYtWI.js} +5 -5
  44. package/dist/{Index-4NdatdH2.js → Index-BC1AhlQ9.js} +6 -6
  45. package/dist/{Index-CwulQoRG.js → Index-BZi6r2UN.js} +8 -8
  46. package/dist/{Index-agYFtWMw.js → Index-BsD09y_2.js} +6 -6
  47. package/dist/{Index-BZM-FsHY.js → Index-Bu9SdKLP.js} +1 -1
  48. package/dist/{Index-YkoWXviW.js → Index-BvsqZh2A.js} +4 -4
  49. package/dist/{Index-DeNpUKh8.js → Index-Bz4qd9uO.js} +5 -5
  50. package/dist/{Index-BLQwYzIX.js → Index-C--GiPc1.js} +4 -4
  51. package/dist/{Index-DDj3_T_m.js → Index-CC7qF0br.js} +4 -4
  52. package/dist/{Index-Dy7K8KMB.js → Index-CGxOvTF4.js} +590 -694
  53. package/dist/{Index-7rbX01Io.js → Index-CI7_ktvb.js} +5 -5
  54. package/dist/{Index-DRgVg0CH.js → Index-COJZmxkX.js} +4 -4
  55. package/dist/{Index-Bu6aOCmM.js → Index-CObEQ6G-.js} +3 -3
  56. package/dist/{Index-CpWW7m5F.js → Index-CP2bsXd-.js} +11 -13
  57. package/dist/{Index-lKo8z-71.js → Index-CSvZBLnp.js} +3 -3
  58. package/dist/{Index-BuDj2yrd.js → Index-Ci-hGBbC.js} +4 -4
  59. package/dist/{Index-CL12KArA.js → Index-Ckzq1cEJ.js} +22 -18
  60. package/dist/{Index-C56fTFO3.js → Index-CoIh5y2F.js} +4 -4
  61. package/dist/{Index-BiK7PqAm.js → Index-Couda8BX.js} +2 -2
  62. package/dist/{Index-D_MonVUx.js → Index-CvXt3dm6.js} +23 -23
  63. package/dist/{Index-D0gS476H.js → Index-D95MNzAZ.js} +4 -4
  64. package/dist/{Index-Dqp7TmnQ.js → Index-DB5EG4EI.js} +32 -30
  65. package/dist/{Index-02IKjPth.js → Index-DDvRihXA.js} +3 -3
  66. package/dist/{Index-sltQx4D3.js → Index-DIAntwBs.js} +2 -2
  67. package/dist/{Index-CYHxrllv.js → Index-DUdJNcDT.js} +4 -4
  68. package/dist/{Index-BG9x90V0.js → Index-DfANvO5d.js} +5 -5
  69. package/dist/{Index-DVQ6ZsHz.js → Index-Ds1Jv5Mr.js} +5 -5
  70. package/dist/{Index-B8xcDVQ1.js → Index-FIWsRGmh.js} +5 -5
  71. package/dist/{Index-bTXYCG9Y.js → Index-M3b7S4YX.js} +4 -4
  72. package/dist/{Index-kAu-7TWv.js → Index-NoN1_539.js} +10 -10
  73. package/dist/{Index-CUxvKTfn.js → Index-UGFm4yxI.js} +5 -5
  74. package/dist/{Index-BUTYZCat.js → Index-aCBe0dXx.js} +2 -2
  75. package/dist/{Index-DIg77V9c.js → Index-kJFtpJEP.js} +2 -2
  76. package/dist/{Index-BqBi-EmE.js → Index-rQKoLISX.js} +2 -2
  77. package/dist/{InputToggleRow-C7aWJpUF.js → InputToggleRow-Ct8rvqAF.js} +1 -1
  78. package/dist/{ManualPopover-CK9Xp-mo.js → ManualPopover-B0vp9ydC.js} +1 -1
  79. package/dist/{MediaWrapper-v87wlFnj.js → MediaWrapper-hmofOPLv.js} +3 -3
  80. package/dist/{NotBindingText-BGy3SnK3.js → NotBindingText-COpJPwHe.js} +2 -2
  81. package/dist/{PackageGroup-CrsOkWIb.js → PackageGroup-BdtslJL-.js} +8 -8
  82. package/dist/{PdfTerms-UmEmlI0Y.js → PdfTerms-EDStBDhn.js} +2 -2
  83. package/dist/{PdfViewer-C6VBu4tT.js → PdfViewer-D1_Roqu2.js} +3 -3
  84. package/dist/{PlainHtml-Dsaxrq3D.js → PlainHtml-C3JPvt4o.js} +1 -1
  85. package/dist/{PriceHeader-DQ615L9Q.js → PriceHeader-BdfozyN8.js} +9 -9
  86. package/dist/{SearchApi-CbWFQfoc.js → SearchApi-CQtYh98a.js} +2 -2
  87. package/dist/{Setup-Byd-0W7U.js → Setup-DHHMT6xu.js} +1 -1
  88. package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js → SmartList-BXeRj5NC.js} +1 -1
  89. package/dist/{TermsSettings-Cah7_3Ba.js → TermsSettings-D1tDAu-r.js} +3 -3
  90. package/dist/{ThemeColorRow-DqsjvQfY.js → ThemeColorRow-HUN-QPY_.js} +3 -3
  91. package/dist/{ToggleBinding-DFr6xW2B.js → ToggleBinding-CRoVM6Nw.js} +3 -3
  92. package/dist/{UploadModal-jRI9ITty.js → UploadModal-BD3pIiPT.js} +2 -2
  93. package/dist/{VideoPlayerInput-C5_Ft8-4.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
  94. package/dist/{VideoPlayerSettings-LZluC-Tg.js → VideoPlayerSettings-CGq--niu.js} +2 -2
  95. package/dist/{VideoSelectModal-OGDq_lwv.js → VideoSelectModal-B61rBqdH.js} +3 -3
  96. package/dist/{answerDocumentMixin-D8BXcPWt.js → answerDocumentMixin-DiONfM1s.js} +3 -3
  97. package/dist/{debounce-BQXg61RJ.js → debounce-BIchuVwa.js} +11 -11
  98. package/dist/{focusDrawerMixin-D3Pzr0P-.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
  99. package/dist/{formComponentsInstall-D1VBPt9o.js → formComponentsInstall-EQLbqYqI.js} +74 -76
  100. package/dist/{formDrawerState-wG6RdIXD.js → formDrawerState-CiKGHdNH.js} +1 -1
  101. package/dist/{formValidationMixin-D9qFZJf9.js → formValidationMixin-5BVcxu38.js} +1 -1
  102. package/dist/{index-BFnwm62-.js → index-BYTRIZIz.js} +1 -1
  103. package/dist/{index-Dnp3LAf2.js → index-Be__C37A.js} +1 -1
  104. package/dist/{index-DETqm8Jy.js → index-CUydiL8B.js} +15 -15
  105. package/dist/{index-1DmXjcSN.js → index-DH6SCEKQ.js} +12 -12
  106. package/dist/{index-BEOnzeEr.js → index-gtVGRKIX.js} +5 -5
  107. package/dist/{index-M-GXl2PO.js → index-tNIrTnCx.js} +20 -20
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +133 -141
  110. package/dist/{main-CWRB9q-W.js → main-Bp2qcma0.js} +4022 -4031
  111. package/dist/{mapFormMixin-BOmDynJ-.js → mapFormMixin-Ce3_WIKw.js} +1 -1
  112. package/dist/omit-21u5fFMx.js +31 -0
  113. package/dist/{publicSenderState-D_VhSyXD.js → publicSenderState-BcN9kJJr.js} +1 -1
  114. package/dist/style.css +2 -2
  115. package/dist/{throttle-Bixql7MZ.js → throttle-CfPxqhW_.js} +2 -2
  116. package/dist/{tinycolor-CIjZZX-6.js → tinycolor-DNK6zGoq.js} +1 -1
  117. package/dist/tippy.esm-B5TcTBWX.js +1799 -0
  118. package/dist/{utils-1ypnMuRv.js → utils-GzwJPAEe.js} +1 -1
  119. package/dist/{omit-CMqxXOLn.js → vuedraggable.umd-2pmrPYml.js} +526 -554
  120. package/package.json +1 -1
  121. package/dist/BaseInput-BDjhI5P9.js +0 -364
  122. package/dist/tippy.esm-BcAHvKwR.js +0 -2039
@@ -1,16 +1,17 @@
1
- import { m } from "./mapFormMixin-BOmDynJ-.js";
2
- import { I as L, a as H, r as l } from "./index-DETqm8Jy.js";
3
- import { az as v, h as q, n as o, b as c, aA as j, q as K, aB as I, aC as W, r as O, aD as T, f as P, aE as M, G as y } from "./main-CWRB9q-W.js";
4
- import { B as R } from "./BaseDatePicker-BOxfHGS8.js";
5
- import { E as X } from "./ErrorCallout-B_QrRAm6.js";
6
- import { s as U, F as Q } from "./Flag-hg61To9C.js";
1
+ import { m } from "./mapFormMixin-Ce3_WIKw.js";
2
+ import { I as L, a as H, r as l } from "./index-CUydiL8B.js";
3
+ import { az as v, h as q, n as o, b as c, aA as j, t as K, aB as B, aC as W, q as I, aD as P, f as T, aE as R, J as y } from "./main-Bp2qcma0.js";
4
+ import { B as M } from "./BaseDatePicker-BSkAllLg.js";
5
+ import { E as X } from "./ErrorCallout-CdJCe67q.js";
6
+ import { s as U, F as Q } from "./Flag-DwW19zju.js";
7
7
  import { b as Y, m as g } from "./vuex.esm-DKGl8mcw.js";
8
- import G from "./AddClientCallout-C7BLDW6Y.js";
9
- import J from "./ClientModal-Dn3WDhGU.js";
10
- import { c as Z, r as ee, g as te, C as h, a as f, b as p } from "./CDropdownItem-DhEpCmQt.js";
11
- import { S as ie } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js";
12
- import { C as _ } from "./CCallout-yFt7TFJa.js";
13
- import { a as se, C as ne } from "./CFormField-DDLf5YY4.js";
8
+ import G from "./AddClientCallout-BP2ip0A4.js";
9
+ import J from "./ClientModal-Dznh8Vvn.js";
10
+ import { c as Z, r as ee, g as te, C as h, a as f, b as p } from "./CDropdownItem-DGES8E6l.js";
11
+ import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js";
12
+ import { C as _ } from "./CCallout-D5Nk5DgN.js";
13
+ import { a as ie, C as se } from "./CFormField-CE4rV3cr.js";
14
+ import { S as ne } from "./SmartList-BXeRj5NC.js";
14
15
  function z(t, e) {
15
16
  const i = new Date(t.getTime());
16
17
  return i.setDate(
@@ -48,7 +49,7 @@ const ae = {
48
49
  }
49
50
  },
50
51
  components: {
51
- BaseDatePicker: R
52
+ BaseDatePicker: M
52
53
  },
53
54
  props: {
54
55
  _document: {
@@ -150,7 +151,7 @@ var re = function() {
150
151
  return i("div", { key: n, staticClass: "mb-4 flex cursor-pointer select-none items-center justify-between rounded-md border border-gray-200 bg-gray-50 p-4 text-sm hover:border-gray-300 hover:bg-gray-100 active:border-gray-400 active:bg-gray-200", on: { click: () => e.onSendAt(s[0]) } }, [i("div", { staticClass: "font-medium" }, [e._v(e._s(e.$t(s[1])))]), i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$formatDate(s[0], "p, d MMM")) + " ")])]);
151
152
  }), 0)]), i("div", { staticClass: "border-t border-gray-200 bg-gray-100 px-8 py-6", class: e.showCustom ? "" : "cursor-pointer hover:bg-gray-200", on: { click: function(s) {
152
153
  e.showCustom = !0;
153
- } } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"), clearable: !1, type: "time" }, on: { input: e.setTime } })], 1), e.$v.$invalid ? i("div", { staticClass: "error-wrapper" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar" } }), e._v(" " + e._s(e.$t("custom.invalid")) + " ")], 1) : e._e(), i("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { loading: e.isPostingDocument, type: "secondary", wide: "" }, on: { click: function(s) {
154
+ } } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"), type: "time" }, on: { input: e.setTime } })], 1), e.$v.$invalid ? i("div", { staticClass: "error-wrapper" }, [i("CIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar" } }), e._v(" " + e._s(e.$t("custom.invalid")) + " ")], 1) : e._e(), i("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { loading: e.isPostingDocument, type: "secondary", wide: "" }, on: { click: function(s) {
154
155
  return e.onSendAt(e.sendAt);
155
156
  } } }, [e._v(" " + e._s(e.$t("_common:send")) + " " + e._s(e.$formatDate(e.sendAt, "d MMM - p")) + " ")])], 1)])], 1)]);
156
157
  }, oe = [], le = /* @__PURE__ */ o(
@@ -159,7 +160,7 @@ var re = function() {
159
160
  oe,
160
161
  !1,
161
162
  null,
162
- "799363f2"
163
+ "dcfae061"
163
164
  );
164
165
  const de = le.exports, ce = {
165
166
  sv: {
@@ -512,19 +513,21 @@ const be = _e.exports, Ce = {
512
513
  signOrder: i ? s.signOrder : n + 1
513
514
  }));
514
515
  } else
515
- e = c(this._document, "template.reminders", []), e.length || (e = I.default);
516
+ e = c(this._document, "template.reminders", []), e.length || (e = B.default);
516
517
  this.setFormValue({ key: "data.reminders", value: e }), this.setFormValue({ key: "useSignOrder", value: t });
517
518
  },
518
519
  removeClient(t) {
519
520
  this.removeFormValue(`clients[${t}]`);
520
521
  },
521
522
  openClientModal(t = 0) {
523
+ var i;
522
524
  const e = c(this, `clients[${t}].signOrder`);
523
525
  this.$modal.show(J, {
524
526
  documentClientIndex: t,
525
527
  ...this.useSignOrder && {
526
528
  signOrder: W(e) === "number" ? e : this.maxSignOrder + 1
527
529
  },
530
+ signOptions: (i = this._document) == null ? void 0 : i.signOptions,
528
531
  setFormValue: this.setFormValue,
529
532
  removeFormValue: this.removeFormValue,
530
533
  isPublicForm: this.isPublicForm
@@ -570,9 +573,9 @@ var we = function() {
570
573
  xe,
571
574
  !1,
572
575
  null,
573
- "d0782eac"
576
+ "51e072f2"
574
577
  );
575
- const ke = Se.exports, $e = {
578
+ const $e = Se.exports, ke = {
576
579
  name: "DocumentSendReminderItem",
577
580
  props: {
578
581
  label: {
@@ -597,14 +600,14 @@ var De = function() {
597
600
  return e.$emit("input", e.value + 1);
598
601
  } } })]], 2)]);
599
602
  }, Ve = [], Fe = /* @__PURE__ */ o(
600
- $e,
603
+ ke,
601
604
  De,
602
605
  Ve,
603
606
  !1,
604
607
  null,
605
608
  null
606
609
  );
607
- const Ae = Fe.exports, Be = {
610
+ const Ae = Fe.exports, Oe = {
608
611
  name: "DocumentSendReminders",
609
612
  i18nOptions: {
610
613
  namespaces: "documentSendReminders",
@@ -669,7 +672,7 @@ const Ae = Fe.exports, Be = {
669
672
  let s = this.getDefaultReminders().find(
670
673
  (n) => n.type === t
671
674
  );
672
- if (s || (s = I.default.find((n) => n.type === t)), !s)
675
+ if (s || (s = B.default.find((n) => n.type === t)), !s)
673
676
  throw new Error("Could not find default reminder");
674
677
  s[i] = e, this.setFormValue({ key: "data.reminders", value: s });
675
678
  return;
@@ -681,7 +684,7 @@ const Ae = Fe.exports, Be = {
681
684
  }
682
685
  }
683
686
  };
684
- var Ie = function() {
687
+ var Be = function() {
685
688
  var e = this, i = e._self._c;
686
689
  return i("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(2 * var(--rem))", "font-size": "16px" } }, [i("div", { staticStyle: { "font-size": "1.25em", "font-weight": "700", "margin-bottom": "0.25em", "text-align": "center" } }, [e._v(" " + e._s(e.$t("_common:reminder_plural").capitalize()) + " ")]), i("div", { staticClass: "text-center text-gray-600", staticStyle: { "max-width": "calc(20 * var(--rem))", margin: "0 auto calc(2 * var(--rem)) auto" } }, [e._v(" " + e._s(e.$t("description")) + " ")]), e._l([
687
690
  { type: "notViewed", fallbackKey: "viewed" },
@@ -694,15 +697,15 @@ var Ie = function() {
694
697
  }), i("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { "margin-top": "calc(2.5 * var(--rem))" } }, [i("CButton", { attrs: { type: "secondary", expanded: "" }, on: { click: function(s) {
695
698
  return e.$emit("close");
696
699
  } } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2);
697
- }, Oe = [], Te = /* @__PURE__ */ o(
700
+ }, Ie = [], Pe = /* @__PURE__ */ o(
701
+ Oe,
698
702
  Be,
699
703
  Ie,
700
- Oe,
701
704
  !1,
702
705
  null,
703
706
  null
704
707
  );
705
- const Pe = Te.exports, Me = {
708
+ const Te = Pe.exports, Re = {
706
709
  name: "SendForm",
707
710
  i18nOptions: {
708
711
  namespaces: "sendForm",
@@ -710,8 +713,8 @@ const Pe = Te.exports, Me = {
710
713
  },
711
714
  components: {
712
715
  Simplebar: U,
713
- BaseDatePicker: R,
714
- RecipientBlock: ke,
716
+ BaseDatePicker: M,
717
+ RecipientBlock: $e,
715
718
  ErrorCallout: X,
716
719
  IsPremiumPreStep: L,
717
720
  IsPremium: H
@@ -813,20 +816,12 @@ const Pe = Te.exports, Me = {
813
816
  return this.isManualDelivery ? !1 : this.clients.some((t) => !(t.email || t.cellphone));
814
817
  },
815
818
  signMethods() {
816
- return [
817
- ...this.feature("bankId") ? [
818
- {
819
- value: "bankId",
820
- title: this.$t("signMethod.bankId.title"),
821
- content: this.$t("signMethod.bankId.content")
822
- }
823
- ] : [],
824
- {
825
- value: "signature",
826
- title: this.$t("signMethod.signature.title"),
827
- content: this.$t("signMethod.signature.content")
828
- }
829
- ];
819
+ var t, e;
820
+ return ((e = (t = this._document.signOptions) == null ? void 0 : t.filter((i) => i !== "inPerson")) == null ? void 0 : e.map((i) => ({
821
+ value: i,
822
+ title: this.$t(`signMethod.${i}.title`),
823
+ content: this.$t(`signMethod.${i}.content`)
824
+ }))) || [];
830
825
  }
831
826
  },
832
827
  created() {
@@ -842,7 +837,10 @@ const Pe = Te.exports, Me = {
842
837
  });
843
838
  }
844
839
  }
845
- ((t = this.defaultAnswerMethod) == null ? void 0 : t.accept) === "button" && this.setAnswerMethod("signature", { ignoreChanges: !0 });
840
+ if (((t = this.defaultAnswerMethod) == null ? void 0 : t.accept) === "button") {
841
+ const [e] = this._document.signOptions || ["signature"];
842
+ this.setAnswerMethod(e, { ignoreChanges: !0 });
843
+ }
846
844
  },
847
845
  validations() {
848
846
  const t = {
@@ -893,7 +891,7 @@ const Pe = Te.exports, Me = {
893
891
  },
894
892
  openReminders() {
895
893
  this.useSignOrder || this.$modal.show(
896
- Pe,
894
+ Te,
897
895
  {
898
896
  _document: this._document,
899
897
  setFormValue: this.setFormValue,
@@ -935,7 +933,7 @@ const Pe = Te.exports, Me = {
935
933
  }
936
934
  }
937
935
  };
938
- var Re = function() {
936
+ var Me = function() {
939
937
  var e = this, i = e._self._c;
940
938
  return i("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canUseBankId: s, canUseSms: n }) {
941
939
  var a;
@@ -994,19 +992,19 @@ var Re = function() {
994
992
  }), e._t("footer")], 2)], 1)];
995
993
  } }], null, !0) });
996
994
  }, ze = [], Ee = /* @__PURE__ */ o(
997
- Me,
998
995
  Re,
996
+ Me,
999
997
  ze,
1000
998
  !1,
1001
999
  null,
1002
- "a160ead7"
1000
+ "8a4ea99d"
1003
1001
  );
1004
- const ti = Ee.exports, Ne = {
1002
+ const ii = Ee.exports, Ne = {
1005
1003
  name: "CAutocomplete",
1006
1004
  components: {
1007
- CInput: O
1005
+ CInput: I
1008
1006
  },
1009
- mixins: [T],
1007
+ mixins: [P],
1010
1008
  inheritAttrs: !1,
1011
1009
  props: {
1012
1010
  value: {
@@ -1385,12 +1383,12 @@ const w = Ue.exports, Qe = {
1385
1383
  name: "CPhoneInput",
1386
1384
  components: {
1387
1385
  Flag: Q,
1388
- CInput: O,
1386
+ CInput: I,
1389
1387
  CDropdown: h,
1390
1388
  CDropdownItem: f,
1391
- CButton: P,
1392
- CField: se,
1393
- SmartList: ie
1389
+ CButton: T,
1390
+ CField: ie,
1391
+ SmartList: ne
1394
1392
  },
1395
1393
  props: {
1396
1394
  value: {
@@ -1507,7 +1505,7 @@ var Ye = function() {
1507
1505
  );
1508
1506
  const x = Je.exports, Ze = {
1509
1507
  name: "CRadio",
1510
- mixins: [M]
1508
+ mixins: [R]
1511
1509
  };
1512
1510
  var et = function() {
1513
1511
  var e = this, i = e._self._c;
@@ -1529,9 +1527,9 @@ var et = function() {
1529
1527
  const S = it.exports, st = {
1530
1528
  name: "CRadioButton",
1531
1529
  components: {
1532
- CButton: P
1530
+ CButton: T
1533
1531
  },
1534
- mixins: [M],
1532
+ mixins: [R],
1535
1533
  props: {
1536
1534
  type: {
1537
1535
  type: String,
@@ -1566,9 +1564,9 @@ var nt = function() {
1566
1564
  null,
1567
1565
  null
1568
1566
  );
1569
- const k = rt.exports, ot = {
1567
+ const $ = rt.exports, ot = {
1570
1568
  name: "CSelect",
1571
- mixins: [T],
1569
+ mixins: [P],
1572
1570
  inheritAttrs: !1,
1573
1571
  props: {
1574
1572
  value: {
@@ -1652,7 +1650,7 @@ var lt = function() {
1652
1650
  null,
1653
1651
  "23e48013"
1654
1652
  );
1655
- const $ = ct.exports, ut = {
1653
+ const k = ct.exports, ut = {
1656
1654
  name: "CSkeleton",
1657
1655
  functional: !0,
1658
1656
  props: {
@@ -1890,7 +1888,7 @@ var Ct = function() {
1890
1888
  null,
1891
1889
  null
1892
1890
  );
1893
- const St = xt.exports, kt = {
1891
+ const St = xt.exports, $t = {
1894
1892
  name: "CSlider",
1895
1893
  components: {
1896
1894
  CSliderThumb: _t,
@@ -2091,7 +2089,7 @@ const St = xt.exports, kt = {
2091
2089
  }
2092
2090
  }
2093
2091
  };
2094
- var $t = function() {
2092
+ var kt = function() {
2095
2093
  var e = this, i = e._self._c;
2096
2094
  return i("div", { staticClass: "c-slider", class: [`is-${e.size}`, `is-${e.type}`, e.rootClasses], on: { click: e.onSliderClick } }, [i("div", { ref: "slider", staticClass: "c-slider-track" }, [i("div", { staticClass: "c-slider-fill", style: e.barStyle }), e.ticks ? e._l(e.tickValues, function(s, n) {
2097
2095
  return i("CSliderTick", { key: n, attrs: { value: s } });
@@ -2101,8 +2099,8 @@ var $t = function() {
2101
2099
  e.value2 = s;
2102
2100
  }, expression: "value2" } }) : e._e()], 2)]);
2103
2101
  }, Dt = [], Vt = /* @__PURE__ */ o(
2104
- kt,
2105
2102
  $t,
2103
+ kt,
2106
2104
  Dt,
2107
2105
  !1,
2108
2106
  null,
@@ -2198,15 +2196,15 @@ var At = function() {
2198
2196
  } else
2199
2197
  e.computedValue = r;
2200
2198
  } } }), i("span", { staticClass: "check", class: [`is-${e.type}`] }), i("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
2201
- }, Bt = [], It = /* @__PURE__ */ o(
2199
+ }, Ot = [], Bt = /* @__PURE__ */ o(
2202
2200
  Ft,
2203
2201
  At,
2204
- Bt,
2202
+ Ot,
2205
2203
  !1,
2206
2204
  null,
2207
2205
  "4cdd239d"
2208
2206
  );
2209
- const F = It.exports, Ot = {
2207
+ const F = Bt.exports, It = {
2210
2208
  name: "CTabItem",
2211
2209
  props: {
2212
2210
  label: String,
@@ -2284,16 +2282,16 @@ const F = It.exports, Ot = {
2284
2282
  [e]
2285
2283
  ) : e;
2286
2284
  }
2287
- }, Tt = null, Pt = null;
2288
- var Mt = /* @__PURE__ */ o(
2289
- Ot,
2290
- Tt,
2285
+ }, Pt = null, Tt = null;
2286
+ var Rt = /* @__PURE__ */ o(
2287
+ It,
2291
2288
  Pt,
2289
+ Tt,
2292
2290
  !1,
2293
2291
  null,
2294
2292
  null
2295
2293
  );
2296
- const A = Mt.exports, Rt = {
2294
+ const A = Rt.exports, Mt = {
2297
2295
  name: "CSlotComponent",
2298
2296
  props: {
2299
2297
  component: {
@@ -2344,7 +2342,7 @@ const A = Mt.exports, Rt = {
2344
2342
  }, zt = {
2345
2343
  name: "CTabs",
2346
2344
  components: {
2347
- CSlotComponent: Rt
2345
+ CSlotComponent: Mt
2348
2346
  },
2349
2347
  props: {
2350
2348
  value: {
@@ -2486,11 +2484,11 @@ var Et = function() {
2486
2484
  null,
2487
2485
  "e02a6440"
2488
2486
  );
2489
- const B = Lt.exports;
2490
- function ii(t) {
2491
- t.component(D.name, D), t.component("CAutocomplete", je), t.component(y.name, y), t.component(S.name, S), t.component(k.name, k), t.component(h.name, h), t.component(f.name, f), t.component($.name, $), t.component(_.name, _), t.component(F.name, F), t.component(B.name, B), t.component(A.name, A), t.component("CField", ne), t.component(w.name, w), t.component(x.name, x), t.component(V.name, V);
2487
+ const O = Lt.exports;
2488
+ function si(t) {
2489
+ t.component(D.name, D), t.component("CAutocomplete", je), t.component(y.name, y), t.component(S.name, S), t.component($.name, $), t.component(h.name, h), t.component(f.name, f), t.component(k.name, k), t.component(_.name, _), t.component(F.name, F), t.component(O.name, O), t.component(A.name, A), t.component("CField", se), t.component(w.name, w), t.component(x.name, x), t.component(V.name, V);
2492
2490
  }
2493
2491
  export {
2494
- ti as S,
2495
- ii as i
2492
+ ii as S,
2493
+ si as i
2496
2494
  };
@@ -1,4 +1,4 @@
1
- import { V as s } from "./main-CWRB9q-W.js";
1
+ import { V as s } from "./main-Bp2qcma0.js";
2
2
  const e = s.observable({
3
3
  isFixed: !1,
4
4
  // Worded according to CSS property (show as fixed drawer)
@@ -1,4 +1,4 @@
1
- import { h as n } from "./main-CWRB9q-W.js";
1
+ import { h as n } from "./main-Bp2qcma0.js";
2
2
  import { s as l } from "./dom-CJxkno7i.js";
3
3
  const s = (r) => {
4
4
  var i;
@@ -1,4 +1,4 @@
1
- import { n as i, A as n } from "./main-CWRB9q-W.js";
1
+ import { n as i, D as n } from "./main-Bp2qcma0.js";
2
2
  const o = {
3
3
  name: "DocumentGuide",
4
4
  i18nOptions: {
@@ -1,4 +1,4 @@
1
- import { g as s, L as l, M as r, n as d, V as n } from "./main-CWRB9q-W.js";
1
+ import { g as s, N as l, O as r, n as d, V as n } from "./main-Bp2qcma0.js";
2
2
  import { m as p, a as c } from "./vuex.esm-DKGl8mcw.js";
3
3
  const m = {
4
4
  name: "ClientLinks",
@@ -1,7 +1,7 @@
1
- import { n as d, bf as F, b as C, b5 as M, bg as X, bh as Q, bi as J, bj as ee, V as U, bk as te, a2 as L, bl as ne, c as h, G as ae, u as P, d as y, bm as re, g as m, bn as b, A as k, bo as ie, bp as se, bq as oe, br as H, p as ce, h as D, I as E, bs as B, M as le, bt as ue, au as de } from "./main-CWRB9q-W.js";
1
+ import { n as d, be as F, b as C, b4 as M, bf as X, bg as Q, bh as J, bi as ee, V as U, bj as te, ae as D, bk as ne, c as h, J as ae, w as P, d as y, bl as re, g as m, bm as b, D as k, bn as ie, bo as se, bp as oe, bq as H, p as ce, h as L, I as E, br as B, O as le, bs as ue, au as de } from "./main-Bp2qcma0.js";
2
2
  import { m as v, a as $, b as me } from "./vuex.esm-DKGl8mcw.js";
3
3
  import { a as u } from "./anime.es-BrPTThYb.js";
4
- import { v as _ } from "./index-M-GXl2PO.js";
4
+ import { v as _ } from "./index-tNIrTnCx.js";
5
5
  import { a as pe } from "./dom-CJxkno7i.js";
6
6
  const x = {
7
7
  AD: {
@@ -1386,7 +1386,7 @@ var be = function() {
1386
1386
  null,
1387
1387
  null
1388
1388
  );
1389
- const G = Pe.exports, Se = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), ke = "stripe", {
1389
+ const G = Pe.exports, Se = (n) => D.te(`errors:${n}`) && D.t(`errors:${n}`), ke = "stripe", {
1390
1390
  LOAD_PRICES: A,
1391
1391
  RESET_STRIPE_FORM: xe,
1392
1392
  SET_STRIPE_FORM_VALUE: we,
@@ -1925,16 +1925,16 @@ const G = Pe.exports, Se = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), ke
1925
1925
  }
1926
1926
  }
1927
1927
  };
1928
- var Le = function() {
1928
+ var De = function() {
1929
1929
  var e = this;
1930
1930
  return e._self._c, e._m(0);
1931
- }, De = [function() {
1931
+ }, Le = [function() {
1932
1932
  var n = this, e = n._self._c;
1933
1933
  return e("div", [e("canvas", { attrs: { id: "fireworks" } })]);
1934
1934
  }], Re = /* @__PURE__ */ d(
1935
1935
  Ie,
1936
- Le,
1937
1936
  De,
1937
+ Le,
1938
1938
  !1,
1939
1939
  null,
1940
1940
  "18ad2709"
@@ -1986,7 +1986,7 @@ const Fe = Re.exports, Ue = {
1986
1986
  return t.src = `https://${e}`, t.id = "stripe-js", n && t.addEventListener("load", (r) => n(null, r), !1), a.parentNode.insertBefore(t, a), !0;
1987
1987
  }, Be = (n) => He(() => {
1988
1988
  window.$stripe = Stripe(h.stripe.publishableKey, {
1989
- locale: L.lang || "en"
1989
+ locale: D.lang || "en"
1990
1990
  }), typeof n == "function" && n();
1991
1991
  }), Z = {
1992
1992
  data() {
@@ -2501,7 +2501,7 @@ var Ve = function() {
2501
2501
  })], 2);
2502
2502
  }), e.promotion ? t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.promotion.code || e.promotion.name) + " ")]), t("div", { staticClass: "has-text-danger text-right", staticStyle: { display: "inline-flex", "justify-content": "flex-end", "align-items": "center" } }, [t("CButton", { staticStyle: { height: "inherit", "margin-right": "3px" }, attrs: { disabled: e.isEditLock, "icon-props": { size: 15 }, size: "small", type: "none", pattern: "tertiary", icon: "trash" }, on: { click: function(a) {
2503
2503
  return e.$emit("input", { key: "promotion", value: null });
2504
- } } }), t("div", { domProps: { textContent: e._s(e.promotionDescription) } })], 1)]) : e._e(), e.formPrices.vatAmount ? [t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.vat").capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.vatAmount, { currency: e.currency })) + " ")])]), t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.incVat", { thing: e.$t("_common:vat.vat") }).capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.totalAmount, { currency: e.currency })) + " ")])])] : e._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: !e.promotion, expression: "!promotion" }], staticClass: "flex w-full justify-end" }, [e.promoInputVisible ? t("CField", { staticStyle: { "padding-top": "1em", width: "100%" }, attrs: { expanded: "" } }, [t("CInput", { attrs: { placeholder: e.$t("promotion.placeholder"), "custom-class": e.isInvalidPromotionCode ? "is-danger shake" : "", autofocus: "", size: "small" }, on: { blur: function(a) {
2504
+ } } }), t("div", { domProps: { textContent: e._s(e.promotionDescription) } })], 1)]) : e._e(), e.formPrices.vatAmount ? [t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.vat").capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.vatAmount, { currency: e.currency })) + " ")])]), t("div", { staticClass: "flex w-full justify-between", staticStyle: { "padding-bottom": "4px" } }, [t("div", { staticStyle: { "font-weight": "500", opacity: "0.7" } }, [e._v(" " + e._s(e.$t("_common:vat.incVat", { thing: e.$t("_common:vat.vat") }).capitalize()) + " ")]), t("div", { staticClass: "text-right", staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.priceFormat(e.formPrices.totalAmount, { currency: e.currency })) + " ")])])] : e._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: !e.promotion, expression: "!promotion" }], staticClass: "flex w-full justify-end" }, [e.promoInputVisible ? t("CField", { staticStyle: { "padding-top": "1em", width: "100%" }, attrs: { expanded: "" } }, [t("CInput", { attrs: { placeholder: e.$t("promotion.placeholder"), "custom-class": e.isInvalidPromotionCode ? "is-danger shake" : "", size: "small" }, on: { blur: function(a) {
2505
2505
  return e.verifyPromotionCode(e.inputPromotionCode);
2506
2506
  } }, nativeOn: { keyup: function(a) {
2507
2507
  return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.verifyPromotionCode(e.inputPromotionCode);
@@ -2562,7 +2562,7 @@ var Ve = function() {
2562
2562
  Oe,
2563
2563
  !1,
2564
2564
  null,
2565
- "30b943b0"
2565
+ "34e4bb3d"
2566
2566
  );
2567
2567
  const ze = Ne.exports, qe = {
2568
2568
  name: "PremiumStripeSelect",
@@ -3447,7 +3447,7 @@ const Pt = _t.exports, St = {
3447
3447
  try {
3448
3448
  ce("/documentLimitReached", {});
3449
3449
  } catch (n) {
3450
- D(n, { showMessage: !1 });
3450
+ L(n, { showMessage: !1 });
3451
3451
  }
3452
3452
  },
3453
3453
  async mounted() {
@@ -3487,7 +3487,7 @@ const Pt = _t.exports, St = {
3487
3487
  this.$t("voucherSuccessMessage", { count: this.voucherDocCount })
3488
3488
  ), this.onUpgrade && typeof this.onUpgrade == "function" && this.onUpgrade(), this.$emit("close");
3489
3489
  } catch (n) {
3490
- D(n);
3490
+ L(n);
3491
3491
  } finally {
3492
3492
  this.isLoading = !1;
3493
3493
  }
@@ -3580,7 +3580,7 @@ const $t = wt.exports, Tt = {
3580
3580
  "Cannot upgrade license as current paymentMethod is not valid"
3581
3581
  );
3582
3582
  } catch (t) {
3583
- D(t);
3583
+ L(t);
3584
3584
  }
3585
3585
  e && await n();
3586
3586
  },
@@ -3608,7 +3608,7 @@ var Mt = function() {
3608
3608
  null,
3609
3609
  null
3610
3610
  );
3611
- const Lt = It.exports, Dt = {
3611
+ const Dt = It.exports, Lt = {
3612
3612
  i18nOptions: {
3613
3613
  namespaces: "personalMessage",
3614
3614
  messages: {
@@ -3637,7 +3637,7 @@ var Rt = function() {
3637
3637
  var e = this, t = e._self._c;
3638
3638
  return t("PremiumRestrictedBase", { attrs: { title: e.$t("title"), "sub-title": e.$t("subTitle"), "on-upgrade": e.onUpgrade } });
3639
3639
  }, Ft = [], Ut = /* @__PURE__ */ d(
3640
- Dt,
3640
+ Lt,
3641
3641
  Rt,
3642
3642
  Ft,
3643
3643
  !1,
@@ -3838,7 +3838,7 @@ const ln = cn.exports, I = {
3838
3838
  templates: Qt,
3839
3839
  documents: $t,
3840
3840
  personalMessage: Ht,
3841
- licenses: Lt,
3841
+ licenses: Dt,
3842
3842
  inviteCreators: yt,
3843
3843
  stats: Zt,
3844
3844
  documentBlocks: Pt,
@@ -1,9 +1,9 @@
1
- import { s as n, F as o } from "./Flag-hg61To9C.js";
2
- import { w as c } from "./CDropdownItem-DhEpCmQt.js";
3
- import { n as a } from "./main-CWRB9q-W.js";
1
+ import { s as n, F as o } from "./Flag-DwW19zju.js";
2
+ import { w as c } from "./CDropdownItem-DGES8E6l.js";
3
+ import { n as a } from "./main-Bp2qcma0.js";
4
4
  import { i as d } from "./dom-CJxkno7i.js";
5
- import { d as u } from "./debounce-BQXg61RJ.js";
6
- import { t as m } from "./throttle-Bixql7MZ.js";
5
+ import { d as u } from "./debounce-BIchuVwa.js";
6
+ import { t as m } from "./throttle-CfPxqhW_.js";
7
7
  const f = {
8
8
  name: "BackgroundsModalList",
9
9
  i18nOptions: {
@@ -116,9 +116,9 @@ const f = {
116
116
  };
117
117
  var h = function() {
118
118
  var e = this, t = e._self._c;
119
- return t("div", { staticStyle: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, [t("div", { staticClass: "relative flex w-full", staticStyle: { padding: "4px 0", "flex-shrink": "0" } }, [t("CInput", { staticClass: "flex-grow", staticStyle: { "border-bottom": "1px solid hsl(0, 0%, 92%)" }, attrs: { placeholder: e.$t("searchPlaceholder"), reset: !0, icon: "search", size: "medium" }, model: { value: e.query, callback: function(s) {
119
+ return t("div", { staticStyle: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, [t("div", { staticClass: "relative flex w-full shrink-0 py-1" }, [t("CInput", { staticClass: "flex-grow", staticStyle: { "border-bottom": "1px solid hsl(0, 0%, 92%)" }, attrs: { placeholder: e.$t("searchPlaceholder"), reset: !0, icon: "search", size: "medium" }, model: { value: e.query, callback: function(s) {
120
120
  e.query = s;
121
- }, expression: "query" } }), e.$i18n.lang !== "en" ? t("div", { staticClass: "absolute right-0 top-1/2 mr-6 hidden -translate-y-1/2 items-center text-gray-400 md:flex" }, [t("Flag", { staticClass: "mr-1", attrs: { region: "GB" } }), e._v(" Sök på "), t("b", { staticClass: "ml-1" }, [e._v("engelska")])], 1) : e._e()], 1), t("div", { staticStyle: { overflow: "hidden", flex: "1", height: "100%" } }, [t("simplebar", { ref: "scrollbar", staticStyle: { width: "100%", height: "100%", padding: "3px 4px" } }, [t("div", { staticStyle: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, [!e.items.length && e.isLoading ? e._l(12, function(s) {
121
+ }, expression: "query" } })], 1), t("div", { staticStyle: { overflow: "hidden", flex: "1", height: "100%" } }, [t("simplebar", { ref: "scrollbar", staticStyle: { width: "100%", height: "100%", padding: "3px 4px" } }, [t("div", { staticStyle: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, [!e.items.length && e.isLoading ? e._l(12, function(s) {
122
122
  return t("div", { key: s, ref: "item", refInFor: !0, staticClass: "photo" });
123
123
  }) : e._e(), e._l(e.items, function(s, l) {
124
124
  return t("div", { key: l, ref: "item", refInFor: !0, staticClass: "photo", style: { backgroundImage: `url(${s.minImage})` }, on: { click: function(r) {
@@ -137,12 +137,12 @@ var h = function() {
137
137
  p,
138
138
  !1,
139
139
  null,
140
- "57b68cb0"
140
+ "70d28101"
141
141
  );
142
142
  const g = v.exports, _ = {
143
143
  name: "BackgroundsModal"
144
144
  };
145
- var x = function() {
145
+ var y = function() {
146
146
  var e = this, t = e._self._c;
147
147
  return t("div", { staticClass: "font-primary fixed inset-0 z-[1000] flex items-center justify-center overflow-auto bg-black bg-opacity-10 max-sm:block max-sm:min-h-full max-sm:w-full max-sm:overflow-auto", on: { click: function(s) {
148
148
  return s.target !== s.currentTarget ? null : e.$emit("close");
@@ -151,15 +151,15 @@ var x = function() {
151
151
  } } }, [t("CButton", { staticClass: "absolute right-3 top-3 z-10", attrs: { pattern: "tertiary", type: "none", size: "small", circle: "", icon: "x" }, on: { click: function(s) {
152
152
  return e.$emit("close");
153
153
  } } }), e._t("header"), e._t("default")], 2)]);
154
- }, y = [], b = /* @__PURE__ */ a(
154
+ }, x = [], w = /* @__PURE__ */ a(
155
155
  _,
156
- x,
157
156
  y,
157
+ x,
158
158
  !1,
159
159
  null,
160
160
  "4a6a378b"
161
161
  );
162
- const w = b.exports, R = g, L = w;
162
+ const b = w.exports, R = g, L = b;
163
163
  export {
164
164
  L as B,
165
165
  R as a
@@ -1,9 +1,9 @@
1
- import { w as m } from "./CDropdownItem-DhEpCmQt.js";
2
- import { n as o, B as f, S as v, g as i, h as l } from "./main-CWRB9q-W.js";
1
+ import { w as m } from "./CDropdownItem-DGES8E6l.js";
2
+ import { n as o, E as f, S as v, g as i, h as l } from "./main-Bp2qcma0.js";
3
3
  import { m as h, a as d, b as _ } from "./vuex.esm-DKGl8mcw.js";
4
- import { B as p } from "./DocTextEditor-CYe_jWZ8.js";
5
- import { v as r } from "./index-M-GXl2PO.js";
6
- import { S as g } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js";
4
+ import { B as p } from "./DocTextEditor-idQMnlIF.js";
5
+ import { v as r } from "./index-tNIrTnCx.js";
6
+ import { S as g } from "./SmartList-BXeRj5NC.js";
7
7
  const x = {
8
8
  mixins: [m],
9
9
  props: {