@feedmepos/mf-connect 0.1.96-prod → 0.1.98-beta.1

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 (120) hide show
  1. package/dist/{App-NtFnJR3D.js → App-EPNXLOQz.js} +118 -106
  2. package/dist/AuditLogs-CadZXkap.js +2013 -0
  3. package/dist/{Bin-DvJgE8J0.js → Bin-CEWFX1MK.js} +8 -8
  4. package/dist/{Broadcast-BygITJjC.js → Broadcast-DC8W46mc.js} +18 -17
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BVuhePfe.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DsojUEnT.js} +5 -6
  6. package/dist/{Card-BY8qbjNS.js → Card-BLFHOVL5.js} +19 -19
  7. package/dist/{Collections-CXZxfQmy.js → Collections-CVQV9gAI.js} +197 -185
  8. package/dist/{Credit-Dj4gJd18.js → Credit-Bvd1uiUU.js} +18 -17
  9. package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js +58 -0
  10. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DMHQ36PW.js +3377 -0
  11. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-IH5P2GQ4.js → EffectSheet.vue_vue_type_style_index_0_lang-L8fftBYg.js} +105 -101
  12. package/dist/{Experience-CKLT-XKN.js → Experience-bKhm3DP2.js} +35 -34
  13. package/dist/{FileSaver.min-CqZKU_4D.js → FileSaver.min-CgnAdnBE.js} +1 -1
  14. package/dist/{Game-CMXXSxs7.js → Game-BTZ5Ftp5.js} +16 -15
  15. package/dist/Grab-DMuSoVGl.js +300 -0
  16. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-B4u8lwM_.js → ImageInput.vue_vue_type_script_setup_true_lang-hMmCNoZI.js} +1 -1
  17. package/dist/{Index-CFGAKZTu.js → Index-BNh-_EZa.js} +10 -10
  18. package/dist/LocationPicker.vue_vue_type_script_setup_true_lang-COoygUYu.js +48 -0
  19. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-UfQtiVK3.js → LottieAnimation.vue_vue_type_script_setup_true_lang-D0wKkrBj.js} +1 -1
  20. package/dist/LoyaltyDashboard-Do06Mjzo.js +1082 -0
  21. package/dist/{MainLayout-UCAW-wwn.js → MainLayout-C_Zu8e2b.js} +1 -1
  22. package/dist/{Marketing-HU2MkAbE.js → Marketing-DHTow_lX.js} +4 -4
  23. package/dist/{MarketingMaterialEdit-CS7hzmeA.js → MarketingMaterialEdit-BZqVEaXl.js} +214 -211
  24. package/dist/{Member-BG1gvC8G.js → Member-DNQICbO9.js} +20 -20
  25. package/dist/{MemberList-C7l5YNJF.js → MemberList-B5f-zT_3.js} +50 -51
  26. package/dist/{MemberTransactions-RQD9xfSN.js → MemberTransactions-BmmgHC1I.js} +1 -1
  27. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CcTrvGEk.js → MessageInput.vue_vue_type_script_setup_true_lang-DhlFz8So.js} +11 -11
  28. package/dist/{Mission-B2ynmUaz.js → Mission-CyUldhj4.js} +35 -34
  29. package/dist/{Overview-DI1MMGCM.js → Overview-If_YcRY8.js} +19 -19
  30. package/dist/{Point-DkLfnk6D.js → Point-DXgR4D2b.js} +30 -29
  31. package/dist/{Promotion-BDsMtw76.js → Promotion-8KrS5PGT.js} +111 -105
  32. package/dist/{Queue-Bu5PffRS.js → Queue-ypegp0sQ.js} +43 -43
  33. package/dist/{Record-C9zk5pr8.js → Record-C1eVdBIL.js} +10 -10
  34. package/dist/Review-fsYAsdHU.js +871 -0
  35. package/dist/ReviewFacebookCallback-zNKnoxr_.js +243 -0
  36. package/dist/ReviewGoogleCallback-CpCT0ZYL.js +213 -0
  37. package/dist/{Reward-DLyMbKCK.js → Reward-B_k-VLJn.js} +17 -17
  38. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-XWcV6P7K.js → RewardGroup.vue_vue_type_script_setup_true_lang-BUl5B7lH.js} +12 -12
  39. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-D93zAujE.js +1911 -0
  40. package/dist/{Segment-CkvTGYMI.js → Segment-PJLbJ6YE.js} +77 -78
  41. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-CmoGA4QY.js → SelectItems.vue_vue_type_script_setup_true_lang-BLwf6QCO.js} +21 -21
  42. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-D0fupqWp.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-VoddUHxA.js} +12 -12
  43. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CdPBhSHS.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DOXfYdxf.js} +4 -4
  44. package/dist/{Setting-3aaebMiz.js → Setting-DItVUJHA.js} +259 -248
  45. package/dist/{SettingAdvertisements-B1rlNyFd.js → SettingAdvertisements-Bfvr60OW.js} +13 -13
  46. package/dist/{Store-7BnWIZ7G.js → Store-hyTJyNWv.js} +24 -24
  47. package/dist/{StoreRewards-CjcrPRwJ.js → StoreRewards-B7c20AF5.js} +16 -16
  48. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Bl438tVa.js +1130 -0
  49. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DBb3Zfuz.js +7007 -0
  50. package/dist/{Tier-BJpbCCsL.js → Tier-CuulnY8J.js} +544 -469
  51. package/dist/{Title-CqpbvePy.js → Title-Bf9ZiFGW.js} +93 -92
  52. package/dist/{Transaction-B8gpL3cS.js → Transaction-reVAaf86.js} +2 -2
  53. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-DDoia_qu.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BZP9jfwG.js} +6 -6
  54. package/dist/{Voucher-DQ6i1GyQ.js → Voucher-E8R2cCl-.js} +28 -27
  55. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BudfxMvl.js → VoucherEditor.vue_vue_type_script_setup_true_lang-1mclPYkp.js} +12 -12
  56. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B43ehs2w.js → ZodTextField.vue_vue_type_script_setup_true_lang-xP5smS4G.js} +2 -2
  57. package/dist/{app-Cdi9yyaa.js → app-BdRRCAGj.js} +47089 -32960
  58. package/dist/app.js +4 -3
  59. package/dist/{business-BPhMhPp8.js → business-caUtvXxX.js} +1 -1
  60. package/dist/{campaign-DHqBhgh5.js → campaign-CDFEhdIH.js} +13 -7
  61. package/dist/{campaign-DLWpOBzd.js → campaign-CPtzFxiR.js} +114 -64
  62. package/dist/campaign.enum-p1buII_I.js +26 -0
  63. package/dist/campaign.fn-DerIK7yj.js +776 -0
  64. package/dist/{collectible.enum-EoZwnXkR.js → collectible.enum-CJ30_XmW.js} +1 -1
  65. package/dist/duplicateCampaign-DLfhHm07.js +51 -0
  66. package/dist/effect-BJC34M9S.js +89 -0
  67. package/dist/{email-addresses-CuhtzvMR.js → email-addresses-D1aYCi0p.js} +2 -2
  68. package/dist/{export-D2wb3Zzg.js → export-ChFEuUc5.js} +3 -3
  69. package/dist/{helper-B80tn5O6.js → helper-BNWd3eM2.js} +1 -1
  70. package/dist/{timezone-BIzl2Gac.js → index-0SZADZbB.js} +21 -20
  71. package/dist/{index-B85ryzLj.js → index-6ZSFSZ-H.js} +769 -205
  72. package/dist/index-B4dazSVT.js +48 -0
  73. package/dist/{index-C7XyuCH8.js → index-B9xvXnEM.js} +3 -3
  74. package/dist/{index-Dg-VScjz.js → index-BWQK3rqq.js} +3 -3
  75. package/dist/{index-D1_JoBc_.js → index-BoeHTTcl.js} +1 -1
  76. package/dist/{index-CCfDzgJb.js → index-Br17eSOV.js} +1 -1
  77. package/dist/{index-HzTI8A55.js → index-CAVSuo6k.js} +1996 -1968
  78. package/dist/{index-B0S0BGjb.js → index-CIin0Pv0.js} +1 -1
  79. package/dist/{index-BVXwb1vw.js → index-CeSEAz_T.js} +1 -1
  80. package/dist/{index-DDLHaeVd.js → index-DNsYSxpY.js} +1539 -1267
  81. package/dist/index-Dcn4qaYt.js +67 -0
  82. package/dist/{index-DA5sHUgD.js → index-Do2cnzep.js} +1 -1
  83. package/dist/{index-v9zPLkiJ.js → index-Dp3CLZSg.js} +7 -7
  84. package/dist/{index.esm2017-CfogVJWR.js → index.esm2017-CYGo-PcK.js} +173 -173
  85. package/dist/{loading-_HLw0JNH.js → loading-DtPQnEA5.js} +1 -1
  86. package/dist/{lodash-7LLl_N0k.js → lodash-BvTKz5Pn.js} +1 -1
  87. package/dist/{membership-Dl34LatD.js → membership-Csnvqeql.js} +3 -3
  88. package/dist/{money-Ca4jlK9c.js → money-CwRxILG1.js} +1 -1
  89. package/dist/{number-CWjqupZw.js → number-qcECHCpu.js} +1 -1
  90. package/dist/object-BYyQ0PZp.js +18 -0
  91. package/dist/objectid-BKWyHH4F.js +145 -0
  92. package/dist/{plugins-uNooTC4W.js → plugins-BBpKk0ld.js} +94 -95
  93. package/dist/{reward-BRIYprM8.js → reward-CX1axU5-.js} +1 -1
  94. package/dist/{rule-CkUScWS-.js → rule-pKsATz8r.js} +505 -487
  95. package/dist/style.css +1 -1
  96. package/dist/template-BSuapoPb.js +188 -0
  97. package/dist/{trigger-Dd92AYz3.js → trigger-DnMktlx-.js} +5 -5
  98. package/dist/{useMarketingMaterialActions-DlEYiRxQ.js → useMarketingMaterialActions-Bu0-ny3z.js} +3 -3
  99. package/dist/{usePagination--trERWY4.js → usePagination-CzfJhepV.js} +1 -1
  100. package/dist/{user-CI-tPhnX.js → user-BLDWqYm_.js} +1 -1
  101. package/dist/vue-i18n-bssxjuw_.js +2365 -0
  102. package/dist/{xlsx-BtsmiXIl.js → xlsx-xNwsJDub.js} +1 -1
  103. package/dist/{zod-Cq4jls5y.js → zod-Cu18aMVT.js} +1 -1
  104. package/package.json +8 -4
  105. package/dist/Analytic-l10g_BkW.js +0 -426
  106. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Djcv8RCR.js +0 -2223
  107. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BW2MrhuC.js +0 -1888
  108. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-C3mmS25r.js +0 -1118
  109. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-TVsbx26f.js +0 -142
  110. package/dist/campaign.enum-C7BourYN.js +0 -20
  111. package/dist/campaign.fn-PjAM2LtF.js +0 -776
  112. package/dist/collection.fn-Ds616d3q.js +0 -26
  113. package/dist/dto-5fg5RWhP.js +0 -216
  114. package/dist/effect-BJva6Fjl.js +0 -78
  115. package/dist/index-CmGQazKB.js +0 -55
  116. package/dist/object-qECH92oz.js +0 -26
  117. package/dist/objectid-BGNEnJDn.js +0 -145
  118. package/dist/rule-builder-Ds-h-MuV.js +0 -102
  119. package/dist/template-0zuNVS82.js +0 -236
  120. package/dist/vue-i18n-BIM-SckA.js +0 -2365
