@feedmepos/mf-connect 0.1.0-beta.6 → 0.1.0-beta.61
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-u9mtlxSv.js +427 -0
- package/dist/{App-C2616cfr.js → App-BwTQE7Ft.js} +445 -420
- package/dist/AuditLogs-BVMRclSw.js +1886 -0
- package/dist/Bin-Cca-XOkz.js +166 -0
- package/dist/{Broadcast-CqSwLTAq.js → Broadcast-DRQgpwdP.js} +56 -54
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DrR9Pmtb.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CeUu_T1u.js} +6 -8
- package/dist/Card-CnbB_u31.js +896 -0
- package/dist/Collections-BjlfOSC3.js +459 -0
- package/dist/{Credit-CPcLgnsq.js → Credit-BoElrcx9.js} +36 -34
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +108 -0
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js +58 -0
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-B3WVwem6.js +2181 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-D2buK6Dj.js → EffectSheet.vue_vue_type_style_index_0_lang-CGfpziKs.js} +18 -18
- package/dist/{Experience-BoBikt-x.js → Experience-SdGBf4vU.js} +32 -30
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js +118 -0
- package/dist/{Game-DR8PyYZa.js → Game-ChLHibpB.js} +39 -37
- package/dist/Index-D7Kq6uyf.js +259 -0
- package/dist/Marketing-BDajIqR_.js +20071 -0
- package/dist/Member-BPZryqWL.js +317 -0
- package/dist/MemberList-C52Dop8Z.js +1598 -0
- package/dist/MemberTransactions-DHU78kgS.js +45 -0
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DhtIZCjT.js → MessageInput.vue_vue_type_script_setup_true_lang-js1F2E4N.js} +83 -71
- package/dist/{Mission-CMpvz9zN.js → Mission-BQR3qjAu.js} +101 -87
- package/dist/Overview-BbLYWXjG.js +1078 -0
- package/dist/{Point-DkZn6p9s.js → Point-DbTcWJbQ.js} +55 -53
- package/dist/{Promotion-B7YzwPc_.js → Promotion-CIrpWBQD.js} +65 -57
- package/dist/Queue-B0Mfq2Vn.js +244 -0
- package/dist/Record-Z6ZrJeLc.js +340 -0
- package/dist/Reward-D6k0QFQA.js +442 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-GJ6j_jOh.js +150 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-gQxmX9ur.js +1637 -0
- package/dist/Segment-D6MF-EO8.js +568 -0
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-BWG-pz6F.js +181 -0
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-HgorlHNz.js +147 -0
- package/dist/Setting--OFDS95z.js +1931 -0
- package/dist/Store-BqlRTC-c.js +1751 -0
- package/dist/{StoreRewards-6BzVwZqr.js → StoreRewards-BTu0IdDN.js} +33 -32
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BX053DJA.js +943 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-B6cAveco.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BAkuqLwy.js} +1 -1
- package/dist/{Tier-CW-46oJS.js → Tier-CE9LYAEX.js} +327 -318
- package/dist/{Title-CE9rWVdi.js → Title-DOOASUMI.js} +199 -184
- package/dist/{Transaction-B21RrC4M.js → Transaction-DPxUOBP-.js} +2 -2
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-CKwf0F_i.js +130 -0
- package/dist/Voucher-D69DD02z.js +354 -0
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-CFL0Nsez.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BiVZwBuG.js → ZodTextField.vue_vue_type_script_setup_true_lang-Byh6_EJM.js} +1 -1
- package/dist/app-C2u1t47T.js +7059 -0
- package/dist/app-DgfmbHZe.js +33357 -0
- package/dist/app.js +1 -1
- package/dist/{business-aHhRUXc0.js → business-BqCJB_vA.js} +1 -1
- package/dist/{campaign-DH9NUNf_.js → campaign-CWMPCmmU.js} +2 -2
- package/dist/campaign-D0dTbl5b.js +1810 -0
- package/dist/campaign.enum-DhE8N4pA.js +20 -0
- package/dist/campaign.fn-BpO-RQih.js +758 -0
- package/dist/collectible.enum-rWEc6Tsw.js +19 -0
- package/dist/{collection.fn-CYlsA-kW.js → collection.fn-biX2iFDQ.js} +2 -2
- package/dist/dto-3m7xZwfI.js +214 -0
- package/dist/{effect-LSc9YanX.js → effect-ZMGRxKCZ.js} +9 -9
- package/dist/email-addresses-lgY03bkq.js +705 -0
- package/dist/{export-Cf0-C5Ly.js → export-BOzeYUy8.js} +5 -5
- package/dist/{helper-CiZpeMCM.js → helper-CO29wun4.js} +1 -1
- package/dist/index-B3V7krW_.js +29000 -0
- package/dist/index-BVbiAxW8.js +115 -0
- package/dist/{index-D_83JP2i.js → index-Bvch9tuP.js} +48 -4
- package/dist/index-CYOwwy3h.js +44 -0
- package/dist/{index-D6cEOHP4.js → index-CbYXYVYp.js} +1501 -1480
- package/dist/{index-DtsDOuDx.js → index-ChrOXJDq.js} +24 -21
- package/dist/index-CsaQJMAR.js +66 -0
- package/dist/index-DNGenFnf.js +32 -0
- package/dist/{index-BVb5-Ht8.js → index-Dd22X409.js} +259 -173
- package/dist/{index-kPhrD63q.js → index-LYAWIqjk.js} +1 -1
- package/dist/index-Xh9cW6Y9.js +54 -0
- package/dist/{index-gxwjKu3-.js → index-XhqaicYu.js} +2212 -871
- package/dist/{index-DW3PRjPL.js → index-YsC4VklJ.js} +1 -1
- package/dist/index-vh86FiIQ.js +10 -0
- package/dist/{index.esm2017-B7oVYIbY.js → index.esm2017-CJ1flA6S.js} +121 -121
- package/dist/loading-CUs_CN1k.js +71 -0
- package/dist/{membership-Dw1ylJ9Y.js → membership-D-GVacos.js} +54 -46
- package/dist/money-CMtSALkX.js +15 -0
- package/dist/number-CDwwgAYM.js +12 -0
- package/dist/objectid-Bf9yKD81.js +145 -0
- package/dist/{loading-7yq1tinq.js → plugins-9sQTEyth.js} +3871 -3943
- package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
- package/dist/reward-DblXGhWc.js +36 -0
- package/dist/{rule-C0Q_SHow.js → rule-Cy8cTzuw.js} +180 -177
- package/dist/{rule-builder-iu17XIof.js → rule-builder-Cn5vZgFN.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-CyOanTMu.js → template-Cal94dUy.js} +5 -5
- package/dist/trigger-C1nwLSP8.js +144 -0
- package/dist/user-ir4Rn5bP.js +54 -0
- package/dist/{vue-i18n-B0fLJH7a.js → vue-i18n-eOHBBaH5.js} +243 -243
- package/dist/{xlsx-BYO_bB9J.js → xlsx-DulnT75_.js} +1 -1
- package/package.json +11 -7
- package/dist/Analytic-muDf0oMG.js +0 -622
- package/dist/Card-bhLoK0ZV.js +0 -825
- package/dist/Collections-DjtsAiol.js +0 -453
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-U_QZneS6.js +0 -2813
- package/dist/Marketing-Dny2nMUl.js +0 -316
- package/dist/Member-CP_smyk8.js +0 -69
- package/dist/MemberList-CR3eYI9p.js +0 -1733
- package/dist/MemberTransactions-RTx_lKFb.js +0 -38
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Cs67_GLE.js +0 -1753
- package/dist/Segment-Bb4gHt5V.js +0 -437
- package/dist/Setting-Xj0AVzh3.js +0 -1901
- package/dist/Store-BWRHQ6Ie.js +0 -1511
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BsFnT8BS.js +0 -890
- package/dist/Voucher-KK9fBI0u.js +0 -490
- package/dist/app-CjhXHUQv.js +0 -53428
- package/dist/app-Dvf_JNMf.js +0 -5764
- package/dist/dto-DArfyZAI.js +0 -2770
- package/dist/index-Bi_LGEtY.js +0 -99
- package/dist/index-CiQDG7Cm.js +0 -762
- package/dist/index-CuvNtC_M.js +0 -61
- package/dist/index-DQfjSSMF.js +0 -206
- package/dist/index-DcxssxPi.js +0 -29193
- package/dist/index-DqJVH2kv.js +0 -298
- package/dist/money-CPd0XTNv.js +0 -15
- package/dist/number-BgXY4un8.js +0 -12
- package/dist/user-Bm4KttFq.js +0 -37
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as f, mergeModels as l, useModel as g, computed as u, onMounted as _, watch as R, resolveComponent as m, openBlock as h, createBlock as V, withCtx as b, createVNode as k, unref as y } from "vue";
|
|
2
|
+
import { h as t } from "./moment-BWErdI6_.js";
|
|
3
|
+
const a = "YYYY-MM-DD", F = /* @__PURE__ */ f({
|
|
4
|
+
__name: "DateRangeChip",
|
|
5
|
+
props: /* @__PURE__ */ l({
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
}
|
|
10
|
+
}, {
|
|
11
|
+
dateRange: {
|
|
12
|
+
type: Object,
|
|
13
|
+
default: () => ({
|
|
14
|
+
startDate: t().subtract(7, "day").format(a),
|
|
15
|
+
endDate: t().endOf("day").format(a)
|
|
16
|
+
})
|
|
17
|
+
},
|
|
18
|
+
dateRangeModifiers: {}
|
|
19
|
+
}),
|
|
20
|
+
emits: /* @__PURE__ */ l(["update:model-value"], ["update:dateRange"]),
|
|
21
|
+
setup(r, { emit: s }) {
|
|
22
|
+
const o = r, c = s, e = g(r, "dateRange"), i = u(() => e.value ? `${n.value.startDate ?? "Start"} - ${n.value.endDate ?? "End"}` : "No dates selected."), n = u(() => ({
|
|
23
|
+
startDate: e.value.startDate ? t(e.value.startDate).format(a) : void 0,
|
|
24
|
+
endDate: e.value.endDate ? t(e.value.endDate).format(a) : void 0
|
|
25
|
+
}));
|
|
26
|
+
return _(() => {
|
|
27
|
+
e.value = {
|
|
28
|
+
startDate: o.modelValue.startDate ? t(o.modelValue.startDate).format(a) : void 0,
|
|
29
|
+
endDate: o.modelValue.endDate ? t(o.modelValue.endDate).format(a) : void 0
|
|
30
|
+
};
|
|
31
|
+
}), R(
|
|
32
|
+
() => e.value,
|
|
33
|
+
() => {
|
|
34
|
+
c("update:model-value", n.value);
|
|
35
|
+
}
|
|
36
|
+
), (C, d) => {
|
|
37
|
+
const p = m("FmChip"), D = m("FmDateRangePicker");
|
|
38
|
+
return h(), V(D, {
|
|
39
|
+
modelValue: e.value,
|
|
40
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => e.value = v),
|
|
41
|
+
"show-predefined-range": ""
|
|
42
|
+
}, {
|
|
43
|
+
"trigger-button": b(() => [
|
|
44
|
+
k(p, {
|
|
45
|
+
label: y(i),
|
|
46
|
+
icon: "calendar_month",
|
|
47
|
+
"right-icon": "keyboard_arrow_down",
|
|
48
|
+
class: "text-fm-color-neutral-gray-400 cursor-pointer"
|
|
49
|
+
}, null, 8, ["label"])
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
}, 8, ["modelValue"]);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
F as _
|
|
58
|
+
};
|