@cling-se/widget 0.19.3 → 0.19.5

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 (127) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/dist/{AddClientCallout-DuuNDL4D.js → AddClientCallout-B3NbV9vX.js} +10 -10
  3. package/dist/{AnswerModal-D3EqaCFZ.js → AnswerModal-C_at-56v.js} +3 -3
  4. package/dist/{AttachmentItem-kRFxlzlC.js → AttachmentItem-C4kyomn3.js} +19 -19
  5. package/dist/{BaseUpload-BxYInU7o.js → BaseUpload-Z3O2bebR.js} +2 -2
  6. package/dist/{BlockMedia--73N_Of0.js → BlockMedia-BSGtFCsS.js} +14 -14
  7. package/dist/{CCallout-ChKgPAm2.js → CCallout-DRBCakh2.js} +2 -2
  8. package/dist/{CCurrencyDropdown-GcQqVqCs.js → CCurrencyDropdown-CyFge_fD.js} +10 -10
  9. package/dist/{CDropdownItem-CrGOya-D.js → CDropdownItem-BWmAQwpG.js} +20 -20
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CyUMgjqE.js → CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js} +59 -59
  11. package/dist/{CPhoneFormat-d9r8v4kT.js → CPhoneFormat-D-BGsI3p.js} +1 -1
  12. package/dist/{CPhoneInput-DbDLU0AC.js → CPhoneInput-Dl7BSG8y.js} +34 -34
  13. package/dist/{CPriceInput-BqOw7bdS.js → CPriceInput-C8Os9b3V.js} +5 -5
  14. package/dist/{CSelect-BwpgSn0z.js → CSelect-DXAAKhB6.js} +6 -6
  15. package/dist/{CSkeleton.vue_vue_type_script_setup_true_lang-C3CzyV_p.js → CSkeleton.vue_vue_type_script_setup_true_lang-D_ZP_7FL.js} +1 -1
  16. package/dist/{ClientAutocomplete-CvpqyHTG.js → ClientAutocomplete-0XPP0tZr.js} +19 -19
  17. package/dist/{ClientModal-CYTMaWid.js → ClientModal-Ddv5YiOD.js} +24 -24
  18. package/dist/{ColorPicker-CEpFbxOm.js → ColorPicker-ClWlJZqh.js} +17 -17
  19. package/dist/{CompanyModal-BN3P5pxH.js → CompanyModal-CdisHhTQ.js} +10 -10
  20. package/dist/{ContentWrapper-CxL1K8Pf.js → ContentWrapper-BZ_ff5l9.js} +20 -22
  21. package/dist/{CoverBlockSettings-buQlTBr8.js → CoverBlockSettings-C3F4jTwa.js} +33 -33
  22. package/dist/{DocAnswer-DniRIWLM.js → DocAnswer-BkbWkje5.js} +2 -2
  23. package/dist/{DocDetails-DQlItuAy.js → DocDetails-DxUXsbDV.js} +57 -57
  24. package/dist/{DocForm-DPnYrMM6.js → DocForm-CABBteE8.js} +26 -26
  25. package/dist/{DocFormSend-DDWp03Z4.js → DocFormSend-xGIxXjxv.js} +2 -2
  26. package/dist/{DocLinks-B_WHyJXJ.js → DocLinks-D01zyA-z.js} +2 -2
  27. package/dist/{DocModalBase-DMoFbE_V.js → DocModalBase-DfrPL4tZ.js} +1 -1
  28. package/dist/{DocPrint-CJnCR4sj.js → DocPrint-BSKYDCQc.js} +11 -11
  29. package/dist/{DocReceipt-CLEzesSd.js → DocReceipt-D5Oqb1cC.js} +12 -12
  30. package/dist/{DocSendReminder-eVB0EpW3.js → DocSendReminder-IbCLg9tW.js} +13 -13
  31. package/dist/{DocTextEditor-DiiBwSqL.js → DocTextEditor-BVba4QPz.js} +8 -8
  32. package/dist/{DocTimeline-bTf4PXFt.js → DocTimeline-CaX19zwg.js} +19 -19
  33. package/dist/{DocumentClient-BliWFKWD.js → DocumentClient-DSQnO5KJ.js} +5 -5
  34. package/dist/{DocumentLayout-BYF8MkQ6.js → DocumentLayout-CkNcKcB_.js} +31 -31
  35. package/dist/{DocumentLogotype-CoAoOKFT.js → DocumentLogotype-DAVtl6S_.js} +4 -4
  36. package/dist/{DocumentVoided-BoE_3xZ-.js → DocumentVoided-DZYqqkrE.js} +1 -1
  37. package/dist/{EmbedInput-BY9Tk0Fn.js → EmbedInput-BpVkRhg5.js} +8 -8
  38. package/dist/{EmbedSettings-o4XPxFEg.js → EmbedSettings-BHjex6QD.js} +3 -3
  39. package/dist/{ErrorCallout-YB_Cq8zQ.js → ErrorCallout-B9TlMH-g.js} +1 -1
  40. package/dist/{FilePreviewModal-Bb88xu1a.js → FilePreviewModal-DP6yokyq.js} +13 -13
  41. package/dist/{Flag-BxyVrkyQ.js → Flag-D3GdVwWB.js} +1 -1
  42. package/dist/{HeaderSettings-bLIJeluc.js → HeaderSettings-sb4vPDsi.js} +35 -35
  43. package/dist/{ImageSelectModal-BvJoFbVg.js → ImageSelectModal-CicYONc-.js} +3 -3
  44. package/dist/{ImageUploadWrapper-Cg5PXmyH.js → ImageUploadWrapper-CLq06imX.js} +2 -2
  45. package/dist/{Index-DxOS1Bcc.js → Index--erm1oIh.js} +4 -4
  46. package/dist/{Index-7wOqPn5F.js → Index-0JuAv1tp.js} +16 -16
  47. package/dist/Index-0imHv6b4.js +52 -0
  48. package/dist/{Index-BfTkhsEB.js → Index-2jg0DL-m.js} +4 -4
  49. package/dist/{Index-8buSki3l.js → Index-6H0VT88W.js} +1 -1
  50. package/dist/{Index-BBIJa9tx.js → Index-AjcnSKQD.js} +19 -19
  51. package/dist/Index-B5zszB2v.js +4 -0
  52. package/dist/{Index-BHE3BADD.js → Index-BHvpY8xR.js} +2 -2
  53. package/dist/{Index-Y--RuSty.js → Index-BIrwUJlj.js} +12 -12
  54. package/dist/{Index-CKm-Ab2J.js → Index-BU2qksFA.js} +3 -3
  55. package/dist/{Index-DaDw8sm-.js → Index-BWTeXf8h.js} +4 -4
  56. package/dist/{Index-Cfuzo8uM.js → Index-Be0qeiZi.js} +10 -10
  57. package/dist/{Index-yczwn2__.js → Index-BePivEDQ.js} +3 -3
  58. package/dist/{Index-PIl16ugG.js → Index-Bf3O-9-j.js} +6 -6
  59. package/dist/{Index-CmKBuzvS.js → Index-BpObvjSu.js} +5 -5
  60. package/dist/{Index-D6qezTjd.js → Index-BrIFaQcB.js} +13 -13
  61. package/dist/{Index-tSL4w68e.js → Index-BsM0XvZj.js} +24 -23
  62. package/dist/{Index-u8OyhXD6.js → Index-BtECdggQ.js} +5 -5
  63. package/dist/{Index-4EhAq9jD.js → Index-CmDRJ5Xr.js} +17 -17
  64. package/dist/{Index-D0m02lsA.js → Index-CoadaoP0.js} +1 -1
  65. package/dist/{Index-nbUT4Y0t.js → Index-CpGzRzMp.js} +3 -3
  66. package/dist/{Index-Bpz-Fyp-.js → Index-CzqNrUn3.js} +2 -2
  67. package/dist/{Index-B9QJAmKi.js → Index-DGLmjotr.js} +2 -2
  68. package/dist/{Index-I_htzZi9.js → Index-DH9dMzsw.js} +6 -6
  69. package/dist/{Index-B1W3BsnU.js → Index-DO8qwrXi.js} +10 -10
  70. package/dist/{Index-CLmpmEm1.js → Index-DPF_0b3a.js} +14 -15
  71. package/dist/{Index-DA_DXCrr.js → Index-DdlkzMzM.js} +22 -22
  72. package/dist/{Index-Btz58lgU.js → Index-DijI5XXh.js} +2 -2
  73. package/dist/{Index-2i28IE9s.js → Index-DnnRIESN.js} +7 -7
  74. package/dist/{Index-DFutxc_k.js → Index-Dv0eryvg.js} +4 -4
  75. package/dist/{Index-Sdko3L9J.js → Index-KZslz-16.js} +23 -24
  76. package/dist/{Index-BV5EPUqw.js → Index-RhHHrJtM.js} +6 -7
  77. package/dist/{Index-BVvlz0QZ.js → Index-SXJlaLRr.js} +19 -19
  78. package/dist/{Index-BPkIQhtP.js → Index-szvZl8G-.js} +4 -4
  79. package/dist/{Index.vue_vue_type_script_lang-DQvhsOS6.js → Index.vue_vue_type_script_lang-CXjOi3FM.js} +2 -2
  80. package/dist/{InputToggleRow-d20mUVX2.js → InputToggleRow-3992FkvA.js} +5 -5
  81. package/dist/{ManualPopover-Cj5mxzND.js → ManualPopover-UiHhIKuw.js} +5 -5
  82. package/dist/{MediaWrapper-DWUR2K0S.js → MediaWrapper-BlaBWAWe.js} +5 -5
  83. package/dist/{NotBindingText-Dj7llcNG.js → NotBindingText-C14r7OLr.js} +2 -2
  84. package/dist/{PackageGroup-BNuMEute.js → PackageGroup-ClZiyb95.js} +23 -23
  85. package/dist/{PdfTerms-DdHFdJF8.js → PdfTerms-CbVKGNxc.js} +6 -6
  86. package/dist/{PdfViewer-w58AEZEU.js → PdfViewer-B_7DfQr7.js} +59 -59
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-DAy6tOo4.js → PlainHtml.vue_vue_type_script_setup_true_lang-BM9WSi7y.js} +1 -1
  88. package/dist/{PriceHeader-BBSS5378.js → PriceHeader-DRkCMuGD.js} +74 -74
  89. package/dist/{SearchApi-DiNXQk3K.js → SearchApi-6-uNsMl8.js} +3 -3
  90. package/dist/{SendForm-CRCrqy3V.js → SendForm-DnwHPbWV.js} +13 -13
  91. package/dist/{Setup-ClnyQJWX.js → Setup-Dz3ZCvFw.js} +1 -1
  92. package/dist/{SmartList-ICs2gnpw.js → SmartList-7RooD2fY.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DJO7tWIs.js → Sortable.vue_vue_type_script_setup_true_lang-cAzUeXVM.js} +92 -92
  94. package/dist/{TermsSettings-BDBrMOTk.js → TermsSettings-BEB2t3Ut.js} +29 -29
  95. package/dist/{ThemeColorRow-ye4CbnQe.js → ThemeColorRow-XE9QcVAy.js} +8 -8
  96. package/dist/{ToggleBinding-CCVOOpHC.js → ToggleBinding-BeXQfpcK.js} +4 -4
  97. package/dist/{UploadModal-CE3Gyz8g.js → UploadModal-pRlJXk-Y.js} +12 -12
  98. package/dist/{VideoPlayerInput-DcYaE3Xn.js → VideoPlayerInput-qankN5Ed.js} +7 -7
  99. package/dist/{VideoPlayerSettings-DTP_f2k2.js → VideoPlayerSettings-WijGYtE2.js} +2 -2
  100. package/dist/{VideoSelectModal-D4VpAg8Z.js → VideoSelectModal-Dhb7CmVu.js} +10 -10
  101. package/dist/{focusDrawerMixin-Dmt0M_ez.js → focusDrawerMixin-DELQ4Leq.js} +1 -1
  102. package/dist/{formDrawerState-BTI6RBrh.js → formDrawerState-D_OOByIg.js} +1 -1
  103. package/dist/{helpers-BipYFMq7.js → helpers-BnYWgq30.js} +1 -1
  104. package/dist/{index-BsNrnPKD.js → index-6175cimw.js} +5 -5
  105. package/dist/{index-CrYE_wD5.js → index-BGFTOrwb.js} +69 -77
  106. package/dist/{index-CAX6ZePf.js → index-BIWUM14f.js} +1 -1
  107. package/dist/{index-BLB7xfoK.js → index-CFD_4fv_.js} +41 -41
  108. package/dist/{index-mN_zKU2T.js → index-DRINkuNg.js} +7 -18
  109. package/dist/{index-k3WjZPJe.js → index-KcSRVleg.js} +26 -26
  110. package/dist/{index-Bei9XuEH.js → index-P4A85Ytd.js} +27 -27
  111. package/dist/index.es.js +2 -2
  112. package/dist/index.umd.js +145 -145
  113. package/dist/{main-C3pW_mbm.js → main-q_EWffDQ.js} +9169 -9201
  114. package/dist/{mapFormMixin-CxDDheFN.js → mapFormMixin-DjPlsXfr.js} +15 -15
  115. package/dist/omit-DWur9Ujv.js +56 -0
  116. package/dist/{publicSenderState-CDeVVN6w.js → publicSenderState-BkZVvtJm.js} +1 -1
  117. package/dist/{splitpanes-Co3TdG3A.js → splitpanes-BR5qxnsj.js} +1 -1
  118. package/dist/{template-CERxPxb1.js → template-CQlJbqXR.js} +1 -1
  119. package/dist/{tippy.esm-x-zxHTNy.js → tippy.esm-BABwSp3j.js} +7 -7
  120. package/dist/{useTermsModal-C01kFCTx.js → useTermsModal-Bj2B-TdQ.js} +6 -6
  121. package/dist/{utils-BIrpSTl7.js → utils-C53ntVIe.js} +1 -1
  122. package/dist/{validation-uD43rMVf.js → validation-u_PNxOm8.js} +2 -2
  123. package/dist/widget.css +1 -1
  124. package/package.json +5 -5
  125. package/dist/Index-C8LrEVrS.js +0 -52
  126. package/dist/Index-CtDVS-ts.js +0 -4
  127. package/dist/omit-CCSRNlMn.js +0 -56
