@cling-se/widget 0.21.3 → 0.22.0

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 +16 -0
  2. package/dist/{AddClientCallout-CodlIQwE.js → AddClientCallout-CxbvK6ZG.js} +7 -7
  3. package/dist/{AnswerModal-J1UhMHpo.js → AnswerModal-vTetGwVn.js} +935 -651
  4. package/dist/{AttachmentItem-B0_8bPKy.js → AttachmentItem-DSHNRIq_.js} +9 -9
  5. package/dist/{BaseUpload-DuqbaH9l.js → BaseUpload-CWaM_bb7.js} +2 -2
  6. package/dist/{BlockMedia-Dy_--7Vj.js → BlockMedia-B1T85G4R.js} +9 -9
  7. package/dist/{CCallout-CmuwGNSi.js → CCallout-BieMmWa4.js} +5 -5
  8. package/dist/{CCurrencyDropdown-B8g2vrhq.js → CCurrencyDropdown-DKWtCUE_.js} +3 -3
  9. package/dist/{CDropdownItem-CM3Ir-XA.js → CDropdownItem-pNNH9fV3.js} +13 -13
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-C1P9Y9Tg.js → CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js} +14 -14
  11. package/dist/{CPhoneFormat-C0kGNp6W.js → CPhoneFormat-CyrQRGmd.js} +1 -1
  12. package/dist/{CPhoneInput-BUgER0Oa.js → CPhoneInput-BQHgpUCY.js} +5 -5
  13. package/dist/{CPriceInput-BQF9nkwR.js → CPriceInput-DnFN-I6p.js} +2 -2
  14. package/dist/{CSelect-H8jAu9Ae.js → CSelect-DB4-JxH8.js} +5 -5
  15. package/dist/{CSkeleton-C0XDwN9S.js → CSkeleton-DpRDxR6D.js} +7 -7
  16. package/dist/{ClientAutocomplete-BoNP8_4h.js → ClientAutocomplete-BjwvkuJ-.js} +19 -19
  17. package/dist/{ClientModal-DWFXbAOk.js → ClientModal-oBN2VSio.js} +138 -130
  18. package/dist/{ColorPicker-Bdwc47q6.js → ColorPicker-B5rSvXLV.js} +21 -21
  19. package/dist/{CompanyModal-CD6ojsz7.js → CompanyModal-QrsUL6Et.js} +13 -13
  20. package/dist/{ContentWrapper-Do4aBTL8.js → ContentWrapper-Yx-KMsfH.js} +22 -22
  21. package/dist/{CoverBlockSettings-4MmtvSy8.js → CoverBlockSettings-C8giTiEZ.js} +19 -19
  22. package/dist/{DocAnswer-CjwxDT6u.js → DocAnswer-Djyhwfrp.js} +2 -2
  23. package/dist/{DocDetails-BxIsdfgP.js → DocDetails-Dv6noPvB.js} +100 -94
  24. package/dist/{DocForm-CS9PFRi-.js → DocForm-BFHchJ6w.js} +24 -24
  25. package/dist/{DocFormSend-wzBPrCIU.js → DocFormSend-K2rbjklj.js} +2 -2
  26. package/dist/{DocLinks-DExm1cq-.js → DocLinks-DpUl89XR.js} +2 -2
  27. package/dist/{DocModalBase-CTtPx1oT.js → DocModalBase-BlTZ8CY3.js} +1 -1
  28. package/dist/{DocPrint-BlnW2EcE.js → DocPrint-Bmfl4Abk.js} +9 -9
  29. package/dist/{DocReceipt-CDyPZK5d.js → DocReceipt-3wi5YXqR.js} +111 -81
  30. package/dist/{DocSendReminder-yIYfJPSd.js → DocSendReminder-CHqgC_wM.js} +1 -1
  31. package/dist/{DocTextEditor-i_xyQACD.js → DocTextEditor-BGzwRwjt.js} +8 -8
  32. package/dist/{DocTimeline-p1JDm9-T.js → DocTimeline-BG7ldFgR.js} +12 -12
  33. package/dist/{DocumentClient-D_DZDXb4.js → DocumentClient-CLCAh4lI.js} +5 -5
  34. package/dist/{DocumentLayout-Q5yx_Q6I.js → DocumentLayout-DHSEYClM.js} +32 -32
  35. package/dist/{DocumentLogotype-BTLs13IJ.js → DocumentLogotype-0jH2-sr7.js} +8 -8
  36. package/dist/{DocumentVoided-DQ_dMdFP.js → DocumentVoided-BAS8mATO.js} +1 -1
  37. package/dist/{EmbedInput-DaMyfqJY.js → EmbedInput-DnSz1tbL.js} +18 -18
  38. package/dist/{EmbedSettings-Bc1eYQT0.js → EmbedSettings-BQ1kKupC.js} +5 -5
  39. package/dist/{ErrorCallout-DlQuu1rj.js → ErrorCallout-XMtdcNvE.js} +4 -4
  40. package/dist/{FilePreviewModal-BU9Sbe30.js → FilePreviewModal-Bv28RVrN.js} +20 -20
  41. package/dist/{Flag-CO6k_SbL.js → Flag-CcF7qtHi.js} +1 -1
  42. package/dist/{HeaderSettings-Dc7tbdZd.js → HeaderSettings-SKEJyM9y.js} +20 -20
  43. package/dist/{ImageSelectModal-d2IEg740.js → ImageSelectModal-BNXs_Rfh.js} +3 -3
  44. package/dist/{ImageUploadWrapper-B6hVAJaZ.js → ImageUploadWrapper-BmlB0qHZ.js} +23 -23
  45. package/dist/{Index-B2xKlEgp.js → Index-B1mvOHsr.js} +5 -5
  46. package/dist/{Index-CXEmMsr7.js → Index-B4EqZ9op.js} +8 -8
  47. package/dist/{Index-BJFdGM64.js → Index-B8soD6pI.js} +2 -2
  48. package/dist/{Index-C51ttD-V.js → Index-BDW4tvrc.js} +2 -2
  49. package/dist/{Index-m4JD2kLy.js → Index-BLC_eYvf.js} +2 -2
  50. package/dist/{Index-C7lZs4w7.js → Index-BNetDL7G.js} +4 -4
  51. package/dist/{Index-Br1Beh1t.js → Index-BRIv1n05.js} +4 -4
  52. package/dist/{Index-vj_4fW0L.js → Index-BS-ERsZ7.js} +28 -28
  53. package/dist/{Index-hTFQZ8P4.js → Index-BS1J5b8c.js} +3 -3
  54. package/dist/{Index-CIhXv9Vl.js → Index-B_R1p7cp.js} +1 -1
  55. package/dist/{Index-OOuia-Qn.js → Index-BbEj20KG.js} +13 -13
  56. package/dist/{Index-CRyXpadf.js → Index-Bd3gjqXz.js} +6 -6
  57. package/dist/{Index-FOlkhY4l.js → Index-Bxi4pinD.js} +3 -3
  58. package/dist/{Index-C8Vaj5ox.js → Index-Bz6vrP4D.js} +4 -4
  59. package/dist/{Index-CgUYpoRx.js → Index-C2Jql1QC.js} +16 -16
  60. package/dist/{Index-lrMaEM_k.js → Index-C6r2p8Qd.js} +7 -7
  61. package/dist/{Index-CpSQ5aXa.js → Index-C9k2n-HK.js} +4 -4
  62. package/dist/{Index--oU_6qkg.js → Index-CDdxLKdQ.js} +4 -4
  63. package/dist/{Index-BDxHSXUe.js → Index-CQSkYi57.js} +6 -6
  64. package/dist/{Index-BFFBTLqx.js → Index-CVoJGfTj.js} +5 -5
  65. package/dist/{Index-xaM6i_Ur.js → Index-CYjEFdMF.js} +2 -2
  66. package/dist/{Index-DqyAAbPV.js → Index-Ca6-XJ1q.js} +23 -23
  67. package/dist/{Index-Cyg7Cxb6.js → Index-CfpNMWEI.js} +5 -5
  68. package/dist/{Index-DmCgJ6-P.js → Index-Coef67Wb.js} +8 -8
  69. package/dist/{Index-CTR16GFI.js → Index-DRadSzmh.js} +11 -11
  70. package/dist/{Index-BlwNDGUd.js → Index-DU19comM.js} +14 -14
  71. package/dist/{Index-nspOYYbJ.js → Index-DquGwrE6.js} +11 -11
  72. package/dist/{Index-zwGVqaGe.js → Index-Dz3beMLO.js} +5 -5
  73. package/dist/{Index-DQ67Jdhz.js → Index-GmMgg4ZI.js} +10 -10
  74. package/dist/{Index-Bmv9uPyM.js → Index-LNHTL5EH.js} +1 -1
  75. package/dist/Index-Ra_-tX11.js +106 -0
  76. package/dist/Index-aOBMRrRj.js +4 -0
  77. package/dist/{Index-CP9Mwo6E.js → Index-ec9osPpw.js} +4 -4
  78. package/dist/{Index-4N9vyKBQ.js → Index-mcDMCki9.js} +30 -30
  79. package/dist/{Index.vue_vue_type_script_lang-C5astrcb.js → Index.vue_vue_type_script_lang-DOtAXSQl.js} +2 -2
  80. package/dist/{InputToggleRow-BBWZeA_f.js → InputToggleRow-DH7USYPf.js} +9 -9
  81. package/dist/{ManualPopover-DTwmTCPu.js → ManualPopover-JDRhdC8G.js} +3 -3
  82. package/dist/{MediaWrapper-Y0DGv4f8.js → MediaWrapper-DdbmCwGw.js} +3 -3
  83. package/dist/{NotBindingText-FUapTBAD.js → NotBindingText-CwV-MkgL.js} +2 -2
  84. package/dist/{PackageGroup-ChiyEDwB.js → PackageGroup-CH-8hyAF.js} +10 -10
  85. package/dist/{PdfTerms-CuQguFsD.js → PdfTerms-BBeN_k6I.js} +4 -4
  86. package/dist/{PdfViewer-Brnjp6OZ.js → PdfViewer-Du_M79jv.js} +27 -27
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-D5CY66LQ.js → PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js} +1 -1
  88. package/dist/{PriceHeader-DpCLCW93.js → PriceHeader-Be2QwWzs.js} +25 -25
  89. package/dist/{SearchApi-iBG9y8ZN.js → SearchApi-dNunyqch.js} +1 -1
  90. package/dist/{SendForm-CTd08c8d.js → SendForm-BIIwVZwY.js} +143 -130
  91. package/dist/{Setup-C2kYjDKF.js → Setup-DBbHXz4_.js} +1 -1
  92. package/dist/{SmartList-BBq3BgJi.js → SmartList-C2JUKK2W.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DyiB_0J-.js → Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js} +35 -35
  94. package/dist/{TermsSettings-Dj6sTbrm.js → TermsSettings-BZBWd3c9.js} +11 -11
  95. package/dist/{ThemeColorRow-BiwW-diz.js → ThemeColorRow-7KF7icN8.js} +5 -5
  96. package/dist/{ToggleBinding-JP15-Wvc.js → ToggleBinding-w8lNunzO.js} +4 -4
  97. package/dist/{UploadModal-zYfzZsGt.js → UploadModal-BRdimOyC.js} +2 -2
  98. package/dist/{VideoPlayerInput-zU6Kw9cw.js → VideoPlayerInput-BHmr7HvX.js} +6 -6
  99. package/dist/{VideoPlayerSettings-D7cfFYht.js → VideoPlayerSettings-fI8gpjks.js} +6 -6
  100. package/dist/{VideoSelectModal-CjOlhyNV.js → VideoSelectModal-Beq5yE0M.js} +9 -9
  101. package/dist/{focusDrawerMixin-C0aQjH6-.js → focusDrawerMixin-vhY6JO7g.js} +1 -1
  102. package/dist/{formDrawerState-CyABAApS.js → formDrawerState-ChHVYfc3.js} +1 -1
  103. package/dist/{fortnoxTheme-DQVyPRLl.js → fortnoxTheme-BGyYnb8i.js} +1 -1
  104. package/dist/{helpers-H5tqC2mD.js → helpers-Dw4CluFv.js} +1 -1
  105. package/dist/{index-EUYwyBFe.js → index-BUPqyA87.js} +6 -6
  106. package/dist/{index-77ik5EB2.js → index-BcnDsk0Z.js} +1 -1
  107. package/dist/{index-JV3eF8nv.js → index-C-tsPusW.js} +7 -7
  108. package/dist/{index-Ze_XZYbW.js → index-CPfrJsi9.js} +13 -13
  109. package/dist/{index-z_Lljo35.js → index-DJYVhEQt.js} +22 -22
  110. package/dist/{index-Cp5KfNdY.js → index-DihGX5od.js} +30 -30
  111. package/dist/{index-6-kWjuuL.js → index-syUJ22zc.js} +25 -28
  112. package/dist/index.es.js +3 -3
  113. package/dist/index.umd.js +140 -138
  114. package/dist/{main-BN-1fMb8.js → main-BBhJGb7I.js} +4908 -4635
  115. package/dist/{mapFormMixin-CM1I_eW_.js → mapFormMixin-CCKubywa.js} +2 -2
  116. package/dist/omit-Cdd54eFA.js +56 -0
  117. package/dist/{publicSenderState-BbL_iSL_.js → publicSenderState-LkIY-kEl.js} +1 -1
  118. package/dist/{splitpanes--dOqXPIb.js → splitpanes-nCfEUpmu.js} +1 -1
  119. package/dist/{template-BwkDoewU.js → template-B-Ds8x_U.js} +1 -1
  120. package/dist/{tippy.esm-BDnfKmn9.js → tippy.esm-DdYqbHFh.js} +66 -66
  121. package/dist/{useTermsModal-CmEHVDST.js → useTermsModal-Z_pZQ4H2.js} +4 -4
  122. package/dist/{utils-BVo-Ajwa.js → utils-C3tvmZHk.js} +1 -1
  123. package/dist/validation-CWxbj-wT.js +40 -0
  124. package/dist/widget.css +1 -1
  125. package/package.json +1 -1
  126. package/dist/Index-C7fJuk6X.js +0 -4
  127. package/dist/Index-M2_bF0WP.js +0 -87
  128. package/dist/omit-D9nqAztq.js +0 -56
  129. package/dist/validation-BJw9_38H.js +0 -40
