@cling-se/widget 0.9.4 → 0.9.5
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-d472aa84.js → AddClientCallout-e4e9874f.js} +5 -5
- package/dist/{AnswerModal-06487437.js → AnswerModal-acd3b9c0.js} +248 -248
- package/dist/{AttachmentItem-d98488ee.js → AttachmentItem-34e91526.js} +8 -8
- package/dist/{BaseDatePicker-8c098701.js → BaseDatePicker-581297bc.js} +43 -43
- package/dist/{BaseInput-2723d613.js → BaseInput-29d88150.js} +1 -1
- package/dist/{BaseUpload-996d74b3.js → BaseUpload-84d3b68b.js} +3 -3
- package/dist/{BlockMedia-00907fb6.js → BlockMedia-319932b8.js} +1 -1
- package/dist/{CCallout-ffa95028.js → CCallout-88ae9c08.js} +6 -6
- package/dist/{CDropdownItem-74672842.js → CDropdownItem-d46bf062.js} +76 -75
- package/dist/{CField-06dd50f1.js → CField-be05883b.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js → CSlider.vue_vue_type_style_index_0_lang-df4c839e.js} +1 -1
- package/dist/{ClientAutocomplete-f65643dd.js → ClientAutocomplete-68f76bfc.js} +4 -4
- package/dist/{ClientModal-d276aabd.js → ClientModal-73086005.js} +16 -16
- package/dist/{ColorPicker-4f6b70af.js → ColorPicker-11ee76f0.js} +2 -2
- package/dist/{CompanyModal-30c54ce3.js → CompanyModal-0fec4480.js} +8 -8
- package/dist/{ContentWrapper-d5653fef.js → ContentWrapper-fba78b6f.js} +19 -19
- package/dist/{CoverBlockSettings-2335f3a8.js → CoverBlockSettings-7ffa15b1.js} +19 -19
- package/dist/{DocForm-9ca24de4.js → DocForm-e56b3a0c.js} +1190 -819
- package/dist/{DocFormSend-d0c6fa1d.js → DocFormSend-cdc4eaf8.js} +14 -14
- package/dist/{DocModalBase-f4915a62.js → DocModalBase-e473b946.js} +4 -4
- package/dist/DocPrint-6d8b1f14.js +222 -0
- package/dist/{DocReceipt-d192000e.js → DocReceipt-c8a543f8.js} +1 -1
- package/dist/{DocSendReminder-06d5b34c.js → DocSendReminder-70effa09.js} +1 -1
- package/dist/{DocTextEditor-c6d1df3c.js → DocTextEditor-cce51e7c.js} +19 -19
- package/dist/{DocTimeline-b4c20f93.js → DocTimeline-c2cbd773.js} +11 -11
- package/dist/{DocumentClient-c2319f00.js → DocumentClient-611c8c1c.js} +8 -6
- package/dist/{formValidationMixin-4920ab53.js → DocumentLayout-86c367d1.js} +1617 -1709
- package/dist/{DocumentLogotype-1efd1ce9.js → DocumentLogotype-441a9fdb.js} +3 -3
- package/dist/{EmbedInput-654c0477.js → EmbedInput-a5938c25.js} +2 -2
- package/dist/{EmbedSettings-b81ec734.js → EmbedSettings-141ab53c.js} +10 -10
- package/dist/ErrorCallout-7dea37df.js +30 -0
- package/dist/{FilePreviewModal-895bd1bd.js → FilePreviewModal-875fd8c9.js} +8 -7
- package/dist/{HeaderSettings-c6dac755.js → HeaderSettings-0364b6df.js} +29 -29
- package/dist/{ImageSelectModal-7cece54e.js → ImageSelectModal-2d3a69db.js} +11 -11
- package/dist/{ImageUploadWrapper-53afd31d.js → ImageUploadWrapper-7c70045f.js} +3 -3
- package/dist/{Index-f935c492.js → Index-006a27da.js} +10 -10
- package/dist/{Index-6ef78b7a.js → Index-0313a553.js} +2 -2
- package/dist/{Index-9aaf8b90.js → Index-06bd31c3.js} +26 -26
- package/dist/Index-07ae23ce.js +54 -0
- package/dist/{Index-7443e91c.js → Index-0f4c9eb4.js} +34 -34
- package/dist/{Index-c4de05aa.js → Index-1e0cf88a.js} +10 -9
- package/dist/{Index-d45a1eff.js → Index-1fc54467.js} +4 -4
- package/dist/{Index-e749f6f1.js → Index-205dd368.js} +14 -14
- package/dist/{Index-34c84bab.js → Index-245f88ff.js} +10 -10
- package/dist/{Index-d8879ca9.js → Index-28bdb859.js} +2 -2
- package/dist/{Index-60fc8a6e.js → Index-2a0c06b1.js} +3 -3
- package/dist/{Index-63805642.js → Index-3d84a32c.js} +9 -9
- package/dist/{Index-66c8cbfa.js → Index-418c517f.js} +4 -4
- package/dist/{Index-e45a0c32.js → Index-5196628a.js} +27 -27
- package/dist/{Index-61f7dc92.js → Index-532b8844.js} +2 -2
- package/dist/{Index-b14d0f03.js → Index-53348c92.js} +4 -4
- package/dist/{Index-9233cc83.js → Index-54962a1e.js} +15 -15
- package/dist/{Index-701f0d05.js → Index-5de564da.js} +2 -2
- package/dist/{Index-c67218ce.js → Index-6f957f7e.js} +15 -15
- package/dist/{Index-98e8bb86.js → Index-710d1132.js} +8 -8
- package/dist/{Index-8bca2d87.js → Index-7a2f20fd.js} +9 -9
- package/dist/{Index-1d361d01.js → Index-818ef607.js} +4 -4
- package/dist/Index-875e7805.js +79 -0
- package/dist/{Index-82574a41.js → Index-889b6a45.js} +18 -19
- package/dist/{Index-82b5de12.js → Index-8975cd1e.js} +4 -4
- package/dist/{Index-1a7e98d7.js → Index-affdb14c.js} +11 -10
- package/dist/{Index-01c63c88.js → Index-b80ab22f.js} +2 -2
- package/dist/{Index-5e35f4a2.js → Index-ba48e68b.js} +8 -8
- package/dist/{Index-caf5cf44.js → Index-beb43a1a.js} +94 -94
- package/dist/{Index-b15cfd62.js → Index-c746dc64.js} +13 -13
- package/dist/{Index-2535f58f.js → Index-cf54ef50.js} +2 -2
- package/dist/{Index-c7e68382.js → Index-dbf5c34c.js} +4 -4
- package/dist/{Index-5cc51230.js → Index-fa01557d.js} +12 -12
- package/dist/{Index-cd76b120.js → Index-ff60354c.js} +7 -7
- package/dist/{InputToggleRow-9d8a7da4.js → InputToggleRow-c520bed9.js} +5 -5
- package/dist/IsPremiumPreStep-d4739d6a.js +2443 -0
- package/dist/{MediaWrapper-d4a4b66f.js → MediaWrapper-722723f7.js} +3 -3
- package/dist/{NotBindingText-b199006c.js → NotBindingText-613399b6.js} +2 -2
- package/dist/{PackageGroup-37ac99b1.js → PackageGroup-1085c76c.js} +56 -56
- package/dist/{PdfTerms-8b52bb6e.js → PdfTerms-f98a6f75.js} +8 -7
- package/dist/{PdfViewer-38bd8439.js → PdfViewer-096bbf00.js} +5 -4
- package/dist/{PlainHtml-9174cbf6.js → PlainHtml-752bc8d6.js} +1 -1
- package/dist/PriceHeader-e25df5eb.js +337 -0
- package/dist/{SearchApi-2e286be6.js → SearchApi-20629627.js} +2 -2
- package/dist/{TermsSettings-c74eec79.js → TermsSettings-4cc4a9ee.js} +11 -11
- package/dist/{ThemeColorRow-3558367b.js → ThemeColorRow-c292abc6.js} +3 -3
- package/dist/{ToggleBinding-6c9c1ac3.js → ToggleBinding-406175fb.js} +3 -3
- package/dist/{UploadModal-6d0abd77.js → UploadModal-0cbd0c8f.js} +16 -16
- package/dist/{VideoPlayerInput-77cd86aa.js → VideoPlayerInput-d7b5fe4b.js} +3 -3
- package/dist/{VideoPlayerSettings-b7eb781c.js → VideoPlayerSettings-51c75143.js} +12 -12
- package/dist/VideoSelectModal-e34cde4b.js +111 -0
- package/dist/{answerDocumentMixin-66023e62.js → answerDocumentMixin-574c5304.js} +3 -3
- package/dist/assets/article-options-10291.png +0 -0
- package/dist/assets/bg-base-13048.png +0 -0
- package/dist/assets/bg-pro-81076.png +0 -0
- package/dist/assets/bg-start-20630.png +0 -0
- package/dist/assets/blank-10674.png +0 -0
- package/dist/assets/block-options-17322.png +0 -0
- package/dist/assets/columnGallery.image-24825.png +0 -0
- package/dist/assets/doc-send-94456.png +0 -0
- package/dist/assets/drag-block-17194.png +0 -0
- package/dist/assets/headerCircularGradient.image-13878.png +0 -0
- package/dist/assets/roiCalculator.image-14704.png +0 -0
- package/dist/assets/text-bubble-53861.png +0 -0
- package/dist/{cssMode-8552fc56.js → cssMode-eda08630.js} +19 -15
- package/dist/dom-068d1a7b.js +59 -0
- package/dist/{focusDrawerMixin-67462262.js → focusDrawerMixin-72f8dd7a.js} +1 -1
- package/dist/{formComponentsInstall-ad9c2a83.js → formComponentsInstall-3f1c6477.js} +40 -40
- package/dist/formValidationMixin-d4e84872.js +49 -0
- package/dist/{freemarker2-7e10a65d.js → freemarker2-42cdfba5.js} +23 -19
- package/dist/{handlebars-8045bfa8.js → handlebars-b4515777.js} +15 -11
- package/dist/{html-8afcb633.js → html-ea5d1845.js} +18 -14
- package/dist/{htmlMode-1a2d1b48.js → htmlMode-1cc3531d.js} +23 -19
- package/dist/{index-f805bfce.js → index-07377b76.js} +45 -45
- package/dist/index-676b9274.js +17 -0
- package/dist/{index-bf93d7c2.js → index-762349d7.js} +7 -7
- package/dist/{index-3d6d7a03.js → index-7adda710.js} +31 -31
- package/dist/index.es.js +8 -8
- package/dist/index.umd.js +537 -533
- package/dist/{javascript-dad5561e.js → javascript-185ef2e0.js} +15 -11
- package/dist/{jsonMode-ce09245f.js → jsonMode-59ea4e99.js} +23 -19
- package/dist/{liquid-05247459.js → liquid-517f2a7c.js} +18 -14
- package/dist/{main-04025a56.js → main-95207159.js} +15380 -12891
- package/dist/{mapFormMixin-8d073f99.js → mapFormMixin-a245a297.js} +1 -1
- package/dist/{publicSenderState-97108de1.js → publicSenderState-bea5980b.js} +1 -1
- package/dist/{python-3f3513c5.js → python-eb6703d8.js} +15 -11
- package/dist/{razor-1f3e9c4e.js → razor-4c5b7deb.js} +22 -18
- package/dist/simplebar.min-97b539d6.js +71 -0
- package/dist/style.css +2 -2
- package/dist/template-b3af7583.js +528 -0
- package/dist/{throttle-a2c1f34d.js → throttle-a0ce8f66.js} +2 -2
- package/dist/{tinycolor-88fa380f.js → tinycolor-65e7dc2e.js} +1 -1
- package/dist/{FormInputRow-9819eb71.js → tippy.esm-3c111ba9.js} +285 -285
- package/dist/{tsMode-4c026047.js → tsMode-a4a0e653.js} +19 -15
- package/dist/{typescript-baf56f67.js → typescript-aeab7849.js} +15 -11
- package/dist/{utils-6670dea6.js → utils-580c7144.js} +1 -1
- package/dist/{vuedraggable.umd-d7138234.js → vuedraggable.umd-2c22e5f8.js} +41 -41
- package/dist/{xml-ffc6146a.js → xml-098907e6.js} +18 -14
- package/package.json +3 -2
- package/stats.html +1 -1
- package/vite-plugin-library-asset-external/index.js +134 -0
- package/dist/ErrorCallout-60d0b3ab.js +0 -30
- package/dist/Index-b020a80c.js +0 -47
- package/dist/Index-e80f5f9c.js +0 -79
- package/dist/IsPremiumPreStep-3a087524.js +0 -1919
- package/dist/PriceHeader-e357afe9.js +0 -336
- package/dist/VideoSelectModal-d2299552.js +0 -111
- package/dist/index-c48c5eb4.js +0 -14
- package/dist/simplebar.min-3af55aab.js +0 -2429
- package/dist/template-42a1d852.js +0 -526
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as n } from "./BlockMedia-
|
|
2
|
-
import { m as a } from "./mapFormMixin-
|
|
3
|
-
import { n as m } from "./main-
|
|
1
|
+
import { B as n } from "./BlockMedia-319932b8.js";
|
|
2
|
+
import { m as a } from "./mapFormMixin-a245a297.js";
|
|
3
|
+
import { n as m } from "./main-95207159.js";
|
|
4
4
|
import "./color-71c20583.js";
|
|
5
5
|
const o = {
|
|
6
6
|
name: "MediaWrapper",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as m } from "./tinycolor-
|
|
2
|
-
import {
|
|
3
|
-
import { E as
|
|
4
|
-
import { m as _ } from "./mapFormMixin-
|
|
5
|
-
import { T as x } from "./DocTextEditor-
|
|
6
|
-
import "./
|
|
7
|
-
import "./ColorPicker-
|
|
8
|
-
import "./
|
|
9
|
-
import "./CDropdownItem-
|
|
10
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { t as m } from "./tinycolor-65e7dc2e.js";
|
|
2
|
+
import { a9 as y, aa as v, q as g, n as p, ab as f, s as k, b as u, ac as w, k as P } from "./main-95207159.js";
|
|
3
|
+
import { E as b } from "./ErrorCallout-7dea37df.js";
|
|
4
|
+
import { m as _ } from "./mapFormMixin-a245a297.js";
|
|
5
|
+
import { T as x } from "./DocTextEditor-cce51e7c.js";
|
|
6
|
+
import "./tippy.esm-3c111ba9.js";
|
|
7
|
+
import "./ColorPicker-11ee76f0.js";
|
|
8
|
+
import "./DocumentLayout-86c367d1.js";
|
|
9
|
+
import "./CDropdownItem-d46bf062.js";
|
|
10
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
|
|
11
11
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
12
12
|
import "./color-71c20583.js";
|
|
13
13
|
const $ = {
|
|
@@ -75,7 +75,7 @@ const $ = {
|
|
|
75
75
|
default: null
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
|
-
docLang:
|
|
78
|
+
docLang: y,
|
|
79
79
|
computed: {
|
|
80
80
|
fixQuantity() {
|
|
81
81
|
return this.priceType === "openAcc" ? 1 : this.quantity;
|
|
@@ -102,7 +102,7 @@ const $ = {
|
|
|
102
102
|
let i = this.totalAmount;
|
|
103
103
|
this.showPricesIncVat && this.priceType !== "markup" && (i *= (100 + this.vat) / 100);
|
|
104
104
|
let e = "";
|
|
105
|
-
return this.priceType === "openAcc" && (e = `/${
|
|
105
|
+
return this.priceType === "openAcc" && (e = `/${v(this.unitType, { lng: this._document.language })}`, this.houseWorkType && (i *= {
|
|
106
106
|
rot: 0.7,
|
|
107
107
|
rut: 0.5,
|
|
108
108
|
greenRot15: 0.85,
|
|
@@ -121,30 +121,30 @@ const $ = {
|
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
methods: {
|
|
124
|
-
articleUnitLabel:
|
|
124
|
+
articleUnitLabel: v,
|
|
125
125
|
priceFormat: g
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
|
-
var
|
|
128
|
+
var T = function() {
|
|
129
129
|
var e = this, t = e._self._c;
|
|
130
130
|
return t("div", { staticClass: "article-wrapper print-avoid-break-inside", class: {
|
|
131
131
|
"no-border-top": e.position === 0
|
|
132
132
|
} }, [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)]);
|
|
133
|
-
},
|
|
133
|
+
}, S = [], V = /* @__PURE__ */ p(
|
|
134
134
|
$,
|
|
135
|
-
b,
|
|
136
135
|
T,
|
|
136
|
+
S,
|
|
137
137
|
!1,
|
|
138
138
|
null,
|
|
139
|
-
"
|
|
139
|
+
"24e9f828",
|
|
140
140
|
null,
|
|
141
141
|
null
|
|
142
142
|
);
|
|
143
|
-
const
|
|
144
|
-
const
|
|
143
|
+
const C = V.exports;
|
|
144
|
+
const I = {
|
|
145
145
|
name: "ArticleList",
|
|
146
146
|
components: {
|
|
147
|
-
DocChapterArticleItem:
|
|
147
|
+
DocChapterArticleItem: C
|
|
148
148
|
},
|
|
149
149
|
mixins: [_([])],
|
|
150
150
|
props: {
|
|
@@ -182,25 +182,25 @@ const C = {
|
|
|
182
182
|
articleHouseWorkType: f
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
|
-
var
|
|
185
|
+
var A = function() {
|
|
186
186
|
var e = this, t = e._self._c;
|
|
187
187
|
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", { type: e._document.$t(`vat.${e.showPricesIncVat ? "exVat" : "incVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) }) }), expression: "_document.$t('chapters.articleList.changeShowVatTooltip', { type: _document.$t(`vat.${showPricesIncVat ? 'exVat' : 'incVat'}`, { thing: _document.$t(`vat.${vatType}`) }) })" }], staticStyle: { "text-decoration": "underline", cursor: "pointer" }, on: { click: function(r) {
|
|
188
188
|
return e.$emit("toggle-show-vat", !e.showPricesIncVat);
|
|
189
189
|
} } }, [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) {
|
|
190
190
|
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 } });
|
|
191
191
|
})], 2);
|
|
192
|
-
},
|
|
193
|
-
C,
|
|
192
|
+
}, D = [], F = /* @__PURE__ */ p(
|
|
194
193
|
I,
|
|
195
194
|
A,
|
|
195
|
+
D,
|
|
196
196
|
!1,
|
|
197
197
|
null,
|
|
198
|
-
"
|
|
198
|
+
"0814223b",
|
|
199
199
|
null,
|
|
200
200
|
null
|
|
201
201
|
);
|
|
202
|
-
const
|
|
203
|
-
const
|
|
202
|
+
const z = F.exports;
|
|
203
|
+
const B = {
|
|
204
204
|
name: "PackageItem",
|
|
205
205
|
i18nOptions: {
|
|
206
206
|
namespaces: "PackageItem",
|
|
@@ -214,7 +214,7 @@ const z = {
|
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
216
|
components: {
|
|
217
|
-
ArticleList:
|
|
217
|
+
ArticleList: z,
|
|
218
218
|
TextEditor: x
|
|
219
219
|
},
|
|
220
220
|
inject: {
|
|
@@ -303,7 +303,7 @@ const z = {
|
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
};
|
|
306
|
-
var
|
|
306
|
+
var M = function() {
|
|
307
307
|
var e = this, t = e._self._c;
|
|
308
308
|
return t("div", { staticClass: "package-container font-inter", class: {
|
|
309
309
|
"single-package": e.type === "single" || e.workPackage.isSelected && !e.workPackage.toggable
|
|
@@ -311,9 +311,9 @@ var B = function() {
|
|
|
311
311
|
...e.workPackage.isSelected && {
|
|
312
312
|
boxShadow: `0 0 0 2px ${e.headingColor}`
|
|
313
313
|
}
|
|
314
|
-
} }, [t("div", { staticClass: "top-container" }, [e.workPackage.data.name ? t("div", { staticStyle: { "font-weight": "800", "font-size": "calc(
|
|
314
|
+
} }, [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) {
|
|
315
315
|
return e.$emit("toggle-show-vat", r);
|
|
316
|
-
} } })], 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": "
|
|
316
|
+
} } })], 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)) calc(0.75 * var(--rem)) calc(3 * 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) {
|
|
317
317
|
e.showDetails = !e.showDetails;
|
|
318
318
|
} } }, [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 && {
|
|
319
319
|
content: e.$t("selectTooltip"),
|
|
@@ -328,19 +328,19 @@ var B = function() {
|
|
|
328
328
|
color: e.tinycolor.readability(e.headingColor, "#FFF") > 2.2 ? "#FFF" : "#000"
|
|
329
329
|
}, attrs: { type: "text" }, on: { click: function(r) {
|
|
330
330
|
e.canToggle && e.$emit("toggle", e.workPackage.packageId);
|
|
331
|
-
} } }, [e.workPackage.isSelected ? [t("svg", { staticStyle: { "margin-right": "0.
|
|
332
|
-
},
|
|
333
|
-
z,
|
|
331
|
+
} } }, [e.workPackage.isSelected ? [t("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { viewBox: "0 0 24 24", width: "18", height: "18", stroke: "currentColor", "stroke-width": "3.5", fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("polyline", { attrs: { points: "20 6 9 17 4 12" } })]), e._v(" " + e._s(e._document.$t("chapters.packageItem.selected")) + " ")] : [e._v(" " + e._s(e._document.$t(`chapters.packageItem.${e.type === "radio" ? "select" : "add"}`)) + " ")]], 2) : e._e()]], 2) : e._e()], 1);
|
|
332
|
+
}, W = [], O = /* @__PURE__ */ p(
|
|
334
333
|
B,
|
|
335
334
|
M,
|
|
335
|
+
W,
|
|
336
336
|
!1,
|
|
337
337
|
null,
|
|
338
|
-
"
|
|
338
|
+
"1b1d9599",
|
|
339
339
|
null,
|
|
340
340
|
null
|
|
341
341
|
);
|
|
342
|
-
const
|
|
343
|
-
const
|
|
342
|
+
const q = O.exports;
|
|
343
|
+
const L = {
|
|
344
344
|
name: "PackagePricingSummary",
|
|
345
345
|
props: {
|
|
346
346
|
// PackageGroup.prices (format: calcPrices of one group)
|
|
@@ -477,30 +477,30 @@ const q = {
|
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
};
|
|
480
|
-
var
|
|
480
|
+
var Z = function() {
|
|
481
481
|
var e = this, t = e._self._c;
|
|
482
|
-
return e._document.readPrices ? t("div", { staticClass: "font-inter", staticStyle: { "margin-top": "
|
|
482
|
+
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) {
|
|
483
483
|
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) {
|
|
484
484
|
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))])]);
|
|
485
485
|
}), 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()]);
|
|
486
|
-
}), 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: "
|
|
487
|
-
},
|
|
488
|
-
q,
|
|
486
|
+
}), 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), 0 calc(0.5 * var(--rem)) calc(2 * var(--rem)) calc(-0.5 * var(--rem)) rgba(0,0,0,0.3)", "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();
|
|
487
|
+
}, E = [], G = /* @__PURE__ */ p(
|
|
489
488
|
L,
|
|
490
489
|
Z,
|
|
490
|
+
E,
|
|
491
491
|
!1,
|
|
492
492
|
null,
|
|
493
|
-
"
|
|
493
|
+
"03965578",
|
|
494
494
|
null,
|
|
495
495
|
null
|
|
496
496
|
);
|
|
497
|
-
const
|
|
498
|
-
const
|
|
497
|
+
const j = G.exports;
|
|
498
|
+
const N = {
|
|
499
499
|
name: "PackageGroup",
|
|
500
500
|
components: {
|
|
501
|
-
PackageItem:
|
|
502
|
-
PackagePricingSummary:
|
|
503
|
-
ErrorCallout:
|
|
501
|
+
PackageItem: q,
|
|
502
|
+
PackagePricingSummary: j,
|
|
503
|
+
ErrorCallout: b
|
|
504
504
|
},
|
|
505
505
|
mixins: [_([
|
|
506
506
|
"type",
|
|
@@ -547,7 +547,7 @@ const j = {
|
|
|
547
547
|
}
|
|
548
548
|
},
|
|
549
549
|
created() {
|
|
550
|
-
const { isPreview: i, setPricesIncVat: e = null, useVat: t = w[
|
|
550
|
+
const { isPreview: i, setPricesIncVat: e = null, useVat: t = w[P.brand].defaultRegion === "SE" } = u(this, "_document", {});
|
|
551
551
|
i && e !== null ? this.showPricesIncVat = e : this.showPricesIncVat = u(this, "_document.prices.helpers.isIndivid", !0) && t;
|
|
552
552
|
},
|
|
553
553
|
methods: {
|
|
@@ -564,28 +564,28 @@ const j = {
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
};
|
|
567
|
-
var
|
|
567
|
+
var R = function() {
|
|
568
568
|
var e = this, t = e._self._c;
|
|
569
569
|
return t("div", { staticStyle: { position: "relative" } }, [e._l(e.fixedPackages, function(r, n) {
|
|
570
570
|
return t("PackageItem", { key: n, attrs: { type: e.type, "work-package": e._document.packageGroups.getPackageById(r.packageId), "heading-color": e.primaryColor, "can-toggle": e.canToggle, "show-prices-inc-vat": e.showPricesIncVat, _document: e._document }, on: { toggle: e.onToggle, "toggle-show-vat": function(s) {
|
|
571
571
|
e.showPricesIncVat = s;
|
|
572
572
|
} } });
|
|
573
|
-
}), e.toggablePackages.length ? t("div", [e.fixedPackages.length && e.toggablePackages.length ? t("div", { staticStyle: { padding: "0.
|
|
573
|
+
}), e.toggablePackages.length ? t("div", [e.fixedPackages.length && e.toggablePackages.length ? t("div", { staticStyle: { padding: "calc(0.5 * var(--rem))", "line-height": "2", color: "hsla(0, 0%, 0%, 0.65)", "font-weight": "600", "font-size": "calc(1 * var(--rem))" } }, [e._v(" " + e._s(e._document.$t("chapters.packageGroup.selectableOptions")) + " ")]) : e._e(), e._l(e.toggablePackages, function(r, n) {
|
|
574
574
|
return t("PackageItem", { key: `fixed-${n}`, attrs: { "work-package": e._document.packageGroups.getPackageById(r.packageId), type: e.type, "heading-color": e.primaryColor, "show-toggle": e.showToggle, "can-toggle": e.canToggle, "is-preview": e._document.isPreview, "show-prices-inc-vat": e.showPricesIncVat, _document: e._document }, on: { toggle: e.onToggle, "toggle-show-vat": function(s) {
|
|
575
575
|
e.showPricesIncVat = s;
|
|
576
576
|
} } });
|
|
577
|
-
})], 2) : e._e(), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { "padding-bottom": "1.
|
|
578
|
-
},
|
|
579
|
-
j,
|
|
577
|
+
})], 2) : e._e(), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { "padding-bottom": "calc(1.5 * var(--rem))" }, attrs: { message: e._document.$t("chapters.packageGroup.errorCallout") } }) : e._e(), e.hideGroupPrice ? e._e() : t("PackagePricingSummary", { attrs: { prices: e.prices, _document: e._document, "show-prices-inc-vat": e.showPricesIncVat, "primary-color": e.primaryColor, placeholder: !e.selectedPackages.length } })], 2);
|
|
578
|
+
}, H = [], U = /* @__PURE__ */ p(
|
|
580
579
|
N,
|
|
581
580
|
R,
|
|
581
|
+
H,
|
|
582
582
|
!1,
|
|
583
583
|
null,
|
|
584
|
-
"
|
|
584
|
+
"949caf8b",
|
|
585
585
|
null,
|
|
586
586
|
null
|
|
587
587
|
);
|
|
588
|
-
const
|
|
588
|
+
const oe = U.exports;
|
|
589
589
|
export {
|
|
590
|
-
|
|
590
|
+
oe as default
|
|
591
591
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { V as s } from "./PdfViewer-
|
|
2
|
-
import { n as t } from "./main-
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
1
|
+
import { V as s } from "./PdfViewer-096bbf00.js";
|
|
2
|
+
import { n as t } from "./main-95207159.js";
|
|
3
|
+
import "./dom-068d1a7b.js";
|
|
4
|
+
import "./DocumentLayout-86c367d1.js";
|
|
5
|
+
import "./CDropdownItem-d46bf062.js";
|
|
5
6
|
const n = {
|
|
6
7
|
name: "PdfTerms",
|
|
7
8
|
functional: !0,
|
|
@@ -30,11 +31,11 @@ var a = /* @__PURE__ */ t(
|
|
|
30
31
|
l,
|
|
31
32
|
!1,
|
|
32
33
|
null,
|
|
33
|
-
"
|
|
34
|
+
"5d832f2b",
|
|
34
35
|
null,
|
|
35
36
|
null
|
|
36
37
|
);
|
|
37
|
-
const
|
|
38
|
+
const d = a.exports;
|
|
38
39
|
export {
|
|
39
|
-
|
|
40
|
+
d as default
|
|
40
41
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { n as u,
|
|
2
|
-
import {
|
|
1
|
+
import { n as u, K as g } from "./main-95207159.js";
|
|
2
|
+
import { e as d } from "./dom-068d1a7b.js";
|
|
3
|
+
import { W as m } from "./DocumentLayout-86c367d1.js";
|
|
3
4
|
let o, l, f, c, p;
|
|
4
5
|
function w(e) {
|
|
5
6
|
return typeof e == "object" && e !== null && e.__PDFDocumentLoadingTask === !0;
|
|
@@ -238,7 +239,7 @@ var $ = function() {
|
|
|
238
239
|
null,
|
|
239
240
|
null
|
|
240
241
|
);
|
|
241
|
-
const
|
|
242
|
+
const T = b.exports;
|
|
242
243
|
export {
|
|
243
|
-
|
|
244
|
+
T as V
|
|
244
245
|
};
|