@cling-se/widget 0.21.4 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{AddClientCallout-BjeE7RY6.js → AddClientCallout-CtfDZ5iE.js} +7 -7
  3. package/dist/{AnswerModal-BLo3hOrK.js → AnswerModal-DER90JgH.js} +935 -651
  4. package/dist/{AttachmentItem-B4T7akns.js → AttachmentItem-CFxoxFwU.js} +9 -9
  5. package/dist/{BaseUpload-B-_Rpir0.js → BaseUpload-D3vsnEbC.js} +2 -2
  6. package/dist/{BlockMedia-szLlyTVn.js → BlockMedia-CrmRCTpi.js} +1 -1
  7. package/dist/{CCallout-wp8bWld3.js → CCallout-B86E6HJd.js} +5 -5
  8. package/dist/{CCurrencyDropdown-CH0M7LFZ.js → CCurrencyDropdown-B2L-Pv3G.js} +3 -3
  9. package/dist/{CDropdownItem-llOP71-u.js → CDropdownItem-BU65rYaX.js} +8 -8
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-B2c0pGnW.js → CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js} +13 -13
  11. package/dist/{CPhoneFormat-BqLsCDaG.js → CPhoneFormat-CSys3pPM.js} +1 -1
  12. package/dist/{CPhoneInput-DDnmhr17.js → CPhoneInput-hF_VGitf.js} +5 -5
  13. package/dist/{CPriceInput-eaRaU9Ey.js → CPriceInput-CLM3EzaL.js} +2 -2
  14. package/dist/{CSelect-DDYAe8O9.js → CSelect-DsoRaNYd.js} +5 -5
  15. package/dist/{CSkeleton-BORdEFf8.js → CSkeleton-B0wL3--W.js} +7 -7
  16. package/dist/{ClientAutocomplete-DAwttq8D.js → ClientAutocomplete-qkpa-KG_.js} +16 -16
  17. package/dist/{ClientModal-C3UbUFjz.js → ClientModal-BHUD-VYM.js} +135 -127
  18. package/dist/{ColorPicker-D4Y4g8RF.js → ColorPicker-uVefUdOd.js} +21 -21
  19. package/dist/{CompanyModal-BvzLn9gU.js → CompanyModal-C38jvSZX.js} +66 -67
  20. package/dist/{ContentWrapper-oh1FnZea.js → ContentWrapper-Du0rszAK.js} +15 -15
  21. package/dist/{CoverBlockSettings-CW7PisRO.js → CoverBlockSettings-DqKNt5cM.js} +19 -19
  22. package/dist/{DocAnswer-scOVyvez.js → DocAnswer-Bm6FQnu7.js} +2 -2
  23. package/dist/{DocDetails-BKudQ3RU.js → DocDetails-Cg1EQ2xc.js} +100 -94
  24. package/dist/{DocForm-YI0UG4lv.js → DocForm-DUjeY7qQ.js} +440 -438
  25. package/dist/{DocFormSend-DK7zxycs.js → DocFormSend-B8x93Oo_.js} +2 -2
  26. package/dist/{DocLinks-CPhh8hox.js → DocLinks-bnZCCfQJ.js} +2 -2
  27. package/dist/{DocModalBase-C7vrvkFq.js → DocModalBase-CwuAA5_c.js} +1 -1
  28. package/dist/{DocPrint-tfB_Hw8V.js → DocPrint-DkmwNCYi.js} +9 -9
  29. package/dist/{DocReceipt-DoWB1suw.js → DocReceipt-BzrwYz7z.js} +111 -81
  30. package/dist/{DocSendReminder-DcezTbmh.js → DocSendReminder--ZuTWwRa.js} +1 -1
  31. package/dist/{DocTextEditor-Ci_Wegua.js → DocTextEditor-CblX6a9b.js} +8 -8
  32. package/dist/{DocTimeline-DwZyNRtc.js → DocTimeline-C3cx2eIz.js} +6 -6
  33. package/dist/{DocumentClient-BZPHT4vS.js → DocumentClient-B9yEPQ1U.js} +5 -5
  34. package/dist/{DocumentLayout-DwifYYit.js → DocumentLayout-BMgU3m7Q.js} +32 -32
  35. package/dist/{DocumentLogotype-D6DPT-i9.js → DocumentLogotype-BBA1HLK3.js} +31 -34
  36. package/dist/{DocumentVoided--b4zfli2.js → DocumentVoided-AL_vXoWD.js} +1 -1
  37. package/dist/{EmbedInput-DmAlziaD.js → EmbedInput-BHy9NMjl.js} +18 -18
  38. package/dist/{EmbedSettings-DZuM3vpE.js → EmbedSettings-DwcY0r8D.js} +5 -5
  39. package/dist/{ErrorCallout-DT3qQJOP.js → ErrorCallout-DKV9zW1H.js} +4 -4
  40. package/dist/{FilePreviewModal-BuPbzrFy.js → FilePreviewModal-DEoFvxri.js} +2 -2
  41. package/dist/{Flag-U3wm6frF.js → Flag-BZ7C12iN.js} +1 -1
  42. package/dist/{HeaderSettings-CC5rJ-UY.js → HeaderSettings-Bsj1JZNt.js} +20 -20
  43. package/dist/{ImageSelectModal-BiWCVyYs.js → ImageSelectModal-Dd9le6p5.js} +3 -3
  44. package/dist/{ImageUploadWrapper-CLJwtgVQ.js → ImageUploadWrapper-DY9TKhpB.js} +23 -23
  45. package/dist/{Index-DZzmEObV.js → Index-4ZB096MF.js} +9 -9
  46. package/dist/{Index-B0js1lQ9.js → Index-B1HU3FW8.js} +11 -11
  47. package/dist/{Index-hzFkpPtu.js → Index-B3S-W2Du.js} +26 -26
  48. package/dist/{Index-cb83jmmP.js → Index-B8v_k79U.js} +4 -4
  49. package/dist/{Index-jCDreJV4.js → Index-BPua2gSJ.js} +5 -5
  50. package/dist/{Index-UkLmXQf7.js → Index-BSDQejtT.js} +10 -10
  51. package/dist/{Index-Bh58_V98.js → Index-BW4sv9So.js} +5 -5
  52. package/dist/{Index-gZpXuLSM.js → Index-BWog4DkS.js} +2 -2
  53. package/dist/{Index-DIfpkUtR.js → Index-BZ5ZfAMl.js} +8 -8
  54. package/dist/Index-BfMZgBeX.js +4 -0
  55. package/dist/{Index-BBnlZtoe.js → Index-Bx8Dt9rr.js} +5 -5
  56. package/dist/{Index-BQUdVuCj.js → Index-C9W7656O.js} +8 -8
  57. package/dist/{Index-DwAyOR71.js → Index-CB7F-c3z.js} +3 -3
  58. package/dist/{Index-ZNidoNys.js → Index-CEg8sUf6.js} +2 -2
  59. package/dist/{Index-z6FhBfRg.js → Index-CEm7_7xb.js} +2 -2
  60. package/dist/{Index-011UWI-5.js → Index-CGDHE6Q9.js} +3 -3
  61. package/dist/{Index-Dmd9h-QW.js → Index-CadObAqC.js} +3 -3
  62. package/dist/{Index-C-Y_FGIG.js → Index-Cazuortx.js} +30 -30
  63. package/dist/{Index-BPE5xozF.js → Index-Cfh_uoVu.js} +1 -1
  64. package/dist/{Index-D8T4ZAGK.js → Index-D9S6btwh.js} +4 -4
  65. package/dist/{Index-BOxSyAOT.js → Index-DCeSSD89.js} +4 -4
  66. package/dist/{Index-C8tXlpnc.js → Index-DLzhjgNh.js} +4 -4
  67. package/dist/{Index-BbINQ0SU.js → Index-Da3NMw99.js} +1 -1
  68. package/dist/{Index-06RLiHU7.js → Index-DiQG7Yys.js} +8 -8
  69. package/dist/{Index-DND_3eOV.js → Index-DkuudM32.js} +14 -14
  70. package/dist/{Index-C6eCTYlb.js → Index-DpNsBSK5.js} +7 -7
  71. package/dist/{Index-BNrnEteM.js → Index-DsAM46X9.js} +6 -6
  72. package/dist/{Index-BZ3G8u4L.js → Index-IOHmUaDV.js} +16 -16
  73. package/dist/{Index-HpvIqyQK.js → Index-N95Kg_Bu.js} +4 -4
  74. package/dist/Index-T8YnqXUP.js +106 -0
  75. package/dist/{Index-C9yjlO_o.js → Index-bSfn5DlT.js} +13 -13
  76. package/dist/{Index-AOzEiDJ6.js → Index-hOzI3WwH.js} +2 -2
  77. package/dist/{Index-Lr-w-2nq.js → Index-lxyzCTwv.js} +28 -28
  78. package/dist/{Index-DspgGnIy.js → Index-usMDK34R.js} +6 -6
  79. package/dist/{Index.vue_vue_type_script_lang-FRTEgjSK.js → Index.vue_vue_type_script_lang-CyrjCnmM.js} +2 -2
  80. package/dist/{InputToggleRow-DrAFt_YF.js → InputToggleRow-DX08yhB8.js} +9 -9
  81. package/dist/{ManualPopover-BZr_lfqJ.js → ManualPopover-DjkDQLEk.js} +3 -3
  82. package/dist/{MediaWrapper-CuCltxOM.js → MediaWrapper-BRDS1uEY.js} +3 -3
  83. package/dist/{NotBindingText-D6QNyf03.js → NotBindingText-gttVLkSY.js} +2 -2
  84. package/dist/{PackageGroup-DonphykF.js → PackageGroup-DqCNizOl.js} +10 -10
  85. package/dist/{PdfTerms-BRwmINkR.js → PdfTerms-9EF-oTZV.js} +4 -4
  86. package/dist/{PdfViewer-DpmlfAfl.js → PdfViewer-fgokwyxy.js} +27 -27
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js → PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js} +1 -1
  88. package/dist/{PriceHeader-Cdh8apAZ.js → PriceHeader-DBiTZGL4.js} +25 -25
  89. package/dist/{SearchApi-B2ED3FdK.js → SearchApi-DP2NKS7Z.js} +1 -1
  90. package/dist/{SendForm-Bz1AN65o.js → SendForm-Dx-meiU3.js} +451 -421
  91. package/dist/{Setup-BIa-5REE.js → Setup-KZckFxmn.js} +1 -1
  92. package/dist/{SmartList-C9DXNnNX.js → SmartList-C7tf3UFs.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DPxTkygS.js → Sortable.vue_vue_type_script_setup_true_lang-CKwuc60B.js} +35 -35
  94. package/dist/{TermsSettings-BQC-y2g4.js → TermsSettings-O43bydwI.js} +11 -11
  95. package/dist/{ThemeColorRow-B1L2qfGx.js → ThemeColorRow-BiIviRnJ.js} +5 -5
  96. package/dist/{ToggleBinding-C2ct7wmC.js → ToggleBinding-DNh6J5WO.js} +4 -4
  97. package/dist/{UploadModal-CCy7i-cN.js → UploadModal-BLnwHEtM.js} +2 -2
  98. package/dist/{VideoPlayerInput-BluC_uCy.js → VideoPlayerInput-CDSsWKbt.js} +6 -6
  99. package/dist/{VideoPlayerSettings-DvoFmiks.js → VideoPlayerSettings-9e0rWXBn.js} +6 -6
  100. package/dist/{VideoSelectModal-yfI6keDu.js → VideoSelectModal-DdmGQUJs.js} +9 -9
  101. package/dist/{focusDrawerMixin-BS0v03Pf.js → focusDrawerMixin-Cz1mPbI5.js} +1 -1
  102. package/dist/{formDrawerState-DNNzOR3a.js → formDrawerState-VO67JhNj.js} +1 -1
  103. package/dist/{fortnoxTheme-DbdQ_k4_.js → fortnoxTheme-C6LfSfkU.js} +1 -1
  104. package/dist/{helpers-vOT4bDZk.js → helpers-DdvMGJyI.js} +1 -1
  105. package/dist/{index-aqgR0F9F.js → index--tMYYuEo.js} +30 -30
  106. package/dist/{index-C_k-2pHu.js → index-BtdoM5zU.js} +7 -7
  107. package/dist/{index-BinehglS.js → index-C6t6B42B.js} +26 -25
  108. package/dist/{index-DIxSHthq.js → index-CYrm4Bbf.js} +1 -1
  109. package/dist/{index-DSDwk2v_.js → index-Cn5TO9wL.js} +6 -6
  110. package/dist/{index-Cm9MF5Ro.js → index-DrxPFi0q.js} +22 -22
  111. package/dist/{index-BtZlk67X.js → index-SreRcZHY.js} +13 -13
  112. package/dist/index.es.js +3 -3
  113. package/dist/index.umd.js +151 -149
  114. package/dist/{main-CCA1EgK_.js → main-BI2UvBxx.js} +8359 -8142
  115. package/dist/{mapFormMixin-DarsdTYn.js → mapFormMixin-DmIyfVCN.js} +2 -2
  116. package/dist/omit-FBv_EXqi.js +56 -0
  117. package/dist/{splitpanes-B5GGsG65.js → splitpanes-CpTZw8TJ.js} +1 -1
  118. package/dist/{template-BTmi3cQk.js → template-B4OhhS85.js} +1 -1
  119. package/dist/{tippy.esm-Cc-sUEuY.js → tippy.esm-D5nfFX7g.js} +66 -66
  120. package/dist/{useTermsModal-CdnGQsw8.js → useTermsModal-CvdV0cT0.js} +4 -4
  121. package/dist/{utils-DLVtsRRz.js → utils-Blt-S487.js} +1 -1
  122. package/dist/validation-ZZ0eQUj2.js +40 -0
  123. package/dist/widget.css +1 -1
  124. package/package.json +1 -1
  125. package/dist/Index-1MRJMA0V.js +0 -4
  126. package/dist/Index-DGkk540X.js +0 -87
  127. package/dist/omit-sqUJ46Re.js +0 -56
  128. package/dist/publicSenderState-CSYveOTQ.js +0 -21
  129. package/dist/validation-DGxGtXMe.js +0 -40
