@cling-se/widget 0.9.23 → 0.9.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddClientCallout-49655a64.js → AddClientCallout-b8390699.js} +5 -5
- package/dist/{AnswerModal-6f4004e1.js → AnswerModal-87be4c0b.js} +84 -27
- package/dist/{AttachmentItem-e3bfcd82.js → AttachmentItem-24ad77d3.js} +7 -5
- package/dist/{BaseDatePicker-d04f761f.js → BaseDatePicker-5a89a264.js} +1 -1
- package/dist/{BaseInput-e14e8b12.js → BaseInput-f180db14.js} +6 -2
- package/dist/{BaseUpload-0fa8ad72.js → BaseUpload-529d21bb.js} +28 -11
- package/dist/{BlockMedia-b49a63f3.js → BlockMedia-93ee8699.js} +5 -3
- package/dist/{CCallout-baeb732f.js → CCallout-1c3a4b40.js} +6 -9
- package/dist/{CDropdownItem-e0cecd02.js → CDropdownItem-109be2e2.js} +3 -3
- package/dist/{CField-c10f5951.js → CField-d2390b15.js} +18 -4
- package/dist/{CPhoneFormat-636103a1.js → CPhoneFormat-570a91d9.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-d964f857.js → CSlider.vue_vue_type_style_index_0_lang-49fcd521.js} +4 -2
- package/dist/{ClientAutocomplete-28bf2076.js → ClientAutocomplete-ee0b54d5.js} +3 -3
- package/dist/{ClientModal-b94206f4.js → ClientModal-dc178083.js} +34 -19
- package/dist/{ColorPicker-b5a7f700.js → ColorPicker-94e3b1d4.js} +2 -2
- package/dist/{CompanyModal-c47e7c55.js → CompanyModal-6ef7dcdc.js} +8 -5
- package/dist/{ContentWrapper-8293109f.js → ContentWrapper-95159ca6.js} +40 -27
- package/dist/{CoverBlockSettings-2242d653.js → CoverBlockSettings-647e6b18.js} +49 -34
- package/dist/{DocAnswer-75f53dd5.js → DocAnswer-299edc71.js} +4 -4
- package/dist/{DocDetails-1bdecff4.js → DocDetails-c740d0a6.js} +71 -46
- package/dist/{DocForm-263bac20.js → DocForm-42c0c67c.js} +515 -291
- package/dist/{DocFormSend-5b098ca6.js → DocFormSend-1f9c446f.js} +18 -18
- package/dist/{DocLinks-500b61b0.js → DocLinks-2c63c0dc.js} +2 -2
- package/dist/{DocModalBase-b64e792b.js → DocModalBase-62c42e04.js} +4 -4
- package/dist/{DocPrint-555475c6.js → DocPrint-cea9de40.js} +2 -2
- package/dist/{DocReceipt-5a393f79.js → DocReceipt-61b17b52.js} +33 -10
- package/dist/{DocSendReminder-8d875174.js → DocSendReminder-d69f4a3f.js} +30 -5
- package/dist/{DocTextEditor-7fd7ca5f.js → DocTextEditor-e6008feb.js} +86 -37
- package/dist/{DocTimeline-0273acd1.js → DocTimeline-480b7adf.js} +11 -2
- package/dist/{DocumentClient-342454c2.js → DocumentClient-6e36a622.js} +7 -7
- package/dist/{DocumentLayout-00ec1c6f.js → DocumentLayout-81ae175c.js} +31 -11
- package/dist/{DocumentLogotype-137fd8f5.js → DocumentLogotype-dea21bad.js} +8 -8
- package/dist/{DocumentVoided-584cbee7.js → DocumentVoided-1b3a2ab5.js} +1 -1
- package/dist/{EmbedInput-19362c0b.js → EmbedInput-fbbf12f1.js} +2 -2
- package/dist/{EmbedSettings-cbffd133.js → EmbedSettings-1063c1e4.js} +7 -7
- package/dist/ErrorCallout-82e50910.js +30 -0
- package/dist/{FilePreviewModal-80a5f1fc.js → FilePreviewModal-dc188de1.js} +6 -6
- package/dist/{HeaderSettings-e5e52b5a.js → HeaderSettings-663e5b4f.js} +65 -63
- package/dist/{ImageSelectModal-f54699a2.js → ImageSelectModal-a76f7e4b.js} +27 -27
- package/dist/{ImageUploadWrapper-d4291dd3.js → ImageUploadWrapper-1c6f0ae4.js} +11 -5
- package/dist/{Index-468190f0.js → Index-0078c287.js} +15 -15
- package/dist/{Index-5093d646.js → Index-0428c10a.js} +2 -2
- package/dist/{Index-29147f73.js → Index-0a6802ca.js} +51 -43
- package/dist/{Index-4c78a308.js → Index-12f4ded1.js} +24 -17
- package/dist/{Index-a79cd9b6.js → Index-18c5bc6b.js} +6 -6
- package/dist/{Index-bf2ed6a3.js → Index-1914be9d.js} +3 -3
- package/dist/{Index-8ef32146.js → Index-2c3b5b59.js} +20 -16
- package/dist/{Index-d6635896.js → Index-3f3c03a0.js} +20 -16
- package/dist/{Index-0eb9d45b.js → Index-4b1074d0.js} +13 -9
- package/dist/{Index-7fe05fe5.js → Index-58ee00b1.js} +3 -3
- package/dist/{Index-d60eb16f.js → Index-5a61849b.js} +32 -20
- package/dist/{Index-4df3c1d2.js → Index-5fc2d521.js} +300 -147
- package/dist/{Index-b66d1e1a.js → Index-6fe85402.js} +4 -4
- package/dist/Index-7c14fd96.js +28 -0
- package/dist/{Index-64236029.js → Index-81c49dd8.js} +6 -9
- package/dist/{Index-96725e56.js → Index-90cc1544.js} +7 -7
- package/dist/{Index-843f81bd.js → Index-98237ab3.js} +17 -12
- package/dist/{Index-f640eb29.js → Index-a7e8812e.js} +2 -2
- package/dist/{Index-630c21f5.js → Index-ad36c47b.js} +13 -11
- package/dist/{Index-e813c8cd.js → Index-aea14240.js} +2 -2
- package/dist/{Index-0f2bf3b1.js → Index-b1f07b87.js} +13 -13
- package/dist/{Index-c89d17d9.js → Index-b457cd00.js} +17 -17
- package/dist/{Index-12a6485f.js → Index-c0dd3309.js} +3 -3
- package/dist/{Index-aad34e7e.js → Index-c1b546ad.js} +13 -15
- package/dist/{Index-7c60cb32.js → Index-c1b73537.js} +56 -31
- package/dist/{Index-dbeaf863.js → Index-c2ded827.js} +9 -10
- package/dist/{Index-a3ee21e6.js → Index-ca9d1747.js} +4 -4
- package/dist/{Index-a36c3418.js → Index-cb5b055d.js} +2 -2
- package/dist/{Index-9afa091c.js → Index-cea034a9.js} +13 -11
- package/dist/{Index-7dec77f5.js → Index-e63f7ce8.js} +21 -18
- package/dist/{Index-bb62e92d.js → Index-f05733c2.js} +22 -27
- package/dist/{Index-16155aba.js → Index-f62acccc.js} +7 -7
- package/dist/{Index-bf0e9351.js → Index-f9bbee77.js} +2 -2
- package/dist/{Index-0b1a9238.js → Index-ffedf35a.js} +4 -4
- package/dist/{InputToggleRow-40b7b57e.js → InputToggleRow-176f3685.js} +4 -4
- package/dist/{IsPremiumPreStep-d2ceb183.js → IsPremiumPreStep-f3040c7a.js} +81 -36
- package/dist/{ManualPopover-58c3f059.js → ManualPopover-b7c65a0c.js} +5 -2
- package/dist/{MediaWrapper-0e3ff436.js → MediaWrapper-d1f91245.js} +3 -3
- package/dist/{NotBindingText-38e6e74c.js → NotBindingText-00d1b175.js} +2 -2
- package/dist/{PackageGroup-6e6dd719.js → PackageGroup-89033998.js} +184 -69
- package/dist/{PdfTerms-3be0f8d1.js → PdfTerms-0e214875.js} +8 -8
- package/dist/{PdfViewer-991eb731.js → PdfViewer-00d4de8d.js} +2 -2
- package/dist/{PlainHtml-4aaf6438.js → PlainHtml-00ce6fd0.js} +1 -1
- package/dist/{PriceHeader-f3e7b525.js → PriceHeader-553f4ff0.js} +48 -32
- package/dist/{SearchApi-2523a5fb.js → SearchApi-e5cde5cf.js} +40 -20
- package/dist/{Setup-2849b519.js → Setup-7f309cf0.js} +1 -1
- package/dist/{TermsSettings-6d3dfe8d.js → TermsSettings-74d7c2d9.js} +11 -11
- package/dist/{ThemeColorRow-a33d04b5.js → ThemeColorRow-0b7ad102.js} +4 -4
- package/dist/{ToggleBinding-7c726915.js → ToggleBinding-33b62557.js} +3 -3
- package/dist/{UploadModal-814fc3af.js → UploadModal-6f43c373.js} +16 -14
- package/dist/{VideoPlayerInput-fa0774c1.js → VideoPlayerInput-81e64059.js} +3 -3
- package/dist/{VideoPlayerSettings-ff82938f.js → VideoPlayerSettings-f3445401.js} +5 -5
- package/dist/{VideoSelectModal-7b213a09.js → VideoSelectModal-736176ac.js} +32 -36
- package/dist/{answerDocumentMixin-b2488be9.js → answerDocumentMixin-0b94b90e.js} +3 -3
- package/dist/{debounce-0451fa9d.js → debounce-9410d5d6.js} +1 -1
- package/dist/{focusDrawerMixin-0d406532.js → focusDrawerMixin-14a97cd3.js} +1 -1
- package/dist/{formComponentsInstall-9c59efba.js → formComponentsInstall-6a61db21.js} +210 -168
- package/dist/{formDrawerState-6c57d51e.js → formDrawerState-b23639bd.js} +1 -1
- package/dist/{formValidationMixin-7603171e.js → formValidationMixin-047668c3.js} +1 -1
- package/dist/{image-58c45661.js → image-cd324ded.js} +1 -1
- package/dist/{index-47e427b4.js → index-22c9f370.js} +8 -6
- package/dist/{index-b20167b3.js → index-3003bff6.js} +4 -4
- package/dist/{index-cf014fd4.js → index-569793de.js} +2 -2
- package/dist/{index-0c493549.js → index-a62beb97.js} +17 -9
- package/dist/{index-4afc771b.js → index-ad0c2be7.js} +1 -1
- package/dist/{index-c0b45aa7.js → index-b937c6d2.js} +12 -12
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +96 -67
- package/dist/{main-8d566a02.js → main-4f27b552.js} +137 -80
- package/dist/{mapFormMixin-4446a1bd.js → mapFormMixin-9f326a09.js} +1 -1
- package/dist/{publicSenderState-02c0c9eb.js → publicSenderState-ec8a9ad6.js} +1 -1
- package/dist/{simplebar.min-d30d6e1f.js → simplebar.min-c555666e.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-e04cc32f.js → template-70f4518f.js} +7 -7
- package/dist/{throttle-b0a5ba09.js → throttle-a0a6c1c7.js} +2 -2
- package/dist/{tinycolor-c6f29f33.js → tinycolor-2fdfb0b3.js} +1 -1
- package/dist/{tippy.esm-2cb937d0.js → tippy.esm-e8cf7685.js} +8 -8
- package/dist/{utils-36338df7.js → utils-805171cf.js} +1 -1
- package/dist/{vuedraggable.umd-a0d21ce9.js → vuedraggable.umd-79e4b33e.js} +1 -1
- package/package.json +2 -2
- package/dist/ErrorCallout-4ce34a95.js +0 -30
- package/dist/Index-66295ea9.js +0 -28
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as m } from "./tinycolor-
|
|
2
|
-
import { ah as
|
|
3
|
-
import { E as
|
|
4
|
-
import { m as _ } from "./mapFormMixin-
|
|
5
|
-
import { T as
|
|
6
|
-
import "./tippy.esm-
|
|
7
|
-
import "./ColorPicker-
|
|
8
|
-
import "./DocumentLayout-
|
|
9
|
-
import "./debounce-
|
|
10
|
-
import "./CDropdownItem-
|
|
11
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { t as m } from "./tinycolor-2fdfb0b3.js";
|
|
2
|
+
import { ah as v, ai as y, u as g, n as p, aj as f, y as k, b as u, T as w, c as P } from "./main-4f27b552.js";
|
|
3
|
+
import { E as b } from "./ErrorCallout-82e50910.js";
|
|
4
|
+
import { m as _ } from "./mapFormMixin-9f326a09.js";
|
|
5
|
+
import { T as x } from "./DocTextEditor-e6008feb.js";
|
|
6
|
+
import "./tippy.esm-e8cf7685.js";
|
|
7
|
+
import "./ColorPicker-94e3b1d4.js";
|
|
8
|
+
import "./DocumentLayout-81ae175c.js";
|
|
9
|
+
import "./debounce-9410d5d6.js";
|
|
10
|
+
import "./CDropdownItem-109be2e2.js";
|
|
11
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-49fcd521.js";
|
|
12
12
|
import "./dom-962579a6.js";
|
|
13
13
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
14
|
-
import "./ManualPopover-
|
|
14
|
+
import "./ManualPopover-b7c65a0c.js";
|
|
15
15
|
import "./color-71c20583.js";
|
|
16
16
|
const $ = {
|
|
17
17
|
name: "ArticleItem",
|
|
@@ -78,7 +78,7 @@ const $ = {
|
|
|
78
78
|
default: null
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
docLang:
|
|
81
|
+
docLang: v,
|
|
82
82
|
computed: {
|
|
83
83
|
fixQuantity() {
|
|
84
84
|
return this.priceType === "openAcc" ? 1 : this.quantity;
|
|
@@ -97,7 +97,11 @@ const $ = {
|
|
|
97
97
|
if (!this.price || !this.showPrice || this.priceType === "openAcc" || this.priceType === "markup")
|
|
98
98
|
return !1;
|
|
99
99
|
let { price: i } = this;
|
|
100
|
-
return this.showPricesIncVat && (i *= (100 + this.vat) / 100), this.priceFormat(i, {
|
|
100
|
+
return this.showPricesIncVat && (i *= (100 + this.vat) / 100), this.priceFormat(i, {
|
|
101
|
+
currency: this.currency,
|
|
102
|
+
decimals: 2,
|
|
103
|
+
hideZeroDecimals: !0
|
|
104
|
+
});
|
|
101
105
|
},
|
|
102
106
|
totalPrice() {
|
|
103
107
|
if (!this.price || !this.totalAmount)
|
|
@@ -105,26 +109,39 @@ const $ = {
|
|
|
105
109
|
let i = this.totalAmount;
|
|
106
110
|
this.showPricesIncVat && this.priceType !== "markup" && (i *= (100 + this.vat) / 100);
|
|
107
111
|
let e = "";
|
|
108
|
-
return this.priceType === "openAcc" && (e = `/${
|
|
112
|
+
return this.priceType === "openAcc" && (e = `/${y(this.unitType, {
|
|
113
|
+
lng: this._document.language
|
|
114
|
+
})}`, this.houseWorkType && (i *= {
|
|
109
115
|
rot: 0.7,
|
|
110
116
|
rut: 0.5,
|
|
111
117
|
greenRot15: 0.85,
|
|
112
118
|
greenRot20: 0.8,
|
|
113
119
|
greenRot50: 0.5
|
|
114
|
-
}[this.houseWorkType])), this.priceType === "markup" ? i = `${this.priceFormat(i, {
|
|
120
|
+
}[this.houseWorkType])), this.priceType === "markup" ? i = `${this.priceFormat(i, {
|
|
121
|
+
suffix: !1,
|
|
122
|
+
decimals: 2,
|
|
123
|
+
currency: this.currency
|
|
124
|
+
})} %` : i = this.priceFormat(i, {
|
|
125
|
+
currency: this.currency,
|
|
126
|
+
decimals: 2,
|
|
127
|
+
hideZeroDecimals: !0
|
|
128
|
+
}), this.calcPricePrefix + i + e;
|
|
115
129
|
},
|
|
116
130
|
discountLabels() {
|
|
117
131
|
if (!this.discount)
|
|
118
132
|
return "";
|
|
119
|
-
const i = this.priceFormat(
|
|
120
|
-
|
|
121
|
-
|
|
133
|
+
const i = this.priceFormat(
|
|
134
|
+
this.fixQuantity * this.unitPriceUnformatted,
|
|
135
|
+
{
|
|
136
|
+
currency: this.currency
|
|
137
|
+
}
|
|
138
|
+
);
|
|
122
139
|
let e = "", t = "";
|
|
123
140
|
return this.discountType === "percentage" ? (e = `<span style="color: red;">-${this.discount / 100}%</span>`, t = `<span style="text-decoration: line-through; font-weight: 400; padding-left: 0.75ch; opacity: 0.75;">${i}</span>`) : t = `<span style="text-decoration: line-through; color: red;">${i}</span>`, `<div style="font-size: calc(1em - 2px);">${e}${t}</div>`;
|
|
124
141
|
}
|
|
125
142
|
},
|
|
126
143
|
methods: {
|
|
127
|
-
articleUnitLabel:
|
|
144
|
+
articleUnitLabel: y,
|
|
128
145
|
priceFormat: g
|
|
129
146
|
}
|
|
130
147
|
};
|
|
@@ -132,14 +149,14 @@ var T = function() {
|
|
|
132
149
|
var e = this, t = e._self._c;
|
|
133
150
|
return t("div", { staticClass: "article-wrapper print-avoid-break-inside", class: {
|
|
134
151
|
"no-border-top": e.position === 0
|
|
135
|
-
} }, [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}`)) + "
|
|
152
|
+
} }, [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)]);
|
|
136
153
|
}, S = [], V = /* @__PURE__ */ p(
|
|
137
154
|
$,
|
|
138
155
|
T,
|
|
139
156
|
S,
|
|
140
157
|
!1,
|
|
141
158
|
null,
|
|
142
|
-
"
|
|
159
|
+
"02fda1bd",
|
|
143
160
|
null,
|
|
144
161
|
null
|
|
145
162
|
);
|
|
@@ -187,7 +204,11 @@ const I = {
|
|
|
187
204
|
};
|
|
188
205
|
var A = function() {
|
|
189
206
|
var e = this, t = e._self._c;
|
|
190
|
-
return t("div", { staticClass: "article-list-wrapper" }, [t("div", { staticClass: "article-head" }, [t("div", [e._v(e._s(e._document.$t("chapters.articleList.title")))]), e.showPrices && e.showVatToggle ? t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e._document.$t("chapters.articleList.changeShowVatTooltip", {
|
|
207
|
+
return t("div", { staticClass: "article-list-wrapper" }, [t("div", { staticClass: "article-head" }, [t("div", [e._v(e._s(e._document.$t("chapters.articleList.title")))]), e.showPrices && e.showVatToggle ? t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e._document.$t("chapters.articleList.changeShowVatTooltip", {
|
|
208
|
+
type: e._document.$t(`vat.${e.showPricesIncVat ? "exVat" : "incVat"}`, {
|
|
209
|
+
thing: e._document.$t(`vat.${e.vatType}`)
|
|
210
|
+
})
|
|
211
|
+
}), expression: "\n _document.$t('chapters.articleList.changeShowVatTooltip', {\n type: _document.$t(`vat.${showPricesIncVat ? 'exVat' : 'incVat'}`, {\n thing: _document.$t(`vat.${vatType}`)\n })\n })\n " }], staticStyle: { "text-decoration": "underline", cursor: "pointer" }, on: { click: function(r) {
|
|
191
212
|
return e.$emit("toggle-show-vat", !e.showPricesIncVat);
|
|
192
213
|
} } }, [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, n) {
|
|
193
214
|
return t("DocChapterArticleItem", { key: n, 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 } });
|
|
@@ -198,7 +219,7 @@ var A = function() {
|
|
|
198
219
|
D,
|
|
199
220
|
!1,
|
|
200
221
|
null,
|
|
201
|
-
"
|
|
222
|
+
"6dc2c1e9",
|
|
202
223
|
null,
|
|
203
224
|
null
|
|
204
225
|
);
|
|
@@ -218,7 +239,7 @@ const B = {
|
|
|
218
239
|
},
|
|
219
240
|
components: {
|
|
220
241
|
ArticleList: z,
|
|
221
|
-
TextEditor:
|
|
242
|
+
TextEditor: x
|
|
222
243
|
},
|
|
223
244
|
inject: {
|
|
224
245
|
isPdf: {
|
|
@@ -316,15 +337,15 @@ var M = function() {
|
|
|
316
337
|
}
|
|
317
338
|
} }, [t("div", { staticClass: "top-container" }, [e.workPackage.data.name ? t("div", { staticStyle: { "font-weight": "800", "font-size": "calc(calc(1 * var(--rem)) + 4px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, [e._v(" " + e._s(e.workPackage.data.name) + " ")]) : e._e(), t("div", [t("TextEditor", { staticStyle: { "margin-bottom": "1em" }, attrs: { value: e.description } })], 1)]), t("Animation", [t("ArticleList", { directives: [{ name: "show", rawName: "v-show", value: e.showDetails && e.workPackage.articles.length, expression: "showDetails && workPackage.articles.length" }], staticClass: "articles-container", attrs: { _document: e._document, articles: e.workPackage.articles, "show-prices-inc-vat": e.showPricesIncVat, "use-vat": e.useVat, "vat-type": e.vatType, parent: "packageGroup" }, on: { "toggle-show-vat": function(r) {
|
|
318
339
|
return e.$emit("toggle-show-vat", r);
|
|
319
|
-
} } })], 1), e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (e.prices.total || e.prices.type === "openAcc") ? t("div", { staticClass: "flex justify-end w-full", staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("div", { staticStyle: { padding: "calc(0.75 * var(--rem)) calc(1 * var(--rem))
|
|
340
|
+
} } })], 1), e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (e.prices.total || e.prices.type === "openAcc") ? t("div", { staticClass: "flex justify-end w-full", staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("div", { staticStyle: { padding: "calc(0.75 * var(--rem)) calc(1 * var(--rem))", "text-align": "right" } }, [e.prices.helpers.discount ? t("div", { staticClass: "price-total", staticStyle: { color: "red", "text-decoration": "line-through", "font-size": "16px", "font-weight": "600" } }, [e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.totalBeforeDiscount : e.prices.subTotal + e.prices.helpers.discount)) + " ")]) : e._e(), e.prices.type === "openAcc" ? [t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px" } }, [e._v(" " + e._s(e._document.$t("price.pricing")) + " ")]), t("div", { staticClass: "price-total", staticStyle: { padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.openAccPrice")) + " ")])] : [t("div", { staticClass: "price-total" }, [e.type === "checkbox" ? t("span", { staticClass: "primary-text-color", staticStyle: { "font-weight": "900" } }, [e._v("+")]) : e._e(), e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.prices.total : e.prices.subTotal)) + " ")]), e.useVat ? t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px", padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.price").capitalize()) + " " + e._s(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) })) + " ")]) : e._e()]], 2)]) : e._e(), e.showToggle ? t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { "background-color": "hsl(215, 10%, 95%)" } }, [e.isPdf ? e._e() : [t("CButton", { staticClass: "package-button", attrs: { pattern: "tertiary", type: "text", icon: e.showDetails ? "arrow-up" : "arrow-down", "icon-props": { size: 20 } }, on: { click: function(r) {
|
|
320
341
|
e.showDetails = !e.showDetails;
|
|
321
342
|
} } }, [e._v(" " + e._s(e._document.$t("show", { thing: e._document.$t(`${e.showDetails ? "less" : "detail_plural"}`) })) + " ")]), e.canToggle || e.isPreview ? t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && {
|
|
322
343
|
content: e.$t("selectTooltip"),
|
|
323
344
|
offset: 5
|
|
324
|
-
}, expression: `
|
|
325
|
-
{
|
|
345
|
+
}, expression: `
|
|
346
|
+
isPreview && {
|
|
326
347
|
content: $t('selectTooltip'),
|
|
327
|
-
offset: 5
|
|
348
|
+
offset: 5
|
|
328
349
|
}
|
|
329
350
|
` }], staticClass: "package-button", class: { "is-disabled": e.isPreview }, style: {
|
|
330
351
|
backgroundColor: e.headingColor,
|
|
@@ -338,7 +359,7 @@ var M = function() {
|
|
|
338
359
|
W,
|
|
339
360
|
!1,
|
|
340
361
|
null,
|
|
341
|
-
"
|
|
362
|
+
"afeabbda",
|
|
342
363
|
null,
|
|
343
364
|
null
|
|
344
365
|
);
|
|
@@ -374,36 +395,80 @@ const L = {
|
|
|
374
395
|
},
|
|
375
396
|
computed: {
|
|
376
397
|
blocks() {
|
|
377
|
-
const {
|
|
398
|
+
const {
|
|
399
|
+
type: i,
|
|
400
|
+
total: e,
|
|
401
|
+
maxTotal: t,
|
|
402
|
+
subTotal: r,
|
|
403
|
+
taxAmount: n,
|
|
404
|
+
roundingAmount: s,
|
|
405
|
+
currency: a
|
|
406
|
+
} = this.prices, c = [];
|
|
378
407
|
if (!a)
|
|
379
408
|
return c;
|
|
380
409
|
const l = {
|
|
381
410
|
title: this._document.$t("chapters.pricingSummary.blocks.price"),
|
|
382
411
|
subTitle: this._document.$t("chapters.pricingSummary.blocks.summary")
|
|
383
|
-
}, o = this.getPricingInfo({
|
|
384
|
-
|
|
385
|
-
|
|
412
|
+
}, o = this.getPricingInfo({
|
|
413
|
+
includeFixedCosts: !this.isOpenAccPricing
|
|
414
|
+
});
|
|
415
|
+
let d = this.hasDeductions ? this._document.$t(
|
|
416
|
+
"chapters.pricingSummary.blocks.deductionSubValue",
|
|
417
|
+
{
|
|
418
|
+
price: this.priceFormat(r + n + s, {
|
|
419
|
+
currency: a,
|
|
420
|
+
decimals: 2,
|
|
421
|
+
hideZeroDecimals: !0
|
|
422
|
+
})
|
|
423
|
+
}
|
|
424
|
+
) : null, h = e;
|
|
425
|
+
return this.prices.useVat && !this.showPricesIncVat && !this.hasDeductions && (h = r, d = `${this.priceFormat(e, {
|
|
426
|
+
currency: a,
|
|
427
|
+
decimals: 2,
|
|
428
|
+
hideZeroDecimals: !0
|
|
429
|
+
})} ${this._document.$t("vat.incVat")}`), ["fixed", "approx"].includes(i) && c.push({
|
|
386
430
|
header: l,
|
|
387
431
|
items: o,
|
|
388
432
|
footer: {
|
|
389
433
|
title: this._document.$t("chapters.pricingSummary.blocks.total"),
|
|
390
434
|
subTitle: i === "approx" ? this._document.$t("chapters.pricingSummary.blocks.approx") : null,
|
|
391
|
-
value: this.priceFormat(h, {
|
|
435
|
+
value: this.priceFormat(h, {
|
|
436
|
+
currency: a,
|
|
437
|
+
decimals: 2,
|
|
438
|
+
hideZeroDecimals: !0
|
|
439
|
+
}),
|
|
392
440
|
subValue: d
|
|
393
441
|
}
|
|
394
442
|
}), this.isOpenAccPricing && (c.push({
|
|
395
443
|
header: l,
|
|
396
444
|
items: o,
|
|
397
445
|
footer: t ? {
|
|
398
|
-
title: this._document.$t(
|
|
399
|
-
|
|
446
|
+
title: this._document.$t(
|
|
447
|
+
"chapters.pricingSummary.blocks.maxPrice"
|
|
448
|
+
),
|
|
449
|
+
value: this.priceFormat(this.calcMaxPrice, {
|
|
450
|
+
currency: a,
|
|
451
|
+
decimals: 2,
|
|
452
|
+
hideZeroDecimals: !0
|
|
453
|
+
})
|
|
400
454
|
} : null
|
|
401
455
|
}), e && c.push({
|
|
402
|
-
header: {
|
|
403
|
-
|
|
456
|
+
header: {
|
|
457
|
+
subTitle: this._document.$t(
|
|
458
|
+
"chapters.pricingSummary.blocks.subTitleArticles"
|
|
459
|
+
)
|
|
460
|
+
},
|
|
461
|
+
items: this.getPricingInfo({
|
|
462
|
+
includeFixedCosts: !0,
|
|
463
|
+
showType: !1
|
|
464
|
+
}),
|
|
404
465
|
footer: {
|
|
405
466
|
title: this._document.$t("chapters.pricingSummary.blocks.total"),
|
|
406
|
-
value: this.priceFormat(h, {
|
|
467
|
+
value: this.priceFormat(h, {
|
|
468
|
+
currency: a,
|
|
469
|
+
decimals: 2,
|
|
470
|
+
hideZeroDecimals: !0
|
|
471
|
+
}),
|
|
407
472
|
subValue: d
|
|
408
473
|
}
|
|
409
474
|
})), c;
|
|
@@ -434,7 +499,10 @@ const L = {
|
|
|
434
499
|
},
|
|
435
500
|
deductionText(i = !0) {
|
|
436
501
|
let e = "";
|
|
437
|
-
return this.hasDeductions && (e = this._document.$t(
|
|
502
|
+
return this.hasDeductions && (e = this._document.$t(
|
|
503
|
+
"chapters.pricingSummary.blocks.typeDeduction",
|
|
504
|
+
{ type: `${this.prices.region.houseWorkType}_percentage` }
|
|
505
|
+
)), i || (e = e.charAt(0).toLowerCase() + e.slice(1)), e;
|
|
438
506
|
},
|
|
439
507
|
getPricingInfo({ includeFixedCosts: i = !0, showType: e = !0 }) {
|
|
440
508
|
const {
|
|
@@ -448,28 +516,68 @@ const L = {
|
|
|
448
516
|
} = this.prices;
|
|
449
517
|
let o = [];
|
|
450
518
|
return c.country === "sweden" && (t === "openAccMaxPrice" && a && !i && (o.push({
|
|
451
|
-
label: this._document.$t(
|
|
452
|
-
|
|
519
|
+
label: this._document.$t(
|
|
520
|
+
"chapters.pricingSummary.blocks.maxPriceVat",
|
|
521
|
+
{ vat: this._document.$t("vat.exVat") }
|
|
522
|
+
),
|
|
523
|
+
value: this.priceFormat(a, {
|
|
524
|
+
currency: l,
|
|
525
|
+
decimals: 2,
|
|
526
|
+
hideZeroDecimals: !0
|
|
527
|
+
})
|
|
453
528
|
}), c.reverseVat || o.push({
|
|
454
|
-
label: this._document.$t(
|
|
455
|
-
|
|
529
|
+
label: this._document.$t(
|
|
530
|
+
"chapters.pricingSummary.blocks.maxPriceVat",
|
|
531
|
+
{ vat: this._document.$t("vat.incVat") }
|
|
532
|
+
),
|
|
533
|
+
value: this.priceFormat(a * 1.25, {
|
|
534
|
+
currency: l,
|
|
535
|
+
decimals: 2,
|
|
536
|
+
hideZeroDecimals: !0
|
|
537
|
+
})
|
|
456
538
|
})), c.houseWorkType && c.houseWorkAmount && i && o.push({
|
|
457
|
-
label: this._document.$t("deduction.type", {
|
|
458
|
-
|
|
539
|
+
label: this._document.$t("deduction.type", {
|
|
540
|
+
type: `${c.houseWorkType}${c.houseWorkManualAmount === null ? "_percentage" : ""}`
|
|
541
|
+
}),
|
|
542
|
+
value: this.priceFormat(-1 * c.houseWorkAmount, {
|
|
543
|
+
currency: l,
|
|
544
|
+
decimals: 2,
|
|
545
|
+
hideZeroDecimals: !0
|
|
546
|
+
})
|
|
459
547
|
})), i && (o = [
|
|
460
548
|
{
|
|
461
549
|
label: this._document.$t("chapters.pricingSummary.blocks.net"),
|
|
462
|
-
value: this.priceFormat(r, {
|
|
550
|
+
value: this.priceFormat(r, {
|
|
551
|
+
currency: l,
|
|
552
|
+
decimals: 2,
|
|
553
|
+
hideZeroDecimals: !0
|
|
554
|
+
})
|
|
463
555
|
},
|
|
464
|
-
...this.prices.useVat ? [
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
556
|
+
...this.prices.useVat ? [
|
|
557
|
+
{
|
|
558
|
+
label: this._document.$t(`vat.${this.vatType}`).capitalize(),
|
|
559
|
+
value: this.priceFormat(c.reverseVat ? 0 : s, {
|
|
560
|
+
showZero: !0,
|
|
561
|
+
currency: l,
|
|
562
|
+
decimals: 2,
|
|
563
|
+
hideZeroDecimals: !0
|
|
564
|
+
})
|
|
565
|
+
}
|
|
566
|
+
] : [],
|
|
468
567
|
...o,
|
|
469
|
-
...this.prices.rounding.enabled && this.prices.rounding.show ? [
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
568
|
+
...this.prices.rounding.enabled && this.prices.rounding.show ? [
|
|
569
|
+
{
|
|
570
|
+
label: this._document.$t(
|
|
571
|
+
"chapters.pricingSummary.blocks.rounding"
|
|
572
|
+
),
|
|
573
|
+
value: this.priceFormat(n, {
|
|
574
|
+
decimals: 2,
|
|
575
|
+
showZero: !0,
|
|
576
|
+
currency: l,
|
|
577
|
+
hideZeroDecimals: !0
|
|
578
|
+
})
|
|
579
|
+
}
|
|
580
|
+
] : []
|
|
473
581
|
]), e && t !== "fixed" && (o = [
|
|
474
582
|
{
|
|
475
583
|
label: this._document.$t("price.pricing").capitalize(),
|
|
@@ -483,17 +591,17 @@ const L = {
|
|
|
483
591
|
var Z = function() {
|
|
484
592
|
var e = this, t = e._self._c;
|
|
485
593
|
return e._document.readPrices ? t("div", { staticClass: "font-inter", staticStyle: { "margin-top": "calc(2 * var(--rem))", "margin-bottom": "calc(2 * var(--rem))", position: "relative" }, attrs: { id: "price" } }, [e.showPricingCard ? t("div", { staticClass: "pricing-container", class: { faded: e.placeholder } }, [e._l(e.blocks, function({ header: r, items: n, footer: s }, a) {
|
|
486
|
-
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()]), n.length || s ? t("div", { staticClass: "block-body" }, [e._l(n, function({ label: c, value: l }, o) {
|
|
594
|
+
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()]), n.length || s ? t("div", { staticClass: "block-body" }, [e._l(n, function({ label: c, value: l }, o) {
|
|
487
595
|
return t("div", { key: `item-${o}-${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(l))])]);
|
|
488
596
|
}), 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()]);
|
|
489
|
-
}), 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 flex-col items-center justify-center w-full", 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))", "box-shadow": "0 1px rgba(0,0,0,0.1),
|
|
597
|
+
}), 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 flex-col items-center justify-center w-full", 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))", "box-shadow": "0 1px rgba(0, 0, 0, 0.1),", "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", id: "a" } }, [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();
|
|
490
598
|
}, E = [], j = /* @__PURE__ */ p(
|
|
491
599
|
L,
|
|
492
600
|
Z,
|
|
493
601
|
E,
|
|
494
602
|
!1,
|
|
495
603
|
null,
|
|
496
|
-
"
|
|
604
|
+
"cfcdda7b",
|
|
497
605
|
null,
|
|
498
606
|
null
|
|
499
607
|
);
|
|
@@ -503,13 +611,11 @@ const N = {
|
|
|
503
611
|
components: {
|
|
504
612
|
PackageItem: q,
|
|
505
613
|
PackagePricingSummary: G,
|
|
506
|
-
ErrorCallout:
|
|
614
|
+
ErrorCallout: b
|
|
507
615
|
},
|
|
508
|
-
mixins: [
|
|
509
|
-
"type",
|
|
510
|
-
|
|
511
|
-
"hideGroupPrice"
|
|
512
|
-
], { useEmit: !1 })],
|
|
616
|
+
mixins: [
|
|
617
|
+
_(["type", "packages", "hideGroupPrice"], { useEmit: !1 })
|
|
618
|
+
],
|
|
513
619
|
props: {
|
|
514
620
|
validator: {
|
|
515
621
|
type: Object,
|
|
@@ -523,7 +629,9 @@ const N = {
|
|
|
523
629
|
},
|
|
524
630
|
computed: {
|
|
525
631
|
prices() {
|
|
526
|
-
return (this._document.packageGroups.getPackageGroupUniqId(
|
|
632
|
+
return (this._document.packageGroups.getPackageGroupUniqId(
|
|
633
|
+
this._value.groupId
|
|
634
|
+
) || {}).prices || {};
|
|
527
635
|
},
|
|
528
636
|
showToggle() {
|
|
529
637
|
return this.type !== "single";
|
|
@@ -550,7 +658,11 @@ const N = {
|
|
|
550
658
|
}
|
|
551
659
|
},
|
|
552
660
|
created() {
|
|
553
|
-
const {
|
|
661
|
+
const {
|
|
662
|
+
isPreview: i,
|
|
663
|
+
setPricesIncVat: e = null,
|
|
664
|
+
useVat: t = w[P.brand].defaultRegion === "SE"
|
|
665
|
+
} = u(this, "_document", {});
|
|
554
666
|
i && e !== null ? this.showPricesIncVat = e : this.showPricesIncVat = u(this, "_document.prices.helpers.isIndivid", !0) && t;
|
|
555
667
|
},
|
|
556
668
|
methods: {
|
|
@@ -558,7 +670,10 @@ const N = {
|
|
|
558
670
|
if (this.type === "single")
|
|
559
671
|
return;
|
|
560
672
|
const e = this.packages.findIndex(({ packageId: t }) => t === i);
|
|
561
|
-
e === -1 || this.type === "radio" && this.packages[e].isSelected || (this.setField({
|
|
673
|
+
e === -1 || this.type === "radio" && this.packages[e].isSelected || (this.setField({
|
|
674
|
+
key: `${this._value.packages}[${e}].isSelected`,
|
|
675
|
+
value: !this.packages[e].isSelected
|
|
676
|
+
}), this.type === "radio" && this.packages.forEach((t, r) => {
|
|
562
677
|
r !== e && this.setField({
|
|
563
678
|
key: `${this._value.packages}[${r}].isSelected`,
|
|
564
679
|
value: !1
|
|
@@ -584,7 +699,7 @@ var R = function() {
|
|
|
584
699
|
H,
|
|
585
700
|
!1,
|
|
586
701
|
null,
|
|
587
|
-
"
|
|
702
|
+
"73b9e180",
|
|
588
703
|
null,
|
|
589
704
|
null
|
|
590
705
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { V as s } from "./PdfViewer-
|
|
2
|
-
import { n as t } from "./main-
|
|
1
|
+
import { V as s } from "./PdfViewer-00d4de8d.js";
|
|
2
|
+
import { n as t } from "./main-4f27b552.js";
|
|
3
3
|
import "./dom-962579a6.js";
|
|
4
|
-
import "./DocumentLayout-
|
|
5
|
-
import "./debounce-
|
|
6
|
-
import "./CDropdownItem-
|
|
4
|
+
import "./DocumentLayout-81ae175c.js";
|
|
5
|
+
import "./debounce-9410d5d6.js";
|
|
6
|
+
import "./CDropdownItem-109be2e2.js";
|
|
7
7
|
const n = {
|
|
8
8
|
name: "PdfTerms",
|
|
9
9
|
functional: !0,
|
|
@@ -26,17 +26,17 @@ const n = {
|
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
const o = null, l = null;
|
|
29
|
-
var
|
|
29
|
+
var a = /* @__PURE__ */ t(
|
|
30
30
|
n,
|
|
31
31
|
o,
|
|
32
32
|
l,
|
|
33
33
|
!1,
|
|
34
34
|
null,
|
|
35
|
-
"
|
|
35
|
+
"aff627b1",
|
|
36
36
|
null,
|
|
37
37
|
null
|
|
38
38
|
);
|
|
39
|
-
const u =
|
|
39
|
+
const u = a.exports;
|
|
40
40
|
export {
|
|
41
41
|
u as default
|
|
42
42
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as u, N as g } from "./main-
|
|
1
|
+
import { n as u, N as g } from "./main-4f27b552.js";
|
|
2
2
|
import { e as d } from "./dom-962579a6.js";
|
|
3
|
-
import { W as m } from "./DocumentLayout-
|
|
3
|
+
import { W as m } from "./DocumentLayout-81ae175c.js";
|
|
4
4
|
let o, l, f, c, p;
|
|
5
5
|
function w(e) {
|
|
6
6
|
return typeof e == "object" && e !== null && e.__PDFDocumentLoadingTask === !0;
|