@cling-se/widget 0.21.3 → 0.22.0
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 +16 -0
- package/dist/{AddClientCallout-CodlIQwE.js → AddClientCallout-CxbvK6ZG.js} +7 -7
- package/dist/{AnswerModal-J1UhMHpo.js → AnswerModal-vTetGwVn.js} +935 -651
- package/dist/{AttachmentItem-B0_8bPKy.js → AttachmentItem-DSHNRIq_.js} +9 -9
- package/dist/{BaseUpload-DuqbaH9l.js → BaseUpload-CWaM_bb7.js} +2 -2
- package/dist/{BlockMedia-Dy_--7Vj.js → BlockMedia-B1T85G4R.js} +9 -9
- package/dist/{CCallout-CmuwGNSi.js → CCallout-BieMmWa4.js} +5 -5
- package/dist/{CCurrencyDropdown-B8g2vrhq.js → CCurrencyDropdown-DKWtCUE_.js} +3 -3
- package/dist/{CDropdownItem-CM3Ir-XA.js → CDropdownItem-pNNH9fV3.js} +13 -13
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-C1P9Y9Tg.js → CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js} +14 -14
- package/dist/{CPhoneFormat-C0kGNp6W.js → CPhoneFormat-CyrQRGmd.js} +1 -1
- package/dist/{CPhoneInput-BUgER0Oa.js → CPhoneInput-BQHgpUCY.js} +5 -5
- package/dist/{CPriceInput-BQF9nkwR.js → CPriceInput-DnFN-I6p.js} +2 -2
- package/dist/{CSelect-H8jAu9Ae.js → CSelect-DB4-JxH8.js} +5 -5
- package/dist/{CSkeleton-C0XDwN9S.js → CSkeleton-DpRDxR6D.js} +7 -7
- package/dist/{ClientAutocomplete-BoNP8_4h.js → ClientAutocomplete-BjwvkuJ-.js} +19 -19
- package/dist/{ClientModal-DWFXbAOk.js → ClientModal-oBN2VSio.js} +138 -130
- package/dist/{ColorPicker-Bdwc47q6.js → ColorPicker-B5rSvXLV.js} +21 -21
- package/dist/{CompanyModal-CD6ojsz7.js → CompanyModal-QrsUL6Et.js} +13 -13
- package/dist/{ContentWrapper-Do4aBTL8.js → ContentWrapper-Yx-KMsfH.js} +22 -22
- package/dist/{CoverBlockSettings-4MmtvSy8.js → CoverBlockSettings-C8giTiEZ.js} +19 -19
- package/dist/{DocAnswer-CjwxDT6u.js → DocAnswer-Djyhwfrp.js} +2 -2
- package/dist/{DocDetails-BxIsdfgP.js → DocDetails-Dv6noPvB.js} +100 -94
- package/dist/{DocForm-CS9PFRi-.js → DocForm-BFHchJ6w.js} +24 -24
- package/dist/{DocFormSend-wzBPrCIU.js → DocFormSend-K2rbjklj.js} +2 -2
- package/dist/{DocLinks-DExm1cq-.js → DocLinks-DpUl89XR.js} +2 -2
- package/dist/{DocModalBase-CTtPx1oT.js → DocModalBase-BlTZ8CY3.js} +1 -1
- package/dist/{DocPrint-BlnW2EcE.js → DocPrint-Bmfl4Abk.js} +9 -9
- package/dist/{DocReceipt-CDyPZK5d.js → DocReceipt-3wi5YXqR.js} +111 -81
- package/dist/{DocSendReminder-yIYfJPSd.js → DocSendReminder-CHqgC_wM.js} +1 -1
- package/dist/{DocTextEditor-i_xyQACD.js → DocTextEditor-BGzwRwjt.js} +8 -8
- package/dist/{DocTimeline-p1JDm9-T.js → DocTimeline-BG7ldFgR.js} +12 -12
- package/dist/{DocumentClient-D_DZDXb4.js → DocumentClient-CLCAh4lI.js} +5 -5
- package/dist/{DocumentLayout-Q5yx_Q6I.js → DocumentLayout-DHSEYClM.js} +32 -32
- package/dist/{DocumentLogotype-BTLs13IJ.js → DocumentLogotype-0jH2-sr7.js} +8 -8
- package/dist/{DocumentVoided-DQ_dMdFP.js → DocumentVoided-BAS8mATO.js} +1 -1
- package/dist/{EmbedInput-DaMyfqJY.js → EmbedInput-DnSz1tbL.js} +18 -18
- package/dist/{EmbedSettings-Bc1eYQT0.js → EmbedSettings-BQ1kKupC.js} +5 -5
- package/dist/{ErrorCallout-DlQuu1rj.js → ErrorCallout-XMtdcNvE.js} +4 -4
- package/dist/{FilePreviewModal-BU9Sbe30.js → FilePreviewModal-Bv28RVrN.js} +20 -20
- package/dist/{Flag-CO6k_SbL.js → Flag-CcF7qtHi.js} +1 -1
- package/dist/{HeaderSettings-Dc7tbdZd.js → HeaderSettings-SKEJyM9y.js} +20 -20
- package/dist/{ImageSelectModal-d2IEg740.js → ImageSelectModal-BNXs_Rfh.js} +3 -3
- package/dist/{ImageUploadWrapper-B6hVAJaZ.js → ImageUploadWrapper-BmlB0qHZ.js} +23 -23
- package/dist/{Index-B2xKlEgp.js → Index-B1mvOHsr.js} +5 -5
- package/dist/{Index-CXEmMsr7.js → Index-B4EqZ9op.js} +8 -8
- package/dist/{Index-BJFdGM64.js → Index-B8soD6pI.js} +2 -2
- package/dist/{Index-C51ttD-V.js → Index-BDW4tvrc.js} +2 -2
- package/dist/{Index-m4JD2kLy.js → Index-BLC_eYvf.js} +2 -2
- package/dist/{Index-C7lZs4w7.js → Index-BNetDL7G.js} +4 -4
- package/dist/{Index-Br1Beh1t.js → Index-BRIv1n05.js} +4 -4
- package/dist/{Index-vj_4fW0L.js → Index-BS-ERsZ7.js} +28 -28
- package/dist/{Index-hTFQZ8P4.js → Index-BS1J5b8c.js} +3 -3
- package/dist/{Index-CIhXv9Vl.js → Index-B_R1p7cp.js} +1 -1
- package/dist/{Index-OOuia-Qn.js → Index-BbEj20KG.js} +13 -13
- package/dist/{Index-CRyXpadf.js → Index-Bd3gjqXz.js} +6 -6
- package/dist/{Index-FOlkhY4l.js → Index-Bxi4pinD.js} +3 -3
- package/dist/{Index-C8Vaj5ox.js → Index-Bz6vrP4D.js} +4 -4
- package/dist/{Index-CgUYpoRx.js → Index-C2Jql1QC.js} +16 -16
- package/dist/{Index-lrMaEM_k.js → Index-C6r2p8Qd.js} +7 -7
- package/dist/{Index-CpSQ5aXa.js → Index-C9k2n-HK.js} +4 -4
- package/dist/{Index--oU_6qkg.js → Index-CDdxLKdQ.js} +4 -4
- package/dist/{Index-BDxHSXUe.js → Index-CQSkYi57.js} +6 -6
- package/dist/{Index-BFFBTLqx.js → Index-CVoJGfTj.js} +5 -5
- package/dist/{Index-xaM6i_Ur.js → Index-CYjEFdMF.js} +2 -2
- package/dist/{Index-DqyAAbPV.js → Index-Ca6-XJ1q.js} +23 -23
- package/dist/{Index-Cyg7Cxb6.js → Index-CfpNMWEI.js} +5 -5
- package/dist/{Index-DmCgJ6-P.js → Index-Coef67Wb.js} +8 -8
- package/dist/{Index-CTR16GFI.js → Index-DRadSzmh.js} +11 -11
- package/dist/{Index-BlwNDGUd.js → Index-DU19comM.js} +14 -14
- package/dist/{Index-nspOYYbJ.js → Index-DquGwrE6.js} +11 -11
- package/dist/{Index-zwGVqaGe.js → Index-Dz3beMLO.js} +5 -5
- package/dist/{Index-DQ67Jdhz.js → Index-GmMgg4ZI.js} +10 -10
- package/dist/{Index-Bmv9uPyM.js → Index-LNHTL5EH.js} +1 -1
- package/dist/Index-Ra_-tX11.js +106 -0
- package/dist/Index-aOBMRrRj.js +4 -0
- package/dist/{Index-CP9Mwo6E.js → Index-ec9osPpw.js} +4 -4
- package/dist/{Index-4N9vyKBQ.js → Index-mcDMCki9.js} +30 -30
- package/dist/{Index.vue_vue_type_script_lang-C5astrcb.js → Index.vue_vue_type_script_lang-DOtAXSQl.js} +2 -2
- package/dist/{InputToggleRow-BBWZeA_f.js → InputToggleRow-DH7USYPf.js} +9 -9
- package/dist/{ManualPopover-DTwmTCPu.js → ManualPopover-JDRhdC8G.js} +3 -3
- package/dist/{MediaWrapper-Y0DGv4f8.js → MediaWrapper-DdbmCwGw.js} +3 -3
- package/dist/{NotBindingText-FUapTBAD.js → NotBindingText-CwV-MkgL.js} +2 -2
- package/dist/{PackageGroup-ChiyEDwB.js → PackageGroup-CH-8hyAF.js} +10 -10
- package/dist/{PdfTerms-CuQguFsD.js → PdfTerms-BBeN_k6I.js} +4 -4
- package/dist/{PdfViewer-Brnjp6OZ.js → PdfViewer-Du_M79jv.js} +27 -27
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-D5CY66LQ.js → PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js} +1 -1
- package/dist/{PriceHeader-DpCLCW93.js → PriceHeader-Be2QwWzs.js} +25 -25
- package/dist/{SearchApi-iBG9y8ZN.js → SearchApi-dNunyqch.js} +1 -1
- package/dist/{SendForm-CTd08c8d.js → SendForm-BIIwVZwY.js} +143 -130
- package/dist/{Setup-C2kYjDKF.js → Setup-DBbHXz4_.js} +1 -1
- package/dist/{SmartList-BBq3BgJi.js → SmartList-C2JUKK2W.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DyiB_0J-.js → Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js} +35 -35
- package/dist/{TermsSettings-Dj6sTbrm.js → TermsSettings-BZBWd3c9.js} +11 -11
- package/dist/{ThemeColorRow-BiwW-diz.js → ThemeColorRow-7KF7icN8.js} +5 -5
- package/dist/{ToggleBinding-JP15-Wvc.js → ToggleBinding-w8lNunzO.js} +4 -4
- package/dist/{UploadModal-zYfzZsGt.js → UploadModal-BRdimOyC.js} +2 -2
- package/dist/{VideoPlayerInput-zU6Kw9cw.js → VideoPlayerInput-BHmr7HvX.js} +6 -6
- package/dist/{VideoPlayerSettings-D7cfFYht.js → VideoPlayerSettings-fI8gpjks.js} +6 -6
- package/dist/{VideoSelectModal-CjOlhyNV.js → VideoSelectModal-Beq5yE0M.js} +9 -9
- package/dist/{focusDrawerMixin-C0aQjH6-.js → focusDrawerMixin-vhY6JO7g.js} +1 -1
- package/dist/{formDrawerState-CyABAApS.js → formDrawerState-ChHVYfc3.js} +1 -1
- package/dist/{fortnoxTheme-DQVyPRLl.js → fortnoxTheme-BGyYnb8i.js} +1 -1
- package/dist/{helpers-H5tqC2mD.js → helpers-Dw4CluFv.js} +1 -1
- package/dist/{index-EUYwyBFe.js → index-BUPqyA87.js} +6 -6
- package/dist/{index-77ik5EB2.js → index-BcnDsk0Z.js} +1 -1
- package/dist/{index-JV3eF8nv.js → index-C-tsPusW.js} +7 -7
- package/dist/{index-Ze_XZYbW.js → index-CPfrJsi9.js} +13 -13
- package/dist/{index-z_Lljo35.js → index-DJYVhEQt.js} +22 -22
- package/dist/{index-Cp5KfNdY.js → index-DihGX5od.js} +30 -30
- package/dist/{index-6-kWjuuL.js → index-syUJ22zc.js} +25 -28
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +140 -138
- package/dist/{main-BN-1fMb8.js → main-BBhJGb7I.js} +4908 -4635
- package/dist/{mapFormMixin-CM1I_eW_.js → mapFormMixin-CCKubywa.js} +2 -2
- package/dist/omit-Cdd54eFA.js +56 -0
- package/dist/{publicSenderState-BbL_iSL_.js → publicSenderState-LkIY-kEl.js} +1 -1
- package/dist/{splitpanes--dOqXPIb.js → splitpanes-nCfEUpmu.js} +1 -1
- package/dist/{template-BwkDoewU.js → template-B-Ds8x_U.js} +1 -1
- package/dist/{tippy.esm-BDnfKmn9.js → tippy.esm-DdYqbHFh.js} +66 -66
- package/dist/{useTermsModal-CmEHVDST.js → useTermsModal-Z_pZQ4H2.js} +4 -4
- package/dist/{utils-BVo-Ajwa.js → utils-C3tvmZHk.js} +1 -1
- package/dist/validation-CWxbj-wT.js +40 -0
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-C7fJuk6X.js +0 -4
- package/dist/Index-M2_bF0WP.js +0 -87
- package/dist/omit-D9nqAztq.js +0 -56
- package/dist/validation-BJw9_38H.js +0 -40
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { m as h } from "./mapFormMixin-
|
|
2
|
-
import { B as C } from "./BlockMedia-
|
|
3
|
-
import { T as y } from "./DocTextEditor-
|
|
4
|
-
import { u as g } from "./DocumentLayout-
|
|
5
|
-
import { f as $ } from "./focusDrawerMixin-
|
|
6
|
-
import { _ as w,
|
|
1
|
+
import { m as h } from "./mapFormMixin-CCKubywa.js";
|
|
2
|
+
import { B as C } from "./BlockMedia-B1T85G4R.js";
|
|
3
|
+
import { T as y } from "./DocTextEditor-BGzwRwjt.js";
|
|
4
|
+
import { u as g } from "./DocumentLayout-DHSEYClM.js";
|
|
5
|
+
import { f as $ } from "./focusDrawerMixin-vhY6JO7g.js";
|
|
6
|
+
import { _ as w, n as M, b as t, d, o as n, j as a, e as v, f as l, c as u, F as V, w as c, s as b, t as T, y as E, ae as S, af as x, ag as N, ah as A, ai as D } from "./main-BBhJGb7I.js";
|
|
7
7
|
const F = {
|
|
8
8
|
name: "CoverBlock",
|
|
9
9
|
components: {
|
|
10
10
|
BlockMedia: C,
|
|
11
11
|
TextEditor: y,
|
|
12
12
|
CoverBlockSettings: M(
|
|
13
|
-
() => import("./CoverBlockSettings-
|
|
13
|
+
() => import("./CoverBlockSettings-C8giTiEZ.js")
|
|
14
14
|
)
|
|
15
15
|
},
|
|
16
16
|
emits: ["section-remove"],
|
|
@@ -34,7 +34,7 @@ const F = {
|
|
|
34
34
|
) : D(e, this._document._doc);
|
|
35
35
|
},
|
|
36
36
|
set(e) {
|
|
37
|
-
this.setValue({ key: "text", value:
|
|
37
|
+
this.setValue({ key: "text", value: x(e) });
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
media() {
|
|
@@ -44,7 +44,7 @@ const F = {
|
|
|
44
44
|
},
|
|
45
45
|
methods: {
|
|
46
46
|
setValue({ key: e, value: o }) {
|
|
47
|
-
this.coverBlock =
|
|
47
|
+
this.coverBlock = S(this.coverBlock, e, o);
|
|
48
48
|
},
|
|
49
49
|
onAdd() {
|
|
50
50
|
var e;
|
|
@@ -52,7 +52,7 @@ const F = {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}, W = { class: "cover-base" }, I = { class: "cover-text-wrapper no-drag" }, U = { class: "cover-text" }, P = { class: "footer-button" };
|
|
55
|
-
function j(e, o,
|
|
55
|
+
function j(e, o, z, m, i, r) {
|
|
56
56
|
const p = t("BlockMedia"), k = t("TextEditor"), f = t("CoverBlockSettings"), B = t("CButton"), _ = t("portal");
|
|
57
57
|
return n(), d("div", {
|
|
58
58
|
class: E([{ "is-700-plus": m.docWidth >= 700 }, "cover-root font-inter"]),
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { m as k } from "./mapFormMixin-CCKubywa.js";
|
|
2
|
+
import { E as w } from "./ErrorCallout-XMtdcNvE.js";
|
|
3
|
+
import { f as g } from "./focusDrawerMixin-vhY6JO7g.js";
|
|
4
|
+
import { u as $ } from "./index-CPfrJsi9.js";
|
|
5
|
+
import { _ as F, n as u, b as s, a5 as S, d, e as r, o as n, f as c, F as _, v as B, c as i, w as D } from "./main-BBhJGb7I.js";
|
|
6
|
+
const E = {
|
|
7
|
+
name: "Terms",
|
|
8
|
+
i18nOptions: {
|
|
9
|
+
namespaces: "terms",
|
|
10
|
+
messages: {
|
|
11
|
+
en: {
|
|
12
|
+
noneSelected: "No terms selected"
|
|
13
|
+
},
|
|
14
|
+
sv: {
|
|
15
|
+
noneSelected: "Inga villkor valda"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
components: {
|
|
20
|
+
Read: u(() => import("./Index-Dz3beMLO.js")),
|
|
21
|
+
TermsSettings: u(() => import("./TermsSettings-BZBWd3c9.js")),
|
|
22
|
+
ErrorCallout: w
|
|
23
|
+
},
|
|
24
|
+
emits: ["input"],
|
|
25
|
+
mixins: [
|
|
26
|
+
k(["href", "termType", "file", "text"]),
|
|
27
|
+
g
|
|
28
|
+
],
|
|
29
|
+
setup() {
|
|
30
|
+
return {
|
|
31
|
+
v$: $()
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
data() {
|
|
35
|
+
return {
|
|
36
|
+
showControls: !1
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
computed: {
|
|
40
|
+
hasTerms() {
|
|
41
|
+
const e = ["href", "file"].includes(this.termType) && this.href, t = this.termType === "text" && this.text, m = this.termType === "file" && this.file;
|
|
42
|
+
return e || t || m;
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
validations() {
|
|
46
|
+
return this.isForm ? {
|
|
47
|
+
hasTerms: {
|
|
48
|
+
required: (e) => !!e
|
|
49
|
+
}
|
|
50
|
+
} : {};
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
function I(e, t, m, a, l, p) {
|
|
54
|
+
const f = s("Read"), v = s("CButton"), h = s("ErrorCallout"), y = s("TermsSettings"), T = s("portal"), C = S("tooltip");
|
|
55
|
+
return e.isForm || p.hasTerms ? (n(), d("div", {
|
|
56
|
+
key: 0,
|
|
57
|
+
onMouseoverPassive: t[2] || (t[2] = (o) => l.showControls = !0),
|
|
58
|
+
onMouseleavePassive: t[3] || (t[3] = (o) => l.showControls = !1),
|
|
59
|
+
class: "px-7 py-5"
|
|
60
|
+
}, [
|
|
61
|
+
c(f, {
|
|
62
|
+
_document: e._document,
|
|
63
|
+
href: e.href,
|
|
64
|
+
"term-type": e.termType,
|
|
65
|
+
file: e.file,
|
|
66
|
+
text: e.text,
|
|
67
|
+
onInput: t[0] || (t[0] = (o) => e.$emit("input", o))
|
|
68
|
+
}, null, 8, ["_document", "href", "term-type", "file", "text"]),
|
|
69
|
+
e.isForm ? (n(), d(_, { key: 0 }, [
|
|
70
|
+
p.hasTerms ? r("", !0) : B((n(), i(v, {
|
|
71
|
+
key: 0,
|
|
72
|
+
"icon-props": { size: 18 },
|
|
73
|
+
pattern: "secondary",
|
|
74
|
+
icon: "info",
|
|
75
|
+
circle: "",
|
|
76
|
+
size: "small",
|
|
77
|
+
type: "danger",
|
|
78
|
+
style: { position: "absolute", left: "calc(1 * var(--rem))", top: "calc(1 * var(--rem))", width: "2em", height: "2em" },
|
|
79
|
+
onClick: e.openDrawer
|
|
80
|
+
}, null, 8, ["onClick"])), [
|
|
81
|
+
[C, e.$t("noneSelected")]
|
|
82
|
+
]),
|
|
83
|
+
a.v$.hasTerms.$invalid && a.v$.hasTerms.$dirty ? (n(), i(h, {
|
|
84
|
+
key: 1,
|
|
85
|
+
message: e.$t("noneSelected")
|
|
86
|
+
}, null, 8, ["message"])) : r("", !0),
|
|
87
|
+
e.showDrawer ? (n(), i(T, {
|
|
88
|
+
key: 2,
|
|
89
|
+
to: "drawer-content"
|
|
90
|
+
}, {
|
|
91
|
+
default: D(() => [
|
|
92
|
+
c(y, {
|
|
93
|
+
_document: e._document,
|
|
94
|
+
_value: { term: "data.terms" },
|
|
95
|
+
onInput: t[1] || (t[1] = (o) => e.$emit("input", o))
|
|
96
|
+
}, null, 8, ["_document"])
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
})) : r("", !0)
|
|
100
|
+
], 64)) : r("", !0)
|
|
101
|
+
], 32)) : r("", !0);
|
|
102
|
+
}
|
|
103
|
+
const x = /* @__PURE__ */ F(E, [["render", I]]);
|
|
104
|
+
export {
|
|
105
|
+
x as default
|
|
106
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as s } from "./mapFormMixin-
|
|
2
|
-
import { T as m } from "./DocTextEditor-
|
|
3
|
-
import { _ as r, b as c, d, o as
|
|
1
|
+
import { m as s } from "./mapFormMixin-CCKubywa.js";
|
|
2
|
+
import { T as m } from "./DocTextEditor-BGzwRwjt.js";
|
|
3
|
+
import { _ as r, b as c, d as i, o as d, f as l, af as p, ah as u, ai as _ } from "./main-BBhJGb7I.js";
|
|
4
4
|
const x = {
|
|
5
5
|
name: "TextContent",
|
|
6
6
|
components: {
|
|
@@ -27,7 +27,7 @@ const x = {
|
|
|
27
27
|
};
|
|
28
28
|
function h(t, e, T, v, E, o) {
|
|
29
29
|
const n = c("TextEditor");
|
|
30
|
-
return
|
|
30
|
+
return d(), i("div", f, [
|
|
31
31
|
l(n, {
|
|
32
32
|
ref: "textEditor",
|
|
33
33
|
modelValue: o.value,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { m as q } from "./mapFormMixin-
|
|
2
|
-
import { C as $e } from "./CCallout-
|
|
3
|
-
import { C as Y, a as Z, w as Te } from "./CDropdownItem-
|
|
4
|
-
import { E as me } from "./ErrorCallout-
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
7
|
-
import { T as et } from "./DocTextEditor-
|
|
8
|
-
import { _ as tt, m as it } from "./Sortable.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { o as fe } from "./omit-
|
|
10
|
-
import { C as J } from "./CPriceInput-
|
|
11
|
-
import { u as ye } from "./index-
|
|
12
|
-
import { S as nt } from "./SearchApi-
|
|
13
|
-
import { m as st } from "./index-
|
|
14
|
-
import { _ as ke } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { F as at } from "./tippy.esm-
|
|
1
|
+
import { m as q } from "./mapFormMixin-CCKubywa.js";
|
|
2
|
+
import { C as $e } from "./CCallout-BieMmWa4.js";
|
|
3
|
+
import { C as Y, a as Z, w as Te } from "./CDropdownItem-pNNH9fV3.js";
|
|
4
|
+
import { E as me } from "./ErrorCallout-XMtdcNvE.js";
|
|
5
|
+
import { c6 as Ae, c7 as he, c8 as Ce, c9 as Pe, ca as xe, cb as De, cc as Ve, aL as Se, _ as R, b as h, d, o as a, j as l, t as p, y as D, F as C, q as V, X, e as w, f as u, u as H, m as z, a as E, g as L, w as v, T as B, aj as F, U as ne, ao as G, cd as Re, ce as se, aG as Me, a9 as ae, bj as W, aE as Oe, cf as Le, bm as Ee, a5 as U, c as A, v as S, s as _, cg as Ue, ch as Be, c2 as ge, x as We, ci as ve, a0 as ze, ag as x, am as Fe, aI as j, W as je, a3 as oe, b$ as qe, cj as Ne, ck as He, ac as Ge, cl as Ke, af as Ye, ah as Ze, c5 as Je, cm as re, aF as Xe } from "./main-BBhJGb7I.js";
|
|
6
|
+
import { u as Qe } from "./DocumentLayout-DHSEYClM.js";
|
|
7
|
+
import { T as et } from "./DocTextEditor-BGzwRwjt.js";
|
|
8
|
+
import { _ as tt, m as it } from "./Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js";
|
|
9
|
+
import { o as fe } from "./omit-Cdd54eFA.js";
|
|
10
|
+
import { C as J } from "./CPriceInput-DnFN-I6p.js";
|
|
11
|
+
import { u as ye } from "./index-CPfrJsi9.js";
|
|
12
|
+
import { S as nt } from "./SearchApi-dNunyqch.js";
|
|
13
|
+
import { m as st } from "./index-C-tsPusW.js";
|
|
14
|
+
import { _ as ke } from "./CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js";
|
|
15
|
+
import { F as at } from "./tippy.esm-DdYqbHFh.js";
|
|
16
16
|
const ot = [
|
|
17
17
|
"unit",
|
|
18
18
|
"m2",
|
|
@@ -30,13 +30,13 @@ const ot = [
|
|
|
30
30
|
"year",
|
|
31
31
|
"kWh"
|
|
32
32
|
];
|
|
33
|
-
var
|
|
33
|
+
var Q, le;
|
|
34
34
|
function rt() {
|
|
35
|
-
if (le) return
|
|
35
|
+
if (le) return Q;
|
|
36
36
|
le = 1;
|
|
37
37
|
function e() {
|
|
38
38
|
}
|
|
39
|
-
return
|
|
39
|
+
return Q = e, Q;
|
|
40
40
|
}
|
|
41
41
|
var ee, ce;
|
|
42
42
|
function lt() {
|
|
@@ -131,7 +131,7 @@ const pt = /* @__PURE__ */ Se(ut), mt = {
|
|
|
131
131
|
},
|
|
132
132
|
emits: ["input"],
|
|
133
133
|
setup() {
|
|
134
|
-
return { docWidth:
|
|
134
|
+
return { docWidth: Qe() };
|
|
135
135
|
},
|
|
136
136
|
data() {
|
|
137
137
|
return {
|
|
@@ -174,7 +174,7 @@ function wt(e, t, n, o, s, i) {
|
|
|
174
174
|
}, [
|
|
175
175
|
(a(!0), d(C, null, V(s.options, (g, k) => (a(), d("div", {
|
|
176
176
|
key: k,
|
|
177
|
-
style:
|
|
177
|
+
style: X({ backgroundColor: g.background }),
|
|
178
178
|
class: "package-group-option",
|
|
179
179
|
onClick: (c) => e.$emit("input", g.value)
|
|
180
180
|
}, [
|
|
@@ -196,7 +196,7 @@ function wt(e, t, n, o, s, i) {
|
|
|
196
196
|
class: D([{ animate: c === 2 }, "package-group-option__illustration-card"])
|
|
197
197
|
}, [
|
|
198
198
|
l("div", {
|
|
199
|
-
style:
|
|
199
|
+
style: X([
|
|
200
200
|
{ width: "8px", height: "8px", "border-radius": "50%", "box-shadow": `0 0 0 1px white,
|
|
201
201
|
0 0 0 2px hsl(0, 0%, 76%)`, "margin-right": "10px" },
|
|
202
202
|
c === 2 && {
|
|
@@ -221,7 +221,7 @@ function wt(e, t, n, o, s, i) {
|
|
|
221
221
|
class: D([{ animate: c !== 3 }, "package-group-option__illustration-card"])
|
|
222
222
|
}, [
|
|
223
223
|
l("div", {
|
|
224
|
-
style:
|
|
224
|
+
style: X([{ height: "12px", width: "12px", "border-radius": "2px", "background-color": "hsl(0, 0%, 76%)", "margin-right": "10px", color: "white", padding: "1px", display: "inline-flex", "align-items": "center", "justify-content": "center" }, c !== 3 && { backgroundColor: g.background }])
|
|
225
225
|
}, [
|
|
226
226
|
u(f, {
|
|
227
227
|
type: c !== 3 ? "check" : "empty",
|
|
@@ -1042,10 +1042,10 @@ const jt = /* @__PURE__ */ R(Wt, [["render", Ft], ["__scopeId", "data-v-66c12cce
|
|
|
1042
1042
|
}, Ht = { style: { padding: "calc(1.5 * var(--rem))" } }, Gt = { style: { "font-weight": "600", "font-size": "18px", "margin-bottom": "calc(1.5 * var(--rem))" } }, Kt = { class: "control" }, Yt = { style: { "border-top": "1px solid hsl(0, 0%, 88%)", overflow: "auto", "max-height": "360px" } }, Zt = {
|
|
1043
1043
|
class: "text-gray-400",
|
|
1044
1044
|
style: { "font-size": "14px", padding: "calc(1 * var(--rem)) calc(1.5 * var(--rem)) 0", "font-weight": "500" }
|
|
1045
|
-
}, Jt = { class: "unit-modal-list" },
|
|
1045
|
+
}, Jt = { class: "unit-modal-list" }, Xt = {
|
|
1046
1046
|
key: 0,
|
|
1047
1047
|
class: "unit-modal-list-empty"
|
|
1048
|
-
},
|
|
1048
|
+
}, Qt = ["onMouseoverPassive", "onClick"], ei = { class: "drag-handle" }, ti = { style: { "padding-left": "0.5em" } }, ii = { class: "unittype-buttons" };
|
|
1049
1049
|
function ni(e, t, n, o, s, i) {
|
|
1050
1050
|
const f = h("CIcon"), g = h("CButton"), k = h("CInput"), c = h("CField"), b = h("DragItem"), y = h("DragList"), $ = U("tooltip");
|
|
1051
1051
|
return a(), d("div", {
|
|
@@ -1115,7 +1115,7 @@ function ni(e, t, n, o, s, i) {
|
|
|
1115
1115
|
l("div", Yt, [
|
|
1116
1116
|
l("div", Zt, p(e.$t("_common:unit_other").capitalize()), 1),
|
|
1117
1117
|
l("div", Jt, [
|
|
1118
|
-
i.unitItems.length ? w("", !0) : (a(), d("div",
|
|
1118
|
+
i.unitItems.length ? w("", !0) : (a(), d("div", Xt, p(e.$t("_common:add", { thing: e.$t("_common:unit_other") })), 1)),
|
|
1119
1119
|
u(y, {
|
|
1120
1120
|
"drop-placeholder": { className: "drag-drop-placeholder" },
|
|
1121
1121
|
"drag-class": "is-dragged",
|
|
@@ -1164,7 +1164,7 @@ function ni(e, t, n, o, s, i) {
|
|
|
1164
1164
|
circle: ""
|
|
1165
1165
|
})
|
|
1166
1166
|
])
|
|
1167
|
-
], 42,
|
|
1167
|
+
], 42, Qt)
|
|
1168
1168
|
]),
|
|
1169
1169
|
_: 2
|
|
1170
1170
|
}, 1024))), 128))
|
|
@@ -2379,7 +2379,7 @@ const Ei = /* @__PURE__ */ R(Mi, [["render", Li], ["__scopeId", "data-v-d374fd9b
|
|
|
2379
2379
|
key: 0,
|
|
2380
2380
|
class: "mt-5 w-full"
|
|
2381
2381
|
}, Gi = { class: "mb-3 flex rounded-lg border border-blue-200 bg-blue-50 p-3 shadow-lg" }, Ki = { class: "pl-2" }, Yi = ["textContent"], Zi = { class: "mb-3 text-sm text-blue-600 text-opacity-80" }, Ji = { class: "pl-2" };
|
|
2382
|
-
function
|
|
2382
|
+
function Xi(e, t, n, o, s, i) {
|
|
2383
2383
|
const f = h("CPriceInput"), g = h("CIcon"), k = h("FormInputRow"), c = h("CButton"), b = h("modal");
|
|
2384
2384
|
return a(), d("div", null, [
|
|
2385
2385
|
u(b, B({
|
|
@@ -2503,10 +2503,10 @@ function Qi(e, t, n, o, s, i) {
|
|
|
2503
2503
|
}, 16, ["name"])
|
|
2504
2504
|
]);
|
|
2505
2505
|
}
|
|
2506
|
-
const
|
|
2506
|
+
const Qi = /* @__PURE__ */ R(Ui, [["render", Xi], ["__scopeId", "data-v-383d813f"]]), en = {
|
|
2507
2507
|
name: "Pricing",
|
|
2508
2508
|
components: {
|
|
2509
|
-
EditDeduction:
|
|
2509
|
+
EditDeduction: Qi
|
|
2510
2510
|
},
|
|
2511
2511
|
props: {
|
|
2512
2512
|
_document: {
|
|
@@ -3244,7 +3244,7 @@ const _n = {
|
|
|
3244
3244
|
this.$emit("input", { key: "articles", value: o }), this.$emit("input", { key: `${[this._value.packages]}`, value: t });
|
|
3245
3245
|
},
|
|
3246
3246
|
addPackage(e = {}) {
|
|
3247
|
-
const t =
|
|
3247
|
+
const t = Xe(), n = this.type === "checkbox" && this.packages.length ? this.packages[0].data.prices.type : "fixed", o = this.currency || this.defaultCurrency, s = {
|
|
3248
3248
|
isSelected: this.type === "single",
|
|
3249
3249
|
isSelectedDefault: this.type === "single",
|
|
3250
3250
|
toggable: !0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as i } from "./template-
|
|
2
|
-
import { f as e,
|
|
1
|
+
import { t as i } from "./template-B-Ds8x_U.js";
|
|
2
|
+
import { f as e, aF as d, al as s } from "./main-BBhJGb7I.js";
|
|
3
3
|
const c = {
|
|
4
4
|
"x-world/x-3dmf": {
|
|
5
5
|
labelColor: "#8D1A11",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as g, b as E, a5 as f, d as l, o as t, j as a, e as d, U as s, s as m, t as _, v as r, c as v, w as h, y as b } from "./main-BBhJGb7I.js";
|
|
2
2
|
const k = {
|
|
3
3
|
name: "InputCompactRow",
|
|
4
4
|
emits: ["remove"],
|
|
@@ -39,8 +39,8 @@ const k = {
|
|
|
39
39
|
key: 2,
|
|
40
40
|
ref: "inputContainer"
|
|
41
41
|
}, $ = { key: 0 };
|
|
42
|
-
function I(e,
|
|
43
|
-
const
|
|
42
|
+
function I(e, c, n, N, i, o) {
|
|
43
|
+
const u = E("CButton"), y = f("tooltip"), p = f("click-outside");
|
|
44
44
|
return t(), l("div", C, [
|
|
45
45
|
a("div", w, [
|
|
46
46
|
a("div", B, [
|
|
@@ -50,20 +50,20 @@ function I(e, u, n, N, i, o) {
|
|
|
50
50
|
]),
|
|
51
51
|
a("div", V, [
|
|
52
52
|
s(e.$slots, "toggle", {}, () => [
|
|
53
|
-
n.showClear ? r((t(), v(
|
|
53
|
+
n.showClear ? r((t(), v(u, {
|
|
54
54
|
key: 0,
|
|
55
55
|
size: "small",
|
|
56
56
|
icon: "x",
|
|
57
57
|
class: "clear-input-button",
|
|
58
|
-
onClick:
|
|
58
|
+
onClick: c[0] || (c[0] = (j) => e.$emit("remove"))
|
|
59
59
|
}, null, 512)), [
|
|
60
|
-
[
|
|
60
|
+
[y, e.$t("remove")]
|
|
61
61
|
]) : d("", !0),
|
|
62
62
|
i.isEditing ? e.$slots.bottom ? d("", !0) : r((t(), l("div", S, [
|
|
63
63
|
s(e.$slots, "default", {}, void 0, !0)
|
|
64
64
|
])), [
|
|
65
65
|
[p, o.closeEdit]
|
|
66
|
-
]) : (t(), v(
|
|
66
|
+
]) : (t(), v(u, {
|
|
67
67
|
key: 1,
|
|
68
68
|
class: b([{ "is-edit": i.isEditing }, "input-toggle-button"]),
|
|
69
69
|
type: "none",
|
|
@@ -93,7 +93,7 @@ function I(e, u, n, N, i, o) {
|
|
|
93
93
|
])) : d("", !0)
|
|
94
94
|
]);
|
|
95
95
|
}
|
|
96
|
-
const
|
|
96
|
+
const D = /* @__PURE__ */ g(k, [["render", I], ["__scopeId", "data-v-265d6d60"]]);
|
|
97
97
|
export {
|
|
98
|
-
|
|
98
|
+
D as I
|
|
99
99
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { B as w, a3 as _, I as C, a4 as g, H as L, b as S, c as E, o as $, w as v, U as f } from "./main-BBhJGb7I.js";
|
|
2
|
+
const R = {
|
|
3
3
|
__name: "ManualPopover",
|
|
4
4
|
props: {
|
|
5
5
|
distance: {
|
|
@@ -61,5 +61,5 @@ const b = {
|
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
export {
|
|
64
|
-
|
|
64
|
+
R as _
|
|
65
65
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as a } from "./mapFormMixin-
|
|
2
|
-
import { B as r } from "./BlockMedia-
|
|
3
|
-
import { _ as s, b as m, c as n, o as t,
|
|
1
|
+
import { m as a } from "./mapFormMixin-CCKubywa.js";
|
|
2
|
+
import { B as r } from "./BlockMedia-B1T85G4R.js";
|
|
3
|
+
import { _ as s, b as m, c as n, o as t, T as i } from "./main-BBhJGb7I.js";
|
|
4
4
|
const p = {
|
|
5
5
|
name: "MediaWrapper",
|
|
6
6
|
components: { BlockMedia: r },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./PlainHtml.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { f as n,
|
|
1
|
+
import { _ as e } from "./PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js";
|
|
2
|
+
import { f as n, at as i } from "./main-BBhJGb7I.js";
|
|
3
3
|
function r(t) {
|
|
4
4
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !i(t);
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as D } from "./mapFormMixin-
|
|
2
|
-
import { E as M } from "./ErrorCallout-
|
|
3
|
-
import { _ as T,
|
|
4
|
-
import { t as A } from "./template-
|
|
5
|
-
import { T as G } from "./DocTextEditor-
|
|
1
|
+
import { m as D } from "./mapFormMixin-CCKubywa.js";
|
|
2
|
+
import { E as M } from "./ErrorCallout-XMtdcNvE.js";
|
|
3
|
+
import { _ as T, u as F, bj as C, bk as W, bl as O, d as c, o as a, j as l, e as n, t as o, F as f, s as k, y as w, bm as q, b as v, a5 as z, v as I, q as P, c as _, ai as L, f as V, w as S, x as Z, X as x, ag as b, bn as E, z as N, i as j } from "./main-BBhJGb7I.js";
|
|
4
|
+
import { t as A } from "./template-B-Ds8x_U.js";
|
|
5
|
+
import { T as G } from "./DocTextEditor-BGzwRwjt.js";
|
|
6
6
|
const $ = {
|
|
7
7
|
name: "ArticleItem",
|
|
8
8
|
mixins: [D([])],
|
|
@@ -136,14 +136,14 @@ const $ = {
|
|
|
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
|
-
}, R = { key: 0 },
|
|
139
|
+
}, R = { key: 0 }, X = { key: 1 }, J = {
|
|
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
|
+
}, K = { key: 3 }, Y = { class: "article-price" }, ee = ["innerHTML"], te = {
|
|
147
147
|
key: 1,
|
|
148
148
|
class: "article-price-sub"
|
|
149
149
|
};
|
|
@@ -157,19 +157,19 @@ function ie(t, i, e, p, g, r) {
|
|
|
157
157
|
l("div", Q, o(e.title), 1),
|
|
158
158
|
r.showDetails ? (a(), c("div", U, [
|
|
159
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",
|
|
160
|
+
e.priceType !== "openAcc" && e.priceType !== "markup" ? (a(), c("div", X, 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", J, 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", K, o(r.atPrice), 1)) : n("", !0)
|
|
173
173
|
])) : n("", !0)
|
|
174
174
|
]),
|
|
175
175
|
l("div", Y, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as l } from "./PdfViewer-
|
|
2
|
-
import {
|
|
1
|
+
import { V as l } from "./PdfViewer-Du_M79jv.js";
|
|
2
|
+
import { a8 as d, I as o, aE as f, d as t, o as s, j as a, t as _, f as m, J as p, _ as u } from "./main-BBhJGb7I.js";
|
|
3
3
|
const v = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "root"
|
|
@@ -25,7 +25,7 @@ const v = {
|
|
|
25
25
|
}, null, 8, ["src"])
|
|
26
26
|
])) : (s(), t("div", y));
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
28
|
+
}), P = /* @__PURE__ */ u(T, [["__scopeId", "data-v-ddf8a4b3"]]);
|
|
29
29
|
export {
|
|
30
|
-
|
|
30
|
+
P as default
|
|
31
31
|
};
|