@cling-se/widget 0.13.5 → 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 (125) hide show
  1. package/dist/{AddClientCallout-P8T0R-6B.js → AddClientCallout-BP2ip0A4.js} +3 -3
  2. package/dist/{AnswerModal-BF-ZUpQ9.js → AnswerModal-C8i3ldB_.js} +4 -4
  3. package/dist/{AttachmentItem-DEC6rjGE.js → AttachmentItem-BrvrAMae.js} +2 -2
  4. package/dist/{BaseDatePicker-2uhuySby.js → BaseDatePicker-BSkAllLg.js} +556 -556
  5. package/dist/{BaseUpload-D1OS-EZ-.js → BaseUpload-J2v3G0-q.js} +14 -14
  6. package/dist/{BlockMedia-BFBeRtJx.js → BlockMedia-CAgKbN_k.js} +21 -17
  7. package/dist/{CCallout-CsQMsFZO.js → CCallout-D5Nk5DgN.js} +2 -2
  8. package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
  9. package/dist/{CDropdownItem-BeK9wNHJ.js → CDropdownItem-DGES8E6l.js} +7 -5
  10. package/dist/{CField-TsZhnNrK.js → CFormField-CE4rV3cr.js} +66 -39
  11. package/dist/{CPhoneFormat-DPYhElZw.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-Ch2Z-VNr.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
  15. package/dist/{ClientModal-rdb9TsyH.js → ClientModal-Dznh8Vvn.js} +44 -36
  16. package/dist/{ColorPicker-2gfbU60o.js → ColorPicker-CWQEE8VR.js} +1 -1
  17. package/dist/{CompanyModal-CNeySxNi.js → CompanyModal-CeZ3GgLu.js} +4 -4
  18. package/dist/{ContentWrapper-D27J_sCS.js → ContentWrapper-DW7VHTdA.js} +8 -8
  19. package/dist/{CoverBlockSettings-BfdJKrsq.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
  20. package/dist/{DocAnswer-CyHASkhm.js → DocAnswer-CPttkKAJ.js} +2 -2
  21. package/dist/{DocDetails-8bM9dBxm.js → DocDetails-BCwWW_kM.js} +7 -7
  22. package/dist/{DocForm-CumvOHwl.js → DocForm-BPjC08Ic.js} +41 -39
  23. package/dist/{DocFormSend-CdoZy_Q2.js → DocFormSend-BaC8IJCu.js} +2 -2
  24. package/dist/{DocLinks-BJPADuvd.js → DocLinks-DN-S8MY_.js} +2 -2
  25. package/dist/{DocModalBase-Cd3zXvH_.js → DocModalBase-bFJp0T2Y.js} +1 -1
  26. package/dist/{DocPrint-Be4l2pra.js → DocPrint-Ci7Jyh-C.js} +20 -19
  27. package/dist/{DocReceipt-DmFjo26V.js → DocReceipt-BYlXr6eS.js} +6 -6
  28. package/dist/{DocSendReminder-CVxh_c7u.js → DocSendReminder-DFx4934a.js} +1 -1
  29. package/dist/{DocTextEditor-2jhWmmN2.js → DocTextEditor-idQMnlIF.js} +1086 -1057
  30. package/dist/{DocTimeline-Dvn690cI.js → DocTimeline-ZmGSVRUB.js} +1 -1
  31. package/dist/{DocumentClient-D3ESmMk1.js → DocumentClient-DTRlyvLO.js} +5 -5
  32. package/dist/{DocumentLayout-0-y6ChW3.js → DocumentLayout-BJAyNjNa.js} +9 -5
  33. package/dist/{DocumentLogotype-CHWEVOFb.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
  34. package/dist/{DocumentVoided-CoJ6YorU.js → DocumentVoided-DfKewfe4.js} +1 -1
  35. package/dist/{EmbedInput-CGQJdLBd.js → EmbedInput-7hLNsnEV.js} +2 -2
  36. package/dist/{EmbedSettings-DRfM7EkF.js → EmbedSettings-CpL24RhA.js} +2 -2
  37. package/dist/{ErrorCallout-pRwrsMwI.js → ErrorCallout-CdJCe67q.js} +1 -1
  38. package/dist/{FilePreviewModal-4hJnwqeM.js → FilePreviewModal-B7qT3I7F.js} +2 -2
  39. package/dist/{Flag-CH9jX9p6.js → Flag-DwW19zju.js} +1 -1
  40. package/dist/{HeaderSettings-DESkxus6.js → HeaderSettings-C8SuuAwv.js} +7 -7
  41. package/dist/{ImageSelectModal-BczBg7pO.js → ImageSelectModal-CAOh3YHc.js} +3 -3
  42. package/dist/{ImageUploadWrapper-B7F5UzSa.js → ImageUploadWrapper-21yldsj9.js} +2 -2
  43. package/dist/{Index-Dj7XQrCX.js → Index-B0BgYtWI.js} +5 -5
  44. package/dist/{Index-DLX_14JW.js → Index-BC1AhlQ9.js} +6 -6
  45. package/dist/{Index-B77mpvaJ.js → Index-BZi6r2UN.js} +8 -8
  46. package/dist/{Index-CPXWFvtI.js → Index-BsD09y_2.js} +6 -6
  47. package/dist/{Index-DpZ0FVkb.js → Index-Bu9SdKLP.js} +1 -1
  48. package/dist/{Index-DRdhlnQI.js → Index-BvsqZh2A.js} +4 -4
  49. package/dist/{Index-Cb7AYMdp.js → Index-Bz4qd9uO.js} +5 -5
  50. package/dist/{Index-BkDT09xK.js → Index-C--GiPc1.js} +5 -5
  51. package/dist/{Index-D_21EWlr.js → Index-CC7qF0br.js} +4 -4
  52. package/dist/{Index-CgugegyD.js → Index-CGxOvTF4.js} +590 -694
  53. package/dist/{Index-C8Eykyfr.js → Index-CI7_ktvb.js} +5 -5
  54. package/dist/{Index-D_XxQTHL.js → Index-COJZmxkX.js} +4 -4
  55. package/dist/{Index-BztAYqwZ.js → Index-CObEQ6G-.js} +3 -3
  56. package/dist/{Index-Lwrlj4Uo.js → Index-CP2bsXd-.js} +11 -13
  57. package/dist/{Index-DM8XS-Lc.js → Index-CSvZBLnp.js} +3 -3
  58. package/dist/{Index-xVss9bbv.js → Index-Ci-hGBbC.js} +4 -4
  59. package/dist/{Index-CUYcsakk.js → Index-Ckzq1cEJ.js} +22 -18
  60. package/dist/{Index-euXfMzGE.js → Index-CoIh5y2F.js} +4 -4
  61. package/dist/{Index-Cs1C7d8_.js → Index-Couda8BX.js} +2 -2
  62. package/dist/{Index-BSApSN3a.js → Index-CvXt3dm6.js} +24 -24
  63. package/dist/{Index-CwOwQrDd.js → Index-D95MNzAZ.js} +4 -4
  64. package/dist/{Index-CRjdza18.js → Index-DB5EG4EI.js} +32 -30
  65. package/dist/{Index-COFOq65C.js → Index-DDvRihXA.js} +3 -3
  66. package/dist/{Index-BOIBgNgp.js → Index-DIAntwBs.js} +2 -2
  67. package/dist/{Index-BCBBrdDY.js → Index-DUdJNcDT.js} +4 -4
  68. package/dist/{Index-DAuSARq4.js → Index-DfANvO5d.js} +5 -5
  69. package/dist/{Index-DLwJlsSV.js → Index-Ds1Jv5Mr.js} +6 -6
  70. package/dist/{Index-CBRWEkz3.js → Index-FIWsRGmh.js} +12 -7
  71. package/dist/{Index-DXovv3-e.js → Index-M3b7S4YX.js} +4 -4
  72. package/dist/{Index-McJQllNy.js → Index-NoN1_539.js} +7 -7
  73. package/dist/{Index-BBWCdaFx.js → Index-UGFm4yxI.js} +14 -32
  74. package/dist/{Index-Dk7qSZaZ.js → Index-aCBe0dXx.js} +2 -2
  75. package/dist/{Index-BSizncA1.js → Index-kJFtpJEP.js} +2 -2
  76. package/dist/{Index-DxT6UrU3.js → Index-rQKoLISX.js} +2 -2
  77. package/dist/{InputToggleRow-BjSD0lth.js → InputToggleRow-Ct8rvqAF.js} +1 -1
  78. package/dist/{ManualPopover-CIouE65j.js → ManualPopover-B0vp9ydC.js} +1 -1
  79. package/dist/{MediaWrapper-DK2fsQP7.js → MediaWrapper-hmofOPLv.js} +3 -3
  80. package/dist/{NotBindingText-D1IUYEiC.js → NotBindingText-COpJPwHe.js} +2 -2
  81. package/dist/{PackageGroup-BImsltc7.js → PackageGroup-BdtslJL-.js} +5 -5
  82. package/dist/{PdfTerms-BzBvvuT6.js → PdfTerms-EDStBDhn.js} +2 -2
  83. package/dist/PdfViewer-D1_Roqu2.js +374 -0
  84. package/dist/{PlainHtml-J_nR1ibV.js → PlainHtml-C3JPvt4o.js} +1 -1
  85. package/dist/{PriceHeader-BZeaKOTy.js → PriceHeader-BdfozyN8.js} +7 -7
  86. package/dist/{SearchApi-Du-Lqo7R.js → SearchApi-CQtYh98a.js} +2 -2
  87. package/dist/{Setup-CtSIo_xU.js → Setup-DHHMT6xu.js} +1 -1
  88. package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js → SmartList-BXeRj5NC.js} +1 -1
  89. package/dist/{TermsSettings-DDHrUB_S.js → TermsSettings-D1tDAu-r.js} +3 -3
  90. package/dist/{ThemeColorRow-BiRPYyj_.js → ThemeColorRow-HUN-QPY_.js} +3 -3
  91. package/dist/{ToggleBinding-Cvd9I0Dw.js → ToggleBinding-CRoVM6Nw.js} +3 -3
  92. package/dist/{UploadModal-ByJeM98S.js → UploadModal-BD3pIiPT.js} +2 -2
  93. package/dist/{VideoPlayerInput-C1PiFaBo.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
  94. package/dist/{VideoPlayerSettings-C9vt7Twd.js → VideoPlayerSettings-CGq--niu.js} +2 -2
  95. package/dist/{VideoSelectModal-cEDZv03c.js → VideoSelectModal-B61rBqdH.js} +3 -3
  96. package/dist/{answerDocumentMixin-QbMot2bf.js → answerDocumentMixin-DiONfM1s.js} +3 -3
  97. package/dist/{debounce-CaZBFRFZ.js → debounce-BIchuVwa.js} +11 -11
  98. package/dist/dom-CJxkno7i.js +91 -0
  99. package/dist/{focusDrawerMixin-D-mqPE02.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
  100. package/dist/{formComponentsInstall-BdhIOhq5.js → formComponentsInstall-EQLbqYqI.js} +201 -231
  101. package/dist/{formDrawerState-CcDRv2mi.js → formDrawerState-CiKGHdNH.js} +1 -1
  102. package/dist/{formValidationMixin-sp3Q6-ER.js → formValidationMixin-5BVcxu38.js} +2 -2
  103. package/dist/{index-CJTuXpCD.js → index-BYTRIZIz.js} +1 -1
  104. package/dist/{index-DEWMCZz4.js → index-Be__C37A.js} +1 -1
  105. package/dist/{index-DuCwf2mg.js → index-CUydiL8B.js} +16 -16
  106. package/dist/{index-BjZuADtN.js → index-DH6SCEKQ.js} +13 -13
  107. package/dist/{index-BWmMho6V.js → index-gtVGRKIX.js} +9 -9
  108. package/dist/{index-BABEaO8N.js → index-tNIrTnCx.js} +35 -35
  109. package/dist/index.es.js +3 -3
  110. package/dist/index.umd.js +134 -142
  111. package/dist/{main-DQ6SH_E_.js → main-Bp2qcma0.js} +4209 -4198
  112. package/dist/{mapFormMixin-2SoyKxW2.js → mapFormMixin-Ce3_WIKw.js} +1 -1
  113. package/dist/omit-21u5fFMx.js +31 -0
  114. package/dist/{publicSenderState-CKGe1ejF.js → publicSenderState-BcN9kJJr.js} +1 -1
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-BeZ_TpQb.js → throttle-CfPxqhW_.js} +2 -2
  117. package/dist/{tinycolor-C3JU9Hqu.js → tinycolor-DNK6zGoq.js} +1 -1
  118. package/dist/tippy.esm-B5TcTBWX.js +1799 -0
  119. package/dist/{utils-D2JfcR6v.js → utils-GzwJPAEe.js} +1 -1
  120. package/dist/{omit-BjdTqooP.js → vuedraggable.umd-2pmrPYml.js} +497 -525
  121. package/package.json +1 -1
  122. package/dist/BaseInput-BtgFVDxx.js +0 -364
  123. package/dist/PdfViewer-Dq0Mc-WC.js +0 -247
  124. package/dist/dom-CPYqHOIw.js +0 -69
  125. package/dist/tippy.esm-DowQrfWM.js +0 -2039
@@ -1,4 +1,4 @@
1
- import { V as s } from "./main-DQ6SH_E_.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,5 +1,5 @@
1
- import { h as n } from "./main-DQ6SH_E_.js";
2
- import { s as l } from "./dom-CPYqHOIw.js";
1
+ import { h as n } from "./main-Bp2qcma0.js";
2
+ import { s as l } from "./dom-CJxkno7i.js";
3
3
  const s = (r) => {
4
4
  var i;
5
5
  const t = [];
@@ -1,4 +1,4 @@
1
- import { n as i, z as n } from "./main-DQ6SH_E_.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, K as l, L as r, n as d, V as n } from "./main-DQ6SH_E_.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,8 +1,8 @@
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, a1 as L, bl as ne, c as h, F as ae, u as P, d as y, bm as re, g as m, bn as b, z 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, L as le, bt as ue, at as de } from "./main-DQ6SH_E_.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-BABEaO8N.js";
5
- import { a as pe } from "./dom-CPYqHOIw.js";
4
+ import { v as _ } from "./index-tNIrTnCx.js";
5
+ import { a as pe } from "./dom-CJxkno7i.js";
6
6
  const x = {
7
7
  AD: {
8
8
  name: "Andorra",
@@ -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-CH9jX9p6.js";
2
- import { w as c } from "./CDropdownItem-BeK9wNHJ.js";
3
- import { n as a } from "./main-DQ6SH_E_.js";
4
- import { i as d } from "./dom-CPYqHOIw.js";
5
- import { d as u } from "./debounce-CaZBFRFZ.js";
6
- import { t as m } from "./throttle-BeZ_TpQb.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
+ import { i as d } from "./dom-CJxkno7i.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-BeK9wNHJ.js";
2
- import { n as o, A as f, S as v, g as i, h as l } from "./main-DQ6SH_E_.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-2jhWmmN2.js";
5
- import { v as r } from "./index-BABEaO8N.js";
6
- import { S as g } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.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: {
@@ -223,7 +223,7 @@ var M = function() {
223
223
  null,
224
224
  "e14860e7"
225
225
  );
226
- const F = w.exports, A = {
226
+ const F = w.exports, k = {
227
227
  name: "TextTemplatesModal",
228
228
  components: {
229
229
  SmartList: g,
@@ -273,7 +273,7 @@ const F = w.exports, A = {
273
273
  }
274
274
  }
275
275
  };
276
- var k = function() {
276
+ var q = function() {
277
277
  var e = this, t = e._self._c;
278
278
  return t("SmartList", { attrs: { items: e.templates, "sort-key": "position", query: e.query }, scopedSlots: e._u([{ key: "default", fn: function({ items: a }) {
279
279
  return [t("div", { ref: "modal-container", staticClass: "font-inter t-modal" }, [t("div", { staticClass: "t-nav" }, [t("CInput", { ref: "searchInput", staticClass: "search-input focus:text-gray-500", attrs: { placeholder: e.$t("search"), icon: "search" }, on: { input: function(n) {
@@ -288,10 +288,10 @@ var k = function() {
288
288
  } } }, [e._v(" " + e._s(n.name) + " ")]);
289
289
  }), 0), e.mq !== "sm" ? t("div", { staticClass: "t-text quill-format" }, [a[e.selectedIndex] ? t("BaseTextEditor", { attrs: { value: a[e.selectedIndex].message || "", editable: !1, extensions: "all", "class-list": "document-form", unstyled: "" } }) : t("div", [e._v(" " + e._s(e.$t("noResults")) + " ")])], 1) : e._e()]), t("div", { staticClass: "t-footer flex w-full items-center justify-between" }, [t("div", { staticStyle: { display: "inline-flex", "align-items": "center" } }), t("div", [t("CButton", { staticClass: "t-footer-button", attrs: { to: { name: "settingsTemplates" }, target: "_blank", size: "small" } }, [e._v(" " + e._s(e.$t("handle")) + " "), t("CIcon", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "new-window", size: "16" } })], 1), t("CButton", { staticClass: "t-footer-button", attrs: { size: "small" }, on: { click: e.openCreateModal } }, [e._v(" " + e._s(e.$t("create", { thing: e.$t("template") })) + " ")])], 1)])])];
290
290
  } }]) });
291
- }, q = [], L = /* @__PURE__ */ o(
292
- A,
291
+ }, A = [], L = /* @__PURE__ */ o(
293
292
  k,
294
293
  q,
294
+ A,
295
295
  !1,
296
296
  null,
297
297
  "9d6f8cd8"
@@ -1,4 +1,4 @@
1
- import { Y as Q } from "./main-DQ6SH_E_.js";
1
+ import { a5 as T } from "./main-Bp2qcma0.js";
2
2
  var pe = {}, P = {}, f = {}, b = {}, O = {};
3
3
  Object.defineProperty(O, "__esModule", {
4
4
  value: !0
@@ -11,10 +11,10 @@ function h(e) {
11
11
  return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
12
12
  }, h(e);
13
13
  }
14
- var T = typeof window < "u" ? window : typeof Q < "u" ? Q : {}, he = function(t, r) {
14
+ var X = typeof window < "u" ? window : typeof T < "u" ? T : {}, he = function(t, r) {
15
15
  return h(t) === "object" && r !== void 0 ? r : t(function() {
16
16
  });
17
- }, Pe = T.vuelidate ? T.vuelidate.withParams : he;
17
+ }, Pe = X.vuelidate ? X.vuelidate.withParams : he;
18
18
  O.withParams = Pe;
19
19
  Object.defineProperty(b, "__esModule", {
20
20
  value: !0
@@ -101,13 +101,13 @@ Object.defineProperty(q, "__esModule", {
101
101
  value: !0
102
102
  });
103
103
  q.default = void 0;
104
- var X = f, Se = function(t, r) {
105
- return (0, X.withParams)({
104
+ var Y = f, Se = function(t, r) {
105
+ return (0, Y.withParams)({
106
106
  type: "between",
107
107
  min: t,
108
108
  max: r
109
109
  }, function(u) {
110
- return !(0, X.req)(u) || (!/\s/.test(u) || u instanceof Date) && +t <= +u && +r >= +u;
110
+ return !(0, Y.req)(u) || (!/\s/.test(u) || u instanceof Date) && +t <= +u && +r >= +u;
111
111
  });
112
112
  };
113
113
  q.default = Se;
@@ -165,12 +165,12 @@ Object.defineProperty(S, "__esModule", {
165
165
  value: !0
166
166
  });
167
167
  S.default = void 0;
168
- var Y = f, Ie = function(t) {
169
- return (0, Y.withParams)({
168
+ var E = f, Ie = function(t) {
169
+ return (0, E.withParams)({
170
170
  type: "maxLength",
171
171
  max: t
172
172
  }, function(r) {
173
- return !(0, Y.req)(r) || (0, Y.len)(r) <= t;
173
+ return !(0, E.req)(r) || (0, E.len)(r) <= t;
174
174
  });
175
175
  };
176
176
  S.default = Ie;
@@ -179,12 +179,12 @@ Object.defineProperty(V, "__esModule", {
179
179
  value: !0
180
180
  });
181
181
  V.default = void 0;
182
- var E = f, Ue = function(t) {
183
- return (0, E.withParams)({
182
+ var F = f, Ue = function(t) {
183
+ return (0, F.withParams)({
184
184
  type: "minLength",
185
185
  min: t
186
186
  }, function(r) {
187
- return !(0, E.req)(r) || (0, E.len)(r) >= t;
187
+ return !(0, F.req)(r) || (0, F.len)(r) >= t;
188
188
  });
189
189
  };
190
190
  V.default = Ue;
@@ -193,10 +193,10 @@ Object.defineProperty(z, "__esModule", {
193
193
  value: !0
194
194
  });
195
195
  z.default = void 0;
196
- var F = f, Ze = (0, F.withParams)({
196
+ var H = f, Ze = (0, H.withParams)({
197
197
  type: "required"
198
198
  }, function(e) {
199
- return typeof e == "string" ? (0, F.req)(e.trim()) : (0, F.req)(e);
199
+ return typeof e == "string" ? (0, H.req)(e.trim()) : (0, H.req)(e);
200
200
  });
201
201
  z.default = Ze;
202
202
  var D = {};
@@ -204,12 +204,12 @@ Object.defineProperty(D, "__esModule", {
204
204
  value: !0
205
205
  });
206
206
  D.default = void 0;
207
- var H = f, Ce = function(t) {
208
- return (0, H.withParams)({
207
+ var J = f, Ce = function(t) {
208
+ return (0, J.withParams)({
209
209
  type: "requiredIf",
210
210
  prop: t
211
211
  }, function(r, u) {
212
- return (0, H.ref)(t, this, u) ? (0, H.req)(r) : !0;
212
+ return (0, J.ref)(t, this, u) ? (0, J.req)(r) : !0;
213
213
  });
214
214
  };
215
215
  D.default = Ce;
@@ -218,12 +218,12 @@ Object.defineProperty(L, "__esModule", {
218
218
  value: !0
219
219
  });
220
220
  L.default = void 0;
221
- var J = f, Be = function(t) {
222
- return (0, J.withParams)({
221
+ var K = f, Be = function(t) {
222
+ return (0, K.withParams)({
223
223
  type: "requiredUnless",
224
224
  prop: t
225
225
  }, function(r, u) {
226
- return (0, J.ref)(t, this, u) ? !0 : (0, J.req)(r);
226
+ return (0, K.ref)(t, this, u) ? !0 : (0, K.req)(r);
227
227
  });
228
228
  };
229
229
  L.default = Be;
@@ -246,17 +246,17 @@ Object.defineProperty(W, "__esModule", {
246
246
  value: !0
247
247
  });
248
248
  W.default = void 0;
249
- var Ye = f, Ee = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i, Fe = (0, Ye.regex)("url", Ee);
250
- W.default = Fe;
249
+ var Ee = f, Fe = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i, He = (0, Ee.regex)("url", Fe);
250
+ W.default = He;
251
251
  var N = {};
252
252
  Object.defineProperty(N, "__esModule", {
253
253
  value: !0
254
254
  });
255
255
  N.default = void 0;
256
- var He = f, Je = function() {
256
+ var Je = f, Ke = function() {
257
257
  for (var t = arguments.length, r = new Array(t), u = 0; u < t; u++)
258
258
  r[u] = arguments[u];
259
- return (0, He.withParams)({
259
+ return (0, Je.withParams)({
260
260
  type: "or"
261
261
  }, function() {
262
262
  for (var _ = this, m = arguments.length, v = new Array(m), o = 0; o < m; o++)
@@ -266,16 +266,16 @@ var He = f, Je = function() {
266
266
  }, !1);
267
267
  });
268
268
  };
269
- N.default = Je;
269
+ N.default = Ke;
270
270
  var I = {};
271
271
  Object.defineProperty(I, "__esModule", {
272
272
  value: !0
273
273
  });
274
274
  I.default = void 0;
275
- var Ke = f, Qe = function() {
275
+ var Qe = f, Te = function() {
276
276
  for (var t = arguments.length, r = new Array(t), u = 0; u < t; u++)
277
277
  r[u] = arguments[u];
278
- return (0, Ke.withParams)({
278
+ return (0, Qe.withParams)({
279
279
  type: "and"
280
280
  }, function() {
281
281
  for (var _ = this, m = arguments.length, v = new Array(m), o = 0; o < m; o++)
@@ -285,26 +285,26 @@ var Ke = f, Qe = function() {
285
285
  }, !0);
286
286
  });
287
287
  };
288
- I.default = Qe;
288
+ I.default = Te;
289
289
  var U = {};
290
290
  Object.defineProperty(U, "__esModule", {
291
291
  value: !0
292
292
  });
293
293
  U.default = void 0;
294
- var te = f, Te = function(t) {
294
+ var te = f, Xe = function(t) {
295
295
  return (0, te.withParams)({
296
296
  type: "not"
297
297
  }, function(r, u) {
298
298
  return !(0, te.req)(r) || !t.call(this, r, u);
299
299
  });
300
300
  };
301
- U.default = Te;
301
+ U.default = Xe;
302
302
  var Z = {};
303
303
  Object.defineProperty(Z, "__esModule", {
304
304
  value: !0
305
305
  });
306
306
  Z.default = void 0;
307
- var re = f, Xe = function(t) {
307
+ var re = f, Ye = function(t) {
308
308
  return (0, re.withParams)({
309
309
  type: "minValue",
310
310
  min: t
@@ -312,7 +312,7 @@ var re = f, Xe = function(t) {
312
312
  return !(0, re.req)(r) || (!/\s/.test(r) || r instanceof Date) && +r >= +t;
313
313
  });
314
314
  };
315
- Z.default = Xe;
315
+ Z.default = Ye;
316
316
  var C = {};
317
317
  Object.defineProperty(C, "__esModule", {
318
318
  value: !0
@@ -459,11 +459,11 @@ G.default = rt;
459
459
  }), e.helpers = void 0;
460
460
  var r = i(P), u = i($), _ = i(w), m = i(q), v = i(j), o = i(M), d = i(A), a = i(S), l = i(V), y = i(z), ue = i(D), ae = i(L), fe = i(R), ie = i(W), de = i(N), oe = i(I), le = i(U), ce = i(Z), me = i(C), ve = i(B), _e = i(G), se = ye(f);
461
461
  e.helpers = se;
462
- function K() {
462
+ function Q() {
463
463
  if (typeof WeakMap != "function")
464
464
  return null;
465
465
  var n = /* @__PURE__ */ new WeakMap();
466
- return K = function() {
466
+ return Q = function() {
467
467
  return n;
468
468
  }, n;
469
469
  }
@@ -472,7 +472,7 @@ G.default = rt;
472
472
  return n;
473
473
  if (n === null || t(n) !== "object" && typeof n != "function")
474
474
  return { default: n };
475
- var s = K();
475
+ var s = Q();
476
476
  if (s && s.has(n))
477
477
  return s.get(n);
478
478
  var c = {}, ge = Object.defineProperty && Object.getOwnPropertyDescriptor;