@cling-se/widget 0.21.4 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/{AddClientCallout-BjeE7RY6.js → AddClientCallout-CxbvK6ZG.js} +7 -7
- package/dist/{AnswerModal-BLo3hOrK.js → AnswerModal-vTetGwVn.js} +935 -651
- package/dist/{AttachmentItem-B4T7akns.js → AttachmentItem-DSHNRIq_.js} +9 -9
- package/dist/{BaseUpload-B-_Rpir0.js → BaseUpload-CWaM_bb7.js} +2 -2
- package/dist/{BlockMedia-szLlyTVn.js → BlockMedia-B1T85G4R.js} +9 -9
- package/dist/{CCallout-wp8bWld3.js → CCallout-BieMmWa4.js} +5 -5
- package/dist/{CCurrencyDropdown-CH0M7LFZ.js → CCurrencyDropdown-DKWtCUE_.js} +3 -3
- package/dist/{CDropdownItem-llOP71-u.js → CDropdownItem-pNNH9fV3.js} +13 -13
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-B2c0pGnW.js → CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js} +14 -14
- package/dist/{CPhoneFormat-BqLsCDaG.js → CPhoneFormat-CyrQRGmd.js} +1 -1
- package/dist/{CPhoneInput-DDnmhr17.js → CPhoneInput-BQHgpUCY.js} +5 -5
- package/dist/{CPriceInput-eaRaU9Ey.js → CPriceInput-DnFN-I6p.js} +2 -2
- package/dist/{CSelect-DDYAe8O9.js → CSelect-DB4-JxH8.js} +5 -5
- package/dist/{CSkeleton-BORdEFf8.js → CSkeleton-DpRDxR6D.js} +7 -7
- package/dist/{ClientAutocomplete-DAwttq8D.js → ClientAutocomplete-BjwvkuJ-.js} +19 -19
- package/dist/{ClientModal-C3UbUFjz.js → ClientModal-oBN2VSio.js} +138 -130
- package/dist/{ColorPicker-D4Y4g8RF.js → ColorPicker-B5rSvXLV.js} +21 -21
- package/dist/{CompanyModal-BvzLn9gU.js → CompanyModal-QrsUL6Et.js} +13 -13
- package/dist/{ContentWrapper-oh1FnZea.js → ContentWrapper-Yx-KMsfH.js} +22 -22
- package/dist/{CoverBlockSettings-CW7PisRO.js → CoverBlockSettings-C8giTiEZ.js} +19 -19
- package/dist/{DocAnswer-scOVyvez.js → DocAnswer-Djyhwfrp.js} +2 -2
- package/dist/{DocDetails-BKudQ3RU.js → DocDetails-Dv6noPvB.js} +100 -94
- package/dist/{DocForm-YI0UG4lv.js → DocForm-BFHchJ6w.js} +24 -24
- package/dist/{DocFormSend-DK7zxycs.js → DocFormSend-K2rbjklj.js} +2 -2
- package/dist/{DocLinks-CPhh8hox.js → DocLinks-DpUl89XR.js} +2 -2
- package/dist/{DocModalBase-C7vrvkFq.js → DocModalBase-BlTZ8CY3.js} +1 -1
- package/dist/{DocPrint-tfB_Hw8V.js → DocPrint-Bmfl4Abk.js} +9 -9
- package/dist/{DocReceipt-DoWB1suw.js → DocReceipt-3wi5YXqR.js} +111 -81
- package/dist/{DocSendReminder-DcezTbmh.js → DocSendReminder-CHqgC_wM.js} +1 -1
- package/dist/{DocTextEditor-Ci_Wegua.js → DocTextEditor-BGzwRwjt.js} +8 -8
- package/dist/{DocTimeline-DwZyNRtc.js → DocTimeline-BG7ldFgR.js} +12 -12
- package/dist/{DocumentClient-BZPHT4vS.js → DocumentClient-CLCAh4lI.js} +5 -5
- package/dist/{DocumentLayout-DwifYYit.js → DocumentLayout-DHSEYClM.js} +32 -32
- package/dist/{DocumentLogotype-D6DPT-i9.js → DocumentLogotype-0jH2-sr7.js} +8 -8
- package/dist/{DocumentVoided--b4zfli2.js → DocumentVoided-BAS8mATO.js} +1 -1
- package/dist/{EmbedInput-DmAlziaD.js → EmbedInput-DnSz1tbL.js} +18 -18
- package/dist/{EmbedSettings-DZuM3vpE.js → EmbedSettings-BQ1kKupC.js} +5 -5
- package/dist/{ErrorCallout-DT3qQJOP.js → ErrorCallout-XMtdcNvE.js} +4 -4
- package/dist/{FilePreviewModal-BuPbzrFy.js → FilePreviewModal-Bv28RVrN.js} +20 -20
- package/dist/{Flag-U3wm6frF.js → Flag-CcF7qtHi.js} +1 -1
- package/dist/{HeaderSettings-CC5rJ-UY.js → HeaderSettings-SKEJyM9y.js} +20 -20
- package/dist/{ImageSelectModal-BiWCVyYs.js → ImageSelectModal-BNXs_Rfh.js} +3 -3
- package/dist/{ImageUploadWrapper-CLJwtgVQ.js → ImageUploadWrapper-BmlB0qHZ.js} +23 -23
- package/dist/{Index-Bh58_V98.js → Index-B1mvOHsr.js} +5 -5
- package/dist/{Index-DIfpkUtR.js → Index-B4EqZ9op.js} +8 -8
- package/dist/{Index-ZNidoNys.js → Index-B8soD6pI.js} +2 -2
- package/dist/{Index-gZpXuLSM.js → Index-BDW4tvrc.js} +2 -2
- package/dist/{Index-z6FhBfRg.js → Index-BLC_eYvf.js} +2 -2
- package/dist/{Index-cb83jmmP.js → Index-BNetDL7G.js} +4 -4
- package/dist/{Index-C8tXlpnc.js → Index-BRIv1n05.js} +4 -4
- package/dist/{Index-Lr-w-2nq.js → Index-BS-ERsZ7.js} +28 -28
- package/dist/{Index-Dmd9h-QW.js → Index-BS1J5b8c.js} +3 -3
- package/dist/{Index-BbINQ0SU.js → Index-B_R1p7cp.js} +1 -1
- package/dist/{Index-C9yjlO_o.js → Index-BbEj20KG.js} +13 -13
- package/dist/{Index-BNrnEteM.js → Index-Bd3gjqXz.js} +6 -6
- package/dist/{Index-011UWI-5.js → Index-Bxi4pinD.js} +3 -3
- package/dist/{Index-HpvIqyQK.js → Index-Bz6vrP4D.js} +4 -4
- package/dist/{Index-BZ3G8u4L.js → Index-C2Jql1QC.js} +16 -16
- package/dist/{Index-C6eCTYlb.js → Index-C6r2p8Qd.js} +7 -7
- package/dist/{Index-BOxSyAOT.js → Index-C9k2n-HK.js} +4 -4
- package/dist/{Index-D8T4ZAGK.js → Index-CDdxLKdQ.js} +4 -4
- package/dist/{Index-DspgGnIy.js → Index-CQSkYi57.js} +6 -6
- package/dist/{Index-BBnlZtoe.js → Index-CVoJGfTj.js} +5 -5
- package/dist/{Index-AOzEiDJ6.js → Index-CYjEFdMF.js} +2 -2
- package/dist/{Index-hzFkpPtu.js → Index-Ca6-XJ1q.js} +23 -23
- package/dist/{Index-jCDreJV4.js → Index-CfpNMWEI.js} +5 -5
- package/dist/{Index-BQUdVuCj.js → Index-Coef67Wb.js} +8 -8
- package/dist/{Index-B0js1lQ9.js → Index-DRadSzmh.js} +11 -11
- package/dist/{Index-DND_3eOV.js → Index-DU19comM.js} +14 -14
- package/dist/{Index-06RLiHU7.js → Index-DquGwrE6.js} +11 -11
- package/dist/{Index-DZzmEObV.js → Index-Dz3beMLO.js} +5 -5
- package/dist/{Index-UkLmXQf7.js → Index-GmMgg4ZI.js} +10 -10
- package/dist/{Index-BPE5xozF.js → Index-LNHTL5EH.js} +1 -1
- package/dist/Index-Ra_-tX11.js +106 -0
- package/dist/Index-aOBMRrRj.js +4 -0
- package/dist/{Index-DwAyOR71.js → Index-ec9osPpw.js} +4 -4
- package/dist/{Index-C-Y_FGIG.js → Index-mcDMCki9.js} +30 -30
- package/dist/{Index.vue_vue_type_script_lang-FRTEgjSK.js → Index.vue_vue_type_script_lang-DOtAXSQl.js} +2 -2
- package/dist/{InputToggleRow-DrAFt_YF.js → InputToggleRow-DH7USYPf.js} +9 -9
- package/dist/{ManualPopover-BZr_lfqJ.js → ManualPopover-JDRhdC8G.js} +3 -3
- package/dist/{MediaWrapper-CuCltxOM.js → MediaWrapper-DdbmCwGw.js} +3 -3
- package/dist/{NotBindingText-D6QNyf03.js → NotBindingText-CwV-MkgL.js} +2 -2
- package/dist/{PackageGroup-DonphykF.js → PackageGroup-CH-8hyAF.js} +10 -10
- package/dist/{PdfTerms-BRwmINkR.js → PdfTerms-BBeN_k6I.js} +4 -4
- package/dist/{PdfViewer-DpmlfAfl.js → PdfViewer-Du_M79jv.js} +27 -27
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js → PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js} +1 -1
- package/dist/{PriceHeader-Cdh8apAZ.js → PriceHeader-Be2QwWzs.js} +25 -25
- package/dist/{SearchApi-B2ED3FdK.js → SearchApi-dNunyqch.js} +1 -1
- package/dist/{SendForm-Bz1AN65o.js → SendForm-BIIwVZwY.js} +136 -127
- package/dist/{Setup-BIa-5REE.js → Setup-DBbHXz4_.js} +1 -1
- package/dist/{SmartList-C9DXNnNX.js → SmartList-C2JUKK2W.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DPxTkygS.js → Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js} +35 -35
- package/dist/{TermsSettings-BQC-y2g4.js → TermsSettings-BZBWd3c9.js} +11 -11
- package/dist/{ThemeColorRow-B1L2qfGx.js → ThemeColorRow-7KF7icN8.js} +5 -5
- package/dist/{ToggleBinding-C2ct7wmC.js → ToggleBinding-w8lNunzO.js} +4 -4
- package/dist/{UploadModal-CCy7i-cN.js → UploadModal-BRdimOyC.js} +2 -2
- package/dist/{VideoPlayerInput-BluC_uCy.js → VideoPlayerInput-BHmr7HvX.js} +6 -6
- package/dist/{VideoPlayerSettings-DvoFmiks.js → VideoPlayerSettings-fI8gpjks.js} +6 -6
- package/dist/{VideoSelectModal-yfI6keDu.js → VideoSelectModal-Beq5yE0M.js} +9 -9
- package/dist/{focusDrawerMixin-BS0v03Pf.js → focusDrawerMixin-vhY6JO7g.js} +1 -1
- package/dist/{formDrawerState-DNNzOR3a.js → formDrawerState-ChHVYfc3.js} +1 -1
- package/dist/{fortnoxTheme-DbdQ_k4_.js → fortnoxTheme-BGyYnb8i.js} +1 -1
- package/dist/{helpers-vOT4bDZk.js → helpers-Dw4CluFv.js} +1 -1
- package/dist/{index-DSDwk2v_.js → index-BUPqyA87.js} +6 -6
- package/dist/{index-DIxSHthq.js → index-BcnDsk0Z.js} +1 -1
- package/dist/{index-C_k-2pHu.js → index-C-tsPusW.js} +7 -7
- package/dist/{index-BtZlk67X.js → index-CPfrJsi9.js} +13 -13
- package/dist/{index-Cm9MF5Ro.js → index-DJYVhEQt.js} +22 -22
- package/dist/{index-aqgR0F9F.js → index-DihGX5od.js} +30 -30
- package/dist/{index-BinehglS.js → index-syUJ22zc.js} +24 -24
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +139 -137
- package/dist/{main-CCA1EgK_.js → main-BBhJGb7I.js} +4894 -4633
- package/dist/{mapFormMixin-DarsdTYn.js → mapFormMixin-CCKubywa.js} +2 -2
- package/dist/omit-Cdd54eFA.js +56 -0
- package/dist/{publicSenderState-CSYveOTQ.js → publicSenderState-LkIY-kEl.js} +1 -1
- package/dist/{splitpanes-B5GGsG65.js → splitpanes-nCfEUpmu.js} +1 -1
- package/dist/{template-BTmi3cQk.js → template-B-Ds8x_U.js} +1 -1
- package/dist/{tippy.esm-Cc-sUEuY.js → tippy.esm-DdYqbHFh.js} +66 -66
- package/dist/{useTermsModal-CdnGQsw8.js → useTermsModal-Z_pZQ4H2.js} +4 -4
- package/dist/{utils-DLVtsRRz.js → utils-C3tvmZHk.js} +1 -1
- package/dist/validation-CWxbj-wT.js +40 -0
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-1MRJMA0V.js +0 -4
- package/dist/Index-DGkk540X.js +0 -87
- package/dist/omit-sqUJ46Re.js +0 -56
- package/dist/validation-DGxGtXMe.js +0 -40
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e as
|
|
3
|
-
import { w as se } from "./CDropdownItem-
|
|
1
|
+
import { a8 as H, B as h, a3 as K, E as N, a4 as Q, H as O, d as v, o as m, U as X, e as j, j as u, v as Y, y as z, J as C, bf as _, _ as W, b as G, f as P, aj as M, t as L, w as J, ao as V, am as ee, k as U, bg as te, i as Z, M as R, s as S, F as q, c as $, q as ae, T as ne, aC as oe } from "./main-BBhJGb7I.js";
|
|
2
|
+
import { e as A } from "./dom-DOcGU3-g.js";
|
|
3
|
+
import { w as se } from "./CDropdownItem-pNNH9fV3.js";
|
|
4
4
|
const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
5
5
|
__name: "PdfPage",
|
|
6
6
|
props: {
|
|
@@ -17,12 +17,12 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
|
17
17
|
setup(t, { emit: e }) {
|
|
18
18
|
let s, r, f, d, n;
|
|
19
19
|
const l = e, w = h(!0), b = K("container"), y = h(!1), p = h(null);
|
|
20
|
-
|
|
20
|
+
N(
|
|
21
21
|
() => t.scale,
|
|
22
22
|
(a) => {
|
|
23
23
|
x(a);
|
|
24
24
|
}
|
|
25
|
-
),
|
|
25
|
+
), N(
|
|
26
26
|
() => t.rotate,
|
|
27
27
|
(a) => {
|
|
28
28
|
n && (n.update({ scale: t.scale, rotation: a }), n.draw());
|
|
@@ -56,7 +56,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
|
56
56
|
annotationMode: t.annotation ? 1 : 0
|
|
57
57
|
}), n.setPdfPage(g);
|
|
58
58
|
const T = {
|
|
59
|
-
scrollPageIntoView: (
|
|
59
|
+
scrollPageIntoView: (E) => l("link-clicked", E)
|
|
60
60
|
};
|
|
61
61
|
return o.setDocument(t.pdf), o.setViewer(T), c.setDocument(t.pdf), x(t.scale);
|
|
62
62
|
}).catch((g) => {
|
|
@@ -66,7 +66,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
|
66
66
|
function k(a = -1, o = -1) {
|
|
67
67
|
return n.update({ scale: 1, rotation: t.rotate }), a === -1 && o === -1 && (a = b.value.offsetWidth), a / n.viewport.width;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function B() {
|
|
70
70
|
var c;
|
|
71
71
|
n.update({ scale: 1, rotation: t.rotate });
|
|
72
72
|
const a = b.value.offsetHeight, o = (c = b.value.parentElement) == null ? void 0 : c.parentElement;
|
|
@@ -78,10 +78,10 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
|
78
78
|
p.value = () => x(a);
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
|
-
y.value = !0, a === "page-width" ? (a = k(), l("update:scale", a)) : a === "page-height" && (a =
|
|
81
|
+
y.value = !0, a === "page-width" ? (a = k(), l("update:scale", a)) : a === "page-height" && (a = B(), l("update:scale", a)), n.update({ scale: a, rotation: t.rotate }), await n.draw(), w.value = !1, y.value = !1;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function D() {
|
|
85
85
|
t.resize && !w.value && x("page-width");
|
|
86
86
|
}
|
|
87
87
|
return (a, o) => (m(), v("div", null, [
|
|
@@ -92,7 +92,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
|
92
92
|
class: z([a.containerClass, "pdfViewer tracking-normal"])
|
|
93
93
|
}, null, 2),
|
|
94
94
|
Y(u("div", re, null, 512), [
|
|
95
|
-
[C(_),
|
|
95
|
+
[C(_), D]
|
|
96
96
|
])
|
|
97
97
|
]));
|
|
98
98
|
}
|
|
@@ -266,38 +266,38 @@ const ye = { key: 0 }, Pe = {
|
|
|
266
266
|
emits: ["numPages", "rendered"],
|
|
267
267
|
setup(t, { emit: e }) {
|
|
268
268
|
let s = !1, r = null;
|
|
269
|
-
const f = e, d =
|
|
270
|
-
|
|
269
|
+
const f = e, d = U("isPdf", !1), n = U("fallbackMode", !1), l = te(null), w = h(!1), b = K("pageComponents"), y = h("page-width"), p = h(!0), F = h(1), k = h(void 0);
|
|
270
|
+
N(
|
|
271
271
|
() => n,
|
|
272
272
|
(a) => {
|
|
273
273
|
a && (y.value = 0.9);
|
|
274
274
|
},
|
|
275
275
|
{ immediate: !0 }
|
|
276
|
-
),
|
|
276
|
+
), N(
|
|
277
277
|
() => t.src,
|
|
278
278
|
async (a) => {
|
|
279
|
-
s || (await
|
|
280
|
-
`${
|
|
281
|
-
), await
|
|
282
|
-
`${
|
|
283
|
-
), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${
|
|
279
|
+
s || (await A(
|
|
280
|
+
`${Z.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.min.mjs`
|
|
281
|
+
), await A(
|
|
282
|
+
`${Z.api.baseUrl}/js/pdfjs-dist@${I}/web/pdf_viewer.mjs`
|
|
283
|
+
), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${Z.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.worker.min.mjs`, s = !0), B(a);
|
|
284
284
|
},
|
|
285
285
|
{ immediate: !0 }
|
|
286
286
|
), O(() => {
|
|
287
287
|
r && (r.disconnect(), r = null);
|
|
288
288
|
});
|
|
289
|
-
const
|
|
289
|
+
const B = async (a) => {
|
|
290
290
|
if (!a) return;
|
|
291
291
|
w.value = !0;
|
|
292
292
|
const o = be(a);
|
|
293
|
-
await
|
|
293
|
+
await R(), o.promise.then((c) => {
|
|
294
294
|
l.value = c, w.value = !1, k.value = c.numPages, f("numPages", c.numPages), f("rendered"), t.toolbar && (k.value ?? 0) > 1 && (r = new IntersectionObserver(
|
|
295
295
|
(i) => {
|
|
296
296
|
i.forEach((g) => {
|
|
297
297
|
var T;
|
|
298
298
|
if (g.isIntersecting) {
|
|
299
|
-
const
|
|
300
|
-
F.value =
|
|
299
|
+
const E = Number((T = g.target) == null ? void 0 : T.getAttribute("data-page"));
|
|
300
|
+
F.value = E;
|
|
301
301
|
}
|
|
302
302
|
});
|
|
303
303
|
},
|
|
@@ -305,7 +305,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
305
305
|
rootMargin: "0px",
|
|
306
306
|
threshold: 0.5
|
|
307
307
|
}
|
|
308
|
-
),
|
|
308
|
+
), R(() => {
|
|
309
309
|
var i;
|
|
310
310
|
(i = b.value) == null || i.forEach(
|
|
311
311
|
(g) => r.observe(g.$el)
|
|
@@ -318,7 +318,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
318
318
|
behavior: "instant",
|
|
319
319
|
block: "start"
|
|
320
320
|
});
|
|
321
|
-
},
|
|
321
|
+
}, D = async () => {
|
|
322
322
|
l.value && l.value.getData().then((a) => {
|
|
323
323
|
const o = new Blob([a], { type: "application/pdf" }), c = URL.createObjectURL(o), i = document.createElement("a");
|
|
324
324
|
i.href = c, i.setAttribute("download", "document.pdf"), i.click();
|
|
@@ -337,7 +337,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
337
337
|
o[3] || (o[3] = S(`
|
|
338
338
|
`))
|
|
339
339
|
])) : (m(), v(q, { key: 1 }, [
|
|
340
|
-
a.toolbar && !C(n) && !w.value ? (m(),
|
|
340
|
+
a.toolbar && !C(n) && !w.value ? (m(), $(we, {
|
|
341
341
|
key: 0,
|
|
342
342
|
scale: y.value,
|
|
343
343
|
"onUpdate:scale": o[0] || (o[0] = (i) => y.value = i),
|
|
@@ -345,7 +345,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
345
345
|
"onUpdate:autoZoom": o[1] || (o[1] = (i) => p.value = i),
|
|
346
346
|
"current-page": F.value,
|
|
347
347
|
"num-pages": k.value,
|
|
348
|
-
onDownload:
|
|
348
|
+
onDownload: D,
|
|
349
349
|
onNavigateToPage: x
|
|
350
350
|
}, null, 8, ["scale", "auto-zoom", "current-page", "num-pages"])) : j("", !0),
|
|
351
351
|
u("div", {
|
|
@@ -361,7 +361,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
361
361
|
u("div", {
|
|
362
362
|
class: z({ "overflow-x-auto": !p.value })
|
|
363
363
|
}, [
|
|
364
|
-
(m(!0), v(q, null, ae(k.value, (i) => (m(),
|
|
364
|
+
(m(!0), v(q, null, ae(k.value, (i) => (m(), $(le, ne({ ref_for: !0 }, a.$attrs, {
|
|
365
365
|
ref_for: !0,
|
|
366
366
|
ref_key: "pageComponents",
|
|
367
367
|
ref: b,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as v } from "./mapFormMixin-
|
|
2
|
-
import { B as A } from "./BlockMedia-
|
|
3
|
-
import { _ as b,
|
|
4
|
-
import { u as B } from "./DocumentLayout-
|
|
5
|
-
import { t as D } from "./template-
|
|
1
|
+
import { m as v } from "./mapFormMixin-CCKubywa.js";
|
|
2
|
+
import { B as A } from "./BlockMedia-B1T85G4R.js";
|
|
3
|
+
import { _ as b, u as C, ag as u, d as s, o as n, j as a, y as f, e as l, X as w, t as r, s as T, n as N, b as h, c as _, F as V, f as x, T as F, b4 as P } from "./main-BBhJGb7I.js";
|
|
4
|
+
import { u as B } from "./DocumentLayout-DHSEYClM.js";
|
|
5
|
+
import { t as D } from "./template-B-Ds8x_U.js";
|
|
6
6
|
import { s as L } from "./dom-DOcGU3-g.js";
|
|
7
|
-
import { T as j } from "./DocTextEditor-
|
|
7
|
+
import { T as j } from "./DocTextEditor-BGzwRwjt.js";
|
|
8
8
|
import { i as M } from "./i18nMessages-Chz_lxGG.js";
|
|
9
9
|
const z = {
|
|
10
10
|
name: "SummaryBottom",
|
|
@@ -106,7 +106,7 @@ const z = {
|
|
|
106
106
|
e && L(e);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, I = { class: "summary-bottom-root" }, W = { class: "price-type-string data-text" }, H = {
|
|
110
110
|
key: 0,
|
|
111
111
|
class: "price-deduction-text"
|
|
112
112
|
}, E = {
|
|
@@ -115,26 +115,26 @@ const z = {
|
|
|
115
115
|
}, $ = {
|
|
116
116
|
key: 0,
|
|
117
117
|
class: "open-acc-item"
|
|
118
|
-
},
|
|
118
|
+
}, O = { class: "open-acc-link" }, U = {
|
|
119
119
|
class: "data-text",
|
|
120
120
|
style: { "font-size": "calc(2 * var(--rem))", "font-weight": "900", "letter-spacing": "1px", "line-height": "1", "padding-bottom": "calc(0.3 * var(--rem))" }
|
|
121
|
-
},
|
|
121
|
+
}, q = {
|
|
122
122
|
key: 2,
|
|
123
123
|
class: "label-text caps price-deduction-text",
|
|
124
124
|
style: { "margin-top": "4px" }
|
|
125
|
-
},
|
|
125
|
+
}, Z = {
|
|
126
126
|
key: 1,
|
|
127
127
|
class: "flex w-full items-center justify-end",
|
|
128
128
|
style: { height: "108px" }
|
|
129
|
-
},
|
|
129
|
+
}, R = { style: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, G = { style: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, X = { style: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, J = {
|
|
130
130
|
key: 0,
|
|
131
131
|
style: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" }
|
|
132
|
-
},
|
|
132
|
+
}, K = {
|
|
133
133
|
key: 1,
|
|
134
134
|
style: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" }
|
|
135
|
-
},
|
|
135
|
+
}, Q = { style: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } };
|
|
136
136
|
function Y(e, o, t, c, d, i) {
|
|
137
|
-
return n(), s("section",
|
|
137
|
+
return n(), s("section", I, [
|
|
138
138
|
a("div", {
|
|
139
139
|
style: w([
|
|
140
140
|
{
|
|
@@ -148,20 +148,20 @@ function Y(e, o, t, c, d, i) {
|
|
|
148
148
|
]),
|
|
149
149
|
class: "summary-bottom"
|
|
150
150
|
}, [
|
|
151
|
-
t.options.length ? (n(), s("div",
|
|
152
|
-
a("div",
|
|
151
|
+
t.options.length ? (n(), s("div", Z, [
|
|
152
|
+
a("div", R, [
|
|
153
153
|
a("div", G, r(e._document.$t("price.proposal")), 1),
|
|
154
154
|
a("div", null, r(e._document.$t("summaryBottom.chooseFrom")), 1)
|
|
155
155
|
]),
|
|
156
|
-
a("div",
|
|
157
|
-
t.base ? (n(), s("div",
|
|
158
|
-
a("div",
|
|
156
|
+
a("div", X, [
|
|
157
|
+
t.base ? (n(), s("div", K, [
|
|
158
|
+
a("div", Q, r(i.priceFormat(t.base.prices.total, {
|
|
159
159
|
currency: i.currency,
|
|
160
160
|
decimals: 2,
|
|
161
161
|
hideZeroDecimals: !0
|
|
162
162
|
})), 1),
|
|
163
163
|
a("div", null, " + " + r(e._document.$tc("summaryBottom.option", { count: t.options.length })), 1)
|
|
164
|
-
])) : (n(), s("div",
|
|
164
|
+
])) : (n(), s("div", J, r(e._document.$t("summaryBottom.noOfOptions", {
|
|
165
165
|
count: t.options.length
|
|
166
166
|
})), 1))
|
|
167
167
|
]),
|
|
@@ -180,7 +180,7 @@ function Y(e, o, t, c, d, i) {
|
|
|
180
180
|
class: f(["flex w-full flex-col", [{ "fixed-price-type-string": i.isSmallScreen }]]),
|
|
181
181
|
style: w([{ "background-color": "hsl(224, 57%, 39%)" }, [i.backgroundSecondary]])
|
|
182
182
|
}, [
|
|
183
|
-
a("div",
|
|
183
|
+
a("div", W, r(i.priceTypeString), 1),
|
|
184
184
|
i.isSmallScreen ? l("", !0) : (n(), s("div", H, r(i.priceDeductionVatString), 1))
|
|
185
185
|
], 6),
|
|
186
186
|
i.priceType.some((m) => ["openAcc", "openAccMaxPrice"].includes(m)) ? (n(), s("div", E, [
|
|
@@ -190,7 +190,7 @@ function Y(e, o, t, c, d, i) {
|
|
|
190
190
|
})) + ": ", 1),
|
|
191
191
|
a("div", null, r(i.priceFormat(i.openAccMaxPrice, { currency: i.currency })), 1)
|
|
192
192
|
])) : l("", !0),
|
|
193
|
-
a("div",
|
|
193
|
+
a("div", O, [
|
|
194
194
|
T(r(e._document.$t("see").capitalize()) + " ", 1),
|
|
195
195
|
a("span", {
|
|
196
196
|
style: { color: "inherit", cursor: "pointer" },
|
|
@@ -204,13 +204,13 @@ function Y(e, o, t, c, d, i) {
|
|
|
204
204
|
key: 1,
|
|
205
205
|
class: f([[{ "justify-end": !i.isSmallScreen }], "flex w-full items-center"])
|
|
206
206
|
}, [
|
|
207
|
-
a("div",
|
|
207
|
+
a("div", U, r(i.priceType.includes("approx") ? e._document.$t("approx").capitalize() : "") + " " + r(i.priceFormat(i.priceTotal, {
|
|
208
208
|
currency: i.currency,
|
|
209
209
|
decimals: 2,
|
|
210
210
|
hideZeroDecimals: !0
|
|
211
211
|
})), 1)
|
|
212
212
|
], 2)),
|
|
213
|
-
i.isSmallScreen ? (n(), s("div",
|
|
213
|
+
i.isSmallScreen ? (n(), s("div", q, r(i.priceDeductionVatString), 1)) : l("", !0)
|
|
214
214
|
], 2))
|
|
215
215
|
], 4)
|
|
216
216
|
]);
|
|
@@ -224,7 +224,7 @@ const ee = /* @__PURE__ */ b(z, [["render", Y], ["__scopeId", "data-v-7b484c4b"]
|
|
|
224
224
|
components: {
|
|
225
225
|
TextEditor: j,
|
|
226
226
|
DocumentLogotype: N(
|
|
227
|
-
() => import("./DocumentLogotype-
|
|
227
|
+
() => import("./DocumentLogotype-0jH2-sr7.js")
|
|
228
228
|
)
|
|
229
229
|
},
|
|
230
230
|
emits: ["update:logotype", "update:doc-name"],
|