@cling-se/widget 0.13.1 → 0.13.3

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 (136) hide show
  1. package/README.md +27 -22
  2. package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-D9a9MCUX.js} +11 -16
  3. package/dist/{AnswerModal-7c83d608.js → AnswerModal-D8x72yGp.js} +1931 -1948
  4. package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-BvRfBRk6.js} +15 -18
  5. package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BmvP7mNA.js} +139 -142
  6. package/dist/{BaseInput-2ca68242.js → BaseInput-DDxP_o2d.js} +77 -56
  7. package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-BYXTgBXu.js} +208 -212
  8. package/dist/{BlockMedia-9fa610ce.js → BlockMedia-BjasKSPl.js} +6 -8
  9. package/dist/{CCallout-4c253200.js → CCallout-D66Z5Gmx.js} +26 -16
  10. package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CsY-c0bJ.js} +51 -50
  11. package/dist/{CField-823448be.js → CField-P1DJ6Xte.js} +75 -58
  12. package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-CWaOjZ6c.js} +5 -7
  13. package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-ZmW20zh4.js} +6 -8
  14. package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-CS5EWC8m.js} +11 -13
  15. package/dist/{ClientModal-c5ee3885.js → ClientModal-JsCpUq7_.js} +25 -32
  16. package/dist/{ColorPicker-65a47379.js → ColorPicker-D2qM7zAH.js} +5 -7
  17. package/dist/{CompanyModal-564e2b35.js → CompanyModal-Cy41VR2V.js} +28 -30
  18. package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-BZV21UxA.js} +25 -43
  19. package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-BKSeVFDE.js} +20 -31
  20. package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-kP7uwYPw.js} +5 -12
  21. package/dist/{DocDetails-6522bb1b.js → DocDetails-CQokGcQU.js} +47 -59
  22. package/dist/{DocForm-983d41f5.js → DocForm--8jg79O2.js} +4871 -4946
  23. package/dist/{DocFormSend-787ce614.js → DocFormSend-yMGm0yem.js} +15 -33
  24. package/dist/DocLinks-tR60r1YR.js +38 -0
  25. package/dist/{DocModalBase-60c69c7f.js → DocModalBase-CTK46Brc.js} +8 -10
  26. package/dist/{DocPrint-78c501ca.js → DocPrint-GY73q9cl.js} +6 -10
  27. package/dist/{DocReceipt-ac44b93f.js → DocReceipt-pTTh1XRW.js} +11 -15
  28. package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-C4MsDwmQ.js} +2 -6
  29. package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-22iwpJ.js} +2509 -2529
  30. package/dist/{DocTimeline-35106a94.js → DocTimeline-CwcPVMLq.js} +26 -37
  31. package/dist/{DocumentClient-eda56a3c.js → DocumentClient-C9Lm9899.js} +15 -22
  32. package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BijbYCjw.js} +4510 -4527
  33. package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-EyAhhuyy.js} +20 -22
  34. package/dist/DocumentVoided-D5t8akG5.js +25 -0
  35. package/dist/{EmbedInput-8c301d27.js → EmbedInput-BgRj0APU.js} +9 -12
  36. package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-D2AVYJsR.js} +6 -9
  37. package/dist/ErrorCallout-C2Hz9_Kw.js +28 -0
  38. package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-qE7IG4wX.js} +8 -14
  39. package/dist/{Flag-a6b545e0.js → Flag-BCpOsl81.js} +18 -20
  40. package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-BZNxb77S.js} +34 -49
  41. package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-FTD0imPM.js} +12 -20
  42. package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-Dt-_sMWf.js} +356 -384
  43. package/dist/{Index-ea1e223d.js → Index-21Rqe72Y.js} +16 -18
  44. package/dist/{Index-54f457ee.js → Index-5j91zO6f.js} +10 -12
  45. package/dist/{Index-848bb05c.js → Index-BCXTn1sC.js} +11 -13
  46. package/dist/{Index-01224b38.js → Index-BDET3dI8.js} +233 -273
  47. package/dist/{Index-071b97c8.js → Index-BFaUGjUB.js} +24 -26
  48. package/dist/{Index-8cfeac73.js → Index-BKlCGLNd.js} +80 -90
  49. package/dist/{Index-c349151b.js → Index-BoLTPa35.js} +7 -9
  50. package/dist/{Index-ecbffb52.js → Index-CBbfIsZN.js} +18 -31
  51. package/dist/{Index-8f237754.js → Index-CFdROMC3.js} +6 -8
  52. package/dist/{Index-8ea1a895.js → Index-CJODaFN6.js} +16 -21
  53. package/dist/{Index-4298f3e2.js → Index-C_xGmfku.js} +13 -15
  54. package/dist/Index-CcukWQRL.js +21 -0
  55. package/dist/Index-Cl5xExRO.js +24 -0
  56. package/dist/{Index-b56a2d94.js → Index-Cp6jRq1R.js} +20 -23
  57. package/dist/{Index-4b09d0fa.js → Index-CuoBquDv.js} +116 -118
  58. package/dist/{Index-4f119d80.js → Index-Cwl2NC2m.js} +459 -510
  59. package/dist/{Index-fe0e805b.js → Index-D-bjhn09.js} +51 -58
  60. package/dist/{Index-a52df5e2.js → Index-D2nfeQ5x.js} +14 -21
  61. package/dist/{Index-caebb616.js → Index-D5bdxU_9.js} +4 -6
  62. package/dist/{Index-6b66b9ff.js → Index-DFtgMiak.js} +4 -6
  63. package/dist/{Index-3f02e8ca.js → Index-DGZ31KnZ.js} +8 -11
  64. package/dist/{Index-5bf8b9b7.js → Index-DJR3xxCd.js} +8 -10
  65. package/dist/{Index-8ebe3371.js → Index-DMY-Sq_M.js} +19 -26
  66. package/dist/Index-DlhEipBL.js +26 -0
  67. package/dist/Index-Dv7cLrE4.js +52 -0
  68. package/dist/{Index-b2de3af8.js → Index-In1yv5wC.js} +2 -4
  69. package/dist/{Index-8e82da74.js → Index-UamytEM4.js} +12 -15
  70. package/dist/{Index-63aea2b8.js → Index-WMiYQ88f.js} +12 -21
  71. package/dist/{Index-a3920b7b.js → Index-WNn-Ygm3.js} +9 -11
  72. package/dist/{Index-56e4127a.js → Index-_IbAcZwx.js} +29 -29
  73. package/dist/{Index-f1bf6520.js → Index-djTZz7Ns.js} +6 -8
  74. package/dist/{Index-c049a6e2.js → Index-sfUDC-CQ.js} +7 -9
  75. package/dist/Index-tPwll4sB.js +49 -0
  76. package/dist/{Index-97c18be1.js → Index-xgTLuqmb.js} +5 -9
  77. package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-BEO32u0P.js} +3 -5
  78. package/dist/{ManualPopover-d7c2a780.js → ManualPopover-BBh0cUw5.js} +1 -3
  79. package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-CoMogZxx.js} +3 -6
  80. package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BT1Q6RMl.js} +5 -7
  81. package/dist/{PackageGroup-95d99d03.js → PackageGroup-FdTMDsjx.js} +35 -59
  82. package/dist/{PdfTerms-4a6d6067.js → PdfTerms-DyPWsQVj.js} +11 -18
  83. package/dist/{PdfViewer-8d7f2143.js → PdfViewer-DypsavPs.js} +25 -29
  84. package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-BfBjldPv.js} +5 -7
  85. package/dist/{PriceHeader-f2cb6529.js → PriceHeader-C7uxm0UF.js} +113 -130
  86. package/dist/SearchApi-BFRaO76p.js +161 -0
  87. package/dist/{Setup-74c47337.js → Setup-5Bd2oKy5.js} +9 -11
  88. package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-qp4QTvSS.js} +6 -12
  89. package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-BVO3w229.js} +8 -10
  90. package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-kUXMHL_T.js} +7 -9
  91. package/dist/{UploadModal-d2757015.js → UploadModal-pc_pdLKq.js} +16 -19
  92. package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-D_pGBwqs.js} +6 -8
  93. package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-j923whT9.js} +7 -11
  94. package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-YwoeiHje.js} +20 -28
  95. package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-B_U73rNw.js} +5 -5
  96. package/dist/{debounce-f8aeabc5.js → debounce-BsRaWg59.js} +3 -3
  97. package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
  98. package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-JAewKqED.js} +1 -1
  99. package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-D4n0po7Z.js} +1198 -1171
  100. package/dist/{formDrawerState-b99be3a7.js → formDrawerState-zC8aJ2vd.js} +1 -1
  101. package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-BZkYLjQt.js} +2 -2
  102. package/dist/{index-b2348f09.js → index-B3HvM0tt.js} +39 -44
  103. package/dist/{index-96e9db00.js → index-CoyXZLrG.js} +41 -59
  104. package/dist/{index-c9186403.js → index-DMs1rzm_.js} +14 -16
  105. package/dist/{IsPremiumPreStep-27645ee9.js → index-DNfDl5X3.js} +531 -566
  106. package/dist/{index-d35e9363.js → index-RA-At4z5.js} +5 -3
  107. package/dist/{index-9d1ade78.js → index-g89MyoBh.js} +3 -5
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +1019 -1028
  110. package/dist/{main-b9ea9725.js → main-DdTHuJSP.js} +21733 -21943
  111. package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-jUVHvbDZ.js} +1 -2
  112. package/dist/{vuedraggable.umd-1b113186.js → omit-Cu3_dgaV.js} +143 -133
  113. package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-DbENjyL4.js} +1 -1
  114. package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-53a6c735.js → throttle-DP3fD_7G.js} +2 -2
  117. package/dist/{tinycolor-071e269c.js → tinycolor-BK1IhVpb.js} +6 -6
  118. package/dist/{tippy.esm-1b89bf69.js → tippy.esm-BZYdaq3J.js} +226 -232
  119. package/dist/{utils-44a35f52.js → utils-D8WP6t_z.js} +1 -1
  120. package/package.json +2 -2
  121. package/dist/DocLinks-d6b1b080.js +0 -41
  122. package/dist/DocumentVoided-fe1bd505.js +0 -27
  123. package/dist/ErrorCallout-87033b39.js +0 -30
  124. package/dist/Index-6bfbbbd2.js +0 -61
  125. package/dist/Index-6c21af02.js +0 -28
  126. package/dist/Index-cbd0f3f6.js +0 -23
  127. package/dist/Index-f006e9fe.js +0 -26
  128. package/dist/Index-fc0516f6.js +0 -54
  129. package/dist/SearchApi-2a59cdc7.js +0 -167
  130. package/dist/index-3671e1b7.js +0 -14
  131. package/dist/index-805c56e4.js +0 -4
  132. /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
  133. /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
  134. /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
  135. /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
  136. /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
