@feedmepos/mf-connect 0.1.36-prod → 0.1.38-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/Analytic-O-qZWrFp.js +761 -0
- package/dist/{App-JwvQzmaf.js → App-BWZ2EE71.js} +364 -352
- package/dist/AuditLogs-DlmcFEta.js +1887 -0
- package/dist/{Bin-Boq091DE.js → Bin-C-Ha-4yF.js} +8 -8
- package/dist/{Broadcast-D7BIjPzg.js → Broadcast-Bo3QS8lS.js} +27 -25
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-ZFe69JWe.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-4vUMzH-l.js} +18 -18
- package/dist/{Card-C7v8otBk.js → Card-Bs1TDE0e.js} +159 -159
- package/dist/{Collections-C_pyDZJp.js → Collections-Dy5RN7Js.js} +103 -91
- package/dist/{Credit-B6I7vIo2.js → Credit-Bqc4dw1s.js} +74 -74
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js +58 -0
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DHQBxqsk.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-D6AmN3o3.js} +490 -488
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-cqK2WTuO.js → EffectSheet.vue_vue_type_style_index_0_lang-BzwADnKp.js} +91 -89
- package/dist/{Experience-RU6iI7eH.js → Experience-C2e2T7B-.js} +42 -42
- package/dist/{FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js → FilterChip.vue_vue_type_script_setup_true_lang-d8rh38tD.js} +2 -6
- package/dist/{Game-B9Ojuamc.js → Game-C86eEhcx.js} +32 -32
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js +144 -0
- package/dist/{Index-Dv-YN9YC.js → Index-BRGweFco.js} +10 -10
- package/dist/Marketing-CnnrnXbS.js +20073 -0
- package/dist/{Member-BX81V3ON.js → Member-B3o0Zhcw.js} +76 -76
- package/dist/MemberList-BpE1IjED.js +1606 -0
- package/dist/MemberOverview-wL_ailso.js +58 -0
- package/dist/{MemberTransactions-C0FinB5E.js → MemberTransactions-C4hao-d9.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DZS17c8D.js → MessageInput.vue_vue_type_script_setup_true_lang-D9zfmqLs.js} +36 -36
- package/dist/{Mission-BV76Qq3Y.js → Mission-BURXfzjd.js} +21 -21
- package/dist/{Overview-CMK4VRZl.js → Overview-D_hrrM4O.js} +335 -335
- package/dist/{Point-CQWKh1jv.js → Point-CJXkJY5Q.js} +43 -41
- package/dist/Promotion-CunJrh42.js +289 -0
- package/dist/{Queue-CFNfJSux.js → Queue-v5Itg9J4.js} +52 -52
- package/dist/{Record-7_ssnQnB.js → Record-DJe4tg9R.js} +9 -9
- package/dist/{Reward-DOe1Tn2f.js → Reward-Y9aHpny5.js} +173 -173
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-BsgR-dCL.js → RewardGroup.vue_vue_type_script_setup_true_lang-1KAjCblO.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BPw5L06B.js → RuleGroup.vue_vue_type_script_setup_true_lang-Cr99ikbK.js} +635 -548
- package/dist/Segment-DVT8uDn8.js +882 -0
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DPsLdEU8.js → SelectItems.vue_vue_type_script_setup_true_lang-BhJ-oVMb.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-BAJLRxOM.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-b5bjfBvc.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DUUzFkIc.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DoKAgSLE.js} +3 -3
- package/dist/{Setting-Bojfmtwf.js → Setting-BU5778gG.js} +432 -432
- package/dist/{Store-dfiUtq-f.js → Store-IWg0POAU.js} +211 -211
- package/dist/StoreRewards-CIjHcVoh.js +423 -0
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Cx05-OPF.js +1029 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-D8ey57Te.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BcOvr526.js} +1 -1
- package/dist/{Tier-BIDShXJ6.js → Tier-iN30KD7g.js} +107 -107
- package/dist/{Title-CDdkVwEu.js → Title-Duh_Srek.js} +133 -131
- package/dist/{Transaction-lAUnd1c_.js → Transaction-DLBA7Svl.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BwaD8Nwy.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DLD5d43d.js} +6 -6
- package/dist/{Voucher-BARDbixZ.js → Voucher-cTvlMN0Y.js} +153 -123
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DkjojUvD.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CIk3GKLH.js → ZodTextField.vue_vue_type_script_setup_true_lang-C5S-bi5J.js} +1 -1
- package/dist/{app-Cq8zUKBx.js → app-A3oEKLq5.js} +1 -1
- package/dist/{app-KtD-iU16.js → app-De-yQ1CJ.js} +164 -125
- package/dist/app.js +4 -3
- package/dist/business-B2JBpm4y.js +79 -0
- package/dist/{campaign-NqTts9bj.js → campaign-Bhur0NJx.js} +9 -9
- package/dist/{campaign-DwArKZ1r.js → campaign-vkzui6F2.js} +5 -3
- package/dist/{campaign.enum-DQayyk1f.js → campaign.enum-DCYkKGhd.js} +1 -1
- package/dist/{campaign.fn-6uf_Z5m1.js → campaign.fn--affTEi5.js} +161 -161
- package/dist/{collectible.enum-CgjtJh8V.js → collectible.enum-CLBCnfev.js} +1 -1
- package/dist/{collection.fn-DuqcY399.js → collection.fn-bA8q0KYy.js} +2 -2
- package/dist/{dto-CQRn2lAW.js → dto-RCcWeYE0.js} +4 -4
- package/dist/{effect-B-sUUnjd.js → effect-D7qRfPe_.js} +1 -1
- package/dist/{email-addresses-D-kPsNBn.js → email-addresses-a8PqViID.js} +1 -1
- package/dist/{export-B28oHptg.js → export-BneqNRn4.js} +3 -3
- package/dist/{helper-DuBp_oW-.js → helper-DfvvxOyO.js} +1 -1
- package/dist/{index-CCNfzZ5t.js → index-2LpkG8Ye.js} +1 -1
- package/dist/{index-C2wsUy05.js → index-4kMeSNTr.js} +11447 -10969
- package/dist/{index-BgdUU6Za.js → index-B0T9GDIZ.js} +1 -1
- package/dist/{index-CczG_ilB.js → index-BWTvsoH0.js} +1 -1
- package/dist/index-CMBPIb8x.js +32260 -0
- package/dist/{index-DF4V4vur.js → index-CTKMdxSm.js} +1 -1
- package/dist/index-CVAWGMus.js +56 -0
- package/dist/index-CbsJ6vMJ.js +31 -0
- package/dist/{index-CSWnS__O.js → index-CrFUhsZO.js} +1 -1
- package/dist/index-CsaQJMAR.js +66 -0
- package/dist/{index-CmOaBe_x.js → index-CtDqXnOp.js} +535 -460
- package/dist/{index-CECYN1oL.js → index-D0GnMoag.js} +181 -79
- package/dist/{index-BCslSeGm.js → index-DMrIQqFt.js} +1 -1
- package/dist/{index-BZYbNzed.js → index-DeXvASjP.js} +3 -3
- package/dist/{index-CUdis4Jl.js → index-y-7yUm2e.js} +10 -9
- package/dist/{index.esm2017-CVwbgLS0.js → index.esm2017-JtyypweZ.js} +127 -127
- package/dist/{loading-C-BSh5_w.js → loading-a-FqrwqI.js} +1 -1
- package/dist/{membership-BPpTsVq5.js → membership-CGVtil5J.js} +3 -3
- package/dist/{money-BSxQcP_f.js → money-CTc1l_Cq.js} +1 -1
- package/dist/{number-p7RPdTQ7.js → number-W3R-0nYP.js} +1 -1
- package/dist/objectid-BU0Y8iAN.js +145 -0
- package/dist/{plugins-5mIceCPA.js → plugins-D2sSgTSl.js} +2 -2
- package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
- package/dist/{reward-CaZY5kqg.js → reward-atP8vnNn.js} +1 -1
- package/dist/{rule-builder-yn_upY7a.js → rule-builder-BB29ZJ_C.js} +17 -17
- package/dist/{rule-DB6XK-iD.js → rule-eA5IvnjB.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{template-DbmV0nWD.js → template-DhBeDaAm.js} +64 -64
- package/dist/{trigger-DPl3HG2o.js → trigger-Bq_pZj1J.js} +7 -7
- package/dist/{usePagination-JoYaROkV.js → usePagination-BeF5K3M7.js} +85 -85
- package/dist/{user-DzwHXhvX.js → user-B-bhVFIG.js} +1 -1
- package/dist/{vue-i18n-BnN9jlFK.js → vue-i18n-D-h8VDSx.js} +343 -343
- package/dist/{xlsx-CrsYUgcS.js → xlsx-DsByAcZl.js} +226 -226
- package/package.json +5 -3
- package/dist/Analytic-C1LCniPD.js +0 -427
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js +0 -144
- package/dist/Marketing-CFgCJV0g.js +0 -317
- package/dist/MemberList-BjX8ND1p.js +0 -1606
- package/dist/MemberOverview-C2n9oJZh.js +0 -58
- package/dist/Promotion-CnFaEvhL.js +0 -255
- package/dist/Segment-DUP0JWK5.js +0 -882
- package/dist/StoreRewards-DJj-oM2n.js +0 -423
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-oRUpDbZ_.js +0 -995
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-bDQs5ACo.js +0 -419
- package/dist/business-CFMUx5qO.js +0 -78
- package/dist/index-CuJ5OZqA.js +0 -29566
- package/dist/index-CuvNtC_M.js +0 -61
- package/dist/index-Dbd4WA4r.js +0 -61
- package/dist/index-mtAI1Gyn.js +0 -44
- package/dist/objectid-DkD1hn1F.js +0 -145
|
@@ -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-a-FqrwqI.js";
|
|
4
|
+
import { u as R } from "./business-B2JBpm4y.js";
|
|
5
|
+
import { C as A } from "./campaign-Bhur0NJx.js";
|
|
6
|
+
import { _ as P } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-D6AmN3o3.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-
|
|
8
|
+
import { _ as Y } from "./SendVoucherSheet.vue_vue_type_script_setup_true_lang-DoKAgSLE.js";
|
|
9
|
+
import { u as D } from "./vue-i18n-D-h8VDSx.js";
|
|
10
10
|
import { h as E } from "./moment-BWErdI6_.js";
|
|
11
|
-
import { p as I } from "./plugins-
|
|
12
|
-
import { c as g } from "./index-
|
|
11
|
+
import { p as I } from "./plugins-D2sSgTSl.js";
|
|
12
|
+
import { c as g } from "./index-BWTvsoH0.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-
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
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({
|
|
4
|
+
import { p as W } from "./plugins-D2sSgTSl.js";
|
|
5
|
+
import { u as X } from "./loading-a-FqrwqI.js";
|
|
6
|
+
import { u as Y } from "./business-B2JBpm4y.js";
|
|
7
|
+
import { u as Z } from "./campaign-vkzui6F2.js";
|
|
8
|
+
import { a as B, b as A, g as ee } from "./campaign-Bhur0NJx.js";
|
|
9
|
+
import { u as te } from "./vue-i18n-D-h8VDSx.js";
|
|
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-D6AmN3o3.js";
|
|
12
|
+
import { u as ne } from "./template-DhBeDaAm.js";
|
|
13
|
+
import { c as _ } from "./index-BWTvsoH0.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",
|
|
@@ -65,14 +62,16 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
65
62
|
], x = h();
|
|
66
63
|
async function S(e) {
|
|
67
64
|
await W.remove(
|
|
68
|
-
s("campaign.common.remove.confirm", { name: e.name })
|
|
65
|
+
s("connect.campaign.common.remove.confirm", { name: e.name })
|
|
69
66
|
) && await C(
|
|
70
67
|
async () => {
|
|
71
68
|
await _.delete(e._id), await m.read("BROADCAST");
|
|
72
69
|
},
|
|
73
70
|
{
|
|
74
|
-
message: s("campaign.common.remove.removing", { name: e.name }),
|
|
75
|
-
successMessage: s("campaign.common.remove.removed", {
|
|
71
|
+
message: s("connect.campaign.common.remove.removing", { name: e.name }),
|
|
72
|
+
successMessage: s("connect.campaign.common.remove.removed", {
|
|
73
|
+
name: e.name
|
|
74
|
+
})
|
|
76
75
|
}
|
|
77
76
|
);
|
|
78
77
|
}
|
|
@@ -128,7 +127,7 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
128
127
|
t(m).campaigns.broadcast && t(m).campaigns.broadcast.length > 0 ? (l(), y(b, { key: 0 }, [
|
|
129
128
|
n("div", ce, [
|
|
130
129
|
n("div", ie, [
|
|
131
|
-
i(
|
|
130
|
+
i(oe, {
|
|
132
131
|
modelValue: t(c).location,
|
|
133
132
|
"onUpdate:modelValue": o[2] || (o[2] = (a) => t(c).location = a),
|
|
134
133
|
label: `${t(s)("connect.campaign.common.location")}: `,
|
|
@@ -196,10 +195,13 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
196
195
|
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
197
196
|
}, {
|
|
198
197
|
default: v(() => [
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
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)
|
|
203
205
|
]),
|
|
204
206
|
i(F, {
|
|
205
207
|
variant: "primary",
|
|
@@ -210,7 +212,7 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
210
212
|
]),
|
|
211
213
|
_: 1
|
|
212
214
|
})),
|
|
213
|
-
i(
|
|
215
|
+
i(ae, {
|
|
214
216
|
ref_key: "sheetRef",
|
|
215
217
|
ref: x,
|
|
216
218
|
"onSubmit:modelValue": K
|
|
@@ -221,5 +223,5 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
221
223
|
}
|
|
222
224
|
});
|
|
223
225
|
export {
|
|
224
|
-
|
|
226
|
+
Te as default
|
|
225
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-y-7yUm2e.js";
|
|
2
|
+
import { i as isRuleGroup } from "./rule-builder-BB29ZJ_C.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
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
5
|
+
import "./index-D0GnMoag.js";
|
|
6
|
+
import { a as F_RUNNABLE_CAMPAIGN_TYPE } from "./index-CtDqXnOp.js";
|
|
7
|
+
import "./index-B0T9GDIZ.js";
|
|
8
|
+
import "./index-DeXvASjP.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))
|