@cling-se/widget 0.19.3 → 0.19.4
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 +12 -2
- package/dist/{AddClientCallout-DuuNDL4D.js → AddClientCallout-BfBl04bU.js} +10 -10
- package/dist/{AnswerModal-D3EqaCFZ.js → AnswerModal-BSakBDNJ.js} +3 -3
- package/dist/{AttachmentItem-kRFxlzlC.js → AttachmentItem-BLGn1ILf.js} +14 -14
- package/dist/{BaseUpload-BxYInU7o.js → BaseUpload-CUaYnXBn.js} +2 -2
- package/dist/{BlockMedia--73N_Of0.js → BlockMedia-CbsL1ZZR.js} +14 -14
- package/dist/{CCallout-ChKgPAm2.js → CCallout-BezZlOfm.js} +2 -2
- package/dist/{CCurrencyDropdown-GcQqVqCs.js → CCurrencyDropdown-xdp_13tB.js} +6 -6
- package/dist/{CDropdownItem-CrGOya-D.js → CDropdownItem-CjTBhP8h.js} +14 -14
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CyUMgjqE.js → CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js} +13 -13
- package/dist/{CPhoneFormat-d9r8v4kT.js → CPhoneFormat-CdD0NkFL.js} +1 -1
- package/dist/{CPhoneInput-DbDLU0AC.js → CPhoneInput-CgV-rBLW.js} +12 -12
- package/dist/{CPriceInput-BqOw7bdS.js → CPriceInput-VMyB3kTX.js} +5 -5
- package/dist/{CSelect-BwpgSn0z.js → CSelect-BpZYcMEc.js} +6 -6
- package/dist/{CSkeleton.vue_vue_type_script_setup_true_lang-C3CzyV_p.js → CSkeleton.vue_vue_type_script_setup_true_lang-vOwtNEFo.js} +1 -1
- package/dist/{ClientAutocomplete-CvpqyHTG.js → ClientAutocomplete-DAlOBlRj.js} +19 -19
- package/dist/{ClientModal-CYTMaWid.js → ClientModal-B5J8NblQ.js} +24 -24
- package/dist/{ColorPicker-CEpFbxOm.js → ColorPicker-BBPCRucQ.js} +17 -17
- package/dist/{CompanyModal-BN3P5pxH.js → CompanyModal-D0iOqYPp.js} +10 -10
- package/dist/{ContentWrapper-CxL1K8Pf.js → ContentWrapper-Jp2A9A1G.js} +19 -19
- package/dist/{CoverBlockSettings-buQlTBr8.js → CoverBlockSettings-UVNE3YWj.js} +33 -33
- package/dist/{DocAnswer-DniRIWLM.js → DocAnswer-BDqoRdYy.js} +2 -2
- package/dist/{DocDetails-DQlItuAy.js → DocDetails-CQHUQYVe.js} +57 -57
- package/dist/{DocForm-DPnYrMM6.js → DocForm-BU4Mx9Fi.js} +26 -26
- package/dist/{DocFormSend-DDWp03Z4.js → DocFormSend-DXtfCSEG.js} +2 -2
- package/dist/{DocLinks-B_WHyJXJ.js → DocLinks-zF-W4hpD.js} +2 -2
- package/dist/{DocModalBase-DMoFbE_V.js → DocModalBase-CneXY73m.js} +1 -1
- package/dist/{DocPrint-CJnCR4sj.js → DocPrint-DQkI5BgD.js} +11 -11
- package/dist/{DocReceipt-CLEzesSd.js → DocReceipt-DJfBiwUr.js} +12 -12
- package/dist/{DocSendReminder-eVB0EpW3.js → DocSendReminder-CSxB-KWG.js} +13 -13
- package/dist/{DocTextEditor-DiiBwSqL.js → DocTextEditor-CSqqlABA.js} +8 -8
- package/dist/{DocTimeline-bTf4PXFt.js → DocTimeline-CDTh_czd.js} +19 -19
- package/dist/{DocumentClient-BliWFKWD.js → DocumentClient-COSPT21G.js} +5 -5
- package/dist/{DocumentLayout-BYF8MkQ6.js → DocumentLayout-CweRWvIc.js} +31 -31
- package/dist/{DocumentLogotype-CoAoOKFT.js → DocumentLogotype-D0cjO9XC.js} +4 -4
- package/dist/{DocumentVoided-BoE_3xZ-.js → DocumentVoided-BuNs74Da.js} +1 -1
- package/dist/{EmbedInput-BY9Tk0Fn.js → EmbedInput-BohNHou7.js} +8 -8
- package/dist/{EmbedSettings-o4XPxFEg.js → EmbedSettings-DrgFPrd-.js} +3 -3
- package/dist/{ErrorCallout-YB_Cq8zQ.js → ErrorCallout-BVWDsp2J.js} +1 -1
- package/dist/{FilePreviewModal-Bb88xu1a.js → FilePreviewModal-BVEsg1jk.js} +10 -10
- package/dist/{Flag-BxyVrkyQ.js → Flag-B0cEHRlt.js} +1 -1
- package/dist/{HeaderSettings-bLIJeluc.js → HeaderSettings-CGaJ7akp.js} +35 -35
- package/dist/{ImageSelectModal-BvJoFbVg.js → ImageSelectModal-D2A6akvb.js} +3 -3
- package/dist/{ImageUploadWrapper-Cg5PXmyH.js → ImageUploadWrapper-BHqbK12Z.js} +2 -2
- package/dist/{Index-B1W3BsnU.js → Index--WcKCsGG.js} +10 -10
- package/dist/{Index-4EhAq9jD.js → Index-3Yts7KXY.js} +17 -17
- package/dist/{Index-DxOS1Bcc.js → Index-6zEMdU6I.js} +4 -4
- package/dist/{Index-BV5EPUqw.js → Index-B518kuyT.js} +7 -7
- package/dist/{Index-DaDw8sm-.js → Index-BGKHEKp8.js} +4 -4
- package/dist/{Index-u8OyhXD6.js → Index-BNzgoLmd.js} +5 -5
- package/dist/{Index-8buSki3l.js → Index-BPKB1HUJ.js} +1 -1
- package/dist/{Index-D6qezTjd.js → Index-BSlfSspe.js} +13 -13
- package/dist/{Index-D0m02lsA.js → Index-C4ajjo5G.js} +1 -1
- package/dist/{Index-Y--RuSty.js → Index-CAG_M3hA.js} +12 -12
- package/dist/{Index-CmKBuzvS.js → Index-CEBnyO4l.js} +5 -5
- package/dist/{Index-I_htzZi9.js → Index-CFpRQnNq.js} +6 -6
- package/dist/{Index-CLmpmEm1.js → Index-CLFDz6SJ.js} +10 -10
- package/dist/{Index-BBIJa9tx.js → Index-CN6ts_Xp.js} +19 -19
- package/dist/{Index-Cfuzo8uM.js → Index-CSiHZutC.js} +10 -10
- package/dist/{Index-PIl16ugG.js → Index-CXMNxdAF.js} +6 -6
- package/dist/Index-C_pXu_0v.js +52 -0
- package/dist/{Index-2i28IE9s.js → Index-Cxc5s2dg.js} +7 -7
- package/dist/{Index-yczwn2__.js → Index-CzTIqHwe.js} +3 -3
- package/dist/{Index-tSL4w68e.js → Index-D05FW5AK.js} +24 -23
- package/dist/{Index-B9QJAmKi.js → Index-D5YE8uWt.js} +2 -2
- package/dist/{Index-DFutxc_k.js → Index-DPVl5ugc.js} +4 -4
- package/dist/{Index-7wOqPn5F.js → Index-DRaKysrP.js} +16 -16
- package/dist/{Index-BHE3BADD.js → Index-DU1wpDH9.js} +2 -2
- package/dist/{Index-nbUT4Y0t.js → Index-Dbmv21li.js} +3 -3
- package/dist/{Index-Bpz-Fyp-.js → Index-DmOHKqoS.js} +2 -2
- package/dist/{Index-Btz58lgU.js → Index-DylKlBB9.js} +2 -2
- package/dist/{Index-BVvlz0QZ.js → Index-I98TuKi1.js} +19 -19
- package/dist/{Index-Sdko3L9J.js → Index-K56XRGlg.js} +20 -20
- package/dist/{Index-DA_DXCrr.js → Index-LuLYEISf.js} +22 -22
- package/dist/{Index-BPkIQhtP.js → Index-Y4-687rr.js} +4 -4
- package/dist/{Index-BfTkhsEB.js → Index-eczQUYpI.js} +4 -4
- package/dist/{Index-CKm-Ab2J.js → Index-to2qkBy9.js} +3 -3
- package/dist/Index-yMgZ5Gcs.js +4 -0
- package/dist/{Index.vue_vue_type_script_lang-DQvhsOS6.js → Index.vue_vue_type_script_lang-V786MsVt.js} +2 -2
- package/dist/{InputToggleRow-d20mUVX2.js → InputToggleRow-TizMrUy3.js} +5 -5
- package/dist/{ManualPopover-Cj5mxzND.js → ManualPopover-D5s82nTD.js} +5 -5
- package/dist/{MediaWrapper-DWUR2K0S.js → MediaWrapper-B8QJIu96.js} +5 -5
- package/dist/{NotBindingText-Dj7llcNG.js → NotBindingText-CRNgx9DB.js} +2 -2
- package/dist/{PackageGroup-BNuMEute.js → PackageGroup-BSF-af5b.js} +23 -23
- package/dist/{PdfTerms-DdHFdJF8.js → PdfTerms-DZiOm01r.js} +6 -6
- package/dist/{PdfViewer-w58AEZEU.js → PdfViewer-C4KmWufw.js} +59 -59
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-DAy6tOo4.js → PlainHtml.vue_vue_type_script_setup_true_lang-Tt5bu7Nw.js} +1 -1
- package/dist/{PriceHeader-BBSS5378.js → PriceHeader-9PyzP2JW.js} +74 -74
- package/dist/{SearchApi-DiNXQk3K.js → SearchApi-Dqw0KfAD.js} +3 -3
- package/dist/{SendForm-CRCrqy3V.js → SendForm-DwIGeVAZ.js} +11 -11
- package/dist/{Setup-ClnyQJWX.js → Setup-2CQuTokL.js} +1 -1
- package/dist/{SmartList-ICs2gnpw.js → SmartList-DlivOpMQ.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DJO7tWIs.js → Sortable.vue_vue_type_script_setup_true_lang-B8DZEh_u.js} +92 -92
- package/dist/{TermsSettings-BDBrMOTk.js → TermsSettings-C3HFNpbX.js} +17 -17
- package/dist/{ThemeColorRow-ye4CbnQe.js → ThemeColorRow-j7lkaEKS.js} +8 -8
- package/dist/{ToggleBinding-CCVOOpHC.js → ToggleBinding-BTBbFc-F.js} +4 -4
- package/dist/{UploadModal-CE3Gyz8g.js → UploadModal-DEwQZ_8a.js} +8 -8
- package/dist/{VideoPlayerInput-DcYaE3Xn.js → VideoPlayerInput-32LiwyOw.js} +7 -7
- package/dist/{VideoPlayerSettings-DTP_f2k2.js → VideoPlayerSettings-DkzjgwLt.js} +2 -2
- package/dist/{VideoSelectModal-D4VpAg8Z.js → VideoSelectModal-DmEmB4Cx.js} +10 -10
- package/dist/{focusDrawerMixin-Dmt0M_ez.js → focusDrawerMixin-D13Ms6Jk.js} +1 -1
- package/dist/{formDrawerState-BTI6RBrh.js → formDrawerState-CRhWaymS.js} +1 -1
- package/dist/{helpers-BipYFMq7.js → helpers-B86zZNtk.js} +1 -1
- package/dist/{index-Bei9XuEH.js → index-BiwH6W9z.js} +27 -27
- package/dist/{index-CrYE_wD5.js → index-D3TD9uhN.js} +34 -34
- package/dist/{index-CAX6ZePf.js → index-DAIb9mjE.js} +1 -1
- package/dist/{index-mN_zKU2T.js → index-Db7Oe7W3.js} +7 -18
- package/dist/{index-k3WjZPJe.js → index-Kb9qkTlP.js} +21 -21
- package/dist/{index-BsNrnPKD.js → index-h9L0RGv3.js} +5 -5
- package/dist/{index-BLB7xfoK.js → index-tXDuIxx9.js} +41 -41
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +145 -145
- package/dist/{main-C3pW_mbm.js → main-Dr3neB7n.js} +9140 -9186
- package/dist/{mapFormMixin-CxDDheFN.js → mapFormMixin-Bkpm1wEf.js} +15 -15
- package/dist/omit-Ciu7kNcD.js +56 -0
- package/dist/{publicSenderState-CDeVVN6w.js → publicSenderState-CEfzhj0R.js} +1 -1
- package/dist/{splitpanes-Co3TdG3A.js → splitpanes-AhZAy_Th.js} +1 -1
- package/dist/{template-CERxPxb1.js → template-MfjSWRyx.js} +1 -1
- package/dist/{tippy.esm-x-zxHTNy.js → tippy.esm-CJxvo3UM.js} +5 -5
- package/dist/{useTermsModal-C01kFCTx.js → useTermsModal-Bp1LFsXg.js} +6 -6
- package/dist/{utils-BIrpSTl7.js → utils-DgTzzSIp.js} +1 -1
- package/dist/{validation-uD43rMVf.js → validation-J27tpgZs.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +5 -5
- package/dist/Index-C8LrEVrS.js +0 -52
- package/dist/Index-CtDVS-ts.js +0 -4
- package/dist/omit-CCSRNlMn.js +0 -56
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as v } from "./mapFormMixin-
|
|
2
|
-
import { B
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
5
|
-
import { t as
|
|
6
|
-
import { s as
|
|
7
|
-
import { T as
|
|
8
|
-
import { i as
|
|
9
|
-
const
|
|
1
|
+
import { m as v } from "./mapFormMixin-Bkpm1wEf.js";
|
|
2
|
+
import { B } from "./BlockMedia-CbsL1ZZR.js";
|
|
3
|
+
import { A as u, M as C, _ as b, o as n, b as s, s as a, n as f, l as w, v as r, f as l, H as T, z as N, e as h, c as _, F as V, aI as F, d as x, L } from "./main-Dr3neB7n.js";
|
|
4
|
+
import { u as A } from "./DocumentLayout-CweRWvIc.js";
|
|
5
|
+
import { t as P } from "./template-MfjSWRyx.js";
|
|
6
|
+
import { s as D } from "./dom-DOcGU3-g.js";
|
|
7
|
+
import { T as M } from "./DocTextEditor-CSqqlABA.js";
|
|
8
|
+
import { i as j } from "./i18nMessages-Chz_lxGG.js";
|
|
9
|
+
const z = {
|
|
10
10
|
name: "SummaryBottom",
|
|
11
11
|
mixins: [v([])],
|
|
12
12
|
props: {
|
|
@@ -32,12 +32,12 @@ const M = {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup() {
|
|
35
|
-
return { docWidth:
|
|
35
|
+
return { docWidth: A() };
|
|
36
36
|
},
|
|
37
37
|
data() {
|
|
38
38
|
return {
|
|
39
39
|
get: u,
|
|
40
|
-
tinycolor:
|
|
40
|
+
tinycolor: P
|
|
41
41
|
};
|
|
42
42
|
},
|
|
43
43
|
computed: {
|
|
@@ -103,16 +103,16 @@ const M = {
|
|
|
103
103
|
priceFormat: C,
|
|
104
104
|
scrollToPricing() {
|
|
105
105
|
const e = document.querySelector("#price");
|
|
106
|
-
e &&
|
|
106
|
+
e && D(e);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}, I = { class: "summary-bottom-root" }, W = { class: "price-type-string data-text" }, H = {
|
|
110
110
|
key: 0,
|
|
111
111
|
class: "price-deduction-text"
|
|
112
|
-
},
|
|
112
|
+
}, E = {
|
|
113
113
|
key: 0,
|
|
114
114
|
class: "open-acc-wrapper"
|
|
115
|
-
},
|
|
115
|
+
}, $ = {
|
|
116
116
|
key: 0,
|
|
117
117
|
class: "open-acc-item"
|
|
118
118
|
}, O = { class: "open-acc-link" }, U = {
|
|
@@ -133,9 +133,9 @@ const M = {
|
|
|
133
133
|
key: 1,
|
|
134
134
|
style: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" }
|
|
135
135
|
}, X = { style: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } };
|
|
136
|
-
function Y(e, o, t, c, d,
|
|
136
|
+
function Y(e, o, t, c, d, i) {
|
|
137
137
|
return n(), s("section", I, [
|
|
138
|
-
|
|
138
|
+
a("div", {
|
|
139
139
|
style: w([
|
|
140
140
|
{
|
|
141
141
|
backgroundColor: t.backgroundColor,
|
|
@@ -149,82 +149,82 @@ function Y(e, o, t, c, d, a) {
|
|
|
149
149
|
class: "summary-bottom"
|
|
150
150
|
}, [
|
|
151
151
|
t.options.length ? (n(), s("div", Z, [
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
a("div", R, [
|
|
153
|
+
a("div", G, r(e._document.$t("price.proposal")), 1),
|
|
154
|
+
a("div", null, r(e._document.$t("summaryBottom.chooseFrom")), 1)
|
|
155
155
|
]),
|
|
156
|
-
|
|
156
|
+
a("div", J, [
|
|
157
157
|
t.base ? (n(), s("div", Q, [
|
|
158
|
-
|
|
159
|
-
currency:
|
|
158
|
+
a("div", X, r(i.priceFormat(t.base.prices.total, {
|
|
159
|
+
currency: i.currency,
|
|
160
160
|
decimals: 2,
|
|
161
161
|
hideZeroDecimals: !0
|
|
162
162
|
})), 1),
|
|
163
|
-
|
|
163
|
+
a("div", null, " + " + r(e._document.$tc("summaryBottom.option", { count: t.options.length })), 1)
|
|
164
164
|
])) : (n(), s("div", K, r(e._document.$t("summaryBottom.noOfOptions", {
|
|
165
165
|
count: t.options.length
|
|
166
166
|
})), 1))
|
|
167
167
|
]),
|
|
168
|
-
o[1] || (o[1] =
|
|
168
|
+
o[1] || (o[1] = a("div", { style: { "background-color": "hsla(0, 0%, 0%, 0.4)", overflow: "hidden", width: "calc(1.5 * var(--rem))", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center", height: "100%", color: "hsla(0, 0%, 100%, 0.2)" } }, null, -1))
|
|
169
169
|
])) : (n(), s("div", {
|
|
170
170
|
key: 0,
|
|
171
171
|
class: f([[
|
|
172
172
|
{
|
|
173
|
-
column:
|
|
174
|
-
sm:
|
|
173
|
+
column: i.isSmallScreen,
|
|
174
|
+
sm: i.isSmallScreen
|
|
175
175
|
}
|
|
176
176
|
], "flex w-full justify-between"]),
|
|
177
177
|
style: { position: "relative" }
|
|
178
178
|
}, [
|
|
179
|
-
|
|
180
|
-
class: f(["flex w-full flex-col", [{ "fixed-price-type-string":
|
|
181
|
-
style: w([{ "background-color": "hsl(224, 57%, 39%)" }, [
|
|
179
|
+
a("div", {
|
|
180
|
+
class: f(["flex w-full flex-col", [{ "fixed-price-type-string": i.isSmallScreen }]]),
|
|
181
|
+
style: w([{ "background-color": "hsl(224, 57%, 39%)" }, [i.backgroundSecondary]])
|
|
182
182
|
}, [
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
a("div", W, r(i.priceTypeString), 1),
|
|
184
|
+
i.isSmallScreen ? l("", !0) : (n(), s("div", H, r(i.priceDeductionVatString), 1))
|
|
185
185
|
], 6),
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
i.priceType.some((m) => ["openAcc", "openAccMaxPrice"].includes(m)) ? (n(), s("div", E, [
|
|
187
|
+
i.openAccMaxPrice ? (n(), s("div", $, [
|
|
188
|
+
a("div", null, r(e._document.$t("price.maxPrice").capitalize()) + " " + r(e._document.$t("vat.exVat", {
|
|
189
189
|
thing: e._document.$t(`vat.${t.vatType}`)
|
|
190
190
|
})) + ": ", 1),
|
|
191
|
-
|
|
191
|
+
a("div", null, r(i.priceFormat(i.openAccMaxPrice, { currency: i.currency })), 1)
|
|
192
192
|
])) : l("", !0),
|
|
193
|
-
|
|
193
|
+
a("div", O, [
|
|
194
194
|
T(r(e._document.$t("see").capitalize()) + " ", 1),
|
|
195
|
-
|
|
195
|
+
a("span", {
|
|
196
196
|
style: { color: "inherit", cursor: "pointer" },
|
|
197
|
-
onClick: o[0] || (o[0] = (...m) =>
|
|
197
|
+
onClick: o[0] || (o[0] = (...m) => i.scrollToPricing && i.scrollToPricing(...m))
|
|
198
198
|
}, [
|
|
199
|
-
|
|
199
|
+
a("u", null, r(e._document.$t("price.price_other")), 1)
|
|
200
200
|
]),
|
|
201
201
|
T(" " + r(e._document.$t("summaryBottom.forDetails")), 1)
|
|
202
202
|
])
|
|
203
203
|
])) : (n(), s("div", {
|
|
204
204
|
key: 1,
|
|
205
|
-
class: f([[{ "justify-end": !
|
|
205
|
+
class: f([[{ "justify-end": !i.isSmallScreen }], "flex w-full items-center"])
|
|
206
206
|
}, [
|
|
207
|
-
|
|
208
|
-
currency:
|
|
207
|
+
a("div", U, r(i.priceType.includes("approx") ? e._document.$t("approx").capitalize() : "") + " " + r(i.priceFormat(i.priceTotal, {
|
|
208
|
+
currency: i.currency,
|
|
209
209
|
decimals: 2,
|
|
210
210
|
hideZeroDecimals: !0
|
|
211
211
|
})), 1)
|
|
212
212
|
], 2)),
|
|
213
|
-
|
|
213
|
+
i.isSmallScreen ? (n(), s("div", q, r(i.priceDeductionVatString), 1)) : l("", !0)
|
|
214
214
|
], 2))
|
|
215
215
|
], 4)
|
|
216
216
|
]);
|
|
217
217
|
}
|
|
218
|
-
const ee = /* @__PURE__ */ b(
|
|
218
|
+
const ee = /* @__PURE__ */ b(z, [["render", Y], ["__scopeId", "data-v-cdb2b76a"]]), te = {
|
|
219
219
|
name: "SummaryTop",
|
|
220
220
|
i18nOptions: {
|
|
221
221
|
namespaces: "summaryTop",
|
|
222
|
-
messages:
|
|
222
|
+
messages: j
|
|
223
223
|
},
|
|
224
224
|
components: {
|
|
225
|
-
TextEditor:
|
|
225
|
+
TextEditor: M,
|
|
226
226
|
DocumentLogotype: N(
|
|
227
|
-
() => import("./DocumentLogotype-
|
|
227
|
+
() => import("./DocumentLogotype-D0cjO9XC.js")
|
|
228
228
|
)
|
|
229
229
|
},
|
|
230
230
|
emits: ["update:logotype", "update:doc-name"],
|
|
@@ -281,9 +281,9 @@ const ee = /* @__PURE__ */ b(M, [["render", Y], ["__scopeId", "data-v-7ac386a1"]
|
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
283
|
setup() {
|
|
284
|
-
return { docWidth:
|
|
284
|
+
return { docWidth: A() };
|
|
285
285
|
}
|
|
286
|
-
}, oe = { class: "summary-top flex w-full justify-center" },
|
|
286
|
+
}, oe = { class: "summary-top flex w-full justify-center" }, ie = { class: "doc-summary-top-wrapper" }, ae = {
|
|
287
287
|
class: "flex w-full justify-between",
|
|
288
288
|
style: { "margin-bottom": "calc(2.5 * var(--rem))" }
|
|
289
289
|
}, re = {
|
|
@@ -299,12 +299,12 @@ const ee = /* @__PURE__ */ b(M, [["render", Y], ["__scopeId", "data-v-7ac386a1"]
|
|
|
299
299
|
key: 0,
|
|
300
300
|
class: "data-group"
|
|
301
301
|
}, ve = { class: "label-text caps" }, be = { class: "data-text" };
|
|
302
|
-
function ke(e, o, t, c, d,
|
|
302
|
+
function ke(e, o, t, c, d, i) {
|
|
303
303
|
const m = h("DocumentLogotype"), g = h("TextEditor");
|
|
304
304
|
return n(), s("section", oe, [
|
|
305
|
-
|
|
306
|
-
o[2] || (o[2] =
|
|
307
|
-
|
|
305
|
+
a("div", ie, [
|
|
306
|
+
o[2] || (o[2] = a("div", { class: "doc-summary-top-wrapper__background" }, null, -1)),
|
|
307
|
+
a("div", ae, [
|
|
308
308
|
t.showLogo && (t.logotype || t.companyLogotype) || e.canEdit ? (n(), _(m, {
|
|
309
309
|
key: 0,
|
|
310
310
|
"model-value": t.logotype,
|
|
@@ -313,12 +313,12 @@ function ke(e, o, t, c, d, a) {
|
|
|
313
313
|
"has-hover": t.hasHover,
|
|
314
314
|
"onUpdate:modelValue": o[0] || (o[0] = (p) => e.$emit("update:logotype", p))
|
|
315
315
|
}, null, 8, ["model-value", "show-logo", "company-logotype", "has-hover"])) : (n(), s("div", re, r(t.senderName), 1)),
|
|
316
|
-
|
|
316
|
+
a("div", ne, [
|
|
317
317
|
t.sentAt ? (n(), s("div", se, r(e.$formatDate(t.sentAt)), 1)) : l("", !0),
|
|
318
318
|
t.docNumber ? (n(), s("div", ce, " #" + r(t.docNumber), 1)) : l("", !0)
|
|
319
319
|
])
|
|
320
320
|
]),
|
|
321
|
-
|
|
321
|
+
a("div", le, [
|
|
322
322
|
e.canEdit ? (n(), _(g, {
|
|
323
323
|
key: 1,
|
|
324
324
|
ref: "editor",
|
|
@@ -344,19 +344,19 @@ function ke(e, o, t, c, d, a) {
|
|
|
344
344
|
innerHTML: t.docName
|
|
345
345
|
}, null, 8, de))
|
|
346
346
|
]),
|
|
347
|
-
|
|
347
|
+
a("div", me, [
|
|
348
348
|
t.expiresAt ? (n(), s("div", ue, [
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
a("div", pe, r(e._document.$t("replyBy")), 1),
|
|
350
|
+
a("div", ye, r(e.$formatDate(t.expiresAt)), 1)
|
|
351
351
|
])) : l("", !0),
|
|
352
352
|
t.docType !== "document" ? (n(), s("div", he, [
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
a("div", ge, r(e._document.$t("document").capitalize()), 1),
|
|
354
|
+
a("div", fe, r(e._document.$t(`series.${t.docType}`).capitalize()), 1)
|
|
355
355
|
])) : l("", !0),
|
|
356
356
|
c.docWidth >= 576 ? (n(), s(V, { key: 2 }, [
|
|
357
357
|
t.estimatedTime ? (n(), s("div", _e, [
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
a("div", ve, r(e.$t("estimatedTime")), 1),
|
|
359
|
+
a("div", be, r(e._document.$t("approx")) + " " + r(t.estimatedTime), 1)
|
|
360
360
|
])) : l("", !0)
|
|
361
361
|
], 64)) : l("", !0)
|
|
362
362
|
])
|
|
@@ -368,7 +368,7 @@ const Se = /* @__PURE__ */ b(te, [["render", ke], ["__scopeId", "data-v-8f85211e
|
|
|
368
368
|
components: {
|
|
369
369
|
SummaryTop: Se,
|
|
370
370
|
SummaryBottom: ee,
|
|
371
|
-
BlockMedia:
|
|
371
|
+
BlockMedia: B
|
|
372
372
|
},
|
|
373
373
|
emits: ["input"],
|
|
374
374
|
mixins: [
|
|
@@ -448,11 +448,11 @@ const Se = /* @__PURE__ */ b(te, [["render", ke], ["__scopeId", "data-v-8f85211e
|
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
450
|
}, Te = { class: "doc-jumbotron-wrapper" };
|
|
451
|
-
function xe(e, o, t, c, d,
|
|
451
|
+
function xe(e, o, t, c, d, i) {
|
|
452
452
|
var k, S;
|
|
453
453
|
const m = h("BlockMedia"), g = h("SummaryTop"), p = h("SummaryBottom");
|
|
454
454
|
return n(), s("div", null, [
|
|
455
|
-
|
|
455
|
+
a("div", Te, [
|
|
456
456
|
x(m, {
|
|
457
457
|
media: {
|
|
458
458
|
...e.media,
|
|
@@ -466,23 +466,23 @@ function xe(e, o, t, c, d, a) {
|
|
|
466
466
|
"onUpdate:showLogo": o[0] || (o[0] = (y) => e.showLogo = y),
|
|
467
467
|
logotype: e.logotype,
|
|
468
468
|
"onUpdate:logotype": o[1] || (o[1] = (y) => e.logotype = y),
|
|
469
|
-
"doc-name":
|
|
470
|
-
"onUpdate:docName": o[2] || (o[2] = (y) =>
|
|
469
|
+
"doc-name": i.internalName,
|
|
470
|
+
"onUpdate:docName": o[2] || (o[2] = (y) => i.internalName = y),
|
|
471
471
|
_document: t._document,
|
|
472
|
-
"company-logotype":
|
|
473
|
-
"sender-name":
|
|
472
|
+
"company-logotype": i.company.logotype,
|
|
473
|
+
"sender-name": i.company.name,
|
|
474
474
|
"doc-type": t._document.docNumber.series,
|
|
475
475
|
"doc-number": t._document.docNumber.value,
|
|
476
|
-
"sent-at":
|
|
476
|
+
"sent-at": i.sendAtShowDate,
|
|
477
477
|
"expires-at": t._document.expiresAt,
|
|
478
|
-
"estimated-time":
|
|
478
|
+
"estimated-time": i.estimatedTimeString,
|
|
479
479
|
"has-hover": t.hasHover
|
|
480
480
|
}, null, 8, ["show-logo", "logotype", "doc-name", "_document", "company-logotype", "sender-name", "doc-type", "doc-number", "sent-at", "expires-at", "estimated-time", "has-hover"])
|
|
481
481
|
]),
|
|
482
|
-
|
|
482
|
+
i.summaryBottom.show ? (n(), _(p, L({ key: 0 }, i.summaryBottom, { _document: t._document }), null, 16, ["_document"])) : l("", !0)
|
|
483
483
|
]);
|
|
484
484
|
}
|
|
485
|
-
const
|
|
485
|
+
const De = /* @__PURE__ */ b(we, [["render", xe], ["__scopeId", "data-v-3628151e"]]);
|
|
486
486
|
export {
|
|
487
|
-
|
|
487
|
+
De as default
|
|
488
488
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as u,
|
|
1
|
+
import { m as u, a8 as h, a9 as f, aa as d, ab as p, _ as m, K as y } from "./main-Dr3neB7n.js";
|
|
2
2
|
const g = {
|
|
3
3
|
name: "SearchApi",
|
|
4
4
|
props: {
|
|
@@ -124,13 +124,13 @@ const g = {
|
|
|
124
124
|
}, 500)
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
|
-
function
|
|
127
|
+
function A(t, a, r, e, s, l) {
|
|
128
128
|
return y(t.$slots, "default", {
|
|
129
129
|
fetch: ({ q: i, cb: n, start: c = null, end: o = null }) => (s.isLoading = !0, l.triggerSearch({ q: i, cb: n, start: c, end: o })),
|
|
130
130
|
isLoading: s.isLoading
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
-
const $ = /* @__PURE__ */ m(g, [["render",
|
|
133
|
+
const $ = /* @__PURE__ */ m(g, [["render", A]]);
|
|
134
134
|
export {
|
|
135
135
|
$ as S
|
|
136
136
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as Rt } from "./mapFormMixin-
|
|
2
|
-
import { I as Vr, a as Nr, _ as Lr } from "./index-
|
|
3
|
-
import {
|
|
4
|
-
import { C as Ba, a as Fa, b as bo } from "./CDropdownItem-
|
|
5
|
-
import { E as wo } from "./ErrorCallout-
|
|
6
|
-
import { C as $o, a as Do } from "./ClientModal-
|
|
7
|
-
import { u as Ia } from "./index-
|
|
1
|
+
import { m as Rt } from "./mapFormMixin-Bkpm1wEf.js";
|
|
2
|
+
import { I as Vr, a as Nr, _ as Lr } from "./index-Db7Oe7W3.js";
|
|
3
|
+
import { cc as Ur, cd as Wr, ce as Yr, cf as Hr, cg as jr, ch as zr, ci as Se, cj as $a, ck as Jr, cl as qr, cm as Mt, cn as vt, co as Je, cp as ln, i as A, R as F, bg as Da, U as Z, cq as Ca, cr as xa, cs as We, j as f, r as _a, h as P, o as h, c as D, w, K as O, bq as j, br as z, H as U, v as C, t as Tt, V as Kr, L as q, d as M, af as Vt, ah as ka, $ as Ae, ct as Gr, ay as _t, bi as Qr, f as I, s as _, J as Nn, ad as re, cu as me, b as S, l as bn, Z as Zr, x as Xr, Q as Ne, F as W, bD as eo, by as Sa, cv as to, cw as Aa, aM as no, cx as ao, cy as Ma, W as ro, cz as oo, cA as lo, cB as io, aD as so, bh as uo, n as Fe, k as fe, e as R, cC as Ln, aj as co, m as wn, y as fo, _ as Le, O as ze, P as Oa, a1 as mo, A as Ot, cD as po, a7 as ho, aw as yo, cE as Ea, cb as vo, ac as Pa, aJ as go } from "./main-Dr3neB7n.js";
|
|
4
|
+
import { C as Ba, a as Fa, b as bo } from "./CDropdownItem-CjTBhP8h.js";
|
|
5
|
+
import { E as wo } from "./ErrorCallout-BVWDsp2J.js";
|
|
6
|
+
import { C as $o, a as Do } from "./ClientModal-B5J8NblQ.js";
|
|
7
|
+
import { u as Ia } from "./index-tXDuIxx9.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import Co from "./AddClientCallout-
|
|
9
|
+
import Co from "./AddClientCallout-BfBl04bU.js";
|
|
10
10
|
function qe(e, t) {
|
|
11
11
|
return e - t * Math.floor(e / t);
|
|
12
12
|
}
|
|
@@ -6136,7 +6136,7 @@ const hd = /* @__PURE__ */ Le(id, [["render", pd]]), yd = {
|
|
|
6136
6136
|
function $d(e, t, n, a, r, o) {
|
|
6137
6137
|
const l = R("DocumentSendReminderItem"), i = R("CButton");
|
|
6138
6138
|
return h(), S("div", vd, [
|
|
6139
|
-
_("div", gd, C(e.$t("_common:
|
|
6139
|
+
_("div", gd, C(e.$t("_common:reminder_other").capitalize()), 1),
|
|
6140
6140
|
_("div", bd, C(e.$t("description")), 1),
|
|
6141
6141
|
(h(), S(W, null, fe([
|
|
6142
6142
|
{ type: "notViewed", fallbackKey: "viewed" },
|
|
@@ -6574,7 +6574,7 @@ function Jd(e, t, n, a, r, o) {
|
|
|
6574
6574
|
tabindex: "0",
|
|
6575
6575
|
onClick: t[7] || (t[7] = (...k) => o.openReminders && o.openReminders(...k))
|
|
6576
6576
|
}, [
|
|
6577
|
-
_("div", Wd, C(e.$t("_common:
|
|
6577
|
+
_("div", Wd, C(e.$t("_common:reminder_other").capitalize()), 1),
|
|
6578
6578
|
_("div", null, C(o.noOfReminders ? `${o.noOfReminders} ${e.$i18n.lang === "sv" ? e.$t("_common:unitType.unit") : ""}` : e.$t("_common:disabled").capitalize()), 1),
|
|
6579
6579
|
o.noOfReminders ? (h(), D(u, {
|
|
6580
6580
|
key: 0,
|
|
@@ -6683,7 +6683,7 @@ function Jd(e, t, n, a, r, o) {
|
|
|
6683
6683
|
_: 3
|
|
6684
6684
|
});
|
|
6685
6685
|
}
|
|
6686
|
-
const rc = /* @__PURE__ */ Le(Cd, [["render", Jd], ["__scopeId", "data-v-
|
|
6686
|
+
const rc = /* @__PURE__ */ Le(Cd, [["render", Jd], ["__scopeId", "data-v-42e0e4f6"]]);
|
|
6687
6687
|
export {
|
|
6688
6688
|
rc as S
|
|
6689
6689
|
};
|