@@ -1,8 +1,8 @@
1
- import { D as A } from "./DocumentVoided--b4zfli2.js";
2
- import { w as F, C as I, a as B } from "./CDropdownItem-llOP71-u.js";
3
- import { a7 as V, d as s, o as n, j as o, T as P, F as _, n as N, e as d, c as y, t as i, w as v, I as S, x as z, _ as $, b9 as j, af as q, b as p, f as b, q as w, aD as O, ba as E, bb as T, bc as M } from "./main-CCA1EgK_.js";
4
- import { C as U } from "./CPhoneFormat-BqLsCDaG.js";
5
- const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)", "border-radius": "3px" } }, H = { class: "flex items-center p-4" }, J = { class: "mb-1" }, K = { class: "flex flex-col space-y-1 text-sm" }, Q = ["href"], W = ["href"], R = /* @__PURE__ */ V({
1
+ import { D as L } from "./DocumentVoided-AL_vXoWD.js";
2
+ import { w as A, C as I, a as V } from "./CDropdownItem-BU65rYaX.js";
3
+ import { a7 as B, d as s, o as n, j as o, U as P, F as _, q as N, e as d, c as y, t as i, w as v, J as j, y as x, _ as $, ba as S, af as q, b as p, f as b, s as w, aE as E, bb as O, bc as T, bd as M } from "./main-BI2UvBxx.js";
4
+ import { C as U } from "./CPhoneFormat-CSys3pPM.js";
5
+ const J = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)", "border-radius": "3px" } }, G = { class: "flex items-center p-4" }, H = { class: "mb-1" }, K = { class: "flex flex-col space-y-1 text-sm" }, Q = ["href"], W = ["href"], R = /* @__PURE__ */ B({
6
6
  __name: "PublicContactDetails",
