@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,11 +1,11 @@
|
|
|
1
|
-
import { _, o as c,
|
|
1
|
+
import { _, d, o as c, j as s, f as h, T as H, w as f, e as k, W as ce, al as ue, b as v, t as l, q as g, dc as ee, af as L, dd as ve, de as be, df as Ce, dg as ke, dh as Pe, cY as W, aD as J, di as _e, i as T, s as A, m as N, a as B, aa as we, g as S, dj as Se, y as E, a4 as de, x as Z, u as D, F as $, n as V, v as Q, c as w, ai as $e, aq as Te, dk as xe, dl as Ie, dm as Ee, V as Me, ao as z, dn as U, dp as te, dq as ne, a6 as G, aB as Le, k as X, $ as Ve, dr as He, cT as Be, a7 as Fe, ak as Ue } from "./main-BkjAGG46.js";
|
|
2
2
|
import { a as P } from "./anime.es-4wvNItHq.js";
|
|
3
|
-
import { _ as De } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { C as Re } from "./CSelect-
|
|
5
|
-
import { b as Ae } from "./CDropdownItem-
|
|
3
|
+
import { _ as De } from "./CFormField.vue_vue_type_script_setup_true_lang-HLxgkrxm.js";
|
|
4
|
+
import { C as Re } from "./CSelect-D4A_clvT.js";
|
|
5
|
+
import { b as Ae } from "./CDropdownItem-B9dja0RC.js";
|
|
6
6
|
import { r as q } from "./regions-BdZt9Srn.js";
|
|
7
|
-
import { u as Oe } from "./index-
|
|
8
|
-
import {
|
|
7
|
+
import { u as Oe } from "./index-DsvlNA3Q.js";
|
|
8
|
+
import { s as ze, a as qe, n as je, c as Ze, r as Ne, e as Ye } from "./index-DPlBYqKB.js";
|
|
9
9
|
import { a as We } from "./dom-DOcGU3-g.js";
|
|
10
10
|
const Qe = {
|
|
11
11
|
props: {
|
|
@@ -190,7 +190,7 @@ const me = /* @__PURE__ */ _(Xe, [["render", rt]]), it = (e) => J.te(`errors:${e
|
|
|
190
190
|
CONFIRM_PAYMENT: se,
|
|
191
191
|
SUBMIT_FORM_PAYMENT: j,
|
|
192
192
|
SUBMIT_FORM_PRODUCTS: dt
|
|
193
|
-
} =
|
|
193
|
+
} = Pe, oe = {
|
|
194
194
|
// The term "plan" refers to a _price_ connected to a _product_ with metadata.accountType
|
|
195
195
|
plan: { accountType: "pro", interval: "month", quantity: 1 },
|
|
196
196
|
customer: { name: "", email: "", region: null },
|
|
@@ -407,7 +407,7 @@ const me = /* @__PURE__ */ _(Xe, [["render", rt]]), it = (e) => J.te(`errors:${e
|
|
|
407
407
|
try {
|
|
408
408
|
if (t.isPosting || !a) return !1;
|
|
409
409
|
e("setPosting", !0);
|
|
410
|
-
const { data: i } = await
|
|
410
|
+
const { data: i } = await _e(a);
|
|
411
411
|
return n(ie, {
|
|
412
412
|
promotionDetails: i,
|
|
413
413
|
code: a
|
|
@@ -591,7 +591,7 @@ const me = /* @__PURE__ */ _(Xe, [["render", rt]]), it = (e) => J.te(`errors:${e
|
|
|
591
591
|
e.form = t;
|
|
592
592
|
},
|
|
593
593
|
setFormValue: (e, { key: t, value: n }) => {
|
|
594
|
-
const { root: a, prop: i } =
|
|
594
|
+
const { root: a, prop: i } = ve(e, `form.${t}`);
|
|
595
595
|
a[i] = n;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
@@ -751,9 +751,9 @@ const ht = /* @__PURE__ */ _(mt, [["render", pt], ["__scopeId", "data-v-f0e925fe
|
|
|
751
751
|
}, gt = (e) => {
|
|
752
752
|
if (document.getElementById("stripe-js")) return e();
|
|
753
753
|
const t = "js.stripe.com/v3/", n = document.createElement("script"), a = document.getElementsByTagName("script")[0];
|
|
754
|
-
return n.src = `https://${t}`, n.id = "stripe-js", n.addEventListener("load", (i) => e(null, i), !1), a.parentNode.insertBefore(n, a), !0;
|
|
754
|
+
return n.src = `https://${t}`, n.id = "stripe-js", e && n.addEventListener("load", (i) => e(null, i), !1), a.parentNode.insertBefore(n, a), !0;
|
|
755
755
|
}, yt = (e) => gt(() => {
|
|
756
|
-
window.$stripe = Stripe(
|
|
756
|
+
window.$stripe = Stripe(T.stripe.publishableKey, {
|
|
757
757
|
locale: J.lang || "en"
|
|
758
758
|
}), typeof e == "function" && e();
|
|
759
759
|
}), he = {
|
|
@@ -1102,17 +1102,17 @@ const ht = /* @__PURE__ */ _(mt, [["render", pt], ["__scopeId", "data-v-f0e925fe
|
|
|
1102
1102
|
return {
|
|
1103
1103
|
formCustomer: {
|
|
1104
1104
|
email: {
|
|
1105
|
-
email:
|
|
1105
|
+
email: Ye
|
|
1106
1106
|
}
|
|
1107
1107
|
},
|
|
1108
1108
|
quantity: {
|
|
1109
|
-
required:
|
|
1110
|
-
minValue:
|
|
1111
|
-
numeric:
|
|
1109
|
+
required: Ne,
|
|
1110
|
+
minValue: Ze(1),
|
|
1111
|
+
numeric: je
|
|
1112
1112
|
},
|
|
1113
1113
|
consent: {
|
|
1114
|
-
required:
|
|
1115
|
-
sameAs:
|
|
1114
|
+
required: qe(this.collectConsent),
|
|
1115
|
+
sameAs: ze(this.collectConsent)
|
|
1116
1116
|
}
|
|
1117
1117
|
};
|
|
1118
1118
|
},
|
|
@@ -1176,13 +1176,13 @@ const ht = /* @__PURE__ */ _(mt, [["render", pt], ["__scopeId", "data-v-f0e925fe
|
|
|
1176
1176
|
if (!t) return [];
|
|
1177
1177
|
const { quotas: n, autoAddMeteredTypes: a } = t.metadata, i = n[this.companyAccount.accountConfigurationKeyName] || {};
|
|
1178
1178
|
return Object.keys(i).forEach((o) => {
|
|
1179
|
-
o === "bankId" && E[
|
|
1179
|
+
o === "bankId" && E[T.brand].defaultRegion === "US" || (e[o] = {
|
|
1180
1180
|
type: o,
|
|
1181
1181
|
count: i[o] || 0,
|
|
1182
1182
|
cost: null
|
|
1183
1183
|
});
|
|
1184
1184
|
}), a.forEach((o) => {
|
|
1185
|
-
if (o === "bankId" && E[
|
|
1185
|
+
if (o === "bankId" && E[T.brand].defaultRegion === "US")
|
|
1186
1186
|
return;
|
|
1187
1187
|
const m = this.getMeteredProduct(o);
|
|
1188
1188
|
if (!m) return;
|
|
@@ -1262,7 +1262,7 @@ const ht = /* @__PURE__ */ _(mt, [["render", pt], ["__scopeId", "data-v-f0e925fe
|
|
|
1262
1262
|
}, bt = { class: "root font-inter anime-payment-modal" }, Ct = {
|
|
1263
1263
|
class: "flex w-full",
|
|
1264
1264
|
style: { overflow: "hidden" }
|
|
1265
|
-
}, kt = { class: "anim-block p-aside" }, Pt = { style: { "font-size": "11px", position: "absolute", right: "calc(0.5 * var(--rem))", top: "calc(1.5 * var(--rem))", display: "flex", "line-height": "1.2" } }, _t = { style: { "text-align": "right", "padding-right": "0.5em" } }, wt = ["textContent"], St = ["textContent"], $t = ["src", "alt"],
|
|
1265
|
+
}, kt = { class: "anim-block p-aside" }, Pt = { style: { "font-size": "11px", position: "absolute", right: "calc(0.5 * var(--rem))", top: "calc(1.5 * var(--rem))", display: "flex", "line-height": "1.2" } }, _t = { style: { "text-align": "right", "padding-right": "0.5em" } }, wt = ["textContent"], St = ["textContent"], $t = ["src", "alt"], Tt = { style: { "font-weight": "600", "font-size": "21px" } }, xt = { class: "py-4 text-[15px]" }, It = { class: "flex w-full justify-between" }, Et = { class: "font-medium" }, Mt = { class: "text-right" }, Lt = { class: "text-[17px] font-semibold leading-none" }, Vt = { class: "text-[13px] opacity-70" }, Ht = { class: "font-medium opacity-70" }, Bt = { class: "text-right opacity-70" }, Ft = {
|
|
1266
1266
|
key: 0,
|
|
1267
1267
|
class: "flex w-full justify-between",
|
|
1268
1268
|
style: { "padding-bottom": "4px" }
|
|
@@ -1327,10 +1327,10 @@ const ht = /* @__PURE__ */ _(mt, [["render", pt], ["__scopeId", "data-v-f0e925fe
|
|
|
1327
1327
|
id: "card-element",
|
|
1328
1328
|
class: "bg-gray-100",
|
|
1329
1329
|
style: { width: "400px", padding: "1em 1em", "border-radius": "0.5em", "min-height": "54px" }
|
|
1330
|
-
}, Pn = ["textContent"], _n = { class: "p-block" }, wn = { class: "p-block" }, Sn = ["value"], $n = { class: "p-block" },
|
|
1330
|
+
}, Pn = ["textContent"], _n = { class: "p-block" }, wn = { class: "p-block" }, Sn = ["value"], $n = { class: "p-block" }, Tn = {
|
|
1331
1331
|
key: 0,
|
|
1332
1332
|
class: "anim-block p-block"
|
|
1333
|
-
},
|
|
1333
|
+
}, xn = ["href"], In = ["href"], En = {
|
|
1334
1334
|
key: 1,
|
|
1335
1335
|
class: "c-flex-row c-align-middle"
|
|
1336
1336
|
}, Mn = ["textContent"], Ln = { class: "anim-block p-block" }, Vn = { style: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, Hn = ["textContent"], Bn = { class: "list-button" }, Fn = ["textContent"], Un = ["textContent"], Dn = { style: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, Rn = ["textContent"], An = ["textContent"], On = { style: { padding: "0 calc(1 * var(--rem))" } }, zn = ["textContent"], qn = ["textContent"], jn = ["textContent"];
|
|
@@ -1372,8 +1372,8 @@ function Zn(e, t, n, a, i, r) {
|
|
|
1372
1372
|
style: { "box-shadow": "0 4px 6px rgba(240, 147, 234, 0.34)", "border-radius": "50%", "margin-bottom": "calc(1 * var(--rem))" }
|
|
1373
1373
|
}, null, 8, $t)
|
|
1374
1374
|
]),
|
|
1375
|
-
s("div",
|
|
1376
|
-
s("div",
|
|
1375
|
+
s("div", Tt, l(e.$t("cardTitle", { plan: n.uiPlan.name })), 1),
|
|
1376
|
+
s("div", xt, [
|
|
1377
1377
|
(c(!0), d($, null, V(e.formPrices.intervals, (p, I) => (c(), d("div", {
|
|
1378
1378
|
key: `interval-${I}`,
|
|
1379
1379
|
class: "mb-4 border-b border-gray-200 pb-2"
|
|
@@ -1722,7 +1722,7 @@ function Zn(e, t, n, a, i, r) {
|
|
|
1722
1722
|
])
|
|
1723
1723
|
], 64))
|
|
1724
1724
|
]),
|
|
1725
|
-
n.collectConsent ? (c(), d("div",
|
|
1725
|
+
n.collectConsent ? (c(), d("div", Tn, [
|
|
1726
1726
|
h(M, {
|
|
1727
1727
|
modelValue: i.consent,
|
|
1728
1728
|
"onUpdate:modelValue": t[17] || (t[17] = (p) => i.consent = p),
|
|
@@ -1742,7 +1742,7 @@ function Zn(e, t, n, a, i, r) {
|
|
|
1742
1742
|
rel: "noopener",
|
|
1743
1743
|
class: "underline",
|
|
1744
1744
|
tabindex: "-1"
|
|
1745
|
-
}, l(e.$t("_common:terms.termsAndConditions")), 9,
|
|
1745
|
+
}, l(e.$t("_common:terms.termsAndConditions")), 9, xn),
|
|
1746
1746
|
g(" " + l(e.$t("_common:and")) + " ", 1),
|
|
1747
1747
|
s("a", {
|
|
1748
1748
|
href: e.$t("_common:brand.privacyPolicy.url"),
|
|
@@ -2171,7 +2171,7 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2171
2171
|
`
|
|
2172
2172
|
},
|
|
2173
2173
|
widget: {
|
|
2174
|
-
text: `Service provided by ${E[
|
|
2174
|
+
text: `Service provided by ${E[T.brand].name}. <a href="${E[T.brand].termsOfService.url}" target="_blank" class="font-semibold underline">Terms</a> for ${E[T.brand].name}.`
|
|
2175
2175
|
}
|
|
2176
2176
|
},
|
|
2177
2177
|
features: {
|
|
@@ -2205,7 +2205,7 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2205
2205
|
"Custom email address",
|
|
2206
2206
|
"Version control",
|
|
2207
2207
|
...U.checkFeature("bankId") ? ["BankID"] : [],
|
|
2208
|
-
`Hide ${E[
|
|
2208
|
+
`Hide ${E[T.brand].name}-logo`,
|
|
2209
2209
|
"CRM integrations"
|
|
2210
2210
|
]
|
|
2211
2211
|
},
|
|
@@ -2235,7 +2235,7 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2235
2235
|
`
|
|
2236
2236
|
},
|
|
2237
2237
|
widget: {
|
|
2238
|
-
text: `Tjänsten tillhandahålls via ${E[
|
|
2238
|
+
text: `Tjänsten tillhandahålls via ${E[T.brand].name}. <a href="${E[T.brand].termsOfService.url}" target="_blank" class="font-semibold underline">Villkor</a> för ${E[T.brand].name}.`
|
|
2239
2239
|
}
|
|
2240
2240
|
},
|
|
2241
2241
|
features: {
|
|
@@ -2269,7 +2269,7 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2269
2269
|
"Egen e-postdomän",
|
|
2270
2270
|
"Versionshantering",
|
|
2271
2271
|
...U.checkFeature("bankId") ? ["BankID"] : [],
|
|
2272
|
-
`Göm ${E[
|
|
2272
|
+
`Göm ${E[T.brand].name}-logo`,
|
|
2273
2273
|
"CRM-Integrationer"
|
|
2274
2274
|
]
|
|
2275
2275
|
},
|
|
@@ -2307,7 +2307,7 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2307
2307
|
};
|
|
2308
2308
|
},
|
|
2309
2309
|
computed: {
|
|
2310
|
-
...
|
|
2310
|
+
...Te({
|
|
2311
2311
|
forceShowBase: (e) => e.route.query.base,
|
|
2312
2312
|
routeDeal: (e) => e.route.query.deal
|
|
2313
2313
|
}),
|
|
@@ -2393,14 +2393,14 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2393
2393
|
return this.accountConfigName === "offerta";
|
|
2394
2394
|
},
|
|
2395
2395
|
disableQuantity() {
|
|
2396
|
-
return this.isOfferta &&
|
|
2396
|
+
return this.isOfferta && Me.value === "widget";
|
|
2397
2397
|
}
|
|
2398
2398
|
},
|
|
2399
2399
|
beforeCreate() {
|
|
2400
2400
|
this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", pe);
|
|
2401
2401
|
},
|
|
2402
2402
|
async created() {
|
|
2403
|
-
this.isOfferta &&
|
|
2403
|
+
this.isOfferta && Ee(gr), this.resetStripeForm(), await this.loadPrices(), await this.suggestQuantity(), await this.handlePossibleDeal(), this.isEdit = !!this.subscriptions.length;
|
|
2404
2404
|
},
|
|
2405
2405
|
methods: {
|
|
2406
2406
|
...N({
|
|
@@ -2416,7 +2416,7 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2416
2416
|
this.quantity = this.suggestedQuantity;
|
|
2417
2417
|
return;
|
|
2418
2418
|
}
|
|
2419
|
-
const { data: e } = await
|
|
2419
|
+
const { data: e } = await Ie();
|
|
2420
2420
|
this.quantity = e;
|
|
2421
2421
|
},
|
|
2422
2422
|
onReset() {
|
|
@@ -2453,7 +2453,7 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2453
2453
|
setFromDealToken(e) {
|
|
2454
2454
|
if (e)
|
|
2455
2455
|
try {
|
|
2456
|
-
const t =
|
|
2456
|
+
const t = xe(e);
|
|
2457
2457
|
if (t.accountType && (this.plan = t.accountType), t.accountTypeInterval && (this.interval = t.accountTypeInterval), t.accountQuantity && (this.quantity = t.accountQuantity), t.dealSource && (this.dealSource = t.dealSource), t.items) {
|
|
2458
2458
|
const n = [];
|
|
2459
2459
|
Object.keys(t.items).forEach((a) => {
|
|
@@ -2569,7 +2569,7 @@ function $r(e, t, n, a, i, r) {
|
|
|
2569
2569
|
])
|
|
2570
2570
|
]);
|
|
2571
2571
|
}
|
|
2572
|
-
const fe = /* @__PURE__ */ _(yr, [["render", $r]]),
|
|
2572
|
+
const fe = /* @__PURE__ */ _(yr, [["render", $r]]), Tr = {
|
|
2573
2573
|
name: "IsPremium",
|
|
2574
2574
|
computed: {
|
|
2575
2575
|
...B({
|
|
@@ -2641,7 +2641,7 @@ const fe = /* @__PURE__ */ _(yr, [["render", $r]]), xr = {
|
|
|
2641
2641
|
}
|
|
2642
2642
|
}
|
|
2643
2643
|
};
|
|
2644
|
-
function
|
|
2644
|
+
function xr(e, t, n, a, i, r) {
|
|
2645
2645
|
return H(e.$slots, "default", {
|
|
2646
2646
|
isPremium: r.isPremium,
|
|
2647
2647
|
isPremiumLike: r.isPremiumLike,
|
|
@@ -2662,7 +2662,7 @@ function Tr(e, t, n, a, i, r) {
|
|
|
2662
2662
|
canUseSms: r.canUseSms
|
|
2663
2663
|
});
|
|
2664
2664
|
}
|
|
2665
|
-
const ge = /* @__PURE__ */ _(
|
|
2665
|
+
const ge = /* @__PURE__ */ _(Tr, [["render", xr]]), Ir = {
|
|
2666
2666
|
i18nOptions: {
|
|
2667
2667
|
namespaces: "components",
|
|
2668
2668
|
messages: {
|
|
@@ -2801,7 +2801,7 @@ function Or(e, t, n, a, i, r) {
|
|
|
2801
2801
|
])
|
|
2802
2802
|
]);
|
|
2803
2803
|
}
|
|
2804
|
-
const
|
|
2804
|
+
const x = /* @__PURE__ */ _(Ir, [["render", Or], ["__scopeId", "data-v-dd63f0f1"]]), zr = {
|
|
2805
2805
|
i18nOptions: {
|
|
2806
2806
|
namespaces: "PremiumRestrictedBankIdAndSms",
|
|
2807
2807
|
messages: {
|
|
@@ -2819,7 +2819,7 @@ const T = /* @__PURE__ */ _(Ir, [["render", Or], ["__scopeId", "data-v-dd63f0f1"
|
|
|
2819
2819
|
},
|
|
2820
2820
|
name: "PremiumRestrictedBankIdAndSms",
|
|
2821
2821
|
components: {
|
|
2822
|
-
PremiumRestrictedBase:
|
|
2822
|
+
PremiumRestrictedBase: x
|
|
2823
2823
|
},
|
|
2824
2824
|
props: {
|
|
2825
2825
|
onUpgrade: {
|
|
@@ -2869,7 +2869,7 @@ const jr = /* @__PURE__ */ _(zr, [["render", qr]]), Zr = {
|
|
|
2869
2869
|
},
|
|
2870
2870
|
name: "PremiumRestrictedCreators",
|
|
2871
2871
|
components: {
|
|
2872
|
-
PremiumRestrictedBase:
|
|
2872
|
+
PremiumRestrictedBase: x
|
|
2873
2873
|
},
|
|
2874
2874
|
props: {
|
|
2875
2875
|
onUpgrade: {
|
|
@@ -2910,7 +2910,7 @@ const Yr = /* @__PURE__ */ _(Zr, [["render", Nr]]), Wr = {
|
|
|
2910
2910
|
},
|
|
2911
2911
|
name: "PremiumRestrictedDocumentBlocks",
|
|
2912
2912
|
components: {
|
|
2913
|
-
PremiumRestrictedBase:
|
|
2913
|
+
PremiumRestrictedBase: x
|
|
2914
2914
|
},
|
|
2915
2915
|
props: {
|
|
2916
2916
|
onUpgrade: {
|
|
@@ -2957,7 +2957,7 @@ const Gr = /* @__PURE__ */ _(Wr, [["render", Qr]]), Kr = {
|
|
|
2957
2957
|
},
|
|
2958
2958
|
name: "PremiumRestrictedDocuments",
|
|
2959
2959
|
components: {
|
|
2960
|
-
PremiumRestrictedBase:
|
|
2960
|
+
PremiumRestrictedBase: x
|
|
2961
2961
|
},
|
|
2962
2962
|
emits: ["close"],
|
|
2963
2963
|
props: {
|
|
@@ -2983,7 +2983,7 @@ const Gr = /* @__PURE__ */ _(Wr, [["render", Qr]]), Kr = {
|
|
|
2983
2983
|
},
|
|
2984
2984
|
created() {
|
|
2985
2985
|
try {
|
|
2986
|
-
|
|
2986
|
+
Ve("/documentLimitReached", {});
|
|
2987
2987
|
} catch (e) {
|
|
2988
2988
|
X(e, { showMessage: !1 });
|
|
2989
2989
|
}
|
|
@@ -3019,7 +3019,7 @@ const Gr = /* @__PURE__ */ _(Wr, [["render", Qr]]), Kr = {
|
|
|
3019
3019
|
await ne.post({ code: "freeUserDocs" }), G.setItem(
|
|
3020
3020
|
"voucher-freeUserDocs-company-id",
|
|
3021
3021
|
this.account.CompanyId
|
|
3022
|
-
), await this.loadCurrentCompany(),
|
|
3022
|
+
), await this.loadCurrentCompany(), Le(
|
|
3023
3023
|
"success",
|
|
3024
3024
|
this.$t("voucherSuccessMessage", { count: this.voucherDocCount })
|
|
3025
3025
|
), this.onUpgrade && typeof this.onUpgrade == "function" && this.onUpgrade(), this.$emit("close");
|
|
@@ -3097,7 +3097,7 @@ const ri = /* @__PURE__ */ _(Kr, [["render", ni]]), ii = {
|
|
|
3097
3097
|
},
|
|
3098
3098
|
name: "PremiumRestrictedLicenses",
|
|
3099
3099
|
components: {
|
|
3100
|
-
PremiumRestrictedBase:
|
|
3100
|
+
PremiumRestrictedBase: x
|
|
3101
3101
|
},
|
|
3102
3102
|
emits: ["close"],
|
|
3103
3103
|
props: {
|
|
@@ -3218,7 +3218,7 @@ const mi = /* @__PURE__ */ _(ii, [["render", di]]), pi = {
|
|
|
3218
3218
|
},
|
|
3219
3219
|
name: "PremiumRestrictedPersonalMessage",
|
|
3220
3220
|
components: {
|
|
3221
|
-
PremiumRestrictedBase:
|
|
3221
|
+
PremiumRestrictedBase: x
|
|
3222
3222
|
},
|
|
3223
3223
|
props: {
|
|
3224
3224
|
onUpgrade: {
|
|
@@ -3253,7 +3253,7 @@ const fi = /* @__PURE__ */ _(pi, [["render", hi]]), gi = {
|
|
|
3253
3253
|
},
|
|
3254
3254
|
name: "PremiumRestrictedSaveDocTemplate",
|
|
3255
3255
|
components: {
|
|
3256
|
-
PremiumRestrictedBase:
|
|
3256
|
+
PremiumRestrictedBase: x
|
|
3257
3257
|
},
|
|
3258
3258
|
props: {
|
|
3259
3259
|
onUpgrade: {
|
|
@@ -3294,7 +3294,7 @@ const vi = /* @__PURE__ */ _(gi, [["render", yi]]), bi = {
|
|
|
3294
3294
|
},
|
|
3295
3295
|
name: "PremiumRestrictedStats",
|
|
3296
3296
|
components: {
|
|
3297
|
-
PremiumRestrictedBase:
|
|
3297
|
+
PremiumRestrictedBase: x
|
|
3298
3298
|
},
|
|
3299
3299
|
props: {
|
|
3300
3300
|
onUpgrade: {
|
|
@@ -3333,7 +3333,7 @@ const ki = /* @__PURE__ */ _(bi, [["render", Ci]]), Pi = {
|
|
|
3333
3333
|
},
|
|
3334
3334
|
name: "PremiumRestrictedTemplates",
|
|
3335
3335
|
components: {
|
|
3336
|
-
PremiumRestrictedBase:
|
|
3336
|
+
PremiumRestrictedBase: x
|
|
3337
3337
|
},
|
|
3338
3338
|
props: {
|
|
3339
3339
|
onUpgrade: {
|
|
@@ -3368,7 +3368,7 @@ const wi = /* @__PURE__ */ _(Pi, [["render", _i]]), Si = {
|
|
|
3368
3368
|
},
|
|
3369
3369
|
name: "PremiumRestrictedUseDocTemplates",
|
|
3370
3370
|
components: {
|
|
3371
|
-
PremiumRestrictedBase:
|
|
3371
|
+
PremiumRestrictedBase: x
|
|
3372
3372
|
},
|
|
3373
3373
|
props: {
|
|
3374
3374
|
onUpgrade: {
|
|
@@ -3391,7 +3391,7 @@ function $i(e, t, n, a, i, r) {
|
|
|
3391
3391
|
_: 1
|
|
3392
3392
|
}, 8, ["title", "sub-title", "on-upgrade"]);
|
|
3393
3393
|
}
|
|
3394
|
-
const
|
|
3394
|
+
const Ti = /* @__PURE__ */ _(Si, [["render", $i]]), xi = {
|
|
3395
3395
|
i18nOptions: {
|
|
3396
3396
|
namespaces: "winProfile",
|
|
3397
3397
|
keyPrefix: "account.subscription.winProfile",
|
|
@@ -3410,7 +3410,7 @@ const xi = /* @__PURE__ */ _(Si, [["render", $i]]), Ti = {
|
|
|
3410
3410
|
},
|
|
3411
3411
|
name: "PremiumRestrictedWinProfile",
|
|
3412
3412
|
components: {
|
|
3413
|
-
PremiumRestrictedBase:
|
|
3413
|
+
PremiumRestrictedBase: x
|
|
3414
3414
|
},
|
|
3415
3415
|
props: {
|
|
3416
3416
|
onUpgrade: {
|
|
@@ -3427,7 +3427,7 @@ function Ii(e, t, n, a, i, r) {
|
|
|
3427
3427
|
"on-upgrade": n.onUpgrade
|
|
3428
3428
|
}, null, 8, ["title", "sub-title", "on-upgrade"]);
|
|
3429
3429
|
}
|
|
3430
|
-
const Ei = /* @__PURE__ */ _(
|
|
3430
|
+
const Ei = /* @__PURE__ */ _(xi, [["render", Ii]]), K = {
|
|
3431
3431
|
winProfile: Ei,
|
|
3432
3432
|
templates: wi,
|
|
3433
3433
|
documents: ri,
|
|
@@ -3437,7 +3437,7 @@ const Ei = /* @__PURE__ */ _(Ti, [["render", Ii]]), K = {
|
|
|
3437
3437
|
stats: ki,
|
|
3438
3438
|
documentBlocks: Gr,
|
|
3439
3439
|
bankIdAndSms: jr,
|
|
3440
|
-
useDocTemplate:
|
|
3440
|
+
useDocTemplate: Ti,
|
|
3441
3441
|
saveDocTemplate: vi
|
|
3442
3442
|
}, Mi = {
|
|
3443
3443
|
name: "IsPremiumPreStep",
|
|
@@ -3507,9 +3507,9 @@ const Vi = /* @__PURE__ */ _(Mi, [["render", Li]]), Hi = Fe({
|
|
|
3507
3507
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3508
3508
|
export {
|
|
3509
3509
|
Je as C,
|
|
3510
|
-
|
|
3510
|
+
ge as I,
|
|
3511
3511
|
Hi as _,
|
|
3512
|
-
|
|
3512
|
+
Vi as a,
|
|
3513
3513
|
ji as i,
|
|
3514
3514
|
pe as s
|
|
3515
3515
|
};
|