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,71 @@
|
|
|
1
|
+
import { defineComponent as m, resolveComponent as l, createBlock as r, createCommentVNode as i, openBlock as s, withCtx as a, createTextVNode as u } from "vue";
|
|
2
|
+
import { b as d, c as f, _ } from "./main-DPldah1M.js";
|
|
3
|
+
const h = m({
|
|
4
|
+
name: "CloseCardButton",
|
|
5
|
+
props: {
|
|
6
|
+
config: {
|
|
7
|
+
type: Object
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
computed: {
|
|
11
|
+
buttonConfig() {
|
|
12
|
+
var e;
|
|
13
|
+
return (e = this.$props.config) == null ? void 0 : e.closing_button;
|
|
14
|
+
},
|
|
15
|
+
isShown() {
|
|
16
|
+
var e;
|
|
17
|
+
return (e = this.buttonConfig) == null ? void 0 : e.close_button_enabled;
|
|
18
|
+
},
|
|
19
|
+
closeBehaviour() {
|
|
20
|
+
var e;
|
|
21
|
+
return (e = this.buttonConfig) == null ? void 0 : e.close_button_behaviour;
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
methods: {
|
|
25
|
+
clickButton() {
|
|
26
|
+
var t, o, n;
|
|
27
|
+
d().started || (this.closeBehaviour === "card" ? ((t = this.$parent) == null || t.$destroy(), (n = (o = this.$parent) == null ? void 0 : o.$el.parentNode) == null || n.removeChild(this.$parent.$el)) : this.closeBehaviour === "card_and_container" && this.toggleVisible());
|
|
28
|
+
},
|
|
29
|
+
toggleVisible() {
|
|
30
|
+
d().started || f().toggleVisible();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
function C(e, t, o, n, b, g) {
|
|
35
|
+
const c = l("v-icon"), p = l("v-btn");
|
|
36
|
+
return e.isShown ? (s(), r(p, {
|
|
37
|
+
key: 0,
|
|
38
|
+
id: "close-card-button",
|
|
39
|
+
icon: "",
|
|
40
|
+
variant: "text",
|
|
41
|
+
class: "float-right",
|
|
42
|
+
size: "x-small",
|
|
43
|
+
onClick: e.clickButton
|
|
44
|
+
}, {
|
|
45
|
+
default: a(() => [
|
|
46
|
+
e.closeBehaviour === "card_and_container" ? (s(), r(c, {
|
|
47
|
+
key: 0,
|
|
48
|
+
size: "large"
|
|
49
|
+
}, {
|
|
50
|
+
default: a(() => t[0] || (t[0] = [
|
|
51
|
+
u("mdi-close")
|
|
52
|
+
])),
|
|
53
|
+
_: 1
|
|
54
|
+
})) : i("", !0),
|
|
55
|
+
e.closeBehaviour === "card" ? (s(), r(c, {
|
|
56
|
+
key: 1,
|
|
57
|
+
size: "large"
|
|
58
|
+
}, {
|
|
59
|
+
default: a(() => t[1] || (t[1] = [
|
|
60
|
+
u("mdi-minus")
|
|
61
|
+
])),
|
|
62
|
+
_: 1
|
|
63
|
+
})) : i("", !0)
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
}, 8, ["onClick"])) : i("", !0);
|
|
67
|
+
}
|
|
68
|
+
const $ = /* @__PURE__ */ _(h, [["render", C], ["__file", "/Users/dominic/Code/gather-vue/src/components/atomic/molecules/CloseCardButton.vue"]]);
|
|
69
|
+
export {
|
|
70
|
+
$ as C
|
|
71
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { defineComponent as b, defineAsyncComponent as v, resolveComponent as n, createElementBlock as w, openBlock as s, createVNode as a, withCtx as r, createTextVNode as l, Transition as k, createBlock as y, resolveDynamicComponent as S } from "vue";
|
|
2
|
+
import { b as c, c as $, u as C, _ as x } from "./main-DPldah1M.js";
|
|
3
|
+
const A = { id: 212, email: "user@example.com", name: "John Smith", phone: null, account_id: 7, referral_code: "e0a436db8b", invitation_message: null, campaign_id: 15, channel_url: null, reward_tier: null }, E = "$", z = "gather-customers-staging.herokuapp.com/referred/000000", H = [{ id: 180, file: { url: null }, file_type: null, campaign_id: 15, account_id: null, created_at: "2019-12-31T04:14:23.924Z", updated_at: "2019-12-31T04:14:23.924Z", attachment_concern: "referrer", attachment_type: "banner", image: { url: "https://gather-staging-files.s3.amazonaws.com/uploads/attachment/image/180/1.png", thumb: { url: "https://gather-staging-files.s3.amazonaws.com/uploads/attachment/image/180/thumb_1.png" }, thumb_small: { url: "https://gather-staging-files.s3.amazonaws.com/uploads/attachment/image/180/thumb_small_1.png" }, invitation_image_banner: { url: "https://gather-staging-files.s3.amazonaws.com/uploads/attachment/image/180/invitation_image_banner_1.png" } }, reward_tier_id: null }, { id: 181, file: { url: null }, file_type: null, campaign_id: 15, account_id: null, created_at: "2019-12-31T04:14:24.312Z", updated_at: "2019-12-31T04:14:24.312Z", attachment_concern: "referred", attachment_type: "banner", image: { url: "https://gather-staging-files.s3.amazonaws.com/uploads/attachment/image/181/2.png", thumb: { url: "https://gather-staging-files.s3.amazonaws.com/uploads/attachment/image/181/thumb_2.png" }, thumb_small: { url: "https://gather-staging-files.s3.amazonaws.com/uploads/attachment/image/181/thumb_small_2.png" }, invitation_image_banner: { url: "https://gather-staging-files.s3.amazonaws.com/uploads/attachment/image/181/invitation_image_banner_2.png" } }, reward_tier_id: null }], T = { email_referral_enabled: !0, facebook_referral_enabled: !0, link_referral_enabled: !0 }, V = !0, I = !0, M = "cloudsponge", Z = "gather-managed-customers", B = !0, R = "gmail", j = "Here's a gift", q = "Hi, I am a subscriber of partnerlist and I think you'll be interested too. You get a coupon when you join on this link: http://www.gather-customers-staging.herokuapp.com/referred/e0a436db8b.", N = 4, U = 5, D = 2, J = 4, Y = "3", F = "app", G = "facebook invitation message", K = "facebook title", L = { reward_tier_0: { attributes: { id: 0, name: "An example reward", complete: !0, referrer_reward_description: "An example reward description", points: 3, tier_points: 3, "in_tier?": !1, referrer_redemption_mode: "internal_credit", referred_redemption_mode: "code", referrer_reward_type: "sales_percentage", reward_amount: 15, calculated_value: 123 } }, reward_tier_1: { attributes: { id: 1, name: "An example second reward", complete: !1, referrer_reward_description: "An example reward description", points: 10, tier_points: 13, "in_tier?": !0 } } }, O = {
|
|
4
|
+
referrer: A,
|
|
5
|
+
display_currency: E,
|
|
6
|
+
referrer_unique_url: z,
|
|
7
|
+
image_assets: H,
|
|
8
|
+
referral_mode_configs: T,
|
|
9
|
+
personal_message_enabled: V,
|
|
10
|
+
email_provider_enabled: I,
|
|
11
|
+
contacts_importer: M,
|
|
12
|
+
cloudsponge_key: Z,
|
|
13
|
+
dynamic_field_addition_enabled: B,
|
|
14
|
+
gather_email_contacts_importer: R,
|
|
15
|
+
email_default_invitation_subject: j,
|
|
16
|
+
email_default_invitation_message: q,
|
|
17
|
+
no_email_fields: N,
|
|
18
|
+
referrer_current_points: U,
|
|
19
|
+
referrer_pending_referrals: D,
|
|
20
|
+
referrer_current_tier_id: J,
|
|
21
|
+
points_to_reward_tier_completion: Y,
|
|
22
|
+
referral_email_invitation_mode: F,
|
|
23
|
+
facebook_invitation_message: G,
|
|
24
|
+
facebook_invitation_title: K,
|
|
25
|
+
reward_tiers: L
|
|
26
|
+
}, P = b({
|
|
27
|
+
name: "EditorComponent",
|
|
28
|
+
components: {
|
|
29
|
+
EditorMenu: v(() => import("./Menu-BsKr40BO.js"))
|
|
30
|
+
},
|
|
31
|
+
data() {
|
|
32
|
+
return {
|
|
33
|
+
snackbar: !1,
|
|
34
|
+
refreshScrollableArea: 0,
|
|
35
|
+
offsetHeight: 0
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
watch: {
|
|
39
|
+
offsetHeight() {
|
|
40
|
+
window.parent && window.parent.postMessage({ gatherToggleHeight: this.$data.offsetHeight }, "*");
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
async mounted() {
|
|
44
|
+
await $().configureApp(this.$route);
|
|
45
|
+
const t = C();
|
|
46
|
+
t.referral || t.storeReferral(O);
|
|
47
|
+
},
|
|
48
|
+
created() {
|
|
49
|
+
const t = c();
|
|
50
|
+
t.$subscribe((e) => {
|
|
51
|
+
e.type === "direct" && (this.$data.snackbar = t.snackbarVisible);
|
|
52
|
+
}), this.$data.refreshScrollableArea = setInterval(() => {
|
|
53
|
+
const e = document.querySelector("#editor-container");
|
|
54
|
+
this.$data.offsetHeight = e == null ? void 0 : e.offsetHeight;
|
|
55
|
+
}, 100);
|
|
56
|
+
},
|
|
57
|
+
methods: {
|
|
58
|
+
setSnackbar() {
|
|
59
|
+
c().setSnackbar(!1);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
function Q(t, e, W, X, ee, te) {
|
|
64
|
+
const d = n("v-btn"), _ = n("v-snackbar"), m = n("router-view"), u = n("v-card-text"), p = n("v-card"), i = n("v-col"), f = n("EditorMenu"), g = n("v-row"), h = n("v-container");
|
|
65
|
+
return s(), w("div", null, [
|
|
66
|
+
a(h, {
|
|
67
|
+
fluid: "",
|
|
68
|
+
id: "editor-container"
|
|
69
|
+
}, {
|
|
70
|
+
default: r(() => [
|
|
71
|
+
a(_, {
|
|
72
|
+
modelValue: t.snackbar,
|
|
73
|
+
"onUpdate:modelValue": e[1] || (e[1] = (o) => t.snackbar = o),
|
|
74
|
+
onChange: t.setSnackbar,
|
|
75
|
+
color: "success",
|
|
76
|
+
timeout: 6e3,
|
|
77
|
+
location: "top center"
|
|
78
|
+
}, {
|
|
79
|
+
actions: r(() => [
|
|
80
|
+
a(d, {
|
|
81
|
+
onClick: e[0] || (e[0] = (o) => t.setSnackbar())
|
|
82
|
+
}, {
|
|
83
|
+
default: r(() => e[2] || (e[2] = [
|
|
84
|
+
l("Close")
|
|
85
|
+
])),
|
|
86
|
+
_: 1
|
|
87
|
+
})
|
|
88
|
+
]),
|
|
89
|
+
default: r(() => [
|
|
90
|
+
e[3] || (e[3] = l(" Saved "))
|
|
91
|
+
]),
|
|
92
|
+
_: 1
|
|
93
|
+
}, 8, ["modelValue", "onChange"]),
|
|
94
|
+
a(g, {
|
|
95
|
+
"no-gutters": "",
|
|
96
|
+
flex: ""
|
|
97
|
+
}, {
|
|
98
|
+
default: r(() => [
|
|
99
|
+
a(i, { cols: "7" }, {
|
|
100
|
+
default: r(() => [
|
|
101
|
+
a(p, {
|
|
102
|
+
class: "mr-5",
|
|
103
|
+
id: "component-views",
|
|
104
|
+
outlined: ""
|
|
105
|
+
}, {
|
|
106
|
+
default: r(() => [
|
|
107
|
+
a(u, { id: "component-container" }, {
|
|
108
|
+
default: r(() => [
|
|
109
|
+
a(m, null, {
|
|
110
|
+
default: r(({ Component: o }) => [
|
|
111
|
+
a(k, {
|
|
112
|
+
name: "fade-both",
|
|
113
|
+
mode: "out-in"
|
|
114
|
+
}, {
|
|
115
|
+
default: r(() => [
|
|
116
|
+
(s(), y(S(o)))
|
|
117
|
+
]),
|
|
118
|
+
_: 2
|
|
119
|
+
}, 1024)
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
})
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
})
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
})
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
}),
|
|
132
|
+
a(i, { cols: "5" }, {
|
|
133
|
+
default: r(() => [
|
|
134
|
+
a(f)
|
|
135
|
+
]),
|
|
136
|
+
_: 1
|
|
137
|
+
})
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
})
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
})
|
|
144
|
+
]);
|
|
145
|
+
}
|
|
146
|
+
const ne = /* @__PURE__ */ x(P, [["render", Q], ["__scopeId", "data-v-82dd3405"], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/Editor.vue"]]);
|
|
147
|
+
export {
|
|
148
|
+
ne as default
|
|
149
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { defineComponent as d, resolveComponent as e, createBlock as m, openBlock as l, withCtx as t, createVNode as o, createElementVNode as v, createElementBlock as C, createCommentVNode as $, createTextVNode as h, toDisplayString as _ } from "vue";
|
|
2
|
+
import { _ as p, P as V } from "./main-DPldah1M.js";
|
|
3
|
+
const g = d({
|
|
4
|
+
name: "EmailExistsCard",
|
|
5
|
+
computed: {
|
|
6
|
+
title() {
|
|
7
|
+
return "Email Already Exists";
|
|
8
|
+
},
|
|
9
|
+
subtitle() {
|
|
10
|
+
return "It looks like this email has already been used.";
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}), k = { class: "text-h5 text-center" }, b = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "text-subtitle-2 text-center"
|
|
16
|
+
};
|
|
17
|
+
function w(n, s, u, f, x, E) {
|
|
18
|
+
const r = e("v-icon"), a = e("v-col"), c = e("v-container"), i = e("v-card-text");
|
|
19
|
+
return l(), m(i, null, {
|
|
20
|
+
default: t(() => [
|
|
21
|
+
o(c, { class: "align-center" }, {
|
|
22
|
+
default: t(() => [
|
|
23
|
+
o(a, { class: "text-center" }, {
|
|
24
|
+
default: t(() => [
|
|
25
|
+
o(r, { class: "mx-auto" }, {
|
|
26
|
+
default: t(() => s[0] || (s[0] = [
|
|
27
|
+
h("mdi-alert-circle-outline")
|
|
28
|
+
])),
|
|
29
|
+
_: 1
|
|
30
|
+
})
|
|
31
|
+
]),
|
|
32
|
+
_: 1
|
|
33
|
+
})
|
|
34
|
+
]),
|
|
35
|
+
_: 1
|
|
36
|
+
}),
|
|
37
|
+
v("div", k, _(n.title), 1),
|
|
38
|
+
n.subtitle ? (l(), C("div", b, _(n.subtitle), 1)) : $("", !0)
|
|
39
|
+
]),
|
|
40
|
+
_: 1
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
const y = /* @__PURE__ */ p(g, [["render", w], ["__file", "/Users/dominic/Code/gather-vue/src/components/referral_campaign/referred/EmailExistsCard.vue"]]), N = d({
|
|
44
|
+
name: "EmailExistsView",
|
|
45
|
+
components: {
|
|
46
|
+
Popup: V,
|
|
47
|
+
EmailExistsCard: y
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
function P(n, s, u, f, x, E) {
|
|
51
|
+
const r = e("EmailExistsCard"), a = e("v-card"), c = e("v-container"), i = e("Popup");
|
|
52
|
+
return l(), m(i, null, {
|
|
53
|
+
default: t(() => [
|
|
54
|
+
o(c, { class: "pa-5" }, {
|
|
55
|
+
default: t(() => [
|
|
56
|
+
o(a, { id: "top-card" }, {
|
|
57
|
+
default: t(() => [
|
|
58
|
+
o(r)
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
})
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
})
|
|
65
|
+
]),
|
|
66
|
+
_: 1
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
const A = /* @__PURE__ */ p(N, [["render", P], ["__file", "/Users/dominic/Code/gather-vue/src/components/referral_campaign/referred/EmailExistsView.vue"]]);
|
|
70
|
+
export {
|
|
71
|
+
A as default
|
|
72
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as e, resolveComponent as o, createBlock as i, openBlock as a, withCtx as r, createVNode as c } from "vue";
|
|
2
|
+
import { E as m } from "./Card-qMo1jrfb.js";
|
|
3
|
+
import { _ as s } from "./main-DPldah1M.js";
|
|
4
|
+
const _ = e({
|
|
5
|
+
name: "EmailInvitationBlock",
|
|
6
|
+
components: {
|
|
7
|
+
EmailInvitationRoot: m
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
function l(p, d, f, v, u, E) {
|
|
11
|
+
const t = o("EmailInvitationRoot"), n = o("v-card");
|
|
12
|
+
return a(), i(n, null, {
|
|
13
|
+
default: r(() => [
|
|
14
|
+
c(t)
|
|
15
|
+
]),
|
|
16
|
+
_: 1
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const C = /* @__PURE__ */ s(_, [["render", l], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/blocks/referral_campaign/EmailInvitation.vue"]]);
|
|
20
|
+
export {
|
|
21
|
+
C as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent as R, resolveComponent as o, createBlock as d, openBlock as i, withCtx as t, createVNode as e, createCommentVNode as _ } from "vue";
|
|
2
|
+
import { C as v, P as E, u as p, _ as g } from "./main-DPldah1M.js";
|
|
3
|
+
import { R as V } from "./RewardsRoot-CnQfyjC6.js";
|
|
4
|
+
import { S } from "./StatsView-fX-VznRc.js";
|
|
5
|
+
import { E as k } from "./Card-qMo1jrfb.js";
|
|
6
|
+
const x = R({
|
|
7
|
+
name: "EmailView",
|
|
8
|
+
components: {
|
|
9
|
+
Popup: E,
|
|
10
|
+
RewardsRoot: V,
|
|
11
|
+
StatsView: S,
|
|
12
|
+
EmailCard: k,
|
|
13
|
+
CustomTheme: v
|
|
14
|
+
},
|
|
15
|
+
computed: {
|
|
16
|
+
showStats() {
|
|
17
|
+
var r;
|
|
18
|
+
return (r = p().referralCampaign) == null ? void 0 : r.campaign.embedded_interface_configs.display_stats;
|
|
19
|
+
},
|
|
20
|
+
showRewards() {
|
|
21
|
+
var r, s, n;
|
|
22
|
+
const a = p();
|
|
23
|
+
return a.showRewards && ((n = (s = (r = a.referralCampaign) == null ? void 0 : r.config) == null ? void 0 : s.home) == null ? void 0 : n.show_rewards);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
function P(a, r, s, n, $, y) {
|
|
28
|
+
const l = o("CustomTheme"), u = o("StatsView"), c = o("v-card"), m = o("v-container"), f = o("EmailCard"), w = o("RewardsRoot"), h = o("v-card-text"), C = o("Popup");
|
|
29
|
+
return i(), d(C, { showBack: !0 }, {
|
|
30
|
+
default: t(() => [
|
|
31
|
+
e(l),
|
|
32
|
+
e(m, {
|
|
33
|
+
class: "pa-5",
|
|
34
|
+
id: "top-card"
|
|
35
|
+
}, {
|
|
36
|
+
default: t(() => [
|
|
37
|
+
a.showStats ? (i(), d(c, { key: 0 }, {
|
|
38
|
+
default: t(() => [
|
|
39
|
+
e(u)
|
|
40
|
+
]),
|
|
41
|
+
_: 1
|
|
42
|
+
})) : _("", !0)
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
}),
|
|
46
|
+
e(m, { class: "pa-5" }, {
|
|
47
|
+
default: t(() => [
|
|
48
|
+
e(c, null, {
|
|
49
|
+
default: t(() => [
|
|
50
|
+
e(f)
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
})
|
|
54
|
+
]),
|
|
55
|
+
_: 1
|
|
56
|
+
}),
|
|
57
|
+
a.showRewards ? (i(), d(m, {
|
|
58
|
+
key: 0,
|
|
59
|
+
class: "pa-5",
|
|
60
|
+
id: "reward-container"
|
|
61
|
+
}, {
|
|
62
|
+
default: t(() => [
|
|
63
|
+
e(c, { id: "gc-rewards-1" }, {
|
|
64
|
+
default: t(() => [
|
|
65
|
+
e(h, null, {
|
|
66
|
+
default: t(() => [
|
|
67
|
+
e(w)
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
})
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
})
|
|
74
|
+
]),
|
|
75
|
+
_: 1
|
|
76
|
+
})) : _("", !0)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
const U = /* @__PURE__ */ g(x, [["render", P], ["__file", "/Users/dominic/Code/gather-vue/src/components/referral_campaign/user/invite/EmailView.vue"]]);
|
|
82
|
+
export {
|
|
83
|
+
U as default
|
|
84
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent as g, resolveComponent as o, createElementBlock as s, openBlock as d, createVNode as a, createCommentVNode as c, createElementVNode as l, withCtx as i } from "vue";
|
|
2
|
+
import { u as p, _ as v } from "./main-DPldah1M.js";
|
|
3
|
+
const x = g({
|
|
4
|
+
name: "FriendBannerExampleBlock",
|
|
5
|
+
computed: {
|
|
6
|
+
barColor() {
|
|
7
|
+
var e, n, t;
|
|
8
|
+
return ((t = (n = (e = p().referralCampaign) == null ? void 0 : e.config) == null ? void 0 : n.theme) == null ? void 0 : t.app_bar_color) || "#272728";
|
|
9
|
+
},
|
|
10
|
+
showBanner() {
|
|
11
|
+
var e, n, t;
|
|
12
|
+
return (t = (n = (e = p().referralCampaign) == null ? void 0 : e.config) == null ? void 0 : n.theme) == null ? void 0 : t.show_banner_friend;
|
|
13
|
+
},
|
|
14
|
+
bannerImage() {
|
|
15
|
+
var e;
|
|
16
|
+
return (e = p().referralCampaign) == null ? void 0 : e.bannerReferredUrl;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}), h = {
|
|
20
|
+
id: "referralcampaign-editor-app-container",
|
|
21
|
+
class: "mt-20 friend"
|
|
22
|
+
}, B = ["src"], C = {
|
|
23
|
+
id: "top-card",
|
|
24
|
+
style: { "padding-top": "30px", "padding-bottom": "30px" }
|
|
25
|
+
}, k = { key: 0 }, w = { key: 1 };
|
|
26
|
+
function y(r, e, n, t, E, $) {
|
|
27
|
+
const m = o("v-app-bar"), _ = o("v-card-text"), u = o("v-card"), f = o("v-col"), b = o("v-row");
|
|
28
|
+
return d(), s("div", h, [
|
|
29
|
+
a(m, {
|
|
30
|
+
absolute: "",
|
|
31
|
+
flat: !0,
|
|
32
|
+
dark: !0,
|
|
33
|
+
color: r.barColor
|
|
34
|
+
}, null, 8, ["color"]),
|
|
35
|
+
r.showBanner ? (d(), s("img", {
|
|
36
|
+
key: 0,
|
|
37
|
+
id: "banner-image",
|
|
38
|
+
src: r.bannerImage,
|
|
39
|
+
style: { "text-align": "center", height: "250px", border: "none", "margin-top": "64px" }
|
|
40
|
+
}, null, 8, B)) : c("", !0),
|
|
41
|
+
l("div", C, [
|
|
42
|
+
a(b, {
|
|
43
|
+
id: "card",
|
|
44
|
+
class: "mx-5"
|
|
45
|
+
}, {
|
|
46
|
+
default: i(() => [
|
|
47
|
+
a(f, { cols: "12" }, {
|
|
48
|
+
default: i(() => [
|
|
49
|
+
a(u, null, {
|
|
50
|
+
default: i(() => [
|
|
51
|
+
a(_, null, {
|
|
52
|
+
default: i(() => [
|
|
53
|
+
e[0] || (e[0] = l("div", { class: "text-h5 text-center" }, "Card Title", -1)),
|
|
54
|
+
e[1] || (e[1] = l("div", { class: "text-subtitle-2 text-center" }, "Card Subtitle", -1)),
|
|
55
|
+
e[2] || (e[2] = l("br", null, null, -1)),
|
|
56
|
+
r.showBanner ? (d(), s("p", k, "Banner image is displayed above this card")) : c("", !0),
|
|
57
|
+
r.showBanner ? c("", !0) : (d(), s("p", w, "Banner image not displayed"))
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
})
|
|
61
|
+
]),
|
|
62
|
+
_: 1
|
|
63
|
+
})
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
})
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
})
|
|
70
|
+
])
|
|
71
|
+
]);
|
|
72
|
+
}
|
|
73
|
+
const N = /* @__PURE__ */ v(x, [["render", y], ["__scopeId", "data-v-4f32fd6c"], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/blocks/referral_campaign/FriendBannerExample.vue"]]);
|
|
74
|
+
export {
|
|
75
|
+
N as default
|
|
76
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as n, resolveComponent as e, createBlock as t, openBlock as c, withCtx as i, createVNode as a } from "vue";
|
|
2
|
+
import { R as m } from "./ReferredConfirmCard-iwgkcZCm.js";
|
|
3
|
+
import { _ as d } from "./main-DPldah1M.js";
|
|
4
|
+
const f = n({
|
|
5
|
+
name: "FriendConfirmationBlock",
|
|
6
|
+
components: {
|
|
7
|
+
ReferredConfirmCard: m
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
function s(_, p, C, l, u, v) {
|
|
11
|
+
const o = e("ReferredConfirmCard"), r = e("v-card");
|
|
12
|
+
return c(), t(r, null, {
|
|
13
|
+
default: i(() => [
|
|
14
|
+
a(o)
|
|
15
|
+
]),
|
|
16
|
+
_: 1
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const $ = /* @__PURE__ */ d(f, [["render", s], ["__file", "/Users/dominic/Code/gather-vue/src/components/editor/blocks/referral_campaign/FriendConfirmation.vue"]]);
|
|
20
|
+
export {
|
|
21
|
+
$ as default
|
|
22
|
+
};
|