@cling-se/widget 0.13.1 → 0.13.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/README.md +27 -22
- package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-D9a9MCUX.js} +11 -16
- package/dist/{AnswerModal-7c83d608.js → AnswerModal-D8x72yGp.js} +1931 -1948
- package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-BvRfBRk6.js} +15 -18
- package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BmvP7mNA.js} +139 -142
- package/dist/{BaseInput-2ca68242.js → BaseInput-DDxP_o2d.js} +77 -56
- package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-BYXTgBXu.js} +208 -212
- package/dist/{BlockMedia-9fa610ce.js → BlockMedia-BjasKSPl.js} +6 -8
- package/dist/{CCallout-4c253200.js → CCallout-D66Z5Gmx.js} +26 -16
- package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CsY-c0bJ.js} +51 -50
- package/dist/{CField-823448be.js → CField-P1DJ6Xte.js} +75 -58
- package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-CWaOjZ6c.js} +5 -7
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-ZmW20zh4.js} +6 -8
- package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-CS5EWC8m.js} +11 -13
- package/dist/{ClientModal-c5ee3885.js → ClientModal-JsCpUq7_.js} +25 -32
- package/dist/{ColorPicker-65a47379.js → ColorPicker-D2qM7zAH.js} +5 -7
- package/dist/{CompanyModal-564e2b35.js → CompanyModal-Cy41VR2V.js} +28 -30
- package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-BZV21UxA.js} +25 -43
- package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-BKSeVFDE.js} +20 -31
- package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-kP7uwYPw.js} +5 -12
- package/dist/{DocDetails-6522bb1b.js → DocDetails-CQokGcQU.js} +47 -59
- package/dist/{DocForm-983d41f5.js → DocForm--8jg79O2.js} +4871 -4946
- package/dist/{DocFormSend-787ce614.js → DocFormSend-yMGm0yem.js} +15 -33
- package/dist/DocLinks-tR60r1YR.js +38 -0
- package/dist/{DocModalBase-60c69c7f.js → DocModalBase-CTK46Brc.js} +8 -10
- package/dist/{DocPrint-78c501ca.js → DocPrint-GY73q9cl.js} +6 -10
- package/dist/{DocReceipt-ac44b93f.js → DocReceipt-pTTh1XRW.js} +11 -15
- package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-C4MsDwmQ.js} +2 -6
- package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-22iwpJ.js} +2509 -2529
- package/dist/{DocTimeline-35106a94.js → DocTimeline-CwcPVMLq.js} +26 -37
- package/dist/{DocumentClient-eda56a3c.js → DocumentClient-C9Lm9899.js} +15 -22
- package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BijbYCjw.js} +4510 -4527
- package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-EyAhhuyy.js} +20 -22
- package/dist/DocumentVoided-D5t8akG5.js +25 -0
- package/dist/{EmbedInput-8c301d27.js → EmbedInput-BgRj0APU.js} +9 -12
- package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-D2AVYJsR.js} +6 -9
- package/dist/ErrorCallout-C2Hz9_Kw.js +28 -0
- package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-qE7IG4wX.js} +8 -14
- package/dist/{Flag-a6b545e0.js → Flag-BCpOsl81.js} +18 -20
- package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-BZNxb77S.js} +34 -49
- package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-FTD0imPM.js} +12 -20
- package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-Dt-_sMWf.js} +356 -384
- package/dist/{Index-ea1e223d.js → Index-21Rqe72Y.js} +16 -18
- package/dist/{Index-54f457ee.js → Index-5j91zO6f.js} +10 -12
- package/dist/{Index-848bb05c.js → Index-BCXTn1sC.js} +11 -13
- package/dist/{Index-01224b38.js → Index-BDET3dI8.js} +233 -273
- package/dist/{Index-071b97c8.js → Index-BFaUGjUB.js} +24 -26
- package/dist/{Index-8cfeac73.js → Index-BKlCGLNd.js} +80 -90
- package/dist/{Index-c349151b.js → Index-BoLTPa35.js} +7 -9
- package/dist/{Index-ecbffb52.js → Index-CBbfIsZN.js} +18 -31
- package/dist/{Index-8f237754.js → Index-CFdROMC3.js} +6 -8
- package/dist/{Index-8ea1a895.js → Index-CJODaFN6.js} +16 -21
- package/dist/{Index-4298f3e2.js → Index-C_xGmfku.js} +13 -15
- package/dist/Index-CcukWQRL.js +21 -0
- package/dist/Index-Cl5xExRO.js +24 -0
- package/dist/{Index-b56a2d94.js → Index-Cp6jRq1R.js} +20 -23
- package/dist/{Index-4b09d0fa.js → Index-CuoBquDv.js} +116 -118
- package/dist/{Index-4f119d80.js → Index-Cwl2NC2m.js} +459 -510
- package/dist/{Index-fe0e805b.js → Index-D-bjhn09.js} +51 -58
- package/dist/{Index-a52df5e2.js → Index-D2nfeQ5x.js} +14 -21
- package/dist/{Index-caebb616.js → Index-D5bdxU_9.js} +4 -6
- package/dist/{Index-6b66b9ff.js → Index-DFtgMiak.js} +4 -6
- package/dist/{Index-3f02e8ca.js → Index-DGZ31KnZ.js} +8 -11
- package/dist/{Index-5bf8b9b7.js → Index-DJR3xxCd.js} +8 -10
- package/dist/{Index-8ebe3371.js → Index-DMY-Sq_M.js} +19 -26
- package/dist/Index-DlhEipBL.js +26 -0
- package/dist/Index-Dv7cLrE4.js +52 -0
- package/dist/{Index-b2de3af8.js → Index-In1yv5wC.js} +2 -4
- package/dist/{Index-8e82da74.js → Index-UamytEM4.js} +12 -15
- package/dist/{Index-63aea2b8.js → Index-WMiYQ88f.js} +12 -21
- package/dist/{Index-a3920b7b.js → Index-WNn-Ygm3.js} +9 -11
- package/dist/{Index-56e4127a.js → Index-_IbAcZwx.js} +29 -29
- package/dist/{Index-f1bf6520.js → Index-djTZz7Ns.js} +6 -8
- package/dist/{Index-c049a6e2.js → Index-sfUDC-CQ.js} +7 -9
- package/dist/Index-tPwll4sB.js +49 -0
- package/dist/{Index-97c18be1.js → Index-xgTLuqmb.js} +5 -9
- package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-BEO32u0P.js} +3 -5
- package/dist/{ManualPopover-d7c2a780.js → ManualPopover-BBh0cUw5.js} +1 -3
- package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-CoMogZxx.js} +3 -6
- package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BT1Q6RMl.js} +5 -7
- package/dist/{PackageGroup-95d99d03.js → PackageGroup-FdTMDsjx.js} +35 -59
- package/dist/{PdfTerms-4a6d6067.js → PdfTerms-DyPWsQVj.js} +11 -18
- package/dist/{PdfViewer-8d7f2143.js → PdfViewer-DypsavPs.js} +25 -29
- package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-BfBjldPv.js} +5 -7
- package/dist/{PriceHeader-f2cb6529.js → PriceHeader-C7uxm0UF.js} +113 -130
- package/dist/SearchApi-BFRaO76p.js +161 -0
- package/dist/{Setup-74c47337.js → Setup-5Bd2oKy5.js} +9 -11
- package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-qp4QTvSS.js} +6 -12
- package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-BVO3w229.js} +8 -10
- package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-kUXMHL_T.js} +7 -9
- package/dist/{UploadModal-d2757015.js → UploadModal-pc_pdLKq.js} +16 -19
- package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-D_pGBwqs.js} +6 -8
- package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-j923whT9.js} +7 -11
- package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-YwoeiHje.js} +20 -28
- package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-B_U73rNw.js} +5 -5
- package/dist/{debounce-f8aeabc5.js → debounce-BsRaWg59.js} +3 -3
- package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
- package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-JAewKqED.js} +1 -1
- package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-D4n0po7Z.js} +1198 -1171
- package/dist/{formDrawerState-b99be3a7.js → formDrawerState-zC8aJ2vd.js} +1 -1
- package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-BZkYLjQt.js} +2 -2
- package/dist/{index-b2348f09.js → index-B3HvM0tt.js} +39 -44
- package/dist/{index-96e9db00.js → index-CoyXZLrG.js} +41 -59
- package/dist/{index-c9186403.js → index-DMs1rzm_.js} +14 -16
- package/dist/{IsPremiumPreStep-27645ee9.js → index-DNfDl5X3.js} +531 -566
- package/dist/{index-d35e9363.js → index-RA-At4z5.js} +5 -3
- package/dist/{index-9d1ade78.js → index-g89MyoBh.js} +3 -5
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1019 -1028
- package/dist/{main-b9ea9725.js → main-DdTHuJSP.js} +21733 -21943
- package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-jUVHvbDZ.js} +1 -2
- package/dist/{vuedraggable.umd-1b113186.js → omit-Cu3_dgaV.js} +143 -133
- package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-DbENjyL4.js} +1 -1
- package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
- package/dist/style.css +2 -2
- package/dist/{throttle-53a6c735.js → throttle-DP3fD_7G.js} +2 -2
- package/dist/{tinycolor-071e269c.js → tinycolor-BK1IhVpb.js} +6 -6
- package/dist/{tippy.esm-1b89bf69.js → tippy.esm-BZYdaq3J.js} +226 -232
- package/dist/{utils-44a35f52.js → utils-D8WP6t_z.js} +1 -1
- package/package.json +2 -2
- package/dist/DocLinks-d6b1b080.js +0 -41
- package/dist/DocumentVoided-fe1bd505.js +0 -27
- package/dist/ErrorCallout-87033b39.js +0 -30
- package/dist/Index-6bfbbbd2.js +0 -61
- package/dist/Index-6c21af02.js +0 -28
- package/dist/Index-cbd0f3f6.js +0 -23
- package/dist/Index-f006e9fe.js +0 -26
- package/dist/Index-fc0516f6.js +0 -54
- package/dist/SearchApi-2a59cdc7.js +0 -167
- package/dist/index-3671e1b7.js +0 -14
- package/dist/index-805c56e4.js +0 -4
- /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
- /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
- /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
- /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
- /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { T as
|
|
6
|
-
|
|
7
|
-
import "./ColorPicker-65a47379.js";
|
|
8
|
-
import "./DocumentLayout-4005baa4.js";
|
|
9
|
-
import "./debounce-f8aeabc5.js";
|
|
10
|
-
import "./CDropdownItem-7e71da85.js";
|
|
11
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-ceb19661.js";
|
|
12
|
-
import "./dom-962579a6.js";
|
|
13
|
-
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
14
|
-
import "./ManualPopover-d7c2a780.js";
|
|
15
|
-
import "./color-c1606adc.js";
|
|
16
|
-
const b = {
|
|
1
|
+
import { m as g } from "./mapFormMixin-jUVHvbDZ.js";
|
|
2
|
+
import { E as y } from "./ErrorCallout-C2Hz9_Kw.js";
|
|
3
|
+
import { al as f, am as v, u as _, n as d, an as k, x as w, b as p, d as P, c as $ } from "./main-DdTHuJSP.js";
|
|
4
|
+
import { t as m } from "./tinycolor-BK1IhVpb.js";
|
|
5
|
+
import { T as b } from "./DocTextEditor-C-22iwpJ.js";
|
|
6
|
+
const x = {
|
|
17
7
|
name: "ArticleItem",
|
|
18
|
-
mixins: [
|
|
8
|
+
mixins: [g([])],
|
|
19
9
|
props: {
|
|
20
10
|
title: {
|
|
21
11
|
type: String,
|
|
@@ -78,7 +68,7 @@ const b = {
|
|
|
78
68
|
default: null
|
|
79
69
|
}
|
|
80
70
|
},
|
|
81
|
-
docLang:
|
|
71
|
+
docLang: f,
|
|
82
72
|
computed: {
|
|
83
73
|
fixQuantity() {
|
|
84
74
|
return this.priceType === "openAcc" ? 1 : this.quantity;
|
|
@@ -109,7 +99,7 @@ const b = {
|
|
|
109
99
|
let i = this.totalAmount;
|
|
110
100
|
this.showPricesIncVat && this.priceType !== "markup" && (i *= (100 + this.vat) / 100);
|
|
111
101
|
let e = "";
|
|
112
|
-
return this.priceType === "openAcc" && (e = `/${
|
|
102
|
+
return this.priceType === "openAcc" && (e = `/${v(this.unitType, {
|
|
113
103
|
lng: this._document.language
|
|
114
104
|
})}`, this.houseWorkType && (i *= {
|
|
115
105
|
rot: 0.7,
|
|
@@ -141,8 +131,8 @@ const b = {
|
|
|
141
131
|
}
|
|
142
132
|
},
|
|
143
133
|
methods: {
|
|
144
|
-
articleUnitLabel:
|
|
145
|
-
priceFormat:
|
|
134
|
+
articleUnitLabel: v,
|
|
135
|
+
priceFormat: _
|
|
146
136
|
}
|
|
147
137
|
};
|
|
148
138
|
var T = function() {
|
|
@@ -151,22 +141,19 @@ var T = function() {
|
|
|
151
141
|
"no-border-top": e.position === 0
|
|
152
142
|
} }, [t("div", { staticClass: "article-text" }, [t("div", { staticClass: "article-text-title hyphens-auto break-all" }, [e._v(e._s(e.title))]), e.showDetails ? t("div", { staticClass: "article-text-sub" }, [e.priceType === "openAcc" || e.priceType === "markup" ? t("div", [e._v(" " + e._s(e._document.$t(`price.${e.priceType}`)) + " ")]) : e._e(), e.priceType !== "openAcc" && e.priceType !== "markup" ? t("div", [e._v(" " + e._s(e.fixQuantity) + " " + e._s(e.articleUnitLabel(e.unitType, { count: e.fixQuantity, lng: e._document.language, instance: e.$options.docLang })) + " ")]) : e._e(), e.atPrice ? t("svg", { staticStyle: { margin: "0 4px" }, attrs: { width: "6", height: "6", viewBox: "0 0 148 141", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M73.742787 92.65535l-34.444359 47.40859-18.607391-13.51906 34.060775-46.88064L0 61.8743 7.107391 40 62 57.83569V0h23v57.99346L140.378182 40l7.107391 21.8743-54.751812 17.78994 34.060775 46.88064-18.607391 13.51906-34.444358-47.40859z", fill: "#000", "fill-rule": "evenodd" } })]) : e._e(), e.atPrice ? t("div", [e._v(e._s(e.atPrice))]) : e._e()]) : e._e()]), t("div", { staticClass: "article-price" }, [e.showPrice ? [e.discount ? t("div", { domProps: { innerHTML: e._s(e.discountLabels) } }) : e._e(), t("div", [e._v(" " + e._s(e.totalPrice) + " ")])] : e._e(), e.houseWorkType ? t("div", { staticClass: "article-price-sub" }, [e.houseWorkType && e.priceType === "openAcc" ? [e._v(e._s(e._document.$t("deduction.afterType", { type: `${e.houseWorkType}_percentage` })))] : e.houseWorkType ? [e._v(e._s(e._document.$t("chapters.articleItem.eligibleForDeduction", { type: `${e.houseWorkType}_percentage` })))] : e._e()], 2) : e._e()], 2)]);
|
|
153
143
|
}, S = [], V = /* @__PURE__ */ d(
|
|
154
|
-
|
|
144
|
+
x,
|
|
155
145
|
T,
|
|
156
146
|
S,
|
|
157
147
|
!1,
|
|
158
148
|
null,
|
|
159
|
-
"
|
|
160
|
-
null,
|
|
161
|
-
null
|
|
149
|
+
"cf33c521"
|
|
162
150
|
);
|
|
163
|
-
const C = V.exports
|
|
164
|
-
const I = {
|
|
151
|
+
const C = V.exports, I = {
|
|
165
152
|
name: "ArticleList",
|
|
166
153
|
components: {
|
|
167
154
|
DocChapterArticleItem: C
|
|
168
155
|
},
|
|
169
|
-
mixins: [
|
|
156
|
+
mixins: [g([])],
|
|
170
157
|
props: {
|
|
171
158
|
articles: {
|
|
172
159
|
type: Array,
|
|
@@ -199,7 +186,7 @@ const I = {
|
|
|
199
186
|
}
|
|
200
187
|
},
|
|
201
188
|
methods: {
|
|
202
|
-
articleHouseWorkType:
|
|
189
|
+
articleHouseWorkType: k
|
|
203
190
|
}
|
|
204
191
|
};
|
|
205
192
|
var A = function() {
|
|
@@ -213,18 +200,15 @@ var A = function() {
|
|
|
213
200
|
} } }, [e._v(" " + e._s(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) })) + " ")]) : e._e()]), e._l(e.articles, function(r, o) {
|
|
214
201
|
return t("DocChapterArticleItem", { key: o, attrs: { _document: e._document, title: r.name, quantity: r.quantity, unit: r.unit, "unit-type": r.unitType, "article-no": r.article_no, "house-work-type": e.articleHouseWorkType(r), price: e.showPrices ? r.price : null, currency: r.currency, vat: r.vat, "price-type": r.priceType, "show-price": r.showPrice, position: r.position, "show-prices-inc-vat": e.showPricesIncVat, discount: r.discount, "discount-type": r.discountType, "total-amount": r.totalAmount } });
|
|
215
202
|
})], 2);
|
|
216
|
-
},
|
|
203
|
+
}, F = [], D = /* @__PURE__ */ d(
|
|
217
204
|
I,
|
|
218
205
|
A,
|
|
219
|
-
|
|
206
|
+
F,
|
|
220
207
|
!1,
|
|
221
208
|
null,
|
|
222
|
-
"
|
|
223
|
-
null,
|
|
224
|
-
null
|
|
209
|
+
"cb0dfa52"
|
|
225
210
|
);
|
|
226
|
-
const z =
|
|
227
|
-
const B = {
|
|
211
|
+
const z = D.exports, B = {
|
|
228
212
|
name: "PackageItem",
|
|
229
213
|
i18nOptions: {
|
|
230
214
|
namespaces: "PackageItem",
|
|
@@ -239,7 +223,7 @@ const B = {
|
|
|
239
223
|
},
|
|
240
224
|
components: {
|
|
241
225
|
ArticleList: z,
|
|
242
|
-
TextEditor:
|
|
226
|
+
TextEditor: b
|
|
243
227
|
},
|
|
244
228
|
inject: {
|
|
245
229
|
isPdf: {
|
|
@@ -307,7 +291,7 @@ const B = {
|
|
|
307
291
|
},
|
|
308
292
|
description() {
|
|
309
293
|
const i = this._document ? this._document._doc : {};
|
|
310
|
-
return
|
|
294
|
+
return w(this.workPackage.data.description, i);
|
|
311
295
|
},
|
|
312
296
|
useVat() {
|
|
313
297
|
return this._document ? this._document.useVat : !1;
|
|
@@ -318,7 +302,7 @@ const B = {
|
|
|
318
302
|
},
|
|
319
303
|
methods: {
|
|
320
304
|
priceFormat(i, e = {}) {
|
|
321
|
-
return
|
|
305
|
+
return _(i, {
|
|
322
306
|
currency: this.prices.currency,
|
|
323
307
|
decimals: 2,
|
|
324
308
|
hideZeroDecimals: !0,
|
|
@@ -359,12 +343,9 @@ var M = function() {
|
|
|
359
343
|
W,
|
|
360
344
|
!1,
|
|
361
345
|
null,
|
|
362
|
-
"
|
|
363
|
-
null,
|
|
364
|
-
null
|
|
346
|
+
"597f71fb"
|
|
365
347
|
);
|
|
366
|
-
const Z = O.exports
|
|
367
|
-
const q = {
|
|
348
|
+
const Z = O.exports, q = {
|
|
368
349
|
name: "PackagePricingSummary",
|
|
369
350
|
props: {
|
|
370
351
|
// PackageGroup.prices (format: calcPrices of one group)
|
|
@@ -495,7 +476,7 @@ const q = {
|
|
|
495
476
|
},
|
|
496
477
|
methods: {
|
|
497
478
|
priceFormat(i, e = { showZero: !0 }) {
|
|
498
|
-
return
|
|
479
|
+
return _(i, e);
|
|
499
480
|
},
|
|
500
481
|
deductionText(i = !0) {
|
|
501
482
|
let e = "";
|
|
@@ -608,27 +589,24 @@ var L = function() {
|
|
|
608
589
|
return t("div", { key: a, staticClass: "block-container print-avoid-break-inside", class: { first: a === 0 } }, [t("div", { staticClass: "block-header" }, [r.title ? t("div", { staticStyle: { "font-weight": "800" } }, [e._v(" " + e._s(r.title) + " ")]) : e._e(), r.subTitle ? t("div", { staticStyle: { "font-size": "16px", "margin-left": "0.5em" } }, [e._v(" " + e._s(r.subTitle) + " ")]) : e._e()]), o.length || s ? t("div", { staticClass: "block-body" }, [e._l(o, function({ label: c, value: n }, u) {
|
|
609
590
|
return t("div", { key: `item-${u}-${a}`, staticClass: "block-body-item", class: a === 0 && "primary-light-background", style: a !== 0 && { borderBottom: "1px solid hsl(210, 15%, 85%)" } }, [t("div", [e._v(e._s(c))]), t("div", [e._v(e._s(n))])]);
|
|
610
591
|
}), s ? t("div", { staticClass: "block-body-footer", style: { "border-top": `4px solid ${e.primaryColor}` } }, [t("div", [e._v(" " + e._s(s.title) + " "), s.subTitle ? t("div", { staticStyle: { "font-weight": "500", "font-size": "calc(1em - 2px)" } }, [e._v(" " + e._s(s.subTitle) + " ")]) : e._e()]), t("div", { staticClass: "text-right" }, [t("div", [e._v(e._s(s.value))]), s.subValue ? t("div", { staticClass: "block-body-footer-hint" }, [e._v(" " + e._s(s.subValue) + " ")]) : e._e()])]) : e._e()], 2) : e._e()]);
|
|
611
|
-
}), e.prices.region && e.prices.region.reverseVat ? [t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.reverseVat")) + " ")])] : e._e(), e.prices.region && e.prices.region.houseWorkType ? t("div", { staticClass: "terms-text", attrs: { id: "villkor-avdrag" } }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWork", { type: `${e.prices.region.houseWorkType}_percentage` })) + " ")]) : e._e(), e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWorkApprox")) + " ")]) : e._e()], 2) : e._e(), e.placeholder ? t("div", { staticClass: "flex w-full flex-col items-center justify-center", staticStyle: { 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))", "text-align": "center", "font-size": "16px" } }, [t("svg", { attrs: { width: "200", height: "100", viewBox: "0 0 418 211", xmlns: "http://www.w3.org/2000/svg" } }, [t("defs", [t("filter", { attrs: { x: "-30.7%", y: "-26.2%", width: "160%", height: "155%", filterUnits: "objectBoundingBox"
|
|
592
|
+
}), e.prices.region && e.prices.region.reverseVat ? [t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.reverseVat")) + " ")])] : e._e(), e.prices.region && e.prices.region.houseWorkType ? t("div", { staticClass: "terms-text", attrs: { id: "villkor-avdrag" } }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWork", { type: `${e.prices.region.houseWorkType}_percentage` })) + " ")]) : e._e(), e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWorkApprox")) + " ")]) : e._e()], 2) : e._e(), e.placeholder ? t("div", { staticClass: "flex w-full flex-col items-center justify-center", staticStyle: { 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))", "text-align": "center", "font-size": "16px" } }, [t("svg", { attrs: { width: "200", height: "100", viewBox: "0 0 418 211", xmlns: "http://www.w3.org/2000/svg" } }, [t("defs", [t("filter", { attrs: { id: "a", x: "-30.7%", y: "-26.2%", width: "160%", height: "155%", filterUnits: "objectBoundingBox" } }, [t("feOffset", { attrs: { dy: "3", in: "SourceAlpha", result: "shadowOffsetOuter1" } }), t("feGaussianBlur", { attrs: { stdDeviation: "1", in: "shadowOffsetOuter1", result: "shadowBlurOuter1" } }), t("feColorMatrix", { attrs: { 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" } }), t("feMerge", [t("feMergeNode", { attrs: { in: "shadowMatrixOuter1" } }), t("feMergeNode", { attrs: { in: "SourceGraphic" } })], 1)], 1)]), t("g", { attrs: { fill: "none", "fill-rule": "evenodd" } }, [t("path", { attrs: { stroke: "#E4E4E4", "stroke-width": "3", d: "M1.5 1.5h415v187H1.5z" } }), t("path", { attrs: { fill: e.primaryColor, "fill-rule": "nonzero", d: "M282 139h136v51H282z" } }), t("g", { attrs: { filter: "url(#a)", transform: "translate(365.5 165)" } }, [t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", fill: "#FFF", "fill-rule": "nonzero" } }), t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", stroke: "#000", "stroke-width": "1.9", "stroke-linecap": "round", "stroke-linejoin": "round" } }), t("path", { attrs: { d: "M29.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 001.9 0zM24.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 002 0zM17.5 23.4v8.7a1 1 0 102 0l-.1-8.7a1 1 0 10-1.9 0z", fill: "#000", "fill-rule": "nonzero" } })]), t("text", { attrs: { "font-family": "Inter-Regular, Inter", "font-size": "24", fill: "#FFF" } }, [t("tspan", { attrs: { x: "332.4", y: "173" } }, [e._v(e._s(e._document.$t("select")))])]), t("path", { attrs: { fill: "#E4E4E4", "fill-rule": "nonzero", d: "M28 27h124v24H28zM28 64h355v11H28zM28 82h355v12H28zM28 103h178v12H28z" } })])]), t("div", { staticStyle: { "padding-top": "1em", "font-weight": "600", "font-size": "18px" } }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.placeholder.title")) + " ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.placeholder.description"))), t("span", { staticStyle: { "font-weight": "600" } }, [e._v(e._s(e._document.$t("chapters.pricingSummary.placeholder.descriptionBold")))]), e._v(". ")])]) : e._e()]) : e._e();
|
|
612
593
|
}, E = [], j = /* @__PURE__ */ d(
|
|
613
594
|
q,
|
|
614
595
|
L,
|
|
615
596
|
E,
|
|
616
597
|
!1,
|
|
617
598
|
null,
|
|
618
|
-
"
|
|
619
|
-
null,
|
|
620
|
-
null
|
|
599
|
+
"a3ec6611"
|
|
621
600
|
);
|
|
622
|
-
const G = j.exports
|
|
623
|
-
const N = {
|
|
601
|
+
const G = j.exports, N = {
|
|
624
602
|
name: "PackageGroup",
|
|
625
603
|
components: {
|
|
626
604
|
PackageItem: Z,
|
|
627
605
|
PackagePricingSummary: G,
|
|
628
|
-
ErrorCallout:
|
|
606
|
+
ErrorCallout: y
|
|
629
607
|
},
|
|
630
608
|
mixins: [
|
|
631
|
-
|
|
609
|
+
g(["type", "packages", "hideGroupPrice"], { useEmit: !1 })
|
|
632
610
|
],
|
|
633
611
|
props: {
|
|
634
612
|
validator: {
|
|
@@ -675,7 +653,7 @@ const N = {
|
|
|
675
653
|
const {
|
|
676
654
|
isPreview: i,
|
|
677
655
|
setPricesIncVat: e = null,
|
|
678
|
-
useVat: t =
|
|
656
|
+
useVat: t = P[$.brand].defaultRegion === "SE"
|
|
679
657
|
} = p(this, "_document", {});
|
|
680
658
|
i && e !== null ? this.showPricesIncVat = e : this.showPricesIncVat = p(this, "_document.prices.helpers.isIndivid", !0) && t;
|
|
681
659
|
},
|
|
@@ -713,11 +691,9 @@ var R = function() {
|
|
|
713
691
|
H,
|
|
714
692
|
!1,
|
|
715
693
|
null,
|
|
716
|
-
"
|
|
717
|
-
null,
|
|
718
|
-
null
|
|
694
|
+
"f50d442e"
|
|
719
695
|
);
|
|
720
|
-
const
|
|
696
|
+
const ee = U.exports;
|
|
721
697
|
export {
|
|
722
|
-
|
|
698
|
+
ee as default
|
|
723
699
|
};
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { V as
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
4
|
-
import "./DocumentLayout-4005baa4.js";
|
|
5
|
-
import "./debounce-f8aeabc5.js";
|
|
6
|
-
import "./CDropdownItem-7e71da85.js";
|
|
7
|
-
const o = {
|
|
1
|
+
import { V as s } from "./PdfViewer-DypsavPs.js";
|
|
2
|
+
import { n as t } from "./main-DdTHuJSP.js";
|
|
3
|
+
const n = {
|
|
8
4
|
name: "PdfTerms",
|
|
9
5
|
functional: !0,
|
|
10
6
|
render(r, e) {
|
|
@@ -17,7 +13,7 @@ const o = {
|
|
|
17
13
|
domProps: {
|
|
18
14
|
innerHTML: e.props.text
|
|
19
15
|
}
|
|
20
|
-
})]) : e.props.file ? r("div", [r(
|
|
16
|
+
})]) : e.props.file ? r("div", [r(s, {
|
|
21
17
|
attrs: {
|
|
22
18
|
src: e.props.file.url,
|
|
23
19
|
docFilePath: "data.terms.file.url"
|
|
@@ -25,19 +21,16 @@ const o = {
|
|
|
25
21
|
class: "pdf-container"
|
|
26
22
|
})]) : r("div");
|
|
27
23
|
}
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
var a = /* @__PURE__ */ s(
|
|
31
|
-
o,
|
|
24
|
+
}, o = null, a = null;
|
|
25
|
+
var l = /* @__PURE__ */ t(
|
|
32
26
|
n,
|
|
33
|
-
|
|
27
|
+
o,
|
|
28
|
+
a,
|
|
34
29
|
!1,
|
|
35
30
|
null,
|
|
36
|
-
"d1cc4fe9"
|
|
37
|
-
null,
|
|
38
|
-
null
|
|
31
|
+
"d1cc4fe9"
|
|
39
32
|
);
|
|
40
|
-
const
|
|
33
|
+
const m = l.exports;
|
|
41
34
|
export {
|
|
42
|
-
|
|
35
|
+
m as default
|
|
43
36
|
};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import { e as o } from "./dom-
|
|
3
|
-
import { W as w } from "./DocumentLayout-
|
|
4
|
-
let l, f, c, p,
|
|
1
|
+
import { n as u, Q as m, c as n } from "./main-DdTHuJSP.js";
|
|
2
|
+
import { e as o } from "./dom-CPYqHOIw.js";
|
|
3
|
+
import { W as w } from "./DocumentLayout-BijbYCjw.js";
|
|
4
|
+
let l, f, c, p, h;
|
|
5
5
|
function _(t) {
|
|
6
6
|
return typeof t == "object" && t !== null && t.__PDFDocumentLoadingTask === !0;
|
|
7
7
|
}
|
|
8
8
|
const P = {
|
|
9
9
|
name: "PdfPage",
|
|
10
|
+
components: {
|
|
11
|
+
WithDimensions: w
|
|
12
|
+
},
|
|
10
13
|
props: {
|
|
11
14
|
src: {
|
|
12
15
|
type: [String, Object, Promise],
|
|
@@ -41,9 +44,6 @@ const P = {
|
|
|
41
44
|
default: ""
|
|
42
45
|
}
|
|
43
46
|
},
|
|
44
|
-
components: {
|
|
45
|
-
WithDimensions: w
|
|
46
|
-
},
|
|
47
47
|
data() {
|
|
48
48
|
return {
|
|
49
49
|
internalSrc: this.src,
|
|
@@ -70,7 +70,7 @@ const P = {
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
mounted() {
|
|
73
|
-
l = window.pdfjsViewer.DefaultTextLayerFactory, f = window.pdfjsViewer.PDFFindController, c = window.pdfjsViewer.PDFLinkService, p = window.pdfjsViewer.PDFPageView,
|
|
73
|
+
l = window.pdfjsViewer.DefaultTextLayerFactory, f = window.pdfjsViewer.PDFFindController, c = window.pdfjsViewer.PDFLinkService, p = window.pdfjsViewer.PDFPageView, h = window.pdfjsViewer.EventBus, this.init();
|
|
74
74
|
},
|
|
75
75
|
beforeDestroy() {
|
|
76
76
|
this.pdfViewer && (this.pdfViewer.destroy(), this.pdfViewer = null);
|
|
@@ -78,7 +78,7 @@ const P = {
|
|
|
78
78
|
methods: {
|
|
79
79
|
init() {
|
|
80
80
|
_(this.internalSrc) || (this.internalSrc = this.pdfLoadingTask, this.$emit("loading", !0));
|
|
81
|
-
const t = this.$refs.container, e = new
|
|
81
|
+
const t = this.$refs.container, e = new h();
|
|
82
82
|
e.on("pagerendered", (s) => {
|
|
83
83
|
this.$emit("pagerendered", s);
|
|
84
84
|
}), this.pdfLinkService = new c({
|
|
@@ -129,14 +129,12 @@ const P = {
|
|
|
129
129
|
var v = function() {
|
|
130
130
|
var e = this, i = e._self._c;
|
|
131
131
|
return i("div", [e.loading ? e._t("loading") : e._e(), i("WithDimensions", { on: { resize: e.resizeScale } }, [i("div", { ref: "container", staticClass: "pdfViewer", class: e.containerClass })])], 2);
|
|
132
|
-
}, y = [], V = /* @__PURE__ */
|
|
132
|
+
}, y = [], V = /* @__PURE__ */ u(
|
|
133
133
|
P,
|
|
134
134
|
v,
|
|
135
135
|
y,
|
|
136
136
|
!1,
|
|
137
137
|
null,
|
|
138
|
-
null,
|
|
139
|
-
null,
|
|
140
138
|
null
|
|
141
139
|
);
|
|
142
140
|
const L = V.exports, a = new m();
|
|
@@ -167,6 +165,14 @@ const d = {
|
|
|
167
165
|
a.on("remove", t);
|
|
168
166
|
}
|
|
169
167
|
}, k = {
|
|
168
|
+
components: {
|
|
169
|
+
VuePdf: L
|
|
170
|
+
},
|
|
171
|
+
inject: {
|
|
172
|
+
isPdf: {
|
|
173
|
+
default: !1
|
|
174
|
+
}
|
|
175
|
+
},
|
|
170
176
|
props: {
|
|
171
177
|
src: {
|
|
172
178
|
type: String,
|
|
@@ -177,14 +183,6 @@ const d = {
|
|
|
177
183
|
default: null
|
|
178
184
|
}
|
|
179
185
|
},
|
|
180
|
-
components: {
|
|
181
|
-
VuePdf: L
|
|
182
|
-
},
|
|
183
|
-
inject: {
|
|
184
|
-
isPdf: {
|
|
185
|
-
default: !1
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
186
|
data() {
|
|
189
187
|
return {
|
|
190
188
|
numPages: void 0,
|
|
@@ -194,9 +192,6 @@ const d = {
|
|
|
194
192
|
pdfRenderBus: d
|
|
195
193
|
};
|
|
196
194
|
},
|
|
197
|
-
created() {
|
|
198
|
-
this.isPdf || d.add(this._uid);
|
|
199
|
-
},
|
|
200
195
|
watch: {
|
|
201
196
|
src: {
|
|
202
197
|
immediate: !0,
|
|
@@ -209,6 +204,9 @@ const d = {
|
|
|
209
204
|
}
|
|
210
205
|
}
|
|
211
206
|
},
|
|
207
|
+
created() {
|
|
208
|
+
this.isPdf || d.add(this._uid);
|
|
209
|
+
},
|
|
212
210
|
methods: {
|
|
213
211
|
createLoadingTask: $,
|
|
214
212
|
async setPdf(t) {
|
|
@@ -222,9 +220,9 @@ const d = {
|
|
|
222
220
|
};
|
|
223
221
|
var S = function() {
|
|
224
222
|
var e = this, i = e._self._c;
|
|
225
|
-
return i("div", { key: e.src }, [e.isPdf ? i("pre", [e._v(" ClingPDFReplaceStart:[" + e._s(
|
|
223
|
+
return i("div", { key: e.src }, [e.isPdf ? i("pre", [e._v(" ClingPDFReplaceStart:[" + e._s(e.docFilePath) + `]ClingPDFReplaceEnd
|
|
226
224
|
`), i("div", [e._v("This page should have been replaced with URL: " + e._s(e.src))]), e._v(`
|
|
227
|
-
`)]) : i("div", [e.loading ? i("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, [i("
|
|
225
|
+
`)]) : i("div", [e.loading ? i("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, [i("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : e._e(), e._l(e.numPages, function(s) {
|
|
228
226
|
return i("VuePdf", e._b({ key: s, ref: "vuePdf", refInFor: !0, attrs: { page: s, "container-class": e.isPdf ? "" : "mb-4 shadow-[0_2px_4px_hsla(0,0%,0%,0.25)]" }, on: { "hook:created": function(r) {
|
|
229
227
|
return e.pdfRenderBus.add(`${e._uid}-${s}`);
|
|
230
228
|
}, loading: (r) => r ? null : e.pdfRenderBus.remove(`${e._uid}-${s}`) } }, "VuePdf", {
|
|
@@ -232,17 +230,15 @@ var S = function() {
|
|
|
232
230
|
...e.$props,
|
|
233
231
|
pdfLoadingTask: e.pdfLoadingTask
|
|
234
232
|
}, !1), [e._t("loading", function() {
|
|
235
|
-
return [i("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50", attrs: { slot: "loading" }, slot: "loading" }, [i("
|
|
233
|
+
return [i("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50", attrs: { slot: "loading" }, slot: "loading" }, [i("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
|
|
236
234
|
})], 2);
|
|
237
235
|
})], 2)]);
|
|
238
|
-
}, b = [], F = /* @__PURE__ */
|
|
236
|
+
}, b = [], F = /* @__PURE__ */ u(
|
|
239
237
|
k,
|
|
240
238
|
S,
|
|
241
239
|
b,
|
|
242
240
|
!1,
|
|
243
241
|
null,
|
|
244
|
-
null,
|
|
245
|
-
null,
|
|
246
242
|
null
|
|
247
243
|
);
|
|
248
244
|
const j = F.exports;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as r } from "./main-
|
|
1
|
+
import { n as r } from "./main-DdTHuJSP.js";
|
|
2
2
|
const e = {
|
|
3
3
|
name: "PlainHtml"
|
|
4
4
|
};
|
|
@@ -6,17 +6,15 @@ var o = function(t, n) {
|
|
|
6
6
|
return t("div", { staticClass: "quill-format" }, [n._t("default", function() {
|
|
7
7
|
return [t("div", { domProps: { innerHTML: n._s(n.props.content) } })];
|
|
8
8
|
})], 2);
|
|
9
|
-
},
|
|
9
|
+
}, s = [], a = /* @__PURE__ */ r(
|
|
10
10
|
e,
|
|
11
11
|
o,
|
|
12
|
-
|
|
12
|
+
s,
|
|
13
13
|
!0,
|
|
14
14
|
null,
|
|
15
|
-
null,
|
|
16
|
-
null,
|
|
17
15
|
null
|
|
18
16
|
);
|
|
19
|
-
const
|
|
17
|
+
const c = a.exports;
|
|
20
18
|
export {
|
|
21
|
-
|
|
19
|
+
c as P
|
|
22
20
|
};
|