@feedmepos/mf-connect 0.1.47-prod → 0.1.48-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/{Analytic-AnuRQDA4.js → Analytic-DrjBaKmx.js} +113 -113
- package/dist/{App-DP_jCyej.js → App-eIaytGsZ.js} +632 -622
- package/dist/{Bin-tL4lF6PB.js → Bin-CVp0eFwl.js} +9 -9
- package/dist/{Broadcast-T2a5tN8R.js → Broadcast-DBgBT6yz.js} +40 -40
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BgPJCH02.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CugJWeBo.js} +18 -18
- package/dist/{Card-Bi-ODgCc.js → Card-DkP6oJVn.js} +239 -239
- package/dist/{Collections-JHWotZ1I.js → Collections-DYb_aeTW.js} +31 -31
- package/dist/{Credit-DQQCXqS0.js → Credit-WVv_PL5D.js} +74 -74
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-hxuYl-OQ.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-Dt9c2kvf.js} +756 -753
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-ECkaQxuI.js → EffectSheet.vue_vue_type_style_index_0_lang-DT3y4k1C.js} +96 -96
- package/dist/{Experience-DzTV21vX.js → Experience-BdH44wBG.js} +41 -41
- package/dist/{Game-DUCx2Dl9.js → Game-C7jxRESY.js} +31 -31
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js +144 -0
- package/dist/{Index-zynxjOOr.js → Index-DYr1p4sh.js} +54 -54
- package/dist/{Marketing-BBHDVRkR.js → Marketing-Djl27fez.js} +24 -24
- package/dist/{Member-B09bj6C3.js → Member-CWXedfTG.js} +63 -63
- package/dist/MemberList-C2TvGi22.js +1606 -0
- package/dist/MemberOverview-wL_ailso.js +58 -0
- package/dist/{MemberTransactions-DERMSs7o.js → MemberTransactions-BSUocGg9.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CAADF6vv.js → MessageInput.vue_vue_type_script_setup_true_lang-D8xPA6jM.js} +2286 -2220
- package/dist/{Mission-DAv0e_ZH.js → Mission-BVx9Cqi5.js} +20 -20
- package/dist/{Overview-D0rBTEtP.js → Overview-DyXF9zfB.js} +337 -337
- package/dist/{Point-BeBYi1BT.js → Point-ovkgTwZO.js} +41 -41
- package/dist/{Promotion-BSPU5hP9.js → Promotion-B0Q6GItP.js} +42 -42
- package/dist/{Queue-C5IFJ3iE.js → Queue-BAWG1Hh-.js} +12 -12
- package/dist/{Record-CoFSrv7j.js → Record-CTp80g4A.js} +10 -10
- package/dist/{Reward-COIOBOl-.js → Reward-_Jow1lJ7.js} +173 -173
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-B9Tl7hqv.js → RewardGroup.vue_vue_type_script_setup_true_lang-BV8xCejA.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BzsYC3k2.js → RuleGroup.vue_vue_type_script_setup_true_lang-DkDAuGY0.js} +381 -381
- package/dist/{Segment-DF5SrucQ.js → Segment-CsdJ1SjK.js} +327 -327
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BSSfQu3F.js → SelectItems.vue_vue_type_script_setup_true_lang-DH3oIm2t.js} +14 -14
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DoL_gTKy.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DvVrjpxR.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-Cijyol1Q.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-D5gV89Xk.js} +3 -3
- package/dist/Setting-BZRA50LO.js +1936 -0
- package/dist/{Store-E2_0EIy8.js → Store-CFnCN_7-.js} +238 -238
- package/dist/StoreRewards-B_McpBz-.js +423 -0
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DuatzcJ8.js → StoreTransactions.vue_vue_type_script_setup_true_lang-vL0vr-Xn.js} +185 -185
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-D_r8I0h7.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C1ZlLdme.js} +1 -1
- package/dist/{Tier-CEEHsXkC.js → Tier-CCYFu6kJ.js} +106 -106
- package/dist/{Title-BMAWlGeW.js → Title-7Mg-Ml4z.js} +95 -95
- package/dist/{Transaction-CLsceq-O.js → Transaction-BqZrbpZi.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CFLekn9O.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-C6ZwPUD4.js} +6 -6
- package/dist/{Voucher-Cd293WYY.js → Voucher-Yty_7SuS.js} +36 -36
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-Bt12t3gB.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B8HHh8HU.js → ZodTextField.vue_vue_type_script_setup_true_lang-C3NHrEIl.js} +1 -1
- package/dist/{app-aVXsWATU.js → app-2EJP4psh.js} +31 -31
- package/dist/app-Dzon--6x.js +57962 -0
- package/dist/app.js +1 -1
- package/dist/{business-DVlHPzaL.js → business-BehG4fR2.js} +1 -1
- package/dist/{campaign-l-u9A514.js → campaign-BpaiTG4f.js} +10 -10
- package/dist/{campaign-D9KeUWA7.js → campaign-CAcP56Sz.js} +2 -2
- package/dist/{campaign.enum-Cud82tES.js → campaign.enum-BWjI8Hop.js} +1 -1
- package/dist/{campaign.fn-C-UojhHv.js → campaign.fn-PVdB1-V1.js} +166 -166
- package/dist/{collectible.enum-PrlUDScv.js → collectible.enum-BYmuqayi.js} +1 -1
- package/dist/{collection.fn-yR-xnV4g.js → collection.fn-CbH8hbWW.js} +2 -2
- package/dist/{dto-Cua1OHMY.js → dto-Dd3Oc4QO.js} +4 -4
- package/dist/{effect-B5-eXNEr.js → effect-DvEQNEl0.js} +1 -1
- package/dist/{email-addresses-BeYh5fr5.js → email-addresses-C-9JrAi8.js} +1 -1
- package/dist/{export-BUF4_DUz.js → export-RWE9Cn-d.js} +4 -4
- package/dist/{helper-CGwOThAl.js → helper-Bl6LdWED.js} +1 -1
- package/dist/{index-Cl2iYM2F.js → index-1bU9cLqV.js} +1 -1
- package/dist/{index-1BGPM6Uy.js → index-BCQMVr1J.js} +1 -1
- package/dist/{index-BmL_b0IR.js → index-Bgnrbk5x.js} +1 -1
- package/dist/{index-knuJv0ti.js → index-Bjf5Z2QE.js} +4 -4
- package/dist/{index-ng2IXlL1.js → index-CFW9ogow.js} +1 -1
- package/dist/{index-DNTd-FNx.js → index-CfgczUMX.js} +2 -2
- package/dist/{index-C-d_4n-1.js → index-CzCqc7ph.js} +1 -1
- package/dist/{index-aMDi62-C.js → index-DX1X6Owa.js} +1 -1
- package/dist/{index-DlFVLRKG.js → index-DZN5WWgq.js} +3 -3
- package/dist/{index-D5KIp8ZB.js → index-DhUvELhc.js} +3 -3
- package/dist/{index-Cx8-ipee.js → index-DpoNuVc-.js} +6 -6
- package/dist/{index-BLdVWQId.js → index-G_XSbrXB.js} +3 -3
- package/dist/{index-hX2mE0gQ.js → index-VVy4GPzJ.js} +1 -1
- package/dist/{index-CB8iWT_p.js → index-wOExBjGo.js} +1 -1
- package/dist/{index.esm2017-D8stWFci.js → index.esm2017-DfgZFSqe.js} +1 -1
- package/dist/{loading-c4b7n9Xp.js → loading-qlqqYGF3.js} +1 -1
- package/dist/{membership-oBIs4sbL.js → membership-Bh_1iu5v.js} +3 -3
- package/dist/{moment-BWErdI6_.js → moment-D7p2TMB-.js} +6 -1
- package/dist/{money-AP24H0gk.js → money-DvTB_Fek.js} +1 -1
- package/dist/{number-CwsAYC_2.js → number-DJQ3gi1P.js} +1 -1
- package/dist/objectid-BKU0cEuv.js +145 -0
- package/dist/{plugins-Dn7JDHi7.js → plugins-DJpBrPbQ.js} +2 -2
- package/dist/{reward-4wdoZeXw.js → reward-DZ4KlN9B.js} +1 -1
- package/dist/{rule-_OJza6tn.js → rule-DV0yCGlq.js} +4 -4
- package/dist/{rule-builder-DmlhHAED.js → rule-builder-D6ihVPNO.js} +1 -1
- package/dist/{template-BSQLFHf4.js → template-ElP-JIFL.js} +63 -63
- package/dist/timezone-FaHjut_D.js +1150 -0
- package/dist/{trigger-DC9tDnI2.js → trigger-D8wnJVTA.js} +4 -4
- package/dist/usePagination-Ds-cuHop.js +223 -0
- package/dist/{user-CCVOptFD.js → user-NWV9KppR.js} +1 -1
- package/dist/{vue-i18n--_Wu1nMj.js → vue-i18n-CkbS-IDD.js} +112 -112
- package/dist/{xlsx-BVMaOi8M.js → xlsx-CdQE5RZi.js} +226 -226
- package/package.json +5 -4
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js +0 -144
- package/dist/MemberList-DLSLGQ02.js +0 -1606
- package/dist/MemberOverview-C2n9oJZh.js +0 -58
- package/dist/Setting-Dt0sG_hk.js +0 -1936
- package/dist/StoreRewards-DuSsWnTE.js +0 -423
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-Qc5cCqh5.js +0 -419
- package/dist/app-jRT7vsk_.js +0 -33357
- package/dist/objectid-CVDLTdni.js +0 -145
- package/dist/usePagination-JoYaROkV.js +0 -223
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as C, ref as c, h as s, onMounted as x, resolveComponent as d, openBlock as S, createElementBlock as B, Fragment as M, createVNode as l, unref as o, createElementVNode as u } from "vue";
|
|
2
2
|
import { components as p } from "@feedmepos/ui-library";
|
|
3
|
-
import { u as K } from "./loading-
|
|
4
|
-
import { u as R } from "./business-
|
|
5
|
-
import { C as A } from "./campaign-
|
|
6
|
-
import { _ as P } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as K } from "./loading-qlqqYGF3.js";
|
|
4
|
+
import { u as R } from "./business-BehG4fR2.js";
|
|
5
|
+
import { C as A } from "./campaign-BpaiTG4f.js";
|
|
6
|
+
import { _ as P } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-Dt9c2kvf.js";
|
|
7
7
|
import { _ as U } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
8
|
-
import { _ as Y } from "./SendVoucherSheet.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as D } from "./vue-i18n
|
|
10
|
-
import { h as E } from "./moment-
|
|
11
|
-
import { p as I } from "./plugins-
|
|
12
|
-
import { c as g } from "./index-
|
|
8
|
+
import { _ as Y } from "./SendVoucherSheet.vue_vue_type_script_setup_true_lang-D5gV89Xk.js";
|
|
9
|
+
import { u as D } from "./vue-i18n-CkbS-IDD.js";
|
|
10
|
+
import { h as E } from "./moment-D7p2TMB-.js";
|
|
11
|
+
import { p as I } from "./plugins-DJpBrPbQ.js";
|
|
12
|
+
import { c as g } from "./index-BCQMVr1J.js";
|
|
13
13
|
const T = { class: "px-24 flex flex-col gap-y-16" }, $ = { class: "flex items-center justify-between w-full" }, j = { class: "flex gap-8 overflow-x-auto" }, oe = /* @__PURE__ */ C({
|
|
14
14
|
__name: "Bin",
|
|
15
15
|
setup(H) {
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { defineComponent as N, ref as h, computed as U, onMounted as j, resolveComponent as r, openBlock as l, createElementBlock as y, Fragment as b, createVNode as i, unref as t, createElementVNode as n, withCtx as v, renderList as E, createBlock as w, resolveDynamicComponent as H, toDisplayString as d, createCommentVNode as q, h as z } from "vue";
|
|
2
2
|
import { _ as G } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as J, components as Q } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as W } from "./plugins-
|
|
5
|
-
import { u as X } from "./loading-
|
|
6
|
-
import { u as Y } from "./business-
|
|
7
|
-
import { u as Z } from "./campaign-
|
|
8
|
-
import { a as B, b as A, g as ee } from "./campaign-
|
|
9
|
-
import { u as te } from "./vue-i18n
|
|
4
|
+
import { p as W } from "./plugins-DJpBrPbQ.js";
|
|
5
|
+
import { u as X } from "./loading-qlqqYGF3.js";
|
|
6
|
+
import { u as Y } from "./business-BehG4fR2.js";
|
|
7
|
+
import { u as Z } from "./campaign-CAcP56Sz.js";
|
|
8
|
+
import { a as B, b as A, g as ee } from "./campaign-BpaiTG4f.js";
|
|
9
|
+
import { u as te } from "./vue-i18n-CkbS-IDD.js";
|
|
10
10
|
import { _ as oe } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
11
|
-
import { _ as ae } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { u as ne } from "./template-
|
|
13
|
-
import { c as _ } from "./index-
|
|
14
|
-
const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-center justify-between w-full" }, ie = { class: "flex gap-8 overflow-x-auto" }, re = { class: "space-y-8" }, le = { class: "flex w-full gap-4 items-center" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "space-y-4" }, pe = { class: "fm-typo-en-body-lg-600" }, ue = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = { key: 0 }, ge = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-600" }, ye = /* @__PURE__ */
|
|
15
|
-
src: G,
|
|
16
|
-
class: "aspect-square w-[150px]"
|
|
17
|
-
}, null, -1), _e = { class: "flex flex-col gap-16 text-center" }, he = { class: "fm-typo-en-title-sm-800" }, be = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ie = /* @__PURE__ */ N({
|
|
11
|
+
import { _ as ae } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-Dt9c2kvf.js";
|
|
12
|
+
import { u as ne } from "./template-ElP-JIFL.js";
|
|
13
|
+
import { c as _ } from "./index-BCQMVr1J.js";
|
|
14
|
+
const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-center justify-between w-full" }, ie = { class: "flex gap-8 overflow-x-auto" }, re = { class: "space-y-8" }, le = { class: "flex w-full gap-4 items-center" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "space-y-4" }, pe = { class: "fm-typo-en-body-lg-600" }, ue = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, fe = { key: 0 }, ge = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-600" }, ye = { class: "flex flex-col gap-16 text-center" }, _e = { class: "fm-typo-en-title-sm-800" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Te = /* @__PURE__ */ N({
|
|
18
15
|
__name: "Broadcast",
|
|
19
|
-
setup(
|
|
16
|
+
setup(be) {
|
|
20
17
|
const { t: s } = te(), V = {
|
|
21
18
|
label: s("connect.campaign.common.createCampaign"),
|
|
22
19
|
value: "create",
|
|
@@ -56,8 +53,8 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
56
53
|
variant: "tertiary",
|
|
57
54
|
icon: "delete",
|
|
58
55
|
iconColor: "neutral-gray-400",
|
|
59
|
-
onClick: (
|
|
60
|
-
|
|
56
|
+
onClick: (o) => {
|
|
57
|
+
o.stopPropagation(), S(e.row.original);
|
|
61
58
|
}
|
|
62
59
|
});
|
|
63
60
|
}
|
|
@@ -79,10 +76,10 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
79
76
|
);
|
|
80
77
|
}
|
|
81
78
|
async function g(e) {
|
|
82
|
-
T.value = (/* @__PURE__ */ new Date()).toISOString(), e ? await
|
|
83
|
-
await
|
|
79
|
+
T.value = (/* @__PURE__ */ new Date()).toISOString(), e ? await o() : D.open(async (p) => {
|
|
80
|
+
await o(p);
|
|
84
81
|
});
|
|
85
|
-
async function
|
|
82
|
+
async function o(p) {
|
|
86
83
|
var u;
|
|
87
84
|
(u = x.value) == null || u.showSheet(
|
|
88
85
|
!0,
|
|
@@ -111,18 +108,18 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
111
108
|
await L(async () => {
|
|
112
109
|
await m.read("BROADCAST");
|
|
113
110
|
});
|
|
114
|
-
}), (e,
|
|
111
|
+
}), (e, o) => {
|
|
115
112
|
const p = r("FmPageHead"), u = r("FmSearch"), O = r("FmTable"), F = r("FmButton"), $ = r("FmListItem"), P = r("FmList"), M = r("FmCard");
|
|
116
113
|
return l(), y(b, null, [
|
|
117
114
|
i(p, {
|
|
118
115
|
title: t(s)("connect.campaign.broadcast.title"),
|
|
119
116
|
actions: t(f).length > 0 ? [V] : [],
|
|
120
|
-
"onClick:action":
|
|
117
|
+
"onClick:action": o[0] || (o[0] = () => g())
|
|
121
118
|
}, null, 8, ["title", "actions"]),
|
|
122
119
|
n("div", se, [
|
|
123
120
|
i(u, {
|
|
124
121
|
modelValue: t(c).searchKey,
|
|
125
|
-
"onUpdate:modelValue":
|
|
122
|
+
"onUpdate:modelValue": o[1] || (o[1] = (a) => t(c).searchKey = a),
|
|
126
123
|
class: "hidden xs:block border-b-2 border-fm-color-neutral-gray-100",
|
|
127
124
|
placeholder: t(s)("connect.campaign.common.search"),
|
|
128
125
|
collapsible: ""
|
|
@@ -132,7 +129,7 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
132
129
|
n("div", ie, [
|
|
133
130
|
i(oe, {
|
|
134
131
|
modelValue: t(c).location,
|
|
135
|
-
"onUpdate:modelValue":
|
|
132
|
+
"onUpdate:modelValue": o[2] || (o[2] = (a) => t(c).location = a),
|
|
136
133
|
label: `${t(s)("connect.campaign.common.location")}: `,
|
|
137
134
|
"show-item-label": !0,
|
|
138
135
|
icon: "storefront",
|
|
@@ -142,7 +139,7 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
142
139
|
]),
|
|
143
140
|
i(u, {
|
|
144
141
|
modelValue: t(c).searchKey,
|
|
145
|
-
"onUpdate:modelValue":
|
|
142
|
+
"onUpdate:modelValue": o[3] || (o[3] = (a) => t(c).searchKey = a),
|
|
146
143
|
class: "xs:hidden",
|
|
147
144
|
placeholder: "search",
|
|
148
145
|
collapsible: ""
|
|
@@ -154,34 +151,34 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
154
151
|
"column-defs": I,
|
|
155
152
|
"search-value": t(c).searchKey,
|
|
156
153
|
"column-filter": [],
|
|
157
|
-
onRowClick:
|
|
154
|
+
onRowClick: o[4] || (o[4] = (a) => g(a.original)),
|
|
158
155
|
"hide-footer": !0
|
|
159
156
|
}, null, 8, ["row-data", "search-value"]),
|
|
160
157
|
i(P, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
161
158
|
default: v(() => [
|
|
162
159
|
(l(!0), y(b, null, E(t(f).filter(
|
|
163
|
-
(
|
|
164
|
-
), (
|
|
165
|
-
key:
|
|
166
|
-
onClick: (k) => g(
|
|
160
|
+
(a) => a.name.toLowerCase().includes(t(c).searchKey.toLowerCase())
|
|
161
|
+
), (a) => (l(), w($, {
|
|
162
|
+
key: a._id.toString(),
|
|
163
|
+
onClick: (k) => g(a),
|
|
167
164
|
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
168
165
|
}, {
|
|
169
166
|
default: v(() => [
|
|
170
167
|
n("div", re, [
|
|
171
168
|
n("div", le, [
|
|
172
|
-
(l(), w(H(t(B)(
|
|
173
|
-
n("div", me, d(
|
|
169
|
+
(l(), w(H(t(B)(a)))),
|
|
170
|
+
n("div", me, d(a.currentReceive ?? 0) + " sent ", 1)
|
|
174
171
|
]),
|
|
175
172
|
n("div", de, [
|
|
176
|
-
n("div", pe, d(
|
|
177
|
-
n("div", ue, d(t(A)(
|
|
173
|
+
n("div", pe, d(a.name), 1),
|
|
174
|
+
n("div", ue, d(t(A)(a)), 1)
|
|
178
175
|
])
|
|
179
176
|
]),
|
|
180
177
|
i(F, {
|
|
181
178
|
icon: "delete",
|
|
182
179
|
"icon-color": "neutral-gray-400",
|
|
183
180
|
variant: "tertiary",
|
|
184
|
-
onClick: (k) => (k.stopPropagation(), S(
|
|
181
|
+
onClick: (k) => (k.stopPropagation(), S(a))
|
|
185
182
|
}, null, 8, ["onClick"])
|
|
186
183
|
]),
|
|
187
184
|
_: 2
|
|
@@ -198,16 +195,19 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
198
195
|
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
199
196
|
}, {
|
|
200
197
|
default: v(() => [
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
198
|
+
o[6] || (o[6] = n("img", {
|
|
199
|
+
src: G,
|
|
200
|
+
class: "aspect-square w-[150px]"
|
|
201
|
+
}, null, -1)),
|
|
202
|
+
n("div", ye, [
|
|
203
|
+
n("div", _e, d(t(s)("connect.campaign.broadcast.create.title")), 1),
|
|
204
|
+
n("div", he, d(t(s)("connect.campaign.broadcast.create.description")), 1)
|
|
205
205
|
]),
|
|
206
206
|
i(F, {
|
|
207
207
|
variant: "primary",
|
|
208
208
|
label: t(s)("connect.campaign.broadcast.create.button"),
|
|
209
209
|
icon: "add",
|
|
210
|
-
onClick:
|
|
210
|
+
onClick: o[5] || (o[5] = (a) => g())
|
|
211
211
|
}, null, 8, ["label"])
|
|
212
212
|
]),
|
|
213
213
|
_: 1
|
|
@@ -223,5 +223,5 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
225
|
export {
|
|
226
|
-
|
|
226
|
+
Te as default
|
|
227
227
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { R as RuleOperator, _ } from "./index-
|
|
2
|
-
import { i as isRuleGroup } from "./rule-builder-
|
|
1
|
+
import { R as RuleOperator, _ } from "./index-CfgczUMX.js";
|
|
2
|
+
import { i as isRuleGroup } from "./rule-builder-D6ihVPNO.js";
|
|
3
3
|
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createElementBlock, Fragment, renderList, createVNode, toDisplayString } from "vue";
|
|
4
4
|
import { useDialog } from "@feedmepos/ui-library";
|
|
5
|
-
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
5
|
+
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-Bjf5Z2QE.js";
|
|
6
|
+
import "./index-DpoNuVc-.js";
|
|
7
|
+
import "./index-CFW9ogow.js";
|
|
8
|
+
import "./index-DZN5WWgq.js";
|
|
9
9
|
function validateRule(data, r, date) {
|
|
10
10
|
const rules = new RuleOperator(date ?? /* @__PURE__ */ new Date());
|
|
11
11
|
function meetConditions(e) {
|
|
@@ -43,10 +43,7 @@ function validateRule(data, r, date) {
|
|
|
43
43
|
}
|
|
44
44
|
return isRuleGroup(r) ? evaluateRuleResult(getRuleResults(r), r.logic) : meetConditions(r);
|
|
45
45
|
}
|
|
46
|
-
const _hoisted_1 =
|
|
47
|
-
/* @__PURE__ */ createElementVNode("div", { class: "fm-typo-en-title-sm-800" }, "Add benefit"),
|
|
48
|
-
/* @__PURE__ */ createElementVNode("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Select the benefit type that you want to reward the selected tier. ")
|
|
49
|
-
], -1), _hoisted_2 = { class: "flex flex-col h-full space-y-24" }, _hoisted_3 = { class: "fm-typo-en-title-sm-600" }, _hoisted_4 = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
46
|
+
const _hoisted_1 = { class: "flex flex-col h-full space-y-24" }, _hoisted_2 = { class: "fm-typo-en-title-sm-600" }, _hoisted_3 = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
50
47
|
__name: "CampaignTypeDialog",
|
|
51
48
|
props: {
|
|
52
49
|
onSelect: {
|
|
@@ -90,21 +87,24 @@ const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", { class: "" }, [
|
|
|
90
87
|
function l(i) {
|
|
91
88
|
n.close(), o.onSelect(i);
|
|
92
89
|
}
|
|
93
|
-
return (i,
|
|
94
|
-
const
|
|
95
|
-
return openBlock(), createBlock(
|
|
90
|
+
return (i, a) => {
|
|
91
|
+
const c = resolveComponent("FmCard");
|
|
92
|
+
return openBlock(), createBlock(c, { class: "p-24 space-y-16" }, {
|
|
96
93
|
default: withCtx(() => [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
(
|
|
94
|
+
a[0] || (a[0] = createElementVNode("div", { class: "" }, [
|
|
95
|
+
createElementVNode("div", { class: "fm-typo-en-title-sm-800" }, "Add benefit"),
|
|
96
|
+
createElementVNode("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Select the benefit type that you want to reward the selected tier. ")
|
|
97
|
+
], -1)),
|
|
98
|
+
createElementVNode("div", _hoisted_1, [
|
|
99
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(t, (s) => createVNode(c, {
|
|
100
100
|
variant: "outlined",
|
|
101
101
|
key: s.value,
|
|
102
102
|
onClick: (u) => l(s.value),
|
|
103
103
|
class: "p-16 space-y-8 cursor-pointer"
|
|
104
104
|
}, {
|
|
105
105
|
default: withCtx(() => [
|
|
106
|
-
createElementVNode("div",
|
|
107
|
-
createElementVNode("div",
|
|
106
|
+
createElementVNode("div", _hoisted_2, toDisplayString(s.title), 1),
|
|
107
|
+
createElementVNode("div", _hoisted_3, toDisplayString(s.description), 1)
|
|
108
108
|
]),
|
|
109
109
|
_: 2
|
|
110
110
|
}, 1032, ["onClick"])), 64))
|