@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.
Files changed (119) hide show
  1. package/dist/Analytic-u9mtlxSv.js +427 -0
  2. package/dist/{App-C2616cfr.js → App-BwTQE7Ft.js} +445 -420
  3. package/dist/AuditLogs-BVMRclSw.js +1886 -0
  4. package/dist/Bin-Cca-XOkz.js +166 -0
  5. package/dist/{Broadcast-CqSwLTAq.js → Broadcast-DRQgpwdP.js} +56 -54
  6. 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
  7. package/dist/Card-CnbB_u31.js +896 -0
  8. package/dist/Collections-BjlfOSC3.js +459 -0
  9. package/dist/{Credit-CPcLgnsq.js → Credit-BoElrcx9.js} +36 -34
  10. package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +108 -0
  11. package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js +58 -0
  12. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-B3WVwem6.js +2181 -0
  13. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-D2buK6Dj.js → EffectSheet.vue_vue_type_style_index_0_lang-CGfpziKs.js} +18 -18
  14. package/dist/{Experience-BoBikt-x.js → Experience-SdGBf4vU.js} +32 -30
  15. package/dist/FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js +118 -0
  16. package/dist/{Game-DR8PyYZa.js → Game-ChLHibpB.js} +39 -37
  17. package/dist/Index-D7Kq6uyf.js +259 -0
  18. package/dist/Marketing-BDajIqR_.js +20071 -0
  19. package/dist/Member-BPZryqWL.js +317 -0
  20. package/dist/MemberList-C52Dop8Z.js +1598 -0
  21. package/dist/MemberTransactions-DHU78kgS.js +45 -0
  22. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DhtIZCjT.js → MessageInput.vue_vue_type_script_setup_true_lang-js1F2E4N.js} +83 -71
  23. package/dist/{Mission-CMpvz9zN.js → Mission-BQR3qjAu.js} +101 -87
  24. package/dist/Overview-BbLYWXjG.js +1078 -0
  25. package/dist/{Point-DkZn6p9s.js → Point-DbTcWJbQ.js} +55 -53
  26. package/dist/{Promotion-B7YzwPc_.js → Promotion-CIrpWBQD.js} +65 -57
  27. package/dist/Queue-B0Mfq2Vn.js +244 -0
  28. package/dist/Record-Z6ZrJeLc.js +340 -0
  29. package/dist/Reward-D6k0QFQA.js +442 -0
  30. package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-GJ6j_jOh.js +150 -0
  31. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-gQxmX9ur.js +1637 -0
  32. package/dist/Segment-D6MF-EO8.js +568 -0
  33. package/dist/SelectItems.vue_vue_type_script_setup_true_lang-BWG-pz6F.js +181 -0
  34. package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-HgorlHNz.js +147 -0
  35. package/dist/Setting--OFDS95z.js +1931 -0
  36. package/dist/Store-BqlRTC-c.js +1751 -0
  37. package/dist/{StoreRewards-6BzVwZqr.js → StoreRewards-BTu0IdDN.js} +33 -32
  38. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BX053DJA.js +943 -0
  39. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-B6cAveco.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BAkuqLwy.js} +1 -1
  40. package/dist/{Tier-CW-46oJS.js → Tier-CE9LYAEX.js} +327 -318
  41. package/dist/{Title-CE9rWVdi.js → Title-DOOASUMI.js} +199 -184
  42. package/dist/{Transaction-B21RrC4M.js → Transaction-DPxUOBP-.js} +2 -2
  43. package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-CKwf0F_i.js +130 -0
  44. package/dist/Voucher-D69DD02z.js +354 -0
  45. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-CFL0Nsez.js +419 -0
  46. 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
  47. package/dist/app-C2u1t47T.js +7059 -0
  48. package/dist/app-DgfmbHZe.js +33357 -0
  49. package/dist/app.js +1 -1
  50. package/dist/{business-aHhRUXc0.js → business-BqCJB_vA.js} +1 -1
  51. package/dist/{campaign-DH9NUNf_.js → campaign-CWMPCmmU.js} +2 -2
  52. package/dist/campaign-D0dTbl5b.js +1810 -0
  53. package/dist/campaign.enum-DhE8N4pA.js +20 -0
  54. package/dist/campaign.fn-BpO-RQih.js +758 -0
  55. package/dist/collectible.enum-rWEc6Tsw.js +19 -0
  56. package/dist/{collection.fn-CYlsA-kW.js → collection.fn-biX2iFDQ.js} +2 -2
  57. package/dist/dto-3m7xZwfI.js +214 -0
  58. package/dist/{effect-LSc9YanX.js → effect-ZMGRxKCZ.js} +9 -9
  59. package/dist/email-addresses-lgY03bkq.js +705 -0
  60. package/dist/{export-Cf0-C5Ly.js → export-BOzeYUy8.js} +5 -5
  61. package/dist/{helper-CiZpeMCM.js → helper-CO29wun4.js} +1 -1
  62. package/dist/index-B3V7krW_.js +29000 -0
  63. package/dist/index-BVbiAxW8.js +115 -0
  64. package/dist/{index-D_83JP2i.js → index-Bvch9tuP.js} +48 -4
  65. package/dist/index-CYOwwy3h.js +44 -0
  66. package/dist/{index-D6cEOHP4.js → index-CbYXYVYp.js} +1501 -1480
  67. package/dist/{index-DtsDOuDx.js → index-ChrOXJDq.js} +24 -21
  68. package/dist/index-CsaQJMAR.js +66 -0
  69. package/dist/index-DNGenFnf.js +32 -0
  70. package/dist/{index-BVb5-Ht8.js → index-Dd22X409.js} +259 -173
  71. package/dist/{index-kPhrD63q.js → index-LYAWIqjk.js} +1 -1
  72. package/dist/index-Xh9cW6Y9.js +54 -0
  73. package/dist/{index-gxwjKu3-.js → index-XhqaicYu.js} +2212 -871
  74. package/dist/{index-DW3PRjPL.js → index-YsC4VklJ.js} +1 -1
  75. package/dist/index-vh86FiIQ.js +10 -0
  76. package/dist/{index.esm2017-B7oVYIbY.js → index.esm2017-CJ1flA6S.js} +121 -121
  77. package/dist/loading-CUs_CN1k.js +71 -0
  78. package/dist/{membership-Dw1ylJ9Y.js → membership-D-GVacos.js} +54 -46
  79. package/dist/money-CMtSALkX.js +15 -0
  80. package/dist/number-CDwwgAYM.js +12 -0
  81. package/dist/objectid-Bf9yKD81.js +145 -0
  82. package/dist/{loading-7yq1tinq.js → plugins-9sQTEyth.js} +3871 -3943
  83. package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
  84. package/dist/reward-DblXGhWc.js +36 -0
  85. package/dist/{rule-C0Q_SHow.js → rule-Cy8cTzuw.js} +180 -177
  86. package/dist/{rule-builder-iu17XIof.js → rule-builder-Cn5vZgFN.js} +1 -1
  87. package/dist/style.css +1 -1
  88. package/dist/{template-CyOanTMu.js → template-Cal94dUy.js} +5 -5
  89. package/dist/trigger-C1nwLSP8.js +144 -0
  90. package/dist/user-ir4Rn5bP.js +54 -0
  91. package/dist/{vue-i18n-B0fLJH7a.js → vue-i18n-eOHBBaH5.js} +243 -243
  92. package/dist/{xlsx-BYO_bB9J.js → xlsx-DulnT75_.js} +1 -1
  93. package/package.json +11 -7
  94. package/dist/Analytic-muDf0oMG.js +0 -622
  95. package/dist/Card-bhLoK0ZV.js +0 -825
  96. package/dist/Collections-DjtsAiol.js +0 -453
  97. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-U_QZneS6.js +0 -2813
  98. package/dist/Marketing-Dny2nMUl.js +0 -316
  99. package/dist/Member-CP_smyk8.js +0 -69
  100. package/dist/MemberList-CR3eYI9p.js +0 -1733
  101. package/dist/MemberTransactions-RTx_lKFb.js +0 -38
  102. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Cs67_GLE.js +0 -1753
  103. package/dist/Segment-Bb4gHt5V.js +0 -437
  104. package/dist/Setting-Xj0AVzh3.js +0 -1901
  105. package/dist/Store-BWRHQ6Ie.js +0 -1511
  106. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BsFnT8BS.js +0 -890
  107. package/dist/Voucher-KK9fBI0u.js +0 -490
  108. package/dist/app-CjhXHUQv.js +0 -53428
  109. package/dist/app-Dvf_JNMf.js +0 -5764
  110. package/dist/dto-DArfyZAI.js +0 -2770
  111. package/dist/index-Bi_LGEtY.js +0 -99
  112. package/dist/index-CiQDG7Cm.js +0 -762
  113. package/dist/index-CuvNtC_M.js +0 -61
  114. package/dist/index-DQfjSSMF.js +0 -206
  115. package/dist/index-DcxssxPi.js +0 -29193
  116. package/dist/index-DqJVH2kv.js +0 -298
  117. package/dist/money-CPd0XTNv.js +0 -15
  118. package/dist/number-BgXY4un8.js +0 -12
  119. package/dist/user-Bm4KttFq.js +0 -37
