@feedmepos/mf-connect 0.1.56-prod → 0.1.58-prod
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/package.json +1 -1
- package/dist/Analytic-XUI4rZyP.js +0 -427
- package/dist/App-vv5J1Ebe.js +0 -4630
- package/dist/Bin-D4V36uXK.js +0 -166
- package/dist/Broadcast-BvW27G77.js +0 -233
- package/dist/CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D2MC6Gy1.js +0 -121
- package/dist/Card-C7xLv1Fb.js +0 -911
- package/dist/ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js +0 -97
- package/dist/Collections-BKfS-bGL.js +0 -458
- package/dist/Credit-CGmWQq0t.js +0 -228
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js +0 -128
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-C2p6_R01.js +0 -2194
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-BGlaqjWp.js +0 -348
- package/dist/Experience-CT7Yab3W.js +0 -229
- package/dist/FileSaver.min-NlMItPOc.js +0 -74
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +0 -129
- package/dist/Game-DtW4rtYQ.js +0 -284
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js +0 -144
- package/dist/Index-Bs5ob9Km.js +0 -259
- package/dist/JsonViewer-v8_C7l5N.js +0 -87
- package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js +0 -18737
- package/dist/MainLayout-B1aJoR95.js +0 -41
- package/dist/Marketing-tA350rTd.js +0 -319
- package/dist/Member-CZoTXgKz.js +0 -279
- package/dist/MemberList-ChwyPtmW.js +0 -1607
- package/dist/MemberOverview-wL_ailso.js +0 -58
- package/dist/MemberTransactions-Cchtvxm9.js +0 -45
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-Bo0EnHBx.js +0 -60553
- package/dist/Mission-DDpelLqN.js +0 -302
- package/dist/Overview-Da3ewBat.js +0 -1079
- package/dist/Point-CggE8VUk.js +0 -232
- package/dist/Promotion-DxvbZhgQ.js +0 -289
- package/dist/Queue-fIxlHrMd.js +0 -260
- package/dist/Record-Bv90_VUG.js +0 -341
- package/dist/Reward-BWYLk7aC.js +0 -442
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-CjYEtENe.js +0 -150
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Ak1R8Y2a.js +0 -1763
- package/dist/Segment-_VGdBy3a.js +0 -882
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-Dm4hF1n1.js +0 -181
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-DWDMhmNr.js +0 -188
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-Czy25PII.js +0 -147
- package/dist/Setting-7fTz1dJa.js +0 -1936
- package/dist/Store-TQHKR__B.js +0 -1842
- package/dist/StoreRewards-DZy1ZwiI.js +0 -423
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Cae25Vr6.js +0 -995
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-BVVEzpyP.js +0 -139
- package/dist/Tier-CK53vdbl.js +0 -895
- package/dist/Title-CGWPq_FF.js +0 -566
- package/dist/Transaction-DjJ03PfX.js +0 -39
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-DNSdyxrF.js +0 -130
- package/dist/Voucher-D6RuJjNn.js +0 -384
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-D4iCOq3V.js +0 -419
- package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-BFz8RvY_.js +0 -56
- package/dist/_commonjsHelpers-BkfeUUK-.js +0 -28
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/app-BLlAxdVk.js +0 -57962
- package/dist/app-_rmIFJ8M.js +0 -7057
- package/dist/app-wDQR6dpb.js +0 -39
- package/dist/app.js +0 -6
- package/dist/business-gJ9fK_2b.js +0 -82
- package/dist/campaign-BfznfcHc.js +0 -94
- package/dist/campaign-C_Yq-ffV.js +0 -1810
- package/dist/campaign-CpzFl8Vr.js +0 -4
- package/dist/campaign.enum-Dsbpz7BO.js +0 -20
- package/dist/campaign.fn-C6vKb-lp.js +0 -758
- package/dist/collectible.enum-DNpj_oyC.js +0 -19
- package/dist/collection.fn-Cgo0sPL2.js +0 -26
- package/dist/dto-CaSQ4Pp9.js +0 -216
- package/dist/effect-DuH74x-N.js +0 -78
- package/dist/email-addresses-DXr-Qqt9.js +0 -705
- package/dist/export-tMPFlVV0.js +0 -97
- package/dist/feedme.ico +0 -0
- package/dist/helper-CJTseW10.js +0 -71
- package/dist/index-8RETBwYy.js +0 -8861
- package/dist/index-B57kxqv7.js +0 -3
- package/dist/index-BNUuy_4R.js +0 -44
- package/dist/index-BSJ-4JYy.js +0 -146
- package/dist/index-BTpBLMHl.js +0 -3070
- package/dist/index-C6Iyn1Q6.js +0 -54
- package/dist/index-CWI06v9e.js +0 -31
- package/dist/index-CdnKwJuz.js +0 -30076
- package/dist/index-Cr_9Bqa1.js +0 -121
- package/dist/index-CuvNtC_M.js +0 -61
- package/dist/index-DTyfvK3U.js +0 -2130
- package/dist/index-Dn0gJspN.js +0 -32269
- package/dist/index-IHKkNyxb.js +0 -38
- package/dist/index-J3TDCX-5.js +0 -76
- package/dist/index-V9kRRAB1.js +0 -32
- package/dist/index-vh86FiIQ.js +0 -10
- package/dist/index.esm2017-P2nmohVw.js +0 -3069
- package/dist/loading-D5ZAAdUU.js +0 -71
- package/dist/lodash-B5I3zXaY.js +0 -3678
- package/dist/membership-xl9aKOQ_.js +0 -235
- package/dist/moment-D7p2TMB-.js +0 -2583
- package/dist/money-CIHN3jJZ.js +0 -15
- package/dist/number-BN4-Jdog.js +0 -12
- package/dist/object-qECH92oz.js +0 -26
- package/dist/objectId-dwaoBfJX.js +0 -7
- package/dist/objectid-Dh6RD0Tk.js +0 -145
- package/dist/plugins-CJlgzIv2.js +0 -208
- package/dist/reward-C8mezXzs.js +0 -36
- package/dist/rule-9VRIJFHZ.js +0 -1951
- package/dist/rule-builder-CZUgrDAw.js +0 -102
- package/dist/style.css +0 -4
- package/dist/template-aPJnNGLi.js +0 -190
- package/dist/tier-BJDhpH6X.js +0 -4
- package/dist/tiers/tier=1.png +0 -0
- package/dist/tiers/tier=2.png +0 -0
- package/dist/tiers/tier=3.png +0 -0
- package/dist/tiers/tier=4.png +0 -0
- package/dist/timezone-CpvXaiqq.js +0 -1151
- package/dist/titles/type=diamond.png +0 -0
- package/dist/titles/type=drinks.png +0 -0
- package/dist/titles/type=food.png +0 -0
- package/dist/titles/type=heart.png +0 -0
- package/dist/titles/type=medal.png +0 -0
- package/dist/titles/type=spend.png +0 -0
- package/dist/titles/type=thank-you.png +0 -0
- package/dist/titles/type=thumbs-up.png +0 -0
- package/dist/titles/type=years.png +0 -0
- package/dist/trigger-BfrtcBd-.js +0 -144
- package/dist/tslib.es6-BCqqvLQ_.js +0 -44
- package/dist/type_drinks-D6jnpvwV.js +0 -4
- package/dist/usePagination-Ds-cuHop.js +0 -223
- package/dist/user-Bt1C0yV5.js +0 -54
- package/dist/vue-i18n-OdHHHpEE.js +0 -2365
- package/dist/xlsx-BgB0dYfE.js +0 -15491
- package/dist/zod-Bg2FbC-D.js +0 -90
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { defineComponent as N, ref as C, computed as L, watch as E, resolveComponent as g, openBlock as o, createElementBlock as i, Fragment as y, toDisplayString as I, createCommentVNode as A, createElementVNode as M, createVNode as v, unref as u, renderList as S, createBlock as b, isRef as U, withCtx as F } from "vue";
|
|
2
|
-
import { u as T } from "./business-gJ9fK_2b.js";
|
|
3
|
-
function j(l, s, n) {
|
|
4
|
-
return l.some(
|
|
5
|
-
n instanceof Function ? n : (a) => a === s
|
|
6
|
-
) || l.push(s), l;
|
|
7
|
-
}
|
|
8
|
-
function q(l, s, n) {
|
|
9
|
-
return l.filter(
|
|
10
|
-
n instanceof Function ? (a) => !n(a) : (a) => a !== s
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
const D = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "fm-typo-en-body-lg-400"
|
|
16
|
-
}, K = {
|
|
17
|
-
key: 1,
|
|
18
|
-
class: "space-y-4"
|
|
19
|
-
}, O = { key: 0 }, R = { key: 1 }, z = { key: 2 }, J = /* @__PURE__ */ N({
|
|
20
|
-
__name: "TargetLocationInput",
|
|
21
|
-
props: {
|
|
22
|
-
label: {
|
|
23
|
-
type: String
|
|
24
|
-
},
|
|
25
|
-
type: {
|
|
26
|
-
type: String,
|
|
27
|
-
default: "select"
|
|
28
|
-
},
|
|
29
|
-
modelValue: {
|
|
30
|
-
type: Object,
|
|
31
|
-
required: !0
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
emits: ["update:model-value"],
|
|
35
|
-
setup(l, { emit: s }) {
|
|
36
|
-
const n = T(), a = l, c = C(""), w = L(() => n.locations.filter(
|
|
37
|
-
(d) => {
|
|
38
|
-
var t;
|
|
39
|
-
return d.name.toLowerCase().includes(c.value.toLowerCase()) || ((t = d == null ? void 0 : d.code) == null ? void 0 : t.toLowerCase().includes(c.value.toLowerCase()));
|
|
40
|
-
}
|
|
41
|
-
)), p = s;
|
|
42
|
-
function k(d, t) {
|
|
43
|
-
const m = d ? j(a.modelValue || [], t.toString()) : q(
|
|
44
|
-
a.modelValue || n.locations.map((V) => V._id.toString()),
|
|
45
|
-
t.toString()
|
|
46
|
-
);
|
|
47
|
-
return p("update:model-value", m);
|
|
48
|
-
}
|
|
49
|
-
const r = C(!1), $ = L(() => {
|
|
50
|
-
var m, V;
|
|
51
|
-
const t = ((m = a.modelValue) == null ? void 0 : m.slice(0, 5).map((h) => {
|
|
52
|
-
var f;
|
|
53
|
-
return ((f = n.locationById(h)) == null ? void 0 : f.name) || h;
|
|
54
|
-
})) || [];
|
|
55
|
-
return a.modelValue && ((V = a.modelValue) == null ? void 0 : V.length) > 5 && t.push(`+${a.modelValue.length - 5} more`), t;
|
|
56
|
-
});
|
|
57
|
-
return E(r, (d) => {
|
|
58
|
-
d && (c.value = "");
|
|
59
|
-
}), (d, t) => {
|
|
60
|
-
const m = g("FmCheckbox"), V = g("FmChip"), h = g("FmField"), f = g("FmTextField"), B = g("FmMenu");
|
|
61
|
-
return o(), i(y, null, [
|
|
62
|
-
l.label ? (o(), i("div", D, I(l.label), 1)) : A("", !0),
|
|
63
|
-
l.type === "checkbox" ? (o(), i("div", K, [
|
|
64
|
-
M("div", null, [
|
|
65
|
-
v(m, {
|
|
66
|
-
value: null,
|
|
67
|
-
indeterminate: l.modelValue != null && l.modelValue.length > 0 && l.modelValue.length < u(n).locations.length,
|
|
68
|
-
label: "All locations",
|
|
69
|
-
"model-value": l.modelValue == null || l.modelValue.length === u(n).locations.length,
|
|
70
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => p("update:model-value", e ? null : []))
|
|
71
|
-
}, null, 8, ["indeterminate", "model-value"])
|
|
72
|
-
]),
|
|
73
|
-
(o(!0), i(y, null, S(u(n).locations, (e) => (o(), i("div", {
|
|
74
|
-
key: e._id.toString()
|
|
75
|
-
}, [
|
|
76
|
-
v(m, {
|
|
77
|
-
value: e._id.toString(),
|
|
78
|
-
label: `${e.code ? `${e.code} - ` : ""} ${e.name}`,
|
|
79
|
-
"model-value": !l.modelValue || l.modelValue.includes(e._id.toString()),
|
|
80
|
-
"onUpdate:modelValue": (x) => k(x, e._id.toString())
|
|
81
|
-
}, null, 8, ["value", "label", "model-value", "onUpdate:modelValue"])
|
|
82
|
-
]))), 128))
|
|
83
|
-
])) : (o(), b(B, {
|
|
84
|
-
key: 2,
|
|
85
|
-
modelValue: u(r),
|
|
86
|
-
"onUpdate:modelValue": t[3] || (t[3] = (e) => U(r) ? r.value = e : null),
|
|
87
|
-
onMenuChanged: t[4] || (t[4] = (e) => r.value = e),
|
|
88
|
-
placement: "top-end"
|
|
89
|
-
}, {
|
|
90
|
-
"menu-button": F(() => [
|
|
91
|
-
v(h, {
|
|
92
|
-
"append-icon": u(r) ? "expand_more" : "expand_less",
|
|
93
|
-
class: "!h-auto"
|
|
94
|
-
}, {
|
|
95
|
-
default: F(() => [
|
|
96
|
-
!l.modelValue || l.modelValue.length == u(n).locations.length ? (o(), i("div", O, " All Locations ")) : l.modelValue.length ? (o(), i("div", z, [
|
|
97
|
-
(o(!0), i(y, null, S(u($), (e) => (o(), b(V, {
|
|
98
|
-
key: e,
|
|
99
|
-
label: e,
|
|
100
|
-
class: "max-w-[130px] text-ellipsis"
|
|
101
|
-
}, null, 8, ["label"]))), 128))
|
|
102
|
-
])) : (o(), i("div", R, "No Locations"))
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
}, 8, ["append-icon"])
|
|
106
|
-
]),
|
|
107
|
-
default: F(() => [
|
|
108
|
-
v(f, {
|
|
109
|
-
modelValue: u(c),
|
|
110
|
-
"onUpdate:modelValue": t[1] || (t[1] = (e) => U(c) ? c.value = e : null),
|
|
111
|
-
placeholder: "Search locations",
|
|
112
|
-
class: "my-8"
|
|
113
|
-
}, null, 8, ["modelValue"]),
|
|
114
|
-
v(m, {
|
|
115
|
-
class: "my-8",
|
|
116
|
-
value: null,
|
|
117
|
-
indeterminate: l.modelValue != null && l.modelValue.length > 0 && l.modelValue.length < u(n).locations.length,
|
|
118
|
-
label: "All locations",
|
|
119
|
-
"model-value": l.modelValue == null || l.modelValue.length === u(n).locations.length,
|
|
120
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => p("update:model-value", e ? null : []))
|
|
121
|
-
}, null, 8, ["indeterminate", "model-value"]),
|
|
122
|
-
(o(!0), i(y, null, S(u(w), (e) => (o(), b(m, {
|
|
123
|
-
class: "my-8",
|
|
124
|
-
key: e._id.toString(),
|
|
125
|
-
value: e._id.toString(),
|
|
126
|
-
label: `${e.code ? `${e.code} - ` : ""} ${e.name}`,
|
|
127
|
-
"model-value": !l.modelValue || l.modelValue.includes(e._id.toString()),
|
|
128
|
-
"onUpdate:modelValue": (x) => k(x, e._id.toString())
|
|
129
|
-
}, null, 8, ["value", "label", "model-value", "onUpdate:modelValue"]))), 128))
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
}, 8, ["modelValue"]))
|
|
133
|
-
], 64);
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
export {
|
|
138
|
-
J as _
|
|
139
|
-
};
|