@@ -1,142 +0,0 @@
1
- import { defineComponent as N, ref as U, computed as w, watch as M, resolveComponent as v, openBlock as a, createElementBlock as i, Fragment as p, toDisplayString as F, createCommentVNode as T, createElementVNode as j, createVNode as h, unref as n, renderList as S, createBlock as k, isRef as $, withCtx as C } from "vue";
2
- import { u as q } from "./business-BPhMhPp8.js";
3
- import { u as D } from "./vue-i18n-BIM-SckA.js";
4
- function K(l, s, o) {
5
- return l.some(
6
- o instanceof Function ? o : (u) => u === s
7
- ) || l.push(s), l;
8
- }
9
- function O(l, s, o) {
10
- return l.filter(
11
- o instanceof Function ? (u) => !o(u) : (u) => u !== s
12
- );
13
- }
14
- const R = {
15
- key: 0,
16
- class: "fm-typo-en-body-lg-400"
17
- }, z = {
18
- key: 1,
19
- class: "space-y-4"
20
- }, A = { key: 0 }, G = { key: 1 }, H = { key: 2 }, W = /* @__PURE__ */ N({
21
- __name: "TargetLocationInput",
22
- props: {
23
- label: {
24
- type: String
25
- },
26
- type: {
27
- type: String,
28
- default: "select"
29
- },
30
- modelValue: {
31
- type: Object,
32
- required: !0
33
- }
34
- },
35
- emits: ["update:model-value"],
36
- setup(l, { emit: s }) {
37
- const o = q(), { t: u } = D(), c = l, r = U(""), B = w(() => o.locations.filter(
38
- (d) => {
39
- var t;
40
- return d.name.toLowerCase().includes(r.value.toLowerCase()) || ((t = d == null ? void 0 : d.code) == null ? void 0 : t.toLowerCase().includes(r.value.toLowerCase()));
41
- }
42
- )), b = s;
43
- function L(d, t) {
44
- const m = d ? K(c.modelValue || [], t.toString()) : O(
45
- c.modelValue || o.locations.map((g) => g._id.toString()),
46
- t.toString()
47
- );
48
- return b("update:model-value", m);
49
- }
50
- const V = U(!1), I = w(() => {
51
- var m, g;
52
- const t = ((m = c.modelValue) == null ? void 0 : m.slice(0, 5).map((f) => {
53
- var y;
54
- return ((y = o.locationById(f)) == null ? void 0 : y.name) || f;
55
- })) || [];
56
- return c.modelValue && ((g = c.modelValue) == null ? void 0 : g.length) > 5 && t.push(`+${c.modelValue.length - 5} more`), t;
57
- });
58
- return M(V, (d) => {
59
- d && (r.value = "");
60
- }), (d, t) => {
61
- const m = v("FmCheckbox"), g = v("FmChip"), f = v("FmField"), y = v("FmTextField"), E = v("FmMenu");
62
- return a(), i(p, null, [
63
- l.label ? (a(), i("div", R, F(l.label), 1)) : T("", !0),
64
- l.type === "checkbox" ? (a(), i("div", z, [
65
- j("div", null, [
66
- h(m, {
67
- value: null,
68
- indeterminate: l.modelValue != null && l.modelValue.length > 0 && l.modelValue.length < n(o).locations.length,
69
- label: n(u)("connect.setting.location.allLocations"),
70
- "model-value": l.modelValue == null || l.modelValue.length === n(o).locations.length,
71
- "onUpdate:modelValue": t[0] || (t[0] = (e) => b("update:model-value", e ? null : []))
72
- }, null, 8, ["indeterminate", "label", "model-value"])
73
- ]),
74
- (a(!0), i(p, null, S(n(o).locations, (e) => (a(), i("div", {
75
- key: e._id.toString()
76
- }, [
77
- h(m, {
78
- value: e._id.toString(),
79
- label: `${e.code ? `${e.code} - ` : ""} ${e.name}`,
80
- "model-value": !l.modelValue || l.modelValue.includes(e._id.toString()),
81
- "onUpdate:modelValue": (x) => L(x, e._id.toString())
82
- }, null, 8, ["value", "label", "model-value", "onUpdate:modelValue"])
83
- ]))), 128))
84
- ])) : (a(), k(E, {
85
- key: 2,
86
- modelValue: n(V),
87
- "onUpdate:modelValue": t[3] || (t[3] = (e) => $(V) ? V.value = e : null),
88
- onMenuChanged: t[4] || (t[4] = (e) => V.value = e),
89
- placement: "top-end"
90
- }, {
91
- "menu-button": C(() => [
92
- h(f, {
93
- "append-icon": n(V) ? "expand_more" : "expand_less",
94
- class: "!h-auto"
95
- }, {
96
- default: C(() => [
97
- !l.modelValue || l.modelValue.length == n(o).locations.length ? (a(), i("div", A, F(n(u)("connect.setting.location.allLocations")), 1)) : l.modelValue.length ? (a(), i("div", H, [
98
- (a(!0), i(p, null, S(n(I), (e) => (a(), k(g, {
99
- key: e,
100
- label: e,
101
- class: "max-w-[130px] text-ellipsis"
102
- }, null, 8, ["label"]))), 128))
103
- ])) : (a(), i("div", G, F(n(u)("connect.setting.location.noLocations")), 1))
104
- ]),
105
- _: 1
106
- }, 8, ["append-icon"])
107
- ]),
108
- default: C(() => [
109
- h(y, {
110
- modelValue: n(r),
111
- "onUpdate:modelValue": t[1] || (t[1] = (e) => $(r) ? r.value = e : null),
112
- placeholder: n(u)("connect.setting.location.searchLocations"),
113
- class: "my-8"
114
- }, null, 8, ["modelValue", "placeholder"]),
115
- h(m, {
116
- class: "my-8",
117
- value: null,
118
- indeterminate: l.modelValue != null && l.modelValue.length > 0 && l.modelValue.length < n(o).locations.length,
119
- label: n(u)("connect.setting.location.allLocations"),
120
- "model-value": l.modelValue == null || l.modelValue.length === n(o).locations.length,
121
- "onUpdate:modelValue": t[2] || (t[2] = (e) => b("update:model-value", e ? null : []))
122
- }, null, 8, ["indeterminate", "label", "model-value"]),
123
- (a(!0), i(p, null, S(n(B), (e) => (a(), k(m, {
124
- class: "my-8",
125
- key: e._id.toString(),
126
- value: e._id.toString(),
127
- label: `${e.code ? `${e.code} - ` : ""} ${e.name}`,
128
- "model-value": !l.modelValue || l.modelValue.includes(e._id.toString()),
129
- "onUpdate:modelValue": (x) => L(x, e._id.toString())
130
- }, null, 8, ["value", "label", "model-value", "onUpdate:modelValue"]))), 128))
131
- ]),
132
- _: 1
133
- }, 8, ["modelValue"]))
134
- ], 64);
135
- };
136
- }
137
- });
138
- export {
139
- W as _,
140
- K as p,
141
- O as r
142
- };
@@ -1,20 +0,0 @@
1
- import { z as E } from "./index-Dg-VScjz.js";
2
- const I = E.enum([
3
- "VOUCHER",
4
- "PROMOTION",
5
- "POINT",
6
- "CREDIT",
7
- "MEMBERSHIP",
8
- "BROADCAST",
9
- "COIN",
10
- "REWARD_POOL",
11
- "GAME",
12
- "MISSION"
13
- ]), O = E.enum(["TIME_BASED_PROMOTION", "GAME_PROMOTION"]), R = {
14
- [O.enum.TIME_BASED_PROMOTION]: "7.7.4",
15
- [O.enum.GAME_PROMOTION]: "7.7.4"
16
- };
17
- export {
18
- I as F,
19
- R as f
20
- };