@feedmepos/mf-connect 0.1.113-prod → 0.1.114-dev
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 +66 -1
- package/dist/{App-2J4yDonr.js → App-CIWTDYuZ.js} +700 -654
- package/dist/AuditLogs-BluLDXu9.js +2016 -0
- package/dist/{Bin-BU_hVuxJ.js → Bin-jS6pM4L3.js} +8 -8
- package/dist/Broadcast-DBqsSZ0S.js +306 -0
- package/dist/{CampaignAnalytic-DUUmFMvy.js → CampaignAnalytic-DJrjXD4H.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BZirReIy.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CzwigRLi.js} +9 -9
- package/dist/{Card-DS2K_LFv.js → Card-B10nLilL.js} +25 -24
- package/dist/{Collections-BFdRdPHR.js → Collections-BN42A73p.js} +197 -185
- package/dist/{Credit-CODfiox3.js → Credit-0SS26HGE.js} +21 -20
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-B2T5G1hZ.js → DateRangeChip.vue_vue_type_script_setup_true_lang-B3wozBFs.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BRd5RVYe.js +4442 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-KvZebiOu.js → EffectSheet.vue_vue_type_style_index_0_lang-zV9dLCWp.js} +32 -32
- package/dist/{Experience-BGBWc8Ep.js → Experience-D7qPzsrc.js} +32 -31
- package/dist/{FileSaver.min-DJAN3Eu0.js → FileSaver.min-BKWoklMK.js} +1 -1
- package/dist/{Game-6yyn0uAd.js → Game-BoYMwfog.js} +19 -18
- package/dist/{GiftCardSetup-B096bTm0.js → GiftCardSetup-B87O0xzo.js} +75 -75
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-ChvUXdF-.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-B3uGbEFY.js} +7 -7
- package/dist/{Goals-Db2mwbRo.js → Goals-CVxf3xCA.js} +4 -4
- package/dist/Grab-mGL1Mue_.js +301 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-xdEzwMcS.js → ImageInput.vue_vue_type_script_setup_true_lang-HipBZ1_T.js} +1 -1
- package/dist/{Index-580WNkG2.js → Index-Dptuy-6c.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-BkAQXKNJ.js → LocationPicker.vue_vue_type_script_setup_true_lang-Cjc4UeKz.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CR6sSnx4.js → LottieAnimation.vue_vue_type_script_setup_true_lang-Bh0ari3f.js} +1 -1
- package/dist/{LoyaltyDashboard-Clr2aiUP.js → LoyaltyDashboard-BxhI6RAE.js} +15 -15
- package/dist/MainLayout-YfDxvZXl.js +4 -0
- package/dist/{MainLayout-_iCyT5mw.js → MainLayout.vue_vue_type_script_setup_true_lang-BgXpznbi.js} +5 -4
- package/dist/{Marketing-fq1wxANq.js → Marketing-C2cVJacf.js} +4 -4
- package/dist/MarketingMaterialEdit-DkOEy_L-.js +1037 -0
- package/dist/{Member-BfRy196y.js → Member-DufbKDOh.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-BAR44Qcp.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-CU8EmBxy.js} +43 -50
- package/dist/{MemberImportHistory-C4622Ivs.js → MemberImportHistory-DlFN-uQl.js} +7 -7
- package/dist/{MemberList-DqtsMN_N.js → MemberList-B344n8I4.js} +103 -105
- package/dist/{MemberTransactions-DsUoFg3z.js → MemberTransactions-BS7H640M.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CzFMUgXM.js → MessageInput.vue_vue_type_script_setup_true_lang-CxDtXvwd.js} +4228 -4176
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-CVQYcuQ6.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-lY0jlyOG.js} +1 -1
- package/dist/{Mission-B0GO4LiM.js → Mission-D2ed_oKn.js} +22 -21
- package/dist/{Overview-XpJJmHqs.js → Overview-CLh_T6YY.js} +145 -144
- package/dist/{Overview-CVITimwN.js → Overview-DJa-hXDC.js} +23 -22
- package/dist/{Point-B7aCrMkI.js → Point-DAPeg1VD.js} +22 -21
- package/dist/{Promotion-DfVcuXHy.js → Promotion-CPPCMMFl.js} +137 -131
- package/dist/{Queue-BT7O2cvj.js → Queue-BcPwCRcM.js} +47 -46
- package/dist/{Record-CAc030dz.js → Record-C5XKn--g.js} +9 -9
- package/dist/{Review-CyXo4GTY.js → Review-Cc51luIv.js} +2 -2
- package/dist/ReviewFacebookCallback-BSGInFB8.js +225 -0
- package/dist/{ReviewGoogleCallback-BxiFOl0B.js → ReviewGoogleCallback-C1gY4vcP.js} +5 -5
- package/dist/{Reward-ChfNtdwX.js → Reward-k1R3hLiF.js} +29 -29
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CpQu_QBQ.js → RewardGroup.vue_vue_type_script_setup_true_lang-BGbbGVK4.js} +16 -15
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Coh3L11L.js +1923 -0
- package/dist/{Segment-H2zBDZeh.js → Segment-DsBnIvje.js} +290 -291
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-B0jCJ-Xq.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CMKpvXN-.js} +31 -30
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DW_ViNZM.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-LyAtRMs8.js} +4 -4
- package/dist/Setting-BRueNgc4.js +574 -0
- package/dist/{SettingAdvertisements-DPQHP3-B.js → SettingAdvertisements-BrVcQyhF.js} +12 -12
- package/dist/Settings-fOvXd29Z.js +286 -0
- package/dist/{Store-B2f5HVQc.js → Store-rrh2pIHH.js} +661 -654
- package/dist/{StoreRewards-QxfaEt9f.js → StoreRewards-D-jivVKr.js} +15 -15
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CvQXsZbH.js +1319 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DbnY9VE9.js +7007 -0
- package/dist/{Tier-BSk4rBm8.js → Tier-DJiLtw3M.js} +2576 -687
- package/dist/{Title-CIzpB8TT.js → Title-s0bzA7yZ.js} +94 -92
- package/dist/{Transaction-BjxxNEHa.js → Transaction-CQ-CJ_eh.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BMutYxOU.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Bfy8SZH1.js} +26 -26
- package/dist/{Voucher-B2lFq21Y.js → Voucher-9vydRET7.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BWV631It.js → VoucherEditor.vue_vue_type_script_setup_true_lang-Dq7veRL5.js} +16 -16
- package/dist/WhatsappAccount-D12Hvzfl.js +159 -0
- package/dist/WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-BrZEDi6O.js +39 -0
- package/dist/WhatsappBot-o5b_0CnB.js +629 -0
- package/dist/WhatsappBotLogs-CK_V_iT5.js +372 -0
- package/dist/WhatsappBotSettings-BooibLUg.js +694 -0
- package/dist/WhatsappLayout-bOyNHGUI.js +21 -0
- package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-Cytrffdh.js +253 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BCoB0Fsa.js → ZodTextField.vue_vue_type_script_setup_true_lang-96t_eUzk.js} +2 -2
- package/dist/{app-DgFVWdhA.js → app-DV3e2LkD.js} +10610 -8223
- package/dist/app.js +4 -3
- package/dist/{base.export-B6Rojjek.js → base.export-DQUUtGmy.js} +2 -2
- package/dist/browser-BSAOEeIM.js +1478 -0
- package/dist/{business-C6ID0exl.js → business-BZ0boE-5.js} +1 -1
- package/dist/campaign-CsfFq2S-.js +400 -0
- package/dist/{campaign-BgSJXWdU.js → campaign-DMrtYWcs.js} +31 -25
- package/dist/{campaign.enum-CVvm0LMm.js → campaign.enum-Dx-Zo68Q.js} +3 -2
- package/dist/campaign.fn-C-CdNNdR.js +776 -0
- package/dist/{collectible.enum-DGQVW464.js → collectible.enum-Liy2wH3s.js} +1 -1
- package/dist/{collection.fn-dV4F8R-j.js → collection.fn-C-rryKSc.js} +2 -2
- package/dist/{currency-DlHi_3WN.js → currency-BOd9iVZV.js} +1 -1
- package/dist/duplicateCampaign-ey_rW0Bz.js +51 -0
- package/dist/{effect-BJgmiWY4.js → effect-BP6Hkxmj.js} +1 -1
- package/dist/{email-addresses-3GTx_xTh.js → email-addresses-CO61QAq0.js} +2 -2
- package/dist/feature-flag-Bq1SgbYC.js +868 -0
- package/dist/feature-flag-lvPP0ED-.js +50 -0
- package/dist/google-BQK68wbe.js +5 -0
- package/dist/{helper-BX0JQP06.js → helper-BRpts-M-.js} +1 -1
- package/dist/{index-BIpAzktM.js → index-03WIXl-H.js} +8 -7
- package/dist/{index-BeCKw7Y3.js → index-B0RavybO.js} +19 -6
- package/dist/{index-DeNbsrQx.js → index-BDNkoALK.js} +1 -1
- package/dist/{index-Bl5aHABH.js → index-BV5aPSYo.js} +11 -10
- package/dist/{index-Cnw0B8Lc.js → index-Bk20uvPY.js} +1 -1
- package/dist/index-Bn19rfby.js +14571 -0
- package/dist/index-C_H8jFYf.js +2743 -0
- package/dist/{index-nmw7_9ZE.js → index-Cj-eugzc.js} +1 -1
- package/dist/{index-uXgPJlic.js → index-CoROn5OA.js} +2700 -2613
- package/dist/{index-DdMVrWZy.js → index-CrBhcMaL.js} +8028 -10767
- package/dist/{index-2xed2K8D.js → index-CsBjAM3E.js} +4 -3
- package/dist/{index-CiFReW-F.js → index-D1t4_KaG.js} +1 -1
- package/dist/{index-DRNdJ_KC.js → index-D3wGTCWf.js} +8 -7
- package/dist/{index-CtBLnWVG.js → index-D41kjcrZ.js} +683 -581
- package/dist/{index-CNULhBPM.js → index-DIZLkVe0.js} +691 -230
- package/dist/{index-QaWLGgEC.js → index-DucKyzrD.js} +2 -2
- package/dist/{index-o2OQljHs.js → index-R5WS21OL.js} +4 -4
- package/dist/index-RwNlbTO8.js +115 -0
- package/dist/{index-R0qlOO6J.js → index-VYI0zWNC.js} +29 -15
- package/dist/index-ZRE89TKq.js +80 -0
- package/dist/{index-BHT6cvWA.js → index-_Cj-bsd_.js} +396 -232
- package/dist/{index-Y2Pu1YkB.js → index-mToWKHVs.js} +2 -2
- package/dist/{index.esm2017-Dum0onrS.js → index.esm2017-B_Sag8Pg.js} +209 -209
- package/dist/{loading-B2mSdkfy.js → loading-C5fVI0ry.js} +1 -1
- package/dist/{lodash-DtOypaKt.js → lodash-COo8_xCU.js} +1 -1
- package/dist/{member-import-C2pLnh44.js → member-import-I_pKwUfF.js} +6 -5
- package/dist/{membership-BWyBGF4n.js → membership-BgfH9Kva.js} +3 -3
- package/dist/{money-3lCCVCeP.js → money-Cr07YDlV.js} +1 -1
- package/dist/{number-zlqy2MLG.js → number-DFsj0dkh.js} +1 -1
- package/dist/objectid-Cu89BzwI.js +145 -0
- package/dist/{onboarding-BqD3B4M1.js → onboarding-DlkJCm-5.js} +25 -25
- package/dist/{onboardingSetup-CCQ90jg7.js → onboardingSetup-BEhVj613.js} +2 -2
- package/dist/{plugins-Bj3npYnL.js → plugins-CPTtiKqf.js} +3 -3
- package/dist/{MarketingMaterialEdit-0h7E0n5e.js → remy-icon-BhUGu2NI.js} +2 -1031
- package/dist/{reward-5dDuZEb7.js → reward-DqY0mQ_5.js} +1 -1
- package/dist/{rule-NqLeSyoO.js → rule-mJJ48eKw.js} +572 -492
- package/dist/style.css +1 -1
- package/dist/template-C1QftpDG.js +188 -0
- package/dist/{timezone-B0lkgvh-.js → timezone-BBgBHels.js} +1 -1
- package/dist/{transaction.fn-CACuVUBe.js → transaction.fn-Sr0hj3kY.js} +2 -2
- package/dist/{trigger-BKJwKTJx.js → trigger-PUP0mwKM.js} +8 -8
- package/dist/{useMarketingMaterialActions-DERvOmen.js → useMarketingMaterialActions-faslwaHd.js} +3 -3
- package/dist/{usePagination-FkjroUq2.js → usePagination-Be6nIQ9y.js} +1 -1
- package/dist/{user-H9MnsLbu.js → user-DBSYzG_9.js} +1 -1
- package/dist/vue-i18n-C6c2jsH3.js +2365 -0
- package/dist/{xlsx-BVmtIl_i.js → xlsx-Bfo19lFv.js} +786 -786
- package/dist/{zod-DI7OBdxu.js → zod-CihbDg3N.js} +1 -1
- package/package.json +12 -3
- package/dist/Broadcast-CoirZUyr.js +0 -271
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DyIOw_HH.js +0 -2431
- package/dist/ReviewFacebookCallback--IcyheQA.js +0 -238
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang--5K-qagY.js +0 -1883
- package/dist/Setting-D4XOHSHT.js +0 -2036
- package/dist/Settings-Dt_oLoGl.js +0 -179
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Db2cd6ny.js +0 -1264
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-D9L-AayN.js +0 -142
- package/dist/campaign-DDfFBFye.js +0 -228
- package/dist/campaign.fn-DRabv93K.js +0 -776
- package/dist/google-C3S8u0mT.js +0 -4
- package/dist/index-CmhDYsk6.js +0 -51
- package/dist/objectid-b2KGvMA7.js +0 -145
- package/dist/rule-builder-BzYwbbj4.js +0 -102
- package/dist/template-fjUz6xrU.js +0 -236
- package/dist/vue-i18n-DbJO6sZW.js +0 -2365
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as B, ref as O, onMounted as Q, computed as G, resolveComponent as x, openBlock as d, createElementBlock as b, renderSlot as W, toDisplayString as V, createCommentVNode as f, createBlock as u, unref as e, isRef as q, createVNode as
|
|
2
|
-
import { z as te,
|
|
3
|
-
import { Z as r } from "./zod-
|
|
4
|
-
import {
|
|
5
|
-
import { u as I } from "./vue-i18n-
|
|
6
|
-
import { s as
|
|
7
|
-
import { p as ne } from "./plugins-
|
|
1
|
+
import { defineComponent as B, ref as O, onMounted as Q, computed as G, resolveComponent as x, openBlock as d, createElementBlock as b, renderSlot as W, toDisplayString as V, createCommentVNode as f, createBlock as u, unref as e, isRef as q, createVNode as w, normalizeClass as Z, watch as X, withCtx as h, resolveDynamicComponent as P, Fragment as _, createElementVNode as k, createTextVNode as ee } from "vue";
|
|
2
|
+
import { z as te, h as le } from "./app-DV3e2LkD.js";
|
|
3
|
+
import { Z as r } from "./zod-CihbDg3N.js";
|
|
4
|
+
import { j as oe, i as ae } from "./index-CoROn5OA.js";
|
|
5
|
+
import { u as I } from "./vue-i18n-C6c2jsH3.js";
|
|
6
|
+
import { s as g } from "./effect-BP6Hkxmj.js";
|
|
7
|
+
import { p as ne } from "./plugins-CPTtiKqf.js";
|
|
8
8
|
const ie = { class: "flex flex-col gap-8" }, de = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "fm-typo-en-body-lg-600"
|
|
@@ -51,10 +51,10 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
51
51
|
});
|
|
52
52
|
const l = O(
|
|
53
53
|
i.type ? a.find((m) => m.value === i.type) : (U = i.modelValue) != null && U.validBefore || (A = i.modelValue) != null && A.validAfter ? a[0] : a[1]
|
|
54
|
-
),
|
|
54
|
+
), S = G(
|
|
55
55
|
() => i.forCredit ? oe : ae
|
|
56
56
|
), y = G(() => {
|
|
57
|
-
const m =
|
|
57
|
+
const m = S.value.safeParse(i.modelValue);
|
|
58
58
|
return m.success ? [] : m.error.errors;
|
|
59
59
|
});
|
|
60
60
|
function o(m) {
|
|
@@ -90,7 +90,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
90
90
|
items: a
|
|
91
91
|
}, null, 8, ["modelValue"])),
|
|
92
92
|
e(l).value === "range" ? (d(), b("div", se, [
|
|
93
|
-
|
|
93
|
+
w(Y, {
|
|
94
94
|
"model-value": {
|
|
95
95
|
startDate: (E = t.modelValue) != null && E.validAfter ? new Date(($ = t.modelValue) == null ? void 0 : $.validAfter).toISOString() : null,
|
|
96
96
|
endDate: (j = t.modelValue) != null && j.validAfter ? new Date(((M = t.modelValue) == null ? void 0 : M.validBefore) || "").toISOString() : null
|
|
@@ -143,7 +143,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
143
143
|
key: 3,
|
|
144
144
|
text: e(n)("connect.template.validity_option.expire_follow_first_receive")
|
|
145
145
|
}, null, 8, ["text"])) : f("", !0),
|
|
146
|
-
|
|
146
|
+
w(T, {
|
|
147
147
|
text: t.helperText || (((L = i.modelValue) == null ? void 0 : L.validForDay) === 0 ? e(n)("connect.template.validity_option.expires_on_same_day") : e(r).helperText(e(y), "")),
|
|
148
148
|
state: t.helperText ? "error" : ((z = i.modelValue) == null ? void 0 : z.validForDay) === 0 ? "warning" : e(r).helperState(e(y), "")
|
|
149
149
|
}, null, 8, ["text", "state"])
|
|
@@ -172,9 +172,9 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
172
172
|
setup(t, { emit: C }) {
|
|
173
173
|
const { t: n } = I(), i = t, v = C, a = O(i.modelValue ?? {});
|
|
174
174
|
return X(a, () => v("update:model-value", a.value)), (c, l) => {
|
|
175
|
-
const
|
|
175
|
+
const S = x("FmSwitch"), y = x("FmStepperField");
|
|
176
176
|
return d(), b("div", ue, [
|
|
177
|
-
t.isMission ? f("", !0) : (d(), u(
|
|
177
|
+
t.isMission ? f("", !0) : (d(), u(S, {
|
|
178
178
|
key: 0,
|
|
179
179
|
label: e(n)("connect.template.enable_transfer"),
|
|
180
180
|
"label-placement": "right",
|
|
@@ -185,14 +185,14 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
185
185
|
key: 1,
|
|
186
186
|
class: Z(["grid gap-16", t.isMission ? "" : "grid-cols-2"])
|
|
187
187
|
}, [
|
|
188
|
-
|
|
188
|
+
w(y, {
|
|
189
189
|
modelValue: e(a).maxPerUser,
|
|
190
190
|
"onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).maxPerUser = o),
|
|
191
191
|
"show-steppers": !1,
|
|
192
192
|
rules: [e(r).ruleAtPath(t.schema, "maxPerUser")],
|
|
193
193
|
"helper-text": e(n)("connect.template.leave_empty_unlimited")
|
|
194
194
|
}, {
|
|
195
|
-
label:
|
|
195
|
+
label: h(() => [
|
|
196
196
|
(d(), u(P(
|
|
197
197
|
e(r).toInputLabel(
|
|
198
198
|
e(r).typeAtPath(t.schema, "maxPerUser"),
|
|
@@ -210,7 +210,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
210
210
|
rules: [e(r).ruleAtPath(t.schema, "maxReceive")],
|
|
211
211
|
"helper-text": e(n)("connect.template.leave_empty_unlimited")
|
|
212
212
|
}, {
|
|
213
|
-
label:
|
|
213
|
+
label: h(() => [
|
|
214
214
|
(d(), u(P(
|
|
215
215
|
e(r).toInputLabel(
|
|
216
216
|
e(r).typeAtPath(t.schema, "maxReceive"),
|
|
@@ -222,14 +222,14 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
222
222
|
}, 8, ["modelValue", "rules", "helper-text"]))
|
|
223
223
|
], 2)),
|
|
224
224
|
t.isMission ? f("", !0) : (d(), b(_, { key: 2 }, [
|
|
225
|
-
|
|
225
|
+
w(y, {
|
|
226
226
|
modelValue: e(a).maxUse,
|
|
227
227
|
"onUpdate:modelValue": l[3] || (l[3] = (o) => e(a).maxUse = o),
|
|
228
228
|
"append-text": "use(s)",
|
|
229
229
|
"show-steppers": !1,
|
|
230
230
|
rules: [e(r).ruleAtPath(t.schema, "maxUse")]
|
|
231
231
|
}, {
|
|
232
|
-
label:
|
|
232
|
+
label: h(() => [
|
|
233
233
|
(d(), u(P(
|
|
234
234
|
e(r).toInputLabel(
|
|
235
235
|
e(r).typeAtPath(t.schema, "maxUse"),
|
|
@@ -247,7 +247,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
247
247
|
"show-steppers": !1,
|
|
248
248
|
rules: [e(r).ruleAtPath(t.schema, "cooldown")]
|
|
249
249
|
}, {
|
|
250
|
-
label:
|
|
250
|
+
label: h(() => [
|
|
251
251
|
(d(), u(P(
|
|
252
252
|
e(r).toInputLabel(
|
|
253
253
|
e(r).typeAtPath(t.schema, "cooldown"),
|
|
@@ -257,7 +257,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
257
257
|
]),
|
|
258
258
|
_: 1
|
|
259
259
|
}, 8, ["modelValue", "rules"])) : f("", !0),
|
|
260
|
-
|
|
260
|
+
w(re, {
|
|
261
261
|
modelValue: e(a).validityOption,
|
|
262
262
|
"onUpdate:modelValue": l[5] || (l[5] = (o) => e(a).validityOption = o),
|
|
263
263
|
label: e(n)("connect.template.validity_option.title")
|
|
@@ -287,7 +287,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
287
287
|
c.stopPropagation(), await ne.remove(n("connect.effect.removeConfirm")) && i("update:model-value", null);
|
|
288
288
|
}
|
|
289
289
|
return (c, l) => {
|
|
290
|
-
const
|
|
290
|
+
const S = x("FmButton"), y = x("FmSideSheet");
|
|
291
291
|
return d(), u(y, {
|
|
292
292
|
"max-width": 550,
|
|
293
293
|
header: e(n)("connect.effect.title"),
|
|
@@ -297,24 +297,24 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
297
297
|
l[3] || (l[3] = (o) => v.value = o)
|
|
298
298
|
]
|
|
299
299
|
}, {
|
|
300
|
-
"side-sheet-button":
|
|
300
|
+
"side-sheet-button": h(() => {
|
|
301
301
|
var o, D, U, A, m, s;
|
|
302
302
|
return [
|
|
303
303
|
k("div", ce, [
|
|
304
304
|
k("div", pe, V(e(n)("connect.effect.description")), 1),
|
|
305
305
|
t.modelValue ? (d(), b("div", fe, [
|
|
306
306
|
k("div", ve, [
|
|
307
|
-
k("div", null, V((o = e(
|
|
308
|
-
k("div", ye, V((D = e(
|
|
309
|
-
(m = e(
|
|
307
|
+
k("div", null, V((o = e(g)(t.modelValue)) == null ? void 0 : o.type), 1),
|
|
308
|
+
k("div", ye, V((D = e(g)(t.modelValue)) == null ? void 0 : D.adjustment) + " " + V(e(n)("connect.effect.with")) + " " + V((U = e(g)(t.modelValue)) == null ? void 0 : U.requirements) + " " + V((A = e(g)(t.modelValue)) == null ? void 0 : A.maxCap), 1),
|
|
309
|
+
(m = e(g)(t.modelValue)) != null && m.posHint ? (d(), b("div", Ve, V((s = e(g)(t.modelValue)) == null ? void 0 : s.posHint), 1)) : f("", !0)
|
|
310
310
|
]),
|
|
311
|
-
|
|
311
|
+
w(S, {
|
|
312
312
|
icon: "delete",
|
|
313
313
|
"icon-color": "neutral-gray-400",
|
|
314
314
|
variant: "tertiary",
|
|
315
315
|
onClick: a
|
|
316
316
|
})
|
|
317
|
-
])) : (d(), u(
|
|
317
|
+
])) : (d(), u(S, {
|
|
318
318
|
key: 0,
|
|
319
319
|
label: e(n)("connect.effect.title"),
|
|
320
320
|
icon: "add",
|
|
@@ -325,11 +325,11 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
325
325
|
])
|
|
326
326
|
];
|
|
327
327
|
}),
|
|
328
|
-
"side-sheet-footer":
|
|
328
|
+
"side-sheet-footer": h(() => [...l[4] || (l[4] = [
|
|
329
329
|
ee(V(void 0), -1)
|
|
330
330
|
])]),
|
|
331
|
-
default:
|
|
332
|
-
|
|
331
|
+
default: h(() => [
|
|
332
|
+
w(e(le), {
|
|
333
333
|
class: "fm-effect-sheet",
|
|
334
334
|
title: "",
|
|
335
335
|
"can-set-auto-apply": t.canSetAutoApply,
|
|
@@ -345,7 +345,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
345
345
|
}
|
|
346
346
|
});
|
|
347
347
|
export {
|
|
348
|
-
|
|
348
|
+
re as _,
|
|
349
349
|
Ce as a,
|
|
350
|
-
|
|
350
|
+
Ue as b
|
|
351
351
|
};
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import { defineComponent as q, ref as E, computed as G, onMounted as Y, resolveComponent as m, openBlock as d, createElementBlock as C, Fragment as v, createVNode as s, unref as o, createElementVNode as n, withCtx as b, renderList as z, createBlock as k, resolveDynamicComponent as J, toDisplayString as w, h as x } from "vue";
|
|
2
2
|
import { _ as Q } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as W, components as F } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as Z } from "./plugins-
|
|
5
|
-
import { u as ee } from "./loading-
|
|
6
|
-
import { u as te } from "./business-
|
|
7
|
-
import { u as oe } from "./campaign-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
4
|
+
import { p as Z } from "./plugins-CPTtiKqf.js";
|
|
5
|
+
import { u as ee } from "./loading-C5fVI0ry.js";
|
|
6
|
+
import { u as te } from "./business-BZ0boE-5.js";
|
|
7
|
+
import { u as oe } from "./campaign-DMrtYWcs.js";
|
|
8
|
+
import { b as B, c as N, a as ae } from "./campaign-CsfFq2S-.js";
|
|
9
|
+
import { c as ne, p as re } from "./duplicateCampaign-ey_rW0Bz.js";
|
|
10
|
+
import { u as ie } from "./vue-i18n-C6c2jsH3.js";
|
|
11
|
+
import { _ as se } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
|
|
12
|
+
import { _ as ce } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BRd5RVYe.js";
|
|
13
|
+
import { u as le } from "./template-C1QftpDG.js";
|
|
14
|
+
import "./index-BDNkoALK.js";
|
|
15
|
+
import { u as me } from "./onboardingSetup-BEhVj613.js";
|
|
15
16
|
import { useRouter as pe } from "vue-router";
|
|
16
|
-
import { c as
|
|
17
|
-
import { R as ue } from "./app-
|
|
18
|
-
const de = { class: "px-24 flex flex-col gap-y-16" },
|
|
17
|
+
import { c as f } from "./index-mToWKHVs.js";
|
|
18
|
+
import { R as ue } from "./app-DV3e2LkD.js";
|
|
19
|
+
const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-center justify-between w-full" }, ge = { class: "flex gap-8 overflow-x-auto" }, ye = { class: "space-y-8" }, _e = { class: "flex w-full gap-4 items-center" }, he = { class: "space-y-4" }, we = { class: "fm-typo-en-body-lg-600" }, xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ce = { class: "flex items-center gap-8" }, ve = { class: "flex flex-col gap-16 text-center" }, be = { class: "fm-typo-en-title-sm-800" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, He = /* @__PURE__ */ q({
|
|
19
20
|
__name: "Experience",
|
|
20
21
|
setup(Fe) {
|
|
21
|
-
const { t: r } =
|
|
22
|
+
const { t: r } = ie(), T = pe(), V = {
|
|
22
23
|
label: r("connect.program.common.actions.create", {
|
|
23
24
|
type: r("connect.program.experience.title").toLowerCase()
|
|
24
25
|
}),
|
|
25
26
|
value: "create",
|
|
26
27
|
isPrimary: !0,
|
|
27
28
|
prependIcon: "add"
|
|
28
|
-
}, R =
|
|
29
|
+
}, R = le("POINT", W()), A = te(), p = oe(), { global: O, minor: P } = ee, c = E({
|
|
29
30
|
searchKey: "",
|
|
30
31
|
location: []
|
|
31
32
|
});
|
|
@@ -36,7 +37,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
36
37
|
return (i = e == null ? void 0 : e.targetLocation) == null ? void 0 : i.includes(l);
|
|
37
38
|
}) : e.targetLocation.includes(t);
|
|
38
39
|
}
|
|
39
|
-
const
|
|
40
|
+
const g = G(
|
|
40
41
|
() => p.campaigns.experience.filter((e) => $(e))
|
|
41
42
|
), D = [
|
|
42
43
|
{
|
|
@@ -90,7 +91,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
90
91
|
async function S(e) {
|
|
91
92
|
await Z.remove(`Are you sure you want to remove ${e.name}?`) && await P(
|
|
92
93
|
async () => {
|
|
93
|
-
await
|
|
94
|
+
await f.delete(e._id), await p.read("POINT");
|
|
94
95
|
},
|
|
95
96
|
{
|
|
96
97
|
message: `Removing ${e.name}`,
|
|
@@ -107,7 +108,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
107
108
|
(i = y.value) == null || i.showSheet(
|
|
108
109
|
!0,
|
|
109
110
|
"POINT",
|
|
110
|
-
e ? await
|
|
111
|
+
e ? await f.readById(e._id) : void 0,
|
|
111
112
|
l
|
|
112
113
|
);
|
|
113
114
|
}
|
|
@@ -120,9 +121,9 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
120
121
|
}
|
|
121
122
|
async function L(e) {
|
|
122
123
|
var i;
|
|
123
|
-
if (!await
|
|
124
|
+
if (!await ne(e.name))
|
|
124
125
|
return;
|
|
125
|
-
const t = await
|
|
126
|
+
const t = await f.readById(e._id), l = re(t, {
|
|
126
127
|
keepCollectible: !0
|
|
127
128
|
});
|
|
128
129
|
(i = y.value) == null || i.showSheet(
|
|
@@ -135,7 +136,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
135
136
|
async function K(e) {
|
|
136
137
|
await P(
|
|
137
138
|
async () => {
|
|
138
|
-
e.campaign._id ? await
|
|
139
|
+
e.campaign._id ? await f.update(e.campaign._id, e) : await f.create(e), await p.read("POINT");
|
|
139
140
|
},
|
|
140
141
|
{
|
|
141
142
|
message: r("connect.program.common.update.updating", {
|
|
@@ -159,7 +160,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
159
160
|
return d(), C(v, null, [
|
|
160
161
|
s(l, {
|
|
161
162
|
title: o(r)("connect.program.experience.title"),
|
|
162
|
-
actions: o(
|
|
163
|
+
actions: o(g).length > 0 ? [V] : [],
|
|
163
164
|
"onClick:action": t[0] || (t[0] = () => _())
|
|
164
165
|
}, null, 8, ["title", "actions"]),
|
|
165
166
|
n("div", de, [
|
|
@@ -171,9 +172,9 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
171
172
|
collapsible: ""
|
|
172
173
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
173
174
|
o(p).campaigns.experience && o(p).campaigns.experience.length > 0 ? (d(), C(v, { key: 0 }, [
|
|
174
|
-
n("div",
|
|
175
|
-
n("div",
|
|
176
|
-
s(
|
|
175
|
+
n("div", fe, [
|
|
176
|
+
n("div", ge, [
|
|
177
|
+
s(se, {
|
|
177
178
|
label: `${o(r)("connect.common.location")}: `,
|
|
178
179
|
"right-icon": "keyboard_arrow_down",
|
|
179
180
|
modelValue: o(c).location,
|
|
@@ -193,16 +194,16 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
193
194
|
]),
|
|
194
195
|
s(U, {
|
|
195
196
|
class: "xs:hidden sm:hidden",
|
|
196
|
-
"row-data": o(
|
|
197
|
+
"row-data": o(g),
|
|
197
198
|
"column-defs": D,
|
|
198
199
|
"search-value": o(c).searchKey,
|
|
199
200
|
"column-filter": [],
|
|
200
201
|
onRowClick: t[4] || (t[4] = (a) => _(a.original)),
|
|
201
|
-
"hide-footer": o(
|
|
202
|
+
"hide-footer": o(g).length < 10
|
|
202
203
|
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
203
204
|
s(H, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
|
|
204
205
|
default: b(() => [
|
|
205
|
-
(d(!0), C(v, null, z(o(
|
|
206
|
+
(d(!0), C(v, null, z(o(g).filter(
|
|
206
207
|
(a) => a.name.toLowerCase().includes(o(c).searchKey.toLowerCase())
|
|
207
208
|
), (a) => (d(), k(j, {
|
|
208
209
|
key: a._id.toString(),
|
|
@@ -272,7 +273,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
272
273
|
]),
|
|
273
274
|
_: 1
|
|
274
275
|
})),
|
|
275
|
-
s(
|
|
276
|
+
s(ce, {
|
|
276
277
|
ref_key: "sheetRef",
|
|
277
278
|
ref: y,
|
|
278
279
|
"onSubmit:modelValue": K
|
|
@@ -283,5 +284,5 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-
|
|
|
283
284
|
}
|
|
284
285
|
});
|
|
285
286
|
export {
|
|
286
|
-
|
|
287
|
+
He as default
|
|
287
288
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { defineComponent as J, ref as A, computed as Q, onMounted as X, resolveComponent as m, openBlock as f, createElementBlock as P, Fragment as R, createVNode as r, unref as o, withCtx as b, createElementVNode as n, toDisplayString as g, renderList as Z, createBlock as V, resolveDynamicComponent as ee, h as l } from "vue";
|
|
2
2
|
import { _ as te } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as oe, components as y } from "@feedmepos/ui-library";
|
|
4
|
-
import { c as ae, p as ne } from "./plugins-
|
|
5
|
-
import { u as ie } from "./loading-
|
|
6
|
-
import { u as re } from "./business-
|
|
7
|
-
import { u as se } from "./campaign-
|
|
8
|
-
import {
|
|
9
|
-
import { c as ce, p as me
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { u as
|
|
13
|
-
import {
|
|
14
|
-
import "./
|
|
4
|
+
import { c as ae, p as ne } from "./plugins-CPTtiKqf.js";
|
|
5
|
+
import { u as ie } from "./loading-C5fVI0ry.js";
|
|
6
|
+
import { u as re } from "./business-BZ0boE-5.js";
|
|
7
|
+
import { u as se } from "./campaign-DMrtYWcs.js";
|
|
8
|
+
import { b as T, c as U, a as le } from "./campaign-CsfFq2S-.js";
|
|
9
|
+
import { c as ce, p as me } from "./duplicateCampaign-ey_rW0Bz.js";
|
|
10
|
+
import { _ as de } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
|
|
11
|
+
import { _ as ue } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-BRd5RVYe.js";
|
|
12
|
+
import { u as pe } from "./template-C1QftpDG.js";
|
|
13
|
+
import { u as fe } from "./vue-i18n-C6c2jsH3.js";
|
|
14
|
+
import { _ as ge } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-CMKpvXN-.js";
|
|
15
|
+
import "./index-BDNkoALK.js";
|
|
15
16
|
import { useRouter as ye } from "vue-router";
|
|
16
|
-
import { c as h } from "./index-
|
|
17
|
-
import { R as _e } from "./app-
|
|
18
|
-
const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, Ce = { class: "px-24 flex flex-col gap-y-16" }, ve = { class: "flex items-center justify-between w-full" }, xe = { class: "flex gap-8 overflow-x-auto" }, be = { class: "space-y-8" }, ke = { class: "flex w-full gap-4 items-center" }, Fe = { class: "space-y-4" }, Se = { class: "fm-typo-en-body-lg-600" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re = { class: "flex items-center gap-8" }, Ve = { class: "flex flex-col gap-16 text-center" }, Le = { class: "fm-typo-en-title-sm-800" }, Be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" },
|
|
17
|
+
import { c as h } from "./index-mToWKHVs.js";
|
|
18
|
+
import { R as _e } from "./app-DV3e2LkD.js";
|
|
19
|
+
const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, Ce = { class: "px-24 flex flex-col gap-y-16" }, ve = { class: "flex items-center justify-between w-full" }, xe = { class: "flex gap-8 overflow-x-auto" }, be = { class: "space-y-8" }, ke = { class: "flex w-full gap-4 items-center" }, Fe = { class: "space-y-4" }, Se = { class: "fm-typo-en-body-lg-600" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re = { class: "flex items-center gap-8" }, Ve = { class: "flex flex-col gap-16 text-center" }, Le = { class: "fm-typo-en-title-sm-800" }, Be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xe = /* @__PURE__ */ J({
|
|
19
20
|
__name: "Game",
|
|
20
21
|
setup(Ee) {
|
|
21
22
|
const { t: d } = fe(), D = ye(), I = {
|
|
@@ -25,7 +26,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
|
|
|
25
26
|
value: "create",
|
|
26
27
|
isPrimary: !0,
|
|
27
28
|
prependIcon: "add"
|
|
28
|
-
}, L = oe(), K =
|
|
29
|
+
}, L = oe(), K = pe("GAME", L), w = re(), u = se(), { global: j, minor: B } = ie, c = A({
|
|
29
30
|
searchKey: "",
|
|
30
31
|
location: []
|
|
31
32
|
});
|
|
@@ -230,7 +231,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
|
|
|
230
231
|
o(u).campaigns.token && o(u).campaigns.token.length > 0 ? (f(), P(R, { key: 0 }, [
|
|
231
232
|
n("div", ve, [
|
|
232
233
|
n("div", xe, [
|
|
233
|
-
r(
|
|
234
|
+
r(de, {
|
|
234
235
|
label: `${o(d)("connect.common.location")}: `,
|
|
235
236
|
"right-icon": "keyboard_arrow_down",
|
|
236
237
|
modelValue: o(c).location,
|
|
@@ -336,7 +337,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
|
|
|
336
337
|
]),
|
|
337
338
|
_: 1
|
|
338
339
|
})),
|
|
339
|
-
r(
|
|
340
|
+
r(ue, {
|
|
340
341
|
ref_key: "sheetRef",
|
|
341
342
|
ref: k,
|
|
342
343
|
"onSubmit:modelValue": H
|
|
@@ -351,5 +352,5 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
|
|
|
351
352
|
}
|
|
352
353
|
});
|
|
353
354
|
export {
|
|
354
|
-
|
|
355
|
+
Xe as default
|
|
355
356
|
};
|