7
7
  props: {
8
8
  name: {},
@@ -14,29 +14,29 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
14
14
  region: {}
15
15
  },
16
16
  setup(t) {
17
- return (a, e) => (n(), s("div", G, [
18
- o("div", H, [
17
+ return (c, e) => (n(), s("div", J, [
18
+ o("div", G, [
19
19
  o("div", null, [
20
- o("div", J, [
21
- (n(!0), s(_, null, N([a.name, a.companyName, a.orgNo], (m, l) => (n(), s("span", {
20
+ o("div", H, [
21
+ (n(!0), s(_, null, N([c.name, c.companyName, c.orgNo], (m, l) => (n(), s("span", {
22
22
  key: `${m}-${l}`,
23
- class: z([l === 0 ? "font-medium" : "text-gray-600", "mr-1 inline-block"])
23
+ class: x([l === 0 ? "font-medium" : "text-gray-600", "mr-1 inline-block"])
24
24
  }, i(m && l > 0 ? "·" : "") + " " + i(m), 3))), 128))
25
25
  ]),
26
26
  o("div", K, [
27
- a.email ? (n(), s("a", {
27
+ c.email ? (n(), s("a", {
28
28
  key: 0,
29
- href: `mailto:${a.email}`,
29
+ href: `mailto:${c.email}`,
30
30
  target: "_blank"
31
- }, i(a.email), 9, Q)) : d("", !0),
32
- a.cellphone ? (n(), y(S(U), {
31
+ }, i(c.email), 9, Q)) : d("", !0),
32
+ c.cellphone ? (n(), y(j(U), {
33
33
  key: 1,
34
- phone: a.cellphone,
35
- region: a.cellphoneRegion ? a.cellphoneRegion : a.region
34
+ phone: c.cellphone,
35
+ region: c.cellphoneRegion ? c.cellphoneRegion : c.region
36
36
  }, {
37
37
  default: v(({ formattedValue: m }) => [
38
38
  o("a", {
39
- href: `tel:${a.cellphone}`
39
+ href: `tel:${c.cellphone}`
40
40
  }, i(m), 9, W)
41
41
  ]),
42
42
  _: 1
@@ -44,7 +44,7 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
44
44
  ])
45
45
  ])
46
46
  ]),
47
- P(a.$slots, "default")
47
+ P(c.$slots, "default")
48
48
  ]));
49
49
  }
50
50
  }), X = {
@@ -57,12 +57,12 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
57
57
  },
58
58
  computed: {
59
59
  events() {
60
- const t = [], { acceptedAt: a } = this.document;
61
- return this.document.events.filter(({ createdAt: e }) => a ? j(a, e) : !0).forEach((e) => {
62
- const { code: m, createdAt: l, children: c = [] } = e;
60
+ const t = [], { acceptedAt: c } = this.document;
61
+ return this.document.events.filter(({ createdAt: e }) => c ? S(c, e) : !0).forEach((e) => {
62
+ const { code: m, createdAt: l, children: a = [] } = e;
63
63
  let { data: g = {} } = e;
64
64
  g === null && (g = {});
65
- const { client: u = {}, clients: D = [], status: k, counter: x } = g, C = {
65
+ const { client: u = {}, clients: D = [], status: k, counter: z } = g, C = {
66
66
  sent: () => D.map((f) => {
67
67
  const r = this.getClientName(f.id);
68
68
  return {
@@ -76,7 +76,7 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
76
76
  };
77
77
  }),
78
78
  viewed: () => {
79
- const f = x || c.length + 1;
79
+ const f = z || a.length + 1;
80
80
  return [
81
81
  {
82
82
  text: `${this.document.$t(
@@ -132,13 +132,13 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
132
132
  },
133
133
  methods: {
134
134
  getClientName(t) {
135
- const a = this.document.clients.find(({ id: e }) => e === t);
136
- return a ? a.name : "";
135
+ const c = this.document.clients.find(({ id: e }) => e === t);
136
+ return c ? c.name : "";
137
137
  }
138
138
  }
139
139
  };
140
- function Y(t, a, e, m, l, c) {
141
- return P(t.$slots, "default", { events: c.events });
140
+ function Y(t, c, e, m, l, a) {
141
+ return P(t.$slots, "default", { events: a.events });
142
142
  }
143
143
  const Z = /* @__PURE__ */ $(X, [["render", Y]]), ee = {
144
144
  name: "PublicRecipientItem",
@@ -157,27 +157,27 @@ const Z = /* @__PURE__ */ $(X, [["render", Y]]), ee = {
157
157
  },
158
158
  methods: {
159
159
  get: q,
160
- getBrowserString({ browser: t, os: a, device: e }) {
161
- return [t && t.name, a && a.name, e && e.model].filter((m) => !!m).join(", ");
160
+ getBrowserString({ browser: t, os: c, device: e }) {
161
+ return [t && t.name, c && c.name, e && e.model].filter((m) => !!m).join(", ");
162
162
  }
163
163
  }
164
164
  }, te = { style: { "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" } }, ne = { style: { position: "absolute", right: "1em", top: "0px", transform: "translate(0, -50%)" } }, oe = { style: { padding: "0" } }, ie = { style: { padding: "1em 1.5em" } }, se = {
165
165
  key: 0,
166
166
  style: { "padding-bottom": "0.5em" }
167
- }, ae = {
167
+ }, ce = {
168
168
  class: "has-text-grey",
169
169
  style: { "padding-bottom": "1em" }
170
- }, ce = ["src"], le = {
170
+ }, ae = ["src"], le = {
171
171
  key: 1,
172
172
  style: { "font-size": "13px", "padding-top": "3px" }
173
- }, de = { style: { "font-weight": "500" } }, re = {
174
- key: 1,
173
+ }, de = { style: { "font-weight": "500" } }, re = { style: { "font-weight": "500" } }, me = {
174
+ key: 2,
175
175
  style: { "font-weight": "500" }
176
- }, me = { key: 1 }, ue = { key: 2 }, he = {
176
+ }, ue = { key: 1 }, he = { key: 2 }, pe = {
177
177
  key: 0,
178
178
  style: { 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" }
179
- }, pe = { key: 0 }, ge = { key: 1 }, _e = { key: 2 };
180
- function fe(t, a, e, m, l, c) {
179
+ }, ge = { key: 0 }, _e = { key: 1 }, fe = { key: 2 };
180
+ function ye(t, c, e, m, l, a) {
181
181
  const g = p("CIcon"), u = p("VDropdown"), D = p("PublicContactDetails");
182
182
  return n(), y(D, {
183
183
  name: e.recipient.name,
@@ -201,31 +201,37 @@ function fe(t, a, e, m, l, c) {
201
201
  o("div", ie, [
202
202
  e.recipient.answer && e.recipient.answer.didAccept ? (n(), s(_, { key: 0 }, [
203
203
  e.recipient.answer.signatureDataURL ? (n(), s("div", se, [
204
- o("div", ae, i(t.$t("_common:signature").capitalize()), 1),
204
+ o("div", ce, i(t.$t("_common:signature").capitalize()), 1),
205
205
  o("img", {
206
206
  src: e.recipient.answer.signatureDataURL,
207
207
  style: { width: "80%" }
208
- }, null, 8, ce)
208
+ }, null, 8, ae)
209
209
  ])) : (n(), s("div", le, [
210
- c.get(e.recipient, "answerMethod.accept") === "bankId" ? (n(), s(_, { key: 0 }, [
210
+ a.get(e.recipient, "answerMethod.accept") === "bankId" ? (n(), s(_, { key: 0 }, [
211
211
  o("div", de, i(t.$t(
212
212
  "views:publicDocument.pdfVerification.recipient.signedBankId"
213
213
  )), 1),
214
214
  o("div", null, i(e.recipient.answer.response.name), 1),
215
215
  o("div", null, i(e.recipient.socialNo), 1)
216
- ], 64)) : c.get(e.recipient, "answerMethod.accept") === "login" ? (n(), s("div", re, i(t.$t(
216
+ ], 64)) : a.get(e.recipient, "answerMethod.accept") === "freja" ? (n(), s(_, { key: 1 }, [
217
+ o("div", re, i(t.$t(
218
+ "views:publicDocument.pdfVerification.recipient.signedFreja"
219
+ )), 1),
220
+ o("div", null, i(e.recipient.answer.response.name), 1),
221
+ o("div", null, i(e.recipient.socialNo), 1)
222
+ ], 64)) : a.get(e.recipient, "answerMethod.accept") === "login" ? (n(), s("div", me, i(t.$t(
217
223
  "views:publicDocument.pdfVerification.recipient.verifiedLogin"
218
224
  )), 1)) : d("", !0)
219
225
  ]))
220
- ], 64)) : e.recipient.answer ? (n(), s("div", me, i(t.$t("_common:denied").capitalize()), 1)) : (n(), s("div", ue, i(t.$t("pendingAnswer")), 1))
226
+ ], 64)) : e.recipient.answer ? (n(), s("div", ue, i(t.$t("_common:denied").capitalize()), 1)) : (n(), s("div", he, i(t.$t("pendingAnswer")), 1))
221
227
  ]),
222
- e.recipient.answer ? (n(), s("div", he, [
223
- e.recipient.answer.didAnswerAt ? (n(), s("div", pe, [
228
+ e.recipient.answer ? (n(), s("div", pe, [
229
+ e.recipient.answer.didAnswerAt ? (n(), s("div", ge, [
224
230
  o("div", null, i(t.$t("_common:date").capitalize()) + ": " + i(t.$formatDate(e.recipient.answer.didAnswerAt, "P")), 1),
225
231
  o("div", null, i(t.$t("_common:time").capitalize()) + ": " + i(t.$formatDate(e.recipient.answer.didAnswerAt, "p")), 1)
226
232
  ])) : d("", !0),
227
- e.recipient.answer.ip ? (n(), s("div", ge, " IP: " + i(e.recipient.answer.ip), 1)) : d("", !0),
228
- e.recipient.answer.browser ? (n(), s("div", _e, " Browser: " + i(c.getBrowserString(e.recipient.answer)), 1)) : d("", !0)
233
+ e.recipient.answer.ip ? (n(), s("div", _e, " IP: " + i(e.recipient.answer.ip), 1)) : d("", !0),
234
+ e.recipient.answer.browser ? (n(), s("div", fe, " Browser: " + i(a.getBrowserString(e.recipient.answer)), 1)) : d("", !0)
229
235
  ])) : d("", !0)
230
236
  ])
231
237
  ]),
@@ -233,7 +239,7 @@ function fe(t, a, e, m, l, c) {
233
239
  e.recipient.documentRole === "signee" ? (n(), s("div", {
234
240
  key: 0,
235
241
  style: { padding: "5px 0.75em", "border-radius": "4px", "font-size": "13px", color: "hsl(0, 0%, 100%)", cursor: "default", display: "inline-flex", "align-items": "center" },
236
- class: z(
242
+ class: x(
237
243
  e.recipient.answer ? e.recipient.answer.didAccept ? "bg-green-600" : "bg-red-600" : "bg-neutral-400"
238
244
  )
239
245
  }, [
@@ -260,16 +266,16 @@ function fe(t, a, e, m, l, c) {
260
266
  _: 1
261
267
  }, 8, ["name", "email", "cellphone", "cellphoneRegion", "companyName", "orgNo"]);
262
268
  }
263
- const ye = /* @__PURE__ */ $(ee, [["render", fe], ["__scopeId", "data-v-30f85ec8"]]), ve = {
269
+ const ve = /* @__PURE__ */ $(ee, [["render", ye], ["__scopeId", "data-v-3ca68597"]]), we = {
264
270
  name: "DocumentDetails",
265
271
  components: {
266
272
  PublicDocumentEvents: Z,
267
- PublicRecipientItem: ye,
273
+ PublicRecipientItem: ve,
268
274
  PublicContactDetails: R,
269
- CDropdown: B,
275
+ CDropdown: V,
270
276
  CDropdownItem: I
271
277
  },
272
- mixins: [F],
278
+ mixins: [A],
273
279
  props: {
274
280
  document: {
275
281
  type: Object,
@@ -316,38 +322,38 @@ const ye = /* @__PURE__ */ $(ee, [["render", fe], ["__scopeId", "data-v-30f85ec8
316
322
  },
317
323
  methods: {
318
324
  changeLanguage(t) {
319
- this.document.language = t, O.changeLanguage(E.includes(t) ? t : "en");
325
+ this.document.language = t, E.changeLanguage(O.includes(t) ? t : "en");
320
326
  }
321
327
  }
322
- }, we = { class: "relative flex h-full w-full flex-col overflow-hidden rounded-lg bg-white text-base" }, be = {
328
+ }, be = { class: "relative flex h-full w-full flex-col overflow-hidden rounded-lg bg-white text-base" }, De = {
323
329
  key: 0,
324
330
  class: "z-10 flex w-full items-center justify-end px-6 py-4 shadow-sm"
325
- }, De = { class: "d-root h-full min-h-0 flex-1 overflow-auto px-6 py-8 md:px-12 md:py-16" }, ke = { class: "mb-[3em] flex justify-between" }, Ce = { style: { "font-size": "18px", "font-weight": "600" } }, Ne = {
331
+ }, ke = { class: "d-root h-full min-h-0 flex-1 overflow-auto px-6 py-8 md:px-12 md:py-16" }, Ce = { class: "mb-[3em] flex justify-between" }, Ne = { style: { "font-size": "18px", "font-weight": "600" } }, Pe = {
326
332
  class: "has-text-grey",
327
333
  style: { "font-size": "14px" }
328
- }, Pe = {
334
+ }, $e = {
329
335
  class: "d-option",
330
336
  style: { "margin-bottom": "3em" }
331
- }, $e = {
337
+ }, ze = {
332
338
  class: "d-option-title",
333
339
  style: { "padding-bottom": "0.5rem" }
334
340
  }, xe = {
335
341
  class: "d-option",
336
342
  style: { "margin-bottom": "3em" }
337
- }, ze = {
343
+ }, Re = {
338
344
  class: "d-option-title",
339
345
  style: { "padding-bottom": "0.5rem" }
340
- }, Re = {
346
+ }, Fe = {
341
347
  key: 0,
342
348
  class: "d-option"
343
- }, Le = { class: "d-option-title" }, Ae = { id: "timeline" }, Fe = { class: "e-data" }, Ie = { class: "e-text" }, Be = { key: 0 }, Ve = { class: "e-timestamp" }, Se = { class: "e-date" }, je = {
349
+ }, Le = { class: "d-option-title" }, Ae = { id: "timeline" }, Ie = { class: "e-data" }, Ve = { class: "e-text" }, Be = { key: 0 }, je = { class: "e-timestamp" }, Se = { class: "e-date" }, qe = {
344
350
  class: "e-time",
345
351
  style: { "padding-left": "0.5ch" }
346
- }, qe = { key: 0 }, Oe = { key: 1 };
347
- function Ee(t, a, e, m, l, c) {
348
- const g = p("CButton"), u = p("CDropdownItem"), D = p("CDropdown"), k = p("PublicContactDetails"), x = p("PublicRecipientItem"), C = p("CPhoneFormat"), f = p("PublicDocumentEvents");
349
- return n(), s("div", we, [
350
- c.showActionNav ? (n(), s("div", be, [
352
+ }, Ee = { key: 0 }, Oe = { key: 1 };
353
+ function Te(t, c, e, m, l, a) {
354
+ const g = p("CButton"), u = p("CDropdownItem"), D = p("CDropdown"), k = p("PublicContactDetails"), z = p("PublicRecipientItem"), C = p("CPhoneFormat"), f = p("PublicDocumentEvents");
355
+ return n(), s("div", be, [
356
+ a.showActionNav ? (n(), s("div", De, [
351
357
  e.openPrintFunc ? (n(), s(_, { key: 0 }, [
352
358
  b(g, {
353
359
  "icon-left": "print",
@@ -363,7 +369,7 @@ function Ee(t, a, e, m, l, c) {
363
369
  ]),
364
370
  _: 1
365
371
  }, 8, ["onClick"]),
366
- a[0] || (a[0] = o("div", { style: { height: "2rem", width: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "0 6px" } }, null, -1))
372
+ c[0] || (c[0] = o("div", { style: { height: "2rem", width: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "0 6px" } }, null, -1))
367
373
  ], 64)) : d("", !0),
368
374
  e.showLanguageSelect ? (n(), y(D, {
369
375
  key: 1,
@@ -382,7 +388,7 @@ function Ee(t, a, e, m, l, c) {
382
388
  (n(!0), s(_, null, N(l.docLanguages, (r) => (n(), y(u, {
383
389
  key: r,
384
390
  value: r,
385
- onClick: (h) => c.changeLanguage(r)
391
+ onClick: (h) => a.changeLanguage(r)
386
392
  }, {
387
393
  default: v(() => [
388
394
  w(i(l.nativeTranslations[r]), 1)
@@ -402,44 +408,44 @@ function Ee(t, a, e, m, l, c) {
402
408
  onClick: e.close
403
409
  }, null, 8, ["onClick"])) : d("", !0)
404
410
  ])) : d("", !0),
405
- o("div", De, [
406
- o("div", ke, [
411
+ o("div", ke, [
412
+ o("div", Ce, [
407
413
  o("div", null, [
408
- o("div", Ce, i(e.document.$t("detail_other").capitalize()), 1),
409
- o("div", Ne, i(e.document.$t("documentDetails.subTitle")), 1)
414
+ o("div", Ne, i(e.document.$t("detail_other").capitalize()), 1),
415
+ o("div", Pe, i(e.document.$t("documentDetails.subTitle")), 1)
410
416
  ])
411
417
  ]),
412
- o("div", Pe, [
413
- o("div", $e, i(e.document.$t("sender").capitalize()), 1),
418
+ o("div", $e, [
419
+ o("div", ze, i(e.document.$t("sender").capitalize()), 1),
414
420
  b(k, {
415
- name: c.senderContactDetails.name,
416
- email: c.senderContactDetails.email,
417
- cellphone: c.senderContactDetails.cellphone,
418
- cellphoneRegion: c.senderContactDetails.cellphoneRegion,
419
- companyName: c.senderContactDetails.companyName,
420
- orgNo: c.senderContactDetails.orgNo,
421
- region: c.senderContactDetails.region
421
+ name: a.senderContactDetails.name,
422
+ email: a.senderContactDetails.email,
423
+ cellphone: a.senderContactDetails.cellphone,
424
+ cellphoneRegion: a.senderContactDetails.cellphoneRegion,
425
+ companyName: a.senderContactDetails.companyName,
426
+ orgNo: a.senderContactDetails.orgNo,
427
+ region: a.senderContactDetails.region
422
428
  }, null, 8, ["name", "email", "cellphone", "cellphoneRegion", "companyName", "orgNo", "region"])
423
429
  ]),
424
430
  o("div", xe, [
425
- o("div", ze, i(e.document.$t("participant_other").capitalize()), 1),
426
- (n(!0), s(_, null, N(e.document.recipients, (r, h) => (n(), y(x, {
431
+ o("div", Re, i(e.document.$t("participant_other").capitalize()), 1),
432
+ (n(!0), s(_, null, N(e.document.recipients, (r, h) => (n(), y(z, {
427
433
  key: r._uniqueId + h,
428
434
  recipient: r
429
435
  }, null, 8, ["recipient"]))), 128))
430
436
  ]),
431
437
  b(f, { document: e.document }, {
432
438
  default: v(({ events: r }) => [
433
- r && r.length ? (n(), s("div", Re, [
439
+ r && r.length ? (n(), s("div", Fe, [
434
440
  o("div", Le, i(e.document.$t("event.event_other").capitalize()), 1),
435
441
  o("div", Ae, [
436
442
  o("div", null, [
437
- (n(!0), s(_, null, N(r, (h, L) => (n(), s("div", {
438
- key: L,
443
+ (n(!0), s(_, null, N(r, (h, F) => (n(), s("div", {
444
+ key: F,
439
445
  class: "e-item"
440
446
  }, [
441
- o("div", Fe, [
442
- o("div", Ie, [
447
+ o("div", Ie, [
448
+ o("div", Ve, [
443
449
  w(i(h.text) + " ", 1),
444
450
  h.email || h.cellphone ? (n(), s("span", Be, [
445
451
  w(i(h.email) + " " + i(h.email && h.cellphone && t.$t("_common:and")) + " ", 1),
@@ -450,9 +456,9 @@ function Ee(t, a, e, m, l, c) {
450
456
  }, null, 8, ["phone", "region"])) : d("", !0)
451
457
  ])) : d("", !0)
452
458
  ]),
453
- o("div", Ve, [
459
+ o("div", je, [
454
460
  o("div", Se, i(t.$formatDate(h.time, "P")), 1),
455
- o("div", je, i(t.$formatDate(h.time, "p")), 1)
461
+ o("div", qe, i(t.$formatDate(h.time, "p")), 1)
456
462
  ])
457
463
  ])
458
464
  ]))), 128))
@@ -462,7 +468,7 @@ function Ee(t, a, e, m, l, c) {
462
468
  ]),
463
469
  _: 1
464
470
  }, 8, ["document"]),
465
- t.mq === "sm" ? (n(), s("div", qe, [
471
+ t.mq === "sm" ? (n(), s("div", Ee, [
466
472
  P(t.$slots, "footer", {}, void 0, !0)
467
473
  ])) : d("", !0)
468
474
  ]),
@@ -471,10 +477,10 @@ function Ee(t, a, e, m, l, c) {
471
477
  ])) : d("", !0)
472
478
  ]);
473
479
  }
474
- const Te = /* @__PURE__ */ $(ve, [["render", Ee], ["__scopeId", "data-v-45f33117"]]), Me = {
480
+ const Me = /* @__PURE__ */ $(we, [["render", Te], ["__scopeId", "data-v-45f33117"]]), Ue = {
475
481
  components: {
476
- DocumentDetails: Te,
477
- DocumentVoided: A
482
+ DocumentDetails: Me,
483
+ DocumentVoided: L
478
484
  },
479
485
  props: {
480
486
  document: {
@@ -491,7 +497,7 @@ const Te = /* @__PURE__ */ $(ve, [["render", Ee], ["__scopeId", "data-v-45f33117
491
497
  }
492
498
  }
493
499
  };
494
- function Ue(t, a, e, m, l, c) {
500
+ function Je(t, c, e, m, l, a) {
495
501
  const g = p("DocumentVoided"), u = p("DocumentDetails");
496
502
  return e.document && e.document.status === "voided" ? (n(), y(g, {
497
503
  key: 0,
@@ -503,7 +509,7 @@ function Ue(t, a, e, m, l, c) {
503
509
  close: e.closeFunc
504
510
  }, null, 8, ["document", "show-language-select", "close"]));
505
511
  }
506
- const Qe = /* @__PURE__ */ $(Me, [["render", Ue]]);
512
+ const We = /* @__PURE__ */ $(Ue, [["render", Je]]);
507
513
  export {
508
- Qe as default
514
+ We as default
509
515
  };