@cling-se/widget 0.9.30 → 0.9.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddClientCallout-e63b3bc8.js → AddClientCallout-24d768b3.js} +5 -5
- package/dist/{AnswerModal-0fc36a99.js → AnswerModal-dfc7f833.js} +3 -3
- package/dist/{AttachmentItem-7fcfe642.js → AttachmentItem-488b86dd.js} +3 -3
- package/dist/{BaseDatePicker-3618f643.js → BaseDatePicker-e6ccad3a.js} +2 -2
- package/dist/{BaseInput-1e53b776.js → BaseInput-6e56b8d1.js} +1 -1
- package/dist/{BaseUpload-2eea6112.js → BaseUpload-71f1b275.js} +2 -2
- package/dist/{BlockMedia-4f30336b.js → BlockMedia-c79a4337.js} +1 -1
- package/dist/{CCallout-3ea46d33.js → CCallout-e3750faa.js} +2 -2
- package/dist/{CDropdownItem-301e3273.js → CDropdownItem-88323f71.js} +1 -1
- package/dist/{CField-25e8b388.js → CField-f9bba928.js} +1 -1
- package/dist/{CPhoneFormat-0eb4f8c1.js → CPhoneFormat-cde6dc0e.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-8b316fae.js → CSlider.vue_vue_type_style_index_0_lang-7a85b50d.js} +1 -1
- package/dist/{ClientAutocomplete-35cada3c.js → ClientAutocomplete-d2795bd2.js} +2 -2
- package/dist/{ClientModal-c11543c6.js → ClientModal-d0ea3ce2.js} +5 -5
- package/dist/{ColorPicker-5ca79d5e.js → ColorPicker-5d5a1857.js} +1 -1
- package/dist/{CompanyModal-648fce86.js → CompanyModal-6c34c20c.js} +3 -3
- package/dist/{ContentWrapper-70c4494a.js → ContentWrapper-2aed29d3.js} +13 -13
- package/dist/{CoverBlockSettings-cfdb6528.js → CoverBlockSettings-dcc286e4.js} +7 -7
- package/dist/{DocAnswer-b03f11d8.js → DocAnswer-2369f748.js} +4 -4
- package/dist/{DocDetails-ffbd78f5.js → DocDetails-c4a9f60a.js} +4 -4
- package/dist/{DocForm-0216b4bf.js → DocForm-e363f56b.js} +29 -29
- package/dist/{DocFormSend-8d6e051b.js → DocFormSend-ebae7df3.js} +19 -18
- package/dist/{DocLinks-8520a61d.js → DocLinks-0a40f844.js} +2 -2
- package/dist/{DocModalBase-a61f7c10.js → DocModalBase-19651230.js} +1 -1
- package/dist/{DocPrint-3e8970bc.js → DocPrint-3a163086.js} +1 -1
- package/dist/{DocReceipt-5da67daf.js → DocReceipt-68653527.js} +1 -1
- package/dist/{DocSendReminder-b2e096d4.js → DocSendReminder-86f5237b.js} +1 -1
- package/dist/{DocTextEditor-1c8197e2.js → DocTextEditor-81792d61.js} +8 -8
- package/dist/{DocTimeline-1804ebb6.js → DocTimeline-6e34b841.js} +1 -1
- package/dist/{DocumentClient-a0592efe.js → DocumentClient-12d31ace.js} +7 -7
- package/dist/{DocumentLayout-dd904f22.js → DocumentLayout-b17e31c9.js} +4 -4
- package/dist/{DocumentLogotype-59b1549a.js → DocumentLogotype-4cc9a9ef.js} +3 -3
- package/dist/{DocumentVoided-f6b8e4ff.js → DocumentVoided-406c0ad1.js} +1 -1
- package/dist/{EmbedInput-c1393639.js → EmbedInput-a0c0c0c4.js} +2 -2
- package/dist/{EmbedSettings-f7451a3d.js → EmbedSettings-615e0b87.js} +3 -3
- package/dist/{ErrorCallout-2973d65d.js → ErrorCallout-706a3f77.js} +1 -1
- package/dist/{FilePreviewModal-e8e3d042.js → FilePreviewModal-ecab34c8.js} +5 -5
- package/dist/{Flag-c17cf658.js → Flag-9f5eb788.js} +1 -1
- package/dist/{HeaderSettings-eb0a98b4.js → HeaderSettings-73c0961b.js} +15 -15
- package/dist/{ImageSelectModal-cab96401.js → ImageSelectModal-93764b6f.js} +8 -8
- package/dist/{ImageUploadWrapper-38e2afa8.js → ImageUploadWrapper-fe99eb8b.js} +2 -2
- package/dist/{Index-714600fc.js → Index-08b136bb.js} +4 -4
- package/dist/{Index-fcef00d7.js → Index-295a1424.js} +2 -2
- package/dist/{Index-07da4308.js → Index-3052ab4d.js} +1 -1
- package/dist/{Index-d2afa240.js → Index-3a123b4e.js} +3 -3
- package/dist/{Index-da40e434.js → Index-448c8cfc.js} +10 -10
- package/dist/{Index-bf74adf8.js → Index-44e89aa9.js} +8 -8
- package/dist/{Index-d7bf1266.js → Index-50c7ee58.js} +13 -13
- package/dist/{Index-1d85df60.js → Index-539987a6.js} +7 -7
- package/dist/{Index-0e100224.js → Index-66295846.js} +6 -6
- package/dist/{Index-a2dba1ec.js → Index-672923c9.js} +4 -4
- package/dist/{Index-6bb8e424.js → Index-6c74f06d.js} +6 -6
- package/dist/{Index-30c1d44e.js → Index-7d7f7e31.js} +4 -4
- package/dist/{Index-4e60e980.js → Index-825f3a1f.js} +14 -14
- package/dist/{Index-921eb9ba.js → Index-88a20cfb.js} +2 -2
- package/dist/{Index-e1f464ef.js → Index-8c09fd91.js} +1 -1
- package/dist/{Index-0bfac160.js → Index-96277fb2.js} +6 -6
- package/dist/{Index-a280b4b2.js → Index-96d8aa1c.js} +4 -4
- package/dist/{Index-e0c5772a.js → Index-a029c07f.js} +4 -4
- package/dist/{Index-9c28cb53.js → Index-a2cf77ea.js} +2 -2
- package/dist/{Index-28ec6148.js → Index-acda7892.js} +2 -2
- package/dist/{Index-a3b1e7de.js → Index-aff3d93a.js} +5 -5
- package/dist/{Index-f4b486da.js → Index-b1df203d.js} +5 -5
- package/dist/{Index-d364dae0.js → Index-bf0de2df.js} +14 -14
- package/dist/{Index-ce33b807.js → Index-c181220a.js} +6 -6
- package/dist/{Index-c9b85813.js → Index-c5c60100.js} +2 -2
- package/dist/{Index-d256a1d6.js → Index-ca6bf576.js} +9 -9
- package/dist/{Index-46e59685.js → Index-cc9aec2b.js} +2 -2
- package/dist/{Index-d01e898b.js → Index-d077ee95.js} +7 -7
- package/dist/{Index-bc62c1f2.js → Index-d42a13b8.js} +9 -9
- package/dist/{Index-8cc33cc7.js → Index-da669865.js} +2 -2
- package/dist/{Index-0f08ced2.js → Index-e1897561.js} +4 -4
- package/dist/{Index-d9abc609.js → Index-efc1cdd2.js} +4 -4
- package/dist/{Index-19f50205.js → Index-fda4f71a.js} +4 -4
- package/dist/{Index-5c3cb151.js → Index-fe25c28e.js} +2 -2
- package/dist/{InputToggleRow-e28f45a0.js → InputToggleRow-9bf217c1.js} +1 -1
- package/dist/{IsPremiumPreStep-e1d54d22.js → IsPremiumPreStep-4d92f1ad.js} +68 -66
- package/dist/{ManualPopover-64b4c430.js → ManualPopover-ae1487dd.js} +1 -1
- package/dist/{MediaWrapper-240bb3b2.js → MediaWrapper-2f250f98.js} +3 -3
- package/dist/{NotBindingText-2148a45c.js → NotBindingText-9137c52d.js} +2 -2
- package/dist/{PackageGroup-92ec85c9.js → PackageGroup-333b552e.js} +14 -14
- package/dist/{PdfTerms-cf3e0ff3.js → PdfTerms-1e7aaca6.js} +5 -5
- package/dist/{PdfViewer-f2af7ba4.js → PdfViewer-ff32350f.js} +2 -2
- package/dist/{PlainHtml-98d14d49.js → PlainHtml-c68e93f5.js} +1 -1
- package/dist/{PriceHeader-2f97908c.js → PriceHeader-a2fac138.js} +13 -13
- package/dist/{SearchApi-3f0ee279.js → SearchApi-006cecf3.js} +2 -2
- package/dist/{Setup-6ca34742.js → Setup-2ead963e.js} +1 -1
- package/dist/{TermsSettings-244144ce.js → TermsSettings-d9a9fa85.js} +7 -7
- package/dist/{ThemeColorRow-8297bac6.js → ThemeColorRow-7b4f4b4a.js} +3 -3
- package/dist/{ToggleBinding-801b881c.js → ToggleBinding-28de38c5.js} +3 -3
- package/dist/{UploadModal-143d3385.js → UploadModal-c94c1bf9.js} +3 -3
- package/dist/{VideoPlayerInput-7cbe00d0.js → VideoPlayerInput-6ca13120.js} +3 -3
- package/dist/{VideoPlayerSettings-055bfb63.js → VideoPlayerSettings-694de911.js} +4 -4
- package/dist/{VideoSelectModal-82769419.js → VideoSelectModal-43179837.js} +8 -8
- package/dist/{answerDocumentMixin-0eb824aa.js → answerDocumentMixin-258ef50d.js} +3 -3
- package/dist/{debounce-35659385.js → debounce-6e758807.js} +1 -1
- package/dist/{focusDrawerMixin-57a74f04.js → focusDrawerMixin-c7716b11.js} +1 -1
- package/dist/{formComponentsInstall-53f4342a.js → formComponentsInstall-d835efd9.js} +12 -12
- package/dist/{formDrawerState-c089ffac.js → formDrawerState-66d10543.js} +1 -1
- package/dist/{formValidationMixin-08f0a439.js → formValidationMixin-c174cfae.js} +1 -1
- package/dist/{index-497ae925.js → index-34dbf888.js} +3 -3
- package/dist/{index-736d30ee.js → index-8ffa8672.js} +5 -5
- package/dist/{index-317dfeee.js → index-91f074e6.js} +9 -9
- package/dist/{index-17a2bb54.js → index-a6f6eb93.js} +1 -1
- package/dist/{index-e88b85e7.js → index-bae2f40c.js} +1 -1
- package/dist/{index-a37004d7.js → index-cb1bc377.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +80 -80
- package/dist/{main-40ffafe1.js → main-4b1b8c72.js} +15 -41
- package/dist/{mapFormMixin-5472d70c.js → mapFormMixin-448a5950.js} +1 -1
- package/dist/{publicSenderState-7ee4c697.js → publicSenderState-62b7a4e1.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{throttle-4a418273.js → throttle-635ffdd0.js} +2 -2
- package/dist/{tinycolor-2370293d.js → tinycolor-e4cbccbe.js} +1 -1
- package/dist/{tippy.esm-f79d2d2e.js → tippy.esm-c08ce12b.js} +5 -5
- package/dist/{utils-c72c79a9.js → utils-c123fce7.js} +1 -1
- package/dist/{vuedraggable.umd-8bca15d0.js → vuedraggable.umd-258fba93.js} +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as m, q as p } from "./main-
|
|
2
|
-
import { m as c } from "./mapFormMixin-
|
|
3
|
-
import l from "./FilePreviewModal-
|
|
4
|
-
import "./PdfViewer-
|
|
1
|
+
import { n as m, q as p } from "./main-4b1b8c72.js";
|
|
2
|
+
import { m as c } from "./mapFormMixin-448a5950.js";
|
|
3
|
+
import l from "./FilePreviewModal-ecab34c8.js";
|
|
4
|
+
import "./PdfViewer-ff32350f.js";
|
|
5
5
|
import "./dom-962579a6.js";
|
|
6
|
-
import "./DocumentLayout-
|
|
7
|
-
import "./debounce-
|
|
8
|
-
import "./CDropdownItem-
|
|
6
|
+
import "./DocumentLayout-b17e31c9.js";
|
|
7
|
+
import "./debounce-6e758807.js";
|
|
8
|
+
import "./CDropdownItem-88323f71.js";
|
|
9
9
|
const d = {
|
|
10
10
|
name: "FilePreviewWrapper",
|
|
11
11
|
components: {
|
|
@@ -74,8 +74,8 @@ const w = h.exports, v = {
|
|
|
74
74
|
name: "AttachmentList",
|
|
75
75
|
components: {
|
|
76
76
|
FilePreviewWrapper: w,
|
|
77
|
-
BaseUpload: () => import("./BaseUpload-
|
|
78
|
-
AttachmentItem: () => import("./AttachmentItem-
|
|
77
|
+
BaseUpload: () => import("./BaseUpload-71f1b275.js"),
|
|
78
|
+
AttachmentItem: () => import("./AttachmentItem-488b86dd.js")
|
|
79
79
|
},
|
|
80
80
|
mixins: [c(["attachments"])],
|
|
81
81
|
data() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { n as l, P as s } from "./main-
|
|
1
|
+
import { m as o } from "./mapFormMixin-448a5950.js";
|
|
2
|
+
import { n as l, P as s } from "./main-4b1b8c72.js";
|
|
3
3
|
import { v as a } from "./index-805c56e4.js";
|
|
4
4
|
const c = (e, t) => e ? s(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, u = {
|
|
5
5
|
name: "ExtraWorkTimeImpactTextEdit",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as s } from "./mapFormMixin-
|
|
2
|
-
import { n as o } from "./main-
|
|
1
|
+
import { m as s } from "./mapFormMixin-448a5950.js";
|
|
2
|
+
import { n as o } from "./main-4b1b8c72.js";
|
|
3
3
|
const u = {
|
|
4
4
|
name: "PackageGroupBlock",
|
|
5
5
|
components: {
|
|
6
|
-
PackageGroupRead: () => import("./PackageGroup-
|
|
7
|
-
PackageGroupEdit: () => import("./Index-
|
|
6
|
+
PackageGroupRead: () => import("./PackageGroup-333b552e.js"),
|
|
7
|
+
PackageGroupEdit: () => import("./Index-825f3a1f.js")
|
|
8
8
|
},
|
|
9
9
|
mixins: [s(["type", "packages"])],
|
|
10
10
|
data() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as e } from "./mapFormMixin-
|
|
2
|
-
import { n as r } from "./main-
|
|
1
|
+
import { m as e } from "./mapFormMixin-448a5950.js";
|
|
2
|
+
import { n as r } from "./main-4b1b8c72.js";
|
|
3
3
|
const a = {
|
|
4
4
|
name: "EstimatedWorkStartAndEndAtText",
|
|
5
5
|
components: {
|
|
6
|
-
Read: () => import("./Index-
|
|
7
|
-
Edit: () => import("./Index-
|
|
6
|
+
Read: () => import("./Index-88a20cfb.js"),
|
|
7
|
+
Edit: () => import("./Index-aff3d93a.js")
|
|
8
8
|
},
|
|
9
9
|
mixins: [e(["startAt", "endAt"])]
|
|
10
10
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { I as i } from "./InputToggleRow-
|
|
3
|
-
import { B as a } from "./BaseInput-
|
|
4
|
-
import { n as l } from "./main-
|
|
1
|
+
import { m as o } from "./mapFormMixin-448a5950.js";
|
|
2
|
+
import { I as i } from "./InputToggleRow-9bf217c1.js";
|
|
3
|
+
import { B as a } from "./BaseInput-6e56b8d1.js";
|
|
4
|
+
import { n as l } from "./main-4b1b8c72.js";
|
|
5
5
|
const m = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "estimatedTimeToCompleteText",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as v, a as
|
|
1
|
+
import { aE as F, b as C, aF as M, aG as Z, aH as K, aI as Y, aJ as W, V as B, aK as X, a9 as L, aL as Q, n as d, v as P, c as h, F as J, X as y, aM as ee, g as m, aN as _, o as k, aO as te, aP as ne, aQ as ae, aR as H, p as re, h as D, I as E, aS as U, L as ie, aT as se, au as oe } from "./main-4b1b8c72.js";
|
|
2
|
+
import { m as v, a as $, b as le } from "./vuex.esm-4a0fff7c.js";
|
|
3
3
|
import { a as u } from "./anime.es-e284c852.js";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-bae2f40c.js";
|
|
5
5
|
import { g as ce } from "./dom-962579a6.js";
|
|
6
6
|
import { v as b } from "./index-805c56e4.js";
|
|
7
7
|
const x = {
|
|
@@ -1250,27 +1250,18 @@ const x = {
|
|
|
1250
1250
|
callingCode: "+263",
|
|
1251
1251
|
currency: "USD"
|
|
1252
1252
|
}
|
|
1253
|
-
}, ue = (n) => {
|
|
1254
|
-
if (document.getElementById("stripe-js"))
|
|
1255
|
-
return n();
|
|
1256
|
-
const e = "js.stripe.com/v3/", t = document.createElement("script"), a = document.getElementsByTagName("script")[0];
|
|
1257
|
-
return t.src = `https://${e}`, t.id = "stripe-js", n && t.addEventListener("load", (r) => n(null, r), !1), a.parentNode.insertBefore(t, a), !0;
|
|
1258
|
-
}, de = () => ue(() => {
|
|
1259
|
-
window.$stripe = Stripe(h.stripe.publishableKey, { locale: L.lang || "en" });
|
|
1260
|
-
});
|
|
1261
|
-
de();
|
|
1262
|
-
const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
|
|
1253
|
+
}, ue = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), de = "stripe", {
|
|
1263
1254
|
LOAD_PRICES: A,
|
|
1264
|
-
RESET_STRIPE_FORM:
|
|
1265
|
-
SET_STRIPE_FORM_VALUE:
|
|
1255
|
+
RESET_STRIPE_FORM: me,
|
|
1256
|
+
SET_STRIPE_FORM_VALUE: pe,
|
|
1266
1257
|
SET_FORM_PROMOTION: V,
|
|
1267
|
-
SUBMIT_PROMOTION_CODE:
|
|
1258
|
+
SUBMIT_PROMOTION_CODE: ge,
|
|
1268
1259
|
SUBMIT_PAYMENT_METHOD: O,
|
|
1269
|
-
SUBMIT_FORM_PLAN:
|
|
1270
|
-
REMOVE_SUBSCRIPTION_ITEM:
|
|
1260
|
+
SUBMIT_FORM_PLAN: he,
|
|
1261
|
+
REMOVE_SUBSCRIPTION_ITEM: fe,
|
|
1271
1262
|
CONFIRM_PAYMENT: N,
|
|
1272
1263
|
SUBMIT_FORM_PAYMENT: w,
|
|
1273
|
-
SUBMIT_FORM_PRODUCTS:
|
|
1264
|
+
SUBMIT_FORM_PRODUCTS: ye
|
|
1274
1265
|
} = Q, z = {
|
|
1275
1266
|
// The term "plan" refers to a _price_ connected to a _product_ with metadata.accountType
|
|
1276
1267
|
plan: { accountType: "pro", interval: "month", quantity: 1 },
|
|
@@ -1457,17 +1448,17 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
|
|
|
1457
1448
|
n("setPrices", { data: e }), n("setActivePriceMap");
|
|
1458
1449
|
} catch (e) {
|
|
1459
1450
|
this.handleError(e, {
|
|
1460
|
-
action: `${
|
|
1451
|
+
action: `${de}/${A}`,
|
|
1461
1452
|
actionPayload: null
|
|
1462
1453
|
});
|
|
1463
1454
|
} finally {
|
|
1464
1455
|
n("setFetching", !1);
|
|
1465
1456
|
}
|
|
1466
1457
|
},
|
|
1467
|
-
async [
|
|
1458
|
+
async [me]({ commit: n }) {
|
|
1468
1459
|
n("setForm", F(z));
|
|
1469
1460
|
},
|
|
1470
|
-
async [
|
|
1461
|
+
async [pe]({ commit: n }, { key: e, value: t }) {
|
|
1471
1462
|
n("setFormValue", { key: e, value: t });
|
|
1472
1463
|
},
|
|
1473
1464
|
[V]({ commit: n, getters: e }, { promotionDetails: t, code: a = null } = {}) {
|
|
@@ -1476,7 +1467,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
|
|
|
1476
1467
|
const { appliesToStripeProductIds: r } = t, { stripeProductId: i } = e.formPlan || {};
|
|
1477
1468
|
return Array.isArray(r) && !r.includes(i) ? !1 : (n("setFormValue", { key: "promotion", value: { ...t, code: a } }), !0);
|
|
1478
1469
|
},
|
|
1479
|
-
async [
|
|
1470
|
+
async [ge]({ commit: n, getters: e, dispatch: t }, a) {
|
|
1480
1471
|
try {
|
|
1481
1472
|
if (e.isPosting || !a)
|
|
1482
1473
|
return !1;
|
|
@@ -1525,17 +1516,17 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
|
|
|
1525
1516
|
r && (g = await t(O, { cardElement: r }));
|
|
1526
1517
|
const S = { ...l, items: s };
|
|
1527
1518
|
g && (S.paymentMethod = g), o && o.code && (S.promotionCode = o.code), p && (S.dealSource = p);
|
|
1528
|
-
const { data: j = {} } = await M.product(S, { removeUnusedItems: i }), { clientSecrets:
|
|
1529
|
-
return
|
|
1519
|
+
const { data: j = {} } = await M.product(S, { removeUnusedItems: i }), { clientSecrets: T } = j, R = g && g.id ? g.id : c && c.paymentMethodId;
|
|
1520
|
+
return T && T.length && R ? await t(N, { clientSecrets: T, paymentMethodId: R }) : !0;
|
|
1530
1521
|
} catch (s) {
|
|
1531
1522
|
this.handleError(s);
|
|
1532
|
-
const l = (s.errorCode ?
|
|
1523
|
+
const l = (s.errorCode ? ue(s.errorCode) : "") || s.message;
|
|
1533
1524
|
return n("setFormValue", { key: "error", value: l || "Submit Form Payment Error" }), !1;
|
|
1534
1525
|
} finally {
|
|
1535
1526
|
n("setPosting", !1);
|
|
1536
1527
|
}
|
|
1537
1528
|
},
|
|
1538
|
-
async [
|
|
1529
|
+
async [he]({ commit: n, dispatch: e, getters: t }, { cardElement: a } = {}) {
|
|
1539
1530
|
try {
|
|
1540
1531
|
const { formPlan: r, formProducts: i, products: s, subscriptionItems: l } = t;
|
|
1541
1532
|
if (!r)
|
|
@@ -1550,7 +1541,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
|
|
|
1550
1541
|
return this.handleError(r), n("setFormValue", { key: "error", value: r.message || "Submit Plan Error" }), !1;
|
|
1551
1542
|
}
|
|
1552
1543
|
},
|
|
1553
|
-
async [
|
|
1544
|
+
async [ye]({ commit: n, dispatch: e, getters: t }, { cardElement: a, removeUnusedItems: r = !0 } = {}) {
|
|
1554
1545
|
try {
|
|
1555
1546
|
const { formProducts: i } = t, s = [...i];
|
|
1556
1547
|
return s.length ? await e(w, { form: { items: s }, stripe: { cardElement: a }, removeUnusedItems: r }) : !1;
|
|
@@ -1593,7 +1584,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
|
|
|
1593
1584
|
* @param {String} obj.stripePriceStripeId priceId to remove
|
|
1594
1585
|
* @returns {Promise<Boolean>} Resolves with true if successful, otherwise false
|
|
1595
1586
|
*/
|
|
1596
|
-
async [
|
|
1587
|
+
async [fe]({ commit: n, dispatch: e, getters: t }, { stripePriceStripeId: a }) {
|
|
1597
1588
|
try {
|
|
1598
1589
|
if (!a)
|
|
1599
1590
|
throw new Error("Missing parameter stripePriceStripeId");
|
|
@@ -1639,7 +1630,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
|
|
|
1639
1630
|
}
|
|
1640
1631
|
}
|
|
1641
1632
|
};
|
|
1642
|
-
const
|
|
1633
|
+
const Ce = {
|
|
1643
1634
|
props: {
|
|
1644
1635
|
colors: {
|
|
1645
1636
|
type: Array,
|
|
@@ -1747,24 +1738,24 @@ const _e = {
|
|
|
1747
1738
|
}
|
|
1748
1739
|
}
|
|
1749
1740
|
};
|
|
1750
|
-
var
|
|
1741
|
+
var ve = function() {
|
|
1751
1742
|
var e = this;
|
|
1752
1743
|
return e._self._c, e._m(0);
|
|
1753
|
-
},
|
|
1744
|
+
}, _e = [function() {
|
|
1754
1745
|
var n = this, e = n._self._c;
|
|
1755
1746
|
return e("div", [e("canvas", { attrs: { id: "fireworks" } })]);
|
|
1756
|
-
}],
|
|
1747
|
+
}], be = /* @__PURE__ */ d(
|
|
1748
|
+
Ce,
|
|
1749
|
+
ve,
|
|
1757
1750
|
_e,
|
|
1758
|
-
be,
|
|
1759
|
-
Pe,
|
|
1760
1751
|
!1,
|
|
1761
1752
|
null,
|
|
1762
1753
|
"ebe417f7",
|
|
1763
1754
|
null,
|
|
1764
1755
|
null
|
|
1765
1756
|
);
|
|
1766
|
-
const
|
|
1767
|
-
const
|
|
1757
|
+
const Pe = be.exports;
|
|
1758
|
+
const Se = {
|
|
1768
1759
|
name: "PremiumStripeSelect",
|
|
1769
1760
|
i18nOptions: {
|
|
1770
1761
|
namespaces: "premiumStripeSelect",
|
|
@@ -1843,7 +1834,7 @@ const xe = {
|
|
|
1843
1834
|
}
|
|
1844
1835
|
}
|
|
1845
1836
|
};
|
|
1846
|
-
var
|
|
1837
|
+
var ke = function() {
|
|
1847
1838
|
var e = this, t = e._self._c;
|
|
1848
1839
|
return t("div", { staticClass: "flex flex-col items-center w-full animating", staticStyle: { "padding-top": "30px" } }, [t("div", { staticClass: "flex flex-col items-center w-full text-center anim-block", staticStyle: { "margin-bottom": "50px" } }, [t("div", { staticStyle: { "font-size": "22px", "font-weight": "600", "margin-bottom": "20px", "max-width": "20ch" }, domProps: { innerHTML: e._s(e.$t("title", { brand: e.$t("_common:brand.name") })) } }), t("div", { staticStyle: { position: "relative" } }, [t("div", { staticClass: "tgl-btn-group" }, e._l(["month", "year"], function(a) {
|
|
1849
1840
|
return t("div", { key: a, staticClass: "tgl-btn", class: {
|
|
@@ -1862,18 +1853,18 @@ var we = function() {
|
|
|
1862
1853
|
}), 0), t("CButton", { staticClass: "anim-block sticky-btn", attrs: { disabled: e.currentAccountType === e.plan && e.currentInterval === e.interval || e.plan === "free", type: "secondary", "icon-right": "arrow-right" }, on: { click: function(a) {
|
|
1863
1854
|
return e.$emit("next");
|
|
1864
1855
|
} } }, [e._v(e._s(e.$t("continueButton")))])], 1);
|
|
1865
|
-
},
|
|
1856
|
+
}, xe = [], we = /* @__PURE__ */ d(
|
|
1857
|
+
Se,
|
|
1858
|
+
ke,
|
|
1866
1859
|
xe,
|
|
1867
|
-
we,
|
|
1868
|
-
Te,
|
|
1869
1860
|
!1,
|
|
1870
1861
|
null,
|
|
1871
1862
|
"8640a593",
|
|
1872
1863
|
null,
|
|
1873
1864
|
null
|
|
1874
1865
|
);
|
|
1875
|
-
const
|
|
1876
|
-
const
|
|
1866
|
+
const $e = we.exports;
|
|
1867
|
+
const Te = {
|
|
1877
1868
|
props: {
|
|
1878
1869
|
defaultOpen: {
|
|
1879
1870
|
type: Boolean,
|
|
@@ -1936,22 +1927,22 @@ const Ee = {
|
|
|
1936
1927
|
}
|
|
1937
1928
|
}
|
|
1938
1929
|
};
|
|
1939
|
-
var
|
|
1930
|
+
var Me = function() {
|
|
1940
1931
|
var e = this, t = e._self._c;
|
|
1941
1932
|
return t("div", [t("div", { on: { click: function(a) {
|
|
1942
1933
|
e.expanded = !e.expanded;
|
|
1943
1934
|
} } }, [e._t("trigger", null, { expanded: e.expanded })], 2), t("transition", { on: { enter: e.onEnter, "after-enter": e.onAfterEnter, "before-leave": e.onBeforeLeave, leave: e.onLeave } }, [e.expanded ? t("div", { ref: "wrapper", staticClass: "c-accordion", style: e.wrapperStyle }, [t("div", { ref: "inner", staticClass: "c-accordion__inner" }, [e._t("default")], 2)]) : e._e()])], 1);
|
|
1944
|
-
},
|
|
1935
|
+
}, Ee = [], Ie = /* @__PURE__ */ d(
|
|
1936
|
+
Te,
|
|
1937
|
+
Me,
|
|
1945
1938
|
Ee,
|
|
1946
|
-
Ie,
|
|
1947
|
-
Le,
|
|
1948
1939
|
!1,
|
|
1949
1940
|
null,
|
|
1950
1941
|
null,
|
|
1951
1942
|
null,
|
|
1952
1943
|
null
|
|
1953
1944
|
);
|
|
1954
|
-
const
|
|
1945
|
+
const Le = Ie.exports, De = {
|
|
1955
1946
|
amex: {
|
|
1956
1947
|
name: "American Express",
|
|
1957
1948
|
logo: '<g><rect width="48" height="32" rx="4" fill="white"/><g><path d="M8.88 17.9V26.06H17.14L18 24.84L18.84 26.06H23.89V24.22H24.45C24.9584 24.2244 25.4643 24.1502 25.95 24V26.06H29.38V24.6L30.54 26.06H46.16C46.802 26.0712 47.4338 25.8977 47.98 25.56V29C47.5224 30.7722 45.9203 32.0078 44.09 32H4C1.79086 32 0 30.2091 0 28V15.4H2.28L2.75 14.18H3.87L4.33 15.4H22.67V13.94L23.83 15.4H28.64V14.66C29.3453 15.1621 30.1945 15.4217 31.06 15.4H33.93L34.39 14.18H35.51L36 15.4H40.9V13.82L41.9 15.4H45.28V7.24H41.69V8.9L40.62 7.24H37.48V9.34L36.48 7.24H31.14C30.2366 7.21382 29.3524 7.50384 28.64 8.06V7.24H11L10.4 9L9.8 7.2H5.8V9.3L4.86 7.2H1.6L0 11V4C0 1.79086 1.79086 1.31011e-07 4 1.31011e-07H44.09C45.9278 -0.0169872 47.5406 1.2205 48 3V17.9H18.86L18 19.1L17.16 17.9H8.88Z" fill="#296DB6"/><path fill-rule="evenodd" clip-rule="evenodd" d="M21.32 19.2H24.43V19.16C24.9479 19.1165 25.4595 19.2976 25.8345 19.6574C26.2096 20.0171 26.4119 20.5208 26.39 21.04C26.4028 21.5655 26.1927 22.0718 25.8116 22.4338C25.4306 22.7958 24.9141 22.9797 24.39 22.94H22.69V24.8H21.32V19.2ZM14.71 20.36V19.16H10.18V24.8H14.71V23.6H11.54V22.6H14.65V21.38H11.54V20.38L14.71 20.36ZM18.8 22L21.06 19.2H19.4L18 20.94L16.61 19.16H14.91L17.2 22L15 24.8H16.64L18 23L19.36 24.82H21.08L18.8 22ZM24.31 21.78H22.69V20.36H24.31C24.6911 20.36 25 20.6689 25 21.05C25 21.4311 24.6911 21.74 24.31 21.74V21.78ZM32.17 20.79C32.286 21.7731 31.5831 22.664 30.6 22.78L32.49 24.8H30.78L29.1 22.8H28.48V24.8H27.12V19.22H30.18C31.1631 19.104 32.054 19.8069 32.17 20.79ZM30.06 21.66H28.48V20.36H30.06C30.2378 20.3369 30.4169 20.3918 30.5511 20.5107C30.6853 20.6296 30.7615 20.8007 30.76 20.98C30.7649 21.1604 30.6898 21.3337 30.5547 21.4533C30.4196 21.573 30.2385 21.6267 30.06 21.6V21.66ZM37.36 19.22V20.42L34.19 20.38V21.38H37.28V22.6H34.19V23.6H37.36V24.8H32.81V19.22H37.36ZM41.13 21.42H39.82C39.6175 21.4607 39.4105 21.3753 39.2956 21.2036C39.1808 21.032 39.1808 20.808 39.2956 20.6364C39.4105 20.4647 39.6175 20.3793 39.82 20.42H42.25L42.79 19.22H39.86C39.3615 19.1622 38.8623 19.3225 38.4906 19.6597C38.1189 19.9969 37.9109 20.4782 37.92 20.98C37.8896 21.4469 38.0691 21.903 38.4094 22.2241C38.7498 22.5451 39.2157 22.6976 39.68 22.64H41C41.2025 22.5993 41.4095 22.6847 41.5244 22.8564C41.6392 23.028 41.6392 23.252 41.5244 23.4236C41.4095 23.5953 41.2025 23.6807 41 23.64H38.08V24.84H41C41.5039 24.8812 42.0011 24.7024 42.3634 24.3497C42.7257 23.997 42.9177 23.5049 42.89 23C42.9153 22.5378 42.7326 22.0885 42.392 21.775C42.0514 21.4615 41.5885 21.3166 41.13 21.38V21.42ZM47.46 20.42H45.03L45 20.38C44.7975 20.3393 44.5905 20.4247 44.4756 20.5964C44.3608 20.768 44.3608 20.992 44.4756 21.1636C44.5905 21.3353 44.7975 21.4207 45 21.38H46.36C47.0518 21.3089 47.7118 21.6871 48 22.32V23.66C47.7246 24.4224 46.9666 24.9003 46.16 24.82H43.29V23.62H46.18C46.3825 23.6607 46.5895 23.5753 46.7044 23.4036C46.8192 23.232 46.8192 23.008 46.7044 22.8364C46.5895 22.6647 46.3825 22.5793 46.18 22.62H44.89C44.4257 22.6776 43.9598 22.5251 43.6194 22.2041C43.2791 21.883 43.0996 21.4269 43.13 20.96C43.1209 20.4582 43.3289 19.9769 43.7006 19.6397C44.0723 19.3025 44.5715 19.1422 45.07 19.2H48L47.46 20.42Z" fill="#296DB6"/><path fill-rule="evenodd" clip-rule="evenodd" d="M25.45 10.28C25.4719 11.1815 24.8053 11.9521 23.91 12.06L25.79 14.14H24.09L22.41 12.14H21.79V14.14H20.4V8.5H23.45C23.9596 8.43317 24.473 8.59111 24.8569 8.93278C25.2408 9.27446 25.4573 9.76612 25.45 10.28ZM4.23 8.5H2.45L0 14.14H1.48L2 13H4.63L5.11 14.18H6.65L4.23 8.5ZM2.38 11.86L2.93 10.54L3.29 9.66L3.65 10.54L4.19 11.86H2.38ZM10.6 11.76L11.7 8.5H13.89V14.14H12.57V10.44V9.58L12.31 10.44L11 14.14H9.8L8.52 10.44L8.24 9.58V10.44V14.14H6.91V8.5H9.12L10.24 11.76L10.42 12.38L10.6 11.76ZM19.5 9.7V8.5H15V14.14H19.5V12.94H16.33V11.94H19.42V10.72H16.33V9.72L19.5 9.7ZM23.37 10.94H21.79V9.7H23.37C23.5471 9.68019 23.7243 9.73632 23.8577 9.85449C23.9912 9.97265 24.0683 10.1418 24.07 10.32C24.0749 10.5004 23.9998 10.6737 23.8647 10.7933C23.7296 10.913 23.5485 10.9667 23.37 10.94ZM26.11 14.14V8.5H27.48V14.14H26.11ZM31.11 9.72H32.58V8.5H31C30.2562 8.45299 29.5291 8.7337 29.0099 9.26831C28.4907 9.80292 28.2313 10.5379 28.3 11.28V11.36C28.2164 12.0915 28.4596 12.8226 28.9645 13.3583C29.4694 13.8941 30.1849 14.1801 30.92 14.14H31L31.55 12.94H31.1C30.685 12.9613 30.2819 12.7972 29.9999 12.492C29.7179 12.1868 29.586 11.772 29.64 11.36V11.28C29.5925 10.8712 29.7272 10.4621 30.0085 10.1616C30.2897 9.86113 30.6889 9.69961 31.1 9.72H31.11ZM34.09 8.5H35.89L38.3 14.18H36.76L36.28 13H33.61L33.13 14.14H31.67L34.09 8.5ZM34.05 11.86L34.57 10.54L34.93 9.66L35.27 10.54L35.81 11.86H34.05ZM42.61 11.5V8.5H44V14.14H42.35L40.26 10.96L39.9 10.34V11V14.18H38.56V8.54H40.23L42.23 11.54L42.61 12.18V11.5Z" fill="#296DB6"/></g></g>'
|
|
@@ -1991,7 +1982,16 @@ const Re = De.exports, Fe = {
|
|
|
1991
1982
|
logo: i
|
|
1992
1983
|
};
|
|
1993
1984
|
}
|
|
1994
|
-
},
|
|
1985
|
+
}, Re = (n) => {
|
|
1986
|
+
if (document.getElementById("stripe-js"))
|
|
1987
|
+
return n();
|
|
1988
|
+
const e = "js.stripe.com/v3/", t = document.createElement("script"), a = document.getElementsByTagName("script")[0];
|
|
1989
|
+
return t.src = `https://${e}`, t.id = "stripe-js", n && t.addEventListener("load", (r) => n(null, r), !1), a.parentNode.insertBefore(t, a), !0;
|
|
1990
|
+
}, Fe = (n) => Re(() => {
|
|
1991
|
+
window.$stripe = Stripe(h.stripe.publishableKey, {
|
|
1992
|
+
locale: L.lang || "en"
|
|
1993
|
+
}), typeof n == "function" && n();
|
|
1994
|
+
}), Be = {
|
|
1995
1995
|
data() {
|
|
1996
1996
|
return {
|
|
1997
1997
|
stripeCardElementId: null,
|
|
@@ -2009,8 +2009,10 @@ const Re = De.exports, Fe = {
|
|
|
2009
2009
|
};
|
|
2010
2010
|
},
|
|
2011
2011
|
created() {
|
|
2012
|
-
|
|
2013
|
-
this.
|
|
2012
|
+
Fe(() => {
|
|
2013
|
+
this.stripe = window.$stripe, this.$nextTick(() => {
|
|
2014
|
+
this.elements = this.stripe.elements(), this.stripeCardElementId && this.configureStripeCard(this.stripeCardElementId);
|
|
2015
|
+
});
|
|
2014
2016
|
});
|
|
2015
2017
|
},
|
|
2016
2018
|
destroyed() {
|
|
@@ -2284,7 +2286,7 @@ const He = {
|
|
|
2284
2286
|
},
|
|
2285
2287
|
name: "PremiumStripeForm",
|
|
2286
2288
|
components: {
|
|
2287
|
-
CAccordion:
|
|
2289
|
+
CAccordion: Le,
|
|
2288
2290
|
CCheckbox: J
|
|
2289
2291
|
},
|
|
2290
2292
|
mixins: [Be],
|
|
@@ -2313,7 +2315,7 @@ const He = {
|
|
|
2313
2315
|
data() {
|
|
2314
2316
|
return {
|
|
2315
2317
|
regions: x,
|
|
2316
|
-
cardBrands:
|
|
2318
|
+
cardBrands: De,
|
|
2317
2319
|
stripeCardElementId: "#card-element",
|
|
2318
2320
|
promoInputVisible: !1,
|
|
2319
2321
|
inputPromotionCode: "",
|
|
@@ -2461,7 +2463,7 @@ const He = {
|
|
|
2461
2463
|
this.companyRegion === "SE" && !this.formCustomer.region && this.$emit("input", { key: "customer.region", value: this.companyRegion }), this.routePromo && this.verifyPromotionCode(this.routePromo);
|
|
2462
2464
|
},
|
|
2463
2465
|
methods: {
|
|
2464
|
-
|
|
2466
|
+
...$({
|
|
2465
2467
|
usePromotionCode: m.SUBMIT_PROMOTION_CODE,
|
|
2466
2468
|
setPromotion: m.SET_FORM_PROMOTION,
|
|
2467
2469
|
submitPlan: m.SUBMIT_FORM_PLAN
|
|
@@ -2545,7 +2547,7 @@ var Ue = function() {
|
|
|
2545
2547
|
e.consent = a;
|
|
2546
2548
|
}, expression: "consent" } }, [t("div", { class: [
|
|
2547
2549
|
e.$v.consent.$invalid && e.$v.consent.$dirty ? "has-text-danger" : "has-text-grey-dark"
|
|
2548
|
-
] }, [e._v(" " + e._s(e.$t("consent.label", { brand: e.$t("_common:brand.name") })) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.termsOfService.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.termsAndConditions")) + " ")]), e._v(" " + e._s(e.$t("_common:and")) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.privacyPolicy.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.privacyPolicy")) + " ")])])])], 1) : e._e(), t("div", { staticClass: "anim-block p-block" }, [t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", wide: "", size: "medium", "icon-right": "arrow-right" }, on: { click: e.submit } }, [e._v(" " + e._s(e.$t("submitButton", { plan: e.uiPlan.name })) + " ")])], 1)])]), t("modal", { staticClass: "overflow-visible primary", attrs: { adaptive: !0, scrollable: !0, "max-width": 400, height: "auto", width: "90%", classes: "primary overflow-visible", name: "faq" } }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, [t("div", { staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "600", "margin-bottom": "0.5em", padding: "calc(1 * var(--rem))" }, domProps: { textContent: e._s(e.$t("faq.title")) } }), e._l(6, function(a) {
|
|
2550
|
+
] }, [e._v(" " + e._s(e.$t("consent.label", { brand: e.$t("_common:brand.name") })) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.termsOfService.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.termsAndConditions")) + " ")]), e._v(" " + e._s(e.$t("_common:and")) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.privacyPolicy.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.privacyPolicy")) + " ")])])])], 1) : e._e(), e.formError ? t("div", { staticClass: "c-flex-row c-align-middle" }, [t("BaseIcon", { attrs: { type: "warning", size: "14", stroke: "hsl(360, 100%, 60%)" } }), t("div", { staticStyle: { "margin-left": "0.5em" }, domProps: { textContent: e._s(e.formError) } })], 1) : e._e(), t("div", { staticClass: "anim-block p-block" }, [t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", wide: "", size: "medium", "icon-right": "arrow-right" }, on: { click: e.submit } }, [e._v(" " + e._s(e.$t("submitButton", { plan: e.uiPlan.name })) + " ")])], 1)])]), t("modal", { staticClass: "overflow-visible primary", attrs: { adaptive: !0, scrollable: !0, "max-width": 400, height: "auto", width: "90%", classes: "primary overflow-visible", name: "faq" } }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, [t("div", { staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "600", "margin-bottom": "0.5em", padding: "calc(1 * var(--rem))" }, domProps: { textContent: e._s(e.$t("faq.title")) } }), e._l(6, function(a) {
|
|
2549
2551
|
return t("CAccordion", { key: a, attrs: { "default-open": null }, scopedSlots: e._u([{ key: "trigger", fn: function({ expanded: r }) {
|
|
2550
2552
|
return t("div", { staticClass: "list-button" }, [t("span", { domProps: { textContent: e._s(
|
|
2551
2553
|
e.$t(`faq.items.${a - 1}.title`, {
|
|
@@ -2564,7 +2566,7 @@ var Ue = function() {
|
|
|
2564
2566
|
Ae,
|
|
2565
2567
|
!1,
|
|
2566
2568
|
null,
|
|
2567
|
-
"
|
|
2569
|
+
"cd48dce4",
|
|
2568
2570
|
null,
|
|
2569
2571
|
null
|
|
2570
2572
|
);
|
|
@@ -2747,8 +2749,8 @@ const Oe = Ve.exports, Ne = {
|
|
|
2747
2749
|
}
|
|
2748
2750
|
},
|
|
2749
2751
|
components: {
|
|
2750
|
-
Confetti:
|
|
2751
|
-
PremiumStripeSelect:
|
|
2752
|
+
Confetti: Pe,
|
|
2753
|
+
PremiumStripeSelect: $e,
|
|
2752
2754
|
PremiumStripeForm: Oe
|
|
2753
2755
|
},
|
|
2754
2756
|
props: {
|
|
@@ -2866,7 +2868,7 @@ const Oe = Ve.exports, Ne = {
|
|
|
2866
2868
|
this.isOfferta && te(Ne), this.resetStripeForm(), await this.loadPrices(), await this.suggestQuantity(), await this.handlePossibleDeal(), this.isEdit = !!this.subscriptions.length;
|
|
2867
2869
|
},
|
|
2868
2870
|
methods: {
|
|
2869
|
-
|
|
2871
|
+
...$({
|
|
2870
2872
|
loadPrices: m.LOAD_PRICES,
|
|
2871
2873
|
resetStripeForm: m.RESET_STRIPE_FORM,
|
|
2872
2874
|
setFormValue: m.SET_STRIPE_FORM_VALUE,
|
|
@@ -3380,7 +3382,7 @@ const yt = ft.exports, Ct = {
|
|
|
3380
3382
|
this.checkFreeDocVoucher();
|
|
3381
3383
|
},
|
|
3382
3384
|
methods: {
|
|
3383
|
-
|
|
3385
|
+
...$({
|
|
3384
3386
|
loadCurrentCompany: m.DO_LOAD_CURRENT_COMPANY
|
|
3385
3387
|
}),
|
|
3386
3388
|
async checkFreeDocVoucher() {
|
|
@@ -3471,8 +3473,8 @@ var kt = function() {
|
|
|
3471
3473
|
null,
|
|
3472
3474
|
null
|
|
3473
3475
|
);
|
|
3474
|
-
const
|
|
3475
|
-
const
|
|
3476
|
+
const $t = wt.exports;
|
|
3477
|
+
const Tt = {
|
|
3476
3478
|
i18nOptions: {
|
|
3477
3479
|
namespaces: "licenses",
|
|
3478
3480
|
messages: {
|
|
@@ -3521,7 +3523,7 @@ const $t = {
|
|
|
3521
3523
|
this.initLicense();
|
|
3522
3524
|
},
|
|
3523
3525
|
methods: {
|
|
3524
|
-
|
|
3526
|
+
...$({
|
|
3525
3527
|
loadCurrentCompany: m.DO_LOAD_CURRENT_COMPANY,
|
|
3526
3528
|
loadPrices: m.LOAD_PRICES,
|
|
3527
3529
|
resetStripeForm: m.RESET_STRIPE_FORM,
|
|
@@ -3568,7 +3570,7 @@ var Mt = function() {
|
|
|
3568
3570
|
var e = this, t = e._self._c;
|
|
3569
3571
|
return t("PremiumRestrictedBase", { attrs: { title: e.$t("title"), "sub-title": e.$t("subTitle"), "on-upgrade": e.onUpgrade, "action-function": e.doUpgrade } }, [t("template", { slot: "actionText" }, [e._v(" " + e._s(e.$t("actionText")) + " ")]), e.extraPrice && e.extraPrice.amount && e.extraPrice.currency && e.extraPrice.interval ? t("div", { staticClass: "flex justify-between w-full", staticStyle: { "background-color": "hsl(var(--gray-color-100) / 1)", padding: "0.5em 1em", "border-radius": "0.5em" }, attrs: { slot: "content" }, slot: "content" }, [t("div", { staticStyle: { "text-align": "left" } }, [t("div", { staticStyle: { "font-weight": "500" }, domProps: { textContent: e._s(e.$t("productTitle")) } }), t("div", { staticStyle: { opacity: "0.75", "font-size": "13px" }, domProps: { textContent: e._s(e.$t("productCost")) } })]), t("div", { staticStyle: { "text-align": "right" } }, [t("div", [e._v(" +" + e._s(e.priceFormat(e.extraPrice.amount, { currency: e.extraPrice.currency })) + " ")]), t("div", { staticStyle: { "font-size": "13px", opacity: "0.7" } }, [e._v(" per " + e._s(e.$t(`_common:${e.extraPrice.interval}`)) + " ")])])]) : e._e()], 2);
|
|
3570
3572
|
}, Et = [], It = /* @__PURE__ */ d(
|
|
3571
|
-
|
|
3573
|
+
Tt,
|
|
3572
3574
|
Mt,
|
|
3573
3575
|
Et,
|
|
3574
3576
|
!1,
|
|
@@ -3831,7 +3833,7 @@ const cn = ln.exports, I = {
|
|
|
3831
3833
|
winProfile: mt,
|
|
3832
3834
|
templates: yt,
|
|
3833
3835
|
documents: Pt,
|
|
3834
|
-
personalMessage:
|
|
3836
|
+
personalMessage: $t,
|
|
3835
3837
|
licenses: Lt,
|
|
3836
3838
|
inviteCreators: Ht,
|
|
3837
3839
|
stats: Nt,
|
|
@@ -3894,7 +3896,7 @@ export {
|
|
|
3894
3896
|
Ze as P,
|
|
3895
3897
|
Qe as a,
|
|
3896
3898
|
G as b,
|
|
3897
|
-
|
|
3899
|
+
Le as c,
|
|
3898
3900
|
x as r,
|
|
3899
3901
|
Be as s
|
|
3900
3902
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as n } from "./BlockMedia-
|
|
2
|
-
import { m as a } from "./mapFormMixin-
|
|
3
|
-
import { n as m } from "./main-
|
|
1
|
+
import { B as n } from "./BlockMedia-c79a4337.js";
|
|
2
|
+
import { m as a } from "./mapFormMixin-448a5950.js";
|
|
3
|
+
import { n as m } from "./main-4b1b8c72.js";
|
|
4
4
|
import "./color-71c20583.js";
|
|
5
5
|
const o = {
|
|
6
6
|
name: "MediaWrapper",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as m } from "./tinycolor-
|
|
2
|
-
import { ak as v, al as y, v as g, n as p, am as f, y as k, b as u, X as w, c as P } from "./main-
|
|
3
|
-
import { E as b } from "./ErrorCallout-
|
|
4
|
-
import { m as _ } from "./mapFormMixin-
|
|
5
|
-
import { T as x } from "./DocTextEditor-
|
|
6
|
-
import "./tippy.esm-
|
|
7
|
-
import "./ColorPicker-
|
|
8
|
-
import "./DocumentLayout-
|
|
9
|
-
import "./debounce-
|
|
10
|
-
import "./CDropdownItem-
|
|
11
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { t as m } from "./tinycolor-e4cbccbe.js";
|
|
2
|
+
import { ak as v, al as y, v as g, n as p, am as f, y as k, b as u, X as w, c as P } from "./main-4b1b8c72.js";
|
|
3
|
+
import { E as b } from "./ErrorCallout-706a3f77.js";
|
|
4
|
+
import { m as _ } from "./mapFormMixin-448a5950.js";
|
|
5
|
+
import { T as x } from "./DocTextEditor-81792d61.js";
|
|
6
|
+
import "./tippy.esm-c08ce12b.js";
|
|
7
|
+
import "./ColorPicker-5d5a1857.js";
|
|
8
|
+
import "./DocumentLayout-b17e31c9.js";
|
|
9
|
+
import "./debounce-6e758807.js";
|
|
10
|
+
import "./CDropdownItem-88323f71.js";
|
|
11
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-7a85b50d.js";
|
|
12
12
|
import "./dom-962579a6.js";
|
|
13
13
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
14
|
-
import "./ManualPopover-
|
|
14
|
+
import "./ManualPopover-ae1487dd.js";
|
|
15
15
|
import "./color-71c20583.js";
|
|
16
16
|
const $ = {
|
|
17
17
|
name: "ArticleItem",
|
|
@@ -335,7 +335,7 @@ var M = function() {
|
|
|
335
335
|
...e.workPackage.isSelected && {
|
|
336
336
|
boxShadow: `0 0 0 2px ${e.headingColor}`
|
|
337
337
|
}
|
|
338
|
-
} }, [t("div", { staticClass: "top-container" }, [e.workPackage.data.name ? t("div", { staticStyle: { "font-weight": "800", "font-size": "calc(calc(1 * var(--rem)) + 4px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, [e._v(" " + e._s(e.workPackage.data.name) + " ")]) : e._e(), t("div", [t("TextEditor", { staticStyle: { "margin-bottom": "1em" }, attrs: { value: e.description } })], 1)]), t("Animation", [t("ArticleList", { directives: [{ name: "show", rawName: "v-show", value: e.showDetails && e.workPackage.articles.length, expression: "showDetails && workPackage.articles.length" }], staticClass: "articles-container", attrs: { _document: e._document, articles: e.workPackage.articles, "show-prices-inc-vat": e.showPricesIncVat, "use-vat": e.useVat, "vat-type": e.vatType, parent: "packageGroup" }, on: { "toggle-show-vat": function(r) {
|
|
338
|
+
} }, [t("div", { staticClass: "top-container" }, [e.workPackage.data.name ? t("div", { staticStyle: { "font-weight": "800", "font-size": "calc(calc(1 * var(--rem)) + 4px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, [e._v(" " + e._s(e.workPackage.data.name) + " ")]) : e._e(), t("div", [e.description ? t("TextEditor", { staticStyle: { "margin-bottom": "1em" }, attrs: { value: e.description } }) : e._e()], 1)]), t("Animation", [t("ArticleList", { directives: [{ name: "show", rawName: "v-show", value: e.showDetails && e.workPackage.articles.length, expression: "showDetails && workPackage.articles.length" }], staticClass: "articles-container", attrs: { _document: e._document, articles: e.workPackage.articles, "show-prices-inc-vat": e.showPricesIncVat, "use-vat": e.useVat, "vat-type": e.vatType, parent: "packageGroup" }, on: { "toggle-show-vat": function(r) {
|
|
339
339
|
return e.$emit("toggle-show-vat", r);
|
|
340
340
|
} } })], 1), e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (e.prices.total || e.prices.type === "openAcc") ? t("div", { staticClass: "flex justify-end w-full", staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("div", { staticStyle: { padding: "calc(0.75 * var(--rem)) calc(1 * var(--rem))", "text-align": "right" } }, [e.prices.helpers.discount ? t("div", { staticClass: "price-total", staticStyle: { color: "red", "text-decoration": "line-through", "font-size": "16px", "font-weight": "600" } }, [e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.totalBeforeDiscount : e.prices.subTotal + e.prices.helpers.discount)) + " ")]) : e._e(), e.prices.type === "openAcc" ? [t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px" } }, [e._v(" " + e._s(e._document.$t("price.pricing")) + " ")]), t("div", { staticClass: "price-total", staticStyle: { padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.openAccPrice")) + " ")])] : [t("div", { staticClass: "price-total" }, [e.type === "checkbox" ? t("span", { staticClass: "primary-text-color", staticStyle: { "font-weight": "900" } }, [e._v("+")]) : e._e(), e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.prices.total : e.prices.subTotal)) + " ")]), e.useVat ? t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px", padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.price").capitalize()) + " " + e._s(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) })) + " ")]) : e._e()]], 2)]) : e._e(), e.showToggle ? t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { "background-color": "hsl(215, 10%, 95%)" } }, [e.isPdf ? e._e() : [t("CButton", { staticClass: "package-button", attrs: { pattern: "tertiary", type: "text", icon: e.showDetails ? "arrow-up" : "arrow-down", "icon-props": { size: 20 } }, on: { click: function(r) {
|
|
341
341
|
e.showDetails = !e.showDetails;
|
|
@@ -359,7 +359,7 @@ var M = function() {
|
|
|
359
359
|
W,
|
|
360
360
|
!1,
|
|
361
361
|
null,
|
|
362
|
-
"
|
|
362
|
+
"6dcf4b42",
|
|
363
363
|
null,
|
|
364
364
|
null
|
|
365
365
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { V as s } from "./PdfViewer-
|
|
2
|
-
import { n as t } from "./main-
|
|
1
|
+
import { V as s } from "./PdfViewer-ff32350f.js";
|
|
2
|
+
import { n as t } from "./main-4b1b8c72.js";
|
|
3
3
|
import "./dom-962579a6.js";
|
|
4
|
-
import "./DocumentLayout-
|
|
5
|
-
import "./debounce-
|
|
6
|
-
import "./CDropdownItem-
|
|
4
|
+
import "./DocumentLayout-b17e31c9.js";
|
|
5
|
+
import "./debounce-6e758807.js";
|
|
6
|
+
import "./CDropdownItem-88323f71.js";
|
|
7
7
|
const n = {
|
|
8
8
|
name: "PdfTerms",
|
|
9
9
|
functional: !0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as u, Q as g } from "./main-
|
|
1
|
+
import { n as u, Q as g } from "./main-4b1b8c72.js";
|
|
2
2
|
import { e as d } from "./dom-962579a6.js";
|
|
3
|
-
import { W as m } from "./DocumentLayout-
|
|
3
|
+
import { W as m } from "./DocumentLayout-b17e31c9.js";
|
|
4
4
|
let o, l, f, c, p;
|
|
5
5
|
function w(e) {
|
|
6
6
|
return typeof e == "object" && e !== null && e.__PDFDocumentLoadingTask === !0;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { m as c } from "./mapFormMixin-
|
|
2
|
-
import { B as l } from "./BlockMedia-
|
|
3
|
-
import { n, b as r, v as d, a8 as m } from "./main-
|
|
4
|
-
import { T as u } from "./DocTextEditor-
|
|
1
|
+
import { m as c } from "./mapFormMixin-448a5950.js";
|
|
2
|
+
import { B as l } from "./BlockMedia-c79a4337.js";
|
|
3
|
+
import { n, b as r, v as d, a8 as m } from "./main-4b1b8c72.js";
|
|
4
|
+
import { T as u } from "./DocTextEditor-81792d61.js";
|
|
5
5
|
import { i as p } from "./i18nMessages-45c6bfd6.js";
|
|
6
|
-
import { t as _ } from "./tinycolor-
|
|
6
|
+
import { t as _ } from "./tinycolor-e4cbccbe.js";
|
|
7
7
|
import { s as y } from "./dom-962579a6.js";
|
|
8
8
|
import "./color-71c20583.js";
|
|
9
|
-
import "./tippy.esm-
|
|
10
|
-
import "./ColorPicker-
|
|
11
|
-
import "./DocumentLayout-
|
|
12
|
-
import "./debounce-
|
|
13
|
-
import "./CDropdownItem-
|
|
14
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
9
|
+
import "./tippy.esm-c08ce12b.js";
|
|
10
|
+
import "./ColorPicker-5d5a1857.js";
|
|
11
|
+
import "./DocumentLayout-b17e31c9.js";
|
|
12
|
+
import "./debounce-6e758807.js";
|
|
13
|
+
import "./CDropdownItem-88323f71.js";
|
|
14
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-7a85b50d.js";
|
|
15
15
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
16
|
-
import "./ManualPopover-
|
|
16
|
+
import "./ManualPopover-ae1487dd.js";
|
|
17
17
|
const h = {
|
|
18
18
|
name: "SummaryTop",
|
|
19
19
|
i18nOptions: {
|
|
@@ -22,7 +22,7 @@ const h = {
|
|
|
22
22
|
},
|
|
23
23
|
components: {
|
|
24
24
|
TextEditor: u,
|
|
25
|
-
DocumentLogotype: () => import("./DocumentLogotype-
|
|
25
|
+
DocumentLogotype: () => import("./DocumentLogotype-4cc9a9ef.js")
|
|
26
26
|
},
|
|
27
27
|
inject: ["parentSize"],
|
|
28
28
|
mixins: [c([])],
|