@@ -1,5 +1,5 @@
1
- import { C as B, a as N } from "./CDropdownItem-CM3Ir-XA.js";
2
- import { _ as S, m as O, a as z, g as I, b as x, a4 as F, d as i, o, j as n, e as u, f as k, t as d, F as p, n as f, c as b, u as U, w as $, q as P, W as V } from "./main-BN-1fMb8.js";
1
+ import { C as R, a as B } from "./CDropdownItem-pNNH9fV3.js";
2
+ import { _ as A, m as z, a as F, g as S, b as k, a5 as O, d, o, j as n, e as u, f as y, t as i, F as p, q as b, c as f, v as P, w, s as U, X as H } from "./main-BBhJGb7I.js";
3
3
  const T = {
4
4
  sv: {
5
5
  title: "Verifikat på signering",
@@ -7,7 +7,8 @@ const T = {
7
7
  signMethod: "Signeringsmetod",
8
8
  remaining: "{{count}} st signaturer kvarstår innan dokumentet är helt signerat.",
9
9
  confirmChangeMessage: "Vill du verkligen byta signeringsmetod för {{- name}}?",
10
- bankIdHint: "Identifiering och signering säkerställd med BankID."
10
+ bankIdHint: "Identifiering och signering säkerställd med BankID.",
11
+ frejaHint: "Identifiering och signering säkerställd med Freja eID+."
11
12
  },
12
13
  en: {
13
14
  title: "Signature verification",
@@ -15,17 +16,18 @@ const T = {
15
16
  signMethod: "Sign method",
16
17
  remaining: "{{count}} signatures are remaining before the document is completely signed.",
17
18
  confirmChangeMessage: "Do you really want to change sign method for {{- name}}?",
18
- bankIdHint: "Identity and signature confirmed with BankID"
19
+ bankIdHint: "Identity and signature confirmed with BankID",
20
+ frejaHint: "Identity and signature confirmed with Freja eID+"
19
21
  }
20
- }, j = {
22
+ }, V = {
21
23
  name: "DocumentReceipt",
22
24
  i18nOptions: {
23
25
  namespaces: "documentReceipt",
24
26
  messages: T
25
27
  },
26
28
  components: {
27
- CDropdown: N,
28
- CDropdownItem: B
29
+ CDropdown: B,
30
+ CDropdownItem: R
29
31
  },
30
32
  props: {
31
33
  document: {
@@ -38,7 +40,7 @@ const T = {
38
40
  }
39
41
  },
40
42
  computed: {
41
- ...z({
43
+ ...F({
42
44
  feature: "application/feature"
43
45
  }),
44
46
  signees() {
@@ -93,9 +95,9 @@ const T = {
93
95
  }
94
96
  },
95
97
  methods: {
96
- ...O({
97
- showMessage: I.SHOW_MESSAGE,
98
- updateDocument: I.UPDATE_DOCUMENT2
98
+ ...z({
99
+ showMessage: S.SHOW_MESSAGE,
100
+ updateDocument: S.UPDATE_DOCUMENT2
99
101
  }),
100
102
  getIconType(t) {
101
103
  return t === "signee" ? "pen-tool" : t === "recipient" ? "eye" : t === "approver" ? "check" : "shield";
@@ -132,34 +134,41 @@ const T = {
132
134
  });
133
135
  }
134
136
  }
135
- }, E = { class: "rounded-lg border border-gray-200 bg-gray-100 px-1 pb-1 pt-4 text-gray-600" }, H = { class: "relative mb-1 leading-5" }, L = { class: "pb-1 pl-4" }, q = { class: "font-medium text-black" }, W = { class: "data-label" }, G = {
137
+ }, E = { class: "rounded-lg border border-gray-200 bg-gray-100 px-1 pb-1 pt-4 text-gray-600" }, L = { class: "relative mb-1 leading-5" }, q = { class: "pb-1 pl-4" }, G = { class: "font-medium text-black" }, W = { class: "data-label" }, X = {
136
138
  class: "grid grid-cols-3 gap-2 pb-1 pt-4",
137
139
  style: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" }
138
140
  }, J = ["textContent"], K = ["textContent"], Q = {
139
141
  key: 0,
140
142
  class: "ml-3 mt-2 inline-flex items-center rounded-full border border-orange-200/90 bg-orange-50 px-1 py-0.5 text-xs font-medium text-black/80"
141
- }, X = { class: "px-1.5" }, Y = { class: "flex flex-col gap-2 p-2" }, Z = { class: "px-4 py-3" }, tt = {
142
- key: 2,
143
- class: "absolute right-3 top-3 inline-flex rounded-full border border-red-400/50 bg-red-200 px-2 py-0.5 text-xs font-medium text-red-700"
144
- }, et = {
143
+ }, Y = { class: "px-1.5" }, Z = { class: "flex flex-col gap-2 p-2" }, tt = { class: "px-4 py-3" }, et = {
145
144
  key: 3,
145
+ class: "absolute right-3 top-3 inline-flex rounded-full border border-red-400/50 bg-red-200 px-2 py-0.5 text-xs font-medium text-red-700"
146
+ }, nt = {
147
+ key: 4,
146
148
  class: "absolute right-3 top-3 inline-flex rounded-full border border-orange-200/70 bg-orange-50 px-2 py-0.5 text-xs font-medium text-black/80"
147
- }, nt = { class: "pb-1 text-[15px] font-medium text-black" }, ot = {
149
+ }, ot = { class: "pb-1 text-[15px] font-medium text-black" }, st = {
148
150
  class: "grid grid-cols-3 gap-2 py-1",
149
151
  style: { "grid-template-columns": "repeat(auto-fit, minmax(190px, 1fr))" }
150
- }, st = ["textContent"], at = { class: "flex items-center" }, it = ["textContent"], dt = ["textContent"], rt = {
152
+ }, at = ["textContent"], it = { class: "flex items-center" }, dt = ["textContent"], rt = ["textContent"], ct = {
151
153
  key: 0,
152
154
  class: "mx-4 h-20 border-t border-gray-100 py-6"
153
- }, ct = ["src"], lt = { class: "ml-0.5 mr-2 flex h-9 w-9 items-center justify-center rounded-md border border-[#275369] bg-[#183e4f]" }, mt = ["textContent"], ut = { class: "text-xs opacity-70" };
154
- function pt(t, s, a, c, m, r) {
155
- const l = x("CIcon"), g = x("CDropdownItem"), v = x("CDropdown"), C = F("tooltip");
156
- return o(), i("div", E, [
157
- n("div", H, [
158
- n("div", L, [
159
- n("div", q, d(t.$t("title")), 1),
160
- n("div", W, d(r.documentName), 1),
161
- n("div", G, [
162
- (o(!0), i(p, null, f([
155
+ }, lt = ["src"], mt = { class: "ml-0.5 mr-2 flex h-9 w-9 items-center justify-center rounded-md border border-[#275369] bg-[#183e4f]" }, ut = ["textContent"], pt = { class: "text-xs opacity-70" }, gt = {
156
+ key: 2,
157
+ class: "mx-4 mb-4 flex items-center rounded-md p-1.5 text-white/90",
158
+ style: "background: linear-gradient(45deg, hsl(214deg 60% 24%), hsl(210deg 55% 40%));"
159
+ }, ht = {
160
+ class: "px-auto ml-0.5 mr-2 flex h-9 w-9 flex-shrink-0 items-center justify-center overflow-hidden rounded-md border border-gray-300/30",
161
+ style: { background: "linear-gradient(135deg, #3e3a94, #0a98e7)" }
162
+ }, ft = ["textContent"], yt = { class: "text-xs opacity-70" };
163
+ function _t(t, s, a, c, m, r) {
164
+ const l = k("CIcon"), g = k("CDropdownItem"), v = k("CDropdown"), C = O("tooltip");
165
+ return o(), d("div", E, [
166
+ n("div", L, [
167
+ n("div", q, [
168
+ n("div", G, i(t.$t("title")), 1),
169
+ n("div", W, i(r.documentName), 1),
170
+ n("div", X, [
171
+ (o(!0), d(p, null, b([
163
172
  [t.$t("_common:sentByName"), r.sentByName],
164
173
  [
165
174
  t.$t("_components:status.sent"),
@@ -173,59 +182,64 @@ function pt(t, s, a, c, m, r) {
173
182
  t.$t("_components:status.accepted"),
174
183
  t.$formatDate(a.document.acceptedAt, "Pp")
175
184
  ]
176
- ], ([e, _], y) => (o(), i(p, null, [
177
- _ ? (o(), i("div", { key: y }, [
185
+ ], ([e, _], x) => (o(), d(p, null, [
186
+ _ ? (o(), d("div", { key: x }, [
178
187
  n("div", {
179
188
  class: "text-xs text-gray-900",
180
- textContent: d(e)
189
+ textContent: i(e)
181
190
  }, null, 8, J),
182
191
  n("div", {
183
192
  class: "mr-1.5 text-gray-600",
184
- textContent: d(_)
193
+ textContent: i(_)
185
194
  }, null, 8, K)
186
195
  ])) : u("", !0)
187
196
  ], 64))), 256))
188
197
  ])
189
198
  ]),
190
- r.waitingFor.length ? (o(), i("div", Q, [
191
- k(l, {
199
+ r.waitingFor.length ? (o(), d("div", Q, [
200
+ y(l, {
192
201
  type: "info",
193
202
  size: "14",
194
203
  class: "text-orange-500/80"
195
204
  }),
196
- n("div", X, d(t.$t("remaining", { count: r.waitingFor.length })), 1)
205
+ n("div", Y, i(t.$t("remaining", { count: r.waitingFor.length })), 1)
197
206
  ])) : u("", !0),
198
- k(l, {
207
+ y(l, {
199
208
  class: "absolute right-5 top-1 text-gray-500",
200
209
  type: "lock",
201
210
  size: "18"
202
211
  })
203
212
  ]),
204
- n("div", Y, [
205
- (o(!0), i(p, null, f(r.signees, (e, _) => {
206
- var y, D;
207
- return o(), i("div", {
213
+ n("div", Z, [
214
+ (o(!0), d(p, null, b(r.signees, (e, _) => {
215
+ var x, D, $;
216
+ return o(), d("div", {
208
217
  key: _,
209
218
  class: "relative rounded-md border border-gray-200 bg-white text-gray-700"
210
219
  }, [
211
- n("div", Z, [
212
- e.didAccept && e.method === "bankId" ? (o(), b(l, {
220
+ n("div", tt, [
221
+ e.didAccept && e.method === "bankId" ? (o(), f(l, {
213
222
  key: 0,
214
223
  type: "bankIdColor",
215
224
  size: "22",
216
225
  class: "absolute right-4 top-3"
217
- })) : e.didAccept ? U((o(), b(l, {
226
+ })) : e.didAccept && e.method === "freja" ? (o(), f(l, {
218
227
  key: 1,
228
+ type: "frejaColor",
229
+ size: "22",
230
+ class: "absolute right-4 top-3"
231
+ })) : e.didAccept ? P((o(), f(l, {
232
+ key: 2,
219
233
  size: 18,
220
234
  type: r.getIconType(e.documentRole),
221
235
  class: "lock-icon absolute right-6 top-4 opacity-70"
222
236
  }, null, 8, ["type"])), [
223
237
  [C, t.$t(`_common:documentRole.${e.documentRole}.label`)]
224
238
  ]) : u("", !0),
225
- e.didAccept === !1 ? (o(), i("div", tt, d(t.$t("_common:denied").capitalize()), 1)) : !e.didAccept && e.method !== "inPerson" ? (o(), i("div", et, d(t.$t("waitingForSign")), 1)) : u("", !0),
226
- n("div", nt, d(((y = e.response) == null ? void 0 : y.name) || e.name), 1),
227
- n("div", ot, [
228
- (o(!0), i(p, null, f([
239
+ e.didAccept === !1 ? (o(), d("div", et, i(t.$t("_common:denied").capitalize()), 1)) : !e.didAccept && e.method !== "inPerson" ? (o(), d("div", nt, i(t.$t("waitingForSign")), 1)) : u("", !0),
240
+ n("div", ot, i(((x = e.response) == null ? void 0 : x.name) || e.name), 1),
241
+ n("div", st, [
242
+ (o(!0), d(p, null, b([
229
243
  [t.$t("_common:socialNo").capitalize(), e.socialNo],
230
244
  [
231
245
  t.$t("signMethod"),
@@ -241,39 +255,39 @@ function pt(t, s, a, c, m, r) {
241
255
  `${t.$t("_common:browser")}, OS & ${t.$t("_common:device")}`,
242
256
  r.getBrowserString(e)
243
257
  ]
244
- ], ([M, w, A], R) => (o(), i(p, null, [
245
- w ? (o(), i("div", {
246
- key: R,
258
+ ], ([M, I, j], N) => (o(), d(p, null, [
259
+ I ? (o(), d("div", {
260
+ key: N,
247
261
  class: "text-[13px]"
248
262
  }, [
249
263
  n("div", {
250
264
  class: "text-gray-900",
251
- textContent: d(M)
252
- }, null, 8, st),
253
- n("div", at, [
265
+ textContent: i(M)
266
+ }, null, 8, at),
267
+ n("div", it, [
254
268
  n("div", {
255
269
  class: "mr-1.5 text-gray-500",
256
- textContent: d(w)
257
- }, null, 8, it),
258
- A === "signMethod" && e.method && a.allowSignMethodUpdate && r.signOptions.length > 1 && a.document.status !== "accepted" && e.didAccept === void 0 ? (o(), b(v, {
270
+ textContent: i(I)
271
+ }, null, 8, dt),
272
+ j === "signMethod" && e.method && a.allowSignMethodUpdate && r.signOptions.length > 1 && a.document.status !== "accepted" && e.didAccept === void 0 ? (o(), f(v, {
259
273
  key: 0,
260
274
  "append-to-body": !0,
261
275
  "menu-styling": { width: "180px" }
262
276
  }, {
263
- trigger: $(() => [
277
+ trigger: w(() => [
264
278
  n("div", {
265
279
  class: "text-primary-500 text-xs font-medium underline",
266
- textContent: d(t.$t("_common:change"))
267
- }, null, 8, dt)
280
+ textContent: i(t.$t("_common:change"))
281
+ }, null, 8, rt)
268
282
  ]),
269
- default: $(() => [
270
- (o(!0), i(p, null, f(r.signOptions, (h) => (o(), b(g, {
283
+ default: w(() => [
284
+ (o(!0), d(p, null, b(r.signOptions, (h) => (o(), f(g, {
271
285
  key: h,
272
286
  "icon-right": e.method === h ? "check" : "",
273
- onClick: (yt) => e.method !== h ? r.onUpdate(e, h) : null
287
+ onClick: (vt) => e.method !== h ? r.onUpdate(e, h) : null
274
288
  }, {
275
- default: $(() => [
276
- P(d(t.$t(`_common:signMethod.${h}`)), 1)
289
+ default: w(() => [
290
+ U(i(t.$t(`_common:signMethod.${h}`)), 1)
277
291
  ]),
278
292
  _: 2
279
293
  }, 1032, ["icon-right", "onClick"]))), 128))
@@ -285,18 +299,18 @@ function pt(t, s, a, c, m, r) {
285
299
  ], 64))), 256))
286
300
  ])
287
301
  ]),
288
- e.signatureDataURL ? (o(), i("div", rt, [
302
+ e.signatureDataURL ? (o(), d("div", ct, [
289
303
  n("img", {
290
304
  src: e.signatureDataURL,
291
305
  class: "h-full"
292
- }, null, 8, ct)
293
- ])) : e.didAccept && e.method === "bankId" ? (o(), i("div", {
306
+ }, null, 8, lt)
307
+ ])) : e.didAccept && e.method === "bankId" ? (o(), d("div", {
294
308
  key: 1,
295
309
  class: "mx-4 mb-4 flex items-center rounded-md bg-gray-300 p-1.5 text-white/90",
296
- style: V([{ border: "1px solid #35677e" }, "background: linear-gradient(45deg,hsl(200deg 35% 17%),hsl(199deg 25% 30%));"])
310
+ style: H([{ border: "1px solid #35677e" }, "background: linear-gradient(45deg,hsl(200deg 35% 17%),hsl(199deg 25% 30%));"])
297
311
  }, [
298
- n("div", lt, [
299
- k(l, {
312
+ n("div", mt, [
313
+ y(l, {
300
314
  type: "bankId",
301
315
  size: "22"
302
316
  })
@@ -304,9 +318,25 @@ function pt(t, s, a, c, m, r) {
304
318
  n("div", null, [
305
319
  n("div", {
306
320
  class: "text-xs font-medium",
307
- textContent: d(t.$t("bankIdHint"))
308
- }, null, 8, mt),
309
- n("div", ut, d(((D = e.response) == null ? void 0 : D.name) || e.name) + " · " + d(e.socialNo), 1)
321
+ textContent: i(t.$t("bankIdHint"))
322
+ }, null, 8, ut),
323
+ n("div", pt, i(((D = e.response) == null ? void 0 : D.name) || e.name) + " · " + i(e.socialNo), 1)
324
+ ])
325
+ ])) : e.didAccept && e.method === "freja" ? (o(), d("div", gt, [
326
+ n("div", ht, [
327
+ y(l, {
328
+ type: "frejaPlusText",
329
+ size: 28,
330
+ stroke: "none",
331
+ "stroke-width": 0
332
+ })
333
+ ]),
334
+ n("div", null, [
335
+ n("div", {
336
+ class: "text-xs font-medium",
337
+ textContent: i(t.$t("frejaHint"))
338
+ }, null, 8, ft),
339
+ n("div", yt, i((($ = e.response) == null ? void 0 : $.name) || e.name) + " · " + i(e.socialNo), 1)
310
340
  ])
311
341
  ])) : u("", !0)
312
342
  ]);
@@ -314,10 +344,10 @@ function pt(t, s, a, c, m, r) {
314
344
  ])
315
345
  ]);
316
346
  }
317
- const gt = /* @__PURE__ */ S(j, [["render", pt]]), ht = {
347
+ const xt = /* @__PURE__ */ A(V, [["render", _t]]), bt = {
318
348
  name: "DocReceipt",
319
349
  components: {
320
- DocumentReceipt: gt
350
+ DocumentReceipt: xt
321
351
  },
322
352
  props: {
323
353
  document: {
@@ -326,16 +356,16 @@ const gt = /* @__PURE__ */ S(j, [["render", pt]]), ht = {
326
356
  }
327
357
  }
328
358
  };
329
- function _t(t, s, a, c, m, r) {
330
- const l = x("DocumentReceipt");
331
- return o(), i("div", null, [
332
- k(l, {
359
+ function kt(t, s, a, c, m, r) {
360
+ const l = k("DocumentReceipt");
361
+ return o(), d("div", null, [
362
+ y(l, {
333
363
  document: a.document,
334
364
  "allow-sign-method-update": !1
335
365
  }, null, 8, ["document"])
336
366
  ]);
337
367
  }
338
- const xt = /* @__PURE__ */ S(ht, [["render", _t]]);
368
+ const Dt = /* @__PURE__ */ A(bt, [["render", kt]]);
339
369
  export {
340
- xt as default
370
+ Dt as default
341
371
  };
@@ -1,4 +1,4 @@
1
- import { _ as b, m as T, a as C, aa as D, g as $, b as y, a4 as k, d as l, o as a, j as r, f as x, t as c, F as M, n as R, e as N, u as g, c as _, w as p, q as h } from "./main-BN-1fMb8.js";
1
+ import { _ as b, m as T, a as C, ab as D, g as $, b as y, a5 as k, d as l, o as a, j as r, f as x, t as c, F as M, q as R, e as N, v as g, c as _, w as p, s as h } from "./main-BBhJGb7I.js";
2
2
  const w = {
3
3
  name: "DocumentSendReminderModal",
4
4
  i18nOptions: {
@@ -1,11 +1,11 @@
1
- import { a7 as Xr, A as Qr, a3 as wd, G as na, ak as Zr, cD as Cd, b$ as ra, p as cs, r as Sd, db as ds, dc as Md, M as vd, I as Td, z as Ad, _ as kt, b as Z, c as we, o as D, w as De, j as A, d as z, an as V, f as Ve, F as _e, n as en, R as ia, e as ce, x as G, t as Tt, a4 as oa, u as ji, ai as Ed, c4 as Od, l as sa, al as Nd, aD as us, W as Rd, af as bi, am as Dd, T as hs, $ as Ld } from "./main-BN-1fMb8.js";
1
+ import { a8 as Xr, B as Qr, a4 as wd, H as na, al as Zr, cE as Cd, c0 as ra, p as cs, r as Sd, dc as ds, dd as Md, M as vd, J as Td, A as Ad, _ as kt, b as Z, c as we, o as D, w as De, j as A, d as z, ao as V, f as Ve, F as _e, q as en, T as ia, e as ce, y as G, t as Tt, a5 as oa, v as ji, aj as Ed, c5 as Od, n as sa, am as Nd, aE as us, X as Rd, ag as bi, an as Dd, U as hs, a0 as Ld } from "./main-BBhJGb7I.js";
2
2
  import { g as ir } from "./dom-DOcGU3-g.js";
3
- import { t as la, F as Id, s as Pd, d as fs } from "./tippy.esm-BDnfKmn9.js";
4
- import { d as aa } from "./helpers-H5tqC2mD.js";
5
- import { C as Bd } from "./ColorPicker-Bdwc47q6.js";
6
- import { _ as ca } from "./ManualPopover-DTwmTCPu.js";
3
+ import { t as la, F as Id, s as Pd, d as fs } from "./tippy.esm-DdYqbHFh.js";
4
+ import { d as aa } from "./helpers-Dw4CluFv.js";
5
+ import { C as Bd } from "./ColorPicker-B5rSvXLV.js";
6
+ import { _ as ca } from "./ManualPopover-JDRhdC8G.js";
7
7
  import { h as zd } from "./color-HetJPhlA.js";
8
- import { w as Hd } from "./CDropdownItem-CM3Ir-XA.js";
8
+ import { w as Hd } from "./CDropdownItem-pNNH9fV3.js";
9
9
  function re(n) {
10
10
  this.content = n;
11
11
  }
@@ -15890,7 +15890,7 @@ const U0 = /* @__PURE__ */ kt(B0, [["render", K0], ["__scopeId", "data-v-3489488
15890
15890
  components: {
15891
15891
  FormInputRow: Id,
15892
15892
  TextTemplates: sa(
15893
- () => import("./index-Cp5KfNdY.js")
15893
+ () => import("./index-DihGX5od.js")
15894
15894
  )
15895
15895
  },
15896
15896
  emits: ["upload-image"],
@@ -16896,7 +16896,7 @@ const py = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, my = Q.cr
16896
16896
  async openPreview() {
16897
16897
  var t;
16898
16898
  const n = sa(
16899
- () => import("./FilePreviewModal-BU9Sbe30.js")
16899
+ () => import("./FilePreviewModal-Bv28RVrN.js")
16900
16900
  ), { title: e } = ((t = this.node) == null ? void 0 : t.attrs) || {};
16901
16901
  this.$modal.show(
16902
16902
  n,
@@ -1,5 +1,5 @@
1
- import { C as N } from "./CSkeleton-C0XDwN9S.js";
2
- import { _ as b, b4 as D, b5 as S, b as y, a4 as O, d as l, o as a, j as o, x as u, c as w, e as _, F as k, f as v, q as B, t as h, u as q, a as A, T as j, n as F, af as V, aD as H, w as L } from "./main-BN-1fMb8.js";
1
+ import { C as N } from "./CSkeleton-DpRDxR6D.js";
2
+ import { _ as b, b5 as D, b6 as S, b as f, a5 as O, d as l, o as a, j as o, y as u, c as w, e as _, F as k, f as v, s as B, t as h, v as q, a as A, U as j, q as F, ag as V, aE as H, w as L } from "./main-BBhJGb7I.js";
3
3
  const G = {
4
4
  name: "EventItem",
5
5
  components: {
@@ -95,7 +95,7 @@ const G = {
95
95
  class: "relative m-0 h-[23px]"
96
96
  }, P = { class: "ml-7 flex min-w-0 flex-grow flex-col pt-1" }, R = ["innerHTML"], J = ["innerHTML"];
97
97
  function Q(n, r, e, p, m, t) {
98
- const i = y("CIcon"), s = y("CSkeleton"), x = O("tooltip");
98
+ const i = f("CIcon"), s = f("CSkeleton"), x = O("tooltip");
99
99
  return a(), l("div", U, [
100
100
  o("div", K, [
101
101
  o("div", {
@@ -253,8 +253,8 @@ const W = /* @__PURE__ */ b(G, [["render", Q]]), X = {
253
253
  status: s,
254
254
  counter: x,
255
255
  sendSource: C,
256
- companyUserId: M
257
- } = r || {}, $ = x || p.length + 1, g = m.name, E = {
256
+ companyUserId: E
257
+ } = r || {}, $ = x || p.length + 1, g = m.name, M = {
258
258
  created: () => ({
259
259
  title: this.$t("_common:created"),
260
260
  createdAt: e,
@@ -293,9 +293,9 @@ const W = /* @__PURE__ */ b(G, [["render", Q]]), X = {
293
293
  })), {
294
294
  title: d,
295
295
  content: t == null ? void 0 : t.map(
296
- (c) => ["email", "cellphone"].filter((f) => !!c[f]).map((f) => c[f]).join(` ${this.$t("_common:and")} `)
296
+ (c) => ["email", "cellphone"].filter((y) => !!c[y]).map((y) => c[y]).join(` ${this.$t("_common:and")} `)
297
297
  ).reduce(
298
- (c, f) => c ? `${c}<div>${f}</div>` : `${this.$t("_common:to")}: ${f}`.capitalize(),
298
+ (c, y) => c ? `${c}<div>${y}</div>` : `${this.$t("_common:to")}: ${y}`.capitalize(),
299
299
  ""
300
300
  ),
301
301
  createdAt: e,
@@ -311,7 +311,7 @@ const W = /* @__PURE__ */ b(G, [["render", Q]]), X = {
311
311
  } : null,
312
312
  requestChange: () => {
313
313
  var c;
314
- const d = ((c = this.userById(M)) == null ? void 0 : c.fullName) || "";
314
+ const d = ((c = this.userById(E)) == null ? void 0 : c.fullName) || "";
315
315
  return {
316
316
  title: `${this.$t("requestChange")} ${this.$t(
317
317
  `_common:status.${s}`
@@ -361,14 +361,14 @@ const W = /* @__PURE__ */ b(G, [["render", Q]]), X = {
361
361
  })
362
362
  }, z = (T = this.colors) == null ? void 0 : T[n];
363
363
  return {
364
- ...E[n](),
364
+ ...M[n](),
365
365
  ...z && { color: z }
366
366
  };
367
367
  }
368
368
  }
369
369
  };
370
370
  function Z(n, r, e, p, m, t) {
371
- const i = y("EventItem");
371
+ const i = f("EventItem");
372
372
  return a(), l("div", null, [
373
373
  j(n.$slots, "header"),
374
374
  (a(!0), l(k, null, F(t.events, (s, x) => (a(), w(i, {
@@ -461,7 +461,7 @@ const ee = /* @__PURE__ */ b(Y, [["render", Z]]), I = {
461
461
  }
462
462
  };
463
463
  function ne(n, r, e, p, m, t) {
464
- const i = y("CIcon");
464
+ const i = f("CIcon");
465
465
  return a(), l("div", {
466
466
  class: u([t.className, "c-badge_status inline-flex h-6 items-center rounded-full pl-1 pr-2 text-xs font-medium leading-none"])
467
467
  }, [
@@ -499,7 +499,7 @@ const se = /* @__PURE__ */ b(te, [["render", ne]]), ae = {
499
499
  class: "mb-4 border-b pb-4"
500
500
  }, oe = { class: "mb-2" }, re = ["textContent"], ce = { class: "text-lg font-semibold" }, le = { class: "-ml-2 inline-flex items-center" }, de = ["textContent"];
501
501
  function me(n, r, e, p, m, t) {
502
- const i = y("StatusBadge"), s = y("DocumentTimeline");
502
+ const i = f("StatusBadge"), s = f("DocumentTimeline");
503
503
  return a(), l("div", {
504
504
  class: u({ "p-8": e.viewType !== "mount" })
505
505
  }, [
@@ -1,8 +1,8 @@
1
- import { D as f } from "./DocumentLayout-Q5yx_Q6I.js";
2
- import { _ as s, r as _, b as c, d as V, o, T as y, c as u } from "./main-BN-1fMb8.js";
3
- import "./template-BwkDoewU.js";
4
- import { u as D } from "./validation-BJw9_38H.js";
5
- import { D as F } from "./DocumentVoided-DQ_dMdFP.js";
1
+ import { D as f } from "./DocumentLayout-DHSEYClM.js";
2
+ import { _ as s, r as _, b as c, d as V, o, U as y, c as u } from "./main-BBhJGb7I.js";
3
+ import "./template-B-Ds8x_U.js";
4
+ import { u as D } from "./validation-CWxbj-wT.js";
5
+ import { D as F } from "./DocumentVoided-BAS8mATO.js";
6
6
  const r = _({
7
7
  canEdit: !1,
8
8
  isForm: !1,