@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.
- package/CHANGELOG.md +22 -0
- package/dist/{AddClientCallout-BjeE7RY6.js → AddClientCallout-CtfDZ5iE.js} +7 -7
- package/dist/{AnswerModal-BLo3hOrK.js → AnswerModal-DER90JgH.js} +935 -651
- package/dist/{AttachmentItem-B4T7akns.js → AttachmentItem-CFxoxFwU.js} +9 -9
- package/dist/{BaseUpload-B-_Rpir0.js → BaseUpload-D3vsnEbC.js} +2 -2
- package/dist/{BlockMedia-szLlyTVn.js → BlockMedia-CrmRCTpi.js} +1 -1
- package/dist/{CCallout-wp8bWld3.js → CCallout-B86E6HJd.js} +5 -5
- package/dist/{CCurrencyDropdown-CH0M7LFZ.js → CCurrencyDropdown-B2L-Pv3G.js} +3 -3
- package/dist/{CDropdownItem-llOP71-u.js → CDropdownItem-BU65rYaX.js} +8 -8
- 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
- package/dist/{CPhoneFormat-BqLsCDaG.js → CPhoneFormat-CSys3pPM.js} +1 -1
- package/dist/{CPhoneInput-DDnmhr17.js → CPhoneInput-hF_VGitf.js} +5 -5
- package/dist/{CPriceInput-eaRaU9Ey.js → CPriceInput-CLM3EzaL.js} +2 -2
- package/dist/{CSelect-DDYAe8O9.js → CSelect-DsoRaNYd.js} +5 -5
- package/dist/{CSkeleton-BORdEFf8.js → CSkeleton-B0wL3--W.js} +7 -7
- package/dist/{ClientAutocomplete-DAwttq8D.js → ClientAutocomplete-qkpa-KG_.js} +16 -16
- package/dist/{ClientModal-C3UbUFjz.js → ClientModal-BHUD-VYM.js} +135 -127
- package/dist/{ColorPicker-D4Y4g8RF.js → ColorPicker-uVefUdOd.js} +21 -21
- package/dist/{CompanyModal-BvzLn9gU.js → CompanyModal-C38jvSZX.js} +66 -67
- package/dist/{ContentWrapper-oh1FnZea.js → ContentWrapper-Du0rszAK.js} +15 -15
- package/dist/{CoverBlockSettings-CW7PisRO.js → CoverBlockSettings-DqKNt5cM.js} +19 -19
- package/dist/{DocAnswer-scOVyvez.js → DocAnswer-Bm6FQnu7.js} +2 -2
- package/dist/{DocDetails-BKudQ3RU.js → DocDetails-Cg1EQ2xc.js} +100 -94
- package/dist/{DocForm-YI0UG4lv.js → DocForm-DUjeY7qQ.js} +440 -438
- package/dist/{DocFormSend-DK7zxycs.js → DocFormSend-B8x93Oo_.js} +2 -2
- package/dist/{DocLinks-CPhh8hox.js → DocLinks-bnZCCfQJ.js} +2 -2
- package/dist/{DocModalBase-C7vrvkFq.js → DocModalBase-CwuAA5_c.js} +1 -1
- package/dist/{DocPrint-tfB_Hw8V.js → DocPrint-DkmwNCYi.js} +9 -9
- package/dist/{DocReceipt-DoWB1suw.js → DocReceipt-BzrwYz7z.js} +111 -81
- package/dist/{DocSendReminder-DcezTbmh.js → DocSendReminder--ZuTWwRa.js} +1 -1
- package/dist/{DocTextEditor-Ci_Wegua.js → DocTextEditor-CblX6a9b.js} +8 -8
- package/dist/{DocTimeline-DwZyNRtc.js → DocTimeline-C3cx2eIz.js} +6 -6
- package/dist/{DocumentClient-BZPHT4vS.js → DocumentClient-B9yEPQ1U.js} +5 -5
- package/dist/{DocumentLayout-DwifYYit.js → DocumentLayout-BMgU3m7Q.js} +32 -32
- package/dist/{DocumentLogotype-D6DPT-i9.js → DocumentLogotype-BBA1HLK3.js} +31 -34
- package/dist/{DocumentVoided--b4zfli2.js → DocumentVoided-AL_vXoWD.js} +1 -1
- package/dist/{EmbedInput-DmAlziaD.js → EmbedInput-BHy9NMjl.js} +18 -18
- package/dist/{EmbedSettings-DZuM3vpE.js → EmbedSettings-DwcY0r8D.js} +5 -5
- package/dist/{ErrorCallout-DT3qQJOP.js → ErrorCallout-DKV9zW1H.js} +4 -4
- package/dist/{FilePreviewModal-BuPbzrFy.js → FilePreviewModal-DEoFvxri.js} +2 -2
- package/dist/{Flag-U3wm6frF.js → Flag-BZ7C12iN.js} +1 -1
- package/dist/{HeaderSettings-CC5rJ-UY.js → HeaderSettings-Bsj1JZNt.js} +20 -20
- package/dist/{ImageSelectModal-BiWCVyYs.js → ImageSelectModal-Dd9le6p5.js} +3 -3
- package/dist/{ImageUploadWrapper-CLJwtgVQ.js → ImageUploadWrapper-DY9TKhpB.js} +23 -23
- package/dist/{Index-DZzmEObV.js → Index-4ZB096MF.js} +9 -9
- package/dist/{Index-B0js1lQ9.js → Index-B1HU3FW8.js} +11 -11
- package/dist/{Index-hzFkpPtu.js → Index-B3S-W2Du.js} +26 -26
- package/dist/{Index-cb83jmmP.js → Index-B8v_k79U.js} +4 -4
- package/dist/{Index-jCDreJV4.js → Index-BPua2gSJ.js} +5 -5
- package/dist/{Index-UkLmXQf7.js → Index-BSDQejtT.js} +10 -10
- package/dist/{Index-Bh58_V98.js → Index-BW4sv9So.js} +5 -5
- package/dist/{Index-gZpXuLSM.js → Index-BWog4DkS.js} +2 -2
- package/dist/{Index-DIfpkUtR.js → Index-BZ5ZfAMl.js} +8 -8
- package/dist/Index-BfMZgBeX.js +4 -0
- package/dist/{Index-BBnlZtoe.js → Index-Bx8Dt9rr.js} +5 -5
- package/dist/{Index-BQUdVuCj.js → Index-C9W7656O.js} +8 -8
- package/dist/{Index-DwAyOR71.js → Index-CB7F-c3z.js} +3 -3
- package/dist/{Index-ZNidoNys.js → Index-CEg8sUf6.js} +2 -2
- package/dist/{Index-z6FhBfRg.js → Index-CEm7_7xb.js} +2 -2
- package/dist/{Index-011UWI-5.js → Index-CGDHE6Q9.js} +3 -3
- package/dist/{Index-Dmd9h-QW.js → Index-CadObAqC.js} +3 -3
- package/dist/{Index-C-Y_FGIG.js → Index-Cazuortx.js} +30 -30
- package/dist/{Index-BPE5xozF.js → Index-Cfh_uoVu.js} +1 -1
- package/dist/{Index-D8T4ZAGK.js → Index-D9S6btwh.js} +4 -4
- package/dist/{Index-BOxSyAOT.js → Index-DCeSSD89.js} +4 -4
- package/dist/{Index-C8tXlpnc.js → Index-DLzhjgNh.js} +4 -4
- package/dist/{Index-BbINQ0SU.js → Index-Da3NMw99.js} +1 -1
- package/dist/{Index-06RLiHU7.js → Index-DiQG7Yys.js} +8 -8
- package/dist/{Index-DND_3eOV.js → Index-DkuudM32.js} +14 -14
- package/dist/{Index-C6eCTYlb.js → Index-DpNsBSK5.js} +7 -7
- package/dist/{Index-BNrnEteM.js → Index-DsAM46X9.js} +6 -6
- package/dist/{Index-BZ3G8u4L.js → Index-IOHmUaDV.js} +16 -16
- package/dist/{Index-HpvIqyQK.js → Index-N95Kg_Bu.js} +4 -4
- package/dist/Index-T8YnqXUP.js +106 -0
- package/dist/{Index-C9yjlO_o.js → Index-bSfn5DlT.js} +13 -13
- package/dist/{Index-AOzEiDJ6.js → Index-hOzI3WwH.js} +2 -2
- package/dist/{Index-Lr-w-2nq.js → Index-lxyzCTwv.js} +28 -28
- package/dist/{Index-DspgGnIy.js → Index-usMDK34R.js} +6 -6
- package/dist/{Index.vue_vue_type_script_lang-FRTEgjSK.js → Index.vue_vue_type_script_lang-CyrjCnmM.js} +2 -2
- package/dist/{InputToggleRow-DrAFt_YF.js → InputToggleRow-DX08yhB8.js} +9 -9
- package/dist/{ManualPopover-BZr_lfqJ.js → ManualPopover-DjkDQLEk.js} +3 -3
- package/dist/{MediaWrapper-CuCltxOM.js → MediaWrapper-BRDS1uEY.js} +3 -3
- package/dist/{NotBindingText-D6QNyf03.js → NotBindingText-gttVLkSY.js} +2 -2
- package/dist/{PackageGroup-DonphykF.js → PackageGroup-DqCNizOl.js} +10 -10
- package/dist/{PdfTerms-BRwmINkR.js → PdfTerms-9EF-oTZV.js} +4 -4
- package/dist/{PdfViewer-DpmlfAfl.js → PdfViewer-fgokwyxy.js} +27 -27
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js → PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js} +1 -1
- package/dist/{PriceHeader-Cdh8apAZ.js → PriceHeader-DBiTZGL4.js} +25 -25
- package/dist/{SearchApi-B2ED3FdK.js → SearchApi-DP2NKS7Z.js} +1 -1
- package/dist/{SendForm-Bz1AN65o.js → SendForm-Dx-meiU3.js} +451 -421
- package/dist/{Setup-BIa-5REE.js → Setup-KZckFxmn.js} +1 -1
- package/dist/{SmartList-C9DXNnNX.js → SmartList-C7tf3UFs.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DPxTkygS.js → Sortable.vue_vue_type_script_setup_true_lang-CKwuc60B.js} +35 -35
- package/dist/{TermsSettings-BQC-y2g4.js → TermsSettings-O43bydwI.js} +11 -11
- package/dist/{ThemeColorRow-B1L2qfGx.js → ThemeColorRow-BiIviRnJ.js} +5 -5
- package/dist/{ToggleBinding-C2ct7wmC.js → ToggleBinding-DNh6J5WO.js} +4 -4
- package/dist/{UploadModal-CCy7i-cN.js → UploadModal-BLnwHEtM.js} +2 -2
- package/dist/{VideoPlayerInput-BluC_uCy.js → VideoPlayerInput-CDSsWKbt.js} +6 -6
- package/dist/{VideoPlayerSettings-DvoFmiks.js → VideoPlayerSettings-9e0rWXBn.js} +6 -6
- package/dist/{VideoSelectModal-yfI6keDu.js → VideoSelectModal-DdmGQUJs.js} +9 -9
- package/dist/{focusDrawerMixin-BS0v03Pf.js → focusDrawerMixin-Cz1mPbI5.js} +1 -1
- package/dist/{formDrawerState-DNNzOR3a.js → formDrawerState-VO67JhNj.js} +1 -1
- package/dist/{fortnoxTheme-DbdQ_k4_.js → fortnoxTheme-C6LfSfkU.js} +1 -1
- package/dist/{helpers-vOT4bDZk.js → helpers-DdvMGJyI.js} +1 -1
- package/dist/{index-aqgR0F9F.js → index--tMYYuEo.js} +30 -30
- package/dist/{index-C_k-2pHu.js → index-BtdoM5zU.js} +7 -7
- package/dist/{index-BinehglS.js → index-C6t6B42B.js} +26 -25
- package/dist/{index-DIxSHthq.js → index-CYrm4Bbf.js} +1 -1
- package/dist/{index-DSDwk2v_.js → index-Cn5TO9wL.js} +6 -6
- package/dist/{index-Cm9MF5Ro.js → index-DrxPFi0q.js} +22 -22
- package/dist/{index-BtZlk67X.js → index-SreRcZHY.js} +13 -13
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +151 -149
- package/dist/{main-CCA1EgK_.js → main-BI2UvBxx.js} +8359 -8142
- package/dist/{mapFormMixin-DarsdTYn.js → mapFormMixin-DmIyfVCN.js} +2 -2
- package/dist/omit-FBv_EXqi.js +56 -0
- package/dist/{splitpanes-B5GGsG65.js → splitpanes-CpTZw8TJ.js} +1 -1
- package/dist/{template-BTmi3cQk.js → template-B4OhhS85.js} +1 -1
- package/dist/{tippy.esm-Cc-sUEuY.js → tippy.esm-D5nfFX7g.js} +66 -66
- package/dist/{useTermsModal-CdnGQsw8.js → useTermsModal-CvdV0cT0.js} +4 -4
- package/dist/{utils-DLVtsRRz.js → utils-Blt-S487.js} +1 -1
- package/dist/validation-ZZ0eQUj2.js +40 -0
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-1MRJMA0V.js +0 -4
- package/dist/Index-DGkk540X.js +0 -87
- package/dist/omit-sqUJ46Re.js +0 -56
- package/dist/publicSenderState-CSYveOTQ.js +0 -21
- package/dist/validation-DGxGtXMe.js +0 -40
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as f } from "./SendForm-
|
|
2
|
-
import { _ as h, m as v, a as w, r as y, b as c, c as S, d as l, o as a, w as u, e as i, f as p, C as D, g as _ } from "./main-
|
|
1
|
+
import { S as f } from "./SendForm-Dx-meiU3.js";
|
|
2
|
+
import { _ as h, m as v, a as w, r as y, b as c, c as S, d as l, o as a, w as u, e as i, f as p, C as D, g as _ } from "./main-BI2UvBxx.js";
|
|
3
3
|
const s = y({
|
|
4
4
|
canEdit: !1,
|
|
5
5
|
isForm: !0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as s } from "./index-
|
|
2
|
-
import { _ as t, b as c, d as l, o as i, f as r } from "./main-
|
|
1
|
+
import { C as s } from "./index-Cn5TO9wL.js";
|
|
2
|
+
import { _ as t, b as c, d as l, o as i, f as r } from "./main-BI2UvBxx.js";
|
|
3
3
|
const a = {
|
|
4
4
|
name: "DocLinks",
|
|
5
5
|
components: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as C, aa as I, av as D, i as P, aw as k,
|
|
1
|
+
import { _ as C, aa as I, av as D, i as P, aw as k, ax as _, b as h, a5 as V, d as p, o as m, j as o, f as r, t as l, e as y, v as B, y as w, s as b, w as x, ay as E } from "./main-BI2UvBxx.js";
|
|
2
2
|
const z = {
|
|
3
3
|
i18nOptions: {
|
|
4
4
|
namespaces: "documentPrint",
|
|
@@ -188,7 +188,7 @@ function J(s, e, i, u, t, a) {
|
|
|
188
188
|
o("div", M, l(s.$t("_common:document")), 1),
|
|
189
189
|
o("div", O, [
|
|
190
190
|
o("div", {
|
|
191
|
-
class:
|
|
191
|
+
class: w([{ disabled: !i.document.attachedFiles.length }, "option-item__inner bg-gray-100 hover:bg-gray-200"]),
|
|
192
192
|
onClick: e[0] || (e[0] = (c) => t.options.appendAttachments = !t.options.appendAttachments)
|
|
193
193
|
}, [
|
|
194
194
|
r(n, {
|
|
@@ -206,7 +206,7 @@ function J(s, e, i, u, t, a) {
|
|
|
206
206
|
], 2),
|
|
207
207
|
B((m(), p("div", null, [
|
|
208
208
|
o("div", {
|
|
209
|
-
class:
|
|
209
|
+
class: w([{
|
|
210
210
|
disabled: !i.document.getAllNodesWithType("attachments").length
|
|
211
211
|
}, "option-item__inner border-t-2 border-white bg-gray-100 hover:bg-gray-200"]),
|
|
212
212
|
onClick: e[1] || (e[1] = (c) => t.options.hideDocumentAttachmentBlocks = !t.options.hideDocumentAttachmentBlocks)
|
|
@@ -231,7 +231,7 @@ function J(s, e, i, u, t, a) {
|
|
|
231
231
|
e[15] || (e[15] = o("div", { style: { height: "1.25rem" } }, null, -1)),
|
|
232
232
|
o("div", j, l(s.$t("_common:verification").capitalize()), 1),
|
|
233
233
|
o("div", {
|
|
234
|
-
class:
|
|
234
|
+
class: w([{ disabled: !a.allowVerification }, "option-item"])
|
|
235
235
|
}, [
|
|
236
236
|
o("div", {
|
|
237
237
|
class: "option-item__inner bg-gray-100 hover:bg-gray-200",
|
|
@@ -262,7 +262,7 @@ function J(s, e, i, u, t, a) {
|
|
|
262
262
|
o("div", null, [
|
|
263
263
|
o("div", null, l(s.$t("showEvents")), 1)
|
|
264
264
|
])
|
|
265
|
-
])) :
|
|
265
|
+
])) : y("", !0),
|
|
266
266
|
t.options.showVerification && a.hasBankIdSignatures ? (m(), p("div", $, [
|
|
267
267
|
o("div", {
|
|
268
268
|
class: "mb-1 mt-3 inline-flex cursor-pointer select-none items-center rounded p-2 text-xs font-medium leading-none text-gray-500 hover:bg-gray-100",
|
|
@@ -271,7 +271,7 @@ function J(s, e, i, u, t, a) {
|
|
|
271
271
|
b(l(s.$t("_common:more").capitalize()) + " ", 1),
|
|
272
272
|
r(f, {
|
|
273
273
|
type: "chevron-right",
|
|
274
|
-
class:
|
|
274
|
+
class: w([{ "rotate-90": t.showMoreOptions }, "ml-0.5 transition-transform"]),
|
|
275
275
|
"stroke-width": "2.25",
|
|
276
276
|
size: "12"
|
|
277
277
|
}, null, 8, ["class"])
|
|
@@ -292,11 +292,11 @@ function J(s, e, i, u, t, a) {
|
|
|
292
292
|
o("div", null, [
|
|
293
293
|
o("div", null, l(s.$t("showLast4ssn")), 1)
|
|
294
294
|
])
|
|
295
|
-
])) :
|
|
295
|
+
])) : y("", !0)
|
|
296
296
|
]),
|
|
297
297
|
_: 1
|
|
298
298
|
})
|
|
299
|
-
])) :
|
|
299
|
+
])) : y("", !0)
|
|
300
300
|
], 2),
|
|
301
301
|
a.showAdminOptions ? (m(), p("div", U, [
|
|
302
302
|
e[13] || (e[13] = o("div", { style: { height: "1.25rem" } }, null, -1)),
|
|
@@ -356,7 +356,7 @@ function J(s, e, i, u, t, a) {
|
|
|
356
356
|
placeholder: "Optional extra timeout (ms)"
|
|
357
357
|
}, null, 8, ["modelValue"])
|
|
358
358
|
])
|
|
359
|
-
])) :
|
|
359
|
+
])) : y("", !0)
|
|
360
360
|
])
|
|
361
361
|
]),
|
|
362
362
|
r(v, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { C as R, a as B } from "./CDropdownItem-BU65rYaX.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-BI2UvBxx.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, aa as D, g as $, b as y,
|
|
1
|
+
import { _ as b, m as T, a as C, aa 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-BI2UvBxx.js";
|
|
2
2
|
const w = {
|
|
3
3
|
name: "DocumentSendReminderModal",
|
|
4
4
|
i18nOptions: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a7 as Xr,
|
|
1
|
+
import { a7 as Xr, B as Qr, a4 as wd, H as na, ak 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, an 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, ai as Ed, c5 as Od, n as sa, al as Nd, aE as us, X as Rd, af as bi, am as Dd, U as hs, a0 as Ld } from "./main-BI2UvBxx.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-D5nfFX7g.js";
|
|
4
|
+
import { d as aa } from "./helpers-DdvMGJyI.js";
|
|
5
|
+
import { C as Bd } from "./ColorPicker-uVefUdOd.js";
|
|
6
|
+
import { _ as ca } from "./ManualPopover-DjkDQLEk.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-BU65rYaX.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--tMYYuEo.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-DEoFvxri.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-B0wL3--W.js";
|
|
2
|
+
import { _ as b, b5 as D, b6 as S, b as y, 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, af as V, aE as H, w as L } from "./main-BI2UvBxx.js";
|
|
3
3
|
const G = {
|
|
4
4
|
name: "EventItem",
|
|
5
5
|
components: {
|
|
@@ -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,
|
|
@@ -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,7 +361,7 @@ 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
|
}
|
|
@@ -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-BMgU3m7Q.js";
|
|
2
|
+
import { _ as s, r as _, b as c, d as V, o, U as y, c as u } from "./main-BI2UvBxx.js";
|
|
3
|
+
import "./template-B4OhhS85.js";
|
|
4
|
+
import { u as D } from "./validation-ZZ0eQUj2.js";
|
|
5
|
+
import { D as F } from "./DocumentVoided-AL_vXoWD.js";
|
|
6
6
|
const r = _({
|
|
7
7
|
canEdit: !1,
|
|
8
8
|
isForm: !1,
|