@feedmepos/mf-connect 0.1.86-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-NBYws-xJ.js → Analytic-DH7MUeMg.js} +11 -11
  2. package/dist/{App-B9uc4uAB.js → App-BvOPZUJF.js} +7 -7
  3. package/dist/{Bin-Dd-7uENK.js → Bin-CWAeC7oL.js} +8 -8
  4. package/dist/{Broadcast-C57geedD.js → Broadcast-Vpm-osZ1.js} +8 -8
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-kp9alY2C.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-v9vJnYoW.js} +7 -7
  6. package/dist/{Card-0JNty6vz.js → Card--1s6c8KY.js} +19 -19
  7. package/dist/{Collections-DEWu2bk5.js → Collections-CEP5FIKv.js} +8 -8
  8. package/dist/{Credit-B1HqzpDi.js → Credit-B6jG7J-g.js} +8 -8
  9. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-mmkn3juE.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CQebWG2S.js} +33 -33
  10. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DFbCf9em.js → EffectSheet.vue_vue_type_style_index_0_lang-I7kWbSCC.js} +6 -6
  11. package/dist/{Experience-BeXr3SDh.js → Experience-CbDjWVOA.js} +8 -8
  12. package/dist/{FileSaver.min-Dd3kdScu.js → FileSaver.min-BYIWYkDq.js} +1 -1
  13. package/dist/{Game-HM2JItCg.js → Game-IHq538Bo.js} +9 -9
  14. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Dd1o2By9.js → ImageInput.vue_vue_type_script_setup_true_lang-BcDVLOQ_.js} +1 -1
  15. package/dist/{Index-CvArBvmi.js → Index-D9n_K2ME.js} +10 -10
  16. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-bmE6aMf9.js → LottieAnimation.vue_vue_type_script_setup_true_lang-qsD4oq17.js} +1 -1
  17. package/dist/{MainLayout-BlcAKDUD.js → MainLayout-Bc70mjxN.js} +1 -1
  18. package/dist/{Marketing-CdKTCEpI.js → Marketing-CpKGEo3O.js} +6 -6
  19. package/dist/{Member-9amfN0s7.js → Member-hrhNxwha.js} +12 -12
  20. package/dist/{MemberList-5V8Xdu9g.js → MemberList-n8QLDF4q.js} +27 -27
  21. package/dist/{MemberTransactions-Ch3eSP7_.js → MemberTransactions-j9hVfdXy.js} +1 -1
  22. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-D2M6xz4y.js → MessageInput.vue_vue_type_script_setup_true_lang-BqZzvVzE.js} +9 -9
  23. package/dist/{Mission-lmqffCWr.js → Mission-C8RMYHS3.js} +9 -9
  24. package/dist/{Overview-CJRz8io0.js → Overview-BCV9GgGm.js} +19 -19
  25. package/dist/{Point-CnJ69ymH.js → Point-D0FZORv-.js} +8 -8
  26. package/dist/{Promotion-FLyLR9hV.js → Promotion-BTGNqPNj.js} +9 -9
  27. package/dist/{Queue-nZRf2HuR.js → Queue-C7GqeBJW.js} +11 -11
  28. package/dist/{Record-Cj-ppR2D.js → Record-BeBFQIEI.js} +9 -9
  29. package/dist/{Reward-EOCgH_D6.js → Reward-Kg5NPKOW.js} +16 -16
  30. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Bmm4Q5iv.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-Bit8pzO7.js → Segment-CedyZCDq.js} +25 -25
  33. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BrPoO5ew.js → SelectItems.vue_vue_type_script_setup_true_lang-DClugt2g.js} +2 -2
  34. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-BoYZSL1N.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CYLrSMH0.js} +13 -13
  35. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-AcbNYbsb.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-OyBbygXk.js → SettingAdvertisements-QtQravAS.js} +12 -12
  38. package/dist/{Store-C3u_SOcu.js → Store-Dg_Yt9y4.js} +289 -285
  39. package/dist/{StoreRewards-BMVKJb6e.js → StoreRewards-D2Yjoezr.js} +15 -15
  40. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Bzs1JqM4.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-DI25GNig.js → Tier-I0cBxFGl.js} +22 -22
  43. package/dist/{Title-DJS3Lro_.js → Title-DkOrhFzS.js} +21 -21
  44. package/dist/{Transaction-C8BbInlR.js → Transaction-DpkU2Z6k.js} +2 -2
  45. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-i0Rmd6-t.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DhriFqY7.js} +6 -6
  46. package/dist/{Voucher-CuNm_1Ys.js → Voucher-D3IusL1Y.js} +12 -12
  47. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-B1Xv8osE.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BjbJ9RtI.js} +12 -12
  48. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-2lAQ7itS.js → ZodTextField.vue_vue_type_script_setup_true_lang-CfDMVHu8.js} +2 -2
  49. package/dist/{app-CrlU8BQt.js → app-B4ceipxD.js} +373 -83
  50. package/dist/app.js +1 -1
  51. package/dist/{business-DSJ3vlHq.js → business--9g8v1Jk.js} +1 -1
  52. package/dist/{campaign-BkGl-Azc.js → campaign-CHNmre5g.js} +1 -1
  53. package/dist/{campaign-CD5LYcGE.js → campaign-DDyRrYaq.js} +8 -8
  54. package/dist/{campaign.enum-VymUXOzy.js → campaign.enum-B60QwrsD.js} +1 -1
  55. package/dist/{campaign.fn-BySZ29iI.js → campaign.fn-DkT_XzKV.js} +66 -66
  56. package/dist/{collectible.enum-CaoiTdBM.js → collectible.enum-CXihiAPI.js} +1 -1
  57. package/dist/{collection.fn-CdOHMaS5.js → collection.fn-135DMEWY.js} +2 -2
  58. package/dist/{dto-DXSxijtu.js → dto-CFddY1Mk.js} +4 -4
  59. package/dist/{effect-CQg8wIhY.js → effect-CAbTi9gd.js} +1 -1
  60. package/dist/{email-addresses-D1vS-M__.js → email-addresses-DabtIvSg.js} +2 -2
  61. package/dist/{export-CPwQDq5v.js → export-Cnb1qaSr.js} +3 -3
  62. package/dist/{helper-Ddi9Ypo8.js → helper-TmvjXMkn.js} +1 -1
  63. package/dist/{index-DoE5X--7.js → index-BB3m_Vvq.js} +2 -2
  64. package/dist/{index-CvQcsgQS.js → index-BOZq4xp0.js} +3 -3
  65. package/dist/{index-CBNZMw5T.js → index-C71oKRli.js} +1 -1
  66. package/dist/{index-LtGRDAPs.js → index-CGZ7y8Nw.js} +1 -1
  67. package/dist/{index-Dw_aPOsa.js → index-CLvNN2TN.js} +6 -6
  68. package/dist/{index-Cssv_Y-f.js → index-CR6n1KJO.js} +4 -4
  69. package/dist/{index-EvaDAbW_.js → index-D83ZCuxk.js} +1 -1
  70. package/dist/{index-NlM6a88a.js → index-DE6QO1GD.js} +1 -1
  71. package/dist/{index-C74X6b5n.js → index-DRSol6ON.js} +1 -1
  72. package/dist/{index-BCtUj5K0.js → index-DYfvKVuf.js} +1 -1
  73. package/dist/{index-DuufBhXS.js → index-DhzPWYCm.js} +1 -1
  74. package/dist/{index-e2Rb4HHN.js → index-DvfZn-AO.js} +3 -3
  75. package/dist/{index-CIG3I6UQ.js → index-H-ZlVzI4.js} +3 -3
  76. package/dist/{index.esm2017-qspgWl2R.js → index.esm2017-DFzo1fgU.js} +1 -1
  77. package/dist/{loading-BiX4mF7V.js → loading-Bxz_czvo.js} +1 -1
  78. package/dist/{lodash-BiybCWQB.js → lodash-BxKnmCIx.js} +1 -1
  79. package/dist/{membership-Dnkc7J8U.js → membership-8JAQtDJg.js} +3 -3
  80. package/dist/{money-BKxUbqL2.js → money-Diy9s426.js} +1 -1
  81. package/dist/{number-s7gy0q08.js → number-X7dL-fLQ.js} +1 -1
  82. package/dist/{objectid-B7dlIhZI.js → objectid-YtPYacEi.js} +2 -2
  83. package/dist/{plugins-_4R196pf.js → plugins-BZVsan_J.js} +3 -3
  84. package/dist/{reward-D624Kic_.js → reward-DBMDUfD_.js} +1 -1
  85. package/dist/{rule-u0unBmVJ.js → rule-D7c4bEcg.js} +3 -3
  86. package/dist/{rule-builder-BC_A9GsJ.js → rule-builder-CsB4hJee.js} +1 -1
  87. package/dist/{template-B-WEfANP.js → template-B1BsXMbV.js} +7 -7
  88. package/dist/{timezone-DWWhMtv-.js → timezone-3lPXoGaK.js} +2 -2
  89. package/dist/{trigger-VG08oklM.js → trigger-CCc-xwrQ.js} +5 -5
  90. package/dist/{usePagination-U8tHccOt.js → usePagination-RN_u8hW4.js} +1 -1
  91. package/dist/{user-B5TU4FOd.js → user-DPbEx8dH.js} +1 -1
  92. package/dist/{vue-i18n-CfjKmwVs.js → vue-i18n-DpB0kfM3.js} +109 -109
  93. package/dist/{xlsx-Cxfclh15.js → xlsx-CmTsMcSJ.js} +1 -1
  94. package/dist/{zod-D4HcRDps.js → zod-DvaskSX-.js} +1 -1
  95. package/package.json +1 -1
  96. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Dh6mmPWI.js +0 -1767
  97. package/dist/Setting-CWWXCdg7.js +0 -1982
  98. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-BF75L_C-.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-DSJ3vlHq.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
- };