@cling-se/widget 0.19.2 → 0.19.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/CHANGELOG.md +21 -5
- package/dist/{AddClientCallout-CrgtDE1g.js → AddClientCallout-BfBl04bU.js} +10 -10
- package/dist/{AnswerModal-DuUrRtqb.js → AnswerModal-BSakBDNJ.js} +3 -3
- package/dist/{AttachmentItem-B4pQcy2G.js → AttachmentItem-BLGn1ILf.js} +14 -14
- package/dist/{BaseUpload-gG2x6qjE.js → BaseUpload-CUaYnXBn.js} +2 -2
- package/dist/{BlockMedia-CYObh8R1.js → BlockMedia-CbsL1ZZR.js} +14 -14
- package/dist/{CCallout-DB1Nhq1P.js → CCallout-BezZlOfm.js} +2 -2
- package/dist/{CCurrencyDropdown-RSxDL1y1.js → CCurrencyDropdown-xdp_13tB.js} +6 -6
- package/dist/{CDropdownItem-CaJPL0ix.js → CDropdownItem-CjTBhP8h.js} +14 -14
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-X4qDeN9V.js → CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js} +13 -13
- package/dist/{CPhoneFormat-Dz1pdvII.js → CPhoneFormat-CdD0NkFL.js} +1 -1
- package/dist/{CPhoneInput-DFfTxDLw.js → CPhoneInput-CgV-rBLW.js} +12 -12
- package/dist/{CPriceInput-BmE0LJnD.js → CPriceInput-VMyB3kTX.js} +5 -5
- package/dist/{CSelect-Cn56hnV9.js → CSelect-BpZYcMEc.js} +6 -6
- package/dist/{CSkeleton.vue_vue_type_script_setup_true_lang-_22gmUxz.js → CSkeleton.vue_vue_type_script_setup_true_lang-vOwtNEFo.js} +1 -1
- package/dist/{ClientAutocomplete-UKNKeyMB.js → ClientAutocomplete-DAlOBlRj.js} +19 -19
- package/dist/{ClientModal-CotFxQD1.js → ClientModal-B5J8NblQ.js} +24 -24
- package/dist/{ColorPicker-oojW4s7y.js → ColorPicker-BBPCRucQ.js} +17 -17
- package/dist/{CompanyModal-V2220EcL.js → CompanyModal-D0iOqYPp.js} +10 -10
- package/dist/{ContentWrapper-CFy6DQXN.js → ContentWrapper-Jp2A9A1G.js} +19 -19
- package/dist/{CoverBlockSettings-BXvitGdc.js → CoverBlockSettings-UVNE3YWj.js} +33 -33
- package/dist/{DocAnswer-CgPt3olH.js → DocAnswer-BDqoRdYy.js} +2 -2
- package/dist/{DocDetails-9xooRg_h.js → DocDetails-CQHUQYVe.js} +57 -57
- package/dist/{DocForm-DRtOSARY.js → DocForm-BU4Mx9Fi.js} +26 -26
- package/dist/{DocFormSend-D9jjIIaI.js → DocFormSend-DXtfCSEG.js} +2 -2
- package/dist/{DocLinks-pIOEJLej.js → DocLinks-zF-W4hpD.js} +2 -2
- package/dist/{DocModalBase-DsbOe6s8.js → DocModalBase-CneXY73m.js} +1 -1
- package/dist/{DocPrint-CufRKk8F.js → DocPrint-DQkI5BgD.js} +11 -11
- package/dist/{DocReceipt-COp7VQoL.js → DocReceipt-DJfBiwUr.js} +12 -12
- package/dist/{DocSendReminder-CSMXARbK.js → DocSendReminder-CSxB-KWG.js} +13 -13
- package/dist/{DocTextEditor-qn8x9msY.js → DocTextEditor-CSqqlABA.js} +8 -8
- package/dist/{DocTimeline-mvp8lUIg.js → DocTimeline-CDTh_czd.js} +19 -19
- package/dist/{DocumentClient-DZT6zDsS.js → DocumentClient-COSPT21G.js} +5 -5
- package/dist/{DocumentLayout-DIIWy6Kp.js → DocumentLayout-CweRWvIc.js} +31 -31
- package/dist/{DocumentLogotype-C0mDZen6.js → DocumentLogotype-D0cjO9XC.js} +4 -4
- package/dist/{DocumentVoided-DY1BXdGV.js → DocumentVoided-BuNs74Da.js} +1 -1
- package/dist/{EmbedInput-PF-tVkB-.js → EmbedInput-BohNHou7.js} +8 -8
- package/dist/{EmbedSettings-BFyKpzVW.js → EmbedSettings-DrgFPrd-.js} +20 -20
- package/dist/{ErrorCallout-DPblHW_2.js → ErrorCallout-BVWDsp2J.js} +1 -1
- package/dist/{FilePreviewModal-1vVcdnf1.js → FilePreviewModal-BVEsg1jk.js} +10 -10
- package/dist/{Flag-fwtXqNpB.js → Flag-B0cEHRlt.js} +1 -1
- package/dist/{HeaderSettings-DZOtWZHq.js → HeaderSettings-CGaJ7akp.js} +35 -35
- package/dist/{ImageSelectModal-B6Jqrbf3.js → ImageSelectModal-D2A6akvb.js} +3 -3
- package/dist/{ImageUploadWrapper-CEEWW2j8.js → ImageUploadWrapper-BHqbK12Z.js} +2 -2
- package/dist/{Index-CfQEgESe.js → Index--WcKCsGG.js} +10 -10
- package/dist/{Index-D4wt-YQi.js → Index-3Yts7KXY.js} +17 -17
- package/dist/{Index-D4kmYP6x.js → Index-6zEMdU6I.js} +4 -4
- package/dist/{Index-CeTaCDWy.js → Index-B518kuyT.js} +7 -7
- package/dist/{Index-CbrRH1cg.js → Index-BGKHEKp8.js} +4 -4
- package/dist/{Index-DAWMYVSD.js → Index-BNzgoLmd.js} +5 -5
- package/dist/{Index-seZctaMp.js → Index-BPKB1HUJ.js} +1 -1
- package/dist/{Index-DWG7xRvo.js → Index-BSlfSspe.js} +13 -13
- package/dist/{Index-B6E6PWu_.js → Index-C4ajjo5G.js} +1 -1
- package/dist/{Index-DB62deaJ.js → Index-CAG_M3hA.js} +12 -12
- package/dist/{Index-C136ZEg_.js → Index-CEBnyO4l.js} +5 -5
- package/dist/{Index-sjlKuUSd.js → Index-CFpRQnNq.js} +6 -6
- package/dist/{Index-CBbwapNp.js → Index-CLFDz6SJ.js} +10 -10
- package/dist/{Index-DkHUMd8Z.js → Index-CN6ts_Xp.js} +19 -19
- package/dist/{Index-JEWUmlkg.js → Index-CSiHZutC.js} +10 -10
- package/dist/{Index-DFjDWZY4.js → Index-CXMNxdAF.js} +6 -6
- package/dist/Index-C_pXu_0v.js +52 -0
- package/dist/{Index-2gnLGDcw.js → Index-Cxc5s2dg.js} +7 -7
- package/dist/{Index-Da0cMAVE.js → Index-CzTIqHwe.js} +3 -3
- package/dist/{Index-LAJf5GLZ.js → Index-D05FW5AK.js} +24 -23
- package/dist/{Index-TgF7lPPU.js → Index-D5YE8uWt.js} +2 -2
- package/dist/{Index-BQRVfmgK.js → Index-DPVl5ugc.js} +4 -4
- package/dist/{Index-BhgC3bA-.js → Index-DRaKysrP.js} +16 -16
- package/dist/{Index-x30NL1ak.js → Index-DU1wpDH9.js} +2 -2
- package/dist/{Index-B9TW_3VU.js → Index-Dbmv21li.js} +3 -3
- package/dist/{Index-CLzQRC9I.js → Index-DmOHKqoS.js} +2 -2
- package/dist/{Index-BSdHkKHY.js → Index-DylKlBB9.js} +2 -2
- package/dist/{Index-B0WE-byN.js → Index-I98TuKi1.js} +19 -19
- package/dist/{Index-Ca1_yAOy.js → Index-K56XRGlg.js} +20 -20
- package/dist/{Index--8EOf9hJ.js → Index-LuLYEISf.js} +22 -22
- package/dist/{Index-D1KygVAh.js → Index-Y4-687rr.js} +4 -4
- package/dist/{Index-CjBjSGV_.js → Index-eczQUYpI.js} +4 -4
- package/dist/{Index-IWfava8z.js → Index-to2qkBy9.js} +3 -3
- package/dist/Index-yMgZ5Gcs.js +4 -0
- package/dist/{Index.vue_vue_type_script_lang-DUOQ65ER.js → Index.vue_vue_type_script_lang-V786MsVt.js} +2 -2
- package/dist/{InputToggleRow--pdwGLsH.js → InputToggleRow-TizMrUy3.js} +5 -5
- package/dist/{ManualPopover-B0usSqJO.js → ManualPopover-D5s82nTD.js} +5 -5
- package/dist/{MediaWrapper-BEYMTyYM.js → MediaWrapper-B8QJIu96.js} +5 -5
- package/dist/{NotBindingText-CpqgmLoC.js → NotBindingText-CRNgx9DB.js} +2 -2
- package/dist/{PackageGroup-CMYRtKe-.js → PackageGroup-BSF-af5b.js} +23 -23
- package/dist/{PdfTerms-CzAb7PPK.js → PdfTerms-DZiOm01r.js} +6 -6
- package/dist/{PdfViewer-BAQgKuG3.js → PdfViewer-C4KmWufw.js} +59 -59
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-Cv9FYvAz.js → PlainHtml.vue_vue_type_script_setup_true_lang-Tt5bu7Nw.js} +1 -1
- package/dist/{PriceHeader-C6TFY6m5.js → PriceHeader-9PyzP2JW.js} +74 -74
- package/dist/{SearchApi-CNUGushn.js → SearchApi-Dqw0KfAD.js} +3 -3
- package/dist/{SendForm-BUtznAeM.js → SendForm-DwIGeVAZ.js} +11 -11
- package/dist/{Setup-oLjBz_no.js → Setup-2CQuTokL.js} +1 -1
- package/dist/{SmartList-D3U0tawP.js → SmartList-DlivOpMQ.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-ByJiDH0d.js → Sortable.vue_vue_type_script_setup_true_lang-B8DZEh_u.js} +92 -92
- package/dist/{TermsSettings-CSvgk5vt.js → TermsSettings-C3HFNpbX.js} +17 -17
- package/dist/{ThemeColorRow-NvhS0tg6.js → ThemeColorRow-j7lkaEKS.js} +8 -8
- package/dist/{ToggleBinding-X2eS4_Wx.js → ToggleBinding-BTBbFc-F.js} +4 -4
- package/dist/{UploadModal-C5Ii7LYO.js → UploadModal-DEwQZ_8a.js} +8 -8
- package/dist/{VideoPlayerInput-mkXShtpw.js → VideoPlayerInput-32LiwyOw.js} +7 -7
- package/dist/{VideoPlayerSettings-DMcuQpvF.js → VideoPlayerSettings-DkzjgwLt.js} +2 -2
- package/dist/{VideoSelectModal-D3fWwXWx.js → VideoSelectModal-DmEmB4Cx.js} +10 -10
- package/dist/{focusDrawerMixin-C9WRUJeU.js → focusDrawerMixin-D13Ms6Jk.js} +1 -1
- package/dist/{formDrawerState-BOOnUKbp.js → formDrawerState-CRhWaymS.js} +1 -1
- package/dist/{helpers-Ctc-8Ivh.js → helpers-B86zZNtk.js} +1 -1
- package/dist/{index-CtwkLQTr.js → index-BiwH6W9z.js} +27 -27
- package/dist/{index-DFP76wdh.js → index-D3TD9uhN.js} +34 -34
- package/dist/{index-CwiX__Q5.js → index-DAIb9mjE.js} +1 -1
- package/dist/{index-HNXe8XE1.js → index-Db7Oe7W3.js} +7 -18
- package/dist/{index-7gtuQbt6.js → index-Kb9qkTlP.js} +21 -21
- package/dist/{index-DJfG07S3.js → index-h9L0RGv3.js} +5 -5
- package/dist/{index-CONHp4Ru.js → index-tXDuIxx9.js} +41 -41
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +145 -145
- package/dist/{main-Gbowfaz3.js → main-Dr3neB7n.js} +9140 -9186
- package/dist/{mapFormMixin-BVUKFYiu.js → mapFormMixin-Bkpm1wEf.js} +15 -15
- package/dist/omit-Ciu7kNcD.js +56 -0
- package/dist/{publicSenderState-D_QGEW7Y.js → publicSenderState-CEfzhj0R.js} +1 -1
- package/dist/{splitpanes-waq5qrut.js → splitpanes-AhZAy_Th.js} +1 -1
- package/dist/{template-CMWe6aHn.js → template-MfjSWRyx.js} +1 -1
- package/dist/{tippy.esm-CCLce-Jo.js → tippy.esm-CJxvo3UM.js} +5 -5
- package/dist/{useTermsModal-BQAddgqh.js → useTermsModal-Bp1LFsXg.js} +6 -6
- package/dist/{utils-CwQZqXJo.js → utils-DgTzzSIp.js} +1 -1
- package/dist/{validation-DD9-b5-h.js → validation-J27tpgZs.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +5 -5
- package/dist/Index-C4HS9Oou.js +0 -52
- package/dist/Index-DtMQQRiG.js +0 -4
- package/dist/omit-opdAy1KI.js +0 -56
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as y, e as E,
|
|
1
|
+
import { _ as y, e as E, ac as f, o as t, b as l, s as a, K as s, H as m, v as _, O as d, c as v, f as r, w as h, n as b } from "./main-Dr3neB7n.js";
|
|
2
2
|
const k = {
|
|
3
3
|
name: "InputCompactRow",
|
|
4
4
|
emits: ["remove"],
|
|
@@ -32,10 +32,10 @@ const k = {
|
|
|
32
32
|
this.isEditing = !1;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
}, C = { class: "input-row" }, w = { class: "flex w-full justify-between" }, B = { class: "input-label" },
|
|
35
|
+
}, C = { class: "input-row" }, w = { class: "flex w-full justify-between" }, B = { class: "input-label" }, V = {
|
|
36
36
|
class: "flex w-full justify-end",
|
|
37
37
|
style: { width: "initial" }
|
|
38
|
-
},
|
|
38
|
+
}, S = {
|
|
39
39
|
key: 2,
|
|
40
40
|
ref: "inputContainer"
|
|
41
41
|
}, $ = { key: 0 };
|
|
@@ -48,7 +48,7 @@ function I(e, c, n, N, i, o) {
|
|
|
48
48
|
m(_(n.label), 1)
|
|
49
49
|
], !0)
|
|
50
50
|
]),
|
|
51
|
-
a("div",
|
|
51
|
+
a("div", V, [
|
|
52
52
|
s(e.$slots, "toggle", {}, () => [
|
|
53
53
|
n.showClear ? d((t(), v(u, {
|
|
54
54
|
key: 0,
|
|
@@ -59,7 +59,7 @@ function I(e, c, n, N, i, o) {
|
|
|
59
59
|
}, null, 512)), [
|
|
60
60
|
[g, e.$t("remove")]
|
|
61
61
|
]) : r("", !0),
|
|
62
|
-
i.isEditing ? e.$slots.bottom ? r("", !0) : d((t(), l("div",
|
|
62
|
+
i.isEditing ? e.$slots.bottom ? r("", !0) : d((t(), l("div", S, [
|
|
63
63
|
s(e.$slots, "default", {}, void 0, !0)
|
|
64
64
|
])), [
|
|
65
65
|
[p, o.closeEdit]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as w, ae as _, i as C, af as g, W as L, e as S, o as E, c as R, w as v, K as f } from "./main-Dr3neB7n.js";
|
|
2
2
|
const B = {
|
|
3
3
|
__name: "ManualPopover",
|
|
4
4
|
props: {
|
|
@@ -12,7 +12,7 @@ const B = {
|
|
|
12
12
|
var e, o;
|
|
13
13
|
return (o = (e = r.value) == null ? void 0 : e.$el) == null ? void 0 : o.firstElementChild;
|
|
14
14
|
});
|
|
15
|
-
|
|
15
|
+
g(() => {
|
|
16
16
|
var e;
|
|
17
17
|
(e = l.value) == null || e.addEventListener("click", i);
|
|
18
18
|
});
|
|
@@ -36,12 +36,12 @@ const B = {
|
|
|
36
36
|
const e = (s = (t = r.value) == null ? void 0 : (a = t.$el).getRootNode) == null ? void 0 : s.call(a);
|
|
37
37
|
return (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document;
|
|
38
38
|
};
|
|
39
|
-
return
|
|
39
|
+
return L(() => {
|
|
40
40
|
var e;
|
|
41
41
|
c(), (e = l.value) == null || e.removeEventListener("click", i);
|
|
42
42
|
}), (e, o) => {
|
|
43
|
-
const t =
|
|
44
|
-
return E(),
|
|
43
|
+
const t = S("VDropdown");
|
|
44
|
+
return E(), R(t, {
|
|
45
45
|
shown: n.value,
|
|
46
46
|
ref_key: "popover",
|
|
47
47
|
ref: r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as a } from "./mapFormMixin-
|
|
2
|
-
import { B as r } from "./BlockMedia-
|
|
3
|
-
import { _ as s, e as m, o as n, c as t,
|
|
1
|
+
import { m as a } from "./mapFormMixin-Bkpm1wEf.js";
|
|
2
|
+
import { B as r } from "./BlockMedia-CbsL1ZZR.js";
|
|
3
|
+
import { _ as s, e as m, o as n, c as t, L as i } from "./main-Dr3neB7n.js";
|
|
4
4
|
const p = {
|
|
5
5
|
name: "MediaWrapper",
|
|
6
6
|
components: { BlockMedia: r },
|
|
@@ -12,7 +12,7 @@ function c(e, d, l, _, f, B) {
|
|
|
12
12
|
media: e.item.media
|
|
13
13
|
}, e.$attrs), null, 16, ["media"]);
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const $ = /* @__PURE__ */ s(p, [["render", c]]);
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
$ as default
|
|
18
18
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./PlainHtml.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { d as n,
|
|
1
|
+
import { _ as e } from "./PlainHtml.vue_vue_type_script_setup_true_lang-Tt5bu7Nw.js";
|
|
2
|
+
import { d as n, aC as i } from "./main-Dr3neB7n.js";
|
|
3
3
|
function r(t) {
|
|
4
4
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !i(t);
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as D } from "./mapFormMixin-
|
|
2
|
-
import { E as M } from "./ErrorCallout-
|
|
3
|
-
import {
|
|
4
|
-
import { t as A } from "./template-
|
|
5
|
-
import { T as G } from "./DocTextEditor-
|
|
1
|
+
import { m as D } from "./mapFormMixin-Bkpm1wEf.js";
|
|
2
|
+
import { E as M } from "./ErrorCallout-BVWDsp2J.js";
|
|
3
|
+
import { b4 as O, b5 as C, M as F, _ as T, o as a, b as c, s as l, v as o, f as n, F as f, H as k, n as w, b6 as W, e as v, ac as z, O as I, k as b, c as _, D as q, d as V, w as S, P as L, l as x, A as P, b7 as Z, N as E, p as N } from "./main-Dr3neB7n.js";
|
|
4
|
+
import { t as A } from "./template-MfjSWRyx.js";
|
|
5
|
+
import { T as G } from "./DocTextEditor-CSqqlABA.js";
|
|
6
6
|
const j = {
|
|
7
7
|
name: "ArticleItem",
|
|
8
8
|
mixins: [D([])],
|
|
@@ -237,7 +237,7 @@ const ie = /* @__PURE__ */ T(j, [["render", te], ["__scopeId", "data-v-0358ad9f"
|
|
|
237
237
|
}
|
|
238
238
|
}, ae = { class: "article-head" };
|
|
239
239
|
function ce(t, i, e, p, g, r) {
|
|
240
|
-
const d = v("DocChapterArticleItem"), u =
|
|
240
|
+
const d = v("DocChapterArticleItem"), u = z("tooltip");
|
|
241
241
|
return a(), c("div", {
|
|
242
242
|
class: w(["article-list-wrapper", t.$attrs.class])
|
|
243
243
|
}, [
|
|
@@ -425,7 +425,7 @@ const se = /* @__PURE__ */ T(re, [["render", ce], ["__scopeId", "data-v-76980fe6
|
|
|
425
425
|
"stroke-linejoin": "round"
|
|
426
426
|
};
|
|
427
427
|
function _e(t, i, e, p, g, r) {
|
|
428
|
-
const d = v("TextEditor"), u = v("ArticleList"), s = v("Animation"), m = v("CButton"), h =
|
|
428
|
+
const d = v("TextEditor"), u = v("ArticleList"), s = v("Animation"), m = v("CButton"), h = z("tooltip");
|
|
429
429
|
return a(), c("div", {
|
|
430
430
|
style: x({
|
|
431
431
|
...e.workPackage.isSelected && {
|
|
@@ -458,7 +458,7 @@ function _e(t, i, e, p, g, r) {
|
|
|
458
458
|
class: "articles-container",
|
|
459
459
|
onToggleShowVat: i[0] || (i[0] = (y) => t.$emit("toggle-show-vat", y))
|
|
460
460
|
}, null, 8, ["_document", "articles", "show-prices-inc-vat", "use-vat", "vat-type"]), [
|
|
461
|
-
[
|
|
461
|
+
[L, r.showDetails && e.workPackage.articles.length]
|
|
462
462
|
])
|
|
463
463
|
]),
|
|
464
464
|
_: 1
|
|
@@ -494,7 +494,7 @@ function _e(t, i, e, p, g, r) {
|
|
|
494
494
|
}, {
|
|
495
495
|
default: S(() => [
|
|
496
496
|
k(o(e._document.$t("show", {
|
|
497
|
-
thing: e._document.$t(`${r.showDetails ? "less" : "
|
|
497
|
+
thing: e._document.$t(`${r.showDetails ? "less" : "detail_other"}`)
|
|
498
498
|
})), 1)
|
|
499
499
|
]),
|
|
500
500
|
_: 1
|
|
@@ -535,7 +535,7 @@ function _e(t, i, e, p, g, r) {
|
|
|
535
535
|
])) : n("", !0)
|
|
536
536
|
], 6);
|
|
537
537
|
}
|
|
538
|
-
const we = /* @__PURE__ */ T(oe, [["render", _e], ["__scopeId", "data-v-
|
|
538
|
+
const we = /* @__PURE__ */ T(oe, [["render", _e], ["__scopeId", "data-v-52e3175c"]]), Pe = {
|
|
539
539
|
name: "PackagePricingSummary",
|
|
540
540
|
props: {
|
|
541
541
|
// PackageGroup.prices (format: calcPrices of one group)
|
|
@@ -804,10 +804,10 @@ const we = /* @__PURE__ */ T(oe, [["render", _e], ["__scopeId", "data-v-d5b69771
|
|
|
804
804
|
key: 1,
|
|
805
805
|
id: "villkor-avdrag",
|
|
806
806
|
class: "terms-text"
|
|
807
|
-
},
|
|
807
|
+
}, ze = {
|
|
808
808
|
key: 2,
|
|
809
809
|
class: "terms-text"
|
|
810
|
-
},
|
|
810
|
+
}, Be = {
|
|
811
811
|
key: 1,
|
|
812
812
|
class: "flex w-full flex-col items-center justify-center",
|
|
813
813
|
style: { position: "absolute", top: "calc(1 * var(--rem))", left: "50%", transform: "translate(-50%, 0%)", "background-color": "white", width: "350px", "max-width": "90%", "border-radius": "3px", padding: "calc(2 * var(--rem))", "box-shadow": `0 1px rgba(0, 0, 0, 0.1),
|
|
@@ -825,10 +825,10 @@ const we = /* @__PURE__ */ T(oe, [["render", _e], ["__scopeId", "data-v-d5b69771
|
|
|
825
825
|
"font-family": "Inter-Regular, Inter",
|
|
826
826
|
"font-size": "24",
|
|
827
827
|
fill: "#FFF"
|
|
828
|
-
},
|
|
828
|
+
}, Le = {
|
|
829
829
|
x: "332.4",
|
|
830
830
|
y: "173"
|
|
831
|
-
},
|
|
831
|
+
}, Ze = { style: { "padding-top": "1em", "font-weight": "600", "font-size": "18px" } }, Ee = { style: { "font-weight": "600" } };
|
|
832
832
|
function Ne(t, i, e, p, g, r) {
|
|
833
833
|
return e._document.readPrices ? (a(), c("div", be, [
|
|
834
834
|
r.showPricingCard ? (a(), c("div", {
|
|
@@ -844,8 +844,8 @@ function Ne(t, i, e, p, g, r) {
|
|
|
844
844
|
d.subTitle ? (a(), c("div", Ve, o(d.subTitle), 1)) : n("", !0)
|
|
845
845
|
]),
|
|
846
846
|
u.length || s ? (a(), c("div", Se, [
|
|
847
|
-
(a(!0), c(f, null, b(u, ({ label: h, value: y },
|
|
848
|
-
key: `item-${
|
|
847
|
+
(a(!0), c(f, null, b(u, ({ label: h, value: y }, B) => (a(), c("div", {
|
|
848
|
+
key: `item-${B}-${m}`,
|
|
849
849
|
class: w([m === 0 && "primary-light-background", "block-body-item"]),
|
|
850
850
|
style: x(m !== 0 && { borderBottom: "1px solid hsl(210, 15%, 85%)" })
|
|
851
851
|
}, [
|
|
@@ -874,11 +874,11 @@ function Ne(t, i, e, p, g, r) {
|
|
|
874
874
|
`deduction.${e.prices.region.houseWorkType}_percentage`
|
|
875
875
|
)
|
|
876
876
|
})), 1)) : n("", !0),
|
|
877
|
-
e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? (a(), c("div",
|
|
877
|
+
e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? (a(), c("div", ze, o(e._document.$t("chapters.pricingSummary.terms.houseWorkApprox")), 1)) : n("", !0)
|
|
878
878
|
], 2)) : n("", !0),
|
|
879
|
-
e.placeholder ? (a(), c("div",
|
|
879
|
+
e.placeholder ? (a(), c("div", Be, [
|
|
880
880
|
(a(), c("svg", Me, [
|
|
881
|
-
i[3] || (i[3] =
|
|
881
|
+
i[3] || (i[3] = Z('<defs data-v-16cd51d3><filter id="a" x="-30.7%" y="-26.2%" width="160%" height="155%" filterUnits="objectBoundingBox" data-v-16cd51d3><feOffset dy="3" in="SourceAlpha" result="shadowOffsetOuter1" data-v-16cd51d3></feOffset><feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1" data-v-16cd51d3></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" in="shadowBlurOuter1" result="shadowMatrixOuter1" data-v-16cd51d3></feColorMatrix><feMerge data-v-16cd51d3><feMergeNode in="shadowMatrixOuter1" data-v-16cd51d3></feMergeNode><feMergeNode in="SourceGraphic" data-v-16cd51d3></feMergeNode></feMerge></filter></defs>', 1)),
|
|
882
882
|
l("g", Oe, [
|
|
883
883
|
i[0] || (i[0] = l("path", {
|
|
884
884
|
stroke: "#E4E4E4",
|
|
@@ -913,7 +913,7 @@ function Ne(t, i, e, p, g, r) {
|
|
|
913
913
|
})
|
|
914
914
|
], -1)),
|
|
915
915
|
l("text", qe, [
|
|
916
|
-
l("tspan",
|
|
916
|
+
l("tspan", Le, o(e._document.$t("select")), 1)
|
|
917
917
|
]),
|
|
918
918
|
i[2] || (i[2] = l("path", {
|
|
919
919
|
fill: "#E4E4E4",
|
|
@@ -922,10 +922,10 @@ function Ne(t, i, e, p, g, r) {
|
|
|
922
922
|
}, null, -1))
|
|
923
923
|
])
|
|
924
924
|
])),
|
|
925
|
-
l("div",
|
|
925
|
+
l("div", Ze, o(e._document.$t("chapters.pricingSummary.placeholder.title")), 1),
|
|
926
926
|
l("div", null, [
|
|
927
927
|
k(o(e._document.$t("chapters.pricingSummary.placeholder.description")), 1),
|
|
928
|
-
l("span",
|
|
928
|
+
l("span", Ee, o(e._document.$t("chapters.pricingSummary.placeholder.descriptionBold")), 1),
|
|
929
929
|
i[4] || (i[4] = k(". "))
|
|
930
930
|
])
|
|
931
931
|
])) : n("", !0)
|
|
@@ -986,7 +986,7 @@ const Ge = /* @__PURE__ */ T(Pe, [["render", Ne], ["__scopeId", "data-v-16cd51d3
|
|
|
986
986
|
const {
|
|
987
987
|
isPreview: t,
|
|
988
988
|
setPricesIncVat: i = null,
|
|
989
|
-
useVat: e =
|
|
989
|
+
useVat: e = E[N.brand].defaultRegion === "SE"
|
|
990
990
|
} = P(this, "_document", {});
|
|
991
991
|
t && i !== null ? this.showPricesIncVat = i : this.showPricesIncVat = P(this, "_document.prices.helpers.isIndivid", !0) && e;
|
|
992
992
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { V as l } from "./PdfViewer-
|
|
2
|
-
import { h as d, i as o,
|
|
1
|
+
import { V as l } from "./PdfViewer-C4KmWufw.js";
|
|
2
|
+
import { h as d, i as o, aD as _, o as s, b as t, s as a, v as f, d as m, j as p, _ as u } from "./main-Dr3neB7n.js";
|
|
3
3
|
const v = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "root"
|
|
6
|
-
}, h = { class: "root-title page-break" }, k = ["innerHTML"], x = { key: 1 }, y = { key: 2 },
|
|
6
|
+
}, h = { class: "root-title page-break" }, k = ["innerHTML"], x = { key: 1 }, y = { key: 2 }, T = /* @__PURE__ */ d({
|
|
7
7
|
__name: "PdfTerms",
|
|
8
8
|
props: {
|
|
9
9
|
text: {},
|
|
@@ -11,7 +11,7 @@ const v = {
|
|
|
11
11
|
},
|
|
12
12
|
setup(r) {
|
|
13
13
|
const n = r, c = o(() => n.file.url), i = o(() => _.t("_common:terms.general"));
|
|
14
|
-
return (e,
|
|
14
|
+
return (e, V) => e.text ? (s(), t("div", v, [
|
|
15
15
|
a("div", h, f(i.value), 1),
|
|
16
16
|
a("div", {
|
|
17
17
|
class: "term-text quill-format",
|
|
@@ -25,7 +25,7 @@ const v = {
|
|
|
25
25
|
}, null, 8, ["src"])
|
|
26
26
|
])) : (s(), t("div", y));
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
28
|
+
}), B = /* @__PURE__ */ u(T, [["__scopeId", "data-v-ddf8a4b3"]]);
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
B as default
|
|
31
31
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as
|
|
1
|
+
import { h as H, R as h, ae as K, U as T, af as Q, W as O, o as m, b as v, K as X, f as j, s as u, n as z, O as Y, j as C, bf as _, _ as W, e as G, J as M, v as I, d as P, w as J, ad as V, a1 as ee, bg as te, H as R, F as U, c as S, k as ae, Z as $, au as ne, L as oe, p as E, $ as q } from "./main-Dr3neB7n.js";
|
|
2
2
|
import { e as A } from "./dom-DOcGU3-g.js";
|
|
3
|
-
import { w as se } from "./CDropdownItem-
|
|
4
|
-
const re = { class: "w-full" }, le = /* @__PURE__ */
|
|
3
|
+
import { w as se } from "./CDropdownItem-CjTBhP8h.js";
|
|
4
|
+
const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
5
5
|
__name: "PdfPage",
|
|
6
6
|
props: {
|
|
7
7
|
pdf: {},
|
|
@@ -15,8 +15,8 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ K({
|
|
|
15
15
|
},
|
|
16
16
|
emits: ["pagerendered", "link-clicked", "update:scale", "error"],
|
|
17
17
|
setup(t, { emit: e }) {
|
|
18
|
-
let s, r, f,
|
|
19
|
-
const l = e, w = h(!0), b =
|
|
18
|
+
let s, r, f, d, n;
|
|
19
|
+
const l = e, w = h(!0), b = K("container"), y = h(!1), p = h(null);
|
|
20
20
|
T(
|
|
21
21
|
() => t.scale,
|
|
22
22
|
(a) => {
|
|
@@ -27,14 +27,14 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ K({
|
|
|
27
27
|
(a) => {
|
|
28
28
|
n && (n.update({ scale: t.scale, rotation: a }), n.draw());
|
|
29
29
|
}
|
|
30
|
-
),
|
|
31
|
-
s = window.pdfjsViewer.PDFFindController, r = window.pdfjsViewer.PDFLinkService, f = window.pdfjsViewer.PDFPageView,
|
|
30
|
+
), Q(() => {
|
|
31
|
+
s = window.pdfjsViewer.PDFFindController, r = window.pdfjsViewer.PDFLinkService, f = window.pdfjsViewer.PDFPageView, d = window.pdfjsViewer.EventBus, F();
|
|
32
32
|
}), O(() => {
|
|
33
33
|
n && (n.destroy(), n = null);
|
|
34
34
|
});
|
|
35
35
|
function F() {
|
|
36
36
|
var i;
|
|
37
|
-
const a = new
|
|
37
|
+
const a = new d();
|
|
38
38
|
a.on("pagerendered", (g) => {
|
|
39
39
|
p.value && (p.value(), p.value = null), l("pagerendered", g);
|
|
40
40
|
});
|
|
@@ -56,7 +56,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ K({
|
|
|
56
56
|
annotationMode: t.annotation ? 1 : 0
|
|
57
57
|
}), n.setPdfPage(g);
|
|
58
58
|
const N = {
|
|
59
|
-
scrollPageIntoView: (
|
|
59
|
+
scrollPageIntoView: (B) => l("link-clicked", B)
|
|
60
60
|
};
|
|
61
61
|
return o.setDocument(t.pdf), o.setViewer(N), c.setDocument(t.pdf), x(t.scale);
|
|
62
62
|
}).catch((g) => {
|
|
@@ -66,7 +66,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ K({
|
|
|
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 D() {
|
|
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,21 +78,21 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ K({
|
|
|
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 = D(), 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 Z() {
|
|
85
85
|
t.resize && !w.value && x("page-width");
|
|
86
86
|
}
|
|
87
87
|
return (a, o) => (m(), v("div", null, [
|
|
88
88
|
w.value ? X(a.$slots, "loading", { key: 0 }) : j("", !0),
|
|
89
|
-
|
|
89
|
+
u("div", {
|
|
90
90
|
ref_key: "container",
|
|
91
91
|
ref: b,
|
|
92
92
|
class: z([a.containerClass, "pdfViewer tracking-normal"])
|
|
93
93
|
}, null, 2),
|
|
94
|
-
Y(
|
|
95
|
-
[C(_),
|
|
94
|
+
Y(u("div", re, null, 512), [
|
|
95
|
+
[C(_), Z]
|
|
96
96
|
])
|
|
97
97
|
]));
|
|
98
98
|
}
|
|
@@ -147,37 +147,37 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ K({
|
|
|
147
147
|
e = Number.parseInt(e), Number.isNaN(e) && (e = this.currentPage), e < 1 && (e = 1), e > this.numPages && (e = this.numPages), e === this.currentPage && typeof ((r = t == null ? void 0 : t.target) == null ? void 0 : r.value) < "u" && (t.target.value = this.currentPage), this.$emit("navigate-to-page", e);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
},
|
|
150
|
+
}, ue = { class: "ease flex h-full items-center justify-center gap-1 overflow-hidden rounded-full border border-gray-100 bg-white px-1.5 text-gray-500 transition duration-500" }, de = { class: "mr-2 inline-flex items-center gap-2" }, ce = ["value"], fe = { class: "text-sm font-medium" }, ge = {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: "button-transitions flex items-center"
|
|
153
153
|
}, me = { class: "inline-flex items-center" }, pe = ["value"];
|
|
154
|
-
function ve(t, e, s, r, f,
|
|
154
|
+
function ve(t, e, s, r, f, d) {
|
|
155
155
|
const n = G("CIcon");
|
|
156
156
|
return m(), v("div", {
|
|
157
157
|
class: z(["pointer-events-none sticky top-0 z-10 flex h-10 w-full translate-y-4", { "translate-y-2": t.mq === "sm" }])
|
|
158
158
|
}, [
|
|
159
|
-
|
|
159
|
+
u("div", {
|
|
160
160
|
class: z(["pointer-events-auto mx-auto inline-flex items-center justify-center rounded-full bg-gray-300/50 shadow-xl backdrop-blur-md", { "ml-2": t.mq === "sm" }])
|
|
161
161
|
}, [
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
u("div", ue, [
|
|
163
|
+
u("div", de, [
|
|
164
|
+
u("input", {
|
|
165
165
|
class: "w-9 rounded-full border border-solid border-gray-200 bg-gray-100 text-center leading-loose text-gray-500",
|
|
166
166
|
type: "number",
|
|
167
167
|
value: s.currentPage,
|
|
168
|
-
onBlur: e[0] || (e[0] = (...l) =>
|
|
169
|
-
onKeyup: e[1] || (e[1] = M((...l) =>
|
|
168
|
+
onBlur: e[0] || (e[0] = (...l) => d.navigateToPage && d.navigateToPage(...l)),
|
|
169
|
+
onKeyup: e[1] || (e[1] = M((...l) => d.navigateToPage && d.navigateToPage(...l), ["enter"]))
|
|
170
170
|
}, null, 40, ce),
|
|
171
|
-
|
|
171
|
+
u("div", fe, "/ " + I(s.numPages), 1)
|
|
172
172
|
]),
|
|
173
173
|
P(ee, { name: "slide-fade" }, {
|
|
174
|
-
default:
|
|
174
|
+
default: J(() => [
|
|
175
175
|
t.mq !== "sm" || f.compactExpand ? (m(), v("div", ge, [
|
|
176
|
-
e[9] || (e[9] =
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
e[9] || (e[9] = u("div", { class: "h-8 w-px bg-gray-700/10" }, null, -1)),
|
|
177
|
+
u("div", me, [
|
|
178
|
+
u("button", {
|
|
179
179
|
class: "h-10 w-10 rounded-full text-gray-400",
|
|
180
|
-
onClick: e[2] || (e[2] = V((l) =>
|
|
180
|
+
onClick: e[2] || (e[2] = V((l) => d.updateZoom(s.scale - (s.scale > 0.2 ? 0.1 : 0)), ["prevent"]))
|
|
181
181
|
}, [
|
|
182
182
|
P(n, {
|
|
183
183
|
type: "zoomOut",
|
|
@@ -188,13 +188,13 @@ function ve(t, e, s, r, f, u) {
|
|
|
188
188
|
key: s.scale,
|
|
189
189
|
class: "w-12 rounded-md border border-solid border-gray-200 bg-gray-100 text-center leading-loose text-gray-500",
|
|
190
190
|
type: "text",
|
|
191
|
-
value:
|
|
192
|
-
onBlur: e[3] || (e[3] = (...l) =>
|
|
193
|
-
onKeyup: e[4] || (e[4] = M((...l) =>
|
|
191
|
+
value: d.formattedZoom,
|
|
192
|
+
onBlur: e[3] || (e[3] = (...l) => d.onManualZoom && d.onManualZoom(...l)),
|
|
193
|
+
onKeyup: e[4] || (e[4] = M((...l) => d.onManualZoom && d.onManualZoom(...l), ["enter"]))
|
|
194
194
|
}, null, 40, pe)),
|
|
195
|
-
|
|
195
|
+
u("button", {
|
|
196
196
|
class: "h-10 w-10 rounded-full text-gray-400",
|
|
197
|
-
onClick: e[5] || (e[5] = V((l) =>
|
|
197
|
+
onClick: e[5] || (e[5] = V((l) => d.updateZoom(s.scale + (s.scale < 2 ? 0.1 : 0)), ["prevent"]))
|
|
198
198
|
}, [
|
|
199
199
|
P(n, {
|
|
200
200
|
type: "zoomIn",
|
|
@@ -202,18 +202,18 @@ function ve(t, e, s, r, f, u) {
|
|
|
202
202
|
})
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
|
-
e[10] || (e[10] =
|
|
206
|
-
|
|
205
|
+
e[10] || (e[10] = u("div", { class: "h-8 w-px bg-gray-700/10" }, null, -1)),
|
|
206
|
+
u("button", {
|
|
207
207
|
class: "h-10 w-10 rounded-full text-gray-400",
|
|
208
|
-
onClick: e[6] || (e[6] = V((l) => s.autoZoom ? null :
|
|
208
|
+
onClick: e[6] || (e[6] = V((l) => s.autoZoom ? null : d.updateZoom("page-width"), ["prevent"]))
|
|
209
209
|
}, [
|
|
210
210
|
P(n, {
|
|
211
211
|
type: "boxBox",
|
|
212
212
|
size: "20"
|
|
213
213
|
})
|
|
214
214
|
]),
|
|
215
|
-
e[11] || (e[11] =
|
|
216
|
-
|
|
215
|
+
e[11] || (e[11] = u("div", { class: "h-8 w-px bg-gray-700/10" }, null, -1)),
|
|
216
|
+
u("button", {
|
|
217
217
|
class: "h-10 w-10 rounded-full text-gray-400",
|
|
218
218
|
onClick: e[7] || (e[7] = V((l) => t.$emit("download"), ["prevent"]))
|
|
219
219
|
}, [
|
|
@@ -256,7 +256,7 @@ function be(t, e = {}) {
|
|
|
256
256
|
const ye = { key: 0 }, Pe = {
|
|
257
257
|
key: 0,
|
|
258
258
|
class: "mb-4 grid aspect-[210/297] w-full place-items-center border border-gray-100 bg-gray-50"
|
|
259
|
-
}, he = { class: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" },
|
|
259
|
+
}, he = { class: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, L = "4.10.38", ke = /* @__PURE__ */ H({
|
|
260
260
|
__name: "PdfViewer",
|
|
261
261
|
props: {
|
|
262
262
|
src: {},
|
|
@@ -266,7 +266,7 @@ 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,
|
|
269
|
+
const f = e, d = $("isPdf", !1), n = $("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
270
|
T(
|
|
271
271
|
() => n,
|
|
272
272
|
(a) => {
|
|
@@ -277,16 +277,16 @@ const ye = { key: 0 }, Pe = {
|
|
|
277
277
|
() => t.src,
|
|
278
278
|
async (a) => {
|
|
279
279
|
s || (await A(
|
|
280
|
-
`${
|
|
280
|
+
`${E.api.baseUrl}/js/pdfjs-dist@${L}/build/pdf.min.mjs`
|
|
281
281
|
), await A(
|
|
282
|
-
`${
|
|
283
|
-
), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${
|
|
282
|
+
`${E.api.baseUrl}/js/pdfjs-dist@${L}/web/pdf_viewer.mjs`
|
|
283
|
+
), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${E.api.baseUrl}/js/pdfjs-dist@${L}/build/pdf.worker.min.mjs`, s = !0), D(a);
|
|
284
284
|
},
|
|
285
285
|
{ immediate: !0 }
|
|
286
286
|
), O(() => {
|
|
287
287
|
r && (r.disconnect(), r = null);
|
|
288
288
|
});
|
|
289
|
-
const
|
|
289
|
+
const D = async (a) => {
|
|
290
290
|
if (!a) return;
|
|
291
291
|
w.value = !0;
|
|
292
292
|
const o = be(a);
|
|
@@ -296,8 +296,8 @@ const ye = { key: 0 }, Pe = {
|
|
|
296
296
|
i.forEach((g) => {
|
|
297
297
|
var N;
|
|
298
298
|
if (g.isIntersecting) {
|
|
299
|
-
const
|
|
300
|
-
F.value =
|
|
299
|
+
const B = Number((N = g.target) == null ? void 0 : N.getAttribute("data-page"));
|
|
300
|
+
F.value = B;
|
|
301
301
|
}
|
|
302
302
|
});
|
|
303
303
|
},
|
|
@@ -318,7 +318,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
318
318
|
behavior: "instant",
|
|
319
319
|
block: "start"
|
|
320
320
|
});
|
|
321
|
-
},
|
|
321
|
+
}, Z = 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();
|
|
@@ -330,14 +330,14 @@ const ye = { key: 0 }, Pe = {
|
|
|
330
330
|
key: a.src,
|
|
331
331
|
style: { "--page-border": "0" }
|
|
332
332
|
}, [
|
|
333
|
-
C(
|
|
334
|
-
R(" ClingPDFReplaceStart:[" +
|
|
333
|
+
C(d) && !C(n) ? (m(), v("pre", ye, [
|
|
334
|
+
R(" ClingPDFReplaceStart:[" + I(a.docFilePath) + `]ClingPDFReplaceEnd
|
|
335
335
|
`, 1),
|
|
336
|
-
|
|
336
|
+
u("div", null, "This page should have been replaced with URL: " + I(a.src), 1),
|
|
337
337
|
o[3] || (o[3] = R(`
|
|
338
338
|
`))
|
|
339
|
-
])) : (m(), v(
|
|
340
|
-
a.toolbar && !C(n) && !w.value ? (m(),
|
|
339
|
+
])) : (m(), v(U, { key: 1 }, [
|
|
340
|
+
a.toolbar && !C(n) && !w.value ? (m(), S(we, {
|
|
341
341
|
key: 0,
|
|
342
342
|
scale: y.value,
|
|
343
343
|
"onUpdate:scale": o[0] || (o[0] = (i) => y.value = i),
|
|
@@ -345,10 +345,10 @@ 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: Z,
|
|
349
349
|
onNavigateToPage: x
|
|
350
350
|
}, null, 8, ["scale", "auto-zoom", "current-page", "num-pages"])) : j("", !0),
|
|
351
|
-
|
|
351
|
+
u("div", {
|
|
352
352
|
class: z(["mx-auto", { "chapter-spacing-x max-w-full": p.value && !C(n) }])
|
|
353
353
|
}, [
|
|
354
354
|
w.value ? (m(), v("div", Pe, [
|
|
@@ -358,10 +358,10 @@ const ye = { key: 0 }, Pe = {
|
|
|
358
358
|
class: "animate-spin text-gray-400"
|
|
359
359
|
})
|
|
360
360
|
])) : j("", !0),
|
|
361
|
-
|
|
361
|
+
u("div", {
|
|
362
362
|
class: z({ "overflow-x-auto": !p.value })
|
|
363
363
|
}, [
|
|
364
|
-
(m(!0), v(
|
|
364
|
+
(m(!0), v(U, null, ae(k.value, (i) => (m(), S(le, oe({ ref_for: !0 }, a.$attrs, {
|
|
365
365
|
ref_for: !0,
|
|
366
366
|
ref_key: "pageComponents",
|
|
367
367
|
ref: b,
|
|
@@ -375,8 +375,8 @@ const ye = { key: 0 }, Pe = {
|
|
|
375
375
|
"container-class": C(n) ? "" : "mb-4",
|
|
376
376
|
class: "page-shadow"
|
|
377
377
|
}), {
|
|
378
|
-
loading:
|
|
379
|
-
|
|
378
|
+
loading: J(() => [
|
|
379
|
+
u("div", he, [
|
|
380
380
|
P(c, {
|
|
381
381
|
type: "loader",
|
|
382
382
|
size: "28",
|