@cling-se/widget 0.19.6 → 0.19.8
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 +15 -1
- package/dist/{AddClientCallout-DtVRTCr_.js → AddClientCallout-sPxYX5tQ.js} +18 -18
- package/dist/{AnswerModal-ClyWtHBj.js → AnswerModal-o8OHHulg.js} +80 -80
- package/dist/{AttachmentItem-COoLlAum.js → AttachmentItem-CzzOlHB-.js} +16 -16
- package/dist/{BaseUpload-DlaYaxxr.js → BaseUpload-oZQfFwOj.js} +256 -256
- package/dist/{BlockMedia-IMu4YO3J.js → BlockMedia-BGPxfM2X.js} +16 -16
- package/dist/{CCallout-C32zwICP.js → CCallout-CrbMGTIj.js} +15 -15
- package/dist/{CCurrencyDropdown-D4ZxTioo.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
- package/dist/{CDropdownItem-BuQONogL.js → CDropdownItem-E-kRDIiy.js} +6 -6
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +25 -25
- package/dist/{CPhoneFormat-C2K78cmZ.js → CPhoneFormat-CIQAVdsB.js} +1 -1
- package/dist/{CPhoneInput-DolVFzrL.js → CPhoneInput-9AwTJm-0.js} +21 -21
- package/dist/{CPriceInput-SbRlrDnD.js → CPriceInput-agFahtr1.js} +11 -11
- package/dist/CSelect-BpautzPq.js +129 -0
- package/dist/CSkeleton-GIqd-JU4.js +47 -0
- package/dist/{ClientAutocomplete-vgxEGqNU.js → ClientAutocomplete-DOHX9Igy.js} +26 -26
- package/dist/{ClientModal-B8ip7v99.js → ClientModal-DAXKN_b3.js} +35 -35
- package/dist/{ColorPicker-BrfM9S1s.js → ColorPicker-B9F8znY_.js} +82 -82
- package/dist/{CompanyModal-DJZezqM5.js → CompanyModal-BvIMVys6.js} +27 -27
- package/dist/{ContentWrapper-zJ4MCnSC.js → ContentWrapper-DB22RaUr.js} +24 -24
- package/dist/{CoverBlockSettings-Cz0NUYXX.js → CoverBlockSettings--l4fH9mr.js} +32 -32
- package/dist/{DocAnswer-EWarWnbt.js → DocAnswer-Bq-4uVbe.js} +4 -4
- package/dist/{DocDetails-CGHN3tbO.js → DocDetails-yxmchgO5.js} +59 -59
- package/dist/{DocForm-BLTap-Bb.js → DocForm-CzrR8o22.js} +1208 -1180
- package/dist/{DocFormSend-_jCPFI9r.js → DocFormSend-Bjc1QDcK.js} +11 -11
- package/dist/{DocLinks-D9Ok4HvN.js → DocLinks-BXbC-6v3.js} +6 -6
- package/dist/{DocModalBase-fQz5UuCF.js → DocModalBase-axX_Rlp3.js} +1 -1
- package/dist/{DocPrint-Cua_U7zt.js → DocPrint-D0IdWsUM.js} +19 -19
- package/dist/{DocReceipt-Cg2hiSby.js → DocReceipt-4e-RmgeQ.js} +19 -19
- package/dist/{DocSendReminder-Dh7G9kbZ.js → DocSendReminder-L35eZxgk.js} +12 -12
- package/dist/{DocTextEditor-Ds4Cbg-2.js → DocTextEditor-KrfylSV6.js} +4493 -4435
- package/dist/{DocTimeline-DpWUMwJE.js → DocTimeline-Be5CvtcQ.js} +18 -18
- package/dist/{DocumentClient-DUqHQVSe.js → DocumentClient-Bc4kf2q9.js} +10 -10
- package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
- package/dist/{DocumentLogotype-BiekV9-j.js → DocumentLogotype-BFo5UEWS.js} +20 -20
- package/dist/{DocumentVoided-D_YMyeV8.js → DocumentVoided-DlQtlO7G.js} +7 -7
- package/dist/{EmbedInput-Crx-LEGc.js → EmbedInput-B29usQZZ.js} +10 -10
- package/dist/{EmbedSettings-xIGtEN7L.js → EmbedSettings-D-9rcSn0.js} +16 -16
- package/dist/{ErrorCallout-D_fUVD4I.js → ErrorCallout--EnH1Ezu.js} +9 -9
- package/dist/{FilePreviewModal-av2lE91B.js → FilePreviewModal-H5Ilg9xN.js} +9 -9
- package/dist/{Flag-CI52SH_9.js → Flag-DgZVh3Lf.js} +4 -4
- package/dist/{HeaderSettings-Ip634NWe.js → HeaderSettings-HuM_JwJw.js} +27 -27
- package/dist/{ImageSelectModal-DNtR86H7.js → ImageSelectModal-CJ-DstAf.js} +14 -14
- package/dist/{ImageUploadWrapper-Co43CWCP.js → ImageUploadWrapper-TYs37LIQ.js} +76 -76
- package/dist/{Index-C6KPbnAq.js → Index-6N_iRlrQ.js} +10 -10
- package/dist/{Index-bvCcp9l6.js → Index-B-PDcQKh.js} +34 -34
- package/dist/{Index-CTQyX_63.js → Index-B942Auag.js} +2 -2
- package/dist/{Index-4ZURK6a8.js → Index-BLdFyt-s.js} +12 -12
- package/dist/{Index-CZqJYh7u.js → Index-BMpHXgR4.js} +16 -16
- package/dist/{Index-DGwF2cvQ.js → Index-BZ6ZDf9T.js} +11 -11
- package/dist/{Index-Ci_PUYqE.js → Index-BdnFLjgV.js} +11 -11
- package/dist/{Index-BdW5_mV-.js → Index-BeOtRIzZ.js} +21 -21
- package/dist/Index-BsRxY7vc.js +21 -0
- package/dist/{Index-xVX7aGXv.js → Index-CAMAtPVL.js} +6 -6
- package/dist/{Index-uDG1i8F-.js → Index-CC4E2CmH.js} +11 -11
- package/dist/{Index-CJi8Remu.js → Index-CGus-YwW.js} +26 -26
- package/dist/{Index-C-Suk6Qs.js → Index-CLgN5Jzf.js} +3 -3
- package/dist/{Index-C92jPUcy.js → Index-CTlB43yV.js} +7 -7
- package/dist/{Index-CmLvcWe3.js → Index-CY2sRfaY.js} +194 -218
- package/dist/{Index-PzcQhAgF.js → Index-CnrSvy6E.js} +2 -2
- package/dist/{Index-Bgm5PHos.js → Index-CrdSdXWN.js} +18 -18
- package/dist/{Index-Bj81gIof.js → Index-CtJfMiZW.js} +2 -2
- package/dist/Index-D4HNTocO.js +4 -0
- package/dist/{Index-chiZsMLh.js → Index-D5_GLLQH.js} +507 -512
- package/dist/{Index-DOiPKAhk.js → Index-D9sceHk5.js} +17 -17
- package/dist/{Index-CV5RbQn5.js → Index-DJ11Zra_.js} +42 -42
- package/dist/{Index-DQbbxV0m.js → Index-DMIjuWSa.js} +9 -9
- package/dist/{Index-BMwBpYpa.js → Index-DTm59e-A.js} +11 -11
- package/dist/{Index-CxAd29-m.js → Index-DXT_IMjq.js} +8 -8
- package/dist/{Index-BF1bZUso.js → Index-DYUvtCff.js} +8 -8
- package/dist/{Index-DKuTOk0t.js → Index-DYW8T0Hl.js} +18 -18
- package/dist/{Index-DWIpdRX-.js → Index-Dg4dwlh_.js} +59 -58
- package/dist/{Index-DOCeODtL.js → Index-N88Abomf.js} +11 -11
- package/dist/{Index-BY2kaUsM.js → Index-W-Q19E3a.js} +7 -7
- package/dist/{Index-DwIfORsz.js → Index-edWEg_rF.js} +29 -29
- package/dist/{Index-DlGSVN83.js → Index-nRqNPZ3B.js} +18 -18
- package/dist/{Index-CeJRMtmh.js → Index-nTp9wEni.js} +7 -7
- package/dist/{Index-D_X2OZA3.js → Index-yJRtT77X.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-WK-YdZ30.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
- package/dist/{InputToggleRow-CWvEi0HF.js → InputToggleRow-DCr_DEm4.js} +9 -9
- package/dist/{ManualPopover-BSX3bOr0.js → ManualPopover-CpVsmQvn.js} +4 -4
- package/dist/{MediaWrapper-D8BXMoDz.js → MediaWrapper-Cj3LBhdR.js} +4 -4
- package/dist/{NotBindingText-V-8_5Pln.js → NotBindingText-1J0p_k4u.js} +5 -5
- package/dist/{PackageGroup-BN5njJA7.js → PackageGroup-CqrWEfCT.js} +17 -17
- package/dist/{PdfTerms-DarzYw1g.js → PdfTerms-DmrPDtae.js} +6 -6
- package/dist/{PdfViewer-DYN758PA.js → PdfViewer-C2EEwUBa.js} +37 -37
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-B3g18l5G.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
- package/dist/{PriceHeader-B7QoQ2ZO.js → PriceHeader-BaREzUxI.js} +32 -32
- package/dist/{SearchApi-rcvoh3Av.js → SearchApi-Bf4jeQVr.js} +6 -6
- package/dist/{SendForm-DHRq76pb.js → SendForm-D5qpHxNU.js} +713 -711
- package/dist/{Setup-BWMY9S__.js → Setup-Bw8ViFxw.js} +4 -4
- package/dist/{SmartList-BpNfmUMA.js → SmartList-CzylvV8N.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-B_f6Nh_O.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +92 -92
- package/dist/{TermsSettings-BTv1dj63.js → TermsSettings-EoJvsPqK.js} +20 -20
- package/dist/{ThemeColorRow-r1ECSrBU.js → ThemeColorRow-D3blQMiD.js} +12 -12
- package/dist/{ToggleBinding-BBF1duBh.js → ToggleBinding-BteBsRYr.js} +7 -7
- package/dist/{UploadModal-B_l6gvuJ.js → UploadModal-Cr5sF3M-.js} +19 -19
- package/dist/{VideoPlayerInput-8e9ooR1p.js → VideoPlayerInput-BBycKv9w.js} +5 -5
- package/dist/{VideoPlayerSettings-CFOPAFlE.js → VideoPlayerSettings-BXXpTWBf.js} +12 -12
- package/dist/{VideoSelectModal-QWkNrFQC.js → VideoSelectModal-B2VPO6q4.js} +15 -15
- package/dist/{focusDrawerMixin-hy76kTBG.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
- package/dist/{formDrawerState-s4ySD850.js → formDrawerState-CJyP4ce1.js} +1 -1
- package/dist/{helpers-BHIbXt8q.js → helpers-Cf9s0P7o.js} +3 -3
- package/dist/{index-Dbe2ueXc.js → index-C3pnyYI4.js} +90 -90
- package/dist/{index-CGXCI2G7.js → index-CBn1mHmK.js} +36 -36
- package/dist/{index-BTw8ZC8k.js → index-DAJmNac8.js} +6 -6
- package/dist/{index-DpubWmXg.js → index-DYJN9yoF.js} +37 -37
- package/dist/{index-ByEyJueq.js → index-DuXECcGq.js} +31 -31
- package/dist/{index-Cwf2aXw3.js → index-XzoHqJIR.js} +9 -9
- package/dist/{index-DjHfCViH.js → index-_MfZEYgE.js} +28 -27
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +154 -159
- package/dist/{main-WDVYC60Z.js → main-BayUZ9OO.js} +14904 -14950
- package/dist/{mapFormMixin-B8xN9LiX.js → mapFormMixin-Bx5_nE7g.js} +36 -42
- package/dist/omit-BKJdPM2H.js +56 -0
- package/dist/{publicSenderState-CtB0-WJX.js → publicSenderState-CblTasKp.js} +3 -3
- package/dist/{splitpanes-CwgWVXfp.js → splitpanes-DFkgBT3z.js} +6 -6
- package/dist/{template-fVxhQbOu.js → template-CvGgzazD.js} +5 -5
- package/dist/{tippy.esm-Ikv5_i_g.js → tippy.esm-CYKcJaqz.js} +222 -224
- package/dist/{useTermsModal-DxXjznop.js → useTermsModal-DFmdeFRm.js} +5 -5
- package/dist/{utils-fXD4AHot.js → utils-DTwXcY8_.js} +1 -1
- package/dist/{validation-Bf4rZ8pa.js → validation-d_jonAPy.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/CSelect-BQsWYh8F.js +0 -98
- package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-aq47QhPF.js +0 -51
- package/dist/DocumentLayout-Bth5tpry.js +0 -1434
- package/dist/Index-CFSuI-QL.js +0 -21
- package/dist/Index-DHzaqQH0.js +0 -4
- package/dist/omit-BhJ-wiH8.js +0 -56
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as u,
|
|
1
|
+
import { _ as u, b as h, d as i, o as a, j as e, f as l, t as c, q as g, w as m, ak as b, F as k, n as f, W as v, an as n } from "./main-BayUZ9OO.js";
|
|
2
2
|
const y = {
|
|
3
3
|
name: "DocumentGuide",
|
|
4
4
|
i18nOptions: {
|
|
@@ -59,9 +59,9 @@ const y = {
|
|
|
59
59
|
style: { "background-color": "hsl(212, 90%, 15%)", padding: `calc(3 * var(--rem)) calc(2.5 * var(--rem))
|
|
60
60
|
calc(2.5 * var(--rem)) calc(2.5 * var(--rem))`, "border-radius": "8px", color: "hsla(0, 0%, 100%, 0.8)", "font-size": "16px", position: "relative" }
|
|
61
61
|
}, w = { style: { "padding-left": "calc(1 * var(--rem))" } }, B = { style: { "text-transform": "uppercase", "font-size": "0.75em", "padding-bottom": "0.7em", color: "hsl(321, 100%, 78%)" } }, C = { style: { "font-size": "1.5em", "padding-bottom": "1em", "line-height": "1.4", "font-weight": "500", color: "white", "min-height": "100px" } }, z = ["innerHTML"], S = { style: { width: "100%", "background-color": "hsla(0, 0%, 100%, 0.2)", "line-height": "0", "border-radius": "8px", overflow: "hidden", position: "relative", "padding-bottom": "60%" } }, F = ["src"], L = { style: { "margin-top": "calc(3 * var(--rem))", display: "flex", "justify-content": "flex-end", position: "relative" } }, N = { style: { position: "absolute", display: "grid", gap: "10px", "grid-template-columns": "repeat(5, 1fr)", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, T = ["onClick"];
|
|
62
|
-
function
|
|
62
|
+
function j(s, o, A, D, t, G) {
|
|
63
63
|
const p = h("CButton");
|
|
64
|
-
return
|
|
64
|
+
return a(), i("div", _, [
|
|
65
65
|
e("div", x, [
|
|
66
66
|
l(p, {
|
|
67
67
|
size: "small",
|
|
@@ -84,7 +84,7 @@ function A(s, o, D, G, t, H) {
|
|
|
84
84
|
e("div", S, [
|
|
85
85
|
l(b, { name: "slide-prev" }, {
|
|
86
86
|
default: m(() => [
|
|
87
|
-
(
|
|
87
|
+
(a(), i("img", {
|
|
88
88
|
key: t.step,
|
|
89
89
|
src: t.steps[t.step].img,
|
|
90
90
|
style: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%" }
|
|
@@ -95,7 +95,7 @@ function A(s, o, D, G, t, H) {
|
|
|
95
95
|
]),
|
|
96
96
|
e("div", L, [
|
|
97
97
|
e("div", N, [
|
|
98
|
-
(
|
|
98
|
+
(a(!0), i(k, null, f(t.steps, (d, r) => (a(), i("div", {
|
|
99
99
|
key: r,
|
|
100
100
|
style: v([{
|
|
101
101
|
backgroundColor: t.step === r ? "white" : "hsla(0, 0%, 100%, 0.4)"
|
|
@@ -119,7 +119,7 @@ function A(s, o, D, G, t, H) {
|
|
|
119
119
|
])
|
|
120
120
|
]);
|
|
121
121
|
}
|
|
122
|
-
const V = /* @__PURE__ */ u(y, [["render",
|
|
122
|
+
const V = /* @__PURE__ */ u(y, [["render", j]]);
|
|
123
123
|
export {
|
|
124
124
|
V as default
|
|
125
125
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as H } from "./DocumentLayout-
|
|
3
|
-
import { _ as W } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { B
|
|
5
|
-
import { u as
|
|
6
|
-
import { r as
|
|
7
|
-
import { S as Q } from "./SmartList-
|
|
8
|
-
import { w as X } from "./CDropdownItem-
|
|
9
|
-
const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-container" }, te = /* @__PURE__ */
|
|
1
|
+
import { a7 as q, bf as I, A as V, b as r, d as f, c as g, I as w, o, j as i, e as C, T as $, am as k, bg as F, w as p, R as N, _ as M, m as A, aq as P, a as G, S as D, f as m, q as x, t as _, k as b, g as T, ap as O, V as R, F as z, n as U, x as j } from "./main-BayUZ9OO.js";
|
|
2
|
+
import { i as H } from "./DocumentLayout-Oe-ZsHML.js";
|
|
3
|
+
import { _ as W } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
|
|
4
|
+
import { B } from "./DocTextEditor-KrfylSV6.js";
|
|
5
|
+
import { u as J } from "./index-C3pnyYI4.js";
|
|
6
|
+
import { r as L, m as K } from "./index-XzoHqJIR.js";
|
|
7
|
+
import { S as Q } from "./SmartList-CzylvV8N.js";
|
|
8
|
+
import { w as X } from "./CDropdownItem-E-kRDIiy.js";
|
|
9
|
+
const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-container" }, te = /* @__PURE__ */ q({
|
|
10
10
|
__name: "ContextModal",
|
|
11
11
|
props: {
|
|
12
12
|
placement: { default: "top-start" }
|
|
13
13
|
},
|
|
14
14
|
emits: ["show", "hide"],
|
|
15
15
|
setup(e, { emit: t }) {
|
|
16
|
-
const v = t, { rootChild: u } =
|
|
16
|
+
const v = t, { rootChild: u } = I(), s = V(!1), a = () => {
|
|
17
17
|
s.value = !0, v("show");
|
|
18
18
|
}, n = () => {
|
|
19
19
|
s.value = !1, v("hide");
|
|
@@ -24,7 +24,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
24
24
|
i("div", { onClick: a }, [
|
|
25
25
|
$(d.$slots, "default", {}, void 0, !0)
|
|
26
26
|
]),
|
|
27
|
-
s.value ? (o(), g(
|
|
27
|
+
s.value ? (o(), g(F, {
|
|
28
28
|
key: 0,
|
|
29
29
|
to: w(u)
|
|
30
30
|
}, [
|
|
@@ -48,7 +48,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
48
48
|
}), {
|
|
49
49
|
popper: p(() => [
|
|
50
50
|
i("div", ee, [
|
|
51
|
-
s.value ? (o(), g(
|
|
51
|
+
s.value ? (o(), g(F, {
|
|
52
52
|
key: 0,
|
|
53
53
|
to: w(u)
|
|
54
54
|
}, [
|
|
@@ -67,7 +67,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
67
67
|
}, 16, ["placement", "shown"]));
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
}), se = /* @__PURE__ */
|
|
70
|
+
}), se = /* @__PURE__ */ M(te, [["__scopeId", "data-v-71def6ac"]]), { mapFields: oe } = P({
|
|
71
71
|
getterType: "forms/getField",
|
|
72
72
|
mutationType: "forms/updateField"
|
|
73
73
|
}), ae = {
|
|
@@ -116,8 +116,8 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
116
116
|
},
|
|
117
117
|
name: "TextTemplatesForm",
|
|
118
118
|
components: {
|
|
119
|
-
BaseTextEditor:
|
|
120
|
-
Spinner:
|
|
119
|
+
BaseTextEditor: B,
|
|
120
|
+
Spinner: D,
|
|
121
121
|
CField: W
|
|
122
122
|
},
|
|
123
123
|
expose: ["canLeave"],
|
|
@@ -142,20 +142,20 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
142
142
|
},
|
|
143
143
|
setup() {
|
|
144
144
|
return {
|
|
145
|
-
v$:
|
|
145
|
+
v$: J()
|
|
146
146
|
};
|
|
147
147
|
},
|
|
148
148
|
validations: {
|
|
149
149
|
name: {
|
|
150
|
-
required:
|
|
151
|
-
maxLength:
|
|
150
|
+
required: L,
|
|
151
|
+
maxLength: K(255)
|
|
152
152
|
},
|
|
153
153
|
textContent: {
|
|
154
|
-
required:
|
|
154
|
+
required: L
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
computed: {
|
|
158
|
-
...
|
|
158
|
+
...G({
|
|
159
159
|
isPosting: "templateMessages/isPosting",
|
|
160
160
|
isFetching: "templateMessages/isFetching",
|
|
161
161
|
checkFormChanged: "forms/hasChanged"
|
|
@@ -189,7 +189,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
189
189
|
this.load(), this.predefinedTextContent && (this.textContent = this.predefinedTextContent);
|
|
190
190
|
},
|
|
191
191
|
methods: {
|
|
192
|
-
...
|
|
192
|
+
...A({
|
|
193
193
|
loadTemplate: T.LOAD_TEMPLATE_MESSAGE,
|
|
194
194
|
deleteTemplate: T.DELETE_TEMPLATE_MESSAGE,
|
|
195
195
|
formNewTemplate: T.FORM_NEW_TEMPLATE_MESSAGE,
|
|
@@ -288,7 +288,7 @@ function re(e, t, v, u, s, a) {
|
|
|
288
288
|
onClick: t[5] || (t[5] = (l) => a.validateBeforeSubmit())
|
|
289
289
|
}, {
|
|
290
290
|
default: p(() => [
|
|
291
|
-
|
|
291
|
+
x(_(e.$t("_common:save")), 1)
|
|
292
292
|
]),
|
|
293
293
|
_: 1
|
|
294
294
|
}, 8, ["loading", "disabled"]),
|
|
@@ -302,23 +302,23 @@ function re(e, t, v, u, s, a) {
|
|
|
302
302
|
onClick: t[6] || (t[6] = (l) => a.remove())
|
|
303
303
|
}, {
|
|
304
304
|
default: p(() => [
|
|
305
|
-
|
|
305
|
+
x(_(e.$t("_common:remove")), 1)
|
|
306
306
|
]),
|
|
307
307
|
_: 1
|
|
308
308
|
}, 8, ["loading"])) : C("", !0)
|
|
309
309
|
])) : C("", !0)
|
|
310
310
|
]);
|
|
311
311
|
}
|
|
312
|
-
const de = /* @__PURE__ */
|
|
312
|
+
const de = /* @__PURE__ */ M(ae, [["render", re], ["__scopeId", "data-v-286de2c9"]]), me = {
|
|
313
313
|
name: "TextTemplatesModal",
|
|
314
314
|
components: {
|
|
315
315
|
SmartList: Q,
|
|
316
|
-
BaseTextEditor:
|
|
316
|
+
BaseTextEditor: B
|
|
317
317
|
},
|
|
318
318
|
emits: ["select", "close"],
|
|
319
319
|
mixins: [X],
|
|
320
320
|
setup() {
|
|
321
|
-
return { viewContext:
|
|
321
|
+
return { viewContext: R };
|
|
322
322
|
},
|
|
323
323
|
data() {
|
|
324
324
|
return {
|
|
@@ -327,7 +327,7 @@ const de = /* @__PURE__ */ x(ae, [["render", re], ["__scopeId", "data-v-286de2c9
|
|
|
327
327
|
};
|
|
328
328
|
},
|
|
329
329
|
computed: {
|
|
330
|
-
...
|
|
330
|
+
...O("templateMessages", {
|
|
331
331
|
templateMessages: (e) => e.data
|
|
332
332
|
}),
|
|
333
333
|
templates() {
|
|
@@ -393,11 +393,11 @@ function Te(e, t, v, u, s, a) {
|
|
|
393
393
|
]),
|
|
394
394
|
i("div", ce, [
|
|
395
395
|
i("div", he, [
|
|
396
|
-
(o(!0), f(
|
|
396
|
+
(o(!0), f(z, null, U(l, (S, E) => (o(), f("div", {
|
|
397
397
|
key: S.id,
|
|
398
|
-
class:
|
|
398
|
+
class: j([{ selected: E === s.selectedIndex }, "t-list-item w-full truncate"]),
|
|
399
399
|
onMouseoverPassive: () => s.selectedIndex = E,
|
|
400
|
-
onClick: (
|
|
400
|
+
onClick: (Me) => a.onSelect(l[s.selectedIndex].message || "")
|
|
401
401
|
}, _(S.name), 43, fe))), 128))
|
|
402
402
|
]),
|
|
403
403
|
e.mq !== "sm" ? (o(), f("div", ve, [
|
|
@@ -422,7 +422,7 @@ function Te(e, t, v, u, s, a) {
|
|
|
422
422
|
size: "small"
|
|
423
423
|
}, {
|
|
424
424
|
default: p(() => [
|
|
425
|
-
|
|
425
|
+
x(_(e.$t("handle")) + " ", 1),
|
|
426
426
|
m(c, {
|
|
427
427
|
type: "new-window",
|
|
428
428
|
size: "16",
|
|
@@ -437,7 +437,7 @@ function Te(e, t, v, u, s, a) {
|
|
|
437
437
|
onClick: a.openCreateModal
|
|
438
438
|
}, {
|
|
439
439
|
default: p(() => [
|
|
440
|
-
|
|
440
|
+
x(_(e.$t("create", { thing: e.$t("template") })), 1)
|
|
441
441
|
]),
|
|
442
442
|
_: 1
|
|
443
443
|
}, 8, ["onClick"])
|
|
@@ -448,7 +448,7 @@ function Te(e, t, v, u, s, a) {
|
|
|
448
448
|
_: 1
|
|
449
449
|
}, 8, ["items", "query"]);
|
|
450
450
|
}
|
|
451
|
-
const _e = /* @__PURE__ */
|
|
451
|
+
const _e = /* @__PURE__ */ M(me, [["render", Te], ["__scopeId", "data-v-e354b48d"]]), ye = {
|
|
452
452
|
name: "TextTemplates",
|
|
453
453
|
components: {
|
|
454
454
|
ContextModal: se,
|
|
@@ -465,12 +465,12 @@ const _e = /* @__PURE__ */ x(me, [["render", Te], ["__scopeId", "data-v-e354b48d
|
|
|
465
465
|
this.loadTemplateMessages();
|
|
466
466
|
},
|
|
467
467
|
methods: {
|
|
468
|
-
...
|
|
468
|
+
...A({
|
|
469
469
|
loadTemplateMessages: T.LOAD_TEMPLATE_MESSAGES
|
|
470
470
|
})
|
|
471
471
|
}
|
|
472
472
|
}, Se = { class: "t-list" }, $e = { class: "t-option main" };
|
|
473
|
-
function
|
|
473
|
+
function xe(e, t, v, u, s, a) {
|
|
474
474
|
const n = r("TextTemplatesModal"), d = r("ContextModal");
|
|
475
475
|
return o(), f("div", Se, [
|
|
476
476
|
m(d, {
|
|
@@ -494,7 +494,7 @@ function Me(e, t, v, u, s, a) {
|
|
|
494
494
|
}, 8, ["placement"])
|
|
495
495
|
]);
|
|
496
496
|
}
|
|
497
|
-
const
|
|
497
|
+
const qe = /* @__PURE__ */ M(ye, [["render", xe]]);
|
|
498
498
|
export {
|
|
499
|
-
|
|
499
|
+
qe as default
|
|
500
500
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as C, m as f, a as b, az as $, aA as w, g as T, b as h, a4 as D, d as i, o as s, j as n, f as d, t as a, F as L, n as N, e as l, q as B, u as I, aB as u } from "./main-BayUZ9OO.js";
|
|
2
2
|
const E = {
|
|
3
3
|
name: "ClientLinks",
|
|
4
4
|
emits: ["close"],
|
|
@@ -30,7 +30,7 @@ const E = {
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
computed: {
|
|
33
|
-
...
|
|
33
|
+
...b({
|
|
34
34
|
docById: "documents2/byId"
|
|
35
35
|
}),
|
|
36
36
|
document() {
|
|
@@ -51,7 +51,7 @@ const E = {
|
|
|
51
51
|
},
|
|
52
52
|
methods: {
|
|
53
53
|
...f({
|
|
54
|
-
loadDocument:
|
|
54
|
+
loadDocument: T.LOAD_DOCUMENT2
|
|
55
55
|
}),
|
|
56
56
|
async copyToClipboard(t) {
|
|
57
57
|
var p, c;
|
|
@@ -64,17 +64,17 @@ const E = {
|
|
|
64
64
|
}, S = {
|
|
65
65
|
class: "font-inter",
|
|
66
66
|
style: { "background-color": "white", "border-radius": "10px", overflow: "hidden" }
|
|
67
|
-
},
|
|
67
|
+
}, z = { style: { padding: "40px 30px", position: "relative" } }, V = { style: { padding: "0 0 2.5em" } }, j = ["textContent"], q = ["textContent"], F = ["textContent"], M = { style: { padding: "4px 6px 8px 6px" } }, O = { class: "client-title w-full truncate" }, R = {
|
|
68
68
|
key: 0,
|
|
69
69
|
style: { opacity: "0.5", "padding-left": "0.125ch" }
|
|
70
|
-
},
|
|
70
|
+
}, A = ["textContent"], P = ["href"], G = {
|
|
71
71
|
key: 1,
|
|
72
72
|
style: { padding: "0 0.5ch" }
|
|
73
|
-
},
|
|
73
|
+
}, K = ["href"], U = { style: { display: "flex", position: "relative" } }, W = ["value", "placeholder"], H = { class: "x-hint" }, J = ["textContent"];
|
|
74
74
|
function Q(t, o, y, p, c, r) {
|
|
75
|
-
const k = h("CButton"), _ = h("CPhoneFormat"), m = h("CIcon"),
|
|
76
|
-
return
|
|
77
|
-
n("div",
|
|
75
|
+
const k = h("CButton"), _ = h("CPhoneFormat"), m = h("CIcon"), g = D("tooltip");
|
|
76
|
+
return s(), i("div", S, [
|
|
77
|
+
n("div", z, [
|
|
78
78
|
d(k, {
|
|
79
79
|
icon: "x",
|
|
80
80
|
circle: "",
|
|
@@ -86,32 +86,32 @@ function Q(t, o, y, p, c, r) {
|
|
|
86
86
|
n("div", {
|
|
87
87
|
class: "x-title",
|
|
88
88
|
textContent: a(t.$t("title"))
|
|
89
|
-
}, null, 8,
|
|
89
|
+
}, null, 8, j),
|
|
90
90
|
n("div", {
|
|
91
91
|
class: "x-text",
|
|
92
92
|
textContent: a(t.$t("text"))
|
|
93
|
-
}, null, 8,
|
|
93
|
+
}, null, 8, q)
|
|
94
94
|
]),
|
|
95
|
-
r.clients.length ? (
|
|
96
|
-
key:
|
|
95
|
+
r.clients.length ? (s(!0), i(L, { key: 1 }, N(r.clients, (e, v) => (s(), i("div", {
|
|
96
|
+
key: v,
|
|
97
97
|
class: "client-card"
|
|
98
98
|
}, [
|
|
99
|
-
n("div",
|
|
100
|
-
n("div",
|
|
99
|
+
n("div", M, [
|
|
100
|
+
n("div", O, [
|
|
101
101
|
B(a(e.primaryTitle) + " ", 1),
|
|
102
|
-
e.secondaryTitle ? (
|
|
102
|
+
e.secondaryTitle ? (s(), i("span", R, "· " + a(e.secondaryTitle), 1)) : l("", !0)
|
|
103
103
|
]),
|
|
104
|
-
e.documentRole ? (
|
|
104
|
+
e.documentRole ? (s(), i("div", {
|
|
105
105
|
key: 0,
|
|
106
106
|
textContent: a(t.$t(`_common:documentRole.${e.documentRole}.label`))
|
|
107
|
-
}, null, 8,
|
|
107
|
+
}, null, 8, A)) : l("", !0),
|
|
108
108
|
n("div", null, [
|
|
109
|
-
e.email ? (
|
|
109
|
+
e.email ? (s(), i("a", {
|
|
110
110
|
key: 0,
|
|
111
111
|
href: `mailto:${e.email}?&body=${e.docLink}`
|
|
112
|
-
}, a(e.email), 9,
|
|
113
|
-
e.email && e.cellphone ? (
|
|
114
|
-
e.cellphone ? (
|
|
112
|
+
}, a(e.email), 9, P)) : l("", !0),
|
|
113
|
+
e.email && e.cellphone ? (s(), i("span", G, "·")) : l("", !0),
|
|
114
|
+
e.cellphone ? (s(), i("a", {
|
|
115
115
|
key: 2,
|
|
116
116
|
href: `sms:${e.cellphone}?&body=${e.docLink}`
|
|
117
117
|
}, [
|
|
@@ -119,10 +119,10 @@ function Q(t, o, y, p, c, r) {
|
|
|
119
119
|
phone: e.cellphone,
|
|
120
120
|
region: e.cellphoneRegion
|
|
121
121
|
}, null, 8, ["phone", "region"])
|
|
122
|
-
], 8,
|
|
122
|
+
], 8, K)) : l("", !0)
|
|
123
123
|
])
|
|
124
124
|
]),
|
|
125
|
-
n("div",
|
|
125
|
+
n("div", U, [
|
|
126
126
|
n("input", {
|
|
127
127
|
ref_for: !0,
|
|
128
128
|
ref: "key",
|
|
@@ -131,8 +131,8 @@ function Q(t, o, y, p, c, r) {
|
|
|
131
131
|
type: "text",
|
|
132
132
|
readonly: "readonly",
|
|
133
133
|
class: "link-field w-full truncate"
|
|
134
|
-
}, null, 8,
|
|
135
|
-
I((
|
|
134
|
+
}, null, 8, W),
|
|
135
|
+
I((s(), i("div", {
|
|
136
136
|
class: "clipboard-button",
|
|
137
137
|
onClick: o[1] || (o[1] = (...x) => r.copyToClipboard && r.copyToClipboard(...x))
|
|
138
138
|
}, [
|
|
@@ -142,15 +142,15 @@ function Q(t, o, y, p, c, r) {
|
|
|
142
142
|
style: { "pointer-events": "none" }
|
|
143
143
|
})
|
|
144
144
|
])), [
|
|
145
|
-
[
|
|
145
|
+
[g, t.$t("tooltip")]
|
|
146
146
|
])
|
|
147
147
|
])
|
|
148
|
-
]))), 128)) : (
|
|
148
|
+
]))), 128)) : (s(), i("div", {
|
|
149
149
|
key: 0,
|
|
150
150
|
style: { padding: "2em", "font-size": "14px", "text-align": "center", color: "hsl(0, 0%, 55%)", border: "1px solid hsl(0, 0%, 88%)", "border-radius": "6px" },
|
|
151
151
|
textContent: a(t.$t("placeholder"))
|
|
152
|
-
}, null, 8,
|
|
153
|
-
n("div",
|
|
152
|
+
}, null, 8, F)),
|
|
153
|
+
n("div", H, [
|
|
154
154
|
d(m, {
|
|
155
155
|
type: "info",
|
|
156
156
|
size: "16",
|
|
@@ -164,7 +164,7 @@ function Q(t, o, y, p, c, r) {
|
|
|
164
164
|
])
|
|
165
165
|
]);
|
|
166
166
|
}
|
|
167
|
-
const X = /* @__PURE__ */
|
|
167
|
+
const X = /* @__PURE__ */ C(E, [["render", Q], ["__scopeId", "data-v-d4e8613a"]]), Y = X, ee = ({ id: t }) => {
|
|
168
168
|
var o;
|
|
169
169
|
if (!u.$modal)
|
|
170
170
|
throw Error("Open client modal requires plugin vue-js-modal");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as n } from "./main-BayUZ9OO.js";
|
|
2
2
|
const i = (e) => {
|
|
3
3
|
if (e = n(e), Array.isArray(e)) return !!e.length;
|
|
4
4
|
if (e == null)
|
|
@@ -90,7 +90,7 @@ function h(e) {
|
|
|
90
90
|
return u(s, r);
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function I(e) {
|
|
94
94
|
return {
|
|
95
95
|
$validator: h(e),
|
|
96
96
|
$message: "The value is required",
|
|
@@ -103,7 +103,7 @@ function S(e) {
|
|
|
103
103
|
function l(e) {
|
|
104
104
|
return (r) => n(r) === n(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function S(e) {
|
|
107
107
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "other";
|
|
108
108
|
return {
|
|
109
109
|
$validator: l(e),
|
|
@@ -120,7 +120,7 @@ a(p);
|
|
|
120
120
|
function y(e) {
|
|
121
121
|
return (r) => !i(r) || (!/\s/.test(r) || r instanceof Date) && +r >= +n(e);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function T(e) {
|
|
124
124
|
return {
|
|
125
125
|
$validator: y(e),
|
|
126
126
|
$message: (r) => {
|
|
@@ -138,12 +138,12 @@ function j(e) {
|
|
|
138
138
|
a(/(^[0-9]*$)|(^-[0-9]+$)/);
|
|
139
139
|
a(/^[-]?\d*(\.\d+)?$/);
|
|
140
140
|
export {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
I as a,
|
|
142
|
+
L as b,
|
|
143
|
+
T as c,
|
|
144
144
|
A as e,
|
|
145
|
-
|
|
145
|
+
q as m,
|
|
146
146
|
b as n,
|
|
147
147
|
V as r,
|
|
148
|
-
|
|
148
|
+
S as s
|
|
149
149
|
};
|
|
@@ -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, ak as ue, b as v, t as l, q as g, da as ee, ae as L, db as ve, dc as be, dd as Ce, de as ke, df as Pe, cW as W, aC as J, dg as _e, i as T, s as A, m as N, a as B, aa as we, g as S, dh 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, ah as $e, ap as Te, di as xe, dj as Ie, dk as Ee, V as Me, an as z, dl as U, dm as te, dn as ne, a6 as G, aA as Le, k as X, $ as Ve, dp as He, cR as Be, a7 as Fe, aj as Ue } from "./main-BayUZ9OO.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-Bi0MjQdW.js";
|
|
4
|
+
import { C as Re } from "./CSelect-BpautzPq.js";
|
|
5
|
+
import { b as Ae } from "./CDropdownItem-E-kRDIiy.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-C3pnyYI4.js";
|
|
8
|
+
import { s as ze, a as qe, n as je, c as Ze, r as Ne, e as Ye } from "./index-XzoHqJIR.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,7 +751,7 @@ 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
756
|
window.$stripe = Stripe(T.stripe.publishableKey, {
|
|
757
757
|
locale: J.lang || "en"
|
|
@@ -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
|
},
|
|
@@ -1687,9 +1687,10 @@ function Zn(e, t, n, a, i, r) {
|
|
|
1687
1687
|
g(l(e.$t("region.label")) + " ", 1),
|
|
1688
1688
|
h(b, {
|
|
1689
1689
|
"model-value": e.formCustomer.region,
|
|
1690
|
-
"select-class": "input
|
|
1690
|
+
"select-class": "input",
|
|
1691
1691
|
placeholder: e.$t("region.placeholder"),
|
|
1692
|
-
"onUpdate:modelValue": t[15] || (t[15] = (p) => e.$emit("input", { key: "customer.region", value: p }))
|
|
1692
|
+
"onUpdate:modelValue": t[15] || (t[15] = (p) => e.$emit("input", { key: "customer.region", value: p })),
|
|
1693
|
+
filled: ""
|
|
1693
1694
|
}, {
|
|
1694
1695
|
default: f(() => [
|
|
1695
1696
|
(c(!0), d($, null, V(r.sortedRegions, ({ key: p, title: I }) => (c(), d("option", {
|
|
@@ -1883,7 +1884,7 @@ function Zn(e, t, n, a, i, r) {
|
|
|
1883
1884
|
})
|
|
1884
1885
|
]);
|
|
1885
1886
|
}
|
|
1886
|
-
const Nn = /* @__PURE__ */ _(vt, [["render", Zn], ["__scopeId", "data-v-
|
|
1887
|
+
const Nn = /* @__PURE__ */ _(vt, [["render", Zn], ["__scopeId", "data-v-4eb51708"]]), Yn = {
|
|
1887
1888
|
name: "PremiumStripeSelect",
|
|
1888
1889
|
i18nOptions: {
|
|
1889
1890
|
namespaces: "premiumStripeSelect",
|
|
@@ -2392,14 +2393,14 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2392
2393
|
return this.accountConfigName === "offerta";
|
|
2393
2394
|
},
|
|
2394
2395
|
disableQuantity() {
|
|
2395
|
-
return this.isOfferta &&
|
|
2396
|
+
return this.isOfferta && Me.value === "widget";
|
|
2396
2397
|
}
|
|
2397
2398
|
},
|
|
2398
2399
|
beforeCreate() {
|
|
2399
2400
|
this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", pe);
|
|
2400
2401
|
},
|
|
2401
2402
|
async created() {
|
|
2402
|
-
this.isOfferta &&
|
|
2403
|
+
this.isOfferta && Ee(gr), this.resetStripeForm(), await this.loadPrices(), await this.suggestQuantity(), await this.handlePossibleDeal(), this.isEdit = !!this.subscriptions.length;
|
|
2403
2404
|
},
|
|
2404
2405
|
methods: {
|
|
2405
2406
|
...N({
|
|
@@ -2415,7 +2416,7 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2415
2416
|
this.quantity = this.suggestedQuantity;
|
|
2416
2417
|
return;
|
|
2417
2418
|
}
|
|
2418
|
-
const { data: e } = await
|
|
2419
|
+
const { data: e } = await Ie();
|
|
2419
2420
|
this.quantity = e;
|
|
2420
2421
|
},
|
|
2421
2422
|
onReset() {
|
|
@@ -2452,7 +2453,7 @@ const fr = /* @__PURE__ */ _(Yn, [["render", hr], ["__scopeId", "data-v-14adef30
|
|
|
2452
2453
|
setFromDealToken(e) {
|
|
2453
2454
|
if (e)
|
|
2454
2455
|
try {
|
|
2455
|
-
const t =
|
|
2456
|
+
const t = xe(e);
|
|
2456
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) {
|
|
2457
2458
|
const n = [];
|
|
2458
2459
|
Object.keys(t.items).forEach((a) => {
|
|
@@ -2982,7 +2983,7 @@ const Gr = /* @__PURE__ */ _(Wr, [["render", Qr]]), Kr = {
|
|
|
2982
2983
|
},
|
|
2983
2984
|
created() {
|
|
2984
2985
|
try {
|
|
2985
|
-
|
|
2986
|
+
Ve("/documentLimitReached", {});
|
|
2986
2987
|
} catch (e) {
|
|
2987
2988
|
X(e, { showMessage: !1 });
|
|
2988
2989
|
}
|
|
@@ -3018,7 +3019,7 @@ const Gr = /* @__PURE__ */ _(Wr, [["render", Qr]]), Kr = {
|
|
|
3018
3019
|
await ne.post({ code: "freeUserDocs" }), G.setItem(
|
|
3019
3020
|
"voucher-freeUserDocs-company-id",
|
|
3020
3021
|
this.account.CompanyId
|
|
3021
|
-
), await this.loadCurrentCompany(),
|
|
3022
|
+
), await this.loadCurrentCompany(), Le(
|
|
3022
3023
|
"success",
|
|
3023
3024
|
this.$t("voucherSuccessMessage", { count: this.voucherDocCount })
|
|
3024
3025
|
), this.onUpgrade && typeof this.onUpgrade == "function" && this.onUpgrade(), this.$emit("close");
|
|
@@ -3506,9 +3507,9 @@ const Vi = /* @__PURE__ */ _(Mi, [["render", Li]]), Hi = Fe({
|
|
|
3506
3507
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3507
3508
|
export {
|
|
3508
3509
|
Je as C,
|
|
3509
|
-
|
|
3510
|
+
ge as I,
|
|
3510
3511
|
Hi as _,
|
|
3511
|
-
|
|
3512
|
+
Vi as a,
|
|
3512
3513
|
ji as i,
|
|
3513
3514
|
pe as s
|
|
3514
3515
|
};
|