@feedmepos/mf-connect 0.1.87-prod → 0.1.88-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.
Files changed (98) hide show
  1. package/dist/{Analytic-B9s-dPCT.js → Analytic-DH7MUeMg.js} +11 -11
  2. package/dist/{App-Bu9NaLJ4.js → App-BvOPZUJF.js} +7 -7
  3. package/dist/{Bin-BUUuvk8j.js → Bin-CWAeC7oL.js} +8 -8
  4. package/dist/{Broadcast-VvFRuN2K.js → Broadcast-Vpm-osZ1.js} +8 -8
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CgA2btmM.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-v9vJnYoW.js} +7 -7
  6. package/dist/{Card--OD7WD_W.js → Card--1s6c8KY.js} +19 -19
  7. package/dist/{Collections-DemrIeUs.js → Collections-CEP5FIKv.js} +8 -8
  8. package/dist/{Credit-PFNGAhPj.js → Credit-B6jG7J-g.js} +8 -8
  9. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DyuJDS7x.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CQebWG2S.js} +33 -33
  10. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BLjGHozS.js → EffectSheet.vue_vue_type_style_index_0_lang-I7kWbSCC.js} +6 -6
  11. package/dist/{Experience-BCVsnWYw.js → Experience-CbDjWVOA.js} +8 -8
  12. package/dist/{FileSaver.min-BMBGjHQ2.js → FileSaver.min-BYIWYkDq.js} +1 -1
  13. package/dist/{Game-B3Gxv2v-.js → Game-IHq538Bo.js} +9 -9
  14. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-CyMgFI2D.js → ImageInput.vue_vue_type_script_setup_true_lang-BcDVLOQ_.js} +1 -1
  15. package/dist/{Index-R4XrhBHJ.js → Index-D9n_K2ME.js} +10 -10
  16. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-DjpZnU4y.js → LottieAnimation.vue_vue_type_script_setup_true_lang-qsD4oq17.js} +1 -1
  17. package/dist/{MainLayout-Cd8eCkPV.js → MainLayout-Bc70mjxN.js} +1 -1
  18. package/dist/{Marketing-BzBEJgtQ.js → Marketing-CpKGEo3O.js} +6 -6
  19. package/dist/{Member-CTFEe38e.js → Member-hrhNxwha.js} +12 -12
  20. package/dist/{MemberList-oL4hRjbk.js → MemberList-n8QLDF4q.js} +27 -27
  21. package/dist/{MemberTransactions-CUzzrl_F.js → MemberTransactions-j9hVfdXy.js} +1 -1
  22. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-D3X7vfMo.js → MessageInput.vue_vue_type_script_setup_true_lang-BqZzvVzE.js} +9 -9
  23. package/dist/{Mission-C93sLLDp.js → Mission-C8RMYHS3.js} +9 -9
  24. package/dist/{Overview-CANS2hu-.js → Overview-BCV9GgGm.js} +19 -19
  25. package/dist/{Point-D3Qk09Kr.js → Point-D0FZORv-.js} +8 -8
  26. package/dist/{Promotion-Dtd_dDh4.js → Promotion-BTGNqPNj.js} +9 -9
  27. package/dist/{Queue-bAOANEOe.js → Queue-C7GqeBJW.js} +11 -11
  28. package/dist/{Record-7Nsigxg9.js → Record-BeBFQIEI.js} +9 -9
  29. package/dist/{Reward-BCCSo5Ao.js → Reward-Kg5NPKOW.js} +16 -16
  30. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-sVQ2XtOZ.js → RewardGroup.vue_vue_type_script_setup_true_lang-CM10gZbi.js} +12 -12
  31. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-I6R4IoFi.js +1889 -0
  32. package/dist/{Segment-BTtsXpEm.js → Segment-CedyZCDq.js} +25 -25
  33. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-Etmkc-3s.js → SelectItems.vue_vue_type_script_setup_true_lang-DClugt2g.js} +2 -2
  34. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-Dc2_TQiF.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CYLrSMH0.js} +13 -13
  35. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DPDq-Juz.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-D6zlvgMa.js} +49 -48
  36. package/dist/Setting-CkieobUB.js +1989 -0
  37. package/dist/{SettingAdvertisements-D9Lhamel.js → SettingAdvertisements-QtQravAS.js} +12 -12
  38. package/dist/{Store-VZ8appMT.js → Store-Dg_Yt9y4.js} +289 -285
  39. package/dist/{StoreRewards-egMoq16P.js → StoreRewards-D2Yjoezr.js} +15 -15
  40. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Bh33_foI.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CLaGyjd9.js} +20 -20
  41. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DoAu3ED_.js +140 -0
  42. package/dist/{Tier-IQfhLdUW.js → Tier-I0cBxFGl.js} +22 -22
  43. package/dist/{Title-DAhwskG_.js → Title-DkOrhFzS.js} +21 -21
  44. package/dist/{Transaction-DoYHMx8C.js → Transaction-DpkU2Z6k.js} +2 -2
  45. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-B6SAfZCS.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DhriFqY7.js} +6 -6
  46. package/dist/{Voucher-CjUzxTj9.js → Voucher-D3IusL1Y.js} +12 -12
  47. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DjwuuQOy.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BjbJ9RtI.js} +12 -12
  48. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-905euk7D.js → ZodTextField.vue_vue_type_script_setup_true_lang-CfDMVHu8.js} +2 -2
  49. package/dist/{app-BQKaKSTN.js → app-B4ceipxD.js} +368 -83
  50. package/dist/app.js +1 -1
  51. package/dist/{business-D-Y0xqsG.js → business--9g8v1Jk.js} +1 -1
  52. package/dist/{campaign-BO_GMK22.js → campaign-CHNmre5g.js} +1 -1
  53. package/dist/{campaign-C4FU4mF-.js → campaign-DDyRrYaq.js} +8 -8
  54. package/dist/{campaign.enum-ME5t80SA.js → campaign.enum-B60QwrsD.js} +1 -1
  55. package/dist/{campaign.fn-CpSdTR_Z.js → campaign.fn-DkT_XzKV.js} +114 -114
  56. package/dist/{collectible.enum-BJNC4deW.js → collectible.enum-CXihiAPI.js} +1 -1
  57. package/dist/{collection.fn-BclOhIak.js → collection.fn-135DMEWY.js} +2 -2
  58. package/dist/{dto-CeKAIN4F.js → dto-CFddY1Mk.js} +4 -4
  59. package/dist/{effect-C5coTG7j.js → effect-CAbTi9gd.js} +1 -1
  60. package/dist/{email-addresses-DdpDo4U3.js → email-addresses-DabtIvSg.js} +2 -2
  61. package/dist/{export-Cd7RMmWF.js → export-Cnb1qaSr.js} +3 -3
  62. package/dist/{helper-8QHPhfxd.js → helper-TmvjXMkn.js} +1 -1
  63. package/dist/{index-D8LAuyy5.js → index-BB3m_Vvq.js} +2 -2
  64. package/dist/{index-Csxi8Zcu.js → index-BOZq4xp0.js} +3 -3
  65. package/dist/{index-CdgAq0Pz.js → index-C71oKRli.js} +1 -1
  66. package/dist/{index-Ch_6nXW4.js → index-CGZ7y8Nw.js} +1 -1
  67. package/dist/{index-BJne3mAB.js → index-CLvNN2TN.js} +6 -6
  68. package/dist/{index-CAP90xO7.js → index-CR6n1KJO.js} +4 -4
  69. package/dist/{index-D_b2gjAX.js → index-D83ZCuxk.js} +1 -1
  70. package/dist/{index-B2UGAU9v.js → index-DE6QO1GD.js} +1 -1
  71. package/dist/{index-M5KI7NIT.js → index-DRSol6ON.js} +1 -1
  72. package/dist/{index-DlwlvbrO.js → index-DYfvKVuf.js} +1 -1
  73. package/dist/{index-BJuTIPNg.js → index-DhzPWYCm.js} +1 -1
  74. package/dist/{index-Rb7s8Lqk.js → index-DvfZn-AO.js} +3 -3
  75. package/dist/{index-e5r6FpSJ.js → index-H-ZlVzI4.js} +3 -3
  76. package/dist/{index.esm2017-D6CILdWW.js → index.esm2017-DFzo1fgU.js} +1 -1
  77. package/dist/{loading-tl9p27VA.js → loading-Bxz_czvo.js} +1 -1
  78. package/dist/{lodash-fxLQlj7m.js → lodash-BxKnmCIx.js} +1 -1
  79. package/dist/{membership-CBpNdC9y.js → membership-8JAQtDJg.js} +3 -3
  80. package/dist/{money-CNRljtC1.js → money-Diy9s426.js} +1 -1
  81. package/dist/{number-DmTfN_5Y.js → number-X7dL-fLQ.js} +1 -1
  82. package/dist/{objectid-BuanIDxD.js → objectid-YtPYacEi.js} +6 -6
  83. package/dist/{plugins-DvsCeess.js → plugins-BZVsan_J.js} +3 -3
  84. package/dist/{reward-CW22wI3L.js → reward-DBMDUfD_.js} +1 -1
  85. package/dist/{rule-C_3XR2Zd.js → rule-D7c4bEcg.js} +3 -3
  86. package/dist/{rule-builder-DrwCpDKV.js → rule-builder-CsB4hJee.js} +1 -1
  87. package/dist/{template-CBaQ8LLp.js → template-B1BsXMbV.js} +7 -7
  88. package/dist/{timezone-DSEM5B5J.js → timezone-3lPXoGaK.js} +2 -2
  89. package/dist/{trigger-3QCLi7tq.js → trigger-CCc-xwrQ.js} +5 -5
  90. package/dist/{usePagination-CZ7RnfzE.js → usePagination-RN_u8hW4.js} +1 -1
  91. package/dist/{user-CY_UexCt.js → user-DPbEx8dH.js} +1 -1
  92. package/dist/{vue-i18n-DGcpLn5c.js → vue-i18n-DpB0kfM3.js} +2 -2
  93. package/dist/{xlsx-rSwsIehi.js → xlsx-CmTsMcSJ.js} +1 -1
  94. package/dist/{zod-BD5VYWIO.js → zod-DvaskSX-.js} +1 -1
  95. package/package.json +1 -1
  96. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-C2ZrTL5p.js +0 -1767
  97. package/dist/Setting-D5YbEHxm.js +0 -1982
  98. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-qWbACUbe.js +0 -139
@@ -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-D-Y0xqsG.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
- };