@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.
- package/CHANGELOG.md +16 -0
- package/dist/{AddClientCallout-CodlIQwE.js → AddClientCallout-CxbvK6ZG.js} +7 -7
- package/dist/{AnswerModal-J1UhMHpo.js → AnswerModal-vTetGwVn.js} +935 -651
- package/dist/{AttachmentItem-B0_8bPKy.js → AttachmentItem-DSHNRIq_.js} +9 -9
- package/dist/{BaseUpload-DuqbaH9l.js → BaseUpload-CWaM_bb7.js} +2 -2
- package/dist/{BlockMedia-Dy_--7Vj.js → BlockMedia-B1T85G4R.js} +9 -9
- package/dist/{CCallout-CmuwGNSi.js → CCallout-BieMmWa4.js} +5 -5
- package/dist/{CCurrencyDropdown-B8g2vrhq.js → CCurrencyDropdown-DKWtCUE_.js} +3 -3
- package/dist/{CDropdownItem-CM3Ir-XA.js → CDropdownItem-pNNH9fV3.js} +13 -13
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-C1P9Y9Tg.js → CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js} +14 -14
- package/dist/{CPhoneFormat-C0kGNp6W.js → CPhoneFormat-CyrQRGmd.js} +1 -1
- package/dist/{CPhoneInput-BUgER0Oa.js → CPhoneInput-BQHgpUCY.js} +5 -5
- package/dist/{CPriceInput-BQF9nkwR.js → CPriceInput-DnFN-I6p.js} +2 -2
- package/dist/{CSelect-H8jAu9Ae.js → CSelect-DB4-JxH8.js} +5 -5
- package/dist/{CSkeleton-C0XDwN9S.js → CSkeleton-DpRDxR6D.js} +7 -7
- package/dist/{ClientAutocomplete-BoNP8_4h.js → ClientAutocomplete-BjwvkuJ-.js} +19 -19
- package/dist/{ClientModal-DWFXbAOk.js → ClientModal-oBN2VSio.js} +138 -130
- package/dist/{ColorPicker-Bdwc47q6.js → ColorPicker-B5rSvXLV.js} +21 -21
- package/dist/{CompanyModal-CD6ojsz7.js → CompanyModal-QrsUL6Et.js} +13 -13
- package/dist/{ContentWrapper-Do4aBTL8.js → ContentWrapper-Yx-KMsfH.js} +22 -22
- package/dist/{CoverBlockSettings-4MmtvSy8.js → CoverBlockSettings-C8giTiEZ.js} +19 -19
- package/dist/{DocAnswer-CjwxDT6u.js → DocAnswer-Djyhwfrp.js} +2 -2
- package/dist/{DocDetails-BxIsdfgP.js → DocDetails-Dv6noPvB.js} +100 -94
- package/dist/{DocForm-CS9PFRi-.js → DocForm-BFHchJ6w.js} +24 -24
- package/dist/{DocFormSend-wzBPrCIU.js → DocFormSend-K2rbjklj.js} +2 -2
- package/dist/{DocLinks-DExm1cq-.js → DocLinks-DpUl89XR.js} +2 -2
- package/dist/{DocModalBase-CTtPx1oT.js → DocModalBase-BlTZ8CY3.js} +1 -1
- package/dist/{DocPrint-BlnW2EcE.js → DocPrint-Bmfl4Abk.js} +9 -9
- package/dist/{DocReceipt-CDyPZK5d.js → DocReceipt-3wi5YXqR.js} +111 -81
- package/dist/{DocSendReminder-yIYfJPSd.js → DocSendReminder-CHqgC_wM.js} +1 -1
- package/dist/{DocTextEditor-i_xyQACD.js → DocTextEditor-BGzwRwjt.js} +8 -8
- package/dist/{DocTimeline-p1JDm9-T.js → DocTimeline-BG7ldFgR.js} +12 -12
- package/dist/{DocumentClient-D_DZDXb4.js → DocumentClient-CLCAh4lI.js} +5 -5
- package/dist/{DocumentLayout-Q5yx_Q6I.js → DocumentLayout-DHSEYClM.js} +32 -32
- package/dist/{DocumentLogotype-BTLs13IJ.js → DocumentLogotype-0jH2-sr7.js} +8 -8
- package/dist/{DocumentVoided-DQ_dMdFP.js → DocumentVoided-BAS8mATO.js} +1 -1
- package/dist/{EmbedInput-DaMyfqJY.js → EmbedInput-DnSz1tbL.js} +18 -18
- package/dist/{EmbedSettings-Bc1eYQT0.js → EmbedSettings-BQ1kKupC.js} +5 -5
- package/dist/{ErrorCallout-DlQuu1rj.js → ErrorCallout-XMtdcNvE.js} +4 -4
- package/dist/{FilePreviewModal-BU9Sbe30.js → FilePreviewModal-Bv28RVrN.js} +20 -20
- package/dist/{Flag-CO6k_SbL.js → Flag-CcF7qtHi.js} +1 -1
- package/dist/{HeaderSettings-Dc7tbdZd.js → HeaderSettings-SKEJyM9y.js} +20 -20
- package/dist/{ImageSelectModal-d2IEg740.js → ImageSelectModal-BNXs_Rfh.js} +3 -3
- package/dist/{ImageUploadWrapper-B6hVAJaZ.js → ImageUploadWrapper-BmlB0qHZ.js} +23 -23
- package/dist/{Index-B2xKlEgp.js → Index-B1mvOHsr.js} +5 -5
- package/dist/{Index-CXEmMsr7.js → Index-B4EqZ9op.js} +8 -8
- package/dist/{Index-BJFdGM64.js → Index-B8soD6pI.js} +2 -2
- package/dist/{Index-C51ttD-V.js → Index-BDW4tvrc.js} +2 -2
- package/dist/{Index-m4JD2kLy.js → Index-BLC_eYvf.js} +2 -2
- package/dist/{Index-C7lZs4w7.js → Index-BNetDL7G.js} +4 -4
- package/dist/{Index-Br1Beh1t.js → Index-BRIv1n05.js} +4 -4
- package/dist/{Index-vj_4fW0L.js → Index-BS-ERsZ7.js} +28 -28
- package/dist/{Index-hTFQZ8P4.js → Index-BS1J5b8c.js} +3 -3
- package/dist/{Index-CIhXv9Vl.js → Index-B_R1p7cp.js} +1 -1
- package/dist/{Index-OOuia-Qn.js → Index-BbEj20KG.js} +13 -13
- package/dist/{Index-CRyXpadf.js → Index-Bd3gjqXz.js} +6 -6
- package/dist/{Index-FOlkhY4l.js → Index-Bxi4pinD.js} +3 -3
- package/dist/{Index-C8Vaj5ox.js → Index-Bz6vrP4D.js} +4 -4
- package/dist/{Index-CgUYpoRx.js → Index-C2Jql1QC.js} +16 -16
- package/dist/{Index-lrMaEM_k.js → Index-C6r2p8Qd.js} +7 -7
- package/dist/{Index-CpSQ5aXa.js → Index-C9k2n-HK.js} +4 -4
- package/dist/{Index--oU_6qkg.js → Index-CDdxLKdQ.js} +4 -4
- package/dist/{Index-BDxHSXUe.js → Index-CQSkYi57.js} +6 -6
- package/dist/{Index-BFFBTLqx.js → Index-CVoJGfTj.js} +5 -5
- package/dist/{Index-xaM6i_Ur.js → Index-CYjEFdMF.js} +2 -2
- package/dist/{Index-DqyAAbPV.js → Index-Ca6-XJ1q.js} +23 -23
- package/dist/{Index-Cyg7Cxb6.js → Index-CfpNMWEI.js} +5 -5
- package/dist/{Index-DmCgJ6-P.js → Index-Coef67Wb.js} +8 -8
- package/dist/{Index-CTR16GFI.js → Index-DRadSzmh.js} +11 -11
- package/dist/{Index-BlwNDGUd.js → Index-DU19comM.js} +14 -14
- package/dist/{Index-nspOYYbJ.js → Index-DquGwrE6.js} +11 -11
- package/dist/{Index-zwGVqaGe.js → Index-Dz3beMLO.js} +5 -5
- package/dist/{Index-DQ67Jdhz.js → Index-GmMgg4ZI.js} +10 -10
- package/dist/{Index-Bmv9uPyM.js → Index-LNHTL5EH.js} +1 -1
- package/dist/Index-Ra_-tX11.js +106 -0
- package/dist/Index-aOBMRrRj.js +4 -0
- package/dist/{Index-CP9Mwo6E.js → Index-ec9osPpw.js} +4 -4
- package/dist/{Index-4N9vyKBQ.js → Index-mcDMCki9.js} +30 -30
- package/dist/{Index.vue_vue_type_script_lang-C5astrcb.js → Index.vue_vue_type_script_lang-DOtAXSQl.js} +2 -2
- package/dist/{InputToggleRow-BBWZeA_f.js → InputToggleRow-DH7USYPf.js} +9 -9
- package/dist/{ManualPopover-DTwmTCPu.js → ManualPopover-JDRhdC8G.js} +3 -3
- package/dist/{MediaWrapper-Y0DGv4f8.js → MediaWrapper-DdbmCwGw.js} +3 -3
- package/dist/{NotBindingText-FUapTBAD.js → NotBindingText-CwV-MkgL.js} +2 -2
- package/dist/{PackageGroup-ChiyEDwB.js → PackageGroup-CH-8hyAF.js} +10 -10
- package/dist/{PdfTerms-CuQguFsD.js → PdfTerms-BBeN_k6I.js} +4 -4
- package/dist/{PdfViewer-Brnjp6OZ.js → PdfViewer-Du_M79jv.js} +27 -27
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-D5CY66LQ.js → PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js} +1 -1
- package/dist/{PriceHeader-DpCLCW93.js → PriceHeader-Be2QwWzs.js} +25 -25
- package/dist/{SearchApi-iBG9y8ZN.js → SearchApi-dNunyqch.js} +1 -1
- package/dist/{SendForm-CTd08c8d.js → SendForm-BIIwVZwY.js} +143 -130
- package/dist/{Setup-C2kYjDKF.js → Setup-DBbHXz4_.js} +1 -1
- package/dist/{SmartList-BBq3BgJi.js → SmartList-C2JUKK2W.js} +1 -1
- 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
- package/dist/{TermsSettings-Dj6sTbrm.js → TermsSettings-BZBWd3c9.js} +11 -11
- package/dist/{ThemeColorRow-BiwW-diz.js → ThemeColorRow-7KF7icN8.js} +5 -5
- package/dist/{ToggleBinding-JP15-Wvc.js → ToggleBinding-w8lNunzO.js} +4 -4
- package/dist/{UploadModal-zYfzZsGt.js → UploadModal-BRdimOyC.js} +2 -2
- package/dist/{VideoPlayerInput-zU6Kw9cw.js → VideoPlayerInput-BHmr7HvX.js} +6 -6
- package/dist/{VideoPlayerSettings-D7cfFYht.js → VideoPlayerSettings-fI8gpjks.js} +6 -6
- package/dist/{VideoSelectModal-CjOlhyNV.js → VideoSelectModal-Beq5yE0M.js} +9 -9
- package/dist/{focusDrawerMixin-C0aQjH6-.js → focusDrawerMixin-vhY6JO7g.js} +1 -1
- package/dist/{formDrawerState-CyABAApS.js → formDrawerState-ChHVYfc3.js} +1 -1
- package/dist/{fortnoxTheme-DQVyPRLl.js → fortnoxTheme-BGyYnb8i.js} +1 -1
- package/dist/{helpers-H5tqC2mD.js → helpers-Dw4CluFv.js} +1 -1
- package/dist/{index-EUYwyBFe.js → index-BUPqyA87.js} +6 -6
- package/dist/{index-77ik5EB2.js → index-BcnDsk0Z.js} +1 -1
- package/dist/{index-JV3eF8nv.js → index-C-tsPusW.js} +7 -7
- package/dist/{index-Ze_XZYbW.js → index-CPfrJsi9.js} +13 -13
- package/dist/{index-z_Lljo35.js → index-DJYVhEQt.js} +22 -22
- package/dist/{index-Cp5KfNdY.js → index-DihGX5od.js} +30 -30
- package/dist/{index-6-kWjuuL.js → index-syUJ22zc.js} +25 -28
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +140 -138
- package/dist/{main-BN-1fMb8.js → main-BBhJGb7I.js} +4908 -4635
- package/dist/{mapFormMixin-CM1I_eW_.js → mapFormMixin-CCKubywa.js} +2 -2
- package/dist/omit-Cdd54eFA.js +56 -0
- package/dist/{publicSenderState-BbL_iSL_.js → publicSenderState-LkIY-kEl.js} +1 -1
- package/dist/{splitpanes--dOqXPIb.js → splitpanes-nCfEUpmu.js} +1 -1
- package/dist/{template-BwkDoewU.js → template-B-Ds8x_U.js} +1 -1
- package/dist/{tippy.esm-BDnfKmn9.js → tippy.esm-DdYqbHFh.js} +66 -66
- package/dist/{useTermsModal-CmEHVDST.js → useTermsModal-Z_pZQ4H2.js} +4 -4
- package/dist/{utils-BVo-Ajwa.js → utils-C3tvmZHk.js} +1 -1
- package/dist/validation-CWxbj-wT.js +40 -0
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-C7fJuk6X.js +0 -4
- package/dist/Index-M2_bF0WP.js +0 -87
- package/dist/omit-D9nqAztq.js +0 -56
- package/dist/validation-BJw9_38H.js +0 -40
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { _ as
|
|
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
|
-
},
|
|
22
|
+
}, V = {
|
|
21
23
|
name: "DocumentReceipt",
|
|
22
24
|
i18nOptions: {
|
|
23
25
|
namespaces: "documentReceipt",
|
|
24
26
|
messages: T
|
|
25
27
|
},
|
|
26
28
|
components: {
|
|
27
|
-
CDropdown:
|
|
28
|
-
CDropdownItem:
|
|
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
|
-
...
|
|
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
|
-
...
|
|
97
|
-
showMessage:
|
|
98
|
-
updateDocument:
|
|
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" },
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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, _],
|
|
177
|
-
_ ? (o(),
|
|
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:
|
|
189
|
+
textContent: i(e)
|
|
181
190
|
}, null, 8, J),
|
|
182
191
|
n("div", {
|
|
183
192
|
class: "mr-1.5 text-gray-600",
|
|
184
|
-
textContent:
|
|
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(),
|
|
191
|
-
|
|
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",
|
|
205
|
+
n("div", Y, i(t.$t("remaining", { count: r.waitingFor.length })), 1)
|
|
197
206
|
])) : u("", !0),
|
|
198
|
-
|
|
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",
|
|
205
|
-
(o(!0),
|
|
206
|
-
var
|
|
207
|
-
return o(),
|
|
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",
|
|
212
|
-
e.didAccept && e.method === "bankId" ? (o(),
|
|
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 ?
|
|
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(),
|
|
226
|
-
n("div",
|
|
227
|
-
n("div",
|
|
228
|
-
(o(!0),
|
|
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,
|
|
245
|
-
|
|
246
|
-
key:
|
|
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:
|
|
252
|
-
}, null, 8,
|
|
253
|
-
n("div",
|
|
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:
|
|
257
|
-
}, null, 8,
|
|
258
|
-
|
|
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:
|
|
267
|
-
}, null, 8,
|
|
280
|
+
textContent: i(t.$t("_common:change"))
|
|
281
|
+
}, null, 8, rt)
|
|
268
282
|
]),
|
|
269
|
-
default:
|
|
270
|
-
(o(!0),
|
|
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: (
|
|
287
|
+
onClick: (vt) => e.method !== h ? r.onUpdate(e, h) : null
|
|
274
288
|
}, {
|
|
275
|
-
default:
|
|
276
|
-
|
|
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(),
|
|
302
|
+
e.signatureDataURL ? (o(), d("div", ct, [
|
|
289
303
|
n("img", {
|
|
290
304
|
src: e.signatureDataURL,
|
|
291
305
|
class: "h-full"
|
|
292
|
-
}, null, 8,
|
|
293
|
-
])) : e.didAccept && e.method === "bankId" ? (o(),
|
|
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:
|
|
310
|
+
style: H([{ border: "1px solid #35677e" }, "background: linear-gradient(45deg,hsl(200deg 35% 17%),hsl(199deg 25% 30%));"])
|
|
297
311
|
}, [
|
|
298
|
-
n("div",
|
|
299
|
-
|
|
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:
|
|
308
|
-
}, null, 8,
|
|
309
|
-
n("div",
|
|
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
|
|
347
|
+
const xt = /* @__PURE__ */ A(V, [["render", _t]]), bt = {
|
|
318
348
|
name: "DocReceipt",
|
|
319
349
|
components: {
|
|
320
|
-
DocumentReceipt:
|
|
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
|
|
330
|
-
const l =
|
|
331
|
-
return o(),
|
|
332
|
-
|
|
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
|
|
368
|
+
const Dt = /* @__PURE__ */ A(bt, [["render", kt]]);
|
|
339
369
|
export {
|
|
340
|
-
|
|
370
|
+
Dt as default
|
|
341
371
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as b, m as T, a as C,
|
|
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 {
|
|
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-
|
|
4
|
-
import { d as aa } from "./helpers-
|
|
5
|
-
import { C as Bd } from "./ColorPicker-
|
|
6
|
-
import { _ as ca } from "./ManualPopover-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
-
import { _ as b,
|
|
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 =
|
|
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:
|
|
257
|
-
} = r || {}, $ = x || p.length + 1, g = m.name,
|
|
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((
|
|
296
|
+
(c) => ["email", "cellphone"].filter((y) => !!c[y]).map((y) => c[y]).join(` ${this.$t("_common:and")} `)
|
|
297
297
|
).reduce(
|
|
298
|
-
(c,
|
|
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(
|
|
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
|
-
...
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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-
|
|
2
|
-
import { _ as s, r as _, b as c, d as V, o,
|
|
3
|
-
import "./template-
|
|
4
|
-
import { u as D } from "./validation-
|
|
5
|
-
import { D as F } from "./DocumentVoided-
|
|
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,
|