@feedmepos/mf-connect 0.1.0-beta.15 → 0.1.0-beta.17
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-BvsvVIaJ.js +424 -0
- package/dist/{App-BeD6_T_Z.js → App-B6i-kTvi.js} +40 -36
- package/dist/{Broadcast-Di-DP7MU.js → Broadcast-BMNY7jfz.js} +32 -32
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BszRUIC8.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Cl-VwkQw.js} +9 -8
- package/dist/Card-BUxMxMv3.js +685 -0
- package/dist/{Collections-kplzfC-n.js → Collections-fJ4dAA8O.js} +10 -9
- package/dist/{Credit-DrZdTG27.js → Credit-DeLJMW7U.js} +14 -14
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-KB_zk3f0.js +2199 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DE7rq_ro.js → EffectSheet.vue_vue_type_style_index_0_lang-Dy2q_1Kh.js} +8 -8
- package/dist/{Experience-BQz_RASv.js → Experience-DNlf2fYa.js} +8 -8
- package/dist/{Game-C5RUfcwo.js → Game-BXj3DErV.js} +15 -15
- package/dist/Index-FMFz2f9Z.js +218 -0
- package/dist/{Marketing-Ca00_q-k.js → Marketing-C8OjZOr2.js} +5 -5
- package/dist/{Member-B-9P7bbG.js → Member-BgwbYQrK.js} +4 -4
- package/dist/{MemberList-DoAOs_FC.js → MemberList-DMQUG_Kt.js} +251 -246
- package/dist/{MemberTransactions-D-qjANZL.js → MemberTransactions-CQO2cHn6.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DgWXNnd_.js → MessageInput.vue_vue_type_script_setup_true_lang-Ds_BwKa6.js} +2 -2
- package/dist/{Mission-DrKEtkuB.js → Mission-rHomcJXG.js} +15 -15
- package/dist/Overview-CmwJjXeT.js +864 -0
- package/dist/{Point-vO06ComP.js → Point-Du07BO13.js} +15 -15
- package/dist/{Promotion-DiJLB7iq.js → Promotion-B1gbbfk2.js} +53 -47
- package/dist/Record-0GtBWXRO.js +178 -0
- package/dist/Reward-aH7S8WL3.js +375 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-XdyqSqlC.js +138 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-E7ADhGR7.js +1597 -0
- package/dist/{Segment-x3OLFugO.js → Segment-Ci4BDnan.js} +65 -64
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-I2KT0px7.js +181 -0
- package/dist/{Setting-C27PXvat.js → Setting-Dc9rLPuI.js} +8 -8
- package/dist/{Store-Dn2A_coC.js → Store-B94H-jff.js} +13 -13
- package/dist/{StoreRewards-CZMCXl-k.js → StoreRewards-Cho91MDd.js} +12 -12
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DMsmMCOw.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CDiZz1AW.js} +10 -10
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-j8UbHQpT.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BmEP5mI5.js} +1 -1
- package/dist/{Tier-BnbE3qLA.js → Tier-DO9pTl_C.js} +15 -15
- package/dist/{Title-BAGSqm5D.js → Title-CgQD-_3y.js} +15 -15
- package/dist/{Transaction-DWvA09mr.js → Transaction-DPmvpR7n.js} +2 -2
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-CJa-Tkws.js +130 -0
- package/dist/{Voucher-CLgdPRSd.js → Voucher-Bq5Ev_fv.js} +31 -31
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DeQTAvCe.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DweS66z_.js → ZodTextField.vue_vue_type_script_setup_true_lang-DLFDd3Y3.js} +1 -1
- package/dist/{app-CEoOXnMP.js → app-BT6qeigc.js} +509 -391
- package/dist/{app-DbEoLwS2.js → app-CtaeuBcs.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{business-DIsK1ZSi.js → business-Db2WFn9o.js} +1 -1
- package/dist/{campaign-DilFl2u4.js → campaign-Bo2jmBiD.js} +2 -2
- package/dist/collectible.enum-BR9zmyJv.js +19 -0
- package/dist/{collection.fn-DOGveN-U.js → collection.fn-Drj_6HD1.js} +2 -2
- package/dist/{dto-D146MexX.js → dto-BH8EtK7z.js} +54 -54
- package/dist/{effect-BAoY-7Mo.js → effect-l8oNjQBm.js} +1 -1
- package/dist/{email-addresses-D4ptdJi7.js → email-addresses-CBqWAs9Z.js} +1 -1
- package/dist/{export-ZdS0ijA0.js → export-D6S3dr04.js} +3 -3
- package/dist/{helper-CYBvYPRB.js → helper-CS2Hx33Q.js} +1 -1
- package/dist/{index-sJUCCkLn.js → index-5mZIFDhm.js} +21 -17
- package/dist/{index-D5OipTW2.js → index-BfhjAqeE.js} +3 -3
- package/dist/{index-Dw-QQGVh.js → index-Bj5M_at2.js} +1 -1
- package/dist/{index-BJNzAvF6.js → index-BsfC7C2D.js} +1 -1
- package/dist/{index-Dwsdu9aR.js → index-C7kr1TMO.js} +209 -116
- package/dist/{index-CBd5MdRb.js → index-CATw-eQI.js} +1348 -1342
- package/dist/{index-VOFTSIqj.js → index-CVfN0Gmc.js} +2 -2
- package/dist/{index-r3--ddX3.js → index-CXEJbUAO.js} +1 -1
- package/dist/{index-fSC0-_uQ.js → index-CmN2dQk5.js} +55 -44
- package/dist/index-Ct847l9G.js +50 -0
- package/dist/index-D2d2rTPz.js +38 -0
- package/dist/{index-CyvTJWa0.js → index-DVryx2wz.js} +1 -1
- package/dist/{index-DXwoelMh.js → index-XoOcBFvx.js} +39 -35
- package/dist/{index-RKVC43XB.js → index-Z61r-lWj.js} +1 -1
- package/dist/{index.esm2017-ClQvLeXO.js → index.esm2017-Dg7M2BO7.js} +1 -1
- package/dist/{loading-DyvR-Q2q.js → loading-DxWIhKJX.js} +156 -153
- package/dist/{membership-DjHOR91O.js → membership-Df7gtzWJ.js} +51 -43
- package/dist/{money-C9nfcrN2.js → money-Ck4ZGH4F.js} +1 -1
- package/dist/{number-BH4v9H5s.js → number-D8umDJ-5.js} +1 -1
- package/dist/objectid-BGnepAUg.js +145 -0
- package/dist/reward-5b5G4KYr.js +36 -0
- package/dist/{rule-DdzmxL5G.js → rule-BcLntzKp.js} +4 -3
- package/dist/{rule-builder-C3LgxTPd.js → rule-builder-B_RDlrnZ.js} +1 -1
- package/dist/{template-CTOkKogt.js → template-C-myFW3k.js} +4 -4
- package/dist/trigger-CAK3-5M9.js +114 -0
- package/dist/usePagination-BeF5K3M7.js +223 -0
- package/dist/{vue-i18n-Dw456kF3.js → vue-i18n-BC0lAbnG.js} +248 -248
- package/dist/{usePagination-BLsmsO5l.js → xlsx-DNZb1t3l.js} +2962 -3183
- package/package.json +1 -1
- package/dist/Analytic-BudPZ7yo.js +0 -622
- package/dist/Card-BSUIJ4V3.js +0 -824
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DTxdtvAX.js +0 -2816
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BO8_N-Hl.js +0 -1762
|
@@ -4,13 +4,14 @@ var $ = (f, r, u) => te(f, typeof r != "symbol" ? r + "" : r, u);
|
|
|
4
4
|
import { defineComponent as H, ref as p, computed as J, watch as O, resolveComponent as d, openBlock as y, createBlock as T, unref as o, isRef as K, withCtx as I, createElementVNode as b, createVNode as s, createElementBlock as R, Fragment as N, renderList as ae, createCommentVNode as P, onMounted as le, h as S } from "vue";
|
|
5
5
|
import { h as j } from "./moment-BWErdI6_.js";
|
|
6
6
|
import { components as G } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as Q, a as ne } from "./loading-
|
|
7
|
+
import { u as Q, a as ne } from "./loading-DxWIhKJX.js";
|
|
8
8
|
import { J as se } from "./JsonViewer-v8_C7l5N.js";
|
|
9
9
|
import { u as re } from "./app-wDQR6dpb.js";
|
|
10
10
|
import { useRoute as W, useRouter as ie } from "vue-router";
|
|
11
|
-
import { c as A } from "./index-
|
|
12
|
-
import { u as z,
|
|
13
|
-
import {
|
|
11
|
+
import { c as A } from "./index-DVryx2wz.js";
|
|
12
|
+
import { u as z, w as de } from "./xlsx-DNZb1t3l.js";
|
|
13
|
+
import { u as ue, _ as ce } from "./usePagination-BeF5K3M7.js";
|
|
14
|
+
import { m as me } from "./index-Bj5M_at2.js";
|
|
14
15
|
import { o as pe } from "./objectId-dwaoBfJX.js";
|
|
15
16
|
const fe = { class: "space-y-16" }, ge = { class: "gap-16 grid grid-cols-2" }, be = { class: "flex items-center gap-8" }, Ce = /* @__PURE__ */ H({
|
|
16
17
|
__name: "CreateCollectionSheet",
|
|
@@ -251,7 +252,7 @@ const m = {
|
|
|
251
252
|
rowsPerPage: 1e3,
|
|
252
253
|
page: 1,
|
|
253
254
|
rowsNumber: 0
|
|
254
|
-
}, xe = { class: "px-24 flex flex-col gap-y-32 pb-24" }, ye = { class: "flex items-center justify-end py-4 xs:hidden" },
|
|
255
|
+
}, xe = { class: "px-24 flex flex-col gap-y-32 pb-24" }, ye = { class: "flex items-center justify-end py-4 xs:hidden" }, Ae = /* @__PURE__ */ H({
|
|
255
256
|
__name: "Collections",
|
|
256
257
|
setup(f) {
|
|
257
258
|
const r = ie(), u = W(), F = p(), k = J(() => u.params.id), _ = p(!1), { custom: B } = Q, E = [
|
|
@@ -332,7 +333,7 @@ const m = {
|
|
|
332
333
|
}, q = (n) => {
|
|
333
334
|
const t = g[u.name];
|
|
334
335
|
return (e) => t(n, e);
|
|
335
|
-
}, { tableMeta: l, rowData: D, onSort: U, debouncedFetchData: C, onSearch: c } =
|
|
336
|
+
}, { tableMeta: l, rowData: D, onSort: U, debouncedFetchData: C, onSearch: c } = ue(q(k.value));
|
|
336
337
|
async function h() {
|
|
337
338
|
var n;
|
|
338
339
|
await C(), (n = F.value) == null || n.showSheet(!1);
|
|
@@ -366,7 +367,7 @@ const m = {
|
|
|
366
367
|
}
|
|
367
368
|
m.page++;
|
|
368
369
|
}
|
|
369
|
-
await
|
|
370
|
+
await de(
|
|
370
371
|
n.buildExcel(),
|
|
371
372
|
`members-${(/* @__PURE__ */ new Date()).toISOString()}.xlsx`,
|
|
372
373
|
{
|
|
@@ -425,7 +426,7 @@ const m = {
|
|
|
425
426
|
collapsible: ""
|
|
426
427
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
427
428
|
]),
|
|
428
|
-
s(
|
|
429
|
+
s(ce, {
|
|
429
430
|
loading: o(l).isLoading,
|
|
430
431
|
"row-data": o(D),
|
|
431
432
|
"column-defs": E,
|
|
@@ -448,5 +449,5 @@ const m = {
|
|
|
448
449
|
}
|
|
449
450
|
});
|
|
450
451
|
export {
|
|
451
|
-
|
|
452
|
+
Ae as default
|
|
452
453
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as N, ref as S, computed as j, h as M, onMounted as A, resolveComponent as l, openBlock as c, createElementBlock as y, Fragment as h, createVNode as i, unref as a, createElementVNode as n, withCtx as C, renderList as H, createBlock as v, resolveDynamicComponent as q, toDisplayString as g, createCommentVNode as z } from "vue";
|
|
2
2
|
import { _ as G } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as J, components as O } from "@feedmepos/ui-library";
|
|
4
|
-
import { p as Q, u as W } from "./loading-
|
|
5
|
-
import { u as X } from "./business-
|
|
6
|
-
import { u as Y } from "./campaign-
|
|
7
|
-
import { g as V,
|
|
8
|
-
import { u as Z } from "./vue-i18n-
|
|
4
|
+
import { p as Q, u as W } from "./loading-DxWIhKJX.js";
|
|
5
|
+
import { u as X } from "./business-Db2WFn9o.js";
|
|
6
|
+
import { u as Y } from "./campaign-Bo2jmBiD.js";
|
|
7
|
+
import { g as V, a as L } from "./dto-BH8EtK7z.js";
|
|
8
|
+
import { u as Z } from "./vue-i18n-BC0lAbnG.js";
|
|
9
9
|
import { _ as ee } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as oe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as te } from "./template-
|
|
12
|
-
import { c as _ } from "./index-
|
|
10
|
+
import { _ as oe } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-KB_zk3f0.js";
|
|
11
|
+
import { u as te } from "./template-C-myFW3k.js";
|
|
12
|
+
import { c as _ } from "./index-DVryx2wz.js";
|
|
13
13
|
const ae = { class: "px-24 flex flex-col gap-y-16" }, ne = { class: "flex items-center justify-between w-full" }, re = { class: "flex gap-8 overflow-x-auto" }, se = { class: "space-y-8" }, ie = { class: "flex w-full gap-4 items-center" }, le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ce = { class: "space-y-4" }, me = { class: "fm-typo-en-body-lg-600" }, de = { 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" }, ue = { key: 0 }, Ve = /* @__PURE__ */ N({
|
|
14
14
|
__name: "Credit",
|
|
15
15
|
setup(fe) {
|
|
@@ -50,13 +50,13 @@ const ae = { class: "px-24 flex flex-col gap-y-16" }, ne = { class: "flex items-
|
|
|
50
50
|
icon: "delete",
|
|
51
51
|
iconColor: "neutral-gray-400",
|
|
52
52
|
onClick: (o) => {
|
|
53
|
-
o.stopPropagation(),
|
|
53
|
+
o.stopPropagation(), b(e.row.original);
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
],
|
|
59
|
-
async function
|
|
58
|
+
], x = S();
|
|
59
|
+
async function b(e) {
|
|
60
60
|
await Q.remove(
|
|
61
61
|
r("connect.program.common.remove.confirm", { name: e.name })
|
|
62
62
|
) && await w(
|
|
@@ -77,7 +77,7 @@ const ae = { class: "px-24 flex flex-col gap-y-16" }, ne = { class: "flex items-
|
|
|
77
77
|
});
|
|
78
78
|
async function o(p) {
|
|
79
79
|
var u;
|
|
80
|
-
(u =
|
|
80
|
+
(u = x.value) == null || u.showSheet(
|
|
81
81
|
!0,
|
|
82
82
|
"CREDIT",
|
|
83
83
|
e ? await _.readById(e._id) : void 0,
|
|
@@ -171,7 +171,7 @@ const ae = { class: "px-24 flex flex-col gap-y-16" }, ne = { class: "flex items-
|
|
|
171
171
|
icon: "delete",
|
|
172
172
|
"icon-color": "neutral-gray-400",
|
|
173
173
|
variant: "tertiary",
|
|
174
|
-
onClick: (k) => (k.stopPropagation(),
|
|
174
|
+
onClick: (k) => (k.stopPropagation(), b(t))
|
|
175
175
|
}, null, 8, ["onClick"])
|
|
176
176
|
]),
|
|
177
177
|
_: 2
|
|
@@ -207,7 +207,7 @@ const ae = { class: "px-24 flex flex-col gap-y-16" }, ne = { class: "flex items-
|
|
|
207
207
|
})),
|
|
208
208
|
i(oe, {
|
|
209
209
|
ref_key: "sheetRef",
|
|
210
|
-
ref:
|
|
210
|
+
ref: x,
|
|
211
211
|
"onSubmit:modelValue": E
|
|
212
212
|
}, null, 512)
|
|
213
213
|
])
|