@@ -1,11 +1,11 @@
1
- import { h as I, be as q, I as P, e as r, j as w, o as a, b as h, s as i, S as $, c as g, an as k, bf as F, f as C, w as p, $ as V, _ as M, aq as N, ag as G, m as D, a as L, g as T, y as b, d as m, B as x, v as _, T as O, ar as j, F as z, k as R, n as U } from "./main-C3pW_mbm.js";
2
- import { i as H } from "./DocumentLayout-BYF8MkQ6.js";
3
- import { _ as W } from "./CFormField.vue_vue_type_script_setup_true_lang-CyUMgjqE.js";
4
- import { B as A } from "./DocTextEditor-DiiBwSqL.js";
5
- import { u as J } from "./index-BLB7xfoK.js";
6
- import { r as B, b as K } from "./index-CAX6ZePf.js";
7
- import { S as Q } from "./SmartList-ICs2gnpw.js";
8
- import { w as X } from "./CDropdownItem-CrGOya-D.js";
1
+ import { h as I, bh as q, R as V, e as r, j as w, o, b as f, s as i, K as $, c as g, ad as k, bi as L, f as C, w as p, L as N, _ as x, ai as P, S as G, m as D, a as B, g as T, y as b, d as m, H as M, v as _, a7 as O, aj as R, F as j, k as z, n as U } from "./main-q_EWffDQ.js";
2
+ import { i as H } from "./DocumentLayout-CkNcKcB_.js";
3
+ import { _ as W } from "./CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js";
4
+ import { B as A } from "./DocTextEditor-BVba4QPz.js";
5
+ import { u as K } from "./index-CFD_4fv_.js";
6
+ import { r as F, b as J } from "./index-BIWUM14f.js";
7
+ import { S as Q } from "./SmartList-7RooD2fY.js";
8
+ import { w as X } from "./CDropdownItem-BWmAQwpG.js";
9
9
  const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-container" }, te = /* @__PURE__ */ I({