@@ -1,61 +0,0 @@
1
- const E = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), x = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), P = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), _ = /[^\p{L}\d]+/giu, u = "$1\0$2", i = "";
2
- function L(r) {
3
- let e = r.trim();
4
- e = e.replace(E, u).replace(x, u), e = e.replace(_, "\0");
5
- let c = 0, t = e.length;
6
- for (; e.charAt(c) === "\0"; )
7
- c++;
8
- if (c === t)
9
- return [];
10
- for (; e.charAt(t - 1) === "\0"; )
11
- t--;
12
- return e.slice(c, t).split(/\0/g);
13
- }
14
- function R(r) {
15
- const e = L(r);
16
- for (let c = 0; c < e.length; c++) {
17
- const t = e[c], l = P.exec(t);
18
- if (l) {
19
- const s = l.index + (l[1] ?? l[2]).length;
20
- e.splice(c, 1, t.slice(0, s), t.slice(s));
21
- }
22
- }
23
- return e;
24
- }
25
- function p(r, e) {
26
- const [c, t, l] = o(r, e), s = d(e == null ? void 0 : e.locale), a = C(e == null ? void 0 : e.locale), n = A(s, a);
27
- return c + t.map((f, h) => h === 0 ? n(f) : s(f)).join((e == null ? void 0 : e.delimiter) ?? " ") + l;
28
- }
29
- function d(r) {
30
- return r === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(r);
31
- }
32
- function C(r) {
33
- return r === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(r);
34
- }
35
- function A(r, e) {
36
- return (c) => `${e(c[0])}${r(c.slice(1))}`;
37
- }
38
- function o(r, e = {}) {
39
- const c = e.split ?? (e.separateNumbers ? R : L), t = e.prefixCharacters ?? i, l = e.suffixCharacters ?? i;
40
- let s = 0, a = r.length;
41
- for (; s < r.length; ) {
42
- const n = r.charAt(s);
43
- if (!t.includes(n))
44
- break;
45
- s++;
46
- }
47
- for (; a > s; ) {
48
- const n = a - 1, f = r.charAt(n);
49
- if (!l.includes(f))
50
- break;
51
- a = n;
52
- }
53
- return [
54
- r.slice(0, s),
55
- c(r.slice(s, a)),
56
- r.slice(a)
57
- ];
58
- }
59
- export {
60
- p as s
61
- };
@@ -1,206 +0,0 @@
1
- import { z as o, F as e, m as c } from "./loading-7yq1tinq.js";
2
- import { n as d, o as u, p as m, m as a } from "./index-D6cEOHP4.js";
3
- const b = o.enum([
4
- "PORTAL",
5
- "BENEFIT",
6
- "STORE",
7
- "ORDER",
8
- "BILL",
9
- "BILL_DISCOUNT",
10
- "CASHBACK",
11
- "FEEDBACK",
12
- "CYCLE",
13
- "COUNTER",
14
- "GAME",
15
- "COUNTER_CONSUME",
16
- "STAMP_REWARD",
17
- "STAMP_CARRY_FORWARD",
18
- "STAMP_MAX_REACHED",
19
- "POS_CLAIM",
20
- "MEMBER_APP-CLAIM",
21
- "MEMBER_APP-TRANSFER",
22
- "FEEDVIBE_APP-CLAIM"
23
- ]), i = o.string(), l = o.record(o.string(), o.any()).nullish(), p = {
24
- collectionName: "Transactions",
25
- transform: {
26
- _id: "oid",
27
- user: "oid",
28
- collectible: "oid",
29
- collection: "oid",
30
- business: "oid",
31
- refundedFrom: "oid"
32
- },
33
- lookups: {
34
- user: {
35
- fromCollection: "UsersV2",
36
- as: "pf_user"
37
- },
38
- collectible: {
39
- fromCollection: "CollectibleConfigs",
40
- as: "pf_collectible"
41
- }
42
- }
43
- }, _ = o.object({
44
- _id: e,
45
- user: e.nullable(),
46
- collectible: e,
47
- collection: e,
48
- business: e,
49
- amount: o.number(),
50
- expiryAmount: o.array(o.lazy(() => r)),
51
- from: o.lazy(() => t),
52
- to: o.lazy(() => t),
53
- source: i,
54
- ref: o.string(),
55
- refunded: o.boolean().optional(),
56
- refundedFrom: e.optional(),
57
- metadata: l,
58
- createdAt: o.coerce.date().optional(),
59
- pf_user: o.any().optional(),
60
- pf_collectible: o.any().optional(),
61
- pf_collection: o.any().optional(),
62
- totalAmount: o.number().optional()
63
- }).describe(c.describe(p));
64
- o.object({
65
- amount: o.number(),
66
- expiryAmount: o.array(o.lazy(() => r)),
67
- collection: o.lazy(() => f),
68
- source: i,
69
- ref: o.string(),
70
- from: o.lazy(() => t).optional(),
71
- to: o.lazy(() => t),
72
- metadata: l,
73
- refunded: o.boolean().optional(),
74
- refundedFrom: e.optional()
75
- });
76
- o.object({
77
- id: o.string()
78
- });
79
- b.options;
80
- const s = o.enum(["NORMAL", "EXPIRABLE"]), r = o.object({
81
- _id: e,
82
- amount: o.number(),
83
- expiredAt: o.coerce.date()
84
- }), t = o.object({
85
- balance: o.number(),
86
- expiryBalance: o.array(r).optional()
87
- }), C = {
88
- collectionName: "Collections",
89
- transform: {
90
- _id: "oid",
91
- business: "oid",
92
- collectible: "oid",
93
- user: "oid",
94
- deactivatedAt: "date"
95
- },
96
- lookups: {
97
- user: {
98
- as: "pf_user",
99
- fromCollection: "UsersV2"
100
- },
101
- collectible: {
102
- as: "pf_collectible",
103
- fromCollection: "CollectibleConfigs"
104
- }
105
- }
106
- }, f = o.object({
107
- _id: e,
108
- business: e,
109
- user: e.nullish(),
110
- code: o.string().optional(),
111
- collectible: e,
112
- type: d,
113
- extras: u.nullish(),
114
- options: m,
115
- ref: o.string().nullish(),
116
- deactivatedAt: o.date().nullish(),
117
- pf_user: o.any().optional(),
118
- pf_collectible: o.any().optional(),
119
- pf_campaign: o.any().optional()
120
- }).merge(t).describe(c.describe(C)), n = o.object({
121
- amount: o.number(),
122
- ref: o.string(),
123
- source: i,
124
- metadata: l
125
- });
126
- n.extend({
127
- code: o.string().optional(),
128
- collectible: e,
129
- channelConfig: a.nullish(),
130
- business: e,
131
- user: e.nullable()
132
- });
133
- n.extend({
134
- codes: o.array(o.string()),
135
- collectible: e,
136
- channelConfig: a.nullish(),
137
- business: e,
138
- user: e.nullable()
139
- });
140
- n.extend({
141
- user: e,
142
- business: e,
143
- collectible: e
144
- });
145
- n.extend({
146
- id: e,
147
- code: o.string().optional(),
148
- type: s.optional()
149
- });
150
- o.object({
151
- collection: e,
152
- to: e,
153
- ref: o.string(),
154
- source: i,
155
- metadata: l
156
- });
157
- const g = o.object({
158
- length: o.coerce.number().optional(),
159
- charset: o.string(),
160
- prefix: o.string().optional(),
161
- suffix: o.string().optional(),
162
- pattern: o.string().optional()
163
- });
164
- o.object({
165
- quantity: o.number(),
166
- code: o.string(),
167
- codeConfig: g
168
- });
169
- const y = o.object({
170
- amount: o.coerce.number().min(1).max(1e7).multipleOf(0.01, "Amount must be maximum of two decimal places (0.00)"),
171
- day: o.coerce.number().min(1).max(9999),
172
- remark: o.string().optional()
173
- }), F = o.object({
174
- amount: o.coerce.number().min(1),
175
- remark: o.string().optional()
176
- });
177
- o.object({
178
- amount: o.coerce.number().min(1),
179
- day: o.coerce.number().min(1).max(9999),
180
- remark: o.string().optional()
181
- });
182
- o.object({
183
- amount: o.coerce.number().min(1),
184
- remark: o.string().optional()
185
- });
186
- n.extend({
187
- business: o.string(),
188
- user: o.string(),
189
- type: s.optional()
190
- });
191
- n.extend({
192
- business: o.string(),
193
- user: o.string(),
194
- channelConfig: a.nullish()
195
- });
196
- o.object({
197
- memberId: o.array(e)
198
- });
199
- export {
200
- y as F,
201
- F as a,
202
- _ as b,
203
- f as c,
204
- b as d,
205
- t as e
206
- };