@feedmepos/mf-connect 0.0.5-beta.20 → 0.0.5-beta.21
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-DUWe-WYz.js → Analytic-CVpCpEBl.js} +12 -13
- package/dist/{Broadcast-CAmI-dS9.js → Broadcast-C0SHdFpT.js} +11 -12
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CQbePPyW.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B94-nKP4.js} +8 -8
- package/dist/Card-C5yXOEhK.js +827 -0
- package/dist/Collections-Ka_q_V3S.js +424 -0
- package/dist/{Credit-CxyIk-mH.js → Credit-CmTa3hjm.js} +11 -12
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-AGQwe70B.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CNSfNMA_.js} +23 -24
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-y263YYGy.js → EffectSheet.vue_vue_type_style_index_0_lang-BLfzJ46z.js} +5 -5
- package/dist/{Experience-DH6nbWal.js → Experience-yd4ZPBXy.js} +11 -12
- package/dist/{Game-BGMGl6Uw.js → Game-DYTplwOh.js} +22 -23
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-rs3BEnpo.js → ImageInput.vue_vue_type_script_setup_true_lang-BuuYdlE4.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-BIwBZ7FH.js → LottieAnimation.vue_vue_type_script_setup_true_lang-BfWuKa1w.js} +1 -1
- package/dist/{MainLayout-CjvNB4RK.js → MainLayout-8tc3ZtLI.js} +2 -2
- package/dist/{Marketing-BLbR9_KN.js → Marketing-D5Le-SWn.js} +19 -20
- package/dist/{Member-BqPHWUos.js → Member-CzY5Um_y.js} +2 -2
- package/dist/{MemberList-DoBv4aBY.js → MemberList-DpFa2ttF.js} +20 -21
- package/dist/{MemberTransactions-Cri3UCrX.js → MemberTransactions-CDKkRdfp.js} +4 -4
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang--qiv_ZUS.js → MessageInput.vue_vue_type_script_setup_true_lang-BD27S5wB.js} +4 -4
- package/dist/{Mission-BXRMH__V.js → Mission-9BmMMzyr.js} +25 -26
- package/dist/{Point-MS30HaX7.js → Point-IiWgZIyI.js} +11 -12
- package/dist/{Promotion-BuOELg3x.js → Promotion-BmEQ28sH.js} +42 -44
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CAnO-3XN.js → RuleGroup.vue_vue_type_script_setup_true_lang-BhOoz0HL.js} +12 -12
- package/dist/{Segment-C9s9hDBX.js → Segment-D1ID4Rmt.js} +39 -40
- package/dist/{Setting-CHk3QEsN.js → Setting-B3WeabHJ.js} +17 -18
- package/dist/{Store-CQWAs4Ew.js → Store-CKFLaYKH.js} +18 -19
- package/dist/{StoreRewards-DJkh42Es.js → StoreRewards-DIQL173Q.js} +27 -28
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-B2kjcViv.js +794 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CEBqSaBp.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C1QmPELI.js} +1 -1
- package/dist/{Tier-3zGwCsja.js → Tier-BvE47ciZ.js} +43 -43
- package/dist/{Title-TotAXw2n.js → Title-DfcczCHg.js} +42 -42
- package/dist/Transaction-CF0f3QCU.js +36 -0
- package/dist/Voucher-CCOZjT6k.js +481 -0
- package/dist/{app--rCS8dWb.js → app-B4oDOeXm.js} +1456 -1456
- package/dist/app.js +1 -1
- package/dist/{campaign-BPWXzTLO.js → campaign-BWwTQs_d.js} +2 -2
- package/dist/{collection.fn-NFB67-6j.js → collection.fn-C5XN0PPR.js} +2 -2
- package/dist/{dto-ChVvY7GG.js → dto-Ktuw3JiD.js} +138 -139
- package/dist/{effect-CbwZuhWY.js → effect-BM2dJl1a.js} +1 -1
- package/dist/export-LApNX--r.js +97 -0
- package/dist/{helper-D16-sxkv.js → helper-BUC1dAUX.js} +1 -1
- package/dist/{index-EmqFPQGb.js → index-B6GvsaDA.js} +1 -1
- package/dist/{index-DlqRXSLU.js → index-BZMMIcyM.js} +1 -1
- package/dist/{index-Blbjd5Y9.js → index-Bc-r4pik.js} +5 -5
- package/dist/{index-CGTaSvN6.js → index-Bt_xFt9g.js} +1 -1
- package/dist/{index-D-bPAs1d.js → index-C7qI5flU.js} +2 -2
- package/dist/{index-Dh6x04Wk.js → index-C86T8VON.js} +2 -2
- package/dist/{index-C7SZ9gvu.js → index-CvZ_MhCE.js} +7 -7
- package/dist/{index-vsgk07Y2.js → index-CzVShOLS.js} +1 -1
- package/dist/{index-BGAWJ6-h.js → index-DSUUVWFu.js} +3 -3
- package/dist/{index--VC0kdJZ.js → index-DVJQt0_Q.js} +2 -2
- package/dist/{plugins-Ccv9TIl4.js → loading-CM3ZyteE.js} +8204 -8108
- package/dist/{lodash-7Fz14kKI.js → lodash-DYMRs712.js} +1 -1
- package/dist/{membership-ByQds6Nb.js → membership-D0Z9EBWi.js} +3 -3
- package/dist/{money-DsiT1-aV.js → money-Cyt6uuok.js} +1 -1
- package/dist/{number-D4SI_vwy.js → number-CSBV_14_.js} +1 -1
- package/dist/{rule-NzJI8lrC.js → rule-C4ovkUox.js} +2 -2
- package/dist/{rule-builder-CNz0WgMq.js → rule-builder-DxDhft7B.js} +1 -1
- package/dist/{template-9wDwTGR-.js → template-Dd9xYS-m.js} +6 -6
- package/dist/{usePagination-CsZrmXsU.js → usePagination-cObe7G1g.js} +1 -1
- package/dist/{xlsx-CUa5ix7U.js → xlsx--baqnGDY.js} +1 -1
- package/package.json +1 -1
- package/dist/Card-DhgETjhz.js +0 -914
- package/dist/Collections-9fPXIR34.js +0 -424
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-1GgzlIRZ.js +0 -693
- package/dist/Transaction-gV9vaJCR.js +0 -34
- package/dist/Voucher-BJ-pXo7Y.js +0 -449
- package/dist/loading-B5tUSWjN.js +0 -100
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { defineComponent as G, computed as I, resolveComponent as V, openBlock as x, createBlock as N, withCtx as T, createElementVNode as h, createVNode as i, createElementBlock as $, toDisplayString as ue, unref as e, Fragment as z, renderList as te, ref as E, isRef as me, createCommentVNode as W, reactive as Re, onMounted as pe, watch as he, toRaw as De, createTextVNode as oe, h as Be } from "vue";
|
|
2
2
|
import { _ as Ee } from "./tier-BJDhpH6X.js";
|
|
3
3
|
import { useDialog as Ue, useDialogChild as Ne, components as Ae } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
5
|
-
import { u as ke, C as se } from "./membership-
|
|
6
|
-
import { a as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { F as qe, a as Ke, b as We, c as $e } from "./index--VC0kdJZ.js";
|
|
4
|
+
import { d as Q, a as Oe, u as Me, p as fe, n as je, f as ye } from "./loading-CM3ZyteE.js";
|
|
5
|
+
import { u as ke, C as se } from "./membership-D0Z9EBWi.js";
|
|
6
|
+
import { a as Le, c as Pe } from "./object-qECH92oz.js";
|
|
7
|
+
import { c as R, z as j, h as ge, S as He, u as be, J as xe, b as Te } from "./app-B4oDOeXm.js";
|
|
8
|
+
import { F as qe, a as Ke, b as We, c as $e } from "./index-DVJQt0_Q.js";
|
|
10
9
|
import { Z as H, g as q, a as K } from "./zod-W_PvIofQ.js";
|
|
11
10
|
import { _ as J } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CWt4tVdk.js";
|
|
12
|
-
import { _ as de } from "./lodash-
|
|
13
|
-
import { _ as ze } from "./index-
|
|
14
|
-
import { _ as Je } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as de } from "./lodash-DYMRs712.js";
|
|
12
|
+
import { _ as ze } from "./index-C86T8VON.js";
|
|
13
|
+
import { _ as Je } from "./ImageInput.vue_vue_type_script_setup_true_lang-BuuYdlE4.js";
|
|
15
14
|
import { _ as Ye } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
16
|
-
import { z as Ge, a as Xe } from "./money-
|
|
17
|
-
import { F as Ze } from "./number-
|
|
18
|
-
import { t as Qe } from "./helper-
|
|
15
|
+
import { z as Ge, a as Xe } from "./money-Cyt6uuok.js";
|
|
16
|
+
import { F as Ze } from "./number-CSBV_14_.js";
|
|
17
|
+
import { t as Qe } from "./helper-BUC1dAUX.js";
|
|
19
18
|
import { useRouter as et } from "vue-router";
|
|
20
|
-
import { m as ce } from "./index-
|
|
19
|
+
import { m as ce } from "./index-B6GvsaDA.js";
|
|
21
20
|
function tt(g) {
|
|
22
21
|
return Q.DineroFactory(g).toUnit();
|
|
23
22
|
}
|
|
@@ -462,7 +461,7 @@ const bt = { class: "space-y-8" }, ht = {
|
|
|
462
461
|
i(r, {
|
|
463
462
|
icon: "content_copy",
|
|
464
463
|
variant: "tertiary",
|
|
465
|
-
onClick: m[2] || (m[2] = (n) => e(
|
|
464
|
+
onClick: m[2] || (m[2] = (n) => e(Oe)(e(o)))
|
|
466
465
|
})
|
|
467
466
|
]),
|
|
468
467
|
_: 1
|
|
@@ -962,7 +961,7 @@ const Dt = /* @__PURE__ */ G({
|
|
|
962
961
|
return Number.isNaN(C) ? 0 : C;
|
|
963
962
|
});
|
|
964
963
|
function M() {
|
|
965
|
-
a.value.taxTotals = p.value, _("update", $e.parse(
|
|
964
|
+
a.value.taxTotals = p.value, _("update", $e.parse(Le(a.value)));
|
|
966
965
|
}
|
|
967
966
|
function L() {
|
|
968
967
|
return de.cloneDeep(S);
|
|
@@ -1241,7 +1240,7 @@ const Yt = { class: "px-24 flex flex-col gap-y-16" }, Gt = { class: "flex gap-8
|
|
|
1241
1240
|
}, null, -1), ea = /* @__PURE__ */ h("div", { class: "flex flex-col gap-16 text-center" }, [
|
|
1242
1241
|
/* @__PURE__ */ h("div", { class: "fm-typo-en-title-sm-800" }, "Store bundle"),
|
|
1243
1242
|
/* @__PURE__ */ h("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Add item that you want to let your user spend and get here. It can be bunch of vouchers, benefits, experience and more! ")
|
|
1244
|
-
], -1),
|
|
1243
|
+
], -1), xa = /* @__PURE__ */ G({
|
|
1245
1244
|
__name: "Store",
|
|
1246
1245
|
setup(g) {
|
|
1247
1246
|
const b = {
|
|
@@ -1260,7 +1259,7 @@ const Yt = { class: "px-24 flex flex-col gap-y-16" }, Gt = { class: "flex gap-8
|
|
|
1260
1259
|
value: "create_category",
|
|
1261
1260
|
isPrimary: !0,
|
|
1262
1261
|
prependIcon: "add"
|
|
1263
|
-
}, o = et(), u = ke(), { global: m, minor: a } =
|
|
1262
|
+
}, o = et(), u = ke(), { global: m, minor: a } = Me, c = Ue(), r = I(() => u.sortedStoreCategories), n = E(), y = E();
|
|
1264
1263
|
async function s(f) {
|
|
1265
1264
|
var P;
|
|
1266
1265
|
f === "setting" ? (P = n.value) == null || P.showSheet(!0, u.storeOption) : f === "create_category" ? U(-1) : f === "create_reward" ? await o.push({ name: Te["$connect-STORE_REWARDS"] }) : f == "payout" && (window.open(Jt.paymentPortalUrl, "_blank"), await o.push({ name: Te["$connect-STORE_REWARDS"] }));
|
|
@@ -1315,7 +1314,7 @@ const Yt = { class: "px-24 flex flex-col gap-y-16" }, Gt = { class: "flex gap-8
|
|
|
1315
1314
|
P ?? (P = (k = y.value) == null ? void 0 : k.target.category), B ?? (B = (M = y.value) == null ? void 0 : M.target.index);
|
|
1316
1315
|
const p = Pe(r.value), A = p[P];
|
|
1317
1316
|
if (!A) {
|
|
1318
|
-
|
|
1317
|
+
je.error("Unexpected error", 2e3);
|
|
1319
1318
|
return;
|
|
1320
1319
|
}
|
|
1321
1320
|
if (f == null) {
|
|
@@ -1434,5 +1433,5 @@ const Yt = { class: "px-24 flex flex-col gap-y-16" }, Gt = { class: "flex gap-8
|
|
|
1434
1433
|
}
|
|
1435
1434
|
});
|
|
1436
1435
|
export {
|
|
1437
|
-
|
|
1436
|
+
xa as default
|
|
1438
1437
|
};
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { defineComponent as Y, ref as V, computed as N, onMounted as Z, resolveComponent as p, openBlock as u, createBlock as
|
|
1
|
+
import { defineComponent as Y, ref as V, computed as N, onMounted as Z, resolveComponent as p, openBlock as u, createBlock as v, unref as e, isRef as z, withCtx as x, createElementVNode as s, createVNode as n, createElementBlock as I, createTextVNode as J, resolveDynamicComponent as H, toDisplayString as K, Fragment as j, createCommentVNode as U, h as C } from "vue";
|
|
2
2
|
import { _ as Q } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { components as $ } from "@feedmepos/ui-library";
|
|
4
|
-
import { a as X, u as q,
|
|
5
|
-
import { u as ee } from "./loading-
|
|
6
|
-
import { C as _, u as te } from "./membership-
|
|
7
|
-
import {
|
|
8
|
-
import { F as oe } from "./index-Dh6x04Wk.js";
|
|
4
|
+
import { a as X, u as q, b as k } from "./app-B4oDOeXm.js";
|
|
5
|
+
import { u as ee, p as M, f as B } from "./loading-CM3ZyteE.js";
|
|
6
|
+
import { C as _, u as te } from "./membership-D0Z9EBWi.js";
|
|
7
|
+
import { F as oe } from "./index-C86T8VON.js";
|
|
9
8
|
import { c as ae } from "./object-qECH92oz.js";
|
|
10
9
|
import { _ as ne } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
11
10
|
import { useCoreStore as le } from "@feedmepos/mf-common";
|
|
12
11
|
import { Z as w } from "./zod-W_PvIofQ.js";
|
|
13
12
|
import { _ as se } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CWt4tVdk.js";
|
|
14
|
-
import { _ as ie } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as me, a as de } from "./EffectSheet.vue_vue_type_style_index_0_lang-
|
|
17
|
-
import { i as ce, t as ue } from "./helper-
|
|
13
|
+
import { _ as ie } from "./ImageInput.vue_vue_type_script_setup_true_lang-BuuYdlE4.js";
|
|
14
|
+
import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-C1QmPELI.js";
|
|
15
|
+
import { _ as me, a as de } from "./EffectSheet.vue_vue_type_style_index_0_lang-BLfzJ46z.js";
|
|
16
|
+
import { i as ce, t as ue } from "./helper-BUC1dAUX.js";
|
|
18
17
|
import { useRouter as pe } from "vue-router";
|
|
19
|
-
import { m as D } from "./index-
|
|
18
|
+
import { m as D } from "./index-B6GvsaDA.js";
|
|
20
19
|
const fe = {
|
|
21
20
|
key: 0,
|
|
22
21
|
class: "flex flex-col space-y-16 pr-12"
|
|
23
|
-
}, ye = { class: "fm-typo-en-title-sm-800 !mb-[-8px]" }, we = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary flex items-center justify-between" }, ge = /* @__PURE__ */ s("div", { class: "fm-typo-en-title-sm-800" }, "Discount", -1),
|
|
22
|
+
}, ye = { class: "fm-typo-en-title-sm-800 !mb-[-8px]" }, we = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary flex items-center justify-between" }, ge = /* @__PURE__ */ s("div", { class: "fm-typo-en-title-sm-800" }, "Discount", -1), be = /* @__PURE__ */ s("div", { class: "fm-typo-en-title-sm-800 !mb-[-8px]" }, " Usage configuration ", -1), ve = /* @__PURE__ */ s("div", { class: "fm-typo-en-title-sm-800 !mb-[-8px]" }, "Availability", -1), _e = { class: "flex items-center gap-8" }, he = /* @__PURE__ */ Y({
|
|
24
23
|
__name: "EditRewardSheet",
|
|
25
24
|
emits: ["update"],
|
|
26
25
|
setup(W, { expose: O, emit: f }) {
|
|
@@ -54,10 +53,10 @@ const fe = {
|
|
|
54
53
|
rewardImage: y
|
|
55
54
|
}), (o, t) => {
|
|
56
55
|
const m = p("FmTextarea"), c = p("FmHelperText"), R = p("FmSwitch"), T = p("FmButton"), L = p("FmSideSheet");
|
|
57
|
-
return u(),
|
|
56
|
+
return u(), v(L, {
|
|
58
57
|
"max-width": 560,
|
|
59
58
|
modelValue: e(i),
|
|
60
|
-
"onUpdate:modelValue": t[8] || (t[8] = (
|
|
59
|
+
"onUpdate:modelValue": t[8] || (t[8] = (b) => z(i) ? i.value = b : null),
|
|
61
60
|
header: "Store setting"
|
|
62
61
|
}, {
|
|
63
62
|
"side-sheet-footer": x(() => [
|
|
@@ -70,18 +69,18 @@ const fe = {
|
|
|
70
69
|
}, null, 8, ["disabled", "loading"]),
|
|
71
70
|
n(T, {
|
|
72
71
|
label: "Cancel",
|
|
73
|
-
onClick: t[7] || (t[7] = (
|
|
72
|
+
onClick: t[7] || (t[7] = (b) => E(!1)),
|
|
74
73
|
variant: "tertiary"
|
|
75
74
|
})
|
|
76
75
|
])
|
|
77
76
|
]),
|
|
78
77
|
default: x(() => {
|
|
79
|
-
var
|
|
78
|
+
var b, d, G;
|
|
80
79
|
return [
|
|
81
80
|
e(a) ? (u(), I("div", fe, [
|
|
82
81
|
s("div", ye, [
|
|
83
82
|
J(" Reward information "),
|
|
84
|
-
(u(),
|
|
83
|
+
(u(), v(H(e(g).chip())))
|
|
85
84
|
]),
|
|
86
85
|
n(se, {
|
|
87
86
|
modelValue: e(a).name,
|
|
@@ -96,7 +95,7 @@ const fe = {
|
|
|
96
95
|
rules: [e(w).ruleAtPath(e(l), "description", [e(a).type])]
|
|
97
96
|
}, {
|
|
98
97
|
label: x(() => [
|
|
99
|
-
(u(),
|
|
98
|
+
(u(), v(H(
|
|
100
99
|
e(w).toInputLabel(
|
|
101
100
|
e(w).typeAtPath(e(l), "description", [e(a).type]),
|
|
102
101
|
`${e(g).name} description`
|
|
@@ -107,7 +106,7 @@ const fe = {
|
|
|
107
106
|
}, 8, ["modelValue", "rules"]),
|
|
108
107
|
s("div", we, [
|
|
109
108
|
s("div", null, K(e(g).name) + " description should not exceed 200 characters. ", 1),
|
|
110
|
-
s("div", null, K(((
|
|
109
|
+
s("div", null, K(((b = e(a).description) == null ? void 0 : b.length) ?? 0) + "/200", 1)
|
|
111
110
|
]),
|
|
112
111
|
n(ie, {
|
|
113
112
|
class: "w-1/2 xs:w-2/3",
|
|
@@ -119,7 +118,7 @@ const fe = {
|
|
|
119
118
|
})
|
|
120
119
|
}, {
|
|
121
120
|
label: x(() => [
|
|
122
|
-
(u(),
|
|
121
|
+
(u(), v(H(
|
|
123
122
|
e(w).toInputLabel(
|
|
124
123
|
e(w).typeAtPath(e(l), "image", [e(a).type]),
|
|
125
124
|
`${e(g).name} image`
|
|
@@ -136,13 +135,13 @@ const fe = {
|
|
|
136
135
|
e(a).extras.effect = r;
|
|
137
136
|
})
|
|
138
137
|
}, null, 8, ["model-value"]),
|
|
139
|
-
e(a).extras.effect == null ? (u(),
|
|
138
|
+
e(a).extras.effect == null ? (u(), v(c, {
|
|
140
139
|
key: 0,
|
|
141
140
|
class: "!mt-8",
|
|
142
141
|
text: "Effect is required",
|
|
143
142
|
state: "error"
|
|
144
143
|
})) : U("", !0),
|
|
145
|
-
|
|
144
|
+
be,
|
|
146
145
|
n(de, {
|
|
147
146
|
"model-value": e(a).options,
|
|
148
147
|
"no-campaign": e(a).noCampaign,
|
|
@@ -150,8 +149,8 @@ const fe = {
|
|
|
150
149
|
schema: e(w).typeAtPath(e(l), "options", ["VOUCHER"])
|
|
151
150
|
}, null, 8, ["model-value", "no-campaign", "schema"])
|
|
152
151
|
], 64)) : U("", !0),
|
|
153
|
-
|
|
154
|
-
e(a).type === "VOUCHER" ? (u(),
|
|
152
|
+
ve,
|
|
153
|
+
e(a).type === "VOUCHER" ? (u(), v(re, {
|
|
155
154
|
key: 1,
|
|
156
155
|
"model-value": ((G = (d = e(a).extras) == null ? void 0 : d.targetLocation) == null ? void 0 : G.map(String)) ?? null,
|
|
157
156
|
type: "select",
|
|
@@ -182,7 +181,7 @@ const fe = {
|
|
|
182
181
|
}, null, -1), Ve = /* @__PURE__ */ s("div", { class: "flex flex-col gap-16 text-center" }, [
|
|
183
182
|
/* @__PURE__ */ s("div", { class: "fm-typo-en-title-sm-800" }, "Create rewards"),
|
|
184
183
|
/* @__PURE__ */ s("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Create rewards for your customers to redeem inside their bundle. ")
|
|
185
|
-
], -1),
|
|
184
|
+
], -1), Ke = /* @__PURE__ */ Y({
|
|
186
185
|
__name: "StoreRewards",
|
|
187
186
|
setup(W) {
|
|
188
187
|
const O = {
|
|
@@ -341,7 +340,7 @@ const fe = {
|
|
|
341
340
|
await f.readMembership(), await f.readRewards();
|
|
342
341
|
});
|
|
343
342
|
}), (o, t) => {
|
|
344
|
-
const m = p("FmPageHead"), c = p("FmMenuItem"), R = p("FmSearch"), T = p("FmTable"), L = p("FmButton"),
|
|
343
|
+
const m = p("FmPageHead"), c = p("FmMenuItem"), R = p("FmSearch"), T = p("FmTable"), L = p("FmButton"), b = p("FmCard");
|
|
345
344
|
return u(), I(j, null, [
|
|
346
345
|
n(m, {
|
|
347
346
|
title: "Rewards",
|
|
@@ -403,7 +402,7 @@ const fe = {
|
|
|
403
402
|
onRowClick: t[6] || (t[6] = (d) => F(d.original._id)),
|
|
404
403
|
"hide-footer": e(y).length < 10
|
|
405
404
|
}, null, 8, ["row-data", "search-value", "column-filter", "hide-footer"])
|
|
406
|
-
], 64)) : (u(), b
|
|
405
|
+
], 64)) : (u(), v(b, {
|
|
407
406
|
key: 1,
|
|
408
407
|
variant: "outlined",
|
|
409
408
|
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
@@ -431,5 +430,5 @@ const fe = {
|
|
|
431
430
|
}
|
|
432
431
|
});
|
|
433
432
|
export {
|
|
434
|
-
|
|
433
|
+
Ke as default
|
|
435
434
|
};
|