@feedmepos/mf-connect 0.1.115-dev → 0.1.115-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/README.md +1 -66
- package/dist/{App-43mZfFAr.js → App-CvtSY8ZO.js} +618 -652
- package/dist/{Bin-CA7v180Y.js → Bin-B3gS9QVZ.js} +8 -8
- package/dist/{Broadcast-qmdifF2Y.js → Broadcast-DAeb-HaN.js} +21 -22
- package/dist/{CampaignAnalytic-xnrDxqaH.js → CampaignAnalytic-BfTaHVem.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-zjk-QdtX.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-zsei4OfG.js} +9 -9
- package/dist/{Card-D8icsk7L.js → Card-JFeVIwFs.js} +24 -25
- package/dist/{Collections--THcD-E_.js → Collections-xcDpEhIm.js} +185 -197
- package/dist/{Credit-JrbtVMBp.js → Credit-C9HJZjDS.js} +20 -21
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-DrwKtnE5.js → DateRangeChip.vue_vue_type_script_setup_true_lang-DSqVY91w.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-D_jXVE2I.js +3494 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-hVgqWdD0.js → EffectSheet.vue_vue_type_style_index_0_lang-C3J0rCTt.js} +32 -32
- package/dist/{Experience-CFeRqBoj.js → Experience-DszS8gto.js} +31 -32
- package/dist/{FileSaver.min-CCXIBm58.js → FileSaver.min-CFVQKaC-.js} +1 -1
- package/dist/{Game-CPxq6Ex3.js → Game-DhgeN7E2.js} +18 -19
- package/dist/{GiftCardSetup-D0esVZDp.js → GiftCardSetup-CWm6IhrS.js} +75 -75
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-CJ1-vL-K.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-BuKADvmK.js} +7 -7
- package/dist/{Goals-DaKI6uXt.js → Goals-DtRVierH.js} +4 -4
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BOnL0GxM.js → ImageInput.vue_vue_type_script_setup_true_lang-DlEFyu6h.js} +1 -1
- package/dist/{Index-2kENoaZm.js → Index-DFRcu_qE.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-BtWnJKU_.js → LocationPicker.vue_vue_type_script_setup_true_lang-B3Br4Xvi.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CX_Sspu5.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CjNJj3qj.js} +1 -1
- package/dist/{LoyaltyDashboard-CB93Fz8u.js → LoyaltyDashboard-BWHKDPzk.js} +15 -15
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-Du8fw5v_.js → MainLayout-BmpNNAiE.js} +4 -5
- package/dist/Marketing-BKK45Eve.js +236 -0
- package/dist/{remy-icon-BhUGu2NI.js → MarketingMaterialEdit-x3c_N7Gs.js} +1031 -2
- package/dist/{Member-B--nYyr0.js → Member-xEzrBW_p.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-BBlzO7Db.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-DRoC-I0t.js} +50 -43
- package/dist/{MemberImportHistory-D52Y4RTC.js → MemberImportHistory-CEQpBBF8.js} +7 -7
- package/dist/{MemberList-13Owa1fj.js → MemberList-CCvzkHv8.js} +105 -103
- package/dist/{MemberTransactions-CpXEWNbq.js → MemberTransactions-Bmh39J2W.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DlELjFM0.js → MessageInput.vue_vue_type_script_setup_true_lang-D3Pmk80l.js} +14 -14
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-C_y0rM8c.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DIBKAwHP.js} +1 -1
- package/dist/{Mission-Ci-UzXSu.js → Mission-CpUo2Bgw.js} +21 -22
- package/dist/{Overview-CKxSfAGF.js → Overview-CwQqQ1Tn.js} +144 -145
- package/dist/{Overview-CXen9Ram.js → Overview-DcDZmDXA.js} +22 -23
- package/dist/{Point-CR3YOaag.js → Point-CUNQsQIx.js} +21 -22
- package/dist/{Promotion-tw3J4ul-.js → Promotion-Cqdim7aW.js} +131 -137
- package/dist/{Queue-BZGA5ZXt.js → Queue-CNBVh1UG.js} +45 -46
- package/dist/{Record-BTevVXnT.js → Record-BYwz4l4o.js} +9 -9
- package/dist/{Review-BU7c8ZF0.js → Review-CqLcZFj8.js} +2 -2
- package/dist/ReviewFacebookCallback-DbSCILNN.js +238 -0
- package/dist/{ReviewGoogleCallback-xpdPHSdg.js → ReviewGoogleCallback-Dg8R7QlO.js} +5 -5
- package/dist/{Reward-jlA_7cxz.js → Reward-M8GZ8eHq.js} +29 -29
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-D3z_n42G.js → RewardGroup.vue_vue_type_script_setup_true_lang-BkM9-Sx-.js} +15 -16
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CnaL93TF.js +1883 -0
- package/dist/{Segment-C1Bwm--Q.js → Segment-CrMi6xrp.js} +305 -304
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-B6apgWTM.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DKH5_9db.js} +30 -31
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-B7m2F9UV.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CyeAQ-hg.js} +4 -4
- package/dist/Setting-BnFRI0Se.js +2037 -0
- package/dist/{SettingAdvertisements-4XEAJzlL.js → SettingAdvertisements-Dh7v4c1D.js} +12 -12
- package/dist/Settings-BvT8_tkQ.js +179 -0
- package/dist/{Store-C56dXtc4.js → Store-CV-BmK5b.js} +30 -31
- package/dist/{StoreRewards-DQ1Q6WS6.js → StoreRewards-DPhSLvSZ.js} +15 -15
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CDu1QySl.js +1264 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-Dqz6jTlH.js +142 -0
- package/dist/{Tier-D4CPZqw7.js → Tier-ChvYps23.js} +687 -2576
- package/dist/{Title-DCbwhUic.js → Title-v-Ivswr1.js} +92 -94
- package/dist/{Transaction-C5LrasXr.js → Transaction-CRqE1Ix0.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Cl9b4mrK.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B0Uh9iuj.js} +26 -26
- package/dist/{Voucher-rrVbNZKR.js → Voucher-Bg8FOuzD.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BIq227nz.js → VoucherEditor.vue_vue_type_script_setup_true_lang-HKxivQMF.js} +16 -16
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-C39_95SZ.js → ZodTextField.vue_vue_type_script_setup_true_lang-8d290Dcp.js} +2 -2
- package/dist/{app-CgimGODl.js → app-DdNKsn2Q.js} +7107 -8874
- package/dist/app.js +3 -4
- package/dist/{base.export-D2P6HFvo.js → base.export-R97FrSQL.js} +2 -2
- package/dist/{business-Bu5TqSA0.js → business-Ce8vq3wQ.js} +1 -1
- package/dist/{campaign-zJxttSIk.js → campaign-BTllt2LH.js} +25 -31
- package/dist/{campaign-BFIXSgdJ.js → campaign-C19If7bW.js} +94 -121
- package/dist/{campaign.enum-Dx-Zo68Q.js → campaign.enum-9CCbalR4.js} +2 -3
- package/dist/{campaign.fn-gvjlcEfe.js → campaign.fn-B4g03h0A.js} +78 -78
- package/dist/{collectible.enum-Liy2wH3s.js → collectible.enum-MvqF7mSg.js} +1 -1
- package/dist/{collection.fn-DOm0HsSh.js → collection.fn-CR0bD33S.js} +2 -2
- package/dist/{currency-BpbQvbm8.js → currency-DmlguGIM.js} +1 -1
- package/dist/{effect-D-GtNB3n.js → effect-Dx3zfl28.js} +1 -1
- package/dist/{email-addresses-BKMoAtMi.js → email-addresses-De5PGOY4.js} +2 -2
- package/dist/{feature-flag-BJ_eyKsq.js → feature-flag-CD9V1V0h.js} +74 -74
- package/dist/google-C3S8u0mT.js +4 -0
- package/dist/{helper-CkfjBgMM.js → helper-CEiv7SaO.js} +1 -1
- package/dist/{index-zTvr2GR4.js → index-649OZ_e1.js} +2 -2
- package/dist/{index-feCrYhi6.js → index-B8meeQoD.js} +1 -1
- package/dist/{index-CIej31pF.js → index-B8yWVB8P.js} +3 -4
- package/dist/{index-BKsxIwbi.js → index-BAXKd9Gg.js} +198 -198
- package/dist/{index-BAtUrtqM.js → index-BDPnyro2.js} +6 -19
- package/dist/{index-DUAZOMVJ.js → index-BR9h5DTI.js} +1 -1
- package/dist/{index-DwU3fsLW.js → index-BVdYxi3l.js} +15 -29
- package/dist/{index-D0JK99Ko.js → index-BW6eb3n6.js} +252 -611
- package/dist/{index-LygS9WsG.js → index-BYI9ttxy.js} +10767 -8028
- package/dist/{index-BdEXUNoG.js → index-BquSqx6K.js} +4 -4
- package/dist/{index-BpTIulTX.js → index-CBJy9bxB.js} +1 -1
- package/dist/{index-B6kU3PkV.js → index-CPODug8b.js} +2613 -2700
- package/dist/{index-CfQuYqXn.js → index-CWUrODxL.js} +1 -1
- package/dist/{index-DKxN1mMS.js → index-CqOCJTeR.js} +232 -390
- package/dist/{index-CuREApMc.js → index-D4d3l0gw.js} +7 -8
- package/dist/{index-Bhl5IRXy.js → index-DT3S00_Y.js} +10 -11
- package/dist/{index-DqGs6RJG.js → index-IZRfmmde.js} +581 -683
- package/dist/{index-CQ8XFbBk.js → index-__UT3_Ey.js} +2 -2
- package/dist/{index-CCEXSPxk.js → index-xct3mnu8.js} +7 -7
- package/dist/{index.esm2017-DZi9IQPS.js → index.esm2017-AVbZ9btd.js} +177 -177
- package/dist/{loading-Brid2wnu.js → loading-BvHm1m3K.js} +1 -1
- package/dist/{lodash-C1epw3Kv.js → lodash-Dvrceo7x.js} +1 -1
- package/dist/{member-import-DAIxTIiu.js → member-import-c9avpiSS.js} +5 -6
- package/dist/{membership-BZmljFhF.js → membership-D-pZS634.js} +3 -3
- package/dist/{money-cLcyGcSZ.js → money-D4skwMkD.js} +1 -1
- package/dist/{number-C2jPLJr2.js → number-DJ6ncfT6.js} +1 -1
- package/dist/objectid-DEMM_jdR.js +145 -0
- package/dist/{onboarding-oRfy_g05.js → onboarding-t7R1d3h-.js} +25 -25
- package/dist/{onboardingSetup-BLD6m8HY.js → onboardingSetup-lTaJc0oT.js} +2 -2
- package/dist/{plugins-CUsr9vB0.js → plugins-DQNOWwRC.js} +3 -3
- package/dist/{reward-UOT03odb.js → reward-BK150pjm.js} +1 -1
- package/dist/{rule-BgJnPjkI.js → rule-COcdAnUu.js} +492 -572
- package/dist/rule-builder-Deufb6h_.js +102 -0
- package/dist/style.css +1 -1
- package/dist/template-DeebIqJ_.js +236 -0
- package/dist/{timezone-BXA4wq7Y.js → timezone-BP6UC4KL.js} +1 -1
- package/dist/{transaction.fn-CQ4fpRt3.js → transaction.fn-BY0hzon0.js} +2 -2
- package/dist/{trigger-DXJCGT0q.js → trigger-DVBjVPbN.js} +8 -8
- package/dist/useMarketingMaterialActions-DpQCQHFI.js +96 -0
- package/dist/{usePagination-Pp4okWr8.js → usePagination-QT552XyF.js} +1 -1
- package/dist/{user-B3gXcAIy.js → user-CmAxNc7T.js} +1 -1
- package/dist/vue-i18n-Cze706-f.js +2365 -0
- package/dist/{xlsx-CCaDUTgW.js → xlsx-DAczoc8y.js} +224 -224
- package/dist/{zod-CPwjOxvW.js → zod-Aj-GuVQL.js} +1 -1
- package/package.json +2 -6
- package/dist/AuditLogs-BPpdm96t.js +0 -2016
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DgdAlHU7.js +0 -4442
- package/dist/Grab-BWzdN_cd.js +0 -301
- package/dist/MainLayout-DwnjGXh6.js +0 -4
- package/dist/Marketing-DCco__2F.js +0 -273
- package/dist/MarketingMaterialEdit-BbgFtrYP.js +0 -1037
- package/dist/ReviewFacebookCallback-BnMF6Arh.js +0 -225
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CsHxqH9h.js +0 -1923
- package/dist/Setting-CDM4RhLW.js +0 -574
- package/dist/Settings-D-0tvZRr.js +0 -286
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-LLD91Rz6.js +0 -1319
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-Bvy4NJMd.js +0 -7007
- package/dist/WhatsappAccount-oJDo5zTr.js +0 -159
- package/dist/WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-aCQCYFYq.js +0 -39
- package/dist/WhatsappBot-Cl64wG_F.js +0 -876
- package/dist/WhatsappBotLogs-D3uT4EiB.js +0 -372
- package/dist/WhatsappBotSettings-Cs1lLxh-.js +0 -705
- package/dist/WhatsappLayout-C639d2HP.js +0 -21
- package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DpPxWp2x.js +0 -253
- package/dist/browser-BSAOEeIM.js +0 -1478
- package/dist/duplicateCampaign-CvsvjRE9.js +0 -51
- package/dist/feature-flag-Bo-k5sIG.js +0 -50
- package/dist/google-BQK68wbe.js +0 -5
- package/dist/index-C-iwb2Ln.js +0 -109
- package/dist/index-C_H8jFYf.js +0 -2743
- package/dist/index-DQ8JJhxs.js +0 -74
- package/dist/objectid-C-wocWKI.js +0 -145
- package/dist/template-BZyFhr73.js +0 -188
- package/dist/useMarketingMaterialActions-B-Wib5ga.js +0 -125
- package/dist/vue-i18n-DWGiC_vs.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 h, normalizeClass as Z, watch as X, withCtx as w, resolveDynamicComponent as P, Fragment as _, createElementVNode as k, createTextVNode as ee } from "vue";
|
|
2
|
+
import { z as te, f as le } from "./app-DdNKsn2Q.js";
|
|
3
|
+
import { Z as r } from "./zod-Aj-GuVQL.js";
|
|
4
|
+
import { g as oe, f as ae } from "./index-CPODug8b.js";
|
|
5
|
+
import { u as I } from "./vue-i18n-Cze706-f.js";
|
|
6
|
+
import { s as S } from "./effect-Dx3zfl28.js";
|
|
7
|
+
import { p as ne } from "./plugins-DQNOWwRC.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
|
+
), g = G(
|
|
55
55
|
() => i.forCredit ? oe : ae
|
|
56
56
|
), y = G(() => {
|
|
57
|
-
const m =
|
|
57
|
+
const m = g.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
|
+
h(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
|
+
h(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 g = 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(g, {
|
|
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
|
+
h(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: w(() => [
|
|
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: w(() => [
|
|
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
|
+
h(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: w(() => [
|
|
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: w(() => [
|
|
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
|
+
h(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 g = 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": w(() => {
|
|
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(S)(t.modelValue)) == null ? void 0 : o.type), 1),
|
|
308
|
+
k("div", ye, V((D = e(S)(t.modelValue)) == null ? void 0 : D.adjustment) + " " + V(e(n)("connect.effect.with")) + " " + V((U = e(S)(t.modelValue)) == null ? void 0 : U.requirements) + " " + V((A = e(S)(t.modelValue)) == null ? void 0 : A.maxCap), 1),
|
|
309
|
+
(m = e(S)(t.modelValue)) != null && m.posHint ? (d(), b("div", Ve, V((s = e(S)(t.modelValue)) == null ? void 0 : s.posHint), 1)) : f("", !0)
|
|
310
310
|
]),
|
|
311
|
-
|
|
311
|
+
h(g, {
|
|
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(g, {
|
|
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": w(() => [...l[4] || (l[4] = [
|
|
329
329
|
ee(V(void 0), -1)
|
|
330
330
|
])]),
|
|
331
|
-
default:
|
|
332
|
-
|
|
331
|
+
default: w(() => [
|
|
332
|
+
h(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
|
+
Ue as _,
|
|
349
349
|
Ce as a,
|
|
350
|
-
|
|
350
|
+
re as b
|
|
351
351
|
};
|
|
@@ -1,32 +1,31 @@
|
|
|
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 "./
|
|
15
|
-
import { u as me } from "./onboardingSetup-BLD6m8HY.js";
|
|
4
|
+
import { p as Z } from "./plugins-DQNOWwRC.js";
|
|
5
|
+
import { u as ee } from "./loading-BvHm1m3K.js";
|
|
6
|
+
import { u as te } from "./business-Ce8vq3wQ.js";
|
|
7
|
+
import { u as oe } from "./campaign-BTllt2LH.js";
|
|
8
|
+
import { a as B, b as N, g as ae } from "./campaign-C19If7bW.js";
|
|
9
|
+
import { u as ne, c as re, p as ie } from "./template-DeebIqJ_.js";
|
|
10
|
+
import { u as se } from "./vue-i18n-Cze706-f.js";
|
|
11
|
+
import { _ as ce } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
|
|
12
|
+
import { _ as le } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-D_jXVE2I.js";
|
|
13
|
+
import "./index-B8meeQoD.js";
|
|
14
|
+
import { u as me } from "./onboardingSetup-lTaJc0oT.js";
|
|
16
15
|
import { useRouter as pe } from "vue-router";
|
|
17
|
-
import { c as
|
|
18
|
-
import { R as ue } from "./app-
|
|
19
|
-
const de = { class: "px-24 flex flex-col gap-y-16" },
|
|
16
|
+
import { c as g } from "./index-649OZ_e1.js";
|
|
17
|
+
import { R as ue } from "./app-DdNKsn2Q.js";
|
|
18
|
+
const de = { class: "px-24 flex flex-col gap-y-16" }, ge = { class: "flex items-center justify-between w-full" }, fe = { 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" }, je = /* @__PURE__ */ q({
|
|
20
19
|
__name: "Experience",
|
|
21
20
|
setup(Fe) {
|
|
22
|
-
const { t: r } =
|
|
21
|
+
const { t: r } = se(), T = pe(), V = {
|
|
23
22
|
label: r("connect.program.common.actions.create", {
|
|
24
23
|
type: r("connect.program.experience.title").toLowerCase()
|
|
25
24
|
}),
|
|
26
25
|
value: "create",
|
|
27
26
|
isPrimary: !0,
|
|
28
27
|
prependIcon: "add"
|
|
29
|
-
}, R =
|
|
28
|
+
}, R = ne("POINT", W()), A = te(), p = oe(), { global: O, minor: P } = ee, c = E({
|
|
30
29
|
searchKey: "",
|
|
31
30
|
location: []
|
|
32
31
|
});
|
|
@@ -37,7 +36,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
37
36
|
return (i = e == null ? void 0 : e.targetLocation) == null ? void 0 : i.includes(l);
|
|
38
37
|
}) : e.targetLocation.includes(t);
|
|
39
38
|
}
|
|
40
|
-
const
|
|
39
|
+
const f = G(
|
|
41
40
|
() => p.campaigns.experience.filter((e) => $(e))
|
|
42
41
|
), D = [
|
|
43
42
|
{
|
|
@@ -91,7 +90,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
91
90
|
async function S(e) {
|
|
92
91
|
await Z.remove(`Are you sure you want to remove ${e.name}?`) && await P(
|
|
93
92
|
async () => {
|
|
94
|
-
await
|
|
93
|
+
await g.delete(e._id), await p.read("POINT");
|
|
95
94
|
},
|
|
96
95
|
{
|
|
97
96
|
message: `Removing ${e.name}`,
|
|
@@ -108,7 +107,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
108
107
|
(i = y.value) == null || i.showSheet(
|
|
109
108
|
!0,
|
|
110
109
|
"POINT",
|
|
111
|
-
e ? await
|
|
110
|
+
e ? await g.readById(e._id) : void 0,
|
|
112
111
|
l
|
|
113
112
|
);
|
|
114
113
|
}
|
|
@@ -121,9 +120,9 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
121
120
|
}
|
|
122
121
|
async function L(e) {
|
|
123
122
|
var i;
|
|
124
|
-
if (!await
|
|
123
|
+
if (!await re(e.name))
|
|
125
124
|
return;
|
|
126
|
-
const t = await
|
|
125
|
+
const t = await g.readById(e._id), l = ie(t, {
|
|
127
126
|
keepCollectible: !0
|
|
128
127
|
});
|
|
129
128
|
(i = y.value) == null || i.showSheet(
|
|
@@ -136,7 +135,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
136
135
|
async function K(e) {
|
|
137
136
|
await P(
|
|
138
137
|
async () => {
|
|
139
|
-
e.campaign._id ? await
|
|
138
|
+
e.campaign._id ? await g.update(e.campaign._id, e) : await g.create(e), await p.read("POINT");
|
|
140
139
|
},
|
|
141
140
|
{
|
|
142
141
|
message: r("connect.program.common.update.updating", {
|
|
@@ -160,7 +159,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
160
159
|
return d(), C(v, null, [
|
|
161
160
|
s(l, {
|
|
162
161
|
title: o(r)("connect.program.experience.title"),
|
|
163
|
-
actions: o(
|
|
162
|
+
actions: o(f).length > 0 ? [V] : [],
|
|
164
163
|
"onClick:action": t[0] || (t[0] = () => _())
|
|
165
164
|
}, null, 8, ["title", "actions"]),
|
|
166
165
|
n("div", de, [
|
|
@@ -172,9 +171,9 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
172
171
|
collapsible: ""
|
|
173
172
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
174
173
|
o(p).campaigns.experience && o(p).campaigns.experience.length > 0 ? (d(), C(v, { key: 0 }, [
|
|
175
|
-
n("div",
|
|
176
|
-
n("div",
|
|
177
|
-
s(
|
|
174
|
+
n("div", ge, [
|
|
175
|
+
n("div", fe, [
|
|
176
|
+
s(ce, {
|
|
178
177
|
label: `${o(r)("connect.common.location")}: `,
|
|
179
178
|
"right-icon": "keyboard_arrow_down",
|
|
180
179
|
modelValue: o(c).location,
|
|
@@ -194,16 +193,16 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
194
193
|
]),
|
|
195
194
|
s(U, {
|
|
196
195
|
class: "xs:hidden sm:hidden",
|
|
197
|
-
"row-data": o(
|
|
196
|
+
"row-data": o(f),
|
|
198
197
|
"column-defs": D,
|
|
199
198
|
"search-value": o(c).searchKey,
|
|
200
199
|
"column-filter": [],
|
|
201
200
|
onRowClick: t[4] || (t[4] = (a) => _(a.original)),
|
|
202
|
-
"hide-footer": o(
|
|
201
|
+
"hide-footer": o(f).length < 10
|
|
203
202
|
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
204
203
|
s(H, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
|
|
205
204
|
default: b(() => [
|
|
206
|
-
(d(!0), C(v, null, z(o(
|
|
205
|
+
(d(!0), C(v, null, z(o(f).filter(
|
|
207
206
|
(a) => a.name.toLowerCase().includes(o(c).searchKey.toLowerCase())
|
|
208
207
|
), (a) => (d(), k(j, {
|
|
209
208
|
key: a._id.toString(),
|
|
@@ -273,7 +272,7 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
273
272
|
]),
|
|
274
273
|
_: 1
|
|
275
274
|
})),
|
|
276
|
-
s(
|
|
275
|
+
s(le, {
|
|
277
276
|
ref_key: "sheetRef",
|
|
278
277
|
ref: y,
|
|
279
278
|
"onSubmit:modelValue": K
|
|
@@ -284,5 +283,5 @@ const de = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-
|
|
|
284
283
|
}
|
|
285
284
|
});
|
|
286
285
|
export {
|
|
287
|
-
|
|
286
|
+
je as default
|
|
288
287
|
};
|
|
@@ -1,22 +1,21 @@
|
|
|
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 } from "./
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { u as
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import "./index-feCrYhi6.js";
|
|
4
|
+
import { c as ae, p as ne } from "./plugins-DQNOWwRC.js";
|
|
5
|
+
import { u as ie } from "./loading-BvHm1m3K.js";
|
|
6
|
+
import { u as re } from "./business-Ce8vq3wQ.js";
|
|
7
|
+
import { u as se } from "./campaign-BTllt2LH.js";
|
|
8
|
+
import { a as T, b as U, g as le } from "./campaign-C19If7bW.js";
|
|
9
|
+
import { c as ce, p as me, u as de } from "./template-DeebIqJ_.js";
|
|
10
|
+
import { _ as ue } from "./FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js";
|
|
11
|
+
import { _ as pe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-D_jXVE2I.js";
|
|
12
|
+
import { u as fe } from "./vue-i18n-Cze706-f.js";
|
|
13
|
+
import { _ as ge } from "./SendCollectionSheet.vue_vue_type_script_setup_true_lang-DKH5_9db.js";
|
|
14
|
+
import "./index-B8meeQoD.js";
|
|
16
15
|
import { useRouter as ye } from "vue-router";
|
|
17
|
-
import { c as h } from "./index-
|
|
18
|
-
import { R as _e } from "./app-
|
|
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" },
|
|
16
|
+
import { c as h } from "./index-649OZ_e1.js";
|
|
17
|
+
import { R as _e } from "./app-DdNKsn2Q.js";
|
|
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" }, Qe = /* @__PURE__ */ J({
|
|
20
19
|
__name: "Game",
|
|
21
20
|
setup(Ee) {
|
|
22
21
|
const { t: d } = fe(), D = ye(), I = {
|
|
@@ -26,7 +25,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
|
|
|
26
25
|
value: "create",
|
|
27
26
|
isPrimary: !0,
|
|
28
27
|
prependIcon: "add"
|
|
29
|
-
}, L = oe(), K =
|
|
28
|
+
}, L = oe(), K = de("GAME", L), w = re(), u = se(), { global: j, minor: B } = ie, c = A({
|
|
30
29
|
searchKey: "",
|
|
31
30
|
location: []
|
|
32
31
|
});
|
|
@@ -231,7 +230,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
|
|
|
231
230
|
o(u).campaigns.token && o(u).campaigns.token.length > 0 ? (f(), P(R, { key: 0 }, [
|
|
232
231
|
n("div", ve, [
|
|
233
232
|
n("div", xe, [
|
|
234
|
-
r(
|
|
233
|
+
r(ue, {
|
|
235
234
|
label: `${o(d)("connect.common.location")}: `,
|
|
236
235
|
"right-icon": "keyboard_arrow_down",
|
|
237
236
|
modelValue: o(c).location,
|
|
@@ -337,7 +336,7 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
|
|
|
337
336
|
]),
|
|
338
337
|
_: 1
|
|
339
338
|
})),
|
|
340
|
-
r(
|
|
339
|
+
r(pe, {
|
|
341
340
|
ref_key: "sheetRef",
|
|
342
341
|
ref: k,
|
|
343
342
|
"onSubmit:modelValue": H
|
|
@@ -352,5 +351,5 @@ const he = { class: "flex items-center" }, we = { class: "fm-typo-en-title-md-60
|
|
|
352
351
|
}
|
|
353
352
|
});
|
|
354
353
|
export {
|
|
355
|
-
|
|
354
|
+
Qe as default
|
|
356
355
|
};
|