10
10
  __name: "ContextModal",
11
11
  props: {
@@ -13,18 +13,18 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
13
13
  },
14
14
  emits: ["show", "hide"],
15
15
  setup(e, { emit: t }) {
16
- const v = t, { rootChild: u } = q(), s = P(!1), o = () => {
16
+ const v = t, { rootChild: u } = q(), s = V(!1), a = () => {
17
17
  s.value = !0, v("show");
18
18
  }, n = () => {
19
19
  s.value = !1, v("hide");
20
20
  };
21
21
  return (d, c) => {
22
- const f = r("VDropdown");
23
- return w(H) ? (a(), h("div", Y, [
24
- i("div", { onClick: o }, [
22
+ const h = r("VDropdown");
23
+ return w(H) ? (o(), f("div", Y, [
24
+ i("div", { onClick: a }, [
25
25
  $(d.$slots, "default", {}, void 0, !0)
26
26
  ]),
27
- s.value ? (a(), g(F, {
27
+ s.value ? (o(), g(L, {
28
28
  key: 0,
29
29
  to: w(u)
30
30
  }, [
@@ -37,18 +37,18 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
37
37
  ])
38
38
  ])
39
39
  ], 8, ["to"])) : C("", !0)
40
- ])) : (a(), g(f, V({ key: 1 }, d.$props, {
40
+ ])) : (o(), g(h, N({ key: 1 }, d.$props, {
41
41
  placement: d.placement,
42
42
  shown: s.value,
43
43
  "onUpdate:shown": c[0] || (c[0] = (y) => s.value = y),
44
44
  "popper-class": "context-modal-popper",
45
- onShow: o,
45
+ onShow: a,
46
46
  onHide: n,
47
47
  "auto-hide": !1
48
48
  }), {
49
49
  popper: p(() => [
50
50
  i("div", ee, [
51
- s.value ? (a(), g(F, {
51
+ s.value ? (o(), g(L, {
52
52
  key: 0,
53
53
  to: w(u)
54
54
  }, [
@@ -67,10 +67,10 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
67
67
  }, 16, ["placement", "shown"]));
68
68
  };
69
69
  }
70
- }), se = /* @__PURE__ */ M(te, [["__scopeId", "data-v-71def6ac"]]), { mapFields: ae } = N({
70
+ }), se = /* @__PURE__ */ x(te, [["__scopeId", "data-v-71def6ac"]]), { mapFields: oe } = P({
71
71
  getterType: "forms/getField",
72
72
  mutationType: "forms/updateField"
73
- }), oe = {
73
+ }), ae = {
74
74
  i18nOptions: {
75
75
  namespaces: "TextTemplatesForm",
76
76
  messages: {
@@ -142,16 +142,16 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
142
142
  },
143
143
  setup() {
144
144
  return {
145
- v$: J()
145
+ v$: K()
146
146
  };
147
147
  },
148
148
  validations: {
149
149
  name: {
150
- required: B,
151
- maxLength: K(255)
150
+ required: F,
151
+ maxLength: J(255)
152
152
  },
153
153
  textContent: {
154
- required: B
154
+ required: F
155
155
  }
156
156
  },
157
157
  computed: {
@@ -160,7 +160,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
160
160
  isFetching: "templateMessages/isFetching",
161
161
  checkFormChanged: "forms/hasChanged"
162
162
  }),
163
- ...ae({
163
+ ...oe({
164
164
  templateMessage: "templateMessage",
165
165
  name: "templateMessage.name",
166
166
  textContent: "templateMessage.message"
@@ -189,7 +189,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
189
189
  this.load(), this.predefinedTextContent && (this.textContent = this.predefinedTextContent);
190
190
  },
191
191
  methods: {
192
- ...L({
192
+ ...B({
193
193
  loadTemplate: T.LOAD_TEMPLATE_MESSAGE,
194
194
  deleteTemplate: T.DELETE_TEMPLATE_MESSAGE,
195
195
  formNewTemplate: T.FORM_NEW_TEMPLATE_MESSAGE,
@@ -234,22 +234,22 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
234
234
  class: "flex w-full items-center justify-center",
235
235
  style: { padding: "calc(3 * var(--rem)) 0" }
236
236
  }, ie = { key: 2 };
237
- function re(e, t, v, u, s, o) {
238
- const n = r("CButton"), d = r("Spinner"), c = r("CInput"), f = r("CField"), y = r("BaseTextEditor");
239
- return a(), h("div", ne, [
240
- v.showFixedCloseButton ? (a(), g(n, {
237
+ function re(e, t, v, u, s, a) {
238
+ const n = r("CButton"), d = r("Spinner"), c = r("CInput"), h = r("CField"), y = r("BaseTextEditor");
239
+ return o(), f("div", ne, [
240
+ v.showFixedCloseButton ? (o(), g(n, {
241
241
  key: 0,
242
242
  class: "fixed-close-button",
243
243
  circle: "",
244
244
  icon: "x",
245
245
  onClick: t[0] || (t[0] = (l) => e.$emit("close"))
246
246
  })) : C("", !0),
247
- e.isFetching ? (a(), h("div", le, [
247
+ e.isFetching ? (o(), f("div", le, [
248
248
  m(d)
249
- ])) : e.templateMessage !== void 0 ? (a(), h("form", ie, [
250
- m(f, {
249
+ ])) : e.templateMessage !== void 0 ? (o(), f("form", ie, [
250
+ m(h, {
251
251
  validator: u.v$.name,
252
- messages: o.messages.name,
252
+ messages: a.messages.name,
253
253
  label: e.$t("name.label")
254
254
  }, {
255
255
  default: p(() => [
@@ -262,9 +262,9 @@ function re(e, t, v, u, s, o) {
262
262
  ]),
263
263
  _: 1
264
264
  }, 8, ["validator", "messages", "label"]),
265
- m(f, {
265
+ m(h, {
266
266
  validator: u.v$.textContent,
267
- messages: o.messages.textContent,
267
+ messages: a.messages.textContent,
268
268
  label: e.$t("textLabel")
269
269
  }, {
270
270
  default: p(() => [
@@ -280,36 +280,36 @@ function re(e, t, v, u, s, o) {
280
280
  }, 8, ["validator", "messages", "label"]),
281
281
  m(n, {
282
282
  loading: e.isPosting,
283
- disabled: !o.hasChanged,
283
+ disabled: !a.hasChanged,
284
284
  type: "secondary",
285
285
  style: { "margin-top": "calc(1 * var(--rem))" },
286
286
  icon: "save",
287
287
  wide: "",
288
- onClick: t[5] || (t[5] = (l) => o.validateBeforeSubmit())
288
+ onClick: t[5] || (t[5] = (l) => a.validateBeforeSubmit())
289
289
  }, {
290
290
  default: p(() => [
291
- x(_(e.$t("_common:save")), 1)
291
+ M(_(e.$t("_common:save")), 1)
292
292
  ]),
293
293
  _: 1
294
294
  }, 8, ["loading", "disabled"]),
295
- v.id ? (a(), g(n, {
295
+ v.id ? (o(), g(n, {
296
296
  key: 0,
297
297
  loading: e.isPosting,
298
298
  type: "secondary",
299
299
  pattern: "tertiary",
300
300
  style: { "margin-top": "calc(1 * var(--rem))" },
301
301
  wide: "",
302
- onClick: t[6] || (t[6] = (l) => o.remove())
302
+ onClick: t[6] || (t[6] = (l) => a.remove())
303
303
  }, {
304
304
  default: p(() => [
305
- x(_(e.$t("_common:remove")), 1)
305
+ M(_(e.$t("_common:remove")), 1)
306
306
  ]),
307
307
  _: 1
308
308
  }, 8, ["loading"])) : C("", !0)
309
309
  ])) : C("", !0)
310
310
  ]);
311
311
  }
312
- const de = /* @__PURE__ */ M(oe, [["render", re], ["__scopeId", "data-v-286de2c9"]]), me = {
312
+ const de = /* @__PURE__ */ x(ae, [["render", re], ["__scopeId", "data-v-286de2c9"]]), me = {
313
313
  name: "TextTemplatesModal",
314
314
  components: {
315
315
  SmartList: Q,
@@ -327,7 +327,7 @@ const de = /* @__PURE__ */ M(oe, [["render", re], ["__scopeId", "data-v-286de2c9
327
327
  };
328
328
  },
329
329
  computed: {
330
- ...j("templateMessages", {
330
+ ...R("templateMessages", {
331
331
  templateMessages: (e) => e.data
332
332
  }),
333
333
  templates() {
@@ -365,14 +365,14 @@ const de = /* @__PURE__ */ M(oe, [["render", re], ["__scopeId", "data-v-286de2c9
365
365
  }, pe = {
366
366
  ref: "modal-container",
367
367
  class: "font-inter t-modal"
368
- }, ue = { class: "t-nav" }, ce = { class: "t-main" }, fe = { class: "t-list" }, he = ["onMouseoverPassive", "onClick"], ve = {
368
+ }, ue = { class: "t-nav" }, ce = { class: "t-main" }, he = { class: "t-list" }, fe = ["onMouseoverPassive", "onClick"], ve = {
369
369
  key: 0,
370
370
  class: "t-text quill-format"
371
371
  }, ge = { key: 1 }, Ce = { class: "t-footer flex w-full items-center justify-between" };
372
- function Te(e, t, v, u, s, o) {
373
- const n = r("CInput"), d = r("BaseTextEditor"), c = r("CIcon"), f = r("CButton"), y = r("SmartList");
374
- return a(), g(y, {
375
- items: o.templates,
372
+ function Te(e, t, v, u, s, a) {
373
+ const n = r("CInput"), d = r("BaseTextEditor"), c = r("CIcon"), h = r("CButton"), y = r("SmartList");
374
+ return o(), g(y, {
375
+ items: a.templates,
376
376
  "sort-key": "position",
377
377
  query: s.query
378
378
  }, {
@@ -392,29 +392,29 @@ function Te(e, t, v, u, s, o) {
392
392
  }, null, 8, ["modelValue", "placeholder"])
393
393
  ]),
394
394
  i("div", ce, [
395
- i("div", fe, [
396
- (a(!0), h(z, null, R(l, (S, E) => (a(), h("div", {
395
+ i("div", he, [
396
+ (o(!0), f(j, null, z(l, (S, E) => (o(), f("div", {
397
397
  key: S.id,
398
- class: U([{ selected: E === s.selectedIndex }, "t-list-item truncate-text"]),
398
+ class: U([{ selected: E === s.selectedIndex }, "t-list-item w-full truncate"]),
399
399
  onMouseoverPassive: () => s.selectedIndex = E,
400
- onClick: (Me) => o.onSelect(l[s.selectedIndex].message || "")
401
- }, _(S.name), 43, he))), 128))
400
+ onClick: (xe) => a.onSelect(l[s.selectedIndex].message || "")
401
+ }, _(S.name), 43, fe))), 128))
402
402
  ]),
403
- e.mq !== "sm" ? (a(), h("div", ve, [
404
- l[s.selectedIndex] ? (a(), g(d, {
403
+ e.mq !== "sm" ? (o(), f("div", ve, [
404
+ l[s.selectedIndex] ? (o(), g(d, {
405
405
  key: 0,
406
406
  "model-value": l[s.selectedIndex].message || "",
407
407
  editable: !1,
408
408
  extensions: "all",
409
409
  "class-list": "document-form",
410
410
  unstyled: ""
411
- }, null, 8, ["model-value"])) : (a(), h("div", ge, _(e.$t("noResults")), 1))
411
+ }, null, 8, ["model-value"])) : (o(), f("div", ge, _(e.$t("noResults")), 1))
412
412
  ])) : C("", !0)
413
413
  ]),
414
414
  i("div", Ce, [
415
415
  t[2] || (t[2] = i("div", { style: { display: "inline-flex", "align-items": "center" } }, null, -1)),
416
416
  i("div", null, [
417
- u.viewContext !== "widget" ? (a(), g(f, {
417
+ u.viewContext !== "widget" ? (o(), g(h, {
418
418
  key: 0,
419
419
  to: { name: "settingsTemplates" },
420
420
  class: "t-footer-button",
@@ -422,7 +422,7 @@ function Te(e, t, v, u, s, o) {
422
422
  size: "small"
423
423
  }, {
424
424
  default: p(() => [
425
- x(_(e.$t("handle")) + " ", 1),
425
+ M(_(e.$t("handle")) + " ", 1),
426
426
  m(c, {
427
427
  type: "new-window",
428
428
  size: "16",
@@ -431,13 +431,13 @@ function Te(e, t, v, u, s, o) {
431
431
  ]),
432
432
  _: 1
433
433
  })) : C("", !0),
434
- m(f, {
434
+ m(h, {
435
435
  class: "t-footer-button",
436
436
  size: "small",
437
- onClick: o.openCreateModal
437
+ onClick: a.openCreateModal
438
438
  }, {
439
439
  default: p(() => [
440
- x(_(e.$t("create", { thing: e.$t("template") })), 1)
440
+ M(_(e.$t("create", { thing: e.$t("template") })), 1)
441
441
  ]),
442
442
  _: 1
443
443
  }, 8, ["onClick"])
@@ -448,18 +448,13 @@ function Te(e, t, v, u, s, o) {
448
448
  _: 1
449
449
  }, 8, ["items", "query"]);
450
450
  }
451
- const _e = /* @__PURE__ */ M(me, [["render", Te], ["__scopeId", "data-v-f299b0c2"]]), ye = {
451
+ const _e = /* @__PURE__ */ x(me, [["render", Te], ["__scopeId", "data-v-e354b48d"]]), ye = {
452
452
  name: "TextTemplates",
453
453
  components: {
454
454
  ContextModal: se,
455
455
  TextTemplatesModal: _e
456
456
  },
457
457
  emits: ["open", "close", "select"],
458
- inject: {
459
- viewSettings: {
460
- default: () => ({ isPublicForm: !1 })
461
- }
462
- },
463
458
  props: {
464
459
  placement: {
465
460
  type: String,
@@ -467,20 +462,17 @@ const _e = /* @__PURE__ */ M(me, [["render", Te], ["__scopeId", "data-v-f299b0c2
467
462
  }
468
463
  },
469
464
  created() {
470
- this.viewSettings.isPublicForm || this.loadTemplateMessages();
465
+ this.loadTemplateMessages();
471
466
  },
472
467
  methods: {
473
- ...L({
468
+ ...B({
474
469
  loadTemplateMessages: T.LOAD_TEMPLATE_MESSAGES
475
470
  })
476
471
  }
477
- }, Se = {
478
- key: 0,
479
- class: "t-list"
480
- }, $e = { class: "t-option main" };
481
- function xe(e, t, v, u, s, o) {
472
+ }, Se = { class: "t-list" }, $e = { class: "t-option main" };
473
+ function Me(e, t, v, u, s, a) {
482
474
  const n = r("TextTemplatesModal"), d = r("ContextModal");
483
- return o.viewSettings.isPublicForm ? C("", !0) : (a(), h("div", Se, [
475
+ return o(), f("div", Se, [
484
476
  m(d, {
485
477
  "break-point": 1e3,
486
478
  placement: v.placement,
@@ -490,7 +482,7 @@ function xe(e, t, v, u, s, o) {
490
482
  popper: p(({ hide: c }) => [
491
483
  m(n, {
492
484
  onClose: c,
493
- onSelect: t[0] || (t[0] = (f) => e.$emit("select", f))
485
+ onSelect: t[0] || (t[0] = (h) => e.$emit("select", h))
494
486
  }, null, 8, ["onClose"])
495
487
  ]),
496
488
  default: p(() => [
@@ -500,9 +492,9 @@ function xe(e, t, v, u, s, o) {
500
492
  ]),
501
493
  _: 3
502
494
  }, 8, ["placement"])
503
- ]));
495
+ ]);
504
496
  }
505
- const Ie = /* @__PURE__ */ M(ye, [["render", xe]]);
497
+ const Ie = /* @__PURE__ */ x(ye, [["render", Me]]);
506
498
  export {
507
499
  Ie as default
508
500
  };
@@ -1,4 +1,4 @@
1
- import { j as n } from "./main-C3pW_mbm.js";
1
+ import { j as n } from "./main-q_EWffDQ.js";
2
2
  const i = (e) => {
3
3
  if (e = n(e), Array.isArray(e)) return !!e.length;
4
4
  if (e == null)
@@ -1,5 +1,5 @@
1
- import { H as ie, I as O, J as ce, K as C, L as A, r as D, M as de, i as h, N as $e, O as fe, j as g, P as M, x as z, Q as B } from "./main-C3pW_mbm.js";
2
- function H(t, a) {
1
+ import { Q as ie, R as O, T as ce, U as P, V as A, r as D, W as de, i as h, X as $e, Y as fe, j as g, Z as z, x as B, $ as M } from "./main-q_EWffDQ.js";
2
+ function W(t, a) {
3
3
  var n = Object.keys(t);
4
4
  if (Object.getOwnPropertySymbols) {
5
5
  var e = Object.getOwnPropertySymbols(t);
@@ -12,9 +12,9 @@ function H(t, a) {
12
12
  function w(t) {
13
13
  for (var a = 1; a < arguments.length; a++) {
14
14
  var n = arguments[a] != null ? arguments[a] : {};
15
- a % 2 ? H(Object(n), !0).forEach(function(e) {
15
+ a % 2 ? W(Object(n), !0).forEach(function(e) {
16
16
  ve(t, e, n[e]);
17
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : H(Object(n)).forEach(function(e) {
17
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : W(Object(n)).forEach(function(e) {
18
18
  Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e));
19
19
  });
20
20
  }
@@ -28,7 +28,7 @@ function ve(t, a, n) {
28
28
  writable: !0
29
29
  }) : t[a] = n, t;
30
30
  }
31
- function W(t) {
31
+ function U(t) {
32
32
  let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
33
33
  return Object.keys(t).reduce((n, e) => (a.includes(e) || (n[e] = g(t[e])), n), {});
34
34
  }
@@ -38,7 +38,7 @@ function _(t) {
38
38
  function ge(t) {
39
39
  return $e(t) || fe(t);
40
40
  }
41
- function q(t, a, n) {
41
+ function Z(t, a, n) {
42
42
  let e = t;
43
43
  const s = a.split(".");
44
44
  for (let u = 0; u < s.length; u++) {
@@ -48,22 +48,22 @@ function q(t, a, n) {
48
48
  return e;
49
49
  }
50
50
  function T(t, a, n) {
51
- return h(() => t.some((e) => q(a, e, {
51
+ return h(() => t.some((e) => Z(a, e, {
52
52
  [n]: !1
53
53
  })[n]));
54
54
  }
55
- function J(t, a, n) {
55
+ function H(t, a, n) {
56
56
  return h(() => t.reduce((e, s) => {
57
- const u = q(a, s, {
57
+ const u = Z(a, s, {
58
58
  [n]: !1
59
59
  })[n] || [];
60
60
  return e.concat(u);
61
61
  }, []));
62
62
  }
63
- function X(t, a, n, e) {
63
+ function q(t, a, n, e) {
64
64
  return t.call(e, g(a), g(n), e);
65
65
  }
66
- function Y(t) {
66
+ function J(t) {
67
67
  return t.$valid !== void 0 ? !t.$valid : !t;
68
68
  }
69
69
  function me(t, a, n, e, s, u, m) {
@@ -73,17 +73,17 @@ function me(t, a, n, e, s, u, m) {
73
73
  } = s, l = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [], f = arguments.length > 8 ? arguments[8] : void 0, $ = arguments.length > 9 ? arguments[9] : void 0, p = arguments.length > 10 ? arguments[10] : void 0;
74
74
  const v = O(!!e.value), r = O(0);
75
75
  n.value = !1;
76
- const c = C([a, e].concat(l, p), () => {
76
+ const c = P([a, e].concat(l, p), () => {
77
77
  if (i && !e.value || d && !$.value && !n.value)
78
78
  return;
79
79
  let o;
80
80
  try {
81
- o = X(t, a, f, m);
81
+ o = q(t, a, f, m);
82
82
  } catch (y) {
83
83
  o = Promise.reject(y);
84
84
  }
85
85
  r.value++, n.value = !!r.value, v.value = !1, Promise.resolve(o).then((y) => {
86
- r.value--, n.value = !!r.value, u.value = y, v.value = Y(y);
86
+ r.value--, n.value = !!r.value, u.value = y, v.value = J(y);
87
87
  }).catch((y) => {
88
88
  r.value--, n.value = !!r.value, u.value = y, v.value = !0;
89
89
  });
@@ -106,8 +106,8 @@ function he(t, a, n, e, s, u, m, i) {
106
106
  return !1;
107
107
  let p = !0;
108
108
  try {
109
- const v = X(t, a, m, u);
110
- s.value = v, p = Y(v);
109
+ const v = q(t, a, m, u);
110
+ s.value = v, p = J(v);
111
111
  } catch (v) {
112
112
  s.value = v;
113
113
  }
@@ -130,10 +130,10 @@ function pe(t, a, n, e, s, u, m, i, d, l, f) {
130
130
  } = he(t.$validator, a, n, e, v, s, d, l);
131
131
  const o = t.$message;
132
132
  return {
133
- $message: _(o) ? h(() => o(W({
133
+ $message: _(o) ? h(() => o(U({
134
134
  $pending: $,
135
135
  $invalid: r,
136
- $params: W(p),
136
+ $params: U(p),
137
137
  $model: a,
138
138
  $response: v,
139
139
  $validator: u,
@@ -307,13 +307,13 @@ function S(t) {
307
307
  return e ? R ? g(R[e]) : void 0 : R;
308
308
  }), N = Oe($, o, e, m, f, c, d, F, n), b = Ee(p, o, f, m, c, d, F), k = {};
309
309
  r && Object.entries(r).forEach((R) => {
310
- let [P, E] = R;
311
- k[P] = {
310
+ let [C, E] = R;
311
+ k[C] = {
312
312
  $invalid: T(E, b, "$invalid"),
313
313
  $error: T(E, b, "$error"),
314
314
  $pending: T(E, b, "$pending"),
315
- $errors: J(E, b, "$errors"),
316
- $silentErrors: J(E, b, "$silentErrors")
315
+ $errors: H(E, b, "$errors"),
316
+ $silentErrors: H(E, b, "$silentErrors")
317
317
  };
318
318
  });
319
319
  const {
@@ -331,11 +331,11 @@ function S(t) {
331
331
  get: () => g(o),
332
332
  set: (R) => {
333
333
  V.value = !0;
334
- const P = g(n), E = g(l);
335
- E && (E[e] = y[e]), A(P[e]) ? P[e].value = R : P[e] = R;
334
+ const C = g(n), E = g(l);
335
+ E && (E[e] = y[e]), A(C[e]) ? C[e].value = R : C[e] = R;
336
336
  }
337
337
  }) : null;
338
- e && c.$autoDirty && C(o, () => {
338
+ e && c.$autoDirty && P(o, () => {
339
339
  V.value || I();
340
340
  const R = g(l);
341
341
  R && (R[e] = y[e]);
@@ -343,10 +343,10 @@ function S(t) {
343
343
  flush: "sync"
344
344
  });
345
345
  async function le() {
346
- return I(), c.$rewardEarly && (G(), await B()), await B(), new Promise((R) => {
346
+ return I(), c.$rewardEarly && (G(), await M()), await M(), new Promise((R) => {
347
347
  if (!L.value) return R(!x.value);
348
- const P = C(L, () => {
349
- R(!x.value), P();
348
+ const C = P(L, () => {
349
+ R(!x.value), C();
350
350
  });
351
351
  });
352
352
  }
@@ -409,8 +409,8 @@ class be {
409
409
  const j = {
410
410
  COLLECT_ALL: !0,
411
411
  COLLECT_NONE: !1
412
- }, K = Symbol("vuelidate#injectChildResults"), Q = Symbol("vuelidate#removeChildResults");
413
- function Pe(t) {
412
+ }, Q = Symbol("vuelidate#injectChildResults"), X = Symbol("vuelidate#removeChildResults");
413
+ function Ce(t) {
414
414
  let {
415
415
  $scope: a,
416
416
  instance: n
@@ -429,23 +429,23 @@ function Pe(t) {
429
429
  s.value = s.value.filter(($) => $ !== f), delete e[f];
430
430
  }
431
431
  n.__vuelidateRemoveInstances = [].concat(n.__vuelidateRemoveInstances || [], i);
432
- const d = M(K, []);
433
- z(K, n.__vuelidateInjectInstances);
434
- const l = M(Q, []);
435
- return z(Q, n.__vuelidateRemoveInstances), {
432
+ const d = z(Q, []);
433
+ B(Q, n.__vuelidateInjectInstances);
434
+ const l = z(X, []);
435
+ return B(X, n.__vuelidateRemoveInstances), {
436
436
  childResults: u,
437
437
  sendValidationResultsToParent: d,
438
438
  removeValidationResultsFromParent: l
439
439
  };
440
440
  }
441
- function Z(t) {
441
+ function K(t) {
442
442
  return new Proxy(t, {
443
443
  get(a, n) {
444
- return typeof a[n] == "object" ? Z(a[n]) : h(() => a[n]);
444
+ return typeof a[n] == "object" ? K(a[n]) : h(() => a[n]);
445
445
  }
446
446
  });
447
447
  }
448
- let U = 0;
448
+ let Y = 0;
449
449
  function je(t, a) {
450
450
  var n;
451
451
  let e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -458,12 +458,12 @@ function je(t, a) {
458
458
  currentVueInstance: d
459
459
  } = e;
460
460
  const l = d || ((n = ie()) === null || n === void 0 ? void 0 : n.proxy), f = l ? l.$options : {};
461
- s || (U += 1, s = `_vuelidate_${U}`);
461
+ s || (Y += 1, s = `_vuelidate_${Y}`);
462
462
  const $ = O({}), p = new be(), {
463
463
  childResults: v,
464
464
  sendValidationResultsToParent: r,
465
465
  removeValidationResultsFromParent: c
466
- } = l ? Pe({
466
+ } = l ? Ce({
467
467
  $scope: u,
468
468
  instance: l
469
469
  }) : {
@@ -472,7 +472,7 @@ function je(t, a) {
472
472
  if (!t && f.validations) {
473
473
  const o = f.validations;
474
474
  a = O({}), ce(() => {
475
- a.value = l, C(() => _(o) ? o.call(a.value, new Z(a.value)) : o, (y) => {
475
+ a.value = l, P(() => _(o) ? o.call(a.value, new K(a.value)) : o, (y) => {
476
476
  $.value = S({
477
477
  validations: y,
478
478
  state: a,
@@ -488,7 +488,7 @@ function je(t, a) {
488
488
  }), e = f.validationsConfig || e;
489
489
  } else {
490
490
  const o = A(t) || ge(t) ? t : D(t || {});
491
- C(o, (y) => {
491
+ P(o, (y) => {
492
492
  $.value = S({
493
493
  validations: y,
494
494
  state: a,
@@ -1,11 +1,11 @@
1
- import { _, o as c, b as d, s, S as H, d as h, w as f, l as ce, f as k, ai as ue, e as v, v as l, B as g, da as ee, a9 as L, cW as W, db as ve, dc as be, dd as Ce, de as ke, df as Pe, aB as J, dg as _e, p as T, a7 as we, m as B, A, D as E, dh as Se, a as N, g as S, n as Z, F as $, k as V, E as D, G as Q, c as w, ae as $e, a2 as de, di as U, ar as Te, ao as z, T as xe, dj as Ie, dk as Ee, dl as Me, dm as te, U as Le, y as X, a4 as G, dn as ne, az as Ve, dp as He, cR as Be, h as Fe, ah as Ue } from "./main-C3pW_mbm.js";
1
+ import { _, o as c, b as d, s, K as H, d as h, w as f, l as ce, f as k, a1 as ue, e as v, v as l, H as g, da as ee, A as L, cW as W, db as ve, dc as be, dd as Ce, de as ke, df as Pe, aD as J, dg as _e, p as T, ap as we, m as B, M as A, N as E, dh as Se, a as N, g as S, n as Z, F as $, k as V, O as D, P as Q, c as w, J as $e, ac as de, di as U, aj as Te, az as z, a7 as xe, dj as Ie, dk as Ee, dl as Me, dm as te, a8 as Le, y as X, ak as G, dn as ne, au as Ve, dp as He, cR as Be, h as Fe, ay as Ue } from "./main-q_EWffDQ.js";
2
2
  import { a as P } from "./anime.es-4wvNItHq.js";
3
- import { _ as De } from "./CFormField.vue_vue_type_script_setup_true_lang-CyUMgjqE.js";
4
- import { C as Re } from "./CSelect-BwpgSn0z.js";
5
- import { b as Ae } from "./CDropdownItem-CrGOya-D.js";
3
+ import { _ as De } from "./CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js";
4
+ import { C as Re } from "./CSelect-DXAAKhB6.js";
5
+ import { b as Ae } from "./CDropdownItem-BWmAQwpG.js";
6
6
  import { r as q } from "./regions-BdZt9Srn.js";
7
- import { u as Oe } from "./index-BLB7xfoK.js";
8
- import { e as ze, r as qe, c as je, n as Ze, a as Ne, s as Ye } from "./index-CAX6ZePf.js";
7
+ import { u as Oe } from "./index-CFD_4fv_.js";
8
+ import { e as ze, r as qe, c as je, n as Ze, a as Ne, s as Ye } from "./index-BIWUM14f.js";
9
9
  import { a as We } from "./dom-DOcGU3-g.js";
10
10
  const Qe = {
11
11
  props: {
@@ -2574,8 +2574,7 @@ const fe = /* @__PURE__ */ _(yr, [["render", $r]]), Tr = {
2574
2574
  ...B({
2575
2575
  feature: "application/feature",
2576
2576
  subscription: "application/subscription",
2577
- companyAccount: "application/companyAccount",
2578
- stripeCustomDealToken: "settings/stripeCustomDealToken"
2577
+ companyAccount: "application/companyAccount"
2579
2578
  }),
2580
2579
  isPremium() {
2581
2580
  return te.includes(this.subscription.type);
@@ -2604,17 +2603,7 @@ const fe = /* @__PURE__ */ _(yr, [["render", $r]]), Tr = {
2604
2603
  },
2605
2604
  canUseSms() {
2606
2605
  return this.isPremiumLike ? !0 : !!this.subscription.freeSmsLeft;
2607
- },
2608
- openSubscription() {
2609
- return "openSubscription" in this.$route.query;
2610
2606
  }
2611
- // Route query if subscription modal should be opened (the query just have to be specified, value does not matter)
2612
- },
2613
- created() {
2614
- if (this.openSubscription) {
2615
- const e = { ...this.$route.query };
2616
- delete e.openSubscription, this.$router.replace({ ...this.$route, query: e }), this.openUpgradeModal();
2617
- } else this.stripeCustomDealToken && this.openUpgradeModal();
2618
2607
  },
2619
2608
  methods: {
2620
2609
  /**