@feedmepos/mf-connect 0.1.0-beta.3 → 0.1.0-beta.30
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-DLez3H4H.js +424 -0
- package/dist/{App-gzbM97vW.js → App-dkNRyYLR.js} +397 -384
- package/dist/{Broadcast-BwYZkTs0.js → Broadcast-DlAaBitD.js} +32 -32
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DIh9rz6T.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BtpiGQEs.js} +8 -8
- package/dist/Card-JpWEjzjP.js +897 -0
- package/dist/{Collections-Df6tlo8S.js → Collections-D5hUfDJo.js} +4 -4
- package/dist/{Credit-BPel8vA9.js → Credit-v3KdCFwT.js} +14 -14
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +108 -0
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-CE2Ar-Ll.js +2198 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BT8ucS5G.js → EffectSheet.vue_vue_type_style_index_0_lang-C12m8EXP.js} +8 -8
- package/dist/{Experience-CPpz1Zwx.js → Experience-9A41fyZO.js} +8 -8
- package/dist/{Game-ByLblISC.js → Game-l1tUsePJ.js} +15 -15
- package/dist/Index-rF6OzGw_.js +255 -0
- package/dist/Marketing-6zS-6CS3.js +20070 -0
- package/dist/{Member-CCc_FEZY.js → Member-B5jPh0DM.js} +4 -4
- package/dist/MemberList-c2P1lToO.js +1045 -0
- package/dist/{MemberTransactions-DD5ahSbY.js → MemberTransactions-BiwAZyCP.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DSPvWk4C.js → MessageInput.vue_vue_type_script_setup_true_lang-CYVOCazs.js} +2 -2
- package/dist/{Mission-VH4057I-.js → Mission-BM7abR6J.js} +98 -86
- package/dist/Overview-Drjb4oAW.js +1024 -0
- package/dist/{Point-Bu3IlpH4.js → Point-BP9YezdW.js} +23 -23
- package/dist/{Promotion-B45AOHis.js → Promotion-DiqlNOWk.js} +53 -47
- package/dist/Record-DJ2A1L-C.js +209 -0
- package/dist/Reward-DN6z6LXf.js +411 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-CcbzCFUg.js +151 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CFD10xnG.js +1639 -0
- package/dist/Segment-Cm48eZrS.js +567 -0
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-6XokSm7W.js +181 -0
- package/dist/{Setting-CF09eRQJ.js → Setting-3jXUi2cS.js} +8 -8
- package/dist/Store-Csditfe8.js +1745 -0
- package/dist/{StoreRewards-0iGExjqQ.js → StoreRewards-DOMxpeaj.js} +12 -12
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Csoobxol.js +957 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BEfxin47.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C8UhKTgD.js} +1 -1
- package/dist/{Tier-IaeWe7rM.js → Tier-BmhQYaPz.js} +318 -306
- package/dist/{Title-DD67Zxh5.js → Title-BJV4yLCu.js} +199 -183
- package/dist/{Transaction-BsPDnLzB.js → Transaction-DB81PNYL.js} +2 -2
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-wyCBPQRj.js +130 -0
- package/dist/{Voucher-M7JfcKo0.js → Voucher-B8nnAIUZ.js} +31 -31
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-B4zIOBh0.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-k0lprU2i.js → ZodTextField.vue_vue_type_script_setup_true_lang-DvfcNsj9.js} +1 -1
- package/dist/{app-DwujUNP-.js → app-BYTkNtdY.js} +1 -1
- package/dist/{app-HFICF0vL.js → app-sD3N1iqR.js} +1285 -1283
- package/dist/app.js +1 -1
- package/dist/{business-BaF1QJXa.js → business-B6OFKNz4.js} +1 -1
- package/dist/{campaign-CTDtmAE9.js → campaign-DhumfBC6.js} +2 -2
- package/dist/collectible.enum-4Gywgj__.js +19 -0
- package/dist/{collection.fn-DMW03W4R.js → collection.fn-D-uexOQL.js} +2 -2
- package/dist/{dto-gpaNZHzQ.js → dto-b9jcbMWA.js} +78 -86
- package/dist/{effect-CBUmtwet.js → effect-CBN4vtSi.js} +9 -9
- package/dist/email-addresses-BqgJVUoG.js +705 -0
- package/dist/{export-Bdh_PbsW.js → export-D1kS_vMc.js} +3 -3
- package/dist/{helper-Cu9elRvl.js → helper-SbkTJZDm.js} +1 -1
- package/dist/index-BBBSm4kr.js +54 -0
- package/dist/index-BIs-Ed1-.js +29000 -0
- package/dist/{index-ogzk-Mj4.js → index-CBwwTcb5.js} +1 -1
- package/dist/{index-At6yms5t.js → index-CHg2swyg.js} +30 -26
- package/dist/index-Cd94xjeo.js +38 -0
- package/dist/{index-CArqG03W.js → index-Cehc8dyz.js} +39 -35
- package/dist/index-CsaQJMAR.js +66 -0
- package/dist/{index-CtH2S49l.js → index-CxBG7i3n.js} +203 -195
- package/dist/{index-DrGrOgZB.js → index-DgJVPeks.js} +13 -1
- package/dist/{index-NXiDu42U.js → index-Dp-5hs3q.js} +1 -1
- package/dist/{index-Crw-Vgo5.js → index-DtX7V_mF.js} +1500 -1479
- package/dist/index-Hhxoo_Eg.js +1067 -0
- package/dist/{index-Ch6XwPzF.js → index-OCIxZJKd.js} +1 -1
- package/dist/{index-Dfdg2Q3E.js → index-wJ5e3mQa.js} +1 -1
- package/dist/{index.esm2017-CeJpvUbA.js → index.esm2017-Bl1OPd9N.js} +33 -33
- package/dist/{loading-Cn8ml_vy.js → loading-BghJIv3w.js} +591 -597
- package/dist/{membership-CX4AKMlH.js → membership-D532uzUJ.js} +51 -43
- package/dist/money-BJmDeENN.js +15 -0
- package/dist/number-E_LdkU9a.js +12 -0
- package/dist/objectid-DSB8jlsT.js +145 -0
- package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
- package/dist/reward-CiTzAsCd.js +36 -0
- package/dist/{rule-Cv83Y59R.js → rule-0MEHUef9.js} +180 -177
- package/dist/{rule-builder-Dew4yB5Q.js → rule-builder-BQZN0Bi4.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-CSnbgM1o.js → template-2xDKWfij.js} +5 -5
- package/dist/trigger-BFmJQkCL.js +114 -0
- package/dist/user-B_diJ-ER.js +54 -0
- package/dist/{vue-i18n-CNH_IhVd.js → vue-i18n-D0S05G9j.js} +408 -408
- package/dist/{xlsx-D4DUZHix.js → xlsx-9pjTnN_k.js} +1 -1
- package/package.json +8 -7
- package/dist/Analytic-BC5BA6pN.js +0 -622
- package/dist/Card-CBYQGKwY.js +0 -825
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-PsrS7I0r.js +0 -2809
- package/dist/Marketing-D0vm80e_.js +0 -316
- package/dist/MemberList-CrnipE9y.js +0 -1733
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Ijc2OYh9.js +0 -1753
- package/dist/Segment-ZWsp48aC.js +0 -437
- package/dist/Store-B_G6Dhmq.js +0 -1511
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CaxUr9zl.js +0 -890
- package/dist/index-8MaN7rez.js +0 -762
- package/dist/index-BjdHxGDn.js +0 -298
- package/dist/index-CuvNtC_M.js +0 -61
- package/dist/index-RP0XOPRL.js +0 -29193
- package/dist/money-BTejgvKu.js +0 -15
- package/dist/number-Cen5TucC.js +0 -12
- package/dist/user-Bm4KttFq.js +0 -37
|
@@ -4,14 +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-BghJIv3w.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, w as de } from "./xlsx-
|
|
11
|
+
import { c as A } from "./index-Dp-5hs3q.js";
|
|
12
|
+
import { u as z, w as de } from "./xlsx-9pjTnN_k.js";
|
|
13
13
|
import { u as ue, _ as ce } from "./usePagination-BeF5K3M7.js";
|
|
14
|
-
import { m as me } from "./index-
|
|
14
|
+
import { m as me } from "./index-DgJVPeks.js";
|
|
15
15
|
import { o as pe } from "./objectId-dwaoBfJX.js";
|
|
16
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({
|
|
17
17
|
__name: "CreateCollectionSheet",
|
|
@@ -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-BghJIv3w.js";
|
|
5
|
+
import { u as X } from "./business-B6OFKNz4.js";
|
|
6
|
+
import { u as Y } from "./campaign-DhumfBC6.js";
|
|
7
|
+
import { g as V, a as L } from "./dto-b9jcbMWA.js";
|
|
8
|
+
import { u as Z } from "./vue-i18n-D0S05G9j.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-CE2Ar-Ll.js";
|
|
11
|
+
import { u as te } from "./template-2xDKWfij.js";
|
|
12
|
+
import { c as _ } from "./index-Dp-5hs3q.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
|
])
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { defineComponent as I, ref as P, resolveComponent as u, openBlock as t, createBlock as y, unref as h, withCtx as d, renderSlot as V, createElementBlock as s, toDisplayString as i, createCommentVNode as S, createVNode as x, normalizeClass as g, createElementVNode as B, Fragment as N, renderList as j } from "vue";
|
|
2
|
+
const q = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "fm-typo-en-body-lg-400 mb-4"
|
|
5
|
+
}, $ = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "fm-typo-en-body-lg-400"
|
|
8
|
+
}, E = { class: "rounded-md bg-white shadow-md max-h-[300px] overflow-y-scroll pl-4 py-12" }, O = /* @__PURE__ */ I({
|
|
9
|
+
__name: "CustomSelect",
|
|
10
|
+
props: {
|
|
11
|
+
label: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: !1
|
|
14
|
+
},
|
|
15
|
+
placeholder: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: !1
|
|
18
|
+
},
|
|
19
|
+
items: {
|
|
20
|
+
type: Object,
|
|
21
|
+
required: !0
|
|
22
|
+
},
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: Object
|
|
25
|
+
},
|
|
26
|
+
zIndex: {
|
|
27
|
+
type: Number
|
|
28
|
+
},
|
|
29
|
+
multiselect: {
|
|
30
|
+
type: Boolean
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
emits: ["update:model-value"],
|
|
34
|
+
setup(e, { emit: k }) {
|
|
35
|
+
const r = k, m = P(!1);
|
|
36
|
+
return (v, b) => {
|
|
37
|
+
const F = u("FmIcon"), C = u("FmField"), p = u("FmMenuItem"), w = u("FmPopover");
|
|
38
|
+
return t(), y(w, {
|
|
39
|
+
"show-popover": h(m),
|
|
40
|
+
onPopoverChanged: b[0] || (b[0] = (l) => m.value = l),
|
|
41
|
+
"z-index": e.zIndex
|
|
42
|
+
}, {
|
|
43
|
+
"popover-button": d(() => [
|
|
44
|
+
V(v.$slots, "popover-button", {}, () => [
|
|
45
|
+
e.label ? (t(), s("div", q, i(e.label), 1)) : S("", !0),
|
|
46
|
+
x(C, null, {
|
|
47
|
+
append: d(() => [
|
|
48
|
+
V(v.$slots, "append"),
|
|
49
|
+
x(F, {
|
|
50
|
+
name: h(m) ? "expand_less" : "expand_more",
|
|
51
|
+
size: "md",
|
|
52
|
+
color: "black"
|
|
53
|
+
}, null, 8, ["name"])
|
|
54
|
+
]),
|
|
55
|
+
default: d(() => {
|
|
56
|
+
var l;
|
|
57
|
+
return [
|
|
58
|
+
e.multiselect ? (t(), s("div", $, i(e.items.filter((o) => {
|
|
59
|
+
var a;
|
|
60
|
+
return (a = e.modelValue) == null ? void 0 : a.includes(o.value);
|
|
61
|
+
}).map((o) => o.label).join(", ")), 1)) : (t(), s("div", {
|
|
62
|
+
key: 0,
|
|
63
|
+
class: g(["fm-typo-en-body-lg-400", {
|
|
64
|
+
"text-fm-color-typo-secondary": !e.items.find(
|
|
65
|
+
(o) => o.value == e.modelValue
|
|
66
|
+
)
|
|
67
|
+
}])
|
|
68
|
+
}, i(((l = e.items.find((o) => o.value == e.modelValue)) == null ? void 0 : l.label) || e.placeholder), 3))
|
|
69
|
+
];
|
|
70
|
+
}),
|
|
71
|
+
_: 3
|
|
72
|
+
})
|
|
73
|
+
])
|
|
74
|
+
]),
|
|
75
|
+
default: d(() => [
|
|
76
|
+
B("div", E, [
|
|
77
|
+
(t(!0), s(N, null, j(e.items, (l) => {
|
|
78
|
+
var o, a;
|
|
79
|
+
return t(), y(p, {
|
|
80
|
+
class: g(`${e.multiselect ? (o = e.modelValue) != null && o.some((n) => n == l.value) ? "bg-fm-color-system-warning-100" : "" : e.modelValue == l.value}`),
|
|
81
|
+
"has-checkbox": e.multiselect,
|
|
82
|
+
key: l.value,
|
|
83
|
+
"model-value": e.multiselect ? (a = e.modelValue) == null ? void 0 : a.some((n) => n == l.value) : e.modelValue == l.value,
|
|
84
|
+
label: l.label,
|
|
85
|
+
onClick: (n) => {
|
|
86
|
+
var f;
|
|
87
|
+
if (n.stopPropagation(), !e.multiselect)
|
|
88
|
+
m.value = !1, r("update:model-value", l.value);
|
|
89
|
+
else {
|
|
90
|
+
const z = (f = e.modelValue) == null ? void 0 : f.some((c) => c == l.value);
|
|
91
|
+
r(
|
|
92
|
+
"update:model-value",
|
|
93
|
+
z ? (e.modelValue ?? []).filter((c) => c !== l.value) : [...e.modelValue ?? [], l.value]
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}, null, 8, ["class", "has-checkbox", "model-value", "label", "onClick"]);
|
|
98
|
+
}), 128))
|
|
99
|
+
])
|
|
100
|
+
]),
|
|
101
|
+
_: 3
|
|
102
|
+
}, 8, ["show-popover", "z-index"]);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
export {
|
|
107
|
+
O as _
|
|
108
|
+
};
|