@cling-se/widget 0.19.4 → 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 (125) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{AddClientCallout-BfBl04bU.js → AddClientCallout-B3NbV9vX.js} +4 -4
  3. package/dist/{AnswerModal-BSakBDNJ.js → AnswerModal-C_at-56v.js} +3 -3
  4. package/dist/{AttachmentItem-BLGn1ILf.js → AttachmentItem-C4kyomn3.js} +12 -12
  5. package/dist/{BaseUpload-CUaYnXBn.js → BaseUpload-Z3O2bebR.js} +2 -2
  6. package/dist/{BlockMedia-CbsL1ZZR.js → BlockMedia-BSGtFCsS.js} +1 -1
  7. package/dist/{CCallout-BezZlOfm.js → CCallout-DRBCakh2.js} +1 -1
  8. package/dist/{CCurrencyDropdown-xdp_13tB.js → CCurrencyDropdown-CyFge_fD.js} +8 -8
  9. package/dist/{CDropdownItem-CjTBhP8h.js → CDropdownItem-BWmAQwpG.js} +8 -8
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js → CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js} +51 -51
  11. package/dist/{CPhoneFormat-CdD0NkFL.js → CPhoneFormat-D-BGsI3p.js} +1 -1
  12. package/dist/{CPhoneInput-CgV-rBLW.js → CPhoneInput-Dl7BSG8y.js} +28 -28
  13. package/dist/{CPriceInput-VMyB3kTX.js → CPriceInput-C8Os9b3V.js} +2 -2
  14. package/dist/{CSelect-BpZYcMEc.js → CSelect-DXAAKhB6.js} +1 -1
  15. package/dist/{CSkeleton.vue_vue_type_script_setup_true_lang-vOwtNEFo.js → CSkeleton.vue_vue_type_script_setup_true_lang-D_ZP_7FL.js} +1 -1
  16. package/dist/{ClientAutocomplete-DAlOBlRj.js → ClientAutocomplete-0XPP0tZr.js} +3 -3
  17. package/dist/{ClientModal-B5J8NblQ.js → ClientModal-Ddv5YiOD.js} +8 -8
  18. package/dist/{ColorPicker-BBPCRucQ.js → ColorPicker-ClWlJZqh.js} +1 -1
  19. package/dist/{CompanyModal-D0iOqYPp.js → CompanyModal-CdisHhTQ.js} +7 -7
  20. package/dist/{ContentWrapper-Jp2A9A1G.js → ContentWrapper-BZ_ff5l9.js} +8 -10
  21. package/dist/{CoverBlockSettings-UVNE3YWj.js → CoverBlockSettings-C3F4jTwa.js} +7 -7
  22. package/dist/{DocAnswer-BDqoRdYy.js → DocAnswer-BkbWkje5.js} +2 -2
  23. package/dist/{DocDetails-CQHUQYVe.js → DocDetails-DxUXsbDV.js} +4 -4
  24. package/dist/{DocForm-BU4Mx9Fi.js → DocForm-CABBteE8.js} +24 -24
  25. package/dist/{DocFormSend-DXtfCSEG.js → DocFormSend-xGIxXjxv.js} +2 -2
  26. package/dist/{DocLinks-zF-W4hpD.js → DocLinks-D01zyA-z.js} +2 -2
  27. package/dist/{DocModalBase-CneXY73m.js → DocModalBase-DfrPL4tZ.js} +1 -1
  28. package/dist/{DocPrint-DQkI5BgD.js → DocPrint-BSKYDCQc.js} +1 -1
  29. package/dist/{DocReceipt-DJfBiwUr.js → DocReceipt-D5Oqb1cC.js} +2 -2
  30. package/dist/{DocSendReminder-CSxB-KWG.js → DocSendReminder-IbCLg9tW.js} +1 -1
  31. package/dist/{DocTextEditor-CSqqlABA.js → DocTextEditor-BVba4QPz.js} +8 -8
  32. package/dist/{DocTimeline-CDTh_czd.js → DocTimeline-CaX19zwg.js} +2 -2
  33. package/dist/{DocumentClient-COSPT21G.js → DocumentClient-DSQnO5KJ.js} +5 -5
  34. package/dist/{DocumentLayout-CweRWvIc.js → DocumentLayout-CkNcKcB_.js} +5 -5
  35. package/dist/{DocumentLogotype-D0cjO9XC.js → DocumentLogotype-DAVtl6S_.js} +4 -4
  36. package/dist/{DocumentVoided-BuNs74Da.js → DocumentVoided-DZYqqkrE.js} +1 -1
  37. package/dist/{EmbedInput-BohNHou7.js → EmbedInput-BpVkRhg5.js} +3 -3
  38. package/dist/{EmbedSettings-DrgFPrd-.js → EmbedSettings-BHjex6QD.js} +3 -3
  39. package/dist/{ErrorCallout-BVWDsp2J.js → ErrorCallout-B9TlMH-g.js} +1 -1
  40. package/dist/{FilePreviewModal-BVEsg1jk.js → FilePreviewModal-DP6yokyq.js} +8 -8
  41. package/dist/{Flag-B0cEHRlt.js → Flag-D3GdVwWB.js} +1 -1
  42. package/dist/{HeaderSettings-CGaJ7akp.js → HeaderSettings-sb4vPDsi.js} +9 -9
  43. package/dist/{ImageSelectModal-D2A6akvb.js → ImageSelectModal-CicYONc-.js} +3 -3
  44. package/dist/{ImageUploadWrapper-BHqbK12Z.js → ImageUploadWrapper-CLq06imX.js} +2 -2
  45. package/dist/{Index-6zEMdU6I.js → Index--erm1oIh.js} +4 -4
  46. package/dist/{Index-DRaKysrP.js → Index-0JuAv1tp.js} +8 -8
  47. package/dist/{Index-C_pXu_0v.js → Index-0imHv6b4.js} +3 -3
  48. package/dist/{Index-eczQUYpI.js → Index-2jg0DL-m.js} +4 -4
  49. package/dist/{Index-BPKB1HUJ.js → Index-6H0VT88W.js} +1 -1
  50. package/dist/{Index-CN6ts_Xp.js → Index-AjcnSKQD.js} +8 -8
  51. package/dist/Index-B5zszB2v.js +4 -0
  52. package/dist/{Index-DU1wpDH9.js → Index-BHvpY8xR.js} +2 -2
  53. package/dist/{Index-CAG_M3hA.js → Index-BIrwUJlj.js} +5 -5
  54. package/dist/{Index-to2qkBy9.js → Index-BU2qksFA.js} +1 -1
  55. package/dist/{Index-BGKHEKp8.js → Index-BWTeXf8h.js} +4 -4
  56. package/dist/{Index-CSiHZutC.js → Index-Be0qeiZi.js} +6 -6
  57. package/dist/{Index-CzTIqHwe.js → Index-BePivEDQ.js} +3 -3
  58. package/dist/{Index-CXMNxdAF.js → Index-Bf3O-9-j.js} +6 -6
  59. package/dist/{Index-CEBnyO4l.js → Index-BpObvjSu.js} +5 -5
  60. package/dist/{Index-BSlfSspe.js → Index-BrIFaQcB.js} +5 -5
  61. package/dist/{Index-D05FW5AK.js → Index-BsM0XvZj.js} +8 -8
  62. package/dist/{Index-BNzgoLmd.js → Index-BtECdggQ.js} +5 -5
  63. package/dist/{Index-3Yts7KXY.js → Index-CmDRJ5Xr.js} +4 -4
  64. package/dist/{Index-C4ajjo5G.js → Index-CoadaoP0.js} +1 -1
  65. package/dist/{Index-Dbmv21li.js → Index-CpGzRzMp.js} +3 -3
  66. package/dist/{Index-DmOHKqoS.js → Index-CzqNrUn3.js} +2 -2
  67. package/dist/{Index-D5YE8uWt.js → Index-DGLmjotr.js} +2 -2
  68. package/dist/{Index-CFpRQnNq.js → Index-DH9dMzsw.js} +4 -4
  69. package/dist/{Index--WcKCsGG.js → Index-DO8qwrXi.js} +5 -5
  70. package/dist/{Index-CLFDz6SJ.js → Index-DPF_0b3a.js} +11 -12
  71. package/dist/{Index-LuLYEISf.js → Index-DdlkzMzM.js} +10 -10
  72. package/dist/{Index-DylKlBB9.js → Index-DijI5XXh.js} +2 -2
  73. package/dist/{Index-Cxc5s2dg.js → Index-DnnRIESN.js} +2 -2
  74. package/dist/{Index-DPVl5ugc.js → Index-Dv0eryvg.js} +4 -4
  75. package/dist/{Index-K56XRGlg.js → Index-KZslz-16.js} +17 -18
  76. package/dist/{Index-B518kuyT.js → Index-RhHHrJtM.js} +5 -6
  77. package/dist/{Index-I98TuKi1.js → Index-SXJlaLRr.js} +4 -4
  78. package/dist/{Index-Y4-687rr.js → Index-szvZl8G-.js} +4 -4
  79. package/dist/{Index.vue_vue_type_script_lang-V786MsVt.js → Index.vue_vue_type_script_lang-CXjOi3FM.js} +2 -2
  80. package/dist/{InputToggleRow-TizMrUy3.js → InputToggleRow-3992FkvA.js} +1 -1
  81. package/dist/{ManualPopover-D5s82nTD.js → ManualPopover-UiHhIKuw.js} +1 -1
  82. package/dist/{MediaWrapper-B8QJIu96.js → MediaWrapper-BlaBWAWe.js} +3 -3
  83. package/dist/{NotBindingText-CRNgx9DB.js → NotBindingText-C14r7OLr.js} +2 -2
  84. package/dist/{PackageGroup-BSF-af5b.js → PackageGroup-ClZiyb95.js} +5 -5
  85. package/dist/{PdfTerms-DZiOm01r.js → PdfTerms-CbVKGNxc.js} +2 -2
  86. package/dist/{PdfViewer-C4KmWufw.js → PdfViewer-B_7DfQr7.js} +2 -2
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-Tt5bu7Nw.js → PlainHtml.vue_vue_type_script_setup_true_lang-BM9WSi7y.js} +1 -1
  88. package/dist/{PriceHeader-9PyzP2JW.js → PriceHeader-DRkCMuGD.js} +7 -7
  89. package/dist/{SearchApi-Dqw0KfAD.js → SearchApi-6-uNsMl8.js} +1 -1
  90. package/dist/{SendForm-DwIGeVAZ.js → SendForm-DnwHPbWV.js} +10 -10
  91. package/dist/{Setup-2CQuTokL.js → Setup-Dz3ZCvFw.js} +1 -1
  92. package/dist/{SmartList-DlivOpMQ.js → SmartList-7RooD2fY.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-B8DZEh_u.js → Sortable.vue_vue_type_script_setup_true_lang-cAzUeXVM.js} +1 -1
  94. package/dist/{TermsSettings-C3HFNpbX.js → TermsSettings-BEB2t3Ut.js} +20 -20
  95. package/dist/{ThemeColorRow-j7lkaEKS.js → ThemeColorRow-XE9QcVAy.js} +3 -3
  96. package/dist/{ToggleBinding-BTBbFc-F.js → ToggleBinding-BeXQfpcK.js} +4 -4
  97. package/dist/{UploadModal-DEwQZ_8a.js → UploadModal-pRlJXk-Y.js} +8 -8
  98. package/dist/{VideoPlayerInput-32LiwyOw.js → VideoPlayerInput-qankN5Ed.js} +4 -4
  99. package/dist/{VideoPlayerSettings-DkzjgwLt.js → VideoPlayerSettings-WijGYtE2.js} +2 -2
  100. package/dist/{VideoSelectModal-DmEmB4Cx.js → VideoSelectModal-Dhb7CmVu.js} +3 -3
  101. package/dist/{focusDrawerMixin-D13Ms6Jk.js → focusDrawerMixin-DELQ4Leq.js} +1 -1
  102. package/dist/{formDrawerState-CRhWaymS.js → formDrawerState-D_OOByIg.js} +1 -1
  103. package/dist/{helpers-B86zZNtk.js → helpers-BnYWgq30.js} +1 -1
  104. package/dist/{index-h9L0RGv3.js → index-6175cimw.js} +1 -1
  105. package/dist/{index-D3TD9uhN.js → index-BGFTOrwb.js} +55 -63
  106. package/dist/{index-DAIb9mjE.js → index-BIWUM14f.js} +1 -1
  107. package/dist/{index-tXDuIxx9.js → index-CFD_4fv_.js} +1 -1
  108. package/dist/{index-Db7Oe7W3.js → index-DRINkuNg.js} +6 -6
  109. package/dist/{index-Kb9qkTlP.js → index-KcSRVleg.js} +8 -8
  110. package/dist/{index-BiwH6W9z.js → index-P4A85Ytd.js} +3 -3
  111. package/dist/index.es.js +2 -2
  112. package/dist/index.umd.js +17 -17
  113. package/dist/{main-Dr3neB7n.js → main-q_EWffDQ.js} +56 -42
  114. package/dist/{mapFormMixin-Bkpm1wEf.js → mapFormMixin-DjPlsXfr.js} +2 -2
  115. package/dist/{omit-Ciu7kNcD.js → omit-DWur9Ujv.js} +1 -1
  116. package/dist/{publicSenderState-CEfzhj0R.js → publicSenderState-BkZVvtJm.js} +1 -1
  117. package/dist/{splitpanes-AhZAy_Th.js → splitpanes-BR5qxnsj.js} +1 -1
  118. package/dist/{template-MfjSWRyx.js → template-CQlJbqXR.js} +1 -1
  119. package/dist/{tippy.esm-CJxvo3UM.js → tippy.esm-BABwSp3j.js} +7 -7
  120. package/dist/{useTermsModal-Bp1LFsXg.js → useTermsModal-Bj2B-TdQ.js} +4 -4
  121. package/dist/{utils-DgTzzSIp.js → utils-C53ntVIe.js} +1 -1
  122. package/dist/{validation-J27tpgZs.js → validation-u_PNxOm8.js} +2 -2
  123. package/dist/widget.css +1 -1
  124. package/package.json +1 -1
  125. package/dist/Index-yMgZ5Gcs.js +0 -4
