@feedmepos/mf-connect 0.1.128-dev → 0.1.128-prod
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-CPSC0ccq.js → App-DFXou0ZK.js} +215 -223
- package/dist/{Bin-Cn7sCPql.js → Bin-ril4yEp7.js} +8 -8
- package/dist/{Broadcast-bR7HAyV2.js → Broadcast-CcseZmao.js} +21 -22
- package/dist/{CampaignAnalytic-Dnpw_Jwo.js → CampaignAnalytic-DaJ5a6G1.js} +6 -6
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-HaWMLA4s.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CsmgbhtH.js} +10 -9
- package/dist/{Card-BE3Y0KHF.js → Card-D7sTDXgf.js} +23 -23
- package/dist/{Collections-CLSp9Uah.js → Collections-C6d4vkox.js} +185 -197
- package/dist/{Credit-DgMyKROt.js → Credit-B9JCYQYi.js} +20 -21
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-D8eCQE4D.js → DateRangeChip.vue_vue_type_script_setup_true_lang-CwD5dRnJ.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Cteezb57.js +3638 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CXw7yS8N.js → EffectSheet.vue_vue_type_style_index_0_lang-BMxA26t5.js} +33 -33
- package/dist/{Experience-CCeRbvIe.js → Experience-pBNjY5aC.js} +31 -32
- package/dist/{FileSaver.min-D8Rw2VVN.js → FileSaver.min-BdA7jj3J.js} +1 -1
- package/dist/{Game-CYGg8vWQ.js → Game-Ba1LqaLj.js} +18 -19
- package/dist/{GiftCardSetup-rzea90xr.js → GiftCardSetup-DteySO0t.js} +31 -31
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-BFUBfL-S.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-DxFGFA_U.js} +128 -140
- package/dist/{Goals-BnZfK7a3.js → Goals-D4rLwe3y.js} +4 -4
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Cw2imjlQ.js → ImageInput.vue_vue_type_script_setup_true_lang-C-1uplPm.js} +1 -1
- package/dist/{Index-DjZi_lVg.js → Index-DZ9bEViq.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-B1q4NtuM.js → LocationPicker.vue_vue_type_script_setup_true_lang-DS3y4uib.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CUjzbMcb.js → LottieAnimation.vue_vue_type_script_setup_true_lang-BTHmofSe.js} +1 -1
- package/dist/{LoyaltyDashboard-C3TZSSQz.js → LoyaltyDashboard-CBMyLX7W.js} +14 -14
- package/dist/{MainLayout-uNGpBpJi.js → MainLayout-B3-DumYs.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-0PcswtGl.js → MainLayout.vue_vue_type_script_setup_true_lang-BWOWZMYx.js} +3 -3
- package/dist/{Marketing-SXmxcw3-.js → Marketing-CJiu6eP4.js} +4 -4
- package/dist/{MarketingMaterialEdit-DK0tjHpF.js → MarketingMaterialEdit-BuHpXGwZ.js} +211 -214
- package/dist/{Member-BFSwupq6.js → Member-AOxxLQ-x.js} +7 -7
- package/dist/MemberDetailSheet.vue_vue_type_script_setup_true_lang-cGglvqwB.js +1308 -0
- package/dist/{MemberImportHistory-z12l_IAQ.js → MemberImportHistory-o-ruPMEe.js} +7 -7
- package/dist/{MemberList-DfN7ur0J.js → MemberList-BkX_jgos.js} +105 -103
- package/dist/{MemberTransactions-Bntt4bRR.js → MemberTransactions-Bnc3BWr5.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-ComtYItw.js → MessageInput.vue_vue_type_script_setup_true_lang-DoUw4U88.js} +12 -12
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-_Imnj16x.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-BHprSEKu.js} +1 -1
- package/dist/{Mission-CvpeYVjB.js → Mission-D80DxR7z.js} +21 -22
- package/dist/{Overview-BtTkltlY.js → Overview-9gdETQLU.js} +144 -145
- package/dist/{Overview-BkaFC5La.js → Overview-jb3HWI09.js} +21 -21
- package/dist/{Point-CpNAFABM.js → Point-Pf_s2Ggb.js} +21 -22
- package/dist/{Promotion-B_vD_9UF.js → Promotion-BjjugEKH.js} +131 -137
- package/dist/{Queue-D5jDhI0f.js → Queue-CVWdBEvK.js} +46 -46
- package/dist/{Record-EsNXzy4D.js → Record-BS9lp0Cs.js} +9 -9
- package/dist/{Review-ByMrkymf.js → Review-1MRQGLAX.js} +2 -2
- package/dist/ReviewFacebookCallback-DuuQxEIK.js +238 -0
- package/dist/{ReviewGoogleCallback-BzU-hUy5.js → ReviewGoogleCallback-8kzG-TMh.js} +5 -5
- package/dist/{Reward-kxAuVGDE.js → Reward-UPonEShz.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-i9B1R3XP.js → RewardGroup.vue_vue_type_script_setup_true_lang-CW-EEgDZ.js} +14 -14
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BmTEULNC.js +1884 -0
- package/dist/{Segment-C5SJs7al.js → Segment-BsNstBo-.js} +307 -304
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-RIerABcb.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-3uc5TjrH.js} +15 -15
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-D8jS4gee.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CKc0Q7pK.js} +4 -4
- package/dist/{Setting-zmlu3QcR.js → Setting-BD-fl3v8.js} +17 -17
- package/dist/{SettingAdvertisements-DewXGZoE.js → SettingAdvertisements-DG1btpAQ.js} +12 -12
- package/dist/Settings-LPdO0Djy.js +179 -0
- package/dist/{Store-CiTwDcgr.js → Store-CQe1YA-D.js} +29 -29
- package/dist/{StoreRewards-DaOJxsVm.js → StoreRewards-C7z5eJc4.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BTqxeKR4.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CvX_M1KW.js} +25 -25
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DmeOGncB.js +142 -0
- package/dist/{Tier-lNI7GWMP.js → Tier-BBb_E8_V.js} +688 -2583
- package/dist/{Title-CDxDztnl.js → Title-CjJaca4P.js} +95 -96
- package/dist/{Transaction-CcsUvIns.js → Transaction-Dn-EPCom.js} +2 -2
- package/dist/{Upselling-BDirPkWX.js → Upselling-DB8HU6B_.js} +3 -3
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-hqzfBpop.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BG2o3Nip.js} +26 -26
- package/dist/{Voucher-CJDo5U_P.js → Voucher-Cwg3WelV.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-WjsLHh_E.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CRz0wdSO.js} +12 -12
- package/dist/{WhatsappAccount-CQBti7RJ.js → WhatsappAccount--SMCex1D.js} +6 -6
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DVNZ774z.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-BpZ0_NtK.js} +1 -1
- package/dist/{WhatsappBot-91lIlikm.js → WhatsappBot-2BTZU0cI.js} +7 -7
- package/dist/{WhatsappBotLogs-PQTwT8e5.js → WhatsappBotLogs-nGIYzZCU.js} +5 -5
- package/dist/{WhatsappBotSettings-CUES9UL-.js → WhatsappBotSettings-DBx7ezqA.js} +5 -5
- package/dist/{WhatsappLayout-pZGYJj0J.js → WhatsappLayout-DK2idBeB.js} +3 -3
- package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DAoonwsO.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-B-pAId0k.js} +3 -3
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-HEIeZYCP.js → ZodTextField.vue_vue_type_script_setup_true_lang-DYpCPJDx.js} +2 -2
- package/dist/{app--pRyBODF.js → app-DjtVpjOD.js} +3522 -4286
- package/dist/app.js +3 -4
- package/dist/{base.export-CSdCmt-6.js → base.export-Dc9I7xbt.js} +2 -2
- package/dist/business-C0Ej4JRP.js +82 -0
- package/dist/{campaign-CwQjWU63.js → campaign-BNgMmhg6.js} +94 -121
- package/dist/{campaign-t9ubUkjB.js → campaign-U8KBANd_.js} +25 -31
- package/dist/{campaign.enum-Damu7hgo.js → campaign.enum-mYG3oWwU.js} +2 -3
- package/dist/campaign.fn-BaBPV7He.js +776 -0
- package/dist/{collectible.enum-C8LbgIQ7.js → collectible.enum-BtBBkbIB.js} +1 -1
- package/dist/{collection.fn-BV7pDqa5.js → collection.fn-lFr9HoHC.js} +2 -2
- package/dist/{currency-pS0xeJA6.js → currency-B6GBpIWb.js} +1 -1
- package/dist/{effect-B532leFF.js → effect-DmzU8TpX.js} +1 -1
- package/dist/{email-addresses-CKkT_5O5.js → email-addresses-s_oiQY8W.js} +2 -2
- package/dist/{feature-flag-25oDCLLB.js → feature-flag-CRbNgxfa.js} +84 -84
- package/dist/google-C3S8u0mT.js +4 -0
- package/dist/{helper-DxOj04aq.js → helper-0o3cPptM.js} +1 -1
- package/dist/{index-BViMt33t.js → index-B6BmfoiZ.js} +1 -1
- package/dist/{index-BLRv_4gJ.js → index-BECZ4ORu.js} +1 -1
- package/dist/{index-uCkkfjE3.js → index-BMG5fllq.js} +4 -4
- package/dist/{index-ClD2-18P.js → index-BXi5bQbd.js} +6 -19
- package/dist/{index-DqQ1q8sX.js → index-Bql1JMH9.js} +19 -26
- package/dist/{index-DBT1f1M3.js → index-BvoYHJ0i.js} +2 -2
- package/dist/{index-CBYY3VEG.js → index-C9MKLJzw.js} +2614 -2700
- package/dist/{index-C_qmnOKQ.js → index-CPByCjHI.js} +9 -9
- package/dist/{index-DSAEs8u0.js → index-CZWCtODZ.js} +1 -1
- package/dist/{index-BCgTcZ7c.js → index-CigqpRCP.js} +252 -609
- package/dist/{index-BFJ2FmB4.js → index-Cnl3vaVR.js} +2 -2
- package/dist/{index-DVlo0TO9.js → index-CxxWGkQz.js} +23 -23
- package/dist/{index-BX6lcJDB.js → index-DLcl6mHQ.js} +1 -1
- package/dist/{index-DEENB4la.js → index-DMgSW1aH.js} +664 -664
- package/dist/{index-DBzCfWxW.js → index-DNx-iJd1.js} +2 -2
- package/dist/{index-ip2EqUEW.js → index-DQLDjCeb.js} +1 -1
- package/dist/{index-B3sR1LMa.js → index-DXV_Kdhp.js} +7 -7
- package/dist/{index-DiYuhtNS.js → index-Df5CnMjC.js} +4 -4
- package/dist/{index-Diw9710S.js → index-DphGTJkl.js} +4 -4
- package/dist/{index-BHnMLtU2.js → index-NOeUp1Wc.js} +235 -381
- package/dist/{index-C6pr4oIv.js → index-NhHbOATm.js} +1243 -1315
- package/dist/{index-C7wVaeC1.js → index-iEzy3892.js} +1 -1
- package/dist/{index.esm2017-DRrIFPLo.js → index.esm2017-DpKkF6uX.js} +57 -57
- package/dist/{loading--SZI7Tpo.js → loading-nQaPRntd.js} +1 -1
- package/dist/{lodash-BZqvXM_P.js → lodash-B6558zRv.js} +1 -1
- package/dist/{member-import-Bmt1OdRW.js → member-import-DWDpO4uU.js} +2 -2
- package/dist/{membership-BTFpH7Mg.js → membership-BY1-idAv.js} +3 -3
- package/dist/{money-BVtlYyxo.js → money-DE62jPYV.js} +1 -1
- package/dist/{number-DrOdGSrF.js → number-C9mUt-Ac.js} +1 -1
- package/dist/objectid-DyUyXFvt.js +145 -0
- package/dist/{onboarding-BjcSBC8v.js → onboarding-OTAVtlNj.js} +25 -25
- package/dist/{onboardingSetup-Dcv8i8qd.js → onboardingSetup-DhwhJk-r.js} +2 -2
- package/dist/{plugins-Iw52rJ1s.js → plugins-CpxP-Bn_.js} +3 -3
- package/dist/{reward-DF9tE7iA.js → reward-yx-Ttob3.js} +1 -1
- package/dist/{rule-rCPhlgAq.js → rule-C_T37PuL.js} +492 -572
- package/dist/rule-builder-WoEQdgK2.js +102 -0
- package/dist/style.css +1 -1
- package/dist/template-AnoXsK9Y.js +275 -0
- package/dist/{transaction.fn-Cp3ylqFD.js → transaction.fn-4IcKHgri.js} +2 -2
- package/dist/{trigger-O6JvCms4.js → trigger-8zSNA5H1.js} +9 -9
- package/dist/{useMarketingMaterialActions-Cnadk3AO.js → useMarketingMaterialActions-CXjA7dhm.js} +4 -4
- package/dist/{usePagination-C5lSxdqt.js → usePagination-BECgW_Yq.js} +1 -1
- package/dist/{user-B7iv0TRE.js → user-Czn9R1f-.js} +1 -1
- package/dist/vue-i18n-BJWf_QrH.js +2365 -0
- package/dist/{xlsx-DTJ6bUKL.js → xlsx-3kbv63FT.js} +440 -440
- package/dist/{zod-cIIx_Ng9.js → zod-DMdtnaR4.js} +1 -1
- package/package.json +3 -7
- package/dist/AuditLogs-CgrYStwa.js +0 -2016
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BB2gszsG.js +0 -4584
- package/dist/Grab-BRbn6ffm.js +0 -301
- package/dist/MemberDetailSheet.vue_vue_type_script_setup_true_lang-Dvcasf5O.js +0 -1322
- package/dist/ReviewFacebookCallback-BDl6NBkw.js +0 -225
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-D3MZsh4A.js +0 -1923
- package/dist/Settings-5HU_uY6B.js +0 -286
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DlFCI1BT.js +0 -7007
- package/dist/business-BtEfH8Mt.js +0 -83
- package/dist/campaign.fn-D3_OzyyQ.js +0 -776
- package/dist/duplicateCampaign-19CDT2kM.js +0 -51
- package/dist/google-BQK68wbe.js +0 -5
- package/dist/objectid-DdJFC6TI.js +0 -145
- package/dist/template-v1F1rvUU.js +0 -227
- package/dist/vue-i18n-CYFvlTTS.js +0 -2365
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as A, resolveComponent as
|
|
2
|
-
import { u as K } from "./vue-i18n-
|
|
1
|
+
import { defineComponent as A, resolveComponent as k, openBlock as o, createBlock as p, withCtx as w, createElementVNode as c, unref as t, createVNode as x, ref as ee, computed as I, toDisplayString as h, createElementBlock as r, Fragment as L, renderList as T, createCommentVNode as f, normalizeClass as me, isRef as pe } from "vue";
|
|
2
|
+
import { u as K } from "./vue-i18n-BJWf_QrH.js";
|
|
3
3
|
import { useRouter as be } from "vue-router";
|
|
4
|
-
import { S as fe } from "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import { n as te } from "./plugins-
|
|
7
|
-
import { u as ne } from "./business-
|
|
8
|
-
import { u as U, e as
|
|
9
|
-
import { R as Z } from "./app
|
|
4
|
+
import { S as fe } from "./index-DXV_Kdhp.js";
|
|
5
|
+
import "./index-iEzy3892.js";
|
|
6
|
+
import { n as te } from "./plugins-CpxP-Bn_.js";
|
|
7
|
+
import { u as ne } from "./business-C0Ej4JRP.js";
|
|
8
|
+
import { u as U, e as ye, i as ge, p as _e, g as oe, o as ve, d as xe, c as he } from "./onboarding-OTAVtlNj.js";
|
|
9
|
+
import { R as Z } from "./app-DjtVpjOD.js";
|
|
10
10
|
const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
11
11
|
__name: "SectionChip",
|
|
12
12
|
props: {
|
|
@@ -15,9 +15,9 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
15
15
|
},
|
|
16
16
|
setup(u) {
|
|
17
17
|
const { t: P } = K();
|
|
18
|
-
return (s,
|
|
19
|
-
const e =
|
|
20
|
-
return u.tooltip ? (o(),
|
|
18
|
+
return (s, C) => {
|
|
19
|
+
const e = k("FmChip"), $ = k("FmTooltip");
|
|
20
|
+
return u.tooltip ? (o(), p($, {
|
|
21
21
|
key: 0,
|
|
22
22
|
variant: "plain",
|
|
23
23
|
placement: "top",
|
|
@@ -29,7 +29,7 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
29
29
|
class: "inline-flex fm-corner-radius-md",
|
|
30
30
|
"aria-label": t(P)("connect.onboarding.more_about", { section: u.label })
|
|
31
31
|
}, [
|
|
32
|
-
|
|
32
|
+
x(e, {
|
|
33
33
|
variant: "plain",
|
|
34
34
|
compact: "",
|
|
35
35
|
label: u.label,
|
|
@@ -38,7 +38,7 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
38
38
|
], 8, ke)
|
|
39
39
|
]),
|
|
40
40
|
_: 1
|
|
41
|
-
}, 8, ["content"])) : (o(),
|
|
41
|
+
}, 8, ["content"])) : (o(), p(e, {
|
|
42
42
|
key: 1,
|
|
43
43
|
variant: "plain",
|
|
44
44
|
compact: "",
|
|
@@ -55,7 +55,7 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
55
55
|
}, De = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary flex-1" }, Pe = {
|
|
56
56
|
key: 1,
|
|
57
57
|
class: "flex flex-col"
|
|
58
|
-
}, Ge = { class: "flex flex-col gap-4 flex-1 min-w-0" }, Le = { class: "flex items-center gap-8 flex-wrap" },
|
|
58
|
+
}, Ge = { class: "flex flex-col gap-4 flex-1 min-w-0" }, Le = { class: "flex items-center gap-8 flex-wrap" }, Ee = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Ne = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-tertiary whitespace-nowrap" }, Oe = {
|
|
59
59
|
key: 1,
|
|
60
60
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-tertiary"
|
|
61
61
|
}, Re = {
|
|
@@ -69,41 +69,41 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
69
69
|
},
|
|
70
70
|
emits: ["customise", "next"],
|
|
71
71
|
setup(u, { emit: P }) {
|
|
72
|
-
const s = u,
|
|
72
|
+
const s = u, C = P, { t: e } = K(), $ = be(), m = U(), E = ne(), G = `mf-connect-onboarding-collapsed:${s.placement}`, a = ee((() => {
|
|
73
73
|
try {
|
|
74
74
|
return localStorage.getItem(G) === "1";
|
|
75
75
|
} catch {
|
|
76
76
|
return !1;
|
|
77
77
|
}
|
|
78
78
|
})());
|
|
79
|
-
function
|
|
79
|
+
function y() {
|
|
80
80
|
a.value = !a.value;
|
|
81
81
|
try {
|
|
82
82
|
localStorage.setItem(G, a.value ? "1" : "0");
|
|
83
83
|
} catch {
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
const
|
|
87
|
-
const i = m.catalog,
|
|
88
|
-
if (!i || !
|
|
89
|
-
const
|
|
86
|
+
const b = I(() => {
|
|
87
|
+
const i = m.catalog, v = m.state;
|
|
88
|
+
if (!i || !v) return [];
|
|
89
|
+
const V = s.mode === "goals" ? ye(i, v) : /* @__PURE__ */ new Set();
|
|
90
90
|
return m.ids(s.mode).map((d) => i.items.find((S) => S.id === d)).filter((d) => !!d).map((d) => ({
|
|
91
91
|
item: d,
|
|
92
92
|
title: s.mode === "generic" ? d.genericTitle ?? d.title : d.title,
|
|
93
|
-
done:
|
|
93
|
+
done: ge(d, v, s.mode),
|
|
94
94
|
manual: "manual" in d.doneWhen,
|
|
95
|
-
recommended:
|
|
95
|
+
recommended: V.has(d.id),
|
|
96
96
|
section: i.sections[d.section],
|
|
97
97
|
extra: d.extraSection ? i.sections[d.extraSection] : void 0
|
|
98
98
|
}));
|
|
99
|
-
}), B =
|
|
99
|
+
}), B = I(() => b.value.length), l = I(() => b.value.filter((i) => i.done).length), F = I(() => B.value > 0 && l.value === B.value), N = I(() => m.minsLeft(s.mode)), g = I(() => F.value ? e("connect.onboarding.all_set_sub") : l.value > 0 ? e("connect.onboarding.progress_sub", { done: l.value, total: B.value, mins: N.value }) : e(
|
|
100
100
|
s.mode === "generic" ? "connect.onboarding.generic_sub" : "connect.onboarding.goals_sub",
|
|
101
|
-
{ count: B.value, mins:
|
|
101
|
+
{ count: B.value, mins: N.value },
|
|
102
102
|
B.value
|
|
103
|
-
)),
|
|
104
|
-
const i = m.catalog,
|
|
105
|
-
return s.mode !== "goals" || !i || !
|
|
106
|
-
}), z =
|
|
103
|
+
)), D = I(() => {
|
|
104
|
+
const i = m.catalog, v = m.state;
|
|
105
|
+
return s.mode !== "goals" || !i || !v ? [] : _e(i, v).map((V) => ({ goal: V, ...oe(i, v, V) }));
|
|
106
|
+
}), z = I(() => F.value ? e("connect.onboarding.all_set_title") : D.value.length === 1 ? e("connect.onboarding.your_goal", { goal: D.value[0].goal.title }) : D.value.length > 1 ? e("connect.onboarding.your_goals") : e("connect.onboarding.start_here")), j = (i) => !!i && !E.isPremium;
|
|
107
107
|
async function O(i) {
|
|
108
108
|
try {
|
|
109
109
|
await m.patch(i);
|
|
@@ -111,60 +111,60 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
111
111
|
te.error(e("connect.onboarding.save_error"), 3e3);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
const le = (i) => O({ removed: { [i]: !0 } }), W =
|
|
114
|
+
const le = (i) => O({ removed: { [i]: !0 } }), W = I(() => s.placement === "analytic" && s.mode === "generic"), ae = () => O(
|
|
115
115
|
W.value ? { generic: "closed" } : s.placement === "analytic" ? { analyticDismissed: !0 } : { goalsDismissed: !0 }
|
|
116
116
|
);
|
|
117
117
|
function se() {
|
|
118
|
-
W.value ? O({ generic: "closed" }) : s.placement === "analytic" ?
|
|
118
|
+
W.value ? O({ generic: "closed" }) : s.placement === "analytic" ? $.push({ name: Z["$connect-GOALS"] }) : C("next");
|
|
119
119
|
}
|
|
120
120
|
const ie = (i) => O({ manualDone: { [i]: !0 } });
|
|
121
|
-
function q(i,
|
|
122
|
-
const
|
|
123
|
-
|
|
121
|
+
function q(i, v) {
|
|
122
|
+
const V = m.state;
|
|
123
|
+
V && $.push(xe(he(i, V, s.mode), v));
|
|
124
124
|
}
|
|
125
125
|
function ce() {
|
|
126
|
-
s.placement === "analytic" ?
|
|
126
|
+
s.placement === "analytic" ? $.push({ name: Z["$connect-GOALS"] }) : C("customise");
|
|
127
127
|
}
|
|
128
|
-
return (i,
|
|
129
|
-
const
|
|
130
|
-
return o(),
|
|
128
|
+
return (i, v) => {
|
|
129
|
+
const V = k("FmCircularProgress"), d = k("FmChip"), S = k("FmButton"), re = k("FmIcon"), de = k("FmPill"), ue = k("FmCard");
|
|
130
|
+
return o(), p(ue, {
|
|
131
131
|
variant: "outlined",
|
|
132
132
|
class: "flex flex-col overflow-hidden"
|
|
133
133
|
}, {
|
|
134
134
|
default: w(() => [
|
|
135
135
|
c("div", Ce, [
|
|
136
|
-
|
|
136
|
+
x(V, {
|
|
137
137
|
size: "xxl",
|
|
138
138
|
class: "shrink-0",
|
|
139
139
|
"current-step": t(l),
|
|
140
140
|
"total-steps": Math.max(t(B), 1)
|
|
141
141
|
}, null, 8, ["current-step", "total-steps"]),
|
|
142
142
|
c("div", $e, [
|
|
143
|
-
c("span", Fe,
|
|
144
|
-
c("span", Se,
|
|
145
|
-
t(
|
|
146
|
-
(o(!0), r(L, null, T(t(
|
|
143
|
+
c("span", Fe, h(t(z)), 1),
|
|
144
|
+
c("span", Se, h(t(g)), 1),
|
|
145
|
+
t(D).length ? (o(), r("div", Be, [
|
|
146
|
+
(o(!0), r(L, null, T(t(D), (n) => (o(), p(d, {
|
|
147
147
|
key: n.goal.id,
|
|
148
148
|
compact: "",
|
|
149
149
|
variant: n.allDone ? "success" : "plain",
|
|
150
150
|
label: t(e)("connect.onboarding.goal_progress", { goal: n.goal.title, done: n.done, total: n.total })
|
|
151
151
|
}, null, 8, ["variant", "label"]))), 128))
|
|
152
|
-
])) :
|
|
152
|
+
])) : f("", !0)
|
|
153
153
|
]),
|
|
154
154
|
c("div", Ie, [
|
|
155
|
-
|
|
155
|
+
x(S, {
|
|
156
156
|
variant: "tertiary",
|
|
157
157
|
label: t(e)("connect.onboarding.customise"),
|
|
158
158
|
onClick: ce
|
|
159
159
|
}, null, 8, ["label"]),
|
|
160
|
-
|
|
160
|
+
x(S, {
|
|
161
161
|
variant: "plain",
|
|
162
162
|
icon: t(a) ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
163
163
|
"aria-label": t(a) ? t(e)("connect.onboarding.expand") : t(e)("connect.onboarding.collapse"),
|
|
164
164
|
"aria-expanded": !t(a),
|
|
165
|
-
onClick:
|
|
165
|
+
onClick: y
|
|
166
166
|
}, null, 8, ["icon", "aria-label", "aria-expanded"]),
|
|
167
|
-
|
|
167
|
+
x(S, {
|
|
168
168
|
variant: "plain",
|
|
169
169
|
icon: "close",
|
|
170
170
|
"aria-label": t(e)("connect.onboarding.hide"),
|
|
@@ -172,22 +172,22 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
172
172
|
}, null, 8, ["aria-label"])
|
|
173
173
|
])
|
|
174
174
|
]),
|
|
175
|
-
t(a) ?
|
|
176
|
-
t(
|
|
177
|
-
c("p", De,
|
|
178
|
-
|
|
175
|
+
t(a) ? f("", !0) : (o(), r(L, { key: 0 }, [
|
|
176
|
+
t(F) ? (o(), r("div", Ve, [
|
|
177
|
+
c("p", De, h(t(e)("connect.onboarding.next_line")), 1),
|
|
178
|
+
x(S, {
|
|
179
179
|
variant: "primary",
|
|
180
180
|
label: t(e)("connect.onboarding.see_next"),
|
|
181
181
|
onClick: se
|
|
182
182
|
}, null, 8, ["label"])
|
|
183
183
|
])) : (o(), r("ul", Pe, [
|
|
184
|
-
(o(!0), r(L, null, T(t(
|
|
184
|
+
(o(!0), r(L, null, T(t(b), (n) => {
|
|
185
185
|
var H, J, Q, X, Y;
|
|
186
186
|
return o(), r("li", {
|
|
187
187
|
key: n.item.id,
|
|
188
188
|
class: "group flex items-start gap-16 px-24 py-16 border-t border-fm-color-neutral-gray-100 hover:bg-fm-color-neutral-gray-100 focus-within:bg-fm-color-neutral-gray-100"
|
|
189
189
|
}, [
|
|
190
|
-
|
|
190
|
+
x(re, {
|
|
191
191
|
name: n.done ? "check_circle" : "radio_button_unchecked",
|
|
192
192
|
color: n.done ? "system-success-300" : "neutral-gray-300",
|
|
193
193
|
outline: !n.done,
|
|
@@ -195,59 +195,59 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
195
195
|
}, null, 8, ["name", "color", "outline"]),
|
|
196
196
|
c("div", Ge, [
|
|
197
197
|
c("div", Le, [
|
|
198
|
-
c("span",
|
|
199
|
-
n.done ? (o(), r("span", Oe,
|
|
200
|
-
n.recommended ? (o(),
|
|
198
|
+
c("span", Ee, h(n.title), 1),
|
|
199
|
+
n.done ? (o(), r("span", Oe, h((J = n.section) == null ? void 0 : J.label), 1)) : (o(), r(L, { key: 0 }, [
|
|
200
|
+
n.recommended ? (o(), p(d, {
|
|
201
201
|
key: 0,
|
|
202
202
|
variant: "info",
|
|
203
203
|
compact: "",
|
|
204
204
|
label: t(e)("connect.onboarding.recommended")
|
|
205
|
-
}, null, 8, ["label"])) :
|
|
206
|
-
(H = n.section) != null && H.premium ? (o(),
|
|
205
|
+
}, null, 8, ["label"])) : f("", !0),
|
|
206
|
+
(H = n.section) != null && H.premium ? (o(), p(de, {
|
|
207
207
|
key: 1,
|
|
208
208
|
variant: "premium"
|
|
209
|
-
})) :
|
|
210
|
-
n.section ? (o(),
|
|
209
|
+
})) : f("", !0),
|
|
210
|
+
n.section ? (o(), p(M, {
|
|
211
211
|
key: 2,
|
|
212
212
|
label: n.section.label,
|
|
213
213
|
tooltip: n.section.tooltip
|
|
214
|
-
}, null, 8, ["label", "tooltip"])) :
|
|
215
|
-
n.extra ? (o(),
|
|
214
|
+
}, null, 8, ["label", "tooltip"])) : f("", !0),
|
|
215
|
+
n.extra ? (o(), p(M, {
|
|
216
216
|
key: 3,
|
|
217
217
|
label: n.extra.label,
|
|
218
218
|
tooltip: n.extra.tooltip
|
|
219
|
-
}, null, 8, ["label", "tooltip"])) :
|
|
220
|
-
c("span",
|
|
219
|
+
}, null, 8, ["label", "tooltip"])) : f("", !0),
|
|
220
|
+
c("span", Ne, " · " + h(t(e)("connect.onboarding.minutes", { mins: n.item.minutes })), 1)
|
|
221
221
|
], 64))
|
|
222
222
|
]),
|
|
223
|
-
n.done ?
|
|
223
|
+
n.done ? f("", !0) : (o(), r("p", Re, h(n.item.why), 1))
|
|
224
224
|
]),
|
|
225
225
|
c("div", Te, [
|
|
226
|
-
n.done ? (o(),
|
|
226
|
+
n.done ? (o(), p(S, {
|
|
227
227
|
key: 1,
|
|
228
228
|
variant: "tertiary",
|
|
229
229
|
label: t(e)("connect.onboarding.open_section", { section: (Y = n.section) == null ? void 0 : Y.label }),
|
|
230
230
|
onClick: (R) => q(n.item, !1)
|
|
231
231
|
}, null, 8, ["label", "onClick"])) : (o(), r(L, { key: 0 }, [
|
|
232
|
-
j((Q = n.section) == null ? void 0 : Q.premium) ? (o(),
|
|
232
|
+
j((Q = n.section) == null ? void 0 : Q.premium) ? (o(), p(S, {
|
|
233
233
|
key: 0,
|
|
234
234
|
variant: "primary",
|
|
235
235
|
label: t(e)("connect.onboarding.upgrade_unlock"),
|
|
236
|
-
onClick:
|
|
237
|
-
}, null, 8, ["label"])) :
|
|
238
|
-
|
|
236
|
+
onClick: v[0] || (v[0] = (R) => t(ve)(t(fe).businessId))
|
|
237
|
+
}, null, 8, ["label"])) : f("", !0),
|
|
238
|
+
x(S, {
|
|
239
239
|
variant: j((X = n.section) == null ? void 0 : X.premium) ? "tertiary" : "primary",
|
|
240
240
|
label: t(e)("connect.onboarding.set_up"),
|
|
241
241
|
onClick: (R) => q(n.item, !0)
|
|
242
242
|
}, null, 8, ["variant", "label", "onClick"]),
|
|
243
|
-
n.manual ? (o(),
|
|
243
|
+
n.manual ? (o(), p(S, {
|
|
244
244
|
key: 1,
|
|
245
245
|
variant: "secondary",
|
|
246
246
|
label: t(e)("connect.onboarding.mark_done"),
|
|
247
247
|
onClick: (R) => ie(n.item.id)
|
|
248
|
-
}, null, 8, ["label", "onClick"])) :
|
|
248
|
+
}, null, 8, ["label", "onClick"])) : f("", !0)
|
|
249
249
|
], 64)),
|
|
250
|
-
n.done ?
|
|
250
|
+
n.done ? f("", !0) : (o(), p(S, {
|
|
251
251
|
key: 2,
|
|
252
252
|
variant: "plain",
|
|
253
253
|
icon: "close",
|
|
@@ -279,44 +279,42 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
279
279
|
},
|
|
280
280
|
emits: ["update:modelValue", "build", "cancel"],
|
|
281
281
|
setup(u, { emit: P }) {
|
|
282
|
-
const s = u,
|
|
283
|
-
const
|
|
284
|
-
return !
|
|
285
|
-
const
|
|
282
|
+
const s = u, C = P, { t: e } = K(), $ = U(), m = ne(), E = I(() => {
|
|
283
|
+
const _ = $.catalog, a = $.state;
|
|
284
|
+
return !_ || !a ? [] : _.goals.map((y) => {
|
|
285
|
+
const b = oe(_, a, y), l = [
|
|
286
286
|
...new Set(
|
|
287
|
-
[...
|
|
288
|
-
var
|
|
289
|
-
return (
|
|
290
|
-
}).filter((
|
|
287
|
+
[...y.coreItemIds, ...y.altItemIds].map((g) => {
|
|
288
|
+
var D;
|
|
289
|
+
return (D = _.items.find((z) => z.id === g)) == null ? void 0 : D.section;
|
|
290
|
+
}).filter((g) => !!g)
|
|
291
291
|
)
|
|
292
|
-
].map((
|
|
293
|
-
let
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
return {
|
|
299
|
-
goal: _,
|
|
292
|
+
].map((g) => _.sections[g]).filter((g) => !!g), F = l.filter((g) => g.premium);
|
|
293
|
+
let N = "";
|
|
294
|
+
return F.length && !m.isPremium && (N = F.length === l.length ? e("connect.onboarding.premium_nudge_all") : e("connect.onboarding.premium_nudge_some", {
|
|
295
|
+
sections: F.map((g) => g.label).join(", ")
|
|
296
|
+
})), {
|
|
297
|
+
goal: y,
|
|
300
298
|
sections: l,
|
|
301
|
-
nudge:
|
|
299
|
+
nudge: N,
|
|
302
300
|
// Stays pickable while any of its alternatives is still to set up.
|
|
303
|
-
disabled:
|
|
304
|
-
status:
|
|
305
|
-
selected: s.modelValue.includes(
|
|
301
|
+
disabled: b.exhausted,
|
|
302
|
+
status: b.exhausted ? e("connect.onboarding.already_set_up") : b.done > 0 ? e("connect.onboarding.partly_set_up", b) : "",
|
|
303
|
+
selected: s.modelValue.includes(y.id)
|
|
306
304
|
};
|
|
307
305
|
});
|
|
308
306
|
});
|
|
309
|
-
function G(
|
|
310
|
-
a ||
|
|
307
|
+
function G(_, a) {
|
|
308
|
+
a || C(
|
|
311
309
|
"update:modelValue",
|
|
312
|
-
s.modelValue.includes(
|
|
310
|
+
s.modelValue.includes(_) ? s.modelValue.filter((y) => y !== _) : [...s.modelValue, _]
|
|
313
311
|
);
|
|
314
312
|
}
|
|
315
|
-
return (
|
|
316
|
-
const
|
|
313
|
+
return (_, a) => {
|
|
314
|
+
const y = k("FmIcon"), b = k("FmChip"), B = k("FmButton");
|
|
317
315
|
return o(), r("div", Ae, [
|
|
318
316
|
c("div", Ke, [
|
|
319
|
-
(o(!0), r(L, null, T(t(
|
|
317
|
+
(o(!0), r(L, null, T(t(E), (l) => (o(), r("button", {
|
|
320
318
|
key: l.goal.id,
|
|
321
319
|
type: "button",
|
|
322
320
|
role: "checkbox",
|
|
@@ -326,57 +324,47 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
326
324
|
l.selected ? "border-fm-color-primary" : "border-fm-color-neutral-gray-200",
|
|
327
325
|
l.disabled ? "opacity-60 cursor-not-allowed" : "cursor-pointer"
|
|
328
326
|
]]),
|
|
329
|
-
onClick: (
|
|
327
|
+
onClick: (F) => G(l.goal.id, l.disabled)
|
|
330
328
|
}, [
|
|
331
|
-
|
|
329
|
+
x(y, {
|
|
332
330
|
name: l.selected ? "check_box" : "check_box_outline_blank",
|
|
333
331
|
color: l.selected ? "primary" : "neutral-gray-300",
|
|
334
332
|
class: "shrink-0",
|
|
335
333
|
"aria-hidden": "true"
|
|
336
334
|
}, null, 8, ["name", "color"]),
|
|
337
335
|
c("span", Me, [
|
|
338
|
-
c("span", Ue,
|
|
339
|
-
c("span", je,
|
|
336
|
+
c("span", Ue, h(l.goal.title), 1),
|
|
337
|
+
c("span", je, h(l.goal.sub), 1),
|
|
340
338
|
c("span", We, [
|
|
341
|
-
(o(!0), r(L, null, T(l.sections, (
|
|
342
|
-
key:
|
|
343
|
-
|
|
344
|
-
}, [
|
|
345
|
-
v(M, {
|
|
346
|
-
label: b.label
|
|
347
|
-
}, null, 8, ["label"]),
|
|
348
|
-
b.isNew ? (o(), f(p, {
|
|
349
|
-
key: 0,
|
|
350
|
-
variant: "info",
|
|
351
|
-
compact: "",
|
|
352
|
-
label: t(e)("connect.onboarding.new_tag")
|
|
353
|
-
}, null, 8, ["label"])) : g("", !0)
|
|
354
|
-
]))), 128))
|
|
339
|
+
(o(!0), r(L, null, T(l.sections, (F) => (o(), p(M, {
|
|
340
|
+
key: F.label,
|
|
341
|
+
label: F.label
|
|
342
|
+
}, null, 8, ["label"]))), 128))
|
|
355
343
|
]),
|
|
356
|
-
l.nudge ? (o(), r("span", qe,
|
|
344
|
+
l.nudge ? (o(), r("span", qe, h(l.nudge), 1)) : f("", !0),
|
|
357
345
|
l.status ? (o(), r("span", He, [
|
|
358
|
-
|
|
346
|
+
x(b, {
|
|
359
347
|
variant: l.disabled ? "success" : "neutral",
|
|
360
348
|
compact: "",
|
|
361
349
|
label: l.status
|
|
362
350
|
}, null, 8, ["variant", "label"])
|
|
363
|
-
])) :
|
|
351
|
+
])) : f("", !0)
|
|
364
352
|
])
|
|
365
353
|
], 10, ze))), 128))
|
|
366
354
|
]),
|
|
367
355
|
c("div", Je, [
|
|
368
|
-
|
|
356
|
+
x(B, {
|
|
369
357
|
variant: "primary",
|
|
370
358
|
label: u.updating ? t(e)("connect.onboarding.update") : t(e)("connect.onboarding.build"),
|
|
371
359
|
disabled: u.modelValue.length === 0,
|
|
372
|
-
onClick: a[0] || (a[0] = (l) =>
|
|
360
|
+
onClick: a[0] || (a[0] = (l) => C("build"))
|
|
373
361
|
}, null, 8, ["label", "disabled"]),
|
|
374
|
-
u.updating ? (o(),
|
|
362
|
+
u.updating ? (o(), p(B, {
|
|
375
363
|
key: 0,
|
|
376
364
|
variant: "tertiary",
|
|
377
365
|
label: t(e)("connect.onboarding.cancel"),
|
|
378
|
-
onClick: a[1] || (a[1] = (l) =>
|
|
379
|
-
}, null, 8, ["label"])) :
|
|
366
|
+
onClick: a[1] || (a[1] = (l) => C("cancel"))
|
|
367
|
+
}, null, 8, ["label"])) : f("", !0)
|
|
380
368
|
])
|
|
381
369
|
]);
|
|
382
370
|
};
|
|
@@ -390,41 +378,41 @@ const ke = ["aria-label"], M = /* @__PURE__ */ A({
|
|
|
390
378
|
emits: ["built", "cancel", "dismiss"],
|
|
391
379
|
setup(u, { emit: P }) {
|
|
392
380
|
var G;
|
|
393
|
-
const s = u,
|
|
394
|
-
async function
|
|
381
|
+
const s = u, C = P, { t: e } = K(), $ = U(), m = ee([...((G = $.state) == null ? void 0 : G.pickedGoals) ?? []]);
|
|
382
|
+
async function E() {
|
|
395
383
|
try {
|
|
396
|
-
await
|
|
384
|
+
await $.patch({
|
|
397
385
|
pickedGoals: m.value,
|
|
398
386
|
built: !0,
|
|
399
387
|
goalsDismissed: !1,
|
|
400
388
|
analyticDismissed: !1
|
|
401
|
-
}),
|
|
389
|
+
}), C("built");
|
|
402
390
|
} catch {
|
|
403
391
|
te.error(e("connect.onboarding.save_error"), 3e3);
|
|
404
392
|
}
|
|
405
393
|
}
|
|
406
|
-
return (
|
|
407
|
-
const
|
|
394
|
+
return (_, a) => {
|
|
395
|
+
const y = k("FmButton");
|
|
408
396
|
return o(), r("section", Xe, [
|
|
409
397
|
c("div", Ye, [
|
|
410
398
|
c("div", Ze, [
|
|
411
|
-
c("h2", we,
|
|
412
|
-
c("p", et,
|
|
399
|
+
c("h2", we, h(t(e)("connect.onboarding.picker_title")), 1),
|
|
400
|
+
c("p", et, h(t(e)("connect.onboarding.picker_intro")), 1)
|
|
413
401
|
]),
|
|
414
|
-
s.dismissible ? (o(),
|
|
402
|
+
s.dismissible ? (o(), p(y, {
|
|
415
403
|
key: 0,
|
|
416
404
|
variant: "plain",
|
|
417
405
|
icon: "close",
|
|
418
406
|
"aria-label": t(e)("connect.onboarding.hide"),
|
|
419
|
-
onClick: a[0] || (a[0] = (
|
|
420
|
-
}, null, 8, ["aria-label"])) :
|
|
407
|
+
onClick: a[0] || (a[0] = (b) => C("dismiss"))
|
|
408
|
+
}, null, 8, ["aria-label"])) : f("", !0)
|
|
421
409
|
]),
|
|
422
|
-
|
|
410
|
+
x(Qe, {
|
|
423
411
|
modelValue: t(m),
|
|
424
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
412
|
+
"onUpdate:modelValue": a[1] || (a[1] = (b) => pe(m) ? m.value = b : null),
|
|
425
413
|
updating: u.updating,
|
|
426
|
-
onBuild:
|
|
427
|
-
onCancel: a[2] || (a[2] = (
|
|
414
|
+
onBuild: E,
|
|
415
|
+
onCancel: a[2] || (a[2] = (b) => C("cancel"))
|
|
428
416
|
}, null, 8, ["modelValue", "updating"])
|
|
429
417
|
]);
|
|
430
418
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as ee, ref as P, computed as u, onMounted as te, onBeforeUnmount as oe, resolveComponent as g, openBlock as n, createElementBlock as s, Fragment as h, createVNode as p, unref as e, createElementVNode as a, toDisplayString as i, createBlock as y, createCommentVNode as f, renderList as L, withCtx as H } from "vue";
|
|
2
2
|
import { h as ne } from "./moment-D7p2TMB-.js";
|
|
3
|
-
import { u as ae } from "./vue-i18n-
|
|
3
|
+
import { u as ae } from "./vue-i18n-BJWf_QrH.js";
|
|
4
4
|
import { useRouter as le } from "vue-router";
|
|
5
|
-
import { n as se } from "./plugins-
|
|
6
|
-
import { u as ie, h as ce, p as re, b as de, r as me, d as ue, c as pe } from "./onboarding-
|
|
7
|
-
import { _ as fe, a as ve } from "./GoalPickerPanel.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { n as se } from "./plugins-CpxP-Bn_.js";
|
|
6
|
+
import { u as ie, h as ce, p as re, b as de, r as me, d as ue, c as pe } from "./onboarding-OTAVtlNj.js";
|
|
7
|
+
import { _ as fe, a as ve } from "./GoalPickerPanel.vue_vue_type_script_setup_true_lang-DxFGFA_U.js";
|
|
8
8
|
const ye = { class: "px-24 pb-24 flex flex-col gap-24" }, _e = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "flex justify-center py-40"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as l, createElementBlock as o, createElementVNode as r, defineComponent as $, ref as b, onMounted as I, resolveComponent as f, renderSlot as x, toDisplayString as s, createCommentVNode as h, normalizeStyle as V, unref as i, Fragment as w, createVNode as F, withCtx as g, createTextVNode as p, normalizeClass as z, createBlock as k } from "vue";
|
|
2
|
-
import { u as R } from "./vue-i18n-
|
|
2
|
+
import { u as R } from "./vue-i18n-BJWf_QrH.js";
|
|
3
3
|
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const N = {}, D = { class: "animate-pulse flex space-x-4 bg-gray-300 dark:bg-gray-700 items-center justify-center rounded w-full h-full" };
|
|
5
5
|
function L(e, d) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as U, ref as g, watch as O, onMounted as I, resolveComponent as m, openBlock as b, createBlock as j, withCtx as P, createTextVNode as z, toDisplayString as B, createElementVNode as c, createVNode as o, unref as e, createElementBlock as F, createCommentVNode as W, normalizeClass as G, computed as L, Fragment as q, isRef as J } from "vue";
|
|
2
|
-
import { u as H } from "./vue-i18n-
|
|
3
|
-
import "./index-
|
|
2
|
+
import { u as H } from "./vue-i18n-BJWf_QrH.js";
|
|
3
|
+
import "./index-iEzy3892.js";
|
|
4
4
|
import { useRouter as K } from "vue-router";
|
|
5
|
-
import { u as Q } from "./loading
|
|
6
|
-
import { f as V, p as X } from "./plugins-
|
|
7
|
-
import { u as Y, _ as Z } from "./RewardGroup.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Q } from "./loading-nQaPRntd.js";
|
|
6
|
+
import { f as V, p as X } from "./plugins-CpxP-Bn_.js";
|
|
7
|
+
import { u as Y, _ as Z } from "./RewardGroup.vue_vue_type_script_setup_true_lang-CW-EEgDZ.js";
|
|
8
8
|
import { useDialog as ee, useSnackbar as ne, FmButtonVariant as p } from "@feedmepos/ui-library";
|
|
9
|
-
import { r as N } from "./index-
|
|
10
|
-
import { u as ae } from "./reward-
|
|
11
|
-
import { u as oe } from "./business-
|
|
12
|
-
import { u as te } from "./membership-
|
|
13
|
-
import { R as $ } from "./app
|
|
9
|
+
import { r as N } from "./index-BECZ4ORu.js";
|
|
10
|
+
import { u as ae } from "./reward-yx-Ttob3.js";
|
|
11
|
+
import { u as oe } from "./business-C0Ej4JRP.js";
|
|
12
|
+
import { u as te } from "./membership-BY1-idAv.js";
|
|
13
|
+
import { R as $ } from "./app-DjtVpjOD.js";
|
|
14
14
|
const re = { class: "space-y-24" }, le = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: /* @__PURE__ */ G([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, openBlock as t, createElementBlock as o, createElementVNode as i, toDisplayString as r, unref as c, createCommentVNode as m, Fragment as y, renderList as _, normalizeClass as d, createVNode as b } from "vue";
|
|
2
|
-
import { u as x } from "./vue-i18n-
|
|
2
|
+
import { u as x } from "./vue-i18n-BJWf_QrH.js";
|
|
3
3
|
import { components as h } from "@feedmepos/ui-library";
|
|
4
4
|
const k = { class: "border-t border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-50 p-12 flex flex-col gap-8" }, v = { class: "fm-typo-en-body-sm-600 text-fm-color-neutral-gray-500 px-4" }, S = {
|
|
5
5
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watchEffect, computed, watch, openBlock, createElementBlock, normalizeStyle, onBeforeUnmount, resolveComponent, unref, createBlock } from "vue";
|
|
2
|
-
import { c as commonjsGlobal, b as getDefaultExportFromCjs } from "./app
|
|
2
|
+
import { c as commonjsGlobal, b as getDefaultExportFromCjs } from "./app-DjtVpjOD.js";
|
|
3
3
|
const v = "4.8.0", meta = {
|
|
4
4
|
g: "LottieFiles AE ",
|
|
5
5
|
a: "",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as Z, resolveComponent as M, openBlock as c, createBlock as N, withCtx as U, createElementVNode as a, toDisplayString as r, unref as o, createElementBlock as d, Fragment as k, renderList as W, normalizeClass as B, createVNode as f, withKeys as Ge, withModifiers as Je, createCommentVNode as z, createTextVNode as ge, normalizeStyle as Pt, mergeModels as Tt, useModel as Bt, ref as S, computed as $, watch as Ye, onBeforeUnmount as Nt, isRef as lt, nextTick as xt, reactive as Ut, onMounted as zt } from "vue";
|
|
2
|
-
import { m as De } from "./index-
|
|
3
|
-
import { g as K, S as Vt, b as jt, c as Kt } from "./index-
|
|
4
|
-
import { c as qt } from "./index-
|
|
5
|
-
import { u as Q } from "./vue-i18n-
|
|
6
|
-
import { _ as xe } from "./MetricInfoTooltip.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { m as De } from "./index-DQLDjCeb.js";
|
|
3
|
+
import { g as K, S as Vt, b as jt, c as Kt } from "./index-DXV_Kdhp.js";
|
|
4
|
+
import { c as qt } from "./index-DNx-iJd1.js";
|
|
5
|
+
import { u as Q } from "./vue-i18n-BJWf_QrH.js";
|
|
6
|
+
import { _ as xe } from "./MetricInfoTooltip.vue_vue_type_script_setup_true_lang-BHprSEKu.js";
|
|
7
7
|
import { h as Yt } from "./moment-D7p2TMB-.js";
|
|
8
|
-
import { m as Ht } from "./index-
|
|
8
|
+
import { m as Ht } from "./index-BvoYHJ0i.js";
|
|
9
9
|
import { _ as wt } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
|
|
10
|
-
import { _ as it } from "./DateRangeChip.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as Wt } from "./MemberDetailSheet.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { c as Gt, n as ht } from "./plugins-
|
|
13
|
-
import { t as Jt } from "./money-
|
|
14
|
-
import { u as Zt } from "./loading
|
|
15
|
-
import { u as Qt } from "./business-
|
|
10
|
+
import { _ as it } from "./DateRangeChip.vue_vue_type_script_setup_true_lang-CwD5dRnJ.js";
|
|
11
|
+
import { _ as Wt } from "./MemberDetailSheet.vue_vue_type_script_setup_true_lang-cGglvqwB.js";
|
|
12
|
+
import { c as Gt, n as ht } from "./plugins-CpxP-Bn_.js";
|
|
13
|
+
import { t as Jt } from "./money-DE62jPYV.js";
|
|
14
|
+
import { u as Zt } from "./loading-nQaPRntd.js";
|
|
15
|
+
import { u as Qt } from "./business-C0Ej4JRP.js";
|
|
16
16
|
import { F as vt } from "./timezone-BxJDy-bY.js";
|
|
17
17
|
import { useCoreStore as Xt } from "@feedmepos/mf-common";
|
|
18
|
-
import { _ as ea, a as ta } from "./GoalPickerPanel.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { u as aa, a as oa } from "./onboarding-
|
|
18
|
+
import { _ as ea, a as ta } from "./GoalPickerPanel.vue_vue_type_script_setup_true_lang-DxFGFA_U.js";
|
|
19
|
+
import { u as aa, a as oa } from "./onboarding-OTAVtlNj.js";
|
|
20
20
|
const sa = { class: "flex items-center mb-16" }, ra = { class: "flex-1 fm-typo-en-body-md-600" }, na = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary py-12"
|