@cling-se/widget 0.14.3 → 0.14.4
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/.eslintrc.cjs +4 -4
- package/README.md +40 -40
- package/package.json +1 -1
- package/tsconfig.json +26 -26
- package/tsconfig.node.json +10 -10
- package/tsconfig.paths.json +17 -17
- package/vite.config.ts +61 -61
- package/dist/AddClientCallout-DKH-LP5B.js +0 -46
- package/dist/AnswerModal-BCbq8wc4.js +0 -3869
- package/dist/AttachmentItem-60CSZnkF.js +0 -78
- package/dist/BaseDatePicker-Cl8SnC1k.js +0 -3183
- package/dist/BaseUpload-D4FCjlhL.js +0 -1977
- package/dist/BlockMedia-CqkwdGnE.js +0 -76
- package/dist/CCallout-BTBgU8f-.js +0 -59
- package/dist/CCurrencyDropdown-CL32Mo-Y.js +0 -246
- package/dist/CDropdownItem-DlWtQwO6.js +0 -538
- package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
- package/dist/CFormField-BxJv-nUO.js +0 -241
- package/dist/CPhoneFormat-CJ9kndtJ.js +0 -62
- package/dist/CPriceInput-BpXI5X2j.js +0 -112
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
- package/dist/ClientAutocomplete-D9Dj9iBW.js +0 -78
- package/dist/ClientModal-JOt8NGcR.js +0 -625
- package/dist/ColorPicker-uPKD-Gvm.js +0 -2879
- package/dist/CompanyModal-7bG0iIRd.js +0 -141
- package/dist/ContentWrapper-B2nyZHL4.js +0 -183
- package/dist/CoverBlockSettings-C1O_FAde.js +0 -275
- package/dist/DocAnswer-B9G-y4Px.js +0 -36
- package/dist/DocDetails-DYHxKChO.js +0 -246
- package/dist/DocForm-BktEXjML.js +0 -7273
- package/dist/DocFormSend-DM6QgUOj.js +0 -143
- package/dist/DocLinks-BIGwfB3H.js +0 -38
- package/dist/DocModalBase-D5GdwTI7.js +0 -28
- package/dist/DocPrint-HqbaIGms.js +0 -240
- package/dist/DocReceipt-WXo6vWyW.js +0 -210
- package/dist/DocSendReminder-C8dNEpLg.js +0 -137
- package/dist/DocTextEditor-BfOZFDTP.js +0 -17177
- package/dist/DocTimeline-CitwS9px.js +0 -481
- package/dist/DocumentClient-CQ_z8ajY.js +0 -136
- package/dist/DocumentLayout-BA7mFfZh.js +0 -4909
- package/dist/DocumentLogotype-woc_hfll.js +0 -87
- package/dist/DocumentVoided-DC4FzpxG.js +0 -25
- package/dist/EmbedInput-CheqYcNr.js +0 -113
- package/dist/EmbedSettings-YcwM8hJw.js +0 -72
- package/dist/ErrorCallout-6pCYcx00.js +0 -28
- package/dist/FilePreviewModal-T8AiphqO.js +0 -81
- package/dist/Flag-Ddm6a4Il.js +0 -114
- package/dist/HeaderSettings-DHdZweJH.js +0 -392
- package/dist/ImageSelectModal-CAoBhnI8.js +0 -84
- package/dist/ImageUploadWrapper-CNv59Lhh.js +0 -1604
- package/dist/Index-B6S9U4Z-.js +0 -26
- package/dist/Index-BHX0D5fW.js +0 -559
- package/dist/Index-BL_7m5Ca.js +0 -70
- package/dist/Index-BXMXEUfo.js +0 -223
- package/dist/Index-BhVBvMu6.js +0 -32
- package/dist/Index-Bl_SNW80.js +0 -25
- package/dist/Index-BsguntKl.js +0 -21
- package/dist/Index-CGYjPfsf.js +0 -2402
- package/dist/Index-CKrGb3of.js +0 -61
- package/dist/Index-CMNrQo5a.js +0 -140
- package/dist/Index-CU50Al5c.js +0 -642
- package/dist/Index-CdqrrZxd.js +0 -77
- package/dist/Index-CfnL9dAw.js +0 -58
- package/dist/Index-CuW0MYrT.js +0 -171
- package/dist/Index-D-z8JSn6.js +0 -154
- package/dist/Index-D8giJ_bs.js +0 -84
- package/dist/Index-DDvfqy_h.js +0 -24
- package/dist/Index-DQDalqZ-.js +0 -107
- package/dist/Index-DTIPKKkV.js +0 -150
- package/dist/Index-DWxzUBff.js +0 -754
- package/dist/Index-DaNGeDQw.js +0 -144
- package/dist/Index-DfLU_AyN.js +0 -49
- package/dist/Index-DkVav_I7.js +0 -25
- package/dist/Index-Dxp8QAtB.js +0 -57
- package/dist/Index-DzjxFkcv.js +0 -52
- package/dist/Index-EwUJJWaB.js +0 -69
- package/dist/Index-I60qAqLl.js +0 -31
- package/dist/Index-LfF-7lQK.js +0 -292
- package/dist/Index-P0_dyc2V.js +0 -45
- package/dist/Index-RQMPSeHw.js +0 -98
- package/dist/Index-oipNLl3Y.js +0 -46
- package/dist/Index-sJq2Iyvt.js +0 -62
- package/dist/Index-uubi3NHX.js +0 -33
- package/dist/Index-vNj2kYZT.js +0 -55
- package/dist/InputToggleRow-B2pWvVyx.js +0 -57
- package/dist/ManualPopover-BI_Sf1zG.js +0 -54
- package/dist/MediaWrapper-eFpWxv3n.js +0 -23
- package/dist/NotBindingText-DA5NpePz.js +0 -32
- package/dist/PackageGroup-DOSijBdN.js +0 -699
- package/dist/PdfTerms-Q5YuVtrJ.js +0 -36
- package/dist/PdfViewer-zcWl8XZT.js +0 -374
- package/dist/PlainHtml-BmA83UAm.js +0 -20
- package/dist/PriceHeader-C14L5zgG.js +0 -339
- package/dist/SearchApi-CGT7-jVf.js +0 -161
- package/dist/Setup-RJQvZlDO.js +0 -50
- package/dist/SmartList-YosKRPVn.js +0 -83
- package/dist/TermsSettings-C5JTv7rT.js +0 -102
- package/dist/ThemeColorRow-D-C_tm2f.js +0 -63
- package/dist/ToggleBinding-KEVHHvKf.js +0 -38
- package/dist/UploadModal-DOYoWELI.js +0 -95
- package/dist/VideoPlayerInput-Dxb6CNk-.js +0 -93
- package/dist/VideoPlayerSettings-DsVN4Ix-.js +0 -61
- package/dist/VideoSelectModal-BpfzNx61.js +0 -100
- package/dist/anime.es-BrPTThYb.js +0 -858
- package/dist/answerDocumentMixin-BJMGrfUs.js +0 -51
- package/dist/color-TdtKxwVa.js +0 -19
- package/dist/debounce-BN83gOVd.js +0 -84
- package/dist/dom-CJxkno7i.js +0 -91
- package/dist/favicon.ico +0 -0
- package/dist/focusDrawerMixin-CawyQaGq.js +0 -22
- package/dist/formComponentsInstall-jcnyQ1zw.js +0 -2494
- package/dist/formDrawerState-BdNohvZH.js +0 -20
- package/dist/formValidationMixin-DOwgebZk.js +0 -49
- package/dist/i18nMessages-Chz_lxGG.js +0 -17
- package/dist/index-BBJIOkm_.js +0 -347
- package/dist/index-BNq9YCWc.js +0 -166
- package/dist/index-BdhbkLLU.js +0 -81
- package/dist/index-COf8F6CL.js +0 -3916
- package/dist/index-D0WvZHX_.js +0 -102
- package/dist/index-DTzZP4yq.js +0 -492
- package/dist/index.es.js +0 -35
- package/dist/index.umd.js +0 -3148
- package/dist/main-DE5THsiR.js +0 -56739
- package/dist/mapFormMixin-y2txvLw9.js +0 -72
- package/dist/omit-BrsWQAtU.js +0 -31
- package/dist/publicSenderState-BYsq95Vt.js +0 -21
- package/dist/splitpanes-BHUVsCZF.js +0 -382
- package/dist/style.css +0 -4
- package/dist/throttle-C2srA2wa.js +0 -18
- package/dist/tinycolor-SjV_ROuP.js +0 -633
- package/dist/tippy.esm-Dj7DQppr.js +0 -1799
- package/dist/utils-16HMuRfY.js +0 -108
- package/dist/vuedraggable.umd-Cd1g2Hr7.js +0 -3161
- package/dist/vuex.esm-DKGl8mcw.js +0 -467
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import { D as f } from "./DocumentVoided-DC4FzpxG.js";
|
|
2
|
-
import { C as g, a as h, w } from "./CDropdownItem-DlWtQwO6.js";
|
|
3
|
-
import { n as r, ag as $, b as x, ah as y, ai as b, aj as C } from "./main-DE5THsiR.js";
|
|
4
|
-
import { C as S } from "./CPhoneFormat-CJ9kndtJ.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
|
-
"eee5c92d"
|
|
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
|
-
"44b21eff"
|
|
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
|
-
"d1c20fce"
|
|
242
|
-
);
|
|
243
|
-
const K = U.exports;
|
|
244
|
-
export {
|
|
245
|
-
K as default
|
|
246
|
-
};
|