@cling-se/widget 0.19.7 → 0.19.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-C400wpa7.js} +19 -19
- package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-C_vekdpA.js} +80 -80
- package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CYeH1VVw.js} +14 -14
- package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-DGLogqK4.js} +256 -256
- package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-Hbm0GWNw.js} +33 -32
- package/dist/{CCallout-BlglVZrm.js → CCallout-BPCwr3uM.js} +15 -15
- package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-CZXWH0mA.js} +13 -13
- package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-B9dja0RC.js} +11 -11
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-HLxgkrxm.js} +17 -17
- package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-C1cjsMVZ.js} +1 -1
- package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-DwcIFaqz.js} +23 -23
- package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-C_PfAhRb.js} +12 -12
- package/dist/{CSelect-CmoAbVkP.js → CSelect-D4A_clvT.js} +15 -15
- package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-h81Vudx0.js} +16 -16
- package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-B_R7zgvM.js} +24 -24
- package/dist/{ClientModal-Com23Qgc.js → ClientModal-CBJgrb_y.js} +44 -44
- package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-a5yTVc0q.js} +66 -66
- package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-sRTrUPOY.js} +18 -18
- package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-Cwd6t51-.js} +16 -16
- package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings-8tjji9f1.js} +39 -39
- package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-D1ZIH1Hn.js} +4 -4
- package/dist/{DocDetails-C5Vzh550.js → DocDetails-B5_hBzC-.js} +56 -56
- package/dist/{DocForm-DEUVV11n.js → DocForm-BKQvY0Ie.js} +821 -829
- package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-z0W-xRJP.js} +11 -11
- package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BgbDU24h.js} +6 -6
- package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-CNo1u8TK.js} +1 -1
- package/dist/{DocPrint-D_uxg7qD.js → DocPrint--UV846r0.js} +15 -15
- package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-BAkWIKbC.js} +23 -23
- package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-Bk6IVg0R.js} +10 -10
- package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-D5zDbbXV.js} +4499 -4438
- package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-KG4zJJOW.js} +16 -16
- package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-CXSxwjOt.js} +12 -12
- package/dist/DocumentLayout-C-V_5p3r.js +595 -0
- package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-H0f7bO0E.js} +18 -18
- package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-3F7DChD4.js} +4 -4
- package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-iG-cDNzZ.js} +8 -8
- package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-DhwFGdKH.js} +12 -12
- package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout-CyqQ9iRV.js} +10 -10
- package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-CEUhUuh4.js} +7 -7
- package/dist/{Flag-wXawyyMO.js → Flag-Bza5Ltob.js} +4 -4
- package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-kEbuiv0n.js} +36 -36
- package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-MDduQIdS.js} +16 -16
- package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-CKJXUAkn.js} +72 -72
- package/dist/{Index-BbVHxVFJ.js → Index--_tbiloB.js} +33 -33
- package/dist/{Index-y_AJP61r.js → Index-437smvNJ.js} +11 -11
- package/dist/{Index-ezY0DbcB.js → Index-8CyLDQv2.js} +5 -5
- package/dist/{Index-Cjg3X74T.js → Index-B1tFrOfN.js} +7 -7
- package/dist/{Index-Ct735UtM.js → Index-BFwz1G_7.js} +2 -2
- package/dist/{Index-BlownK7_.js → Index-BXqNV8F_.js} +7 -7
- package/dist/{Index-B53eUt7Y.js → Index-Bege0Vce.js} +15 -15
- package/dist/{Index-BTDQax0X.js → Index-Bg1kzWCp.js} +60 -59
- package/dist/{Index-9ZFW8Ka7.js → Index-C46cWm4W.js} +7 -7
- package/dist/{Index-C2-s62x7.js → Index-CGhWvSf9.js} +11 -11
- package/dist/{Index-D-gJQEAD.js → Index-CHIQWumi.js} +6 -6
- package/dist/{Index-CQboLS2e.js → Index-CNQhKXtr.js} +8 -8
- package/dist/{Index-COF0evH4.js → Index-CUDi4SEx.js} +6 -6
- package/dist/{Index-Bb6JZC8l.js → Index-ClA923dR.js} +11 -11
- package/dist/{Index-1WPEpaVr.js → Index-D2A8evjo.js} +7 -7
- package/dist/{Index-BvAqglwa.js → Index-D4XDugcf.js} +27 -27
- package/dist/{Index-GPliVrhC.js → Index-DB3keB-X.js} +7 -7
- package/dist/{Index-BJf4YdYB.js → Index-DQLLCnjH.js} +29 -29
- package/dist/{Index-Dfy0PsiW.js → Index-DUM-3B1l.js} +29 -29
- package/dist/{Index-Ck-_9woY.js → Index-DdZo8evS.js} +456 -461
- package/dist/{Index-CTrX3VRa.js → Index-Doc7K3kL.js} +5 -5
- package/dist/{Index-DfuzxXzD.js → Index-Dqfwe7SG.js} +2 -2
- package/dist/{Index-NnBwJv9v.js → Index-DtCuzght.js} +9 -9
- package/dist/{Index-DOeHci16.js → Index-DtDRffCY.js} +7 -7
- package/dist/{Index-C-EUJjuk.js → Index-DzKdZg0G.js} +2 -2
- package/dist/{Index-yS5OPrJJ.js → Index-DzugmOmj.js} +2 -2
- package/dist/{Index-DjfbgA_7.js → Index-E7OzmtR_.js} +30 -27
- package/dist/{Index-DkQ8_VkX.js → Index-MmvJQvLm.js} +194 -218
- package/dist/{Index-Dxg4gEKd.js → Index-Rb5n5XoO.js} +18 -18
- package/dist/{Index-DAkq_7Ws.js → Index-dTgmxz_A.js} +18 -18
- package/dist/{Index-Ciy9lnhS.js → Index-eJiQmHhr.js} +2 -2
- package/dist/Index-jQsYOOC3.js +4 -0
- package/dist/{Index-DzdEqsZB.js → Index-rINXTjpt.js} +16 -16
- package/dist/Index-zRXdiRpy.js +49 -0
- package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-B9979oeS.js} +2 -2
- package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-CO4fZnAC.js} +15 -15
- package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-DT4iXoSI.js} +6 -6
- package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-CP_1JzGI.js} +4 -4
- package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-D9Um3Agp.js} +2 -2
- package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-BtH12jVM.js} +103 -103
- package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-sQh93Xit.js} +9 -9
- package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-DMAcTVND.js} +71 -71
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-tY-SurWr.js} +2 -2
- package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-CG6el7O_.js} +31 -31
- package/dist/{SearchApi-ZczKsBb7.js → SearchApi-B39mMGKy.js} +6 -6
- package/dist/{SendForm-D5jqkofo.js → SendForm-F5aQPz8w.js} +780 -778
- package/dist/{Setup-CdZzn0qW.js → Setup-DuHU2eHC.js} +4 -4
- package/dist/{SmartList-B36ffGAZ.js → SmartList-myMj6QGe.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-Bb2Nqdsz.js} +118 -118
- package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-Cb6Xms3f.js} +16 -16
- package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-oW3xS1pa.js} +13 -13
- package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-B-F9_nAf.js} +7 -7
- package/dist/{UploadModal-2tXsmGMM.js → UploadModal-eBx4Vqyo.js} +19 -19
- package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-CtTe4JW4.js} +10 -10
- package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-Cvz5B4JX.js} +9 -9
- package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-CXI0aN4g.js} +19 -19
- package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-DlcYhFw8.js} +1 -1
- package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-Cf6Q5cuR.js} +1 -1
- package/dist/{helpers-BVP2Pul1.js → helpers-Cf9wqfZh.js} +4 -4
- package/dist/{index-D0Qee2OX.js → index-BSCAjn53.js} +31 -31
- package/dist/{index-Cd4S4J-L.js → index-BStFMzD9.js} +56 -56
- package/dist/{index-BDb4bM0D.js → index-BytsFarx.js} +24 -24
- package/dist/{index-DXNrJnEc.js → index-Co_PpOtI.js} +10 -10
- package/dist/{index-BH5vwOzR.js → index-DPlBYqKB.js} +9 -9
- package/dist/{index-B86TZXOh.js → index-DsvlNA3Q.js} +94 -94
- package/dist/{index-CsbYpQqP.js → index-r5v1Gv17.js} +57 -57
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +153 -158
- package/dist/{main-C2Q8_T2Y.js → main-BkjAGG46.js} +14298 -14373
- package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-DLFNPgNO.js} +34 -40
- package/dist/omit-CvOSNZN7.js +56 -0
- package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-DeC1m0ps.js} +4 -4
- package/dist/{splitpanes-CuxtOZyV.js → splitpanes-CsJipBiG.js} +6 -6
- package/dist/{template-DzrGrOEa.js → template-Cvzvayl5.js} +6 -6
- package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-JEjGtE5F.js} +273 -275
- package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-D2gYy-TP.js} +7 -7
- package/dist/{utils-a_Odlqb5.js → utils-DarTPA8c.js} +1 -1
- package/dist/{validation-38muBV6x.js → validation-K11g55ZB.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
- package/dist/Index-CXjLkK_n.js +0 -49
- package/dist/Index-qFx0G3fC.js +0 -4
- package/dist/omit-DzlbtNCX.js +0 -56
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as D } from "./mapFormMixin-
|
|
2
|
-
import { E as M } from "./ErrorCallout-
|
|
3
|
-
import {
|
|
4
|
-
import { t as A } from "./template-
|
|
5
|
-
import { T as G } from "./DocTextEditor-
|
|
6
|
-
const
|
|
1
|
+
import { m as D } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { E as M } from "./ErrorCallout-CyqQ9iRV.js";
|
|
3
|
+
import { _ as T, s as F, bi as C, bj as W, bk as O, d as c, o as a, j as l, e as n, t as o, F as f, q as k, x as w, bl as q, b as v, a4 as z, u as I, n as b, c as _, ah as L, f as V, w as S, v as Z, W as x, af as P, bm as E, y as N, i as j } from "./main-BkjAGG46.js";
|
|
4
|
+
import { t as A } from "./template-Cvzvayl5.js";
|
|
5
|
+
import { T as G } from "./DocTextEditor-D5zDbbXV.js";
|
|
6
|
+
const $ = {
|
|
7
7
|
name: "ArticleItem",
|
|
8
8
|
mixins: [D([])],
|
|
9
9
|
props: {
|
|
@@ -68,7 +68,7 @@ const j = {
|
|
|
68
68
|
default: null
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
|
-
docLang:
|
|
71
|
+
docLang: W,
|
|
72
72
|
computed: {
|
|
73
73
|
fixQuantity() {
|
|
74
74
|
return this.priceType === "openAcc" ? 1 : this.quantity;
|
|
@@ -94,6 +94,7 @@ const j = {
|
|
|
94
94
|
});
|
|
95
95
|
},
|
|
96
96
|
totalPrice() {
|
|
97
|
+
var e;
|
|
97
98
|
if (!this.price || !this.totalAmount)
|
|
98
99
|
return "";
|
|
99
100
|
let t = this.totalAmount;
|
|
@@ -101,13 +102,12 @@ const j = {
|
|
|
101
102
|
let i = "";
|
|
102
103
|
return this.priceType === "openAcc" && (i = `/${C(this.unitType, {
|
|
103
104
|
lng: this._document.language
|
|
104
|
-
})}`, this.houseWorkType && (t
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}[this.houseWorkType])), this.priceType === "markup" ? t = `${this.priceFormat(t, {
|
|
105
|
+
})}`, this.houseWorkType && (t -= O(
|
|
106
|
+
this.houseWorkType,
|
|
107
|
+
t,
|
|
108
|
+
this.fixQuantity,
|
|
109
|
+
(e = this._document) == null ? void 0 : e.acceptedAt
|
|
110
|
+
))), this.priceType === "markup" ? t = `${this.priceFormat(t, {
|
|
111
111
|
suffix: !1,
|
|
112
112
|
decimals: 2,
|
|
113
113
|
currency: this.currency
|
|
@@ -133,54 +133,54 @@ const j = {
|
|
|
133
133
|
articleUnitLabel: C,
|
|
134
134
|
priceFormat: F
|
|
135
135
|
}
|
|
136
|
-
},
|
|
136
|
+
}, H = { class: "article-text" }, Q = { class: "article-text-title hyphens-auto break-all" }, U = {
|
|
137
137
|
key: 0,
|
|
138
138
|
class: "article-text-sub"
|
|
139
|
-
},
|
|
139
|
+
}, R = { key: 0 }, J = { key: 1 }, K = {
|
|
140
140
|
key: 2,
|
|
141
141
|
style: { margin: "0 4px" },
|
|
142
142
|
width: "6",
|
|
143
143
|
height: "6",
|
|
144
144
|
viewBox: "0 0 148 141",
|
|
145
145
|
xmlns: "http://www.w3.org/2000/svg"
|
|
146
|
-
},
|
|
146
|
+
}, X = { key: 3 }, Y = { class: "article-price" }, ee = ["innerHTML"], te = {
|
|
147
147
|
key: 1,
|
|
148
148
|
class: "article-price-sub"
|
|
149
149
|
};
|
|
150
|
-
function
|
|
150
|
+
function ie(t, i, e, p, g, r) {
|
|
151
151
|
return a(), c("div", {
|
|
152
152
|
class: w([{
|
|
153
153
|
"no-border-top": e.position === 0
|
|
154
154
|
}, "article-wrapper print-avoid-break-inside"])
|
|
155
155
|
}, [
|
|
156
|
-
l("div",
|
|
157
|
-
l("div",
|
|
156
|
+
l("div", H, [
|
|
157
|
+
l("div", Q, o(e.title), 1),
|
|
158
158
|
r.showDetails ? (a(), c("div", U, [
|
|
159
|
-
e.priceType === "openAcc" || e.priceType === "markup" ? (a(), c("div",
|
|
160
|
-
e.priceType !== "openAcc" && e.priceType !== "markup" ? (a(), c("div",
|
|
159
|
+
e.priceType === "openAcc" || e.priceType === "markup" ? (a(), c("div", R, o(t._document.$t(`price.${e.priceType}`)) + " ", 1)) : n("", !0),
|
|
160
|
+
e.priceType !== "openAcc" && e.priceType !== "markup" ? (a(), c("div", J, o(r.fixQuantity) + " " + o(r.articleUnitLabel(e.unitType, {
|
|
161
161
|
count: r.fixQuantity,
|
|
162
162
|
lng: t._document.language,
|
|
163
163
|
instance: t.$options.docLang
|
|
164
164
|
})), 1)) : n("", !0),
|
|
165
|
-
r.atPrice ? (a(), c("svg",
|
|
165
|
+
r.atPrice ? (a(), c("svg", K, i[0] || (i[0] = [
|
|
166
166
|
l("path", {
|
|
167
167
|
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",
|
|
168
168
|
fill: "#000",
|
|
169
169
|
"fill-rule": "evenodd"
|
|
170
170
|
}, null, -1)
|
|
171
171
|
]))) : n("", !0),
|
|
172
|
-
r.atPrice ? (a(), c("div",
|
|
172
|
+
r.atPrice ? (a(), c("div", X, o(r.atPrice), 1)) : n("", !0)
|
|
173
173
|
])) : n("", !0)
|
|
174
174
|
]),
|
|
175
|
-
l("div",
|
|
175
|
+
l("div", Y, [
|
|
176
176
|
e.showPrice ? (a(), c(f, { key: 0 }, [
|
|
177
177
|
e.discount ? (a(), c("div", {
|
|
178
178
|
key: 0,
|
|
179
179
|
innerHTML: r.discountLabels
|
|
180
|
-
}, null, 8,
|
|
180
|
+
}, null, 8, ee)) : n("", !0),
|
|
181
181
|
l("div", null, o(r.totalPrice), 1)
|
|
182
182
|
], 64)) : n("", !0),
|
|
183
|
-
e.houseWorkType ? (a(), c("div",
|
|
183
|
+
e.houseWorkType ? (a(), c("div", te, [
|
|
184
184
|
e.houseWorkType && e.priceType === "openAcc" ? (a(), c(f, { key: 0 }, [
|
|
185
185
|
k(o(t._document.$t("deduction.afterType", {
|
|
186
186
|
type: t._document.$t(`deduction.${e.houseWorkType}_percentage`)
|
|
@@ -194,10 +194,10 @@ function te(t, i, e, p, g, r) {
|
|
|
194
194
|
])
|
|
195
195
|
], 2);
|
|
196
196
|
}
|
|
197
|
-
const
|
|
197
|
+
const re = /* @__PURE__ */ T($, [["render", ie], ["__scopeId", "data-v-877a7fbc"]]), ae = {
|
|
198
198
|
name: "ArticleList",
|
|
199
199
|
components: {
|
|
200
|
-
DocChapterArticleItem:
|
|
200
|
+
DocChapterArticleItem: re
|
|
201
201
|
},
|
|
202
202
|
emits: ["toggle-show-vat"],
|
|
203
203
|
mixins: [D([])],
|
|
@@ -233,15 +233,15 @@ const ie = /* @__PURE__ */ T(j, [["render", te], ["__scopeId", "data-v-0358ad9f"
|
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
235
|
methods: {
|
|
236
|
-
articleHouseWorkType:
|
|
236
|
+
articleHouseWorkType: q
|
|
237
237
|
}
|
|
238
|
-
},
|
|
239
|
-
function
|
|
238
|
+
}, ce = { class: "article-head" };
|
|
239
|
+
function se(t, i, e, p, g, r) {
|
|
240
240
|
const d = v("DocChapterArticleItem"), u = z("tooltip");
|
|
241
241
|
return a(), c("div", {
|
|
242
242
|
class: w(["article-list-wrapper", t.$attrs.class])
|
|
243
243
|
}, [
|
|
244
|
-
l("div",
|
|
244
|
+
l("div", ce, [
|
|
245
245
|
l("div", null, o(t._document.$t("chapters.articleList.title")), 1),
|
|
246
246
|
e.showPrices && r.showVatToggle ? I((a(), c("div", {
|
|
247
247
|
key: 0,
|
|
@@ -284,7 +284,7 @@ function ce(t, i, e, p, g, r) {
|
|
|
284
284
|
}, null, 8, ["_document", "title", "quantity", "unit", "unit-type", "article-no", "house-work-type", "price", "currency", "vat", "price-type", "show-price", "position", "show-prices-inc-vat", "discount", "discount-type", "total-amount"]))), 128))
|
|
285
285
|
], 2);
|
|
286
286
|
}
|
|
287
|
-
const
|
|
287
|
+
const oe = /* @__PURE__ */ T(ae, [["render", se], ["__scopeId", "data-v-76980fe6"]]), ne = {
|
|
288
288
|
name: "PackageItem",
|
|
289
289
|
i18nOptions: {
|
|
290
290
|
namespaces: "PackageItem",
|
|
@@ -298,7 +298,7 @@ const se = /* @__PURE__ */ T(re, [["render", ce], ["__scopeId", "data-v-76980fe6
|
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
components: {
|
|
301
|
-
ArticleList:
|
|
301
|
+
ArticleList: oe,
|
|
302
302
|
TextEditor: G
|
|
303
303
|
},
|
|
304
304
|
emits: ["toggle", "toggle-show-vat"],
|
|
@@ -368,7 +368,7 @@ const se = /* @__PURE__ */ T(re, [["render", ce], ["__scopeId", "data-v-76980fe6
|
|
|
368
368
|
},
|
|
369
369
|
description() {
|
|
370
370
|
const t = this._document ? this._document._doc : {};
|
|
371
|
-
return
|
|
371
|
+
return L(this.workPackage.data.description, t);
|
|
372
372
|
},
|
|
373
373
|
useVat() {
|
|
374
374
|
return this._document ? this._document.useVat : !1;
|
|
@@ -387,33 +387,33 @@ const se = /* @__PURE__ */ T(re, [["render", ce], ["__scopeId", "data-v-76980fe6
|
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
},
|
|
390
|
+
}, le = { class: "top-container" }, ue = {
|
|
391
391
|
key: 0,
|
|
392
392
|
style: { "font-weight": "800", "font-size": "calc(calc(1 * var(--rem)) + 4px)", "margin-bottom": "calc(0.5 * var(--rem))" }
|
|
393
|
-
},
|
|
393
|
+
}, de = {
|
|
394
394
|
key: 0,
|
|
395
395
|
class: "flex w-full justify-end",
|
|
396
396
|
style: { "margin-top": "calc(3 * var(--rem))" }
|
|
397
|
-
},
|
|
398
|
-
calc(0.75 * var(--rem)) calc(3 * var(--rem))`, "text-align": "right" } },
|
|
397
|
+
}, he = { style: { padding: `calc(0.75 * var(--rem)) calc(1 * var(--rem))
|
|
398
|
+
calc(0.75 * var(--rem)) calc(3 * var(--rem))`, "text-align": "right" } }, me = {
|
|
399
399
|
key: 0,
|
|
400
400
|
class: "price-total",
|
|
401
401
|
style: { color: "red", "text-decoration": "line-through", "font-size": "16px", "font-weight": "600" }
|
|
402
|
-
},
|
|
402
|
+
}, pe = { style: { "line-height": "1.2", "font-size": "13px" } }, ge = {
|
|
403
403
|
class: "price-total",
|
|
404
404
|
style: { padding: "2px 0 3px 0" }
|
|
405
|
-
},
|
|
405
|
+
}, ye = { class: "price-total" }, fe = {
|
|
406
406
|
key: 0,
|
|
407
407
|
class: "primary-text-color",
|
|
408
408
|
style: { "font-weight": "900" }
|
|
409
|
-
},
|
|
409
|
+
}, ke = {
|
|
410
410
|
key: 0,
|
|
411
411
|
style: { "line-height": "1.2", "font-size": "13px", padding: "2px 0 3px 0" }
|
|
412
|
-
},
|
|
412
|
+
}, ve = {
|
|
413
413
|
key: 1,
|
|
414
414
|
class: "flex w-full items-center justify-end",
|
|
415
415
|
style: { "background-color": "hsl(215, 10%, 95%)" }
|
|
416
|
-
},
|
|
416
|
+
}, _e = {
|
|
417
417
|
style: { "margin-right": "calc(0.5 * var(--rem))" },
|
|
418
418
|
viewBox: "0 0 24 24",
|
|
419
419
|
width: "18",
|
|
@@ -424,7 +424,7 @@ const se = /* @__PURE__ */ T(re, [["render", ce], ["__scopeId", "data-v-76980fe6
|
|
|
424
424
|
"stroke-linecap": "round",
|
|
425
425
|
"stroke-linejoin": "round"
|
|
426
426
|
};
|
|
427
|
-
function
|
|
427
|
+
function we(t, i, e, p, g, r) {
|
|
428
428
|
const d = v("TextEditor"), u = v("ArticleList"), s = v("Animation"), m = v("CButton"), h = z("tooltip");
|
|
429
429
|
return a(), c("div", {
|
|
430
430
|
style: x({
|
|
@@ -436,8 +436,8 @@ function _e(t, i, e, p, g, r) {
|
|
|
436
436
|
"single-package": e.type === "single" || e.workPackage.isSelected && !e.workPackage.toggable
|
|
437
437
|
}, "package-container font-inter"])
|
|
438
438
|
}, [
|
|
439
|
-
l("div",
|
|
440
|
-
e.workPackage.data.name ? (a(), c("div",
|
|
439
|
+
l("div", le, [
|
|
440
|
+
e.workPackage.data.name ? (a(), c("div", ue, o(e.workPackage.data.name), 1)) : n("", !0),
|
|
441
441
|
l("div", null, [
|
|
442
442
|
r.description ? (a(), _(d, {
|
|
443
443
|
key: 0,
|
|
@@ -458,31 +458,31 @@ function _e(t, i, e, p, g, r) {
|
|
|
458
458
|
class: "articles-container",
|
|
459
459
|
onToggleShowVat: i[0] || (i[0] = (y) => t.$emit("toggle-show-vat", y))
|
|
460
460
|
}, null, 8, ["_document", "articles", "show-prices-inc-vat", "use-vat", "vat-type"]), [
|
|
461
|
-
[
|
|
461
|
+
[Z, r.showDetails && e.workPackage.articles.length]
|
|
462
462
|
])
|
|
463
463
|
]),
|
|
464
464
|
_: 1
|
|
465
465
|
}),
|
|
466
|
-
e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (r.prices.total || r.prices.type === "openAcc") ? (a(), c("div",
|
|
467
|
-
l("div",
|
|
468
|
-
r.prices.helpers.discount ? (a(), c("div",
|
|
466
|
+
e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (r.prices.total || r.prices.type === "openAcc") ? (a(), c("div", de, [
|
|
467
|
+
l("div", he, [
|
|
468
|
+
r.prices.helpers.discount ? (a(), c("div", me, o(r.priceFormat(
|
|
469
469
|
e.showPricesIncVat ? r.totalBeforeDiscount : r.prices.subTotal + r.prices.helpers.discount
|
|
470
470
|
)), 1)) : n("", !0),
|
|
471
471
|
r.prices.type === "openAcc" ? (a(), c(f, { key: 1 }, [
|
|
472
|
-
l("div",
|
|
473
|
-
l("div",
|
|
472
|
+
l("div", pe, o(e._document.$t("price.pricing")), 1),
|
|
473
|
+
l("div", ge, o(e._document.$t("price.openAccPrice")), 1)
|
|
474
474
|
], 64)) : (a(), c(f, { key: 2 }, [
|
|
475
|
-
l("div",
|
|
476
|
-
e.type === "checkbox" ? (a(), c("span",
|
|
475
|
+
l("div", ye, [
|
|
476
|
+
e.type === "checkbox" ? (a(), c("span", fe, "+")) : n("", !0),
|
|
477
477
|
k(" " + o(r.priceFormat(e.showPricesIncVat ? r.prices.total : r.prices.subTotal)), 1)
|
|
478
478
|
]),
|
|
479
|
-
r.useVat ? (a(), c("div",
|
|
479
|
+
r.useVat ? (a(), c("div", ke, o(e._document.$t("price.price").capitalize()) + " " + o(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, {
|
|
480
480
|
thing: e._document.$t(`vat.${r.vatType}`)
|
|
481
481
|
})), 1)) : n("", !0)
|
|
482
482
|
], 64))
|
|
483
483
|
])
|
|
484
484
|
])) : n("", !0),
|
|
485
|
-
e.showToggle ? (a(), c("div",
|
|
485
|
+
e.showToggle ? (a(), c("div", ve, [
|
|
486
486
|
r.isPdf ? n("", !0) : (a(), c(f, { key: 0 }, [
|
|
487
487
|
V(m, {
|
|
488
488
|
class: "package-button",
|
|
@@ -511,7 +511,7 @@ function _e(t, i, e, p, g, r) {
|
|
|
511
511
|
}, {
|
|
512
512
|
default: S(() => [
|
|
513
513
|
e.workPackage.isSelected ? (a(), c(f, { key: 0 }, [
|
|
514
|
-
(a(), c("svg",
|
|
514
|
+
(a(), c("svg", _e, i[3] || (i[3] = [
|
|
515
515
|
l("polyline", { points: "20 6 9 17 4 12" }, null, -1)
|
|
516
516
|
]))),
|
|
517
517
|
k(" " + o(e._document.$t("chapters.packageItem.selected")), 1)
|
|
@@ -535,7 +535,7 @@ function _e(t, i, e, p, g, r) {
|
|
|
535
535
|
])) : n("", !0)
|
|
536
536
|
], 6);
|
|
537
537
|
}
|
|
538
|
-
const
|
|
538
|
+
const Pe = /* @__PURE__ */ T(ne, [["render", we], ["__scopeId", "data-v-52e3175c"]]), be = {
|
|
539
539
|
name: "PackagePricingSummary",
|
|
540
540
|
props: {
|
|
541
541
|
// PackageGroup.prices (format: calcPrices of one group)
|
|
@@ -777,43 +777,43 @@ const we = /* @__PURE__ */ T(oe, [["render", _e], ["__scopeId", "data-v-52e3175c
|
|
|
777
777
|
]), h;
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
|
-
},
|
|
780
|
+
}, Te = {
|
|
781
781
|
key: 0,
|
|
782
782
|
id: "price",
|
|
783
783
|
style: { "margin-top": "calc(2 * var(--rem))", "margin-bottom": "calc(2 * var(--rem))", position: "relative" },
|
|
784
784
|
class: "font-inter"
|
|
785
|
-
},
|
|
785
|
+
}, xe = { class: "block-header" }, Ve = {
|
|
786
786
|
key: 0,
|
|
787
787
|
style: { "font-weight": "800" }
|
|
788
|
-
},
|
|
788
|
+
}, Se = {
|
|
789
789
|
key: 1,
|
|
790
790
|
style: { "font-size": "16px", "margin-left": "0.5em" }
|
|
791
|
-
},
|
|
791
|
+
}, Ie = {
|
|
792
792
|
key: 0,
|
|
793
793
|
class: "block-body"
|
|
794
|
-
},
|
|
794
|
+
}, Ae = {
|
|
795
795
|
key: 0,
|
|
796
796
|
style: { "font-weight": "500", "font-size": "calc(1em - 2px)" }
|
|
797
|
-
},
|
|
797
|
+
}, De = { class: "text-right" }, Fe = {
|
|
798
798
|
key: 0,
|
|
799
799
|
class: "block-body-footer-hint"
|
|
800
|
-
},
|
|
800
|
+
}, Ce = {
|
|
801
801
|
key: 0,
|
|
802
802
|
class: "terms-text"
|
|
803
|
-
},
|
|
803
|
+
}, ze = {
|
|
804
804
|
key: 1,
|
|
805
805
|
id: "villkor-avdrag",
|
|
806
806
|
class: "terms-text"
|
|
807
|
-
},
|
|
807
|
+
}, Be = {
|
|
808
808
|
key: 2,
|
|
809
809
|
class: "terms-text"
|
|
810
|
-
},
|
|
810
|
+
}, Me = {
|
|
811
811
|
key: 1,
|
|
812
812
|
class: "flex w-full flex-col items-center justify-center",
|
|
813
813
|
style: { position: "absolute", top: "calc(1 * var(--rem))", left: "50%", transform: "translate(-50%, 0%)", "background-color": "white", width: "350px", "max-width": "90%", "border-radius": "3px", padding: "calc(2 * var(--rem))", "box-shadow": `0 1px rgba(0, 0, 0, 0.1),
|
|
814
814
|
0 calc(0.5 * var(--rem)) calc(2 * var(--rem)) calc(-0.5 * var(--rem))
|
|
815
815
|
rgba(0, 0, 0, 0.3)`, "text-align": "center", "font-size": "16px" }
|
|
816
|
-
},
|
|
816
|
+
}, We = {
|
|
817
817
|
width: "200",
|
|
818
818
|
height: "100",
|
|
819
819
|
viewBox: "0 0 418 211",
|
|
@@ -821,16 +821,16 @@ const we = /* @__PURE__ */ T(oe, [["render", _e], ["__scopeId", "data-v-52e3175c
|
|
|
821
821
|
}, Oe = {
|
|
822
822
|
fill: "none",
|
|
823
823
|
"fill-rule": "evenodd"
|
|
824
|
-
},
|
|
824
|
+
}, qe = ["fill"], Le = {
|
|
825
825
|
"font-family": "Inter-Regular, Inter",
|
|
826
826
|
"font-size": "24",
|
|
827
827
|
fill: "#FFF"
|
|
828
|
-
},
|
|
828
|
+
}, Ze = {
|
|
829
829
|
x: "332.4",
|
|
830
830
|
y: "173"
|
|
831
|
-
},
|
|
832
|
-
function
|
|
833
|
-
return e._document.readPrices ? (a(), c("div",
|
|
831
|
+
}, Ee = { style: { "padding-top": "1em", "font-weight": "600", "font-size": "18px" } }, Ne = { style: { "font-weight": "600" } };
|
|
832
|
+
function je(t, i, e, p, g, r) {
|
|
833
|
+
return e._document.readPrices ? (a(), c("div", Te, [
|
|
834
834
|
r.showPricingCard ? (a(), c("div", {
|
|
835
835
|
key: 0,
|
|
836
836
|
class: w([{ faded: e.placeholder }, "pricing-container"])
|
|
@@ -839,11 +839,11 @@ function Ne(t, i, e, p, g, r) {
|
|
|
839
839
|
key: m,
|
|
840
840
|
class: w([{ first: m === 0 }, "block-container print-avoid-break-inside"])
|
|
841
841
|
}, [
|
|
842
|
-
l("div",
|
|
843
|
-
d.title ? (a(), c("div",
|
|
844
|
-
d.subTitle ? (a(), c("div",
|
|
842
|
+
l("div", xe, [
|
|
843
|
+
d.title ? (a(), c("div", Ve, o(d.title), 1)) : n("", !0),
|
|
844
|
+
d.subTitle ? (a(), c("div", Se, o(d.subTitle), 1)) : n("", !0)
|
|
845
845
|
]),
|
|
846
|
-
u.length || s ? (a(), c("div",
|
|
846
|
+
u.length || s ? (a(), c("div", Ie, [
|
|
847
847
|
(a(!0), c(f, null, b(u, ({ label: h, value: y }, B) => (a(), c("div", {
|
|
848
848
|
key: `item-${B}-${m}`,
|
|
849
849
|
class: w([m === 0 && "primary-light-background", "block-body-item"]),
|
|
@@ -859,26 +859,26 @@ function Ne(t, i, e, p, g, r) {
|
|
|
859
859
|
}, [
|
|
860
860
|
l("div", null, [
|
|
861
861
|
k(o(s.title) + " ", 1),
|
|
862
|
-
s.subTitle ? (a(), c("div",
|
|
862
|
+
s.subTitle ? (a(), c("div", Ae, o(s.subTitle), 1)) : n("", !0)
|
|
863
863
|
]),
|
|
864
|
-
l("div",
|
|
864
|
+
l("div", De, [
|
|
865
865
|
l("div", null, o(s.value), 1),
|
|
866
|
-
s.subValue ? (a(), c("div",
|
|
866
|
+
s.subValue ? (a(), c("div", Fe, o(s.subValue), 1)) : n("", !0)
|
|
867
867
|
])
|
|
868
868
|
], 4)) : n("", !0)
|
|
869
869
|
])) : n("", !0)
|
|
870
870
|
], 2))), 128)),
|
|
871
|
-
e.prices.region && e.prices.region.reverseVat ? (a(), c("div",
|
|
872
|
-
e.prices.region && e.prices.region.houseWorkType ? (a(), c("div",
|
|
871
|
+
e.prices.region && e.prices.region.reverseVat ? (a(), c("div", Ce, o(e._document.$t("chapters.pricingSummary.terms.reverseVat")), 1)) : n("", !0),
|
|
872
|
+
e.prices.region && e.prices.region.houseWorkType ? (a(), c("div", ze, o(e._document.$t("chapters.pricingSummary.terms.houseWork", {
|
|
873
873
|
type: e._document.$t(
|
|
874
874
|
`deduction.${e.prices.region.houseWorkType}_percentage`
|
|
875
875
|
)
|
|
876
876
|
})), 1)) : n("", !0),
|
|
877
|
-
e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? (a(), c("div",
|
|
877
|
+
e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? (a(), c("div", Be, o(e._document.$t("chapters.pricingSummary.terms.houseWorkApprox")), 1)) : n("", !0)
|
|
878
878
|
], 2)) : n("", !0),
|
|
879
|
-
e.placeholder ? (a(), c("div",
|
|
880
|
-
(a(), c("svg",
|
|
881
|
-
i[3] || (i[3] =
|
|
879
|
+
e.placeholder ? (a(), c("div", Me, [
|
|
880
|
+
(a(), c("svg", We, [
|
|
881
|
+
i[3] || (i[3] = E('<defs data-v-16cd51d3><filter id="a" x="-30.7%" y="-26.2%" width="160%" height="155%" filterUnits="objectBoundingBox" data-v-16cd51d3><feOffset dy="3" in="SourceAlpha" result="shadowOffsetOuter1" data-v-16cd51d3></feOffset><feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1" data-v-16cd51d3></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" in="shadowBlurOuter1" result="shadowMatrixOuter1" data-v-16cd51d3></feColorMatrix><feMerge data-v-16cd51d3><feMergeNode in="shadowMatrixOuter1" data-v-16cd51d3></feMergeNode><feMergeNode in="SourceGraphic" data-v-16cd51d3></feMergeNode></feMerge></filter></defs>', 1)),
|
|
882
882
|
l("g", Oe, [
|
|
883
883
|
i[0] || (i[0] = l("path", {
|
|
884
884
|
stroke: "#E4E4E4",
|
|
@@ -889,7 +889,7 @@ function Ne(t, i, e, p, g, r) {
|
|
|
889
889
|
fill: e.primaryColor,
|
|
890
890
|
"fill-rule": "nonzero",
|
|
891
891
|
d: "M282 139h136v51H282z"
|
|
892
|
-
}, null, 8,
|
|
892
|
+
}, null, 8, qe),
|
|
893
893
|
i[1] || (i[1] = l("g", {
|
|
894
894
|
filter: "url(#a)",
|
|
895
895
|
transform: "translate(365.5 165)"
|
|
@@ -912,8 +912,8 @@ function Ne(t, i, e, p, g, r) {
|
|
|
912
912
|
"fill-rule": "nonzero"
|
|
913
913
|
})
|
|
914
914
|
], -1)),
|
|
915
|
-
l("text",
|
|
916
|
-
l("tspan",
|
|
915
|
+
l("text", Le, [
|
|
916
|
+
l("tspan", Ze, o(e._document.$t("select")), 1)
|
|
917
917
|
]),
|
|
918
918
|
i[2] || (i[2] = l("path", {
|
|
919
919
|
fill: "#E4E4E4",
|
|
@@ -922,19 +922,19 @@ function Ne(t, i, e, p, g, r) {
|
|
|
922
922
|
}, null, -1))
|
|
923
923
|
])
|
|
924
924
|
])),
|
|
925
|
-
l("div",
|
|
925
|
+
l("div", Ee, o(e._document.$t("chapters.pricingSummary.placeholder.title")), 1),
|
|
926
926
|
l("div", null, [
|
|
927
927
|
k(o(e._document.$t("chapters.pricingSummary.placeholder.description")), 1),
|
|
928
|
-
l("span",
|
|
928
|
+
l("span", Ne, o(e._document.$t("chapters.pricingSummary.placeholder.descriptionBold")), 1),
|
|
929
929
|
i[4] || (i[4] = k(". "))
|
|
930
930
|
])
|
|
931
931
|
])) : n("", !0)
|
|
932
932
|
])) : n("", !0);
|
|
933
933
|
}
|
|
934
|
-
const Ge = /* @__PURE__ */ T(
|
|
934
|
+
const Ge = /* @__PURE__ */ T(be, [["render", je], ["__scopeId", "data-v-16cd51d3"]]), $e = {
|
|
935
935
|
name: "PackageGroup",
|
|
936
936
|
components: {
|
|
937
|
-
PackageItem:
|
|
937
|
+
PackageItem: Pe,
|
|
938
938
|
PackagePricingSummary: Ge,
|
|
939
939
|
ErrorCallout: M
|
|
940
940
|
},
|
|
@@ -986,7 +986,7 @@ const Ge = /* @__PURE__ */ T(Pe, [["render", Ne], ["__scopeId", "data-v-16cd51d3
|
|
|
986
986
|
const {
|
|
987
987
|
isPreview: t,
|
|
988
988
|
setPricesIncVat: i = null,
|
|
989
|
-
useVat: e =
|
|
989
|
+
useVat: e = N[j.brand].defaultRegion === "SE"
|
|
990
990
|
} = P(this, "_document", {});
|
|
991
991
|
t && i !== null ? this.showPricesIncVat = i : this.showPricesIncVat = P(this, "_document.prices.helpers.isIndivid", !0) && e;
|
|
992
992
|
},
|
|
@@ -1005,13 +1005,13 @@ const Ge = /* @__PURE__ */ T(Pe, [["render", Ne], ["__scopeId", "data-v-16cd51d3
|
|
|
1005
1005
|
}));
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
|
-
},
|
|
1008
|
+
}, He = { style: { position: "relative" } }, Qe = { key: 0 }, Ue = {
|
|
1009
1009
|
key: 0,
|
|
1010
1010
|
style: { 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))" }
|
|
1011
1011
|
};
|
|
1012
|
-
function
|
|
1012
|
+
function Re(t, i, e, p, g, r) {
|
|
1013
1013
|
const d = v("PackageItem"), u = v("ErrorCallout"), s = v("PackagePricingSummary");
|
|
1014
|
-
return a(), c("div",
|
|
1014
|
+
return a(), c("div", He, [
|
|
1015
1015
|
(a(!0), c(f, null, b(r.fixedPackages, (m, h) => (a(), _(d, {
|
|
1016
1016
|
key: h,
|
|
1017
1017
|
type: t.type,
|
|
@@ -1023,7 +1023,7 @@ function Qe(t, i, e, p, g, r) {
|
|
|
1023
1023
|
onToggle: r.onToggle,
|
|
1024
1024
|
onToggleShowVat: i[0] || (i[0] = (y) => g.showPricesIncVat = y)
|
|
1025
1025
|
}, null, 8, ["type", "work-package", "heading-color", "can-toggle", "show-prices-inc-vat", "_document", "onToggle"]))), 128)),
|
|
1026
|
-
r.toggablePackages.length ? (a(), c("div",
|
|
1026
|
+
r.toggablePackages.length ? (a(), c("div", Qe, [
|
|
1027
1027
|
r.fixedPackages.length && r.toggablePackages.length ? (a(), c("div", Ue, o(t._document.$t("chapters.packageGroup.selectableOptions")), 1)) : n("", !0),
|
|
1028
1028
|
(a(!0), c(f, null, b(r.toggablePackages, (m, h) => (a(), _(d, {
|
|
1029
1029
|
key: `fixed-${h}`,
|
|
@@ -1054,7 +1054,7 @@ function Qe(t, i, e, p, g, r) {
|
|
|
1054
1054
|
}, null, 8, ["prices", "_document", "show-prices-inc-vat", "primary-color", "placeholder"]))
|
|
1055
1055
|
]);
|
|
1056
1056
|
}
|
|
1057
|
-
const
|
|
1057
|
+
const tt = /* @__PURE__ */ T($e, [["render", Re]]);
|
|
1058
1058
|
export {
|
|
1059
|
-
|
|
1059
|
+
tt as default
|
|
1060
1060
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as l } from "./PdfViewer-
|
|
2
|
-
import {
|
|
1
|
+
import { V as l } from "./PdfViewer-DMAcTVND.js";
|
|
2
|
+
import { a7 as d, H as o, aD as f, d as t, o as s, j as a, t as _, f as m, I as p, _ as u } from "./main-BkjAGG46.js";
|
|
3
3
|
const v = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "root"
|
|
@@ -10,22 +10,22 @@ const v = {
|
|
|
10
10
|
file: {}
|
|
11
11
|
},
|
|
12
12
|
setup(r) {
|
|
13
|
-
const n = r, c = o(() => n.file.url), i = o(() =>
|
|
14
|
-
return (e, V) => e.text ? (
|
|
15
|
-
a("div", h,
|
|
13
|
+
const n = r, c = o(() => n.file.url), i = o(() => f.t("_common:terms.general"));
|
|
14
|
+
return (e, V) => e.text ? (s(), t("div", v, [
|
|
15
|
+
a("div", h, _(i.value), 1),
|
|
16
16
|
a("div", {
|
|
17
17
|
class: "term-text quill-format",
|
|
18
18
|
innerHTML: e.text
|
|
19
19
|
}, null, 8, k)
|
|
20
|
-
])) : e.file ? (
|
|
20
|
+
])) : e.file ? (s(), t("div", x, [
|
|
21
21
|
m(p(l), {
|
|
22
22
|
src: c.value,
|
|
23
23
|
"doc-file-path": "data.terms.file.url",
|
|
24
24
|
class: "pdf-container"
|
|
25
25
|
}, null, 8, ["src"])
|
|
26
|
-
])) : (
|
|
26
|
+
])) : (s(), t("div", y));
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
28
|
+
}), H = /* @__PURE__ */ u(T, [["__scopeId", "data-v-ddf8a4b3"]]);
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
H as default
|
|
31
31
|
};
|