@@ -1,11 +1,11 @@
1
- import { h as I, bh as q, R as P, e as r, j as w, o as a, b as f, s as i, K as $, c as g, ad as k, bi as F, f as C, w as p, L as V, _ as M, ai as N, S as G, m as D, a as B, g as T, y as b, d as m, H as x, v as _, a7 as O, aj as j, F as R, k as z, n as U } from "./main-Dr3neB7n.js";
2
- import { i as H } from "./DocumentLayout-CweRWvIc.js";
3
- import { _ as W } from "./CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js";
4
- import { B as A } from "./DocTextEditor-CSqqlABA.js";
5
- import { u as K } from "./index-tXDuIxx9.js";
6
- import { r as L, b as J } from "./index-DAIb9mjE.js";
7
- import { S as Q } from "./SmartList-DlivOpMQ.js";
8
- import { w as X } from "./CDropdownItem-CjTBhP8h.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
22
  const h = r("VDropdown");
23
- return w(H) ? (a(), f("div", Y, [
24
- i("div", { onClick: o }, [
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(h, 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: {
@@ -147,11 +147,11 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
147
147
  },
148
148
  validations: {
149
149
  name: {
150
- required: L,
150
+ required: F,
151
151
  maxLength: J(255)
152
152
  },
153
153
  textContent: {
154
- required: L
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"
@@ -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) {
237
+ function re(e, t, v, u, s, a) {
238
238
  const n = r("CButton"), d = r("Spinner"), c = r("CInput"), h = r("CField"), y = r("BaseTextEditor");
239
- return a(), f("div", ne, [
240
- v.showFixedCloseButton ? (a(), g(n, {
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(), f("div", le, [
247
+ e.isFetching ? (o(), f("div", le, [
248
248
  m(d)
249
- ])) : e.templateMessage !== void 0 ? (a(), f("form", ie, [
249
+ ])) : e.templateMessage !== void 0 ? (o(), f("form", ie, [
250
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(() => [
@@ -264,7 +264,7 @@ function re(e, t, v, u, s, o) {
264
264
  }, 8, ["validator", "messages", "label"]),
265
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() {
@@ -369,10 +369,10 @@ const de = /* @__PURE__ */ M(oe, [["render", re], ["__scopeId", "data-v-286de2c9
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) {
372
+ function Te(e, t, v, u, s, a) {
373
373
  const n = r("CInput"), d = r("BaseTextEditor"), c = r("CIcon"), h = r("CButton"), y = r("SmartList");
374
- return a(), g(y, {
375
- items: o.templates,
374
+ return o(), g(y, {
375
+ items: a.templates,
376
376
  "sort-key": "position",
377
377
  query: s.query
378
378
  }, {
@@ -393,28 +393,28 @@ function Te(e, t, v, u, s, o) {
393
393
  ]),
394
394
  i("div", ce, [
395
395
  i("div", he, [
396
- (a(!0), f(R, null, z(l, (S, E) => (a(), f("div", {
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 || "")
400
+ onClick: (xe) => a.onSelect(l[s.selectedIndex].message || "")
401
401
  }, _(S.name), 43, fe))), 128))
402
402
  ]),
403
- e.mq !== "sm" ? (a(), f("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(), f("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(h, {
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",
@@ -434,10 +434,10 @@ function Te(e, t, v, u, s, o) {
434
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
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(), f("div", Se, [
475
+ return o(), f("div", Se, [
484
476
  m(d, {
485
477
  "break-point": 1e3,
486
478
  placement: v.placement,
@@ -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-Dr3neB7n.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,4 +1,4 @@
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-Dr3neB7n.js";
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
2
  function W(t, a) {
3
3
  var n = Object.keys(t);
4
4
  if (Object.getOwnPropertySymbols) {
@@ -1,11 +1,11 @@
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-Dr3neB7n.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-Cif8PyTV.js";
4
- import { C as Re } from "./CSelect-BpZYcMEc.js";
5
- import { b as Ae } from "./CDropdownItem-CjTBhP8h.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-tXDuIxx9.js";
8
- import { e as ze, r as qe, c as je, n as Ze, a as Ne, s as Ye } from "./index-DAIb9mjE.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: {
@@ -1,4 +1,4 @@
1
- import { m as C, a as f, g as b, at as $, au as w, _ as T, e as h, ac as D, o as i, b as s, s as n, d, v as a, F as L, k as N, H as B, f as l, O as I, av as u } from "./main-Dr3neB7n.js";
1
+ import { m as C, a as f, g as b, at as $, au as w, _ as T, e as h, ac as D, o as i, b as s, s as n, d, v as a, F as L, k as N, H as B, f as l, O as I, av as u } from "./main-q_EWffDQ.js";
2
2
  const E = {
3
3
  name: "ClientLinks",
4
4
  emits: ["close"],
@@ -54,9 +54,9 @@ const E = {
54
54
  loadDocument: b.LOAD_DOCUMENT2
55
55
  }),
56
56
  async copyToClipboard(t) {
57
- var c, p;
58
- (c = t.target.previousElementSibling) == null || c.select();
59
- const o = (p = t.target.previousElementSibling) == null ? void 0 : p.value;
57
+ var p, c;
58
+ (p = t.target.previousElementSibling) == null || p.select();
59
+ const o = (c = t.target.previousElementSibling) == null ? void 0 : c.value;
60
60
  if (!o) return;
61
61
  await $(o) && w("info", this.$t("copied"));
62
62
  }
@@ -64,14 +64,14 @@ const E = {
64
64
  }, S = {
65
65
  class: "font-inter",
66
66
  style: { "background-color": "white", "border-radius": "10px", overflow: "hidden" }
67
- }, O = { style: { padding: "40px 30px", position: "relative" } }, V = { style: { padding: "0 0 2.5em" } }, z = ["textContent"], F = ["textContent"], M = ["textContent"], R = { style: { padding: "4px 6px 8px 6px" } }, j = { class: "client-title truncate-text" }, q = {
67
+ }, O = { style: { padding: "40px 30px", position: "relative" } }, V = { style: { padding: "0 0 2.5em" } }, z = ["textContent"], F = ["textContent"], M = ["textContent"], R = { style: { padding: "4px 6px 8px 6px" } }, j = { class: "client-title w-full truncate" }, q = {
68
68
  key: 0,
69
69
  style: { opacity: "0.5", "padding-left": "0.125ch" }
70
70
  }, P = ["textContent"], A = ["href"], G = {
71
71
  key: 1,
72
72
  style: { padding: "0 0.5ch" }
73
73
  }, H = ["href"], K = { style: { display: "flex", position: "relative" } }, U = ["value", "placeholder"], W = { class: "x-hint" }, J = ["textContent"];
74
- function Q(t, o, y, c, p, r) {
74
+ function Q(t, o, y, p, c, r) {
75
75
  const k = h("CButton"), _ = h("CPhoneFormat"), m = h("CIcon"), v = D("tooltip");
76
76
  return i(), s("div", S, [
77
77
  n("div", O, [
@@ -130,7 +130,7 @@ function Q(t, o, y, c, p, r) {
130
130
  placeholder: t.$t("placeholder"),
131
131
  type: "text",
132
132
  readonly: "readonly",
133
- class: "link-field truncate-text"
133
+ class: "link-field w-full truncate"
134
134
  }, null, 8, U),
135
135
  I((i(), s("div", {
136
136
  class: "clipboard-button",
@@ -164,7 +164,7 @@ function Q(t, o, y, c, p, r) {
164
164
  ])
165
165
  ]);
166
166
  }
167
- const X = /* @__PURE__ */ T(E, [["render", Q], ["__scopeId", "data-v-cb2f0c7a"]]), Y = X, ee = ({ id: t }) => {
167
+ const X = /* @__PURE__ */ T(E, [["render", Q], ["__scopeId", "data-v-d4e8613a"]]), Y = X, ee = ({ id: t }) => {
168
168
  var o;
169
169
  if (!u.$modal)
170
170
  throw Error("Open client modal requires plugin vue-js-modal");
@@ -1,6 +1,6 @@
1
- import { F as L } from "./Flag-B0cEHRlt.js";
2
- import { w as S } from "./CDropdownItem-CjTBhP8h.js";
3
- import { aJ as V, ae as B, ab as E, aK as R, _ as b, e as a, o, b as i, s as n, d as h, ad as y, w as x, F as v, k, f as r, l as F, v as m, c as q, H as w, K as g } from "./main-Dr3neB7n.js";
1
+ import { F as L } from "./Flag-D3GdVwWB.js";
2
+ import { w as S } from "./CDropdownItem-BWmAQwpG.js";
3
+ import { aJ as V, ae as B, ab as E, aK as R, _ as b, e as a, o, b as i, s as n, d as h, ad as y, w as x, F as v, k, f as r, l as F, v as m, c as q, H as w, K as g } from "./main-q_EWffDQ.js";
4
4
  import { i as P } from "./dom-DOcGU3-g.js";
5
5
  /* empty css */
6
6
  const H = {