@cling-se/widget 0.15.2 → 0.15.3
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-CSxN7XFh.js → AddClientCallout-8s5a1_CZ.js} +3 -3
- package/dist/{AnswerModal-DEwMlsT8.js → AnswerModal-Cnp43tGo.js} +3 -3
- package/dist/{AttachmentItem-R7YMKqQ2.js → AttachmentItem-BP85gcjP.js} +6 -4
- package/dist/{BaseDatePicker-Bd1maWgF.js → BaseDatePicker-C27CsTzy.js} +561 -557
- package/dist/{BaseUpload-C9Jd1JBo.js → BaseUpload-DnhS3hGx.js} +2 -2
- package/dist/{BlockMedia-CUCZYVdZ.js → BlockMedia-D4nhek2s.js} +1 -1
- package/dist/{CCallout-_k7FPbsE.js → CCallout-CQjRcxpC.js} +1 -1
- package/dist/{CCurrencyDropdown-DejfeYVY.js → CCurrencyDropdown-BT01qBGg.js} +24 -20
- package/dist/{CDropdownItem-b6ZzOnv-.js → CDropdownItem-BSPNul90.js} +1 -1
- package/dist/{CFormField-BjGICSv5.js → CFormField-Cz_jNazS.js} +1 -1
- package/dist/{CPhoneFormat-Bf2fgYtr.js → CPhoneFormat-C017AoM0.js} +1 -1
- package/dist/{CPriceInput-myrETXfz.js → CPriceInput-jktMjvwx.js} +20 -16
- package/dist/ClientAutocomplete-B3z6RPXr.js +82 -0
- package/dist/{ClientModal-DSmFJ9bu.js → ClientModal-DLtFhJya.js} +31 -25
- package/dist/{ColorPicker-B1MJicqo.js → ColorPicker-MQmVGbvm.js} +1 -1
- package/dist/{CompanyModal-BXs3aAYm.js → CompanyModal-Qx5xMku0.js} +4 -4
- package/dist/{ContentWrapper-BKWZy4Bp.js → ContentWrapper-B9NQqp2q.js} +60 -52
- package/dist/{CoverBlockSettings-7Ivt9zN0.js → CoverBlockSettings-Bcz_W5I3.js} +5 -5
- package/dist/{DocAnswer-CaoTYUNh.js → DocAnswer-BlxFv_Gc.js} +2 -2
- package/dist/{DocDetails-C9EEpNg2.js → DocDetails-dGcYGJpp.js} +39 -35
- package/dist/{DocForm-Dww8Ust9.js → DocForm-C6o_XBcW.js} +352 -320
- package/dist/{DocFormSend-DKAqaT50.js → DocFormSend-_prtxNIf.js} +11 -7
- package/dist/{DocLinks-DFUO03dk.js → DocLinks-Dp495SCS.js} +2 -2
- package/dist/{DocModalBase-QZosNhiK.js → DocModalBase-B0wYq3ft.js} +1 -1
- package/dist/{DocPrint--T278pDE.js → DocPrint-CURxofeU.js} +1 -1
- package/dist/{DocReceipt-CPg45_I7.js → DocReceipt-DgGcBRVH.js} +5 -3
- package/dist/{DocSendReminder-DQAaiUrs.js → DocSendReminder-CPty4svi.js} +1 -1
- package/dist/{DocTextEditor-CM1f8eMD.js → DocTextEditor-BYsXFRLg.js} +67 -63
- package/dist/{DocTimeline-Ce0OZgGP.js → DocTimeline-CHg1QykR.js} +7 -5
- package/dist/{DocumentClient-DHU-Rg3r.js → DocumentClient-CZ6N73pQ.js} +5 -5
- package/dist/{DocumentLayout-GYCBw2F_.js → DocumentLayout-CiszuoQc.js} +17 -13
- package/dist/{DocumentLogotype-Cilc0ElE.js → DocumentLogotype-BgFCWcwC.js} +17 -15
- package/dist/{DocumentVoided-BH8pkv85.js → DocumentVoided-DT2hhHk2.js} +1 -1
- package/dist/{EmbedInput-lMSVQSey.js → EmbedInput-aLmvzK1I.js} +2 -2
- package/dist/{EmbedSettings-D65Y2AZL.js → EmbedSettings-BZipciy9.js} +2 -2
- package/dist/{ErrorCallout-BBNHzuhf.js → ErrorCallout-CNxSDsr_.js} +1 -1
- package/dist/{FilePreviewModal-iPIuaIor.js → FilePreviewModal-DxdksQiy.js} +2 -2
- package/dist/{Flag-CwnrA4SV.js → Flag-3OyFDPsP.js} +1 -1
- package/dist/{HeaderSettings-WKUIBCfF.js → HeaderSettings-DeoSRi6O.js} +18 -14
- package/dist/{ImageSelectModal-BTMFM3o9.js → ImageSelectModal-DvQz2VPi.js} +13 -11
- package/dist/{ImageUploadWrapper-BaLjUZF5.js → ImageUploadWrapper-CNQRdHF9.js} +2 -2
- package/dist/{Index-CEHhYmLe.js → Index-3bD76d9q.js} +6 -6
- package/dist/{Index-DK3b6Cv-.js → Index-B0n1UOOA.js} +2 -2
- package/dist/{Index-B-UWz1IM.js → Index-B3Q09phm.js} +4 -4
- package/dist/{Index-Bsv15ctO.js → Index-B9_POjpY.js} +5 -5
- package/dist/{Index-Dv1fkHWQ.js → Index-BDCgilFk.js} +2 -2
- package/dist/{Index-ZKkQzVOj.js → Index-BEpKb8IR.js} +3 -3
- package/dist/{Index-BepvyGqo.js → Index-BIv8flFB.js} +8 -8
- package/dist/{Index-9PMrT3eB.js → Index-BNJ2KHKc.js} +2 -2
- package/dist/{Index-BBOJRRgx.js → Index-BeMeWDIf.js} +5 -5
- package/dist/{Index-BBTn35Kj.js → Index-BglKAnNq.js} +21 -17
- package/dist/{Index-rL3fz1Ew.js → Index-BiVwDgqW.js} +2 -2
- package/dist/{Index-BQ3kapHk.js → Index-BjdxeF4C.js} +2 -2
- package/dist/{Index-C6tGNKAk.js → Index-C-CE21WK.js} +5 -5
- package/dist/{Index-2PGn8Pnv.js → Index-CDKq7Fx6.js} +4 -4
- package/dist/{Index-CEaZgZqg.js → Index-CJeSVpRh.js} +2 -2
- package/dist/{Index-CtZMlBfK.js → Index-CPjAXBMU.js} +5 -5
- package/dist/{Index-B_ta4yT_.js → Index-CTk6Nh-I.js} +5 -5
- package/dist/{Index-B5XaBVyJ.js → Index-CTqdaykO.js} +3 -3
- package/dist/{Index-BUEXgHEE.js → Index-CWj2vDHc.js} +17 -15
- package/dist/{Index-CtQo0b8t.js → Index-CXibuEkU.js} +1 -1
- package/dist/{Index-GrrsUUz1.js → Index-CePHdKi2.js} +4 -4
- package/dist/{Index-ivhPuQy5.js → Index-Cfc0Q0AG.js} +5 -5
- package/dist/{Index-DrSgVUyo.js → Index-Ch5j2tqD.js} +1 -1
- package/dist/{Index-B51tj7qY.js → Index-CjfCyQlB.js} +4 -4
- package/dist/{Index-B0pgh8nR.js → Index-Cr6DlYGN.js} +2 -2
- package/dist/{Index-DS7xellB.js → Index-CvRNeJ4U.js} +7 -7
- package/dist/{Index-B-YqdbQX.js → Index-D-l3i9vY.js} +3 -3
- package/dist/{Index-cPIqnY80.js → Index-D1NwTUs-.js} +5 -5
- package/dist/{Index-DJeZiYxr.js → Index-FC1UsElU.js} +4 -4
- package/dist/{Index-DS1PwlDq.js → Index-PUFeH_1z.js} +4 -4
- package/dist/{Index-Ccx9wHcb.js → Index-S3LqU0A0.js} +9 -7
- package/dist/{Index-BVt3pj58.js → Index-jIIHHGh3.js} +371 -345
- package/dist/{Index-oKRUWCcJ.js → Index-q04Dwxrr.js} +17 -15
- package/dist/{Index-0aZtDWyk.js → Index-w5DWfGOc.js} +4 -4
- package/dist/{InputToggleRow-CJF0vwk3.js → InputToggleRow-CvHvRdsn.js} +1 -1
- package/dist/{ManualPopover-CEF7LMpn.js → ManualPopover-DxE-6-Sp.js} +13 -11
- package/dist/{MediaWrapper-CM6vWCoZ.js → MediaWrapper-DNi80fbw.js} +3 -3
- package/dist/{NotBindingText-Cee9yA0M.js → NotBindingText-D2rYFVxr.js} +2 -2
- package/dist/{PackageGroup-CFXogKPM.js → PackageGroup-6ar8HjPo.js} +5 -5
- package/dist/{PdfTerms-ChtDfzne.js → PdfTerms-B-lbU_6H.js} +2 -2
- package/dist/{PdfViewer-Cd0Jm2VB.js → PdfViewer-B5qbLLtd.js} +21 -21
- package/dist/{PlainHtml-CucWAcOU.js → PlainHtml-CIMtcn2F.js} +1 -1
- package/dist/{PriceHeader-DdMZUaq5.js → PriceHeader-BSpj_-5M.js} +6 -6
- package/dist/{SearchApi-knNqVduO.js → SearchApi-Cwgf52EV.js} +2 -2
- package/dist/{Setup-7HIAWuiK.js → Setup-CRmiH9lD.js} +1 -1
- package/dist/{SmartList-cSmGbybV.js → SmartList-D6AvxfSL.js} +1 -1
- package/dist/{TermsSettings-CAB-08E3.js → TermsSettings-DEO1O460.js} +7 -5
- package/dist/{ThemeColorRow-DxcMvBGq.js → ThemeColorRow-Cy1NKEIG.js} +14 -12
- package/dist/{ToggleBinding-CTTYdrkp.js → ToggleBinding-BvIUt1Jx.js} +8 -6
- package/dist/{UploadModal-CvoSMExA.js → UploadModal-C1j-GeMD.js} +2 -2
- package/dist/{VideoPlayerInput-X5baUH3q.js → VideoPlayerInput-BmbrquN6.js} +3 -3
- package/dist/{VideoPlayerSettings-DsIvpufB.js → VideoPlayerSettings-B7HpBoWX.js} +2 -2
- package/dist/VideoSelectModal-CeaG2tME.js +104 -0
- package/dist/{answerDocumentMixin-B8HB1WAX.js → answerDocumentMixin-AcDG8Byi.js} +3 -3
- package/dist/{debounce-B2lqFJg2.js → debounce-HJoaSvIY.js} +1 -1
- package/dist/{focusDrawerMixin-B2djM7ql.js → focusDrawerMixin-CBYjpEGL.js} +1 -1
- package/dist/{formComponentsInstall-CdjgjI6y.js → formComponentsInstall-DMoWrprH.js} +50 -40
- package/dist/{formDrawerState-CchCpZRc.js → formDrawerState-DYSBcjo4.js} +1 -1
- package/dist/{formValidationMixin-Dz9Mabvi.js → formValidationMixin-Dqlhg0R2.js} +1 -1
- package/dist/{index-kV9OZ5y0.js → index-CFe1BJZJ.js} +1 -1
- package/dist/{index-BaGtbWcA.js → index-CFwLDxbi.js} +5 -5
- package/dist/{index-twnaU4rC.js → index-CFx0cpeM.js} +1 -1
- package/dist/{index-BCrDgR_4.js → index-CKZmpLr6.js} +69 -45
- package/dist/{index-H1Kx9sJM.js → index-CLOsPxCh.js} +14 -12
- package/dist/{index-Dk6sZCYv.js → index-zzCfHTf8.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +31 -31
- package/dist/{main-CerYX9PA.js → main-BIwKzAN8.js} +14 -14
- package/dist/{mapFormMixin-Hj1Y7rVt.js → mapFormMixin-e2PJ431T.js} +1 -1
- package/dist/{omit-DGBewD2h.js → omit-CpamclWf.js} +1 -1
- package/dist/{publicSenderState-t7Gu53cA.js → publicSenderState-D-_7UwjT.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-B8hI9bkk.js → throttle-B2yMLA5N.js} +2 -2
- package/dist/{tinycolor-BaK26Ky-.js → tinycolor-vIxz4Xgi.js} +1 -1
- package/dist/{tippy.esm-BuWRbveV.js → tippy.esm-DiOYviyf.js} +57 -53
- package/dist/{utils-Pmm0DT8o.js → utils-CFXqaEy7.js} +1 -1
- package/dist/{vuedraggable.umd-Besz6Tlv.js → vuedraggable.umd-DDT8qZBI.js} +1 -1
- package/package.json +1 -1
- package/dist/ClientAutocomplete-DyXQEfcS.js +0 -78
- package/dist/VideoSelectModal-VMcSU3bM.js +0 -100
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import { B as
|
|
3
|
-
import { t as
|
|
4
|
-
import { T as i } from "./DocTextEditor-
|
|
5
|
-
import { n
|
|
1
|
+
import { m as s } from "./mapFormMixin-e2PJ431T.js";
|
|
2
|
+
import { B as r } from "./BlockMedia-D4nhek2s.js";
|
|
3
|
+
import { t as l } from "./tinycolor-vIxz4Xgi.js";
|
|
4
|
+
import { T as i } from "./DocTextEditor-BYsXFRLg.js";
|
|
5
|
+
import { n, af as c, z as u, B as p, A as m } from "./main-BIwKzAN8.js";
|
|
6
6
|
import { i as d } from "./i18nMessages-Chz_lxGG.js";
|
|
7
7
|
const f = {
|
|
8
8
|
name: "StaticComboLayout",
|
|
@@ -18,27 +18,27 @@ var _ = function() {
|
|
|
18
18
|
return ["horizontal"].includes(t.layout) ? e("div", { staticClass: "flex w-full flex-col", staticStyle: { flex: "1 1 auto", "min-height": "100%" } }, [t._t("logo"), e("div", { staticClass: "flex w-full flex-col justify-end", staticStyle: { flex: "1 1 auto" } }, [t._t("preText"), t._t("documentName"), t._t("postText")], 2)], 2) : e("div", { staticClass: "flex w-full flex-col justify-between", class: {
|
|
19
19
|
"items-center": t.layout === "center"
|
|
20
20
|
}, staticStyle: { flex: "1 1 auto", "min-height": "100%" } }, [t._t("logo"), e("div", { staticClass: "flex w-full flex-col justify-center", staticStyle: { flex: "1 1 auto" } }, [t._t("preText"), t._t("documentName")], 2), t._t("postText")], 2);
|
|
21
|
-
},
|
|
21
|
+
}, y = [], x = /* @__PURE__ */ n(
|
|
22
22
|
f,
|
|
23
23
|
_,
|
|
24
|
-
|
|
24
|
+
y,
|
|
25
25
|
!1,
|
|
26
26
|
null,
|
|
27
27
|
"8e41c57b"
|
|
28
28
|
);
|
|
29
|
-
const h =
|
|
29
|
+
const h = x.exports, v = {
|
|
30
30
|
name: "StaticLayout",
|
|
31
31
|
i18nOptions: {
|
|
32
32
|
namespaces: "staticLayout",
|
|
33
33
|
messages: d
|
|
34
34
|
},
|
|
35
35
|
components: {
|
|
36
|
-
DocumentLogotype: () => import("./DocumentLogotype-
|
|
36
|
+
DocumentLogotype: () => import("./DocumentLogotype-BgFCWcwC.js"),
|
|
37
37
|
StaticComboLayout: h,
|
|
38
38
|
TextEditor: i
|
|
39
39
|
},
|
|
40
40
|
mixins: [
|
|
41
|
-
|
|
41
|
+
s([
|
|
42
42
|
"layout",
|
|
43
43
|
"preText",
|
|
44
44
|
"documentName",
|
|
@@ -80,56 +80,64 @@ const h = y.exports, v = {
|
|
|
80
80
|
},
|
|
81
81
|
methods: {
|
|
82
82
|
mustacheToSpan: u,
|
|
83
|
-
spanToMustache:
|
|
84
|
-
interpolateString:
|
|
83
|
+
spanToMustache: p,
|
|
84
|
+
interpolateString: m
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
var g = function() {
|
|
88
88
|
var t = this, e = t._self._c;
|
|
89
|
-
return e("div", { staticClass: "dont-break-out hyphens-auto flex w-full flex-col break-words", class: [`is-layout-${t.layout}`], staticStyle: { "word-wrap": "break-word", "word-break": "break-word" } }, [e("StaticComboLayout", { attrs: { layout: t.layout }
|
|
90
|
-
t.showLogo
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
t.logotype
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
t.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
t.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
|
|
89
|
+
return e("div", { staticClass: "dont-break-out hyphens-auto flex w-full flex-col break-words", class: [`is-layout-${t.layout}`], staticStyle: { "word-wrap": "break-word", "word-break": "break-word" } }, [e("StaticComboLayout", { attrs: { layout: t.layout }, scopedSlots: t._u([{ key: "logo", fn: function() {
|
|
90
|
+
return [e("DocumentLogotype", { attrs: { "show-logo": t.showLogo, "company-logotype": t.companyLogotype, "has-hover": t.hasHover }, on: { "update:showLogo": function(a) {
|
|
91
|
+
t.showLogo = a;
|
|
92
|
+
}, "update:show-logo": function(a) {
|
|
93
|
+
t.showLogo = a;
|
|
94
|
+
} }, model: { value: t.logotype, callback: function(a) {
|
|
95
|
+
t.logotype = a;
|
|
96
|
+
}, expression: "logotype" } })];
|
|
97
|
+
}, proxy: !0 }, { key: "preText", fn: function() {
|
|
98
|
+
return [e("TextEditor", { key: "preText" + t.canEdit, ref: "preTextEditor", staticClass: "no-drag header-text", attrs: { value: t.canEdit ? t.mustacheToSpan(
|
|
99
|
+
t.preText,
|
|
100
|
+
t._document.textTemplateMap,
|
|
101
|
+
t._document._doc
|
|
102
|
+
) : t.interpolateString(t.preText, t._document._doc), mentions: t.mentions, snippets: !0, placeholder: t.$t("optional").capitalize(), static: "", unstyled: "" }, on: { input: function(a) {
|
|
103
|
+
t.preText = t.spanToMustache(a);
|
|
104
|
+
} } })];
|
|
105
|
+
}, proxy: !0 }, { key: "documentName", fn: function() {
|
|
106
|
+
return [e("div", { staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" } }, [t.canEdit ? e("TextEditor", { ref: "nameEditor", staticClass: "no-drag header-text", attrs: { value: t.internalName, extensions: {
|
|
107
|
+
bulletList: !0,
|
|
108
|
+
heading: [1, 2, 3],
|
|
109
|
+
bold: !0,
|
|
110
|
+
link: !0,
|
|
111
|
+
underline: !0,
|
|
112
|
+
blockquote: !0,
|
|
113
|
+
table: !1
|
|
114
|
+
}, placeholder: t.$t("name.placeholder"), unstyled: "", static: "" }, on: { input: function(a) {
|
|
115
|
+
t.internalName = a;
|
|
116
|
+
} } }) : e("div", { staticClass: "header-text", domProps: { innerHTML: t._s(t.internalName) } })], 1)];
|
|
117
|
+
}, proxy: !0 }, { key: "postText", fn: function() {
|
|
118
|
+
return [e("TextEditor", { key: "postText" + t.canEdit, ref: "postTextEditor", staticClass: "no-drag header-text", staticStyle: { width: "100%" }, attrs: { value: t.canEdit ? t.mustacheToSpan(
|
|
119
|
+
t.postText,
|
|
120
|
+
t._document.textTemplateMap,
|
|
121
|
+
t._document._doc
|
|
122
|
+
) : t.interpolateString(t.postText, t._document._doc), editable: t.canEdit, mentions: t.mentions, snippets: !0, placeholder: t.$t("optional").capitalize(), static: "", unstyled: "" }, on: { input: function(a) {
|
|
123
|
+
t.postText = t.spanToMustache(a);
|
|
124
|
+
} } })];
|
|
125
|
+
}, proxy: !0 }]) })], 1);
|
|
126
|
+
}, T = [], b = /* @__PURE__ */ n(
|
|
119
127
|
v,
|
|
120
128
|
g,
|
|
121
129
|
T,
|
|
122
130
|
!1,
|
|
123
131
|
null,
|
|
124
|
-
"
|
|
132
|
+
"a4b43835"
|
|
125
133
|
);
|
|
126
|
-
const C = b.exports,
|
|
134
|
+
const C = b.exports, S = {
|
|
127
135
|
name: "ContentWrapper",
|
|
128
136
|
components: {
|
|
129
137
|
StaticCombo: C,
|
|
130
|
-
BlockMedia:
|
|
138
|
+
BlockMedia: r
|
|
131
139
|
},
|
|
132
|
-
mixins: [
|
|
140
|
+
mixins: [s(["layout", "item", "baseStyle"])],
|
|
133
141
|
props: {
|
|
134
142
|
hasHover: {
|
|
135
143
|
type: Boolean,
|
|
@@ -155,11 +163,11 @@ const C = b.exports, w = {
|
|
|
155
163
|
return ((o = this.baseStyle) == null ? void 0 : o.textAlign) || "left";
|
|
156
164
|
},
|
|
157
165
|
fallbackTextColor() {
|
|
158
|
-
return this.backgroundColor &&
|
|
166
|
+
return this.backgroundColor && l.readability(this.backgroundColor, "#fff") < 1.8 ? "#111111" : "#FFFFFF";
|
|
159
167
|
}
|
|
160
168
|
}
|
|
161
169
|
};
|
|
162
|
-
var
|
|
170
|
+
var w = function() {
|
|
163
171
|
var t = this, e = t._self._c;
|
|
164
172
|
return e("div", { staticClass: "content-root", class: { "has-hover": t.hasHover }, style: { color: t.color, textAlign: t.textAlign } }, [t.layout !== "center" ? e("BlockMedia", { staticClass: "content-media", attrs: { media: t.item.media } }) : t._e(), e("div", { staticClass: "content-spacing" }, [e("StaticCombo", t._g({ attrs: { "has-hover": t.hasHover, _document: t._document, _value: {
|
|
165
173
|
layout: t._value.layout,
|
|
@@ -169,15 +177,15 @@ var S = function() {
|
|
|
169
177
|
showLogo: `${t._value.item}.value.showLogo`,
|
|
170
178
|
logotype: `${t._value.item}.value.logotype`
|
|
171
179
|
}, validator: t.validator } }, t.$listeners))], 1)], 1);
|
|
172
|
-
},
|
|
173
|
-
w,
|
|
180
|
+
}, k = [], $ = /* @__PURE__ */ n(
|
|
174
181
|
S,
|
|
175
|
-
|
|
182
|
+
w,
|
|
183
|
+
k,
|
|
176
184
|
!1,
|
|
177
185
|
null,
|
|
178
186
|
"3dfe0998"
|
|
179
187
|
);
|
|
180
|
-
const z =
|
|
188
|
+
const z = $.exports;
|
|
181
189
|
export {
|
|
182
190
|
z as default
|
|
183
191
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as d } from "./mapFormMixin-
|
|
2
|
-
import { T as l } from "./ThemeColorRow-
|
|
3
|
-
import { n as s, Q as p, J as u } from "./main-
|
|
1
|
+
import { m as d } from "./mapFormMixin-e2PJ431T.js";
|
|
2
|
+
import { T as l } from "./ThemeColorRow-Cy1NKEIG.js";
|
|
3
|
+
import { n as s, Q as p, J as u } from "./main-BIwKzAN8.js";
|
|
4
4
|
const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, v = {
|
|
5
5
|
name: "DegreePicker",
|
|
6
6
|
props: {
|
|
@@ -135,8 +135,8 @@ var C = function() {
|
|
|
135
135
|
"e22a6b42"
|
|
136
136
|
);
|
|
137
137
|
const $ = w.exports, x = {
|
|
138
|
-
image: () => import("./ImageSelectModal-
|
|
139
|
-
video: () => import("./VideoSelectModal-
|
|
138
|
+
image: () => import("./ImageSelectModal-DvQz2VPi.js"),
|
|
139
|
+
video: () => import("./VideoSelectModal-CeaG2tME.js")
|
|
140
140
|
}, S = {
|
|
141
141
|
name: "CoverBlockSettings",
|
|
142
142
|
i18nOptions: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as f } from "./DocumentVoided-
|
|
2
|
-
import { C as g, a as h, w } from "./CDropdownItem-
|
|
3
|
-
import { n as c, ak as
|
|
4
|
-
import { C as S } from "./CPhoneFormat-
|
|
1
|
+
import { D as f } from "./DocumentVoided-DT2hhHk2.js";
|
|
2
|
+
import { C as g, a as h, w } from "./CDropdownItem-BSPNul90.js";
|
|
3
|
+
import { n as c, ak as y, b as $, al as x, am as b, an as C } from "./main-BIwKzAN8.js";
|
|
4
|
+
import { C as S } from "./CPhoneFormat-C017AoM0.js";
|
|
5
5
|
const D = {
|
|
6
6
|
name: "PublicDocumentEvents",
|
|
7
7
|
props: {
|
|
@@ -13,12 +13,12 @@ const D = {
|
|
|
13
13
|
computed: {
|
|
14
14
|
events() {
|
|
15
15
|
const s = [], { acceptedAt: e } = this.document;
|
|
16
|
-
return this.document.events.filter(({ createdAt: t }) => e ?
|
|
17
|
-
const { code:
|
|
16
|
+
return this.document.events.filter(({ createdAt: t }) => e ? y(e, t) : !0).forEach((t) => {
|
|
17
|
+
const { code: n, createdAt: i, children: r = [] } = t;
|
|
18
18
|
let { data: l = {} } = t;
|
|
19
19
|
l === null && (l = {});
|
|
20
|
-
const { client: a = {}, clients:
|
|
21
|
-
sent: () =>
|
|
20
|
+
const { client: a = {}, clients: m = [], status: p, counter: _ } = l, u = {
|
|
21
|
+
sent: () => m.map((o) => {
|
|
22
22
|
const d = this.getClientName(o.id), v = this.filteredOxfordComma([
|
|
23
23
|
o.email,
|
|
24
24
|
o.cellphone
|
|
@@ -27,7 +27,7 @@ const D = {
|
|
|
27
27
|
text: this.document.$t("event.sent", {
|
|
28
28
|
to: `${d ? d + ", " : ""}${v}`
|
|
29
29
|
}),
|
|
30
|
-
time:
|
|
30
|
+
time: i
|
|
31
31
|
};
|
|
32
32
|
}),
|
|
33
33
|
viewed: () => {
|
|
@@ -38,7 +38,7 @@ const D = {
|
|
|
38
38
|
`event.${a.name ? "viewedName" : "viewed"}`,
|
|
39
39
|
{ name: a.name }
|
|
40
40
|
)} ${o ? this.document.$tc("times", { count: o }) : ""}.`,
|
|
41
|
-
time:
|
|
41
|
+
time: i
|
|
42
42
|
}
|
|
43
43
|
];
|
|
44
44
|
},
|
|
@@ -47,7 +47,7 @@ const D = {
|
|
|
47
47
|
text: this.document.$t("event.accepted", {
|
|
48
48
|
by: a.name || a.email || a.cellphone
|
|
49
49
|
}),
|
|
50
|
-
time:
|
|
50
|
+
time: i
|
|
51
51
|
}
|
|
52
52
|
],
|
|
53
53
|
denied: () => [
|
|
@@ -55,7 +55,7 @@ const D = {
|
|
|
55
55
|
text: this.document.$t("event.denied", {
|
|
56
56
|
by: a.name || a.email || a.cellphone
|
|
57
57
|
}),
|
|
58
|
-
time:
|
|
58
|
+
time: i
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
61
|
statusChanged: () => [
|
|
@@ -63,7 +63,7 @@ const D = {
|
|
|
63
63
|
text: this.document.$t("event.statusChanged", {
|
|
64
64
|
status: this.document.$t(`status.${p}`).toLowerCase()
|
|
65
65
|
}),
|
|
66
|
-
time:
|
|
66
|
+
time: i
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
69
|
requestChange: () => [
|
|
@@ -71,23 +71,23 @@ const D = {
|
|
|
71
71
|
text: this.document.$t("event.requestChange", {
|
|
72
72
|
status: this.document.$t(`status.${p}`).toLowerCase()
|
|
73
73
|
}),
|
|
74
|
-
time:
|
|
74
|
+
time: i
|
|
75
75
|
}
|
|
76
76
|
],
|
|
77
77
|
expired: () => [
|
|
78
78
|
{
|
|
79
79
|
text: this.document.$t("event.expired"),
|
|
80
|
-
time:
|
|
80
|
+
time: i
|
|
81
81
|
}
|
|
82
82
|
]
|
|
83
83
|
};
|
|
84
|
-
|
|
84
|
+
u[n] && s.push(...u[n]());
|
|
85
85
|
}), s;
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
methods: {
|
|
89
89
|
filteredOxfordComma(s = []) {
|
|
90
|
-
const e = s.filter((
|
|
90
|
+
const e = s.filter((n) => !!n), t = e.length;
|
|
91
91
|
return t ? t < 2 ? e[0] : `${e.slice(0, -1).join(", ")} ${this.document.$t("and")} ${e.slice(
|
|
92
92
|
-1
|
|
93
93
|
)}` : "";
|
|
@@ -127,9 +127,9 @@ const F = P.exports, L = {
|
|
|
127
127
|
}
|
|
128
128
|
},
|
|
129
129
|
methods: {
|
|
130
|
-
get:
|
|
130
|
+
get: $,
|
|
131
131
|
getBrowserString({ browser: s, os: e, device: t }) {
|
|
132
|
-
return [s && s.name, e && e.name, t && t.model].filter((
|
|
132
|
+
return [s && s.name, e && e.name, t && t.model].filter((n) => !!n).join(", ");
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
};
|
|
@@ -139,18 +139,20 @@ var A = function() {
|
|
|
139
139
|
e.recipient.name,
|
|
140
140
|
e.recipient.companyName,
|
|
141
141
|
e.recipient.orgNo
|
|
142
|
-
], function(
|
|
143
|
-
return t("span", { key: `${
|
|
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:
|
|
145
|
-
return t("a", { attrs: { href: `tel:${e.recipient.cellphone}` } }, [e._v(" " + e._s(
|
|
146
|
-
} }], null, !1,
|
|
142
|
+
], function(n, i) {
|
|
143
|
+
return t("span", { key: `${n}-${i}`, style: i === 0 ? { fontWeight: 500 } : { opacity: 0.65 } }, [e._v(" " + e._s(n && i > 0 ? "·" : "") + " " + e._s(n) + " ")]);
|
|
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: n }) {
|
|
145
|
+
return [t("a", { attrs: { href: `tel:${e.recipient.cellphone}` } }, [e._v(" " + e._s(n) + " ")])];
|
|
146
|
+
} }], null, !1, 3383182840) }) : 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" }, scopedSlots: e._u([{ key: "popover", fn: function() {
|
|
147
|
+
return [t("div", { staticStyle: { padding: "0" } }, [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()])];
|
|
148
|
+
}, proxy: !0 }]) }, [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()])], 1)])]);
|
|
147
149
|
}, R = [], I = /* @__PURE__ */ c(
|
|
148
150
|
L,
|
|
149
151
|
A,
|
|
150
152
|
R,
|
|
151
153
|
!1,
|
|
152
154
|
null,
|
|
153
|
-
"
|
|
155
|
+
"4a2faff7"
|
|
154
156
|
);
|
|
155
157
|
const j = I.exports, B = {
|
|
156
158
|
name: "DocumentDetails",
|
|
@@ -203,15 +205,17 @@ const j = I.exports, B = {
|
|
|
203
205
|
};
|
|
204
206
|
var q = function() {
|
|
205
207
|
var e = this, t = e._self._c;
|
|
206
|
-
return t("div", { staticClass: "relative flex h-full w-full flex-col overflow-hidden rounded-lg bg-white text-base" }, [e.showActionNav ? 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(), e.showLanguageSelect ? t("CDropdown", { attrs: { value: e.document.language }
|
|
207
|
-
return t("
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
})
|
|
213
|
-
return
|
|
214
|
-
|
|
208
|
+
return t("div", { staticClass: "relative flex h-full w-full flex-col overflow-hidden rounded-lg bg-white text-base" }, [e.showActionNav ? 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(), e.showLanguageSelect ? t("CDropdown", { attrs: { value: e.document.language }, scopedSlots: e._u([{ key: "trigger", fn: function() {
|
|
209
|
+
return [t("CButton", { staticStyle: { color: "hsla(0, 0%, 45%, 1)" }, attrs: { "icon-props": { size: 18 }, size: "normal", icon: "globe", circle: "" } })];
|
|
210
|
+
}, proxy: !0 }], null, !1, 2729689304) }, e._l(e.docLanguages, function(n) {
|
|
211
|
+
return t("CDropdownItem", { key: n, attrs: { value: n }, on: { click: function(i) {
|
|
212
|
+
return e.changeLanguage(n);
|
|
213
|
+
} } }, [e._v(" " + e._s(e.nativeTranslations[n]) + " ")]);
|
|
214
|
+
}), 1) : e._e(), e.close ? t("CButton", { staticStyle: { "margin-left": "6px", color: "hsla(0, 0%, 45%, 1)" }, attrs: { "icon-props": { size: 18 }, size: "normal", icon: "x", circle: "" }, on: { click: e.close } }) : e._e()], 2) : e._e(), 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(n, i) {
|
|
215
|
+
return t("PublicRecipientItem", { key: n._uniqueId + i, attrs: { recipient: n } });
|
|
216
|
+
})], 2), t("PublicDocumentEvents", { attrs: { document: e.document }, scopedSlots: e._u([{ key: "default", fn: function({ events: n }) {
|
|
217
|
+
return [n && n.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(n, function(i, r) {
|
|
218
|
+
return t("div", { key: r, staticClass: "e-item" }, [t("div", { staticClass: "e-data" }, [t("div", { staticClass: "e-text" }, [e._v(e._s(i.text))]), t("div", { staticClass: "e-timestamp" }, [t("div", { staticClass: "e-date" }, [e._v(e._s(e.$formatDate(i.time, "P")))]), t("div", { staticClass: "e-time", staticStyle: { "padding-left": "0.5ch" } }, [e._v(" " + e._s(e.$formatDate(i.time, "p")) + " ")])])])]);
|
|
215
219
|
}), 0)])]) : e._e()];
|
|
216
220
|
} }]) }), e.mq === "sm" ? t("div", [e._t("footer")], 2) : e._e()], 1), e.mq !== "sm" ? t("div", [e._t("footer")], 2) : e._e()]);
|
|
217
221
|
}, N = [], O = /* @__PURE__ */ c(
|
|
@@ -220,7 +224,7 @@ var q = function() {
|
|
|
220
224
|
N,
|
|
221
225
|
!1,
|
|
222
226
|
null,
|
|
223
|
-
"
|
|
227
|
+
"7630b08d"
|
|
224
228
|
);
|
|
225
229
|
const V = O.exports, E = {
|
|
226
230
|
components: {
|