@cling-se/widget 0.19.7 → 0.19.9

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 (128) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-C400wpa7.js} +19 -19
  3. package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-C_vekdpA.js} +80 -80
  4. package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CYeH1VVw.js} +14 -14
  5. package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-DGLogqK4.js} +256 -256
  6. package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-Hbm0GWNw.js} +33 -32
  7. package/dist/{CCallout-BlglVZrm.js → CCallout-BPCwr3uM.js} +15 -15
  8. package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-CZXWH0mA.js} +13 -13
  9. package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-B9dja0RC.js} +11 -11
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-HLxgkrxm.js} +17 -17
  11. package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-C1cjsMVZ.js} +1 -1
  12. package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-DwcIFaqz.js} +23 -23
  13. package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-C_PfAhRb.js} +12 -12
  14. package/dist/{CSelect-CmoAbVkP.js → CSelect-D4A_clvT.js} +15 -15
  15. package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-h81Vudx0.js} +16 -16
  16. package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-B_R7zgvM.js} +24 -24
  17. package/dist/{ClientModal-Com23Qgc.js → ClientModal-CBJgrb_y.js} +44 -44
  18. package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-a5yTVc0q.js} +66 -66
  19. package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-sRTrUPOY.js} +18 -18
  20. package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-Cwd6t51-.js} +16 -16
  21. package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings-8tjji9f1.js} +39 -39
  22. package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-D1ZIH1Hn.js} +4 -4
  23. package/dist/{DocDetails-C5Vzh550.js → DocDetails-B5_hBzC-.js} +56 -56
  24. package/dist/{DocForm-DEUVV11n.js → DocForm-BKQvY0Ie.js} +821 -829
  25. package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-z0W-xRJP.js} +11 -11
  26. package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BgbDU24h.js} +6 -6
  27. package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-CNo1u8TK.js} +1 -1
  28. package/dist/{DocPrint-D_uxg7qD.js → DocPrint--UV846r0.js} +15 -15
  29. package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-BAkWIKbC.js} +23 -23
  30. package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-Bk6IVg0R.js} +10 -10
  31. package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-D5zDbbXV.js} +4499 -4438
  32. package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-KG4zJJOW.js} +16 -16
  33. package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-CXSxwjOt.js} +12 -12
  34. package/dist/DocumentLayout-C-V_5p3r.js +595 -0
  35. package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-H0f7bO0E.js} +18 -18
  36. package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-3F7DChD4.js} +4 -4
  37. package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-iG-cDNzZ.js} +8 -8
  38. package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-DhwFGdKH.js} +12 -12
  39. package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout-CyqQ9iRV.js} +10 -10
  40. package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-CEUhUuh4.js} +7 -7
  41. package/dist/{Flag-wXawyyMO.js → Flag-Bza5Ltob.js} +4 -4
  42. package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-kEbuiv0n.js} +36 -36
  43. package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-MDduQIdS.js} +16 -16
  44. package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-CKJXUAkn.js} +72 -72
  45. package/dist/{Index-BbVHxVFJ.js → Index--_tbiloB.js} +33 -33
  46. package/dist/{Index-y_AJP61r.js → Index-437smvNJ.js} +11 -11
  47. package/dist/{Index-ezY0DbcB.js → Index-8CyLDQv2.js} +5 -5
  48. package/dist/{Index-Cjg3X74T.js → Index-B1tFrOfN.js} +7 -7
  49. package/dist/{Index-Ct735UtM.js → Index-BFwz1G_7.js} +2 -2
  50. package/dist/{Index-BlownK7_.js → Index-BXqNV8F_.js} +7 -7
  51. package/dist/{Index-B53eUt7Y.js → Index-Bege0Vce.js} +15 -15
  52. package/dist/{Index-BTDQax0X.js → Index-Bg1kzWCp.js} +60 -59
  53. package/dist/{Index-9ZFW8Ka7.js → Index-C46cWm4W.js} +7 -7
  54. package/dist/{Index-C2-s62x7.js → Index-CGhWvSf9.js} +11 -11
  55. package/dist/{Index-D-gJQEAD.js → Index-CHIQWumi.js} +6 -6
  56. package/dist/{Index-CQboLS2e.js → Index-CNQhKXtr.js} +8 -8
  57. package/dist/{Index-COF0evH4.js → Index-CUDi4SEx.js} +6 -6
  58. package/dist/{Index-Bb6JZC8l.js → Index-ClA923dR.js} +11 -11
  59. package/dist/{Index-1WPEpaVr.js → Index-D2A8evjo.js} +7 -7
  60. package/dist/{Index-BvAqglwa.js → Index-D4XDugcf.js} +27 -27
  61. package/dist/{Index-GPliVrhC.js → Index-DB3keB-X.js} +7 -7
  62. package/dist/{Index-BJf4YdYB.js → Index-DQLLCnjH.js} +29 -29
  63. package/dist/{Index-Dfy0PsiW.js → Index-DUM-3B1l.js} +29 -29
  64. package/dist/{Index-Ck-_9woY.js → Index-DdZo8evS.js} +456 -461
  65. package/dist/{Index-CTrX3VRa.js → Index-Doc7K3kL.js} +5 -5
  66. package/dist/{Index-DfuzxXzD.js → Index-Dqfwe7SG.js} +2 -2
  67. package/dist/{Index-NnBwJv9v.js → Index-DtCuzght.js} +9 -9
  68. package/dist/{Index-DOeHci16.js → Index-DtDRffCY.js} +7 -7
  69. package/dist/{Index-C-EUJjuk.js → Index-DzKdZg0G.js} +2 -2
  70. package/dist/{Index-yS5OPrJJ.js → Index-DzugmOmj.js} +2 -2
  71. package/dist/{Index-DjfbgA_7.js → Index-E7OzmtR_.js} +30 -27
  72. package/dist/{Index-DkQ8_VkX.js → Index-MmvJQvLm.js} +194 -218
  73. package/dist/{Index-Dxg4gEKd.js → Index-Rb5n5XoO.js} +18 -18
  74. package/dist/{Index-DAkq_7Ws.js → Index-dTgmxz_A.js} +18 -18
  75. package/dist/{Index-Ciy9lnhS.js → Index-eJiQmHhr.js} +2 -2
  76. package/dist/Index-jQsYOOC3.js +4 -0
  77. package/dist/{Index-DzdEqsZB.js → Index-rINXTjpt.js} +16 -16
  78. package/dist/Index-zRXdiRpy.js +49 -0
  79. package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-B9979oeS.js} +2 -2
  80. package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-CO4fZnAC.js} +15 -15
  81. package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-DT4iXoSI.js} +6 -6
  82. package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-CP_1JzGI.js} +4 -4
  83. package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-D9Um3Agp.js} +2 -2
  84. package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-BtH12jVM.js} +103 -103
  85. package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-sQh93Xit.js} +9 -9
  86. package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-DMAcTVND.js} +71 -71
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-tY-SurWr.js} +2 -2
  88. package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-CG6el7O_.js} +31 -31
  89. package/dist/{SearchApi-ZczKsBb7.js → SearchApi-B39mMGKy.js} +6 -6
  90. package/dist/{SendForm-D5jqkofo.js → SendForm-F5aQPz8w.js} +780 -778
  91. package/dist/{Setup-CdZzn0qW.js → Setup-DuHU2eHC.js} +4 -4
  92. package/dist/{SmartList-B36ffGAZ.js → SmartList-myMj6QGe.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-Bb2Nqdsz.js} +118 -118
  94. package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-Cb6Xms3f.js} +16 -16
  95. package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-oW3xS1pa.js} +13 -13
  96. package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-B-F9_nAf.js} +7 -7
  97. package/dist/{UploadModal-2tXsmGMM.js → UploadModal-eBx4Vqyo.js} +19 -19
  98. package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-CtTe4JW4.js} +10 -10
  99. package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-Cvz5B4JX.js} +9 -9
  100. package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-CXI0aN4g.js} +19 -19
  101. package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-DlcYhFw8.js} +1 -1
  102. package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-Cf6Q5cuR.js} +1 -1
  103. package/dist/{helpers-BVP2Pul1.js → helpers-Cf9wqfZh.js} +4 -4
  104. package/dist/{index-D0Qee2OX.js → index-BSCAjn53.js} +31 -31
  105. package/dist/{index-Cd4S4J-L.js → index-BStFMzD9.js} +56 -56
  106. package/dist/{index-BDb4bM0D.js → index-BytsFarx.js} +24 -24
  107. package/dist/{index-DXNrJnEc.js → index-Co_PpOtI.js} +10 -10
  108. package/dist/{index-BH5vwOzR.js → index-DPlBYqKB.js} +9 -9
  109. package/dist/{index-B86TZXOh.js → index-DsvlNA3Q.js} +94 -94
  110. package/dist/{index-CsbYpQqP.js → index-r5v1Gv17.js} +57 -57
  111. package/dist/index.es.js +2 -2
  112. package/dist/index.umd.js +153 -158
  113. package/dist/{main-C2Q8_T2Y.js → main-BkjAGG46.js} +14298 -14373
  114. package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-DLFNPgNO.js} +34 -40
  115. package/dist/omit-CvOSNZN7.js +56 -0
  116. package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-DeC1m0ps.js} +4 -4
  117. package/dist/{splitpanes-CuxtOZyV.js → splitpanes-CsJipBiG.js} +6 -6
  118. package/dist/{template-DzrGrOEa.js → template-Cvzvayl5.js} +6 -6
  119. package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-JEjGtE5F.js} +273 -275
  120. package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-D2gYy-TP.js} +7 -7
  121. package/dist/{utils-a_Odlqb5.js → utils-DarTPA8c.js} +1 -1
  122. package/dist/{validation-38muBV6x.js → validation-K11g55ZB.js} +4 -4
  123. package/dist/widget.css +1 -1
  124. package/package.json +2 -2
  125. package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
  126. package/dist/Index-CXjLkK_n.js +0 -49
  127. package/dist/Index-qFx0G3fC.js +0 -4
  128. package/dist/omit-DzlbtNCX.js +0 -56