@@ -1,8 +1,8 @@
1
- import { D as f } from "./DocumentVoided-fe1bd505.js";
2
- import { n as c, ac as g, b as h, ad as w, ae as y, af as $ } from "./main-b9ea9725.js";
3
- import { C as x } from "./CPhoneFormat-54baa501.js";
4
- import { w as b, C, a as D } from "./CDropdownItem-7e71da85.js";
5
- const S = {
1
+ import { D as f } from "./DocumentVoided-D5t8akG5.js";
2
+ import { C as g, a as h, w } from "./CDropdownItem-CsY-c0bJ.js";
3
+ import { n as r, a3 as $, b as x, a4 as y, a5 as b, a6 as C } from "./main-DdTHuJSP.js";
4
+ import { C as S } from "./CPhoneFormat-CWaOjZ6c.js";
5
+ const D = {
6
6
  name: "PublicDocumentEvents",
7
7
  props: {
8
8
  document: {
@@ -13,18 +13,17 @@ const S = {
13
13
  computed: {
14
14
  events() {
15
15
  const s = [], { acceptedAt: e } = this.document;
16
- return this.document.events.filter(({ createdAt: t }) => e ? g(e, t) : !0).forEach((t) => {
17
- const { code: i, createdAt: n, children: r = [] } = t;
16
+ return this.document.events.filter(({ createdAt: t }) => e ? $(e, t) : !0).forEach((t) => {
17
+ const { code: i, createdAt: n, children: c = [] } = t;
18
18
  let { data: l = {} } = t;
19
19
  l === null && (l = {});
20
- const { client: o = {}, clients: u = [], status: p, counter: _ } = l, m = {
21
- sent: () => u.map((a) => {
22
- const d = this.getClientName(a.id), v = this.filteredOxfordComma([
23
- a.email,
24
- a.cellphone
20
+ const { client: a = {}, clients: u = [], status: p, counter: _ } = l, m = {
21
+ sent: () => u.map((o) => {
22
+ const d = this.getClientName(o.id), v = this.filteredOxfordComma([
23
+ o.email,
24
+ o.cellphone
25
25
  ]);
26
26
  return {
27
- // eslint-disable-next-line prefer-template
28
27
  text: this.document.$t("event.sent", {
29
28
  to: `${d ? d + ", " : ""}${v}`
30
29
  }),
@@ -32,13 +31,13 @@ const S = {
32
31
  };
33
32
  }),
34
33
  viewed: () => {
35
- const a = _ || r.length + 1;
34
+ const o = _ || c.length + 1;
36
35
  return [
37
36
  {
38
37
  text: `${this.document.$t(
39
- `event.${o.name ? "viewedName" : "viewed"}`,
40
- { name: o.name }
41
- )} ${a ? this.document.$tc("times", { count: a }) : ""}.`,
38
+ `event.${a.name ? "viewedName" : "viewed"}`,
39
+ { name: a.name }
40
+ )} ${o ? this.document.$tc("times", { count: o }) : ""}.`,
42
41
  time: n
43
42
  }
44
43
  ];
@@ -46,7 +45,7 @@ const S = {
46
45
  accepted: () => [
47
46
  {
48
47
  text: this.document.$t("event.accepted", {
49
- by: o.name || o.email || o.cellphone
48
+ by: a.name || a.email || a.cellphone
50
49
  }),
51
50
  time: n
52
51
  }
@@ -54,7 +53,7 @@ const S = {
54
53
  denied: () => [
55
54
  {
56
55
  text: this.document.$t("event.denied", {
57
- by: o.name || o.email || o.cellphone
56
+ by: a.name || a.email || a.cellphone
58
57
  }),
59
58
  time: n
60
59
  }
@@ -103,26 +102,23 @@ const S = {
103
102
  events: this.events
104
103
  });
105
104
  }
106
- }, z = null, P = null;
107
- var k = /* @__PURE__ */ c(
108
- S,
105
+ }, z = null, k = null;
106
+ var P = /* @__PURE__ */ r(
107
+ D,
109
108
  z,
110
- P,
109
+ k,
111
110
  !1,
112
111
  null,
113
- null,
114
- null,
115
112
  null
116
113
  );
117
- const F = k.exports;
118
- const R = {
114
+ const F = P.exports, A = {
119
115
  name: "PublicRecipientItem",
120
116
  i18nOptions: {
121
117
  namespaces: "components",
122
118
  keyPrefix: "document.myPagesDrawer"
123
119
  },
124
120
  components: {
125
- CPhoneFormat: x
121
+ CPhoneFormat: S
126
122
  },
127
123
  props: {
128
124
  recipient: {
@@ -131,13 +127,13 @@ const R = {
131
127
  }
132
128
  },
133
129
  methods: {
134
- get: h,
130
+ get: x,
135
131
  getBrowserString({ browser: s, os: e, device: t }) {
136
132
  return [s && s.name, e && e.name, t && t.model].filter((i) => !!i).join(", ");
137
133
  }
138
134
  }
139
135
  };
140
- var A = function() {
136
+ var R = function() {
141
137
  var e = this, t = e._self._c;
142
138
  return t("div", { staticStyle: { border: "1px solid hsl(0, 0%, 84%)", "border-radius": "3px", "margin-bottom": "1em" } }, [t("div", { staticStyle: { padding: "0.5em 0.75em" } }, [e._l([
143
139
  e.recipient.name,
@@ -147,27 +143,24 @@ var A = function() {
147
143
  return t("span", { key: `${i}-${n}`, style: n === 0 ? { fontWeight: 500 } : { opacity: 0.65 } }, [e._v(" " + e._s(i && n > 0 ? "·" : "") + " " + e._s(i) + " ")]);
148
144
  }), t("div", { staticClass: "flex w-full flex-col", staticStyle: { "font-size": "14px", "align-items": "baseline" } }, [e.recipient.email ? t("a", { attrs: { href: `mailto:${e.recipient.email}`, target: "_blank" } }, [e._v(" " + e._s(e.recipient.email) + " ")]) : e._e(), e.recipient.cellphone ? t("CPhoneFormat", { attrs: { phone: e.recipient.cellphone, region: e.recipient.cellphoneRegion }, scopedSlots: e._u([{ key: "default", fn: function({ formattedValue: i }) {
149
145
  return t("a", { attrs: { href: `tel:${e.recipient.cellphone}` } }, [e._v(" " + e._s(i) + " ")]);
150
- } }], null, !1, 2469850174) }) : e._e()], 1)], 2), t("div", { staticStyle: { "background-color": "hsl(0, 0%, 94%)", padding: "0.75em 0.75em", "font-weight": "500", "font-size": "13px", "line-height": "1", color: "hsl(0, 0%, 40%)", position: "relative" } }, [t("div", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.recipient.documentRole}.label`)) + " ")]), t("div", { staticStyle: { position: "absolute", right: "1em", top: "0px", transform: "translate(0, -50%)" } }, [t("v-popover", { attrs: { "popover-inner-class": "signee-popover", trigger: "hover", placement: "bottom-end" } }, [e.recipient.documentRole === "signee" ? t("div", { staticStyle: { padding: "5px 0.75em", background: "hsl(0, 0%, 60%)", "border-radius": "4px", "font-size": "13px", color: "hsl(0, 0%, 100%)", cursor: "default", display: "inline-flex", "align-items": "center" } }, [t("BaseIcon", { staticStyle: { "margin-right": "0.5ch" }, attrs: { size: 15, type: "info", "stroke-width": "2" } }), e.recipient.answer && e.recipient.answer.didAccept ? [e._v(" " + e._s(e.$t("_common:approved").capitalize()) + " ")] : e.recipient.answer ? [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")] : [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.waitingForAnswer")) + " ")]], 2) : e._e(), t("div", { staticStyle: { padding: "0" }, attrs: { slot: "popover" }, slot: "popover" }, [t("div", { staticStyle: { padding: "1em 1.5em" } }, [e.recipient.answer && e.recipient.answer.didAccept ? [e.recipient.answer.signatureDataURL ? t("div", { staticStyle: { "padding-bottom": "0.5em" } }, [t("div", { staticClass: "has-text-grey", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("_common:signature").capitalize()) + " ")]), t("img", { staticStyle: { width: "80%" }, attrs: { src: e.recipient.answer.signatureDataURL } })]) : t("div", { staticStyle: { "font-size": "13px", "padding-top": "3px" } }, [e.get(e.recipient, "answerMethod.accept") === "bankId" ? [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.signedBankId")) + " ")]), t("div", [e._v(e._s(e.recipient.answer.response.name))]), t("div", [e._v(e._s(e.recipient.socialNo))])] : e.get(e.recipient, "answerMethod.accept") === "login" ? t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.verifiedLogin")) + " ")]) : e._e()], 2)] : e.recipient.answer ? t("div", [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")]) : t("div", [e._v(" " + e._s(e.$t("pendingAnswer")) + " ")])], 2), e.recipient.answer ? t("div", { staticStyle: { padding: "8px 1.5em", "border-top": "1px solid hsl(0deg 0% 88%)", "background-color": "hsl(0deg 0% 95%)", "font-size": "13px", color: "hsl(0, 0%, 35%)", "font-weight": "500" } }, [e.recipient.answer.didAnswerAt ? t("div", [t("div", [e._v(" " + e._s(e.$t("_common:date").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "P")) + " ")]), t("div", [e._v(" " + e._s(e.$t("_common:time").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "p")) + " ")])]) : e._e(), e.recipient.answer.ip ? t("div", [e._v(" IP: " + e._s(e.recipient.answer.ip) + " ")]) : e._e(), e.recipient.answer.browser ? t("div", [e._v(" Browser: " + e._s(e.getBrowserString(e.recipient.answer)) + " ")]) : e._e()]) : e._e()])])], 1)])]);
151
- }, I = [], L = /* @__PURE__ */ c(
152
- R,
146
+ } }], null, !1, 2469850174) }) : e._e()], 1)], 2), t("div", { staticStyle: { "background-color": "hsl(0, 0%, 94%)", padding: "0.75em 0.75em", "font-weight": "500", "font-size": "13px", "line-height": "1", color: "hsl(0, 0%, 40%)", position: "relative" } }, [t("div", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.recipient.documentRole}.label`)) + " ")]), t("div", { staticStyle: { position: "absolute", right: "1em", top: "0px", transform: "translate(0, -50%)" } }, [t("v-popover", { attrs: { "popover-inner-class": "signee-popover", trigger: "hover", placement: "bottom-end" } }, [e.recipient.documentRole === "signee" ? t("div", { staticStyle: { padding: "5px 0.75em", background: "hsl(0, 0%, 60%)", "border-radius": "4px", "font-size": "13px", color: "hsl(0, 0%, 100%)", cursor: "default", display: "inline-flex", "align-items": "center" } }, [t("CIcon", { staticStyle: { "margin-right": "0.5ch" }, attrs: { size: 15, type: "info", "stroke-width": "2" } }), e.recipient.answer && e.recipient.answer.didAccept ? [e._v(" " + e._s(e.$t("_common:approved").capitalize()) + " ")] : e.recipient.answer ? [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")] : [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.waitingForAnswer")) + " ")]], 2) : e._e(), t("div", { staticStyle: { padding: "0" }, attrs: { slot: "popover" }, slot: "popover" }, [t("div", { staticStyle: { padding: "1em 1.5em" } }, [e.recipient.answer && e.recipient.answer.didAccept ? [e.recipient.answer.signatureDataURL ? t("div", { staticStyle: { "padding-bottom": "0.5em" } }, [t("div", { staticClass: "has-text-grey", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("_common:signature").capitalize()) + " ")]), t("img", { staticStyle: { width: "80%" }, attrs: { src: e.recipient.answer.signatureDataURL } })]) : t("div", { staticStyle: { "font-size": "13px", "padding-top": "3px" } }, [e.get(e.recipient, "answerMethod.accept") === "bankId" ? [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.signedBankId")) + " ")]), t("div", [e._v(e._s(e.recipient.answer.response.name))]), t("div", [e._v(e._s(e.recipient.socialNo))])] : e.get(e.recipient, "answerMethod.accept") === "login" ? t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.verifiedLogin")) + " ")]) : e._e()], 2)] : e.recipient.answer ? t("div", [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")]) : t("div", [e._v(" " + e._s(e.$t("pendingAnswer")) + " ")])], 2), e.recipient.answer ? t("div", { staticStyle: { padding: "8px 1.5em", "border-top": "1px solid hsl(0deg 0% 88%)", "background-color": "hsl(0deg 0% 95%)", "font-size": "13px", color: "hsl(0, 0%, 35%)", "font-weight": "500" } }, [e.recipient.answer.didAnswerAt ? t("div", [t("div", [e._v(" " + e._s(e.$t("_common:date").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "P")) + " ")]), t("div", [e._v(" " + e._s(e.$t("_common:time").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "p")) + " ")])]) : e._e(), e.recipient.answer.ip ? t("div", [e._v(" IP: " + e._s(e.recipient.answer.ip) + " ")]) : e._e(), e.recipient.answer.browser ? t("div", [e._v(" Browser: " + e._s(e.getBrowserString(e.recipient.answer)) + " ")]) : e._e()]) : e._e()])])], 1)])]);
147
+ }, L = [], I = /* @__PURE__ */ r(
153
148
  A,
154
- I,
149
+ R,
150
+ L,
155
151
  !1,
156
152
  null,
157
- "567d3ede",
158
- null,
159
- null
153
+ "eee5c92d"
160
154
  );
161
- const j = L.exports;
162
- const q = {
155
+ const j = I.exports, q = {
163
156
  name: "DocumentDetails",
164
- mixins: [b],
165
157
  components: {
166
158
  PublicDocumentEvents: F,
167
159
  PublicRecipientItem: j,
168
- CDropdown: C,
169
- CDropdownItem: D
160
+ CDropdown: g,
161
+ CDropdownItem: h
170
162
  },
163
+ mixins: [w],
171
164
  props: {
172
165
  document: {
173
166
  type: Object,
@@ -180,8 +173,8 @@ const q = {
180
173
  },
181
174
  data() {
182
175
  return {
183
- docLanguages: w,
184
- nativeTranslations: y
176
+ docLanguages: y,
177
+ nativeTranslations: b
185
178
  };
186
179
  },
187
180
  computed: {
@@ -192,12 +185,12 @@ const q = {
192
185
  methods: {
193
186
  changeLanguage(s) {
194
187
  this.document.language = s, this.$root.$i18n.i18next.changeLanguage(
195
- $.includes(s) ? s : "en"
188
+ C.includes(s) ? s : "en"
196
189
  );
197
190
  }
198
191
  }
199
192
  };
200
- var B = function() {
193
+ var O = function() {
201
194
  var e = this, t = e._self._c;
202
195
  return t("div", { staticClass: "relative flex h-full w-full flex-col overflow-hidden rounded-lg bg-white text-base shadow-md" }, [t("div", { staticClass: "z-10 flex w-full items-center justify-end px-6 py-4 shadow-sm" }, [e.openPrintFunc ? [t("CButton", { staticStyle: { "padding-left": "1em", "padding-right": "1em" }, attrs: { "icon-left": "print", type: "none", pattern: "tertiary", taller: "", size: "small" }, on: { click: e.openPrintFunc } }, [e._v(" " + e._s(e.document.$t("download", { thing: "PDF" })) + " ")]), t("div", { staticStyle: { height: "2rem", width: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "0 6px" } })] : e._e(), t("CDropdown", { attrs: { value: e.document.language } }, [t("CButton", { staticStyle: { color: "hsla(0, 0%, 45%, 1)" }, attrs: { slot: "trigger", "icon-props": { size: 18 }, size: "normal", icon: "globe", circle: "" }, slot: "trigger" }), e._l(e.docLanguages, function(i) {
203
196
  return t("CDropdownItem", { key: i, attrs: { value: i }, on: { click: function(n) {
@@ -208,22 +201,19 @@ var B = function() {
208
201
  } } })], 2), t("div", { staticClass: "d-root h-full min-h-0 flex-1 overflow-auto px-6 py-8 md:px-12 md:py-16" }, [t("div", { staticClass: "mb-[3em] flex justify-between" }, [t("div", [t("div", { staticStyle: { "font-size": "18px", "font-weight": "600" } }, [e._v(" " + e._s(e.document.$t("detail_plural").capitalize()) + " ")]), t("div", { staticClass: "has-text-grey", staticStyle: { "font-size": "14px" } }, [e._v(" " + e._s(e.document.$t("documentDetails.subTitle")) + " ")])])]), t("div", { staticClass: "d-option", staticStyle: { "margin-bottom": "3em" } }, [t("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "0.5rem" } }, [e._v(" " + e._s(e.document.$t("participant_plural").capitalize()) + " ")]), e._l(e.document.recipients, function(i, n) {
209
202
  return t("PublicRecipientItem", { key: i._uniqueId + n, attrs: { recipient: i } });
210
203
  })], 2), t("PublicDocumentEvents", { attrs: { document: e.document }, scopedSlots: e._u([{ key: "default", fn: function({ events: i }) {
211
- return [i && i.length ? t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(" " + e._s(e.document.$t("event.event_plural").capitalize()) + " ")]), t("div", { attrs: { id: "timeline" } }, [t("div", e._l(i, function(n, r) {
212
- return t("div", { key: r, staticClass: "e-item" }, [t("div", { staticClass: "e-data" }, [t("div", { staticClass: "e-text" }, [e._v(e._s(n.text))]), t("div", { staticClass: "e-timestamp" }, [t("div", { staticClass: "e-date" }, [e._v(e._s(e.$formatDate(n.time, "P")))]), t("div", { staticClass: "e-time", staticStyle: { "padding-left": "0.5ch" } }, [e._v(" " + e._s(e.$formatDate(n.time, "p")) + " ")])])])]);
204
+ return [i && i.length ? t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(" " + e._s(e.document.$t("event.event_plural").capitalize()) + " ")]), t("div", { attrs: { id: "timeline" } }, [t("div", e._l(i, function(n, c) {
205
+ return t("div", { key: c, staticClass: "e-item" }, [t("div", { staticClass: "e-data" }, [t("div", { staticClass: "e-text" }, [e._v(e._s(n.text))]), t("div", { staticClass: "e-timestamp" }, [t("div", { staticClass: "e-date" }, [e._v(e._s(e.$formatDate(n.time, "P")))]), t("div", { staticClass: "e-time", staticStyle: { "padding-left": "0.5ch" } }, [e._v(" " + e._s(e.$formatDate(n.time, "p")) + " ")])])])]);
213
206
  }), 0)])]) : e._e()];
214
207
  } }]) }), e.mq === "sm" ? t("div", [e._t("footer")], 2) : e._e()], 1), e.mq !== "sm" ? t("div", [e._t("footer")], 2) : e._e()]);
215
- }, O = [], N = /* @__PURE__ */ c(
208
+ }, B = [], N = /* @__PURE__ */ r(
216
209
  q,
217
- B,
218
210
  O,
211
+ B,
219
212
  !1,
220
213
  null,
221
- "76dfbb14",
222
- null,
223
- null
214
+ "44b21eff"
224
215
  );
225
- const V = N.exports;
226
- const E = {
216
+ const V = N.exports, E = {
227
217
  components: {
228
218
  DocumentDetails: V,
229
219
  DocumentVoided: f
@@ -242,15 +232,13 @@ const E = {
242
232
  var T = function() {
243
233
  var e = this, t = e._self._c;
244
234
  return e.document && e.document.status === "voided" ? t("DocumentVoided", { attrs: { document: e.document } }) : t("DocumentDetails", { attrs: { document: e.document }, on: { close: e.closeFunc } });
245
- }, M = [], U = /* @__PURE__ */ c(
235
+ }, M = [], U = /* @__PURE__ */ r(
246
236
  E,
247
237
  T,
248
238
  M,
249
239
  !1,
250
240
  null,
251
- "d1c20fce",
252
- null,
253
- null
241
+ "d1c20fce"
254
242
  );
255
243
  const K = U.exports;
256
244
  export {