gather-vue 8.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -0
- package/dist/.htaccess +1 -0
- package/dist/App-B7KWoHRH.js +160 -0
- package/dist/App-B7KWoHRH.js.gz +0 -0
- package/dist/App-C03tW0-W.js +405 -0
- package/dist/App-C03tW0-W.js.gz +0 -0
- package/dist/BannerExample-CRj1iMwh.js +77 -0
- package/dist/BannerExample-CRj1iMwh.js.gz +0 -0
- package/dist/BannerExample-DLN6d9M0.js +84 -0
- package/dist/BannerExample-DLN6d9M0.js.gz +0 -0
- package/dist/CallToAction-BbJ-zDFa.js +3493 -0
- package/dist/CallToAction-BbJ-zDFa.js.gz +0 -0
- package/dist/CallToAction-jAi8aaI-.js +35 -0
- package/dist/CallToAction-jAi8aaI-.js.gz +0 -0
- package/dist/Card-B1Pdd5BL.js +202 -0
- package/dist/Card-B1Pdd5BL.js.gz +0 -0
- package/dist/Card-qMo1jrfb.js +699 -0
- package/dist/Card-qMo1jrfb.js.gz +0 -0
- package/dist/CloseCardButton-CL_3xkAF.js +71 -0
- package/dist/CloseCardButton-CL_3xkAF.js.gz +0 -0
- package/dist/Editor-DXSZFkEM.js +149 -0
- package/dist/Editor-DXSZFkEM.js.gz +0 -0
- package/dist/EmailExistsView-CX1ijN0R.js +72 -0
- package/dist/EmailExistsView-CX1ijN0R.js.gz +0 -0
- package/dist/EmailInvitation-BVFicmrK.js +22 -0
- package/dist/EmailView-DdaSnKFq.js +84 -0
- package/dist/EmailView-DdaSnKFq.js.gz +0 -0
- package/dist/FriendBannerExample-C8QmPZyP.js +76 -0
- package/dist/FriendBannerExample-C8QmPZyP.js.gz +0 -0
- package/dist/FriendConfirmation-B-RemAoP.js +22 -0
- package/dist/FriendForm-CunLFX_H.js +255 -0
- package/dist/FriendForm-CunLFX_H.js.gz +0 -0
- package/dist/FriendOptIn-bp4udUYv.js +27 -0
- package/dist/FriendPending-cFjgyL8g.js +22 -0
- package/dist/FriendPitch-BhSs2eLR.js +19 -0
- package/dist/FriendPitch-CAS1c3Co.js +33 -0
- package/dist/FriendSuccess-uxEdomAY.js +22 -0
- package/dist/Invitations-hprUCIvW.js +27 -0
- package/dist/InviteRoot-Dima8d2G.js +252 -0
- package/dist/InviteRoot-Dima8d2G.js.gz +0 -0
- package/dist/LaunchButton-BQw42WVn.js +18 -0
- package/dist/MazBtn.1qp5aQ4N-DU0ii1Xr.js +103 -0
- package/dist/MazBtn.1qp5aQ4N-DU0ii1Xr.js.gz +0 -0
- package/dist/MazCheckbox.UAnkvAoS-pse3PCQf.js +149 -0
- package/dist/MazCheckbox.UAnkvAoS-pse3PCQf.js.gz +0 -0
- package/dist/MazIcon.B5hPzeLk-C20gse35.js +103 -0
- package/dist/MazIcon.B5hPzeLk-C20gse35.js.gz +0 -0
- package/dist/MazPhoneNumberInput-Cz50Ts4U.js +4751 -0
- package/dist/MazPhoneNumberInput-Cz50Ts4U.js.gz +0 -0
- package/dist/MazSpinner.DZT5jj-c-y1IYJMcd.js +34 -0
- package/dist/MazSpinner.DZT5jj-c-y1IYJMcd.js.gz +0 -0
- package/dist/Menu-BsKr40BO.js +21377 -0
- package/dist/Menu-BsKr40BO.js.gz +0 -0
- package/dist/Message-D4PAgcHO.js +22 -0
- package/dist/MessageCard-CC74qCir.js +74 -0
- package/dist/MessageCard-CC74qCir.js.gz +0 -0
- package/dist/MessageView-BKAIrwj7.js +88 -0
- package/dist/MessageView-BKAIrwj7.js.gz +0 -0
- package/dist/PendingApprovalCard-Dzs0UxBO.js +48 -0
- package/dist/PendingApprovalCard-Dzs0UxBO.js.gz +0 -0
- package/dist/PendingApprovalView-V-OUYSnK.js +33 -0
- package/dist/ReferralButton-CEue5qud.js +18 -0
- package/dist/ReferralFailedView-3Ua13t4V.js +74 -0
- package/dist/ReferralFailedView-3Ua13t4V.js.gz +0 -0
- package/dist/ReferredConfirmCard-iwgkcZCm.js +48 -0
- package/dist/ReferredConfirmCard-iwgkcZCm.js.gz +0 -0
- package/dist/ReferredConfirmView-DS1RNBwP.js +33 -0
- package/dist/ReferredSuccessCard-Dg-a4FYr.js +209 -0
- package/dist/ReferredSuccessCard-Dg-a4FYr.js.gz +0 -0
- package/dist/ReferredSuccessView-ChVztlUr.js +33 -0
- package/dist/ReferredView-7HezoVIA.js +98 -0
- package/dist/ReferredView-7HezoVIA.js.gz +0 -0
- package/dist/RewardCard-CwU2X2Yo.js +197 -0
- package/dist/RewardCard-CwU2X2Yo.js.gz +0 -0
- package/dist/Rewards-DdyEwCyy.js +27 -0
- package/dist/RewardsRoot-CnQfyjC6.js +198 -0
- package/dist/RewardsRoot-CnQfyjC6.js.gz +0 -0
- package/dist/Root-bUfnZpPP.js +17 -0
- package/dist/ShareInvitation-SAgC-8YA.js +22 -0
- package/dist/SignIn-CroW3mY6.js +36 -0
- package/dist/SignIn-CroW3mY6.js.gz +0 -0
- package/dist/SignIn-g32Hg2or.js +17 -0
- package/dist/SignInTextArea-DBRk6x09.js +17 -0
- package/dist/SignUpFormCard-Cail4V4M.js +287 -0
- package/dist/SignUpFormCard-Cail4V4M.js.gz +0 -0
- package/dist/SignUpView-a7LPgEeX.js +368 -0
- package/dist/SignUpView-a7LPgEeX.js.gz +0 -0
- package/dist/SignUpView-uujOX5hN.js +103 -0
- package/dist/SignUpView-uujOX5hN.js.gz +0 -0
- package/dist/SocialView-CbBZTB7Z.js +87 -0
- package/dist/SocialView-CbBZTB7Z.js.gz +0 -0
- package/dist/Stats-DtS-GXsI.js +22 -0
- package/dist/StatsView-fX-VznRc.js +90 -0
- package/dist/StatsView-fX-VznRc.js.gz +0 -0
- package/dist/Success-k06CZz0K.js +40 -0
- package/dist/Success-k06CZz0K.js.gz +0 -0
- package/dist/SuccessCard-C1iF1j2W.js +219 -0
- package/dist/SuccessCard-C1iF1j2W.js.gz +0 -0
- package/dist/SuccessView-CDUVkpSQ.js +77 -0
- package/dist/SuccessView-CDUVkpSQ.js.gz +0 -0
- package/dist/TextArea-DFfa9A93.js +17 -0
- package/dist/TextAreaCard-D_VfEHME.js +34 -0
- package/dist/TextAreaCard-D_VfEHME.js.gz +0 -0
- package/dist/UserView-DnD929IT.js +96 -0
- package/dist/UserView-DnD929IT.js.gz +0 -0
- package/dist/WhatsAppShare-B40Ouvds.js +59 -0
- package/dist/WhatsAppShare-B40Ouvds.js.gz +0 -0
- package/dist/agent-session-Xh6dZlhc.js +298 -0
- package/dist/agent-session-Xh6dZlhc.js.gz +0 -0
- package/dist/aggregate-base-C6N8Ymd5.js +830 -0
- package/dist/aggregate-base-C6N8Ymd5.js.gz +0 -0
- package/dist/bel-serializer-DMbFBZ6U.js +51 -0
- package/dist/bel-serializer-DMbFBZ6U.js.gz +0 -0
- package/dist/browser-q7cvfJ-2.js +366 -0
- package/dist/browser-q7cvfJ-2.js.gz +0 -0
- package/dist/cart.js +5 -0
- package/dist/cart.js.gz +0 -0
- package/dist/check.C9Q_W85g-DmgtOx7Q.js +30 -0
- package/dist/chevron-down.BkvtON3b-RNrTKYcy.js +30 -0
- package/dist/content-5VAQ1vQ0.js +4 -0
- package/dist/event-origin-BSW5uum9.js +13 -0
- package/dist/examples.mobile.json.tW3aL0qI-tW3aL0qI.js +4 -0
- package/dist/examples.mobile.json.tW3aL0qI-tW3aL0qI.js.gz +0 -0
- package/dist/eye-slash.BoO00xzs-CULY_lvM.js +30 -0
- package/dist/eye.f8zAUc30-Yr89kafZ.js +43 -0
- package/dist/eye.f8zAUc30-Yr89kafZ.js.gz +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/first-paint-B61SrVKm.js +453 -0
- package/dist/first-paint-B61SrVKm.js.gz +0 -0
- package/dist/gather-vue.css +5 -0
- package/dist/gather-vue.css.gz +0 -0
- package/dist/gather-widget.es.js +5 -0
- package/dist/gather-widget.umd.js +263 -0
- package/dist/gather-widget.umd.js.gz +0 -0
- package/dist/gather_widget.css +58 -0
- package/dist/gather_widget.css.gz +0 -0
- package/dist/gather_widget.js +72 -0
- package/dist/gather_widget.js.gz +0 -0
- package/dist/iframe-BELrOJ1p.js +6 -0
- package/dist/index-3lvNtPTE.js +327 -0
- package/dist/index-3lvNtPTE.js.gz +0 -0
- package/dist/index-BDyGxL1x.js +255 -0
- package/dist/index-BDyGxL1x.js.gz +0 -0
- package/dist/index-BF9haAFD.js +343 -0
- package/dist/index-BF9haAFD.js.gz +0 -0
- package/dist/index-BMIST_QA.js +128 -0
- package/dist/index-BMIST_QA.js.gz +0 -0
- package/dist/index-BdWnMhAc.js +235 -0
- package/dist/index-BdWnMhAc.js.gz +0 -0
- package/dist/index-BioZsJbf.js +190 -0
- package/dist/index-BioZsJbf.js.gz +0 -0
- package/dist/index-BzOcD8v-.js +166 -0
- package/dist/index-BzOcD8v-.js.gz +0 -0
- package/dist/index-C8pB9mUQ.js +147 -0
- package/dist/index-C8pB9mUQ.js.gz +0 -0
- package/dist/index-C_ougoWd.js +426 -0
- package/dist/index-C_ougoWd.js.gz +0 -0
- package/dist/index-CoRlIGDo.js +513 -0
- package/dist/index-CoRlIGDo.js.gz +0 -0
- package/dist/index-CyWBxUBS.js +291 -0
- package/dist/index-CyWBxUBS.js.gz +0 -0
- package/dist/index-DijQHge7.js +325 -0
- package/dist/index-DijQHge7.js.gz +0 -0
- package/dist/magnifying-glass.-nBiyXot-CuA_mltt.js +30 -0
- package/dist/main-DPldah1M.js +40243 -0
- package/dist/main-DPldah1M.js.gz +0 -0
- package/dist/nav-timing-B-TNQpyK.js +31 -0
- package/dist/nav-timing-B-TNQpyK.js.gz +0 -0
- package/dist/no-photography.BJX8HSus-BJX8HSus.js +4 -0
- package/dist/no-symbol.CIgKzsrB-3PuxVsDY.js +30 -0
- package/dist/recorder-PHZWRV-S.js +8271 -0
- package/dist/recorder-PHZWRV-S.js.gz +0 -0
- package/dist/stylesheet-evaluator-B4P289vW.js +86 -0
- package/dist/stylesheet-evaluator-B4P289vW.js.gz +0 -0
- package/dist/time-to-first-byte-kiwh1xjs.js +29 -0
- package/dist/traverse-Bw4y1x4D.js +8 -0
- package/dist/type-check-Bp684oBR.js +6 -0
- package/package.json +89 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { defineComponent as R, resolveComponent as d, createElementBlock as u, openBlock as a, createBlock as v, withModifiers as j, createElementVNode as I, createVNode as p, createCommentVNode as h, toDisplayString as c, Fragment as A, renderList as D, withCtx as b, createTextVNode as K } from "vue";
|
|
2
|
+
import { u as G } from "./index-CoRlIGDo.js";
|
|
3
|
+
import { a1 as H, a2 as J, a3 as Q, a4 as S, a5 as W, ak as X, am as Y, u as l, an as Z, _ as x } from "./main-DPldah1M.js";
|
|
4
|
+
const ee = R({
|
|
5
|
+
name: "FriendForm",
|
|
6
|
+
data: () => ({
|
|
7
|
+
form: {
|
|
8
|
+
name: "",
|
|
9
|
+
email: "",
|
|
10
|
+
phone: "",
|
|
11
|
+
formattedNumber: "",
|
|
12
|
+
select: [],
|
|
13
|
+
validNumber: !0,
|
|
14
|
+
subscribed: !1
|
|
15
|
+
},
|
|
16
|
+
error: void 0,
|
|
17
|
+
phoneFocused: !1,
|
|
18
|
+
sending: !1
|
|
19
|
+
}),
|
|
20
|
+
setup: () => ({ v$: G() }),
|
|
21
|
+
computed: {
|
|
22
|
+
salesBased() {
|
|
23
|
+
return l().salesBased;
|
|
24
|
+
},
|
|
25
|
+
theme() {
|
|
26
|
+
var r;
|
|
27
|
+
return (r = l().referralCampaign) == null ? void 0 : r.config.theme;
|
|
28
|
+
},
|
|
29
|
+
showConsent() {
|
|
30
|
+
var r, o, i, s;
|
|
31
|
+
const e = l();
|
|
32
|
+
return this.salesBased ? ((r = e.referralCampaign) == null ? void 0 : r.config.friend_opt_in.form.subscribe.enabled_sales) && !((o = e.referralCampaign) != null && o.config.friend_opt_in.form.subscribe.on_form_submit_sales) : ((i = e.referralCampaign) == null ? void 0 : i.config.friend_opt_in.form.subscribe.enabled_subscriber) && !((s = e.referralCampaign) != null && s.config.friend_opt_in.form.subscribe.on_form_submit_subscriber);
|
|
33
|
+
},
|
|
34
|
+
referrerName() {
|
|
35
|
+
var r;
|
|
36
|
+
return l().friend.referrerName || ((r = this.content) == null ? void 0 : r.your_friend);
|
|
37
|
+
},
|
|
38
|
+
loaded() {
|
|
39
|
+
return l().friend.loaded;
|
|
40
|
+
},
|
|
41
|
+
nameErrors() {
|
|
42
|
+
var e, r;
|
|
43
|
+
return this.v$.form.name.$dirty ? this.v$.form.name.required.$invalid ? [((e = this.content) == null ? void 0 : e.form.name.required_error) || ""] : this.v$.form.name.minLength.$invalid ? [((r = this.content) == null ? void 0 : r.form.name.name_error) || ""] : [] : [];
|
|
44
|
+
},
|
|
45
|
+
emailErrors() {
|
|
46
|
+
var e, r;
|
|
47
|
+
return this.v$.form.email.$dirty ? this.v$.form.email.required.$invalid ? [((e = this.content) == null ? void 0 : e.form.email.required_error) || ""] : this.v$.form.email.email.$invalid ? [((r = this.content) == null ? void 0 : r.form.email.email_error) || ""] : [] : [];
|
|
48
|
+
},
|
|
49
|
+
phoneErrors() {
|
|
50
|
+
var r, o, i, s, m;
|
|
51
|
+
return (m = (s = (i = (o = (r = l().referralCampaign) == null ? void 0 : r.config) == null ? void 0 : o.friend_opt_in) == null ? void 0 : i.form) == null ? void 0 : s.phone) != null && m.enabled ? this.v$.form.phone.$dirty ? this.v$.form.phone.required.$invalid ? ["The phone is required"] : this.v$.form.phone.$model && this.v$.form.phone.validPhoneNumber.$invalid ? ["The phone number is invalid"] : [] : [] : [];
|
|
52
|
+
},
|
|
53
|
+
selectErrors() {
|
|
54
|
+
return this.v$.form.select.$dirty ? this.v$.form.select.required.$invalid ? ["The value is required"] : [] : [];
|
|
55
|
+
},
|
|
56
|
+
content() {
|
|
57
|
+
var r;
|
|
58
|
+
return (r = l().referralCampaign) == null ? void 0 : r.config.friend_opt_in;
|
|
59
|
+
},
|
|
60
|
+
onFormSubmit() {
|
|
61
|
+
var r, o;
|
|
62
|
+
const e = l();
|
|
63
|
+
return this.salesBased ? (r = e.referralCampaign) == null ? void 0 : r.config.friend_opt_in.form.subscribe.on_form_submit_sales : (o = e.referralCampaign) == null ? void 0 : o.config.friend_opt_in.form.subscribe.on_form_submit_subscriber;
|
|
64
|
+
},
|
|
65
|
+
subscribedValue() {
|
|
66
|
+
return this.onFormSubmit ? !0 : this.showConsent ? this.form.subscribed : !1;
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
validations: () => {
|
|
70
|
+
var e, r, o, i, s, m, t, f;
|
|
71
|
+
return {
|
|
72
|
+
form: {
|
|
73
|
+
name: {
|
|
74
|
+
required: S,
|
|
75
|
+
minLength: W(3)
|
|
76
|
+
},
|
|
77
|
+
email: {
|
|
78
|
+
required: S,
|
|
79
|
+
email: Q
|
|
80
|
+
},
|
|
81
|
+
phone: J((i = (o = (r = (e = l().referralCampaign) == null ? void 0 : e.config) == null ? void 0 : r.friend_opt_in) == null ? void 0 : o.form) == null ? void 0 : i.phone),
|
|
82
|
+
select: H((f = (t = (m = (s = l().referralCampaign) == null ? void 0 : s.config) == null ? void 0 : m.friend_opt_in) == null ? void 0 : t.form) == null ? void 0 : f.select)
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
methods: {
|
|
87
|
+
phoneNumberFocused() {
|
|
88
|
+
this.phoneFocused = !0;
|
|
89
|
+
},
|
|
90
|
+
phoneNumberBlur() {
|
|
91
|
+
this.phoneFocused = !1;
|
|
92
|
+
},
|
|
93
|
+
updateFormattedNumber(e) {
|
|
94
|
+
this.form.validNumber = e.isValid, this.form.formattedNumber = e.e164;
|
|
95
|
+
},
|
|
96
|
+
async validateUser() {
|
|
97
|
+
this.phoneFocused && !this.form.validNumber || (this.v$.$reset(), this.v$.$touch(), this.v$.$invalid || await this.saveUser());
|
|
98
|
+
},
|
|
99
|
+
async saveUser() {
|
|
100
|
+
var r, o, i, s, m;
|
|
101
|
+
this.sending = !0;
|
|
102
|
+
let e = null;
|
|
103
|
+
try {
|
|
104
|
+
e = await X(Y());
|
|
105
|
+
} catch (t) {
|
|
106
|
+
console.error(t);
|
|
107
|
+
}
|
|
108
|
+
try {
|
|
109
|
+
const t = e ? e.data.ip : "", f = l();
|
|
110
|
+
await f.submitFriendOptIn({
|
|
111
|
+
ipAddress: t,
|
|
112
|
+
subscribed: this.subscribedValue,
|
|
113
|
+
fingerprint: { ...Z(), ipAddress: t },
|
|
114
|
+
name: this.form.name,
|
|
115
|
+
email: this.form.email,
|
|
116
|
+
phone: this.form.formattedNumber,
|
|
117
|
+
select: this.form.select,
|
|
118
|
+
selectKey: (m = (s = (i = (o = (r = f.referralCampaign) == null ? void 0 : r.config) == null ? void 0 : o.friend_opt_in) == null ? void 0 : i.form) == null ? void 0 : s.select) == null ? void 0 : m.key
|
|
119
|
+
});
|
|
120
|
+
} catch (t) {
|
|
121
|
+
console.error(t), this.error = t, this.sending = !1;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}), re = { class: "text-h5 text-center" }, ne = { class: "text-subtitle-2 text-center" }, oe = {
|
|
126
|
+
key: 1,
|
|
127
|
+
id: "vue-phone-number-input-error"
|
|
128
|
+
}, te = {
|
|
129
|
+
key: 4,
|
|
130
|
+
class: "friend-form-errors"
|
|
131
|
+
}, ie = { key: 0 }, se = { key: 1 };
|
|
132
|
+
function ae(e, r, o, i, s, m) {
|
|
133
|
+
var _, $, y, V, N, k, F, C, E, U, w, B;
|
|
134
|
+
const t = d("v-text-field"), f = d("MazPhoneNumberInput"), L = d("v-select"), T = d("v-checkbox"), M = d("v-icon"), O = d("v-btn"), P = d("v-row"), g = d("v-container"), z = d("v-progress-circular");
|
|
135
|
+
return a(), u("div", null, [
|
|
136
|
+
e.loaded ? (a(), u("form", {
|
|
137
|
+
key: 0,
|
|
138
|
+
novalidate: "",
|
|
139
|
+
id: "submission-form",
|
|
140
|
+
onSubmit: r[5] || (r[5] = j((...n) => e.validateUser && e.validateUser(...n), ["prevent"]))
|
|
141
|
+
}, [
|
|
142
|
+
I("div", re, c((_ = e.content) == null ? void 0 : _.title) + " " + c(e.referrerName), 1),
|
|
143
|
+
I("div", ne, c(($ = e.content) == null ? void 0 : $.subtitle), 1),
|
|
144
|
+
p(t, {
|
|
145
|
+
id: "name-field",
|
|
146
|
+
variant: ((y = e.theme) == null ? void 0 : y.form_input_style) || "underlined",
|
|
147
|
+
label: (V = e.content) == null ? void 0 : V.form.name.field_label,
|
|
148
|
+
modelValue: e.form.name,
|
|
149
|
+
"onUpdate:modelValue": r[0] || (r[0] = (n) => e.form.name = n),
|
|
150
|
+
disabled: e.sending,
|
|
151
|
+
"error-messages": e.nameErrors,
|
|
152
|
+
hint: (N = e.content) == null ? void 0 : N.form.name.helper_text,
|
|
153
|
+
"append-icon": "mdi-emoticon-outline"
|
|
154
|
+
}, null, 8, ["variant", "label", "modelValue", "disabled", "error-messages", "hint"]),
|
|
155
|
+
p(t, {
|
|
156
|
+
id: "email-field",
|
|
157
|
+
variant: ((k = e.theme) == null ? void 0 : k.form_input_style) || "underlined",
|
|
158
|
+
type: "email",
|
|
159
|
+
modelValue: e.form.email,
|
|
160
|
+
"onUpdate:modelValue": r[1] || (r[1] = (n) => e.form.email = n),
|
|
161
|
+
label: (F = e.content) == null ? void 0 : F.form.email.field_label,
|
|
162
|
+
disabled: e.sending,
|
|
163
|
+
"error-messages": e.emailErrors,
|
|
164
|
+
hint: (C = e.content) == null ? void 0 : C.form.email.helper_text,
|
|
165
|
+
"append-icon": "mdi-email-outline"
|
|
166
|
+
}, null, 8, ["variant", "modelValue", "label", "disabled", "error-messages", "hint"]),
|
|
167
|
+
(E = e.content) != null && E.form.phone.enabled ? (a(), v(f, {
|
|
168
|
+
key: 0,
|
|
169
|
+
class: "phone-field",
|
|
170
|
+
modelValue: e.form.phone,
|
|
171
|
+
"onUpdate:modelValue": r[2] || (r[2] = (n) => e.form.phone = n),
|
|
172
|
+
block: !0,
|
|
173
|
+
error: e.v$.form.phone.$dirty && e.phoneErrors.length > 0,
|
|
174
|
+
"default-country-code": e.content.form.phone.default_country_code ? e.content.form.phone.default_country_code : void 0,
|
|
175
|
+
hint: e.phoneFocused ? e.content.form.phone.helper_text : e.content.form.phone.field_label,
|
|
176
|
+
"no-radius": !0,
|
|
177
|
+
"no-border": !0,
|
|
178
|
+
success: e.form.formattedNumber ? e.form.validNumber : !0,
|
|
179
|
+
onUpdate: e.updateFormattedNumber,
|
|
180
|
+
onFocus: e.phoneNumberFocused,
|
|
181
|
+
onBlur: e.phoneNumberBlur
|
|
182
|
+
}, null, 8, ["modelValue", "error", "default-country-code", "hint", "success", "onUpdate", "onFocus", "onBlur"])) : h("", !0),
|
|
183
|
+
e.phoneErrors.length > 0 ? (a(), u("div", oe, [
|
|
184
|
+
(a(!0), u(A, null, D(e.phoneErrors, (n) => (a(), u("div", {
|
|
185
|
+
key: n,
|
|
186
|
+
class: "caption red--text"
|
|
187
|
+
}, c(n), 1))), 128))
|
|
188
|
+
])) : h("", !0),
|
|
189
|
+
(U = e.content) != null && U.form.select.enabled ? (a(), v(L, {
|
|
190
|
+
key: 2,
|
|
191
|
+
modelValue: e.form.select,
|
|
192
|
+
"onUpdate:modelValue": r[3] || (r[3] = (n) => e.form.select = n),
|
|
193
|
+
variant: ((w = e.theme) == null ? void 0 : w.form_input_style) || "underlined",
|
|
194
|
+
label: e.content.form.select.field_label,
|
|
195
|
+
hint: e.content.form.select.helper_text,
|
|
196
|
+
items: e.content.form.select.options.split(","),
|
|
197
|
+
multiple: e.content.form.select.condition === "multiple",
|
|
198
|
+
"persistent-hint": "",
|
|
199
|
+
"error-messages": e.selectErrors
|
|
200
|
+
}, null, 8, ["modelValue", "variant", "label", "hint", "items", "multiple", "error-messages"])) : h("", !0),
|
|
201
|
+
e.showConsent ? (a(), v(T, {
|
|
202
|
+
key: 3,
|
|
203
|
+
modelValue: e.form.subscribed,
|
|
204
|
+
"onUpdate:modelValue": r[4] || (r[4] = (n) => e.form.subscribed = n),
|
|
205
|
+
disabled: e.sending,
|
|
206
|
+
label: (B = e.content) == null ? void 0 : B.form.subscribe.field_label
|
|
207
|
+
}, null, 8, ["modelValue", "disabled", "label"])) : h("", !0),
|
|
208
|
+
e.error ? (a(), u("span", te, " It looks like you may have already signed up or there are no further rewards ")) : h("", !0),
|
|
209
|
+
p(g, { class: "align-center" }, {
|
|
210
|
+
default: b(() => [
|
|
211
|
+
p(P, null, {
|
|
212
|
+
default: b(() => [
|
|
213
|
+
p(O, {
|
|
214
|
+
type: "submit",
|
|
215
|
+
class: "text-center mx-auto",
|
|
216
|
+
disabled: e.sending
|
|
217
|
+
}, {
|
|
218
|
+
default: b(() => {
|
|
219
|
+
var n, q;
|
|
220
|
+
return [
|
|
221
|
+
p(M, { left: "" }, {
|
|
222
|
+
default: b(() => r[6] || (r[6] = [
|
|
223
|
+
K("mdi-check-bold")
|
|
224
|
+
])),
|
|
225
|
+
_: 1
|
|
226
|
+
}),
|
|
227
|
+
e.sending ? (a(), u("span", ie, c((n = e.content) == null ? void 0 : n.form.button.active_title), 1)) : (a(), u("span", se, c((q = e.content) == null ? void 0 : q.form.button.title), 1))
|
|
228
|
+
];
|
|
229
|
+
}),
|
|
230
|
+
_: 1
|
|
231
|
+
}, 8, ["disabled"])
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
})
|
|
235
|
+
]),
|
|
236
|
+
_: 1
|
|
237
|
+
})
|
|
238
|
+
], 32)) : (a(), v(g, {
|
|
239
|
+
key: 1,
|
|
240
|
+
"justify-center": ""
|
|
241
|
+
}, {
|
|
242
|
+
default: b(() => [
|
|
243
|
+
p(z, {
|
|
244
|
+
indeterminate: "",
|
|
245
|
+
color: "black"
|
|
246
|
+
})
|
|
247
|
+
]),
|
|
248
|
+
_: 1
|
|
249
|
+
}))
|
|
250
|
+
]);
|
|
251
|
+
}
|
|
252
|
+
const ue = /* @__PURE__ */ x(ee, [["render", ae], ["__scopeId", "data-v-1afa37d8"], ["__file", "/Users/dominic/Code/gather-vue/src/components/referral_campaign/referred/FriendForm.vue"]]);
|
|
253
|
+
export {
|
|
254
|
+
ue as F
|
|
255
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as p, resolveComponent as e, createBlock as _, openBlock as d, withCtx as n, createVNode as t } from "vue";
|
|
2
|
+
import { F as a } from "./FriendForm-CunLFX_H.js";
|
|
3
|
+
import { _ as s } from "./main-DPldah1M.js";
|
|
4
|
+
const i = p({
|
|
5
|
+
name: "FriendOptInBlock",
|
|
6
|
+
components: {
|
|
7
|
+
FriendOptIn: a
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
function m(l, f, u, F, v, I) {
|
|
11
|
+
const o = e("FriendOptIn", !0), r = e("v-card-text"), c = e("v-card");
|
|
12
|
+
return d(), _(c, null, {
|
|
13
|
+
default: n(() => [
|
|
14
|
+
t(r, null, {
|
|
15
|
+
default: n(() => [
|
|
16
|
+
t(o)
|
|
17
|
+
]),
|
|
18
|
+
_: 1
|
|
19
|
+
})
|
|
20
|
+
]),
|
|
21
|
+
_: 1
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
const k = /* @__PURE__ */ s(i, [["render", m], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/blocks/referral_campaign/FriendOptIn.vue"]]);
|
|
25
|
+
export {
|
|
26
|
+
k as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as r, resolveComponent as e, createBlock as t, openBlock as c, withCtx as a, createVNode as d } from "vue";
|
|
2
|
+
import { P as p } from "./PendingApprovalCard-Dzs0UxBO.js";
|
|
3
|
+
import { _ as i } from "./main-DPldah1M.js";
|
|
4
|
+
const s = r({
|
|
5
|
+
name: "FriendPendingBlock",
|
|
6
|
+
components: {
|
|
7
|
+
PendingApprovalCard: p
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
function _(m, l, f, g, u, v) {
|
|
11
|
+
const n = e("PendingApprovalCard"), o = e("v-card");
|
|
12
|
+
return c(), t(o, null, {
|
|
13
|
+
default: a(() => [
|
|
14
|
+
d(n)
|
|
15
|
+
]),
|
|
16
|
+
_: 1
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const x = /* @__PURE__ */ i(s, [["render", _], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/blocks/referral_campaign/FriendPending.vue"]]);
|
|
20
|
+
export {
|
|
21
|
+
x as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineComponent as o, resolveComponent as n, createElementBlock as r, openBlock as t, createVNode as c } from "vue";
|
|
2
|
+
import { F as i } from "./FriendPitch-CAS1c3Co.js";
|
|
3
|
+
import { _ as s } from "./main-DPldah1M.js";
|
|
4
|
+
const d = o({
|
|
5
|
+
name: "FriendPitchBlock",
|
|
6
|
+
components: {
|
|
7
|
+
FriendPitch: i
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
function m(p, a, _, f, l, h) {
|
|
11
|
+
const e = n("FriendPitch", !0);
|
|
12
|
+
return t(), r("div", null, [
|
|
13
|
+
c(e)
|
|
14
|
+
]);
|
|
15
|
+
}
|
|
16
|
+
const $ = /* @__PURE__ */ s(d, [["render", m], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/blocks/referral_campaign/FriendPitch.vue"]]);
|
|
17
|
+
export {
|
|
18
|
+
$ as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as c, resolveComponent as s, createElementBlock as l, openBlock as n, createBlock as o } from "vue";
|
|
2
|
+
import { u as i, _ as d } from "./main-DPldah1M.js";
|
|
3
|
+
const a = c({
|
|
4
|
+
name: "FriendPitch",
|
|
5
|
+
computed: {
|
|
6
|
+
welcomeHtml() {
|
|
7
|
+
var e;
|
|
8
|
+
return (e = i().friend) == null ? void 0 : e.welcomeHtml;
|
|
9
|
+
},
|
|
10
|
+
friendPitch() {
|
|
11
|
+
var e;
|
|
12
|
+
return (e = i().referralCampaign) == null ? void 0 : e.config.friend_pitch.body;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
function m(r, e, f, p, u, _) {
|
|
17
|
+
const t = s("v-card-text");
|
|
18
|
+
return n(), l("div", null, [
|
|
19
|
+
r.friendPitch ? (n(), o(t, {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "quill-styling",
|
|
22
|
+
innerHTML: r.friendPitch
|
|
23
|
+
}, null, 8, ["innerHTML"])) : (n(), o(t, {
|
|
24
|
+
key: 1,
|
|
25
|
+
class: "quill-styling",
|
|
26
|
+
innerHTML: r.welcomeHtml
|
|
27
|
+
}, null, 8, ["innerHTML"]))
|
|
28
|
+
]);
|
|
29
|
+
}
|
|
30
|
+
const g = /* @__PURE__ */ d(a, [["render", m], ["__file", "/Users/dominic/Code/gather-vue/src/components/referral_campaign/referred/FriendPitch.vue"]]);
|
|
31
|
+
export {
|
|
32
|
+
g as F
|
|
33
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as o, resolveComponent as e, createBlock as n, openBlock as s, withCtx as t, createVNode as a } from "vue";
|
|
2
|
+
import { R as d } from "./ReferredSuccessCard-Dg-a4FYr.js";
|
|
3
|
+
import { _ } from "./main-DPldah1M.js";
|
|
4
|
+
const p = o({
|
|
5
|
+
name: "FriendSuccessBlock",
|
|
6
|
+
components: {
|
|
7
|
+
ReferredSuccessCard: d
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
function i(m, f, u, l, C, S) {
|
|
11
|
+
const r = e("ReferredSuccessCard"), c = e("v-card");
|
|
12
|
+
return s(), n(c, null, {
|
|
13
|
+
default: t(() => [
|
|
14
|
+
a(r)
|
|
15
|
+
]),
|
|
16
|
+
_: 1
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const R = /* @__PURE__ */ _(p, [["render", i], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/blocks/referral_campaign/FriendSuccess.vue"]]);
|
|
20
|
+
export {
|
|
21
|
+
R as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as a, resolveComponent as o, createBlock as s, openBlock as _, withCtx as t, createVNode as e } from "vue";
|
|
2
|
+
import { I as i } from "./InviteRoot-Dima8d2G.js";
|
|
3
|
+
import { _ as p } from "./main-DPldah1M.js";
|
|
4
|
+
const m = a({
|
|
5
|
+
name: "InvitationsBlock",
|
|
6
|
+
components: {
|
|
7
|
+
InviteRoot: i
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
function d(l, f, v, u, I, x) {
|
|
11
|
+
const n = o("InviteRoot"), c = o("v-card-text"), r = o("v-card");
|
|
12
|
+
return _(), s(r, null, {
|
|
13
|
+
default: t(() => [
|
|
14
|
+
e(c, null, {
|
|
15
|
+
default: t(() => [
|
|
16
|
+
e(n)
|
|
17
|
+
]),
|
|
18
|
+
_: 1
|
|
19
|
+
})
|
|
20
|
+
]),
|
|
21
|
+
_: 1
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
const h = /* @__PURE__ */ p(m, [["render", d], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/blocks/referral_campaign/Invitations.vue"]]);
|
|
25
|
+
export {
|
|
26
|
+
h as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { defineComponent as j, resolveComponent as i, createElementBlock as p, openBlock as r, createVNode as l, normalizeClass as O, withCtx as o, createTextVNode as c, toDisplayString as a, withDirectives as Q, vShow as W, createElementVNode as b, createCommentVNode as s, createBlock as n } from "vue";
|
|
2
|
+
import { _ as F, C as X, a6 as y, u as g } from "./main-DPldah1M.js";
|
|
3
|
+
const Z = j({
|
|
4
|
+
name: "InviteListItem",
|
|
5
|
+
props: ["action", "icon", "title", "subtitle", "itemclass"]
|
|
6
|
+
});
|
|
7
|
+
function x(e, t, h, G, H, J) {
|
|
8
|
+
const f = i("v-icon"), u = i("v-list-item-title"), m = i("v-list-item-subtitle"), k = i("v-btn"), v = i("v-list-item");
|
|
9
|
+
return r(), p("div", null, [
|
|
10
|
+
l(v, {
|
|
11
|
+
"two-line": "",
|
|
12
|
+
onClick: e.action,
|
|
13
|
+
class: O(e.itemclass + " py-2")
|
|
14
|
+
}, {
|
|
15
|
+
prepend: o(() => [
|
|
16
|
+
Q(l(f, { size: "x-large" }, {
|
|
17
|
+
default: o(() => [
|
|
18
|
+
c(a(e.icon), 1)
|
|
19
|
+
]),
|
|
20
|
+
_: 1
|
|
21
|
+
}, 512), [
|
|
22
|
+
[W, e.$vuetify.display.width > 350]
|
|
23
|
+
])
|
|
24
|
+
]),
|
|
25
|
+
append: o(() => [
|
|
26
|
+
l(k, {
|
|
27
|
+
icon: "",
|
|
28
|
+
ripple: !1,
|
|
29
|
+
elevation: 0,
|
|
30
|
+
size: "x-small"
|
|
31
|
+
}, {
|
|
32
|
+
default: o(() => [
|
|
33
|
+
l(f, null, {
|
|
34
|
+
default: o(() => t[0] || (t[0] = [
|
|
35
|
+
c("mdi-chevron-right")
|
|
36
|
+
])),
|
|
37
|
+
_: 1
|
|
38
|
+
})
|
|
39
|
+
]),
|
|
40
|
+
_: 1
|
|
41
|
+
})
|
|
42
|
+
]),
|
|
43
|
+
default: o(() => [
|
|
44
|
+
l(u, { class: "wrapped-subtitle" }, {
|
|
45
|
+
default: o(() => [
|
|
46
|
+
c(a(e.title), 1)
|
|
47
|
+
]),
|
|
48
|
+
_: 1
|
|
49
|
+
}),
|
|
50
|
+
l(m, { class: "wrapped-subtitle" }, {
|
|
51
|
+
default: o(() => [
|
|
52
|
+
c(a(e.subtitle), 1)
|
|
53
|
+
]),
|
|
54
|
+
_: 1
|
|
55
|
+
})
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
}, 8, ["onClick", "class"])
|
|
59
|
+
]);
|
|
60
|
+
}
|
|
61
|
+
const ee = /* @__PURE__ */ F(Z, [["render", x], ["__scopeId", "data-v-fc4c0d18"], ["__file", "/Users/dominic/Code/gather-vue/src/components/referral_campaign/user/invite/InviteListItem.vue"]]), te = j({
|
|
62
|
+
name: "InviteRoot",
|
|
63
|
+
data() {
|
|
64
|
+
return {
|
|
65
|
+
copied: !1
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
components: {
|
|
69
|
+
InviteListItem: ee,
|
|
70
|
+
CustomTheme: X
|
|
71
|
+
},
|
|
72
|
+
computed: {
|
|
73
|
+
content() {
|
|
74
|
+
var t;
|
|
75
|
+
return (t = g().referralCampaign) == null ? void 0 : t.config.invite;
|
|
76
|
+
},
|
|
77
|
+
referral() {
|
|
78
|
+
return g().referral;
|
|
79
|
+
},
|
|
80
|
+
referralUrlReady() {
|
|
81
|
+
return !g().referralUrlPending;
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
methods: {
|
|
85
|
+
showSocial() {
|
|
86
|
+
y("Push: /embedded_referral/social"), this.$router.push({ path: "/embedded_referral/social" });
|
|
87
|
+
},
|
|
88
|
+
showMessageInvite() {
|
|
89
|
+
y("Push: /embedded_referral/message"), this.$router.push({ path: "/embedded_referral/message" });
|
|
90
|
+
},
|
|
91
|
+
showEmail() {
|
|
92
|
+
y("Push: /embedded_referral/email"), this.$router.push({ path: "/embedded_referral/email" });
|
|
93
|
+
},
|
|
94
|
+
copyUrl() {
|
|
95
|
+
var t;
|
|
96
|
+
y("Copy URL");
|
|
97
|
+
const e = document.querySelector("#referrer-copy");
|
|
98
|
+
e.setAttribute("type", "text"), e.select();
|
|
99
|
+
try {
|
|
100
|
+
document.execCommand("copy");
|
|
101
|
+
} catch (h) {
|
|
102
|
+
console.error(h);
|
|
103
|
+
}
|
|
104
|
+
e.setAttribute("type", "hidden"), (t = window == null ? void 0 : window.getSelection()) == null || t.removeAllRanges(), this.copied = !0, setTimeout(() => {
|
|
105
|
+
this.copied = !1;
|
|
106
|
+
}, 1500);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}), oe = { id: "gc-invite-1" }, re = { class: "text-h5 text-center" }, ie = { class: "text-subtitle-2 text-center" }, ne = {
|
|
110
|
+
key: 0,
|
|
111
|
+
class: "text-center mt-4"
|
|
112
|
+
}, se = {
|
|
113
|
+
id: "url-text",
|
|
114
|
+
class: "text-center"
|
|
115
|
+
}, le = ["value"], ae = {
|
|
116
|
+
key: 2,
|
|
117
|
+
class: "text-center"
|
|
118
|
+
};
|
|
119
|
+
function ce(e, t, h, G, H, J) {
|
|
120
|
+
var w, I, U, $, M, R, L, S;
|
|
121
|
+
const f = i("CustomTheme"), u = i("InviteListItem"), m = i("v-divider"), k = i("v-list"), v = i("v-icon"), _ = i("v-col"), C = i("v-row"), K = i("v-container");
|
|
122
|
+
return r(), p("div", oe, [
|
|
123
|
+
l(f),
|
|
124
|
+
b("div", re, a((w = e.content) == null ? void 0 : w.title), 1),
|
|
125
|
+
b("div", ie, a((I = e.content) == null ? void 0 : I.subtitle), 1),
|
|
126
|
+
l(k, null, {
|
|
127
|
+
default: o(() => {
|
|
128
|
+
var d, T, z, E, A, N, P, V, q, B, D, Y;
|
|
129
|
+
return [
|
|
130
|
+
(d = e.referral) != null && d.referralMode.email ? (r(), n(u, {
|
|
131
|
+
key: 0,
|
|
132
|
+
icon: "mdi-email-outline",
|
|
133
|
+
title: (T = e.content) == null ? void 0 : T.email.title,
|
|
134
|
+
subtitle: (z = e.content) == null ? void 0 : z.email.subtitle,
|
|
135
|
+
action: e.showEmail,
|
|
136
|
+
itemclass: "email-invite-list-item"
|
|
137
|
+
}, null, 8, ["title", "subtitle", "action"])) : s("", !0),
|
|
138
|
+
(E = e.referral) != null && E.referralMode.email ? (r(), n(m, { key: 1 })) : s("", !0),
|
|
139
|
+
(A = e.referral) != null && A.referralMode.facebook ? (r(), n(u, {
|
|
140
|
+
key: 2,
|
|
141
|
+
icon: "mdi-facebook",
|
|
142
|
+
title: (N = e.content) == null ? void 0 : N.facebook.title,
|
|
143
|
+
subtitle: (P = e.content) == null ? void 0 : P.facebook.subtitle,
|
|
144
|
+
action: e.showSocial,
|
|
145
|
+
itemclass: "facebook-invite-list-item"
|
|
146
|
+
}, null, 8, ["title", "subtitle", "action"])) : s("", !0),
|
|
147
|
+
(V = e.referral) != null && V.referralMode.facebook ? (r(), n(m, { key: 3 })) : s("", !0),
|
|
148
|
+
(q = e.referral) != null && q.referralMode.facebook ? (r(), n(u, {
|
|
149
|
+
key: 4,
|
|
150
|
+
icon: "mdi-whatsapp",
|
|
151
|
+
title: (B = e.content) == null ? void 0 : B.message.title,
|
|
152
|
+
subtitle: (D = e.content) == null ? void 0 : D.message.subtitle,
|
|
153
|
+
action: e.showMessageInvite,
|
|
154
|
+
itemclass: "whatsapp-invite-list-item"
|
|
155
|
+
}, null, 8, ["title", "subtitle", "action"])) : s("", !0),
|
|
156
|
+
(Y = e.referral) != null && Y.referralMode.facebook ? (r(), n(m, { key: 5 })) : s("", !0)
|
|
157
|
+
];
|
|
158
|
+
}),
|
|
159
|
+
_: 1
|
|
160
|
+
}),
|
|
161
|
+
(U = e.referral) != null && U.referralMode.link ? (r(), p("div", ne, a(($ = e.content) == null ? void 0 : $.link.title), 1)) : s("", !0),
|
|
162
|
+
(M = e.referral) != null && M.referralMode.link ? (r(), n(K, {
|
|
163
|
+
key: 1,
|
|
164
|
+
id: "referrer-url-box",
|
|
165
|
+
class: "text-center ma-0",
|
|
166
|
+
onClick: e.copyUrl
|
|
167
|
+
}, {
|
|
168
|
+
default: o(() => [
|
|
169
|
+
e.referralUrlReady ? (r(), n(C, {
|
|
170
|
+
key: 0,
|
|
171
|
+
"no-gutters": ""
|
|
172
|
+
}, {
|
|
173
|
+
default: o(() => [
|
|
174
|
+
e.copied ? (r(), n(_, {
|
|
175
|
+
key: 0,
|
|
176
|
+
cols: "12",
|
|
177
|
+
class: "text-center"
|
|
178
|
+
}, {
|
|
179
|
+
default: o(() => [
|
|
180
|
+
l(v, { size: "small" }, {
|
|
181
|
+
default: o(() => t[1] || (t[1] = [
|
|
182
|
+
c("mdi-check")
|
|
183
|
+
])),
|
|
184
|
+
_: 1
|
|
185
|
+
}),
|
|
186
|
+
t[2] || (t[2] = c(" Copied "))
|
|
187
|
+
]),
|
|
188
|
+
_: 1
|
|
189
|
+
})) : (r(), n(_, {
|
|
190
|
+
key: 1,
|
|
191
|
+
cols: "11",
|
|
192
|
+
class: "text-center"
|
|
193
|
+
}, {
|
|
194
|
+
default: o(() => {
|
|
195
|
+
var d;
|
|
196
|
+
return [
|
|
197
|
+
b("div", se, a((d = e.referral) == null ? void 0 : d.uniqueUrl), 1)
|
|
198
|
+
];
|
|
199
|
+
}),
|
|
200
|
+
_: 1
|
|
201
|
+
})),
|
|
202
|
+
l(_, { class: "text-right" }, {
|
|
203
|
+
default: o(() => [
|
|
204
|
+
e.copied ? s("", !0) : (r(), n(v, {
|
|
205
|
+
key: 0,
|
|
206
|
+
size: "x-small"
|
|
207
|
+
}, {
|
|
208
|
+
default: o(() => t[3] || (t[3] = [
|
|
209
|
+
c("mdi-content-copy")
|
|
210
|
+
])),
|
|
211
|
+
_: 1
|
|
212
|
+
}))
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
})
|
|
216
|
+
]),
|
|
217
|
+
_: 1
|
|
218
|
+
})) : (r(), n(C, {
|
|
219
|
+
key: 1,
|
|
220
|
+
"no-gutters": ""
|
|
221
|
+
}, {
|
|
222
|
+
default: o(() => [
|
|
223
|
+
l(_, { class: "text-center" }, {
|
|
224
|
+
default: o(() => t[4] || (t[4] = [
|
|
225
|
+
c("Your shareable URL is currently being generated...")
|
|
226
|
+
])),
|
|
227
|
+
_: 1
|
|
228
|
+
})
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
}))
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
}, 8, ["onClick"])) : s("", !0),
|
|
235
|
+
b("input", {
|
|
236
|
+
type: "hidden",
|
|
237
|
+
id: "referrer-copy",
|
|
238
|
+
value: (R = e.referral) == null ? void 0 : R.uniqueUrl
|
|
239
|
+
}, null, 8, le),
|
|
240
|
+
e.referralUrlReady ? (r(), p("div", ae, [
|
|
241
|
+
(L = e.referral) != null && L.referralMode.link ? (r(), p("div", {
|
|
242
|
+
key: 0,
|
|
243
|
+
id: "copy-url",
|
|
244
|
+
onClick: t[0] || (t[0] = (...d) => e.copyUrl && e.copyUrl(...d))
|
|
245
|
+
}, a((S = e.content) == null ? void 0 : S.link.action), 1)) : s("", !0)
|
|
246
|
+
])) : s("", !0)
|
|
247
|
+
]);
|
|
248
|
+
}
|
|
249
|
+
const me = /* @__PURE__ */ F(te, [["render", ce], ["__file", "/Users/dominic/Code/gather-vue/src/components/referral_campaign/user/invite/InviteRoot.vue"]]);
|
|
250
|
+
export {
|
|
251
|
+
me as I
|
|
252
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineComponent as o, resolveComponent as t, createElementBlock as e, openBlock as c, createVNode as u } from "vue";
|
|
2
|
+
import { a0 as a, _ as r } from "./main-DPldah1M.js";
|
|
3
|
+
const s = o({
|
|
4
|
+
name: "LaunchButtonBlock",
|
|
5
|
+
components: {
|
|
6
|
+
LaunchButton: a
|
|
7
|
+
}
|
|
8
|
+
}), p = { id: "launch-btn-container" };
|
|
9
|
+
function _(i, m, d, h, B, f) {
|
|
10
|
+
const n = t("LaunchButton", !0);
|
|
11
|
+
return c(), e("div", p, [
|
|
12
|
+
u(n)
|
|
13
|
+
]);
|
|
14
|
+
}
|
|
15
|
+
const $ = /* @__PURE__ */ r(s, [["render", _], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/blocks/pop_up/LaunchButton.vue"]]);
|
|
16
|
+
export {
|
|
17
|
+
$ as default
|
|
18
|
+
};
|