@feedmepos/mf-connect 0.1.96-prod → 0.1.98-beta.1
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-NtFnJR3D.js → App-EPNXLOQz.js} +118 -106
- package/dist/AuditLogs-CadZXkap.js +2013 -0
- package/dist/{Bin-DvJgE8J0.js → Bin-CEWFX1MK.js} +8 -8
- package/dist/{Broadcast-BygITJjC.js → Broadcast-DC8W46mc.js} +18 -17
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BVuhePfe.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DsojUEnT.js} +5 -6
- package/dist/{Card-BY8qbjNS.js → Card-BLFHOVL5.js} +19 -19
- package/dist/{Collections-CXZxfQmy.js → Collections-CVQV9gAI.js} +197 -185
- package/dist/{Credit-Dj4gJd18.js → Credit-Bvd1uiUU.js} +18 -17
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js +58 -0
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DMHQ36PW.js +3377 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-IH5P2GQ4.js → EffectSheet.vue_vue_type_style_index_0_lang-L8fftBYg.js} +105 -101
- package/dist/{Experience-CKLT-XKN.js → Experience-bKhm3DP2.js} +35 -34
- package/dist/{FileSaver.min-CqZKU_4D.js → FileSaver.min-CgnAdnBE.js} +1 -1
- package/dist/{Game-CMXXSxs7.js → Game-BTZ5Ftp5.js} +16 -15
- package/dist/Grab-DMuSoVGl.js +300 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-B4u8lwM_.js → ImageInput.vue_vue_type_script_setup_true_lang-hMmCNoZI.js} +1 -1
- package/dist/{Index-CFGAKZTu.js → Index-BNh-_EZa.js} +10 -10
- package/dist/LocationPicker.vue_vue_type_script_setup_true_lang-COoygUYu.js +48 -0
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-UfQtiVK3.js → LottieAnimation.vue_vue_type_script_setup_true_lang-D0wKkrBj.js} +1 -1
- package/dist/LoyaltyDashboard-Do06Mjzo.js +1082 -0
- package/dist/{MainLayout-UCAW-wwn.js → MainLayout-C_Zu8e2b.js} +1 -1
- package/dist/{Marketing-HU2MkAbE.js → Marketing-DHTow_lX.js} +4 -4
- package/dist/{MarketingMaterialEdit-CS7hzmeA.js → MarketingMaterialEdit-BZqVEaXl.js} +214 -211
- package/dist/{Member-BG1gvC8G.js → Member-DNQICbO9.js} +20 -20
- package/dist/{MemberList-C7l5YNJF.js → MemberList-B5f-zT_3.js} +50 -51
- package/dist/{MemberTransactions-RQD9xfSN.js → MemberTransactions-BmmgHC1I.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CcTrvGEk.js → MessageInput.vue_vue_type_script_setup_true_lang-DhlFz8So.js} +11 -11
- package/dist/{Mission-B2ynmUaz.js → Mission-CyUldhj4.js} +35 -34
- package/dist/{Overview-DI1MMGCM.js → Overview-If_YcRY8.js} +19 -19
- package/dist/{Point-DkLfnk6D.js → Point-DXgR4D2b.js} +30 -29
- package/dist/{Promotion-BDsMtw76.js → Promotion-8KrS5PGT.js} +111 -105
- package/dist/{Queue-Bu5PffRS.js → Queue-ypegp0sQ.js} +43 -43
- package/dist/{Record-C9zk5pr8.js → Record-C1eVdBIL.js} +10 -10
- package/dist/Review-fsYAsdHU.js +871 -0
- package/dist/ReviewFacebookCallback-zNKnoxr_.js +243 -0
- package/dist/ReviewGoogleCallback-CpCT0ZYL.js +213 -0
- package/dist/{Reward-DLyMbKCK.js → Reward-B_k-VLJn.js} +17 -17
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-XWcV6P7K.js → RewardGroup.vue_vue_type_script_setup_true_lang-BUl5B7lH.js} +12 -12
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-D93zAujE.js +1911 -0
- package/dist/{Segment-CkvTGYMI.js → Segment-PJLbJ6YE.js} +77 -78
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-CmoGA4QY.js → SelectItems.vue_vue_type_script_setup_true_lang-BLwf6QCO.js} +21 -21
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-D0fupqWp.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-VoddUHxA.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CdPBhSHS.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DOXfYdxf.js} +4 -4
- package/dist/{Setting-3aaebMiz.js → Setting-DItVUJHA.js} +259 -248
- package/dist/{SettingAdvertisements-B1rlNyFd.js → SettingAdvertisements-Bfvr60OW.js} +13 -13
- package/dist/{Store-7BnWIZ7G.js → Store-hyTJyNWv.js} +24 -24
- package/dist/{StoreRewards-CjcrPRwJ.js → StoreRewards-B7c20AF5.js} +16 -16
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Bl438tVa.js +1130 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DBb3Zfuz.js +7007 -0
- package/dist/{Tier-BJpbCCsL.js → Tier-CuulnY8J.js} +544 -469
- package/dist/{Title-CqpbvePy.js → Title-Bf9ZiFGW.js} +93 -92
- package/dist/{Transaction-B8gpL3cS.js → Transaction-reVAaf86.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-DDoia_qu.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BZP9jfwG.js} +6 -6
- package/dist/{Voucher-DQ6i1GyQ.js → Voucher-E8R2cCl-.js} +28 -27
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BudfxMvl.js → VoucherEditor.vue_vue_type_script_setup_true_lang-1mclPYkp.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B43ehs2w.js → ZodTextField.vue_vue_type_script_setup_true_lang-xP5smS4G.js} +2 -2
- package/dist/{app-Cdi9yyaa.js → app-BdRRCAGj.js} +47089 -32960
- package/dist/app.js +4 -3
- package/dist/{business-BPhMhPp8.js → business-caUtvXxX.js} +1 -1
- package/dist/{campaign-DHqBhgh5.js → campaign-CDFEhdIH.js} +13 -7
- package/dist/{campaign-DLWpOBzd.js → campaign-CPtzFxiR.js} +114 -64
- package/dist/campaign.enum-p1buII_I.js +26 -0
- package/dist/campaign.fn-DerIK7yj.js +776 -0
- package/dist/{collectible.enum-EoZwnXkR.js → collectible.enum-CJ30_XmW.js} +1 -1
- package/dist/duplicateCampaign-DLfhHm07.js +51 -0
- package/dist/effect-BJC34M9S.js +89 -0
- package/dist/{email-addresses-CuhtzvMR.js → email-addresses-D1aYCi0p.js} +2 -2
- package/dist/{export-D2wb3Zzg.js → export-ChFEuUc5.js} +3 -3
- package/dist/{helper-B80tn5O6.js → helper-BNWd3eM2.js} +1 -1
- package/dist/{timezone-BIzl2Gac.js → index-0SZADZbB.js} +21 -20
- package/dist/{index-B85ryzLj.js → index-6ZSFSZ-H.js} +769 -205
- package/dist/index-B4dazSVT.js +48 -0
- package/dist/{index-C7XyuCH8.js → index-B9xvXnEM.js} +3 -3
- package/dist/{index-Dg-VScjz.js → index-BWQK3rqq.js} +3 -3
- package/dist/{index-D1_JoBc_.js → index-BoeHTTcl.js} +1 -1
- package/dist/{index-CCfDzgJb.js → index-Br17eSOV.js} +1 -1
- package/dist/{index-HzTI8A55.js → index-CAVSuo6k.js} +1996 -1968
- package/dist/{index-B0S0BGjb.js → index-CIin0Pv0.js} +1 -1
- package/dist/{index-BVXwb1vw.js → index-CeSEAz_T.js} +1 -1
- package/dist/{index-DDLHaeVd.js → index-DNsYSxpY.js} +1539 -1267
- package/dist/index-Dcn4qaYt.js +67 -0
- package/dist/{index-DA5sHUgD.js → index-Do2cnzep.js} +1 -1
- package/dist/{index-v9zPLkiJ.js → index-Dp3CLZSg.js} +7 -7
- package/dist/{index.esm2017-CfogVJWR.js → index.esm2017-CYGo-PcK.js} +173 -173
- package/dist/{loading-_HLw0JNH.js → loading-DtPQnEA5.js} +1 -1
- package/dist/{lodash-7LLl_N0k.js → lodash-BvTKz5Pn.js} +1 -1
- package/dist/{membership-Dl34LatD.js → membership-Csnvqeql.js} +3 -3
- package/dist/{money-Ca4jlK9c.js → money-CwRxILG1.js} +1 -1
- package/dist/{number-CWjqupZw.js → number-qcECHCpu.js} +1 -1
- package/dist/object-BYyQ0PZp.js +18 -0
- package/dist/objectid-BKWyHH4F.js +145 -0
- package/dist/{plugins-uNooTC4W.js → plugins-BBpKk0ld.js} +94 -95
- package/dist/{reward-BRIYprM8.js → reward-CX1axU5-.js} +1 -1
- package/dist/{rule-CkUScWS-.js → rule-pKsATz8r.js} +505 -487
- package/dist/style.css +1 -1
- package/dist/template-BSuapoPb.js +188 -0
- package/dist/{trigger-Dd92AYz3.js → trigger-DnMktlx-.js} +5 -5
- package/dist/{useMarketingMaterialActions-DlEYiRxQ.js → useMarketingMaterialActions-Bu0-ny3z.js} +3 -3
- package/dist/{usePagination--trERWY4.js → usePagination-CzfJhepV.js} +1 -1
- package/dist/{user-CI-tPhnX.js → user-BLDWqYm_.js} +1 -1
- package/dist/vue-i18n-bssxjuw_.js +2365 -0
- package/dist/{xlsx-BtsmiXIl.js → xlsx-xNwsJDub.js} +1 -1
- package/dist/{zod-Cq4jls5y.js → zod-Cu18aMVT.js} +1 -1
- package/package.json +8 -4
- package/dist/Analytic-l10g_BkW.js +0 -426
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Djcv8RCR.js +0 -2223
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BW2MrhuC.js +0 -1888
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-C3mmS25r.js +0 -1118
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-TVsbx26f.js +0 -142
- package/dist/campaign.enum-C7BourYN.js +0 -20
- package/dist/campaign.fn-PjAM2LtF.js +0 -776
- package/dist/collection.fn-Ds616d3q.js +0 -26
- package/dist/dto-5fg5RWhP.js +0 -216
- package/dist/effect-BJva6Fjl.js +0 -78
- package/dist/index-CmGQazKB.js +0 -55
- package/dist/object-qECH92oz.js +0 -26
- package/dist/objectid-BGNEnJDn.js +0 -145
- package/dist/rule-builder-Ds-h-MuV.js +0 -102
- package/dist/template-0zuNVS82.js +0 -236
- package/dist/vue-i18n-BIM-SckA.js +0 -2365
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { defineComponent as H, ref as L, computed as q, h as w, onMounted as O, resolveComponent as m, openBlock as d, createElementBlock as _, Fragment as v, createVNode as i, unref as o, createElementVNode as n, withCtx as b, renderList as z, createBlock as x, resolveDynamicComponent as G, toDisplayString as D, createCommentVNode as J } from "vue";
|
|
2
2
|
import { _ as Q } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as W, components as V } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as X } from "./plugins-
|
|
5
|
-
import { u as Y } from "./loading-
|
|
6
|
-
import { u as Z } from "./business-
|
|
7
|
-
import { u as ee, c as f } from "./campaign-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as
|
|
13
|
-
|
|
4
|
+
import { p as X } from "./plugins-BBpKk0ld.js";
|
|
5
|
+
import { u as Y } from "./loading-DtPQnEA5.js";
|
|
6
|
+
import { u as Z } from "./business-caUtvXxX.js";
|
|
7
|
+
import { u as ee, c as f } from "./campaign-CDFEhdIH.js";
|
|
8
|
+
import { a as te, b as B, c as I } from "./campaign-CPtzFxiR.js";
|
|
9
|
+
import { c as oe, p as ae } from "./duplicateCampaign-DLfhHm07.js";
|
|
10
|
+
import { u as ne } from "./vue-i18n-bssxjuw_.js";
|
|
11
|
+
import { _ as re } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
12
|
+
import { _ as se } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DMHQ36PW.js";
|
|
13
|
+
import { u as ie } from "./template-BSuapoPb.js";
|
|
14
|
+
const ce = { class: "px-24 flex flex-col gap-y-16" }, le = { class: "flex items-center justify-between w-full" }, me = { class: "flex gap-8 overflow-x-auto" }, de = { class: "space-y-8" }, pe = { class: "flex w-full gap-4 items-center" }, ue = { class: "space-y-4" }, fe = { class: "fm-typo-en-body-lg-600" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "flex items-center gap-8" }, _e = { key: 0 }, Te = /* @__PURE__ */ H({
|
|
14
15
|
__name: "Credit",
|
|
15
16
|
setup(Ce) {
|
|
16
|
-
const { t: r } =
|
|
17
|
+
const { t: r } = ne(), T = {
|
|
17
18
|
label: r("connect.program.common.actions.create", {
|
|
18
19
|
type: r("connect.program.credit.title").toLowerCase()
|
|
19
20
|
}),
|
|
20
21
|
value: "create",
|
|
21
22
|
isPrimary: !0,
|
|
22
23
|
prependIcon: "add"
|
|
23
|
-
}, E =
|
|
24
|
+
}, E = ie("CREDIT", W()), R = Z(), p = ee(), { global: K, minor: k } = Y, c = L({
|
|
24
25
|
searchKey: "",
|
|
25
26
|
location: []
|
|
26
27
|
});
|
|
@@ -104,9 +105,9 @@ const ce = { class: "px-24 flex flex-col gap-y-16" }, le = { class: "flex items-
|
|
|
104
105
|
}
|
|
105
106
|
async function S(e) {
|
|
106
107
|
var s;
|
|
107
|
-
if (!await
|
|
108
|
+
if (!await oe(e.name))
|
|
108
109
|
return;
|
|
109
|
-
const t = await f.readById(e._id), l =
|
|
110
|
+
const t = await f.readById(e._id), l = ae(t, {
|
|
110
111
|
keepCollectible: !0
|
|
111
112
|
});
|
|
112
113
|
(s = C.value) == null || s.showSheet(
|
|
@@ -150,7 +151,7 @@ const ce = { class: "px-24 flex flex-col gap-y-16" }, le = { class: "flex items-
|
|
|
150
151
|
o(p).campaigns.credit && o(p).campaigns.credit.length > 0 ? (d(), _(v, { key: 0 }, [
|
|
151
152
|
n("div", le, [
|
|
152
153
|
n("div", me, [
|
|
153
|
-
i(
|
|
154
|
+
i(re, {
|
|
154
155
|
label: `${o(r)("connect.common.location")}: `,
|
|
155
156
|
"right-icon": "keyboard_arrow_down",
|
|
156
157
|
modelValue: o(c).location,
|
|
@@ -244,7 +245,7 @@ const ce = { class: "px-24 flex flex-col gap-y-16" }, le = { class: "flex items-
|
|
|
244
245
|
]),
|
|
245
246
|
_: 1
|
|
246
247
|
})),
|
|
247
|
-
i(
|
|
248
|
+
i(se, {
|
|
248
249
|
ref_key: "sheetRef",
|
|
249
250
|
ref: C,
|
|
250
251
|
"onSubmit:modelValue": U
|
|
@@ -255,5 +256,5 @@ const ce = { class: "px-24 flex flex-col gap-y-16" }, le = { class: "flex items-
|
|
|
255
256
|
}
|
|
256
257
|
});
|
|
257
258
|
export {
|
|
258
|
-
|
|
259
|
+
Te as default
|
|
259
260
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as f, mergeModels as l, useModel as g, computed as u, onMounted as _, watch as R, resolveComponent as m, openBlock as h, createBlock as V, withCtx as b, createVNode as k, unref as y } from "vue";
|
|
2
|
+
import { h as t } from "./moment-D7p2TMB-.js";
|
|
3
|
+
const a = "YYYY-MM-DD", F = /* @__PURE__ */ f({
|
|
4
|
+
__name: "DateRangeChip",
|
|
5
|
+
props: /* @__PURE__ */ l({
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
}
|
|
10
|
+
}, {
|
|
11
|
+
dateRange: {
|
|
12
|
+
type: Object,
|
|
13
|
+
default: () => ({
|
|
14
|
+
startDate: t().subtract(7, "day").format(a),
|
|
15
|
+
endDate: t().endOf("day").format(a)
|
|
16
|
+
})
|
|
17
|
+
},
|
|
18
|
+
dateRangeModifiers: {}
|
|
19
|
+
}),
|
|
20
|
+
emits: /* @__PURE__ */ l(["update:model-value"], ["update:dateRange"]),
|
|
21
|
+
setup(r, { emit: s }) {
|
|
22
|
+
const o = r, c = s, e = g(r, "dateRange"), i = u(() => e.value ? `${n.value.startDate ?? "Start"} - ${n.value.endDate ?? "End"}` : "No dates selected."), n = u(() => ({
|
|
23
|
+
startDate: e.value.startDate ? t(e.value.startDate).format(a) : void 0,
|
|
24
|
+
endDate: e.value.endDate ? t(e.value.endDate).format(a) : void 0
|
|
25
|
+
}));
|
|
26
|
+
return _(() => {
|
|
27
|
+
e.value = {
|
|
28
|
+
startDate: o.modelValue.startDate ? t(o.modelValue.startDate).format(a) : void 0,
|
|
29
|
+
endDate: o.modelValue.endDate ? t(o.modelValue.endDate).format(a) : void 0
|
|
30
|
+
};
|
|
31
|
+
}), R(
|
|
32
|
+
() => e.value,
|
|
33
|
+
() => {
|
|
34
|
+
c("update:model-value", n.value);
|
|
35
|
+
}
|
|
36
|
+
), (C, d) => {
|
|
37
|
+
const p = m("FmChip"), D = m("FmDateRangePicker");
|
|
38
|
+
return h(), V(D, {
|
|
39
|
+
modelValue: e.value,
|
|
40
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => e.value = v),
|
|
41
|
+
"show-predefined-range": ""
|
|
42
|
+
}, {
|
|
43
|
+
"trigger-button": b(() => [
|
|
44
|
+
k(p, {
|
|
45
|
+
label: y(i),
|
|
46
|
+
icon: "calendar_month",
|
|
47
|
+
"right-icon": "keyboard_arrow_down",
|
|
48
|
+
class: "text-fm-color-neutral-gray-400 cursor-pointer"
|
|
49
|
+
}, null, 8, ["label"])
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
}, 8, ["modelValue"]);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
F as _
|
|
58
|
+
};
|