@@ -1,15 +1,15 @@
1
- import { m as o } from "./mapFormMixin-CjfqZnmd.js";
2
- import { _ as n, l as s, o as r, c as i, e as p } from "./main-C2Q8_T2Y.js";
1
+ import { m as o } from "./mapFormMixin-DLFNPgNO.js";
2
+ import { _ as n, l as s, b as r, c as i, o as p } from "./main-BkjAGG46.js";
3
3
  const a = {
4
4
  name: "WorkAddressText",
5
5
  components: {
6
- Read: s(() => import("./Index-Ciy9lnhS.js"))
6
+ Read: s(() => import("./Index-eJiQmHhr.js"))
7
7
  },
8
8
  mixins: [o(["street", "city", "zip"])]
9
9
  };
10
10
  function c(e, m, d, f, _, l) {
11
- const t = p("Read");
12
- return r(), i(t, {
11
+ const t = r("Read");
12
+ return p(), i(t, {
13
13
  street: e.street,
14
14
  city: e.city,
15
15
  zip: e.zip
@@ -1,5 +1,5 @@
1
- import { _ as s } from "./PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js";
2
- import { d as t, x as e } from "./main-C2Q8_T2Y.js";
1
+ import { _ as s } from "./PlainHtml.vue_vue_type_script_setup_true_lang-tY-SurWr.js";
2
+ import { f as t, q as e } from "./main-BkjAGG46.js";
3
3
  const r = {
4
4
  name: "EstimatedTimeToCompleteTextRead",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- import { m as a } from "./mapFormMixin-CjfqZnmd.js";
2
- import { T as m } from "./DocTextEditor-DeZtzbgm.js";
3
- import { _ as c, q as r, s as d, u as i, o as l, b as p, d as u, e as _ } from "./main-C2Q8_T2Y.js";
1
+ import { m as a } from "./mapFormMixin-DLFNPgNO.js";
2
+ import { T as m } from "./DocTextEditor-D5zDbbXV.js";
3
+ import { _ as c, b as r, d, o as i, f as l, ae as p, ag as u, ah as _ } from "./main-BkjAGG46.js";
4
4
  const x = {
5
5
  name: "TextContent",
6
6
  components: {
@@ -10,14 +10,14 @@ const x = {
10
10
  computed: {
11
11
  value: {
12
12
  get() {
13
- return this.canEdit ? r(
13
+ return this.canEdit ? u(
14
14
  this.content,
15
15
  this._document.textTemplateMap,
16
16
  this._document._doc
17
- ) : d(this.content, this._document._doc);
17
+ ) : _(this.content, this._document._doc);
18
18
  },
19
19
  set(t) {
20
- this.content = i(t);
20
+ this.content = p(t);
21
21
  }
22
22
  }
23
23
  }
@@ -26,9 +26,9 @@ const x = {
26
26
  style: { "font-size": "16px" }
27
27
  };
28
28
  function h(t, e, T, v, E, o) {
29
- const n = _("TextEditor");
30
- return l(), p("div", f, [
31
- u(n, {
29
+ const n = r("TextEditor");
30
+ return i(), d("div", f, [
31
+ l(n, {
32
32
  ref: "textEditor",
33
33
  modelValue: o.value,
34
34
  "onUpdate:modelValue": e[0] || (e[0] = (s) => o.value = s),
@@ -1,10 +1,10 @@
1
- import { m as d } from "./mapFormMixin-CjfqZnmd.js";
2
- import { _ as p, l as n, o, c as i, e as m } from "./main-C2Q8_T2Y.js";
1
+ import { m as d } from "./mapFormMixin-DLFNPgNO.js";
2
+ import { _ as p, l as n, b as o, c as i, o as m } from "./main-BkjAGG46.js";
3
3
  const u = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: n(() => import("./Index-Ct735UtM.js")),
7
- Edit: n(() => import("./Index-B53eUt7Y.js"))
6
+ Read: n(() => import("./Index-BFwz1G_7.js")),
7
+ Edit: n(() => import("./Index-Bege0Vce.js"))
8
8
  },
9
9
  emits: ["input"],
10
10
  mixins: [
@@ -18,13 +18,13 @@ const u = {
18
18
  ]
19
19
  };
20
20
  function l(t, e, c, k, f, w) {
21
- const r = m("Edit"), a = m("Read");
22
- return t.canEdit ? (o(), i(r, {
21
+ const r = o("Edit"), a = o("Read");
22
+ return t.canEdit ? (m(), i(r, {
23
23
  key: 0,
24
24
  _document: t._document,
25
25
  _value: t._value,
26
26
  onInput: e[0] || (e[0] = (s) => t.$emit("input", s))
27
- }, null, 8, ["_document", "_value"])) : (o(), i(a, {
27
+ }, null, 8, ["_document", "_value"])) : (m(), i(a, {
28
28
  key: 1,
29
29
  "work-start-at": t.workStartAt,
30
30
  "work-end-at": t.workEndAt,
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js";
2
- import { d as e, aB as c, E as u, x as d, _ as h } from "./main-C2Q8_T2Y.js";
1
+ import { _ as p } from "./PlainHtml.vue_vue_type_script_setup_true_lang-tY-SurWr.js";
2
+ import { f as e, aH as c, s as u, q as d, _ as h } from "./main-BkjAGG46.js";
3
3
  import { s as g } from "./dom-DOcGU3-g.js";
4
4
  const f = {
5
5
  name: "ExtraWorkConstructionPricingListRead",
@@ -1,5 +1,5 @@
1
- import { _ as n } from "./PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js";
2
- import { d as e, x as t } from "./main-C2Q8_T2Y.js";
1
+ import { _ as n } from "./PlainHtml.vue_vue_type_script_setup_true_lang-tY-SurWr.js";
2
+ import { f as e, q as t } from "./main-BkjAGG46.js";
3
3
  const a = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,7 +1,7 @@
1
- import { m as b } from "./mapFormMixin-CjfqZnmd.js";
2
- import k from "./FilePreviewModal-Da_pMUoO.js";
3
- import { _ as x, B, l as g, ax as S, o as i, b as p, d as c, w, j as v, F as y, G as A, x as $, t as _, f as j, e as l, c as z } from "./main-C2Q8_T2Y.js";
4
- const U = {
1
+ import { m as C } from "./mapFormMixin-DLFNPgNO.js";
2
+ import k from "./FilePreviewModal-CEUhUuh4.js";
3
+ import { _ as F, T as S, ab as A, l as g, b as i, d as p, o as l, f as c, e as B, w, j as v, F as y, n as U, c as $, q as j, t as _, ac as z } from "./main-BkjAGG46.js";
4
+ const M = {
5
5
  name: "FilePreviewWrapper",
6
6
  props: {
7
7
  list: {
@@ -46,22 +46,22 @@ const U = {
46
46
  }
47
47
  }
48
48
  };
49
- function M(e, t, o, r, n, s) {
50
- return B(e.$slots, "default", {
49
+ function V(e, t, o, r, n, s) {
50
+ return S(e.$slots, "default", {
51
51
  openModal: (a) => s.FilePreviewModal(a),
52
52
  isImageOrPdf: (a) => s.isImage(a) || s.isPdf(a)
53
53
  });
54
54
  }
55
- const V = /* @__PURE__ */ x(U, [["render", M]]), L = {
55
+ const L = /* @__PURE__ */ F(M, [["render", V]]), N = {
56
56
  name: "AttachmentList",
57
57
  components: {
58
- FilePreviewWrapper: V,
58
+ FilePreviewWrapper: L,
59
59
  BaseUpload: g(
60
- () => import("./BaseUpload-Zm4EX8ir.js")
60
+ () => import("./BaseUpload-DGLogqK4.js")
61
61
  ),
62
- AttachmentItem: g(() => import("./AttachmentItem-BEd3qVAo.js"))
62
+ AttachmentItem: g(() => import("./AttachmentItem-CYeH1VVw.js"))
63
63
  },
64
- mixins: [b(["attachments"])],
64
+ mixins: [C(["attachments"])],
65
65
  data() {
66
66
  return {
67
67
  hoverIndex: null,
@@ -82,14 +82,17 @@ const V = /* @__PURE__ */ x(U, [["render", M]]), L = {
82
82
  progress: parseInt(r, 10)
83
83
  })
84
84
  )
85
- ];
85
+ ].map((e) => ({
86
+ ...e,
87
+ url: z(e.url)
88
+ }));
86
89
  },
87
90
  showRecentModal() {
88
91
  return !this.viewSettings.isPublicForm;
89
92
  }
90
93
  },
91
94
  methods: {
92
- immutable: S,
95
+ immutable: A,
93
96
  async onUploadSuccess(e) {
94
97
  const { id: t, displayName: o, url: r, mime: n } = e.response;
95
98
  if (!t) throw new Error("Could not read id from uploaded file");
@@ -109,17 +112,17 @@ const V = /* @__PURE__ */ x(U, [["render", M]]), L = {
109
112
  t.splice(e, 1), this.attachments = t;
110
113
  }
111
114
  }
112
- }, N = { class: "font-inter" }, E = {
115
+ }, E = { class: "font-inter" }, O = {
113
116
  key: 1,
114
117
  class: "flex items-center justify-center space-x-2 border border-gray-200 p-2 sm:p-4"
115
- }, O = { class: "text-gray-500" };
116
- function R(e, t, o, r, n, s) {
117
- const a = l("AttachmentItem"), F = l("FilePreviewWrapper"), P = l("BaseUpload"), I = l("CButton"), C = l("CIcon");
118
- return i(), p("div", N, [
119
- c(F, { list: s.cAttachments }, {
118
+ }, R = { class: "text-gray-500" };
119
+ function W(e, t, o, r, n, s) {
120
+ const a = i("AttachmentItem"), x = i("FilePreviewWrapper"), P = i("BaseUpload"), I = i("CButton"), b = i("CIcon");
121
+ return l(), p("div", E, [
122
+ c(x, { list: s.cAttachments }, {
120
123
  default: w(({ openModal: u, isImageOrPdf: h }) => [
121
124
  v("div", null, [
122
- (i(!0), p(y, null, A(s.cAttachments, (m, d) => (i(), z(a, {
125
+ (l(!0), p(y, null, U(s.cAttachments, (m, d) => (l(), $(a, {
123
126
  key: d,
124
127
  "is-image-or-pdf": h(m.mime),
125
128
  attachment: m,
@@ -133,7 +136,7 @@ function R(e, t, o, r, n, s) {
133
136
  ]),
134
137
  _: 1
135
138
  }, 8, ["list"]),
136
- e.canEdit ? (i(), p(y, { key: 0 }, [
139
+ e.canEdit ? (l(), p(y, { key: 0 }, [
137
140
  c(P, {
138
141
  ref: "uploader",
139
142
  modelValue: n.newFiles,
@@ -153,21 +156,21 @@ function R(e, t, o, r, n, s) {
153
156
  onClick: t[1] || (t[1] = () => e.$refs.uploader ? e.$refs.uploader.open() : null)
154
157
  }, {
155
158
  default: w(() => [
156
- $(_(e.$t("_common:upload", { thing: e.$t("_common:file") })), 1)
159
+ j(_(e.$t("_common:upload", { thing: e.$t("_common:file") })), 1)
157
160
  ]),
158
161
  _: 1
159
162
  })
160
- ], 64)) : e.attachments.length ? j("", !0) : (i(), p("div", E, [
161
- c(C, {
163
+ ], 64)) : e.attachments.length ? B("", !0) : (l(), p("div", O, [
164
+ c(b, {
162
165
  type: "info",
163
166
  size: "24",
164
167
  class: "flex-shrink-0 text-red-500"
165
168
  }),
166
- v("span", O, _(e._document.$t("chapters.attachments.emptyPlaceholder")), 1)
169
+ v("span", R, _(e._document.$t("chapters.attachments.emptyPlaceholder")), 1)
167
170
  ]))
168
171
  ]);
169
172
  }
170
- const T = /* @__PURE__ */ x(L, [["render", R]]);
173
+ const G = /* @__PURE__ */ F(N, [["render", W]]);
171
174
  export {
172
- T as default
175
+ G as default
173
176
  };