@cling-se/widget 0.9.22 → 0.9.24
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-f30100da.js → AddClientCallout-4afb07ff.js} +5 -5
- package/dist/{AnswerModal-d30e03bd.js → AnswerModal-2b11381b.js} +84 -27
- package/dist/{AttachmentItem-446bb069.js → AttachmentItem-c666fb74.js} +7 -5
- package/dist/{BaseDatePicker-6a365a09.js → BaseDatePicker-e1efcf48.js} +1 -1
- package/dist/{BaseInput-7ed92f6a.js → BaseInput-44c3af54.js} +6 -2
- package/dist/{BaseUpload-636eeec3.js → BaseUpload-740b1f88.js} +28 -11
- package/dist/{BlockMedia-3cb86ebf.js → BlockMedia-f5086397.js} +5 -3
- package/dist/{CCallout-44e44f26.js → CCallout-1a1feea0.js} +6 -9
- package/dist/{CDropdownItem-52cf4f0e.js → CDropdownItem-cc274799.js} +3 -3
- package/dist/{CField-a80001b1.js → CField-372bd9c7.js} +18 -4
- package/dist/{CPhoneFormat-3db8947d.js → CPhoneFormat-b273a499.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-42fea525.js → CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js} +4 -2
- package/dist/{ClientAutocomplete-84cfcc88.js → ClientAutocomplete-0f51c1cd.js} +3 -3
- package/dist/{ClientModal-5c684c95.js → ClientModal-1bec5a45.js} +34 -19
- package/dist/{ColorPicker-043d7a04.js → ColorPicker-43c741fb.js} +2 -2
- package/dist/{CompanyModal-64d16864.js → CompanyModal-adec1d7e.js} +8 -5
- package/dist/{ContentWrapper-f3c1c1cb.js → ContentWrapper-48e69342.js} +40 -27
- package/dist/{CoverBlockSettings-8f28a3a5.js → CoverBlockSettings-c0a57bee.js} +49 -34
- package/dist/{DocAnswer-2402eee3.js → DocAnswer-f0f7d55d.js} +4 -4
- package/dist/{DocDetails-ec7f2a02.js → DocDetails-0e25552f.js} +71 -46
- package/dist/{DocForm-c9df5aa0.js → DocForm-2ab0c521.js} +515 -291
- package/dist/{DocFormSend-31f95da1.js → DocFormSend-e60808ca.js} +18 -18
- package/dist/{DocLinks-93f538c9.js → DocLinks-20719644.js} +2 -2
- package/dist/{DocModalBase-5c9138cc.js → DocModalBase-039f53c2.js} +4 -4
- package/dist/{DocPrint-a4475559.js → DocPrint-aafc72e2.js} +2 -2
- package/dist/{DocReceipt-4e571cee.js → DocReceipt-641b141c.js} +33 -10
- package/dist/{DocSendReminder-fe49cd44.js → DocSendReminder-aabc0994.js} +30 -5
- package/dist/{DocTextEditor-2bb318af.js → DocTextEditor-3eb97671.js} +86 -37
- package/dist/{DocTimeline-9f47bab8.js → DocTimeline-9d765ded.js} +29 -16
- package/dist/{DocumentClient-99d7039b.js → DocumentClient-8d59d823.js} +7 -7
- package/dist/{DocumentLayout-11af5e3b.js → DocumentLayout-a659ce2a.js} +31 -11
- package/dist/{DocumentLogotype-1931e1ad.js → DocumentLogotype-393d1610.js} +8 -8
- package/dist/{DocumentVoided-6351a1df.js → DocumentVoided-9294f5d4.js} +1 -1
- package/dist/{EmbedInput-7d0562fc.js → EmbedInput-e6a9ee21.js} +2 -2
- package/dist/{EmbedSettings-9df99e76.js → EmbedSettings-e31ccfdc.js} +7 -7
- package/dist/ErrorCallout-d6c77efa.js +30 -0
- package/dist/{FilePreviewModal-095408ae.js → FilePreviewModal-84d6ab65.js} +6 -6
- package/dist/{HeaderSettings-6d350190.js → HeaderSettings-51d44d2d.js} +65 -63
- package/dist/{ImageSelectModal-971708e1.js → ImageSelectModal-051e0929.js} +27 -27
- package/dist/{ImageUploadWrapper-3fac23f0.js → ImageUploadWrapper-dcceec48.js} +11 -5
- package/dist/{Index-9b1e35fa.js → Index-06045b22.js} +9 -10
- package/dist/{Index-8b39f885.js → Index-0932b744.js} +32 -20
- package/dist/{Index-ffff3ae8.js → Index-20c0168b.js} +15 -15
- package/dist/{Index-6e6d2653.js → Index-3571dbbe.js} +2 -2
- package/dist/{Index-d3667461.js → Index-36ba2c7c.js} +20 -16
- package/dist/{Index-7b9b5dee.js → Index-39d0e781.js} +17 -17
- package/dist/{Index-88af8453.js → Index-3bdfc806.js} +3 -3
- package/dist/{Index-fad050d0.js → Index-3cb4cf49.js} +4 -4
- package/dist/Index-42639492.js +28 -0
- package/dist/{Index-eb9a3a06.js → Index-494c3112.js} +300 -147
- package/dist/{Index-ffd8211f.js → Index-51ceb867.js} +20 -16
- package/dist/{Index-70f16919.js → Index-54695ef1.js} +13 -11
- package/dist/{Index-2abd5d2b.js → Index-5b2c568a.js} +13 -11
- package/dist/{Index-77bcf959.js → Index-5def7508.js} +17 -12
- package/dist/{Index-8c335677.js → Index-5ead0dc5.js} +2 -2
- package/dist/{Index-57d5951b.js → Index-652a82d0.js} +6 -6
- package/dist/{Index-4fa057f8.js → Index-75922cfc.js} +13 -13
- package/dist/{Index-7477a320.js → Index-9a162ce6.js} +2 -2
- package/dist/{Index-938d67eb.js → Index-a94f257f.js} +56 -31
- package/dist/{Index-5a0d7d8c.js → Index-a98c290d.js} +21 -18
- package/dist/{Index-1e62aedf.js → Index-b33109a3.js} +13 -9
- package/dist/{Index-d9001d15.js → Index-c1aa1453.js} +3 -3
- package/dist/{Index-e27c2fdf.js → Index-c2008029.js} +2 -2
- package/dist/{Index-d617c13f.js → Index-c4942c4e.js} +22 -27
- package/dist/{Index-567e408c.js → Index-c5983b2b.js} +13 -15
- package/dist/{Index-c8e36c6e.js → Index-c8ded03a.js} +2 -2
- package/dist/{Index-8f883e55.js → Index-cc56dad6.js} +7 -7
- package/dist/{Index-8c04b710.js → Index-d77ba606.js} +51 -43
- package/dist/{Index-868d52a9.js → Index-d7a7de69.js} +24 -17
- package/dist/{Index-356bc162.js → Index-e8a3b12b.js} +4 -4
- package/dist/{Index-20d85e3a.js → Index-e9da5a9c.js} +3 -3
- package/dist/{Index-79f564d7.js → Index-f36accd7.js} +4 -4
- package/dist/{Index-bf0c487f.js → Index-fd6da129.js} +7 -7
- package/dist/{Index-a1f74882.js → Index-fdb53118.js} +6 -9
- package/dist/{InputToggleRow-e6ceba8d.js → InputToggleRow-79bbd6c6.js} +4 -4
- package/dist/{IsPremiumPreStep-5760ca12.js → IsPremiumPreStep-f0524e76.js} +81 -36
- package/dist/{ManualPopover-814d1319.js → ManualPopover-8a1e53a5.js} +5 -2
- package/dist/{MediaWrapper-e67928b8.js → MediaWrapper-b128c707.js} +3 -3
- package/dist/{NotBindingText-f72244ab.js → NotBindingText-561df6d3.js} +2 -2
- package/dist/{PackageGroup-b457cbbb.js → PackageGroup-3eaff6a7.js} +184 -69
- package/dist/{PdfTerms-fa51699a.js → PdfTerms-27d7ea41.js} +8 -8
- package/dist/{PdfViewer-93b67f36.js → PdfViewer-5b2bcbb5.js} +2 -2
- package/dist/{PlainHtml-4decb4b1.js → PlainHtml-c743e90e.js} +1 -1
- package/dist/{PriceHeader-85923b9b.js → PriceHeader-287b8219.js} +48 -32
- package/dist/{SearchApi-e49da25f.js → SearchApi-1cd32dd3.js} +40 -20
- package/dist/{Setup-9e46ec76.js → Setup-647c8d19.js} +1 -1
- package/dist/{TermsSettings-79755d10.js → TermsSettings-28e00bdf.js} +11 -11
- package/dist/{ThemeColorRow-ce0c5083.js → ThemeColorRow-87aad7e1.js} +4 -4
- package/dist/{ToggleBinding-cda92aa3.js → ToggleBinding-86912659.js} +3 -3
- package/dist/{UploadModal-0e80a0f2.js → UploadModal-4065d410.js} +16 -14
- package/dist/{VideoPlayerInput-6145c645.js → VideoPlayerInput-1b402e91.js} +3 -3
- package/dist/{VideoPlayerSettings-b6d55453.js → VideoPlayerSettings-4dcca863.js} +5 -5
- package/dist/{VideoSelectModal-61d97f65.js → VideoSelectModal-4f9def15.js} +32 -36
- package/dist/{answerDocumentMixin-8edab24a.js → answerDocumentMixin-6b6cfdb6.js} +3 -3
- package/dist/{debounce-62af9d61.js → debounce-97bb38ac.js} +1 -1
- package/dist/{focusDrawerMixin-745d4e52.js → focusDrawerMixin-0d00dfeb.js} +1 -1
- package/dist/{formComponentsInstall-dc68b7e8.js → formComponentsInstall-0e28cca8.js} +210 -168
- package/dist/{formDrawerState-6408853b.js → formDrawerState-68670778.js} +1 -1
- package/dist/{formValidationMixin-a27a1b47.js → formValidationMixin-cb6f10e2.js} +1 -1
- package/dist/{image-7f7c16da.js → image-456aa00c.js} +1 -1
- package/dist/{index-2a4b06f7.js → index-1f6e36c5.js} +4 -4
- package/dist/{index-474d6e34.js → index-2710ab1c.js} +3 -3
- package/dist/{index-a72b19e9.js → index-63ab2d14.js} +12 -12
- package/dist/{index-1cf2de3c.js → index-b8207e2a.js} +1 -1
- package/dist/{index-14df19cb.js → index-e4f936ec.js} +8 -6
- package/dist/{index-cc6b4d3a.js → index-ea1c7f84.js} +17 -9
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +167 -138
- package/dist/{main-b72127b8.js → main-b5eb6366.js} +2374 -2298
- package/dist/{mapFormMixin-52ec1660.js → mapFormMixin-e0c45bbd.js} +1 -1
- package/dist/{publicSenderState-1a30e0c5.js → publicSenderState-4163b1b6.js} +1 -1
- package/dist/{simplebar.min-c28f1a61.js → simplebar.min-147772cd.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-c65478b1.js → template-6e93622c.js} +7 -7
- package/dist/{throttle-040bd305.js → throttle-7a7a1299.js} +2 -2
- package/dist/{tinycolor-10bcd30d.js → tinycolor-bb8652ea.js} +1 -1
- package/dist/{tippy.esm-0ef95919.js → tippy.esm-f533f77b.js} +8 -8
- package/dist/{utils-6073fc98.js → utils-066c47a5.js} +1 -1
- package/dist/{vuedraggable.umd-d2790aec.js → vuedraggable.umd-76911d11.js} +1 -1
- package/package.json +2 -2
- package/dist/ErrorCallout-106838ce.js +0 -30
- package/dist/Index-a65bded3.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-bb8652ea.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-b5eb6366.js";
|
|
3
|
+
import { E as b } from "./ErrorCallout-d6c77efa.js";
|
|
4
|
+
import { m as _ } from "./mapFormMixin-e0c45bbd.js";
|
|
5
|
+
import { T as x } from "./DocTextEditor-3eb97671.js";
|
|
6
|
+
import "./tippy.esm-f533f77b.js";
|
|
7
|
+
import "./ColorPicker-43c741fb.js";
|
|
8
|
+
import "./DocumentLayout-a659ce2a.js";
|
|
9
|
+
import "./debounce-97bb38ac.js";
|
|
10
|
+
import "./CDropdownItem-cc274799.js";
|
|
11
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-ef031b7b.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-8a1e53a5.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-5b2bcbb5.js";
|
|
2
|
+
import { n as t } from "./main-b5eb6366.js";
|
|
3
3
|
import "./dom-962579a6.js";
|
|
4
|
-
import "./DocumentLayout-
|
|
5
|
-
import "./debounce-
|
|
6
|
-
import "./CDropdownItem-
|
|
4
|
+
import "./DocumentLayout-a659ce2a.js";
|
|
5
|
+
import "./debounce-97bb38ac.js";
|
|
6
|
+
import "./CDropdownItem-cc274799.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-b5eb6366.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-a659ce2a.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;
|