@cling-se/widget 0.14.4 → 0.14.6
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/dist/AddClientCallout-C7abPZ87.js +46 -0
- package/dist/AnswerModal-CsA2pl2P.js +3874 -0
- package/dist/AttachmentItem-Da1-7xwf.js +78 -0
- package/dist/BaseDatePicker-k9zlSi5J.js +3183 -0
- package/dist/BaseUpload-BUrXX3fT.js +1977 -0
- package/dist/BlockMedia-CYI07qAn.js +76 -0
- package/dist/CCallout-Qwae66vo.js +59 -0
- package/dist/CCurrencyDropdown-Y_u0hgBx.js +246 -0
- package/dist/CDropdownItem-CXJ4xD8W.js +538 -0
- package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +1 -0
- package/dist/CFormField--m3PvQuT.js +241 -0
- package/dist/CPhoneFormat-Qg6MkDVP.js +62 -0
- package/dist/CPriceInput-Dlx44UrR.js +112 -0
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_b7262014_lang-l0sNRNKZ.js +1 -0
- package/dist/ClientAutocomplete-BKKc_br6.js +78 -0
- package/dist/ClientModal-CVZFb1Br.js +625 -0
- package/dist/ColorPicker-Bo3s3Esp.js +2879 -0
- package/dist/CompanyModal-DadjAioS.js +141 -0
- package/dist/ContentWrapper-BC3ZBQW9.js +183 -0
- package/dist/CoverBlockSettings-B484eE4g.js +275 -0
- package/dist/DocAnswer-CcYryOWI.js +36 -0
- package/dist/DocDetails-BigsoEWL.js +246 -0
- package/dist/DocForm-DlN0eNWt.js +7273 -0
- package/dist/DocFormSend-TqKo210I.js +143 -0
- package/dist/DocLinks-DSo54vDn.js +38 -0
- package/dist/DocModalBase-XlM1SThW.js +28 -0
- package/dist/DocPrint-tD0Vd9Sw.js +240 -0
- package/dist/DocReceipt-CDHPrhXM.js +210 -0
- package/dist/DocSendReminder-C62RhltH.js +137 -0
- package/dist/DocTextEditor-VjhV9IRp.js +17181 -0
- package/dist/DocTimeline-LcW4z3nC.js +481 -0
- package/dist/DocumentClient-CqbTRdpB.js +136 -0
- package/dist/DocumentLayout-Dbf8_01r.js +4909 -0
- package/dist/DocumentLogotype-DXYnBedV.js +87 -0
- package/dist/DocumentVoided-vH1Ti5lZ.js +25 -0
- package/dist/EmbedInput-D9qP8OnY.js +113 -0
- package/dist/EmbedSettings-DISuNqJT.js +72 -0
- package/dist/ErrorCallout-CCtCVwSh.js +28 -0
- package/dist/FilePreviewModal-BjhNyb6L.js +81 -0
- package/dist/Flag-Dhukv9_J.js +114 -0
- package/dist/HeaderSettings-CK4SkB1x.js +392 -0
- package/dist/ImageSelectModal-DnvPZzXx.js +84 -0
- package/dist/ImageUploadWrapper-B7cNMu5a.js +1604 -0
- package/dist/Index-B3HoK_cZ.js +84 -0
- package/dist/Index-B3aucNji.js +25 -0
- package/dist/Index-B9H5MMHb.js +62 -0
- package/dist/Index-BAYdvT-t.js +754 -0
- package/dist/Index-BLeQprjq.js +46 -0
- package/dist/Index-BOyvQlng.js +154 -0
- package/dist/Index-BVsw2tak.js +70 -0
- package/dist/Index-BY1UKGEO.js +98 -0
- package/dist/Index-Bh0kMSsA.js +107 -0
- package/dist/Index-BlQSM7tC.js +144 -0
- package/dist/Index-BpcJBGGd.js +642 -0
- package/dist/Index-Bs8wprXw.js +58 -0
- package/dist/Index-BvZZAvFd.js +21 -0
- package/dist/Index-CFo-3Y5Q.js +26 -0
- package/dist/Index-CNvp5K3L.js +559 -0
- package/dist/Index-CPJVx14x.js +171 -0
- package/dist/Index-CQ325eVT.js +140 -0
- package/dist/Index-CWrDtcfT.js +49 -0
- package/dist/Index-CyJnSvDR.js +223 -0
- package/dist/Index-D6bc7lg4.js +52 -0
- package/dist/Index-DCR8ev4U.js +33 -0
- package/dist/Index-DGQSB9cH.js +24 -0
- package/dist/Index-DXAvlq74.js +292 -0
- package/dist/Index-D_rfst8y.js +45 -0
- package/dist/Index-Dm8xMFGg.js +61 -0
- package/dist/Index-DtSSgtxB.js +55 -0
- package/dist/Index-DuTw9vhb.js +77 -0
- package/dist/Index-Dw26jtGV.js +31 -0
- package/dist/Index-OxN73_fO.js +32 -0
- package/dist/Index-S-FHG7_k.js +2402 -0
- package/dist/Index-ZFkitzfq.js +69 -0
- package/dist/Index-dyWK9jgr.js +25 -0
- package/dist/Index-gb11ngPS.js +57 -0
- package/dist/Index-lKk_XKJ3.js +150 -0
- package/dist/InputToggleRow-DSSvhPKA.js +57 -0
- package/dist/ManualPopover-lpJYSkw5.js +58 -0
- package/dist/MediaWrapper-BQ22FA2B.js +23 -0
- package/dist/NotBindingText-JxwzZLPP.js +32 -0
- package/dist/PackageGroup-BLSMSUDz.js +699 -0
- package/dist/PdfTerms-DtutjM5Y.js +36 -0
- package/dist/PdfViewer-BsxcZI_x.js +374 -0
- package/dist/PlainHtml-BMPZs2fT.js +20 -0
- package/dist/PriceHeader-BRYY01H2.js +339 -0
- package/dist/SearchApi-6001iFxU.js +161 -0
- package/dist/Setup-cw6jMI9M.js +50 -0
- package/dist/SmartList-q6H-uLbm.js +83 -0
- package/dist/TermsSettings-DWvaPneu.js +102 -0
- package/dist/ThemeColorRow-BXWnvfz-.js +67 -0
- package/dist/ToggleBinding-DydtwpNG.js +38 -0
- package/dist/UploadModal-D_EDKHGD.js +95 -0
- package/dist/VideoPlayerInput-B9yzUeBW.js +93 -0
- package/dist/VideoPlayerSettings-Bvp9l0yj.js +61 -0
- package/dist/VideoSelectModal-DY3N4JiS.js +100 -0
- package/dist/anime.es-BrPTThYb.js +858 -0
- package/dist/answerDocumentMixin-BYZPU_R-.js +51 -0
- package/dist/color-TdtKxwVa.js +19 -0
- package/dist/debounce-BPnlzNwd.js +84 -0
- package/dist/dom-CJxkno7i.js +91 -0
- package/dist/favicon.ico +0 -0
- package/dist/focusDrawerMixin-DC9Oa1i7.js +22 -0
- package/dist/formComponentsInstall-CEW6TK6z.js +2499 -0
- package/dist/formDrawerState-CAzvSMiQ.js +20 -0
- package/dist/formValidationMixin-D7zXxCpC.js +49 -0
- package/dist/i18nMessages-Chz_lxGG.js +17 -0
- package/dist/index-B9WDC3Xe.js +166 -0
- package/dist/index-BCMaUC5r.js +3916 -0
- package/dist/index-BDMI4NVY.js +492 -0
- package/dist/index-BbscgdRg.js +81 -0
- package/dist/index-CLUljEDI.js +347 -0
- package/dist/index-SxyZvewN.js +102 -0
- package/dist/index.es.js +35 -0
- package/dist/index.umd.js +3148 -0
- package/dist/main-CQBEuZk9.js +56739 -0
- package/dist/mapFormMixin-DlFcgwhm.js +72 -0
- package/dist/omit-BWy0Zhd3.js +31 -0
- package/dist/publicSenderState-CvOcFv2U.js +21 -0
- package/dist/splitpanes-BHUVsCZF.js +382 -0
- package/dist/style.css +4 -0
- package/dist/throttle-BrC8eGjQ.js +18 -0
- package/dist/tinycolor-PhFP695w.js +633 -0
- package/dist/tippy.esm-7dmKOUvu.js +1799 -0
- package/dist/utils-NBLgNGHR.js +108 -0
- package/dist/vuedraggable.umd-ByfH7ZxC.js +3161 -0
- package/dist/vuex.esm-DKGl8mcw.js +467 -0
- package/package.json +1 -1
- package/vite.config.ts +0 -1
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { D as f } from "./DocumentVoided-vH1Ti5lZ.js";
|
|
2
|
+
import { C as g, a as h, w } from "./CDropdownItem-CXJ4xD8W.js";
|
|
3
|
+
import { n as r, ag as $, b as x, ah as y, ai as b, aj as C } from "./main-CQBEuZk9.js";
|
|
4
|
+
import { C as S } from "./CPhoneFormat-Qg6MkDVP.js";
|
|
5
|
+
const D = {
|
|
6
|
+
name: "PublicDocumentEvents",
|
|
7
|
+
props: {
|
|
8
|
+
document: {
|
|
9
|
+
type: Object,
|
|
10
|
+
default: () => ({})
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
computed: {
|
|
14
|
+
events() {
|
|
15
|
+
const s = [], { acceptedAt: e } = this.document;
|
|
16
|
+
return this.document.events.filter(({ createdAt: t }) => e ? $(e, t) : !0).forEach((t) => {
|
|
17
|
+
const { code: i, createdAt: n, children: c = [] } = t;
|
|
18
|
+
let { data: l = {} } = t;
|
|
19
|
+
l === null && (l = {});
|
|
20
|
+
const { client: a = {}, clients: u = [], status: p, counter: _ } = l, m = {
|
|
21
|
+
sent: () => u.map((o) => {
|
|
22
|
+
const d = this.getClientName(o.id), v = this.filteredOxfordComma([
|
|
23
|
+
o.email,
|
|
24
|
+
o.cellphone
|
|
25
|
+
]);
|
|
26
|
+
return {
|
|
27
|
+
text: this.document.$t("event.sent", {
|
|
28
|
+
to: `${d ? d + ", " : ""}${v}`
|
|
29
|
+
}),
|
|
30
|
+
time: n
|
|
31
|
+
};
|
|
32
|
+
}),
|
|
33
|
+
viewed: () => {
|
|
34
|
+
const o = _ || c.length + 1;
|
|
35
|
+
return [
|
|
36
|
+
{
|
|
37
|
+
text: `${this.document.$t(
|
|
38
|
+
`event.${a.name ? "viewedName" : "viewed"}`,
|
|
39
|
+
{ name: a.name }
|
|
40
|
+
)} ${o ? this.document.$tc("times", { count: o }) : ""}.`,
|
|
41
|
+
time: n
|
|
42
|
+
}
|
|
43
|
+
];
|
|
44
|
+
},
|
|
45
|
+
accepted: () => [
|
|
46
|
+
{
|
|
47
|
+
text: this.document.$t("event.accepted", {
|
|
48
|
+
by: a.name || a.email || a.cellphone
|
|
49
|
+
}),
|
|
50
|
+
time: n
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
denied: () => [
|
|
54
|
+
{
|
|
55
|
+
text: this.document.$t("event.denied", {
|
|
56
|
+
by: a.name || a.email || a.cellphone
|
|
57
|
+
}),
|
|
58
|
+
time: n
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
statusChanged: () => [
|
|
62
|
+
{
|
|
63
|
+
text: this.document.$t("event.statusChanged", {
|
|
64
|
+
status: this.document.$t(`status.${p}`).toLowerCase()
|
|
65
|
+
}),
|
|
66
|
+
time: n
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
requestChange: () => [
|
|
70
|
+
{
|
|
71
|
+
text: this.document.$t("event.requestChange", {
|
|
72
|
+
status: this.document.$t(`status.${p}`).toLowerCase()
|
|
73
|
+
}),
|
|
74
|
+
time: n
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
expired: () => [
|
|
78
|
+
{
|
|
79
|
+
text: this.document.$t("event.expired"),
|
|
80
|
+
time: n
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
};
|
|
84
|
+
m[i] && s.push(...m[i]());
|
|
85
|
+
}), s;
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
methods: {
|
|
89
|
+
filteredOxfordComma(s = []) {
|
|
90
|
+
const e = s.filter((i) => !!i), t = e.length;
|
|
91
|
+
return t ? t < 2 ? e[0] : `${e.slice(0, -1).join(", ")} ${this.document.$t("and")} ${e.slice(
|
|
92
|
+
-1
|
|
93
|
+
)}` : "";
|
|
94
|
+
},
|
|
95
|
+
getClientName(s) {
|
|
96
|
+
const e = this.document.clients.find(({ id: t }) => t === s);
|
|
97
|
+
return e ? e.name : "";
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
render() {
|
|
101
|
+
return this.$scopedSlots.default({
|
|
102
|
+
events: this.events
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}, z = null, k = null;
|
|
106
|
+
var P = /* @__PURE__ */ r(
|
|
107
|
+
D,
|
|
108
|
+
z,
|
|
109
|
+
k,
|
|
110
|
+
!1,
|
|
111
|
+
null,
|
|
112
|
+
null
|
|
113
|
+
);
|
|
114
|
+
const F = P.exports, A = {
|
|
115
|
+
name: "PublicRecipientItem",
|
|
116
|
+
i18nOptions: {
|
|
117
|
+
namespaces: "components",
|
|
118
|
+
keyPrefix: "document.myPagesDrawer"
|
|
119
|
+
},
|
|
120
|
+
components: {
|
|
121
|
+
CPhoneFormat: S
|
|
122
|
+
},
|
|
123
|
+
props: {
|
|
124
|
+
recipient: {
|
|
125
|
+
type: Object,
|
|
126
|
+
required: !0
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
methods: {
|
|
130
|
+
get: x,
|
|
131
|
+
getBrowserString({ browser: s, os: e, device: t }) {
|
|
132
|
+
return [s && s.name, e && e.name, t && t.model].filter((i) => !!i).join(", ");
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
var R = function() {
|
|
137
|
+
var e = this, t = e._self._c;
|
|
138
|
+
return t("div", { staticStyle: { border: "1px solid hsl(0, 0%, 84%)", "border-radius": "3px", "margin-bottom": "1em" } }, [t("div", { staticStyle: { padding: "0.5em 0.75em" } }, [e._l([
|
|
139
|
+
e.recipient.name,
|
|
140
|
+
e.recipient.companyName,
|
|
141
|
+
e.recipient.orgNo
|
|
142
|
+
], function(i, n) {
|
|
143
|
+
return t("span", { key: `${i}-${n}`, style: n === 0 ? { fontWeight: 500 } : { opacity: 0.65 } }, [e._v(" " + e._s(i && n > 0 ? "·" : "") + " " + e._s(i) + " ")]);
|
|
144
|
+
}), t("div", { staticClass: "flex w-full flex-col", staticStyle: { "font-size": "14px", "align-items": "baseline" } }, [e.recipient.email ? t("a", { attrs: { href: `mailto:${e.recipient.email}`, target: "_blank" } }, [e._v(" " + e._s(e.recipient.email) + " ")]) : e._e(), e.recipient.cellphone ? t("CPhoneFormat", { attrs: { phone: e.recipient.cellphone, region: e.recipient.cellphoneRegion }, scopedSlots: e._u([{ key: "default", fn: function({ formattedValue: i }) {
|
|
145
|
+
return t("a", { attrs: { href: `tel:${e.recipient.cellphone}` } }, [e._v(" " + e._s(i) + " ")]);
|
|
146
|
+
} }], null, !1, 2469850174) }) : e._e()], 1)], 2), t("div", { staticStyle: { "background-color": "hsl(0, 0%, 94%)", padding: "0.75em 0.75em", "font-weight": "500", "font-size": "13px", "line-height": "1", color: "hsl(0, 0%, 40%)", position: "relative" } }, [t("div", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.recipient.documentRole}.label`)) + " ")]), t("div", { staticStyle: { position: "absolute", right: "1em", top: "0px", transform: "translate(0, -50%)" } }, [t("v-popover", { attrs: { "popover-inner-class": "signee-popover", trigger: "hover", placement: "bottom-end" } }, [e.recipient.documentRole === "signee" ? t("div", { staticStyle: { padding: "5px 0.75em", background: "hsl(0, 0%, 60%)", "border-radius": "4px", "font-size": "13px", color: "hsl(0, 0%, 100%)", cursor: "default", display: "inline-flex", "align-items": "center" } }, [t("CIcon", { staticStyle: { "margin-right": "0.5ch" }, attrs: { size: 15, type: "info", "stroke-width": "2" } }), e.recipient.answer && e.recipient.answer.didAccept ? [e._v(" " + e._s(e.$t("_common:approved").capitalize()) + " ")] : e.recipient.answer ? [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")] : [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.waitingForAnswer")) + " ")]], 2) : e._e(), t("div", { staticStyle: { padding: "0" }, attrs: { slot: "popover" }, slot: "popover" }, [t("div", { staticStyle: { padding: "1em 1.5em" } }, [e.recipient.answer && e.recipient.answer.didAccept ? [e.recipient.answer.signatureDataURL ? t("div", { staticStyle: { "padding-bottom": "0.5em" } }, [t("div", { staticClass: "has-text-grey", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("_common:signature").capitalize()) + " ")]), t("img", { staticStyle: { width: "80%" }, attrs: { src: e.recipient.answer.signatureDataURL } })]) : t("div", { staticStyle: { "font-size": "13px", "padding-top": "3px" } }, [e.get(e.recipient, "answerMethod.accept") === "bankId" ? [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.signedBankId")) + " ")]), t("div", [e._v(e._s(e.recipient.answer.response.name))]), t("div", [e._v(e._s(e.recipient.socialNo))])] : e.get(e.recipient, "answerMethod.accept") === "login" ? t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.verifiedLogin")) + " ")]) : e._e()], 2)] : e.recipient.answer ? t("div", [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")]) : t("div", [e._v(" " + e._s(e.$t("pendingAnswer")) + " ")])], 2), e.recipient.answer ? t("div", { staticStyle: { padding: "8px 1.5em", "border-top": "1px solid hsl(0deg 0% 88%)", "background-color": "hsl(0deg 0% 95%)", "font-size": "13px", color: "hsl(0, 0%, 35%)", "font-weight": "500" } }, [e.recipient.answer.didAnswerAt ? t("div", [t("div", [e._v(" " + e._s(e.$t("_common:date").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "P")) + " ")]), t("div", [e._v(" " + e._s(e.$t("_common:time").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "p")) + " ")])]) : e._e(), e.recipient.answer.ip ? t("div", [e._v(" IP: " + e._s(e.recipient.answer.ip) + " ")]) : e._e(), e.recipient.answer.browser ? t("div", [e._v(" Browser: " + e._s(e.getBrowserString(e.recipient.answer)) + " ")]) : e._e()]) : e._e()])])], 1)])]);
|
|
147
|
+
}, L = [], j = /* @__PURE__ */ r(
|
|
148
|
+
A,
|
|
149
|
+
R,
|
|
150
|
+
L,
|
|
151
|
+
!1,
|
|
152
|
+
null,
|
|
153
|
+
"28784b79"
|
|
154
|
+
);
|
|
155
|
+
const I = j.exports, q = {
|
|
156
|
+
name: "DocumentDetails",
|
|
157
|
+
components: {
|
|
158
|
+
PublicDocumentEvents: F,
|
|
159
|
+
PublicRecipientItem: I,
|
|
160
|
+
CDropdown: g,
|
|
161
|
+
CDropdownItem: h
|
|
162
|
+
},
|
|
163
|
+
mixins: [w],
|
|
164
|
+
props: {
|
|
165
|
+
document: {
|
|
166
|
+
type: Object,
|
|
167
|
+
required: !0
|
|
168
|
+
},
|
|
169
|
+
openPrintFunc: {
|
|
170
|
+
type: Function,
|
|
171
|
+
default: null
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
data() {
|
|
175
|
+
return {
|
|
176
|
+
docLanguages: y,
|
|
177
|
+
nativeTranslations: b
|
|
178
|
+
};
|
|
179
|
+
},
|
|
180
|
+
computed: {
|
|
181
|
+
viewer() {
|
|
182
|
+
return this.document.viewer;
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
methods: {
|
|
186
|
+
changeLanguage(s) {
|
|
187
|
+
this.document.language = s, this.$root.$i18n.i18next.changeLanguage(
|
|
188
|
+
C.includes(s) ? s : "en"
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
var O = function() {
|
|
194
|
+
var e = this, t = e._self._c;
|
|
195
|
+
return t("div", { staticClass: "relative flex h-full w-full flex-col overflow-hidden rounded-lg bg-white text-base shadow-md" }, [t("div", { staticClass: "z-10 flex w-full items-center justify-end px-6 py-4 shadow-sm" }, [e.openPrintFunc ? [t("CButton", { staticStyle: { "padding-left": "1em", "padding-right": "1em" }, attrs: { "icon-left": "print", type: "none", pattern: "tertiary", taller: "", size: "small" }, on: { click: e.openPrintFunc } }, [e._v(" " + e._s(e.document.$t("download", { thing: "PDF" })) + " ")]), t("div", { staticStyle: { height: "2rem", width: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "0 6px" } })] : e._e(), t("CDropdown", { attrs: { value: e.document.language } }, [t("CButton", { staticStyle: { color: "hsla(0, 0%, 45%, 1)" }, attrs: { slot: "trigger", "icon-props": { size: 18 }, size: "normal", icon: "globe", circle: "" }, slot: "trigger" }), e._l(e.docLanguages, function(i) {
|
|
196
|
+
return t("CDropdownItem", { key: i, attrs: { value: i }, on: { click: function(n) {
|
|
197
|
+
return e.changeLanguage(i);
|
|
198
|
+
} } }, [e._v(" " + e._s(e.nativeTranslations[i]) + " ")]);
|
|
199
|
+
})], 2), t("CButton", { staticStyle: { "margin-left": "6px", color: "hsla(0, 0%, 45%, 1)" }, attrs: { "icon-props": { size: 18 }, size: "normal", icon: "x", circle: "" }, on: { click: function(i) {
|
|
200
|
+
return e.$emit("close");
|
|
201
|
+
} } })], 2), t("div", { staticClass: "d-root h-full min-h-0 flex-1 overflow-auto px-6 py-8 md:px-12 md:py-16" }, [t("div", { staticClass: "mb-[3em] flex justify-between" }, [t("div", [t("div", { staticStyle: { "font-size": "18px", "font-weight": "600" } }, [e._v(" " + e._s(e.document.$t("detail_plural").capitalize()) + " ")]), t("div", { staticClass: "has-text-grey", staticStyle: { "font-size": "14px" } }, [e._v(" " + e._s(e.document.$t("documentDetails.subTitle")) + " ")])])]), t("div", { staticClass: "d-option", staticStyle: { "margin-bottom": "3em" } }, [t("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "0.5rem" } }, [e._v(" " + e._s(e.document.$t("participant_plural").capitalize()) + " ")]), e._l(e.document.recipients, function(i, n) {
|
|
202
|
+
return t("PublicRecipientItem", { key: i._uniqueId + n, attrs: { recipient: i } });
|
|
203
|
+
})], 2), t("PublicDocumentEvents", { attrs: { document: e.document }, scopedSlots: e._u([{ key: "default", fn: function({ events: i }) {
|
|
204
|
+
return [i && i.length ? t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(" " + e._s(e.document.$t("event.event_plural").capitalize()) + " ")]), t("div", { attrs: { id: "timeline" } }, [t("div", e._l(i, function(n, c) {
|
|
205
|
+
return t("div", { key: c, staticClass: "e-item" }, [t("div", { staticClass: "e-data" }, [t("div", { staticClass: "e-text" }, [e._v(e._s(n.text))]), t("div", { staticClass: "e-timestamp" }, [t("div", { staticClass: "e-date" }, [e._v(e._s(e.$formatDate(n.time, "P")))]), t("div", { staticClass: "e-time", staticStyle: { "padding-left": "0.5ch" } }, [e._v(" " + e._s(e.$formatDate(n.time, "p")) + " ")])])])]);
|
|
206
|
+
}), 0)])]) : e._e()];
|
|
207
|
+
} }]) }), e.mq === "sm" ? t("div", [e._t("footer")], 2) : e._e()], 1), e.mq !== "sm" ? t("div", [e._t("footer")], 2) : e._e()]);
|
|
208
|
+
}, B = [], N = /* @__PURE__ */ r(
|
|
209
|
+
q,
|
|
210
|
+
O,
|
|
211
|
+
B,
|
|
212
|
+
!1,
|
|
213
|
+
null,
|
|
214
|
+
"bc6efd6a"
|
|
215
|
+
);
|
|
216
|
+
const V = N.exports, E = {
|
|
217
|
+
components: {
|
|
218
|
+
DocumentDetails: V,
|
|
219
|
+
DocumentVoided: f
|
|
220
|
+
},
|
|
221
|
+
props: {
|
|
222
|
+
document: {
|
|
223
|
+
type: Object,
|
|
224
|
+
required: !0
|
|
225
|
+
},
|
|
226
|
+
closeFunc: {
|
|
227
|
+
type: Function,
|
|
228
|
+
default: null
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
var T = function() {
|
|
233
|
+
var e = this, t = e._self._c;
|
|
234
|
+
return e.document && e.document.status === "voided" ? t("DocumentVoided", { attrs: { document: e.document } }) : t("DocumentDetails", { attrs: { document: e.document }, on: { close: e.closeFunc } });
|
|
235
|
+
}, M = [], U = /* @__PURE__ */ r(
|
|
236
|
+
E,
|
|
237
|
+
T,
|
|
238
|
+
M,
|
|
239
|
+
!1,
|
|
240
|
+
null,
|
|
241
|
+
"a913ff7e"
|
|
242
|
+
);
|
|
243
|
+
const K = U.exports;
|
|
244
|
+
export {
|
|
245
|
+
K as default
|
|
246
|
+
};
|