@feedmepos/mf-connect 0.1.24-prod → 0.1.26-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/dist/{Analytic-DH3odpBh.js → Analytic-WXmpLkLU.js} +18 -17
- package/dist/{App-DT9d3Bm2.js → App-jBGNDeCb.js} +6 -6
- package/dist/{Bin-CEFG1nRH.js → Bin-COj4GqKe.js} +19 -18
- package/dist/{Broadcast-B_rv159-.js → Broadcast-vIqSNTJh.js} +13 -12
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DzD9-r4-.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BVtfunGL.js} +14 -8
- package/dist/{Card-Dyya8J2U.js → Card-CGyBry4S.js} +57 -55
- package/dist/{Collections-Dl2FDFOD.js → Collections-BeQ_uFRE.js} +23 -21
- package/dist/{Credit-B9mz3eUI.js → Credit-DWsgc_P1.js} +35 -34
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-TrKmONi5.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DxPsGM7d.js} +28 -27
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CVCgGHg4.js → EffectSheet.vue_vue_type_style_index_0_lang-DlCdWAqB.js} +6 -6
- package/dist/{Experience-CGwG9JGa.js → Experience-DQ5ofpRU.js} +13 -12
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js +118 -0
- package/dist/Game-dl01-cxh.js +278 -0
- package/dist/{Index-D0IkkcBH.js → Index-B33SYml2.js} +14 -13
- package/dist/{Marketing-HmC8ZXqz.js → Marketing-CqWuI9r1.js} +8 -7
- package/dist/Member-PuWzURyR.js +348 -0
- package/dist/{MemberList-_MFrJqht.js → MemberList-dQljjKIC.js} +275 -269
- package/dist/{MemberTransactions-kUyU9Qn6.js → MemberTransactions-BH1U_v3f.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DypmZY2G.js → MessageInput.vue_vue_type_script_setup_true_lang-ZSNwpN6m.js} +7 -7
- package/dist/{Mission-OUjm7KRr.js → Mission-PjsS8VTH.js} +118 -96
- package/dist/{Overview-F2AvMo-g.js → Overview-B6zXdxIf.js} +63 -62
- package/dist/{Point-K9poYQjB.js → Point-DhYeSbYo.js} +11 -10
- package/dist/{Promotion-DpS6PQFU.js → Promotion-4yBcCEQA.js} +12 -11
- package/dist/Queue-BCOe370v.js +249 -0
- package/dist/{Record-CZMB7xKL.js → Record-FxeE4KZe.js} +21 -19
- package/dist/{Reward-zMCEkbO5.js → Reward-B4licTuW.js} +19 -18
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Dj73NYhp.js → RewardGroup.vue_vue_type_script_setup_true_lang-CKWOhSQh.js} +13 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-FyuAHi5K.js → RuleGroup.vue_vue_type_script_setup_true_lang-BbOzaj63.js} +12 -12
- package/dist/{Segment-LthACAfl.js → Segment-DONb4N1l.js} +19 -17
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DRe6Gyov.js → SelectItems.vue_vue_type_script_setup_true_lang-CvHYZpGm.js} +2 -2
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-NDwwOZSM.js +188 -0
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-Z9Nb9b6-.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-D2ixqrV7.js} +3 -3
- package/dist/{Setting-8ASd681E.js → Setting-BQOcVtGa.js} +20 -19
- package/dist/{Store-C-bmQP0K.js → Store-BlaFXTeO.js} +24 -23
- package/dist/{StoreRewards-Bu3DWaCn.js → StoreRewards-Lqc34UoD.js} +15 -14
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-C5dViJNi.js +994 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-Bn7aoYqw.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-e_31o0i7.js} +1 -1
- package/dist/{Tier-DDKUGBRg.js → Tier-B26lO0SB.js} +25 -24
- package/dist/{Title-Cup_EWfZ.js → Title-BASSyfhP.js} +28 -27
- package/dist/{Transaction-BqvgfyiW.js → Transaction-BbzBRylw.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BCkXievQ.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BFyl96zy.js} +6 -6
- package/dist/{Voucher-Dxk6zfcN.js → Voucher-A_GG0E5t.js} +38 -37
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DmswMNi5.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CCGtKQTW.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-D-UPL1Rc.js → ZodTextField.vue_vue_type_script_setup_true_lang-DGNqvOl5.js} +1 -1
- package/dist/{app-bidojB9R.js → app-C7FQYfsn.js} +1 -1
- package/dist/{app-BDUrJlXZ.js → app-DV-5XPYF.js} +235 -166
- package/dist/app.js +1 -1
- package/dist/{business-CFOn3-Hz.js → business-C8PXQSRE.js} +1 -1
- package/dist/{campaign-DyzzIbnA.js → campaign-B4eKVpps.js} +9 -9
- package/dist/{campaign-BVIiGyq9.js → campaign-CuZ6u4yy.js} +2 -2
- package/dist/{campaign.enum-aFjayQfJ.js → campaign.enum-xbqqPDwY.js} +1 -1
- package/dist/{campaign.fn-BKADpFTx.js → campaign.fn-GFFtrWsz.js} +133 -133
- package/dist/{collectible.enum-vEUgo0YF.js → collectible.enum-DB4oBcfv.js} +1 -1
- package/dist/{collection.fn-D2Kbz9yq.js → collection.fn-BwpscyTl.js} +2 -2
- package/dist/{dto-CKxtFHko.js → dto-Cr20KGr0.js} +4 -4
- package/dist/{effect-BEWKDhDB.js → effect-D9-UiBiK.js} +1 -1
- package/dist/{email-addresses-BWDg5Wvf.js → email-addresses-F3hoXmRI.js} +1 -1
- package/dist/{export-DO-WeD6l.js → export-BIPF1ilY.js} +3 -3
- package/dist/{helper-CSGr0Zgt.js → helper-Tf1bFEee.js} +1 -1
- package/dist/{index-UVHHFXyh.js → index-B2jAIO5k.js} +1162 -1129
- package/dist/{index-Dw_jc7Et.js → index-BYzdfZKb.js} +3 -3
- package/dist/{index-BgJVKNYg.js → index-BhlEaLpy.js} +24 -21
- package/dist/{index-BV4M35iK.js → index-Bkw-11Tg.js} +2 -2
- package/dist/{index-CFXFhGs9.js → index-BvqdtS9H.js} +1 -1
- package/dist/{index-DVsh-nBE.js → index-CpUyyTF6.js} +1 -1
- package/dist/{index-CUlYeKKH.js → index-D4XX55M5.js} +1 -1
- package/dist/{index-CEjeBL2U.js → index-Dow2N7x1.js} +1 -1
- package/dist/{index--Mrx1FRI.js → index-IOTB7rGH.js} +1 -1
- package/dist/{index-CoMMyOsj.js → index-bb6Kd8k_.js} +10 -10
- package/dist/{index-DSBnWOie.js → index-gTmOLzQU.js} +1 -1
- package/dist/{index-Bg3caQS6.js → index-mjBmZtX2.js} +1273 -1273
- package/dist/{index.esm2017-CDzvT_fP.js → index.esm2017-Y_0J3nbR.js} +137 -137
- package/dist/loading-BbC_ZIPE.js +71 -0
- package/dist/{membership-DK9FNo2Y.js → membership-BM_2_hUW.js} +3 -3
- package/dist/{money-DJYiw0es.js → money-BsBmwalY.js} +1 -1
- package/dist/{number-BjhqQBza.js → number-QqpGrk9q.js} +1 -1
- package/dist/objectid-DQj-P2cH.js +145 -0
- package/dist/{loading-CWihCJvJ.js → plugins-DKPF0eaB.js} +1535 -1601
- package/dist/{reward-DlE5Zt3d.js → reward-Yl3EdHrH.js} +1 -1
- package/dist/{rule-a2_WCjR8.js → rule-DW_bLKtu.js} +3 -3
- package/dist/{rule-builder-Q8iGSpDV.js → rule-builder-BoITzEtm.js} +1 -1
- package/dist/{template-3faxO3XM.js → template-BSQzNJs5.js} +4 -4
- package/dist/{trigger-Cnvhgqkj.js → trigger-Bel1H8iR.js} +11 -11
- package/dist/usePagination-JoYaROkV.js +223 -0
- package/dist/{user-CoiXBmet.js → user-Dg2HfZlK.js} +1 -1
- package/dist/vue-i18n-CvvsV6dR.js +2365 -0
- package/dist/{usePagination-dNrSGtRV.js → xlsx-1oIZztwO.js} +2979 -3200
- package/package.json +3 -1
- package/dist/Game-DbhOlio1.js +0 -256
- package/dist/Member-NSQ2nHzW.js +0 -69
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CDRpkUaP.js +0 -1105
- package/dist/objectid-Cep7PkzN.js +0 -145
- package/dist/vue-i18n-B2XH0K8P.js +0 -2365
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { withPermission as
|
|
2
|
-
import { defineAsyncComponent as
|
|
1
|
+
import { withPermission as C, Permission as x } from "@feedmepos/mf-common";
|
|
2
|
+
import { defineAsyncComponent as R } from "vue";
|
|
3
3
|
const Pe = {
|
|
4
4
|
common: {
|
|
5
5
|
submit: "Submit",
|
|
@@ -82,6 +82,7 @@ const Pe = {
|
|
|
82
82
|
},
|
|
83
83
|
campaign: {
|
|
84
84
|
common: {
|
|
85
|
+
campaign: "Campaign",
|
|
85
86
|
createCampaign: "Create campaign",
|
|
86
87
|
search: "search",
|
|
87
88
|
location: "Location: ",
|
|
@@ -267,7 +268,8 @@ const Pe = {
|
|
|
267
268
|
setting: "Setting",
|
|
268
269
|
mission: "Mission",
|
|
269
270
|
referral: "Referral",
|
|
270
|
-
bin: "Bin"
|
|
271
|
+
bin: "Bin",
|
|
272
|
+
queue: "Queue"
|
|
271
273
|
},
|
|
272
274
|
bin: {
|
|
273
275
|
title: "Bin",
|
|
@@ -301,7 +303,8 @@ const Pe = {
|
|
|
301
303
|
title: "Member's transactions",
|
|
302
304
|
tabs: {
|
|
303
305
|
member_list: "Member list"
|
|
304
|
-
}
|
|
306
|
+
},
|
|
307
|
+
import: "Import"
|
|
305
308
|
},
|
|
306
309
|
segment: {
|
|
307
310
|
title: "Segments",
|
|
@@ -884,6 +887,18 @@ const Pe = {
|
|
|
884
887
|
type: "Reward type",
|
|
885
888
|
description: "Description"
|
|
886
889
|
}
|
|
890
|
+
},
|
|
891
|
+
sendCollectionSheet: {
|
|
892
|
+
title: "Send {type}",
|
|
893
|
+
select_members: "Select member",
|
|
894
|
+
amount: "Amount",
|
|
895
|
+
reference: "Reference",
|
|
896
|
+
confirmation_message: "Are you sure you want to send {amount} {type} to {memberName}? This action cannot be reversed.",
|
|
897
|
+
stamp: "Stamp",
|
|
898
|
+
game_token: "Game Token"
|
|
899
|
+
},
|
|
900
|
+
queue: {
|
|
901
|
+
title: "Queue"
|
|
887
902
|
}
|
|
888
903
|
}, Le = {
|
|
889
904
|
invalid_type: "Expected {{expected}}, received {{received}}",
|
|
@@ -4061,7 +4076,7 @@ class T {
|
|
|
4061
4076
|
const a = [];
|
|
4062
4077
|
for (const i of t) {
|
|
4063
4078
|
if (i.status === "aborted")
|
|
4064
|
-
return
|
|
4079
|
+
return _;
|
|
4065
4080
|
i.status === "dirty" && e.dirty(), a.push(i.value);
|
|
4066
4081
|
}
|
|
4067
4082
|
return { status: e.value, value: a };
|
|
@@ -4080,15 +4095,15 @@ class T {
|
|
|
4080
4095
|
for (const i of t) {
|
|
4081
4096
|
const { key: r, value: s } = i;
|
|
4082
4097
|
if (r.status === "aborted" || s.status === "aborted")
|
|
4083
|
-
return
|
|
4098
|
+
return _;
|
|
4084
4099
|
r.status === "dirty" && e.dirty(), s.status === "dirty" && e.dirty(), r.value !== "__proto__" && (typeof s.value < "u" || i.alwaysSet) && (a[r.value] = s.value);
|
|
4085
4100
|
}
|
|
4086
4101
|
return { status: e.value, value: a };
|
|
4087
4102
|
}
|
|
4088
4103
|
}
|
|
4089
|
-
const
|
|
4104
|
+
const _ = Object.freeze({
|
|
4090
4105
|
status: "aborted"
|
|
4091
|
-
}), Se = (n) => ({ status: "dirty", value: n }),
|
|
4106
|
+
}), Se = (n) => ({ status: "dirty", value: n }), k = (n) => ({ status: "valid", value: n }), xe = (n) => n.status === "aborted", we = (n) => n.status === "dirty", H = (n) => n.status === "valid", le = (n) => typeof Promise < "u" && n instanceof Promise;
|
|
4092
4107
|
var p;
|
|
4093
4108
|
(function(n) {
|
|
4094
4109
|
n.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, n.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
@@ -4249,7 +4264,7 @@ class v {
|
|
|
4249
4264
|
return Y.create(this, this._def);
|
|
4250
4265
|
}
|
|
4251
4266
|
or(e) {
|
|
4252
|
-
return
|
|
4267
|
+
return K.create([this, e], this._def);
|
|
4253
4268
|
}
|
|
4254
4269
|
and(e) {
|
|
4255
4270
|
return ee.create(this, e, this._def);
|
|
@@ -4307,7 +4322,7 @@ class v {
|
|
|
4307
4322
|
return this.safeParse(null).success;
|
|
4308
4323
|
}
|
|
4309
4324
|
}
|
|
4310
|
-
const
|
|
4325
|
+
const Qe = /^c[^\s-]{8,}$/i, Xe = /^[a-z][a-z0-9]*$/, Ke = /^[0-9A-HJKMNP-TV-Z]{26}$/, et = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, tt = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, nt = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
4311
4326
|
let ye;
|
|
4312
4327
|
const at = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/, it = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, rt = (n) => n.precision ? n.offset ? new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${n.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`) : new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${n.precision}}Z$`) : n.precision === 0 ? n.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$") : n.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");
|
|
4313
4328
|
function st(n, e) {
|
|
@@ -4325,7 +4340,7 @@ class A extends v {
|
|
|
4325
4340
|
received: r.parsedType
|
|
4326
4341
|
}
|
|
4327
4342
|
//
|
|
4328
|
-
),
|
|
4343
|
+
), _;
|
|
4329
4344
|
}
|
|
4330
4345
|
const a = new T();
|
|
4331
4346
|
let i;
|
|
@@ -4384,19 +4399,19 @@ class A extends v {
|
|
|
4384
4399
|
message: r.message
|
|
4385
4400
|
}), a.dirty());
|
|
4386
4401
|
else if (r.kind === "cuid")
|
|
4387
|
-
|
|
4402
|
+
Qe.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
|
|
4388
4403
|
validation: "cuid",
|
|
4389
4404
|
code: c.invalid_string,
|
|
4390
4405
|
message: r.message
|
|
4391
4406
|
}), a.dirty());
|
|
4392
4407
|
else if (r.kind === "cuid2")
|
|
4393
|
-
|
|
4408
|
+
Xe.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
|
|
4394
4409
|
validation: "cuid2",
|
|
4395
4410
|
code: c.invalid_string,
|
|
4396
4411
|
message: r.message
|
|
4397
4412
|
}), a.dirty());
|
|
4398
4413
|
else if (r.kind === "ulid")
|
|
4399
|
-
|
|
4414
|
+
Ke.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
|
|
4400
4415
|
validation: "ulid",
|
|
4401
4416
|
code: c.invalid_string,
|
|
4402
4417
|
message: r.message
|
|
@@ -4628,7 +4643,7 @@ class D extends v {
|
|
|
4628
4643
|
code: c.invalid_type,
|
|
4629
4644
|
expected: l.number,
|
|
4630
4645
|
received: r.parsedType
|
|
4631
|
-
}),
|
|
4646
|
+
}), _;
|
|
4632
4647
|
}
|
|
4633
4648
|
let a;
|
|
4634
4649
|
const i = new T();
|
|
@@ -4800,7 +4815,7 @@ class B extends v {
|
|
|
4800
4815
|
code: c.invalid_type,
|
|
4801
4816
|
expected: l.bigint,
|
|
4802
4817
|
received: r.parsedType
|
|
4803
|
-
}),
|
|
4818
|
+
}), _;
|
|
4804
4819
|
}
|
|
4805
4820
|
let a;
|
|
4806
4821
|
const i = new T();
|
|
@@ -4925,9 +4940,9 @@ class J extends v {
|
|
|
4925
4940
|
code: c.invalid_type,
|
|
4926
4941
|
expected: l.boolean,
|
|
4927
4942
|
received: a.parsedType
|
|
4928
|
-
}),
|
|
4943
|
+
}), _;
|
|
4929
4944
|
}
|
|
4930
|
-
return
|
|
4945
|
+
return k(e.data);
|
|
4931
4946
|
}
|
|
4932
4947
|
}
|
|
4933
4948
|
J.create = (n) => new J({
|
|
@@ -4943,13 +4958,13 @@ class $ extends v {
|
|
|
4943
4958
|
code: c.invalid_type,
|
|
4944
4959
|
expected: l.date,
|
|
4945
4960
|
received: r.parsedType
|
|
4946
|
-
}),
|
|
4961
|
+
}), _;
|
|
4947
4962
|
}
|
|
4948
4963
|
if (isNaN(e.data.getTime())) {
|
|
4949
4964
|
const r = this._getOrReturnCtx(e);
|
|
4950
4965
|
return u(r, {
|
|
4951
4966
|
code: c.invalid_date
|
|
4952
|
-
}),
|
|
4967
|
+
}), _;
|
|
4953
4968
|
}
|
|
4954
4969
|
const a = new T();
|
|
4955
4970
|
let i;
|
|
@@ -5021,16 +5036,16 @@ class ue extends v {
|
|
|
5021
5036
|
code: c.invalid_type,
|
|
5022
5037
|
expected: l.symbol,
|
|
5023
5038
|
received: a.parsedType
|
|
5024
|
-
}),
|
|
5039
|
+
}), _;
|
|
5025
5040
|
}
|
|
5026
|
-
return
|
|
5041
|
+
return k(e.data);
|
|
5027
5042
|
}
|
|
5028
5043
|
}
|
|
5029
5044
|
ue.create = (n) => new ue({
|
|
5030
5045
|
typeName: f.ZodSymbol,
|
|
5031
5046
|
...g(n)
|
|
5032
5047
|
});
|
|
5033
|
-
class
|
|
5048
|
+
class Q extends v {
|
|
5034
5049
|
_parse(e) {
|
|
5035
5050
|
if (this._getType(e) !== l.undefined) {
|
|
5036
5051
|
const a = this._getOrReturnCtx(e);
|
|
@@ -5038,16 +5053,16 @@ class X extends v {
|
|
|
5038
5053
|
code: c.invalid_type,
|
|
5039
5054
|
expected: l.undefined,
|
|
5040
5055
|
received: a.parsedType
|
|
5041
|
-
}),
|
|
5056
|
+
}), _;
|
|
5042
5057
|
}
|
|
5043
|
-
return
|
|
5058
|
+
return k(e.data);
|
|
5044
5059
|
}
|
|
5045
5060
|
}
|
|
5046
|
-
|
|
5061
|
+
Q.create = (n) => new Q({
|
|
5047
5062
|
typeName: f.ZodUndefined,
|
|
5048
5063
|
...g(n)
|
|
5049
5064
|
});
|
|
5050
|
-
class
|
|
5065
|
+
class X extends v {
|
|
5051
5066
|
_parse(e) {
|
|
5052
5067
|
if (this._getType(e) !== l.null) {
|
|
5053
5068
|
const a = this._getOrReturnCtx(e);
|
|
@@ -5055,12 +5070,12 @@ class K extends v {
|
|
|
5055
5070
|
code: c.invalid_type,
|
|
5056
5071
|
expected: l.null,
|
|
5057
5072
|
received: a.parsedType
|
|
5058
|
-
}),
|
|
5073
|
+
}), _;
|
|
5059
5074
|
}
|
|
5060
|
-
return
|
|
5075
|
+
return k(e.data);
|
|
5061
5076
|
}
|
|
5062
5077
|
}
|
|
5063
|
-
|
|
5078
|
+
X.create = (n) => new X({
|
|
5064
5079
|
typeName: f.ZodNull,
|
|
5065
5080
|
...g(n)
|
|
5066
5081
|
});
|
|
@@ -5069,7 +5084,7 @@ class W extends v {
|
|
|
5069
5084
|
super(...arguments), this._any = !0;
|
|
5070
5085
|
}
|
|
5071
5086
|
_parse(e) {
|
|
5072
|
-
return
|
|
5087
|
+
return k(e.data);
|
|
5073
5088
|
}
|
|
5074
5089
|
}
|
|
5075
5090
|
W.create = (n) => new W({
|
|
@@ -5081,7 +5096,7 @@ class V extends v {
|
|
|
5081
5096
|
super(...arguments), this._unknown = !0;
|
|
5082
5097
|
}
|
|
5083
5098
|
_parse(e) {
|
|
5084
|
-
return
|
|
5099
|
+
return k(e.data);
|
|
5085
5100
|
}
|
|
5086
5101
|
}
|
|
5087
5102
|
V.create = (n) => new V({
|
|
@@ -5095,7 +5110,7 @@ class L extends v {
|
|
|
5095
5110
|
code: c.invalid_type,
|
|
5096
5111
|
expected: l.never,
|
|
5097
5112
|
received: t.parsedType
|
|
5098
|
-
}),
|
|
5113
|
+
}), _;
|
|
5099
5114
|
}
|
|
5100
5115
|
}
|
|
5101
5116
|
L.create = (n) => new L({
|
|
@@ -5110,9 +5125,9 @@ class me extends v {
|
|
|
5110
5125
|
code: c.invalid_type,
|
|
5111
5126
|
expected: l.void,
|
|
5112
5127
|
received: a.parsedType
|
|
5113
|
-
}),
|
|
5128
|
+
}), _;
|
|
5114
5129
|
}
|
|
5115
|
-
return
|
|
5130
|
+
return k(e.data);
|
|
5116
5131
|
}
|
|
5117
5132
|
}
|
|
5118
5133
|
me.create = (n) => new me({
|
|
@@ -5127,7 +5142,7 @@ class O extends v {
|
|
|
5127
5142
|
code: c.invalid_type,
|
|
5128
5143
|
expected: l.array,
|
|
5129
5144
|
received: t.parsedType
|
|
5130
|
-
}),
|
|
5145
|
+
}), _;
|
|
5131
5146
|
if (i.exactLength !== null) {
|
|
5132
5147
|
const s = t.data.length > i.exactLength.value, o = t.data.length < i.exactLength.value;
|
|
5133
5148
|
(s || o) && (u(t, {
|
|
@@ -5225,7 +5240,7 @@ class w extends v {
|
|
|
5225
5240
|
code: c.invalid_type,
|
|
5226
5241
|
expected: l.object,
|
|
5227
5242
|
received: d.parsedType
|
|
5228
|
-
}),
|
|
5243
|
+
}), _;
|
|
5229
5244
|
}
|
|
5230
5245
|
const { status: a, ctx: i } = this._processInputParams(e), { shape: r, keys: s } = this._getCached(), o = [];
|
|
5231
5246
|
if (!(this._def.catchall instanceof L && this._def.unknownKeys === "strip"))
|
|
@@ -5495,7 +5510,7 @@ w.lazycreate = (n, e) => new w({
|
|
|
5495
5510
|
typeName: f.ZodObject,
|
|
5496
5511
|
...g(e)
|
|
5497
5512
|
});
|
|
5498
|
-
class
|
|
5513
|
+
class K extends v {
|
|
5499
5514
|
_parse(e) {
|
|
5500
5515
|
const { ctx: t } = this._processInputParams(e), a = this._def.options;
|
|
5501
5516
|
function i(r) {
|
|
@@ -5509,7 +5524,7 @@ class Q extends v {
|
|
|
5509
5524
|
return u(t, {
|
|
5510
5525
|
code: c.invalid_union,
|
|
5511
5526
|
unionErrors: s
|
|
5512
|
-
}),
|
|
5527
|
+
}), _;
|
|
5513
5528
|
}
|
|
5514
5529
|
if (t.common.async)
|
|
5515
5530
|
return Promise.all(a.map(async (r) => {
|
|
@@ -5556,19 +5571,19 @@ class Q extends v {
|
|
|
5556
5571
|
return u(t, {
|
|
5557
5572
|
code: c.invalid_union,
|
|
5558
5573
|
unionErrors: o
|
|
5559
|
-
}),
|
|
5574
|
+
}), _;
|
|
5560
5575
|
}
|
|
5561
5576
|
}
|
|
5562
5577
|
get options() {
|
|
5563
5578
|
return this._def.options;
|
|
5564
5579
|
}
|
|
5565
5580
|
}
|
|
5566
|
-
|
|
5581
|
+
K.create = (n, e) => new K({
|
|
5567
5582
|
options: n,
|
|
5568
5583
|
typeName: f.ZodUnion,
|
|
5569
5584
|
...g(e)
|
|
5570
5585
|
});
|
|
5571
|
-
const oe = (n) => n instanceof ne ? oe(n.schema) : n instanceof I ? oe(n.innerType()) : n instanceof ae ? [n.value] : n instanceof Z ? n.options : n instanceof ie ? Object.keys(n.enum) : n instanceof re ? oe(n._def.innerType) : n instanceof
|
|
5586
|
+
const oe = (n) => n instanceof ne ? oe(n.schema) : n instanceof I ? oe(n.innerType()) : n instanceof ae ? [n.value] : n instanceof Z ? n.options : n instanceof ie ? Object.keys(n.enum) : n instanceof re ? oe(n._def.innerType) : n instanceof Q ? [void 0] : n instanceof X ? [null] : null;
|
|
5572
5587
|
class ge extends v {
|
|
5573
5588
|
_parse(e) {
|
|
5574
5589
|
const { ctx: t } = this._processInputParams(e);
|
|
@@ -5577,7 +5592,7 @@ class ge extends v {
|
|
|
5577
5592
|
code: c.invalid_type,
|
|
5578
5593
|
expected: l.object,
|
|
5579
5594
|
received: t.parsedType
|
|
5580
|
-
}),
|
|
5595
|
+
}), _;
|
|
5581
5596
|
const a = this.discriminator, i = t.data[a], r = this.optionsMap.get(i);
|
|
5582
5597
|
return r ? t.common.async ? r._parseAsync({
|
|
5583
5598
|
data: t.data,
|
|
@@ -5591,7 +5606,7 @@ class ge extends v {
|
|
|
5591
5606
|
code: c.invalid_union_discriminator,
|
|
5592
5607
|
options: Array.from(this.optionsMap.keys()),
|
|
5593
5608
|
path: [a]
|
|
5594
|
-
}),
|
|
5609
|
+
}), _);
|
|
5595
5610
|
}
|
|
5596
5611
|
get discriminator() {
|
|
5597
5612
|
return this._def.discriminator;
|
|
@@ -5661,11 +5676,11 @@ class ee extends v {
|
|
|
5661
5676
|
_parse(e) {
|
|
5662
5677
|
const { status: t, ctx: a } = this._processInputParams(e), i = (r, s) => {
|
|
5663
5678
|
if (xe(r) || xe(s))
|
|
5664
|
-
return
|
|
5679
|
+
return _;
|
|
5665
5680
|
const o = Te(r.value, s.value);
|
|
5666
5681
|
return o.valid ? ((we(r) || we(s)) && t.dirty(), { status: t.value, value: o.data }) : (u(a, {
|
|
5667
5682
|
code: c.invalid_intersection_types
|
|
5668
|
-
}),
|
|
5683
|
+
}), _);
|
|
5669
5684
|
};
|
|
5670
5685
|
return a.common.async ? Promise.all([
|
|
5671
5686
|
this._def.left._parseAsync({
|
|
@@ -5703,7 +5718,7 @@ class N extends v {
|
|
|
5703
5718
|
code: c.invalid_type,
|
|
5704
5719
|
expected: l.array,
|
|
5705
5720
|
received: a.parsedType
|
|
5706
|
-
}),
|
|
5721
|
+
}), _;
|
|
5707
5722
|
if (a.data.length < this._def.items.length)
|
|
5708
5723
|
return u(a, {
|
|
5709
5724
|
code: c.too_small,
|
|
@@ -5711,7 +5726,7 @@ class N extends v {
|
|
|
5711
5726
|
inclusive: !0,
|
|
5712
5727
|
exact: !1,
|
|
5713
5728
|
type: "array"
|
|
5714
|
-
}),
|
|
5729
|
+
}), _;
|
|
5715
5730
|
!this._def.rest && a.data.length > this._def.items.length && (u(a, {
|
|
5716
5731
|
code: c.too_big,
|
|
5717
5732
|
maximum: this._def.items.length,
|
|
@@ -5759,7 +5774,7 @@ class te extends v {
|
|
|
5759
5774
|
code: c.invalid_type,
|
|
5760
5775
|
expected: l.object,
|
|
5761
5776
|
received: a.parsedType
|
|
5762
|
-
}),
|
|
5777
|
+
}), _;
|
|
5763
5778
|
const i = [], r = this._def.keyType, s = this._def.valueType;
|
|
5764
5779
|
for (const o in a.data)
|
|
5765
5780
|
i.push({
|
|
@@ -5799,7 +5814,7 @@ class pe extends v {
|
|
|
5799
5814
|
code: c.invalid_type,
|
|
5800
5815
|
expected: l.map,
|
|
5801
5816
|
received: a.parsedType
|
|
5802
|
-
}),
|
|
5817
|
+
}), _;
|
|
5803
5818
|
const i = this._def.keyType, r = this._def.valueType, s = [...a.data.entries()].map(([o, m], d) => ({
|
|
5804
5819
|
key: i._parse(new M(a, o, a.path, [d, "key"])),
|
|
5805
5820
|
value: r._parse(new M(a, m, a.path, [d, "value"]))
|
|
@@ -5810,7 +5825,7 @@ class pe extends v {
|
|
|
5810
5825
|
for (const m of s) {
|
|
5811
5826
|
const d = await m.key, y = await m.value;
|
|
5812
5827
|
if (d.status === "aborted" || y.status === "aborted")
|
|
5813
|
-
return
|
|
5828
|
+
return _;
|
|
5814
5829
|
(d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
|
|
5815
5830
|
}
|
|
5816
5831
|
return { status: t.value, value: o };
|
|
@@ -5820,7 +5835,7 @@ class pe extends v {
|
|
|
5820
5835
|
for (const m of s) {
|
|
5821
5836
|
const d = m.key, y = m.value;
|
|
5822
5837
|
if (d.status === "aborted" || y.status === "aborted")
|
|
5823
|
-
return
|
|
5838
|
+
return _;
|
|
5824
5839
|
(d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
|
|
5825
5840
|
}
|
|
5826
5841
|
return { status: t.value, value: o };
|
|
@@ -5841,7 +5856,7 @@ class U extends v {
|
|
|
5841
5856
|
code: c.invalid_type,
|
|
5842
5857
|
expected: l.set,
|
|
5843
5858
|
received: a.parsedType
|
|
5844
|
-
}),
|
|
5859
|
+
}), _;
|
|
5845
5860
|
const i = this._def;
|
|
5846
5861
|
i.minSize !== null && a.data.size < i.minSize.value && (u(a, {
|
|
5847
5862
|
code: c.too_small,
|
|
@@ -5863,7 +5878,7 @@ class U extends v {
|
|
|
5863
5878
|
const d = /* @__PURE__ */ new Set();
|
|
5864
5879
|
for (const y of m) {
|
|
5865
5880
|
if (y.status === "aborted")
|
|
5866
|
-
return
|
|
5881
|
+
return _;
|
|
5867
5882
|
y.status === "dirty" && t.dirty(), d.add(y.value);
|
|
5868
5883
|
}
|
|
5869
5884
|
return { status: t.value, value: d };
|
|
@@ -5908,7 +5923,7 @@ class z extends v {
|
|
|
5908
5923
|
code: c.invalid_type,
|
|
5909
5924
|
expected: l.function,
|
|
5910
5925
|
received: t.parsedType
|
|
5911
|
-
}),
|
|
5926
|
+
}), _;
|
|
5912
5927
|
function a(o, m) {
|
|
5913
5928
|
return de({
|
|
5914
5929
|
data: o,
|
|
@@ -5944,7 +5959,7 @@ class z extends v {
|
|
|
5944
5959
|
const r = { errorMap: t.common.contextualErrorMap }, s = t.data;
|
|
5945
5960
|
if (this._def.returns instanceof Y) {
|
|
5946
5961
|
const o = this;
|
|
5947
|
-
return
|
|
5962
|
+
return k(async function(...m) {
|
|
5948
5963
|
const d = new E([]), y = await o._def.args.parseAsync(m, r).catch((ve) => {
|
|
5949
5964
|
throw d.addIssue(a(m, ve)), d;
|
|
5950
5965
|
}), S = await Reflect.apply(s, this, y);
|
|
@@ -5954,7 +5969,7 @@ class z extends v {
|
|
|
5954
5969
|
});
|
|
5955
5970
|
} else {
|
|
5956
5971
|
const o = this;
|
|
5957
|
-
return
|
|
5972
|
+
return k(function(...m) {
|
|
5958
5973
|
const d = o._def.args.safeParse(m, r);
|
|
5959
5974
|
if (!d.success)
|
|
5960
5975
|
throw new E([a(m, d.error)]);
|
|
@@ -6020,7 +6035,7 @@ class ae extends v {
|
|
|
6020
6035
|
received: t.data,
|
|
6021
6036
|
code: c.invalid_literal,
|
|
6022
6037
|
expected: this._def.value
|
|
6023
|
-
}),
|
|
6038
|
+
}), _;
|
|
6024
6039
|
}
|
|
6025
6040
|
return { status: "valid", value: e.data };
|
|
6026
6041
|
}
|
|
@@ -6048,7 +6063,7 @@ class Z extends v {
|
|
|
6048
6063
|
expected: b.joinValues(a),
|
|
6049
6064
|
received: t.parsedType,
|
|
6050
6065
|
code: c.invalid_type
|
|
6051
|
-
}),
|
|
6066
|
+
}), _;
|
|
6052
6067
|
}
|
|
6053
6068
|
if (this._def.values.indexOf(e.data) === -1) {
|
|
6054
6069
|
const t = this._getOrReturnCtx(e), a = this._def.values;
|
|
@@ -6056,9 +6071,9 @@ class Z extends v {
|
|
|
6056
6071
|
received: t.data,
|
|
6057
6072
|
code: c.invalid_enum_value,
|
|
6058
6073
|
options: a
|
|
6059
|
-
}),
|
|
6074
|
+
}), _;
|
|
6060
6075
|
}
|
|
6061
|
-
return
|
|
6076
|
+
return k(e.data);
|
|
6062
6077
|
}
|
|
6063
6078
|
get options() {
|
|
6064
6079
|
return this._def.values;
|
|
@@ -6098,7 +6113,7 @@ class ie extends v {
|
|
|
6098
6113
|
expected: b.joinValues(i),
|
|
6099
6114
|
received: a.parsedType,
|
|
6100
6115
|
code: c.invalid_type
|
|
6101
|
-
}),
|
|
6116
|
+
}), _;
|
|
6102
6117
|
}
|
|
6103
6118
|
if (t.indexOf(e.data) === -1) {
|
|
6104
6119
|
const i = b.objectValues(t);
|
|
@@ -6106,9 +6121,9 @@ class ie extends v {
|
|
|
6106
6121
|
received: a.data,
|
|
6107
6122
|
code: c.invalid_enum_value,
|
|
6108
6123
|
options: i
|
|
6109
|
-
}),
|
|
6124
|
+
}), _;
|
|
6110
6125
|
}
|
|
6111
|
-
return
|
|
6126
|
+
return k(e.data);
|
|
6112
6127
|
}
|
|
6113
6128
|
get enum() {
|
|
6114
6129
|
return this._def.values;
|
|
@@ -6130,9 +6145,9 @@ class Y extends v {
|
|
|
6130
6145
|
code: c.invalid_type,
|
|
6131
6146
|
expected: l.promise,
|
|
6132
6147
|
received: t.parsedType
|
|
6133
|
-
}),
|
|
6148
|
+
}), _;
|
|
6134
6149
|
const a = t.parsedType === l.promise ? t.data : Promise.resolve(t.data);
|
|
6135
|
-
return
|
|
6150
|
+
return k(a.then((i) => this._def.type.parseAsync(i, {
|
|
6136
6151
|
path: t.path,
|
|
6137
6152
|
errorMap: t.common.contextualErrorMap
|
|
6138
6153
|
})));
|
|
@@ -6189,9 +6204,9 @@ class I extends v {
|
|
|
6189
6204
|
path: a.path,
|
|
6190
6205
|
parent: a
|
|
6191
6206
|
});
|
|
6192
|
-
return o.status === "aborted" ?
|
|
6207
|
+
return o.status === "aborted" ? _ : (o.status === "dirty" && t.dirty(), s(o.value), { status: t.value, value: o.value });
|
|
6193
6208
|
} else
|
|
6194
|
-
return this._def.schema._parseAsync({ data: a.data, path: a.path, parent: a }).then((o) => o.status === "aborted" ?
|
|
6209
|
+
return this._def.schema._parseAsync({ data: a.data, path: a.path, parent: a }).then((o) => o.status === "aborted" ? _ : (o.status === "dirty" && t.dirty(), s(o.value).then(() => ({ status: t.value, value: o.value }))));
|
|
6195
6210
|
}
|
|
6196
6211
|
if (i.type === "transform")
|
|
6197
6212
|
if (a.common.async === !1) {
|
|
@@ -6225,7 +6240,7 @@ I.createWithPreprocess = (n, e, t) => new I({
|
|
|
6225
6240
|
});
|
|
6226
6241
|
class P extends v {
|
|
6227
6242
|
_parse(e) {
|
|
6228
|
-
return this._getType(e) === l.undefined ?
|
|
6243
|
+
return this._getType(e) === l.undefined ? k(void 0) : this._def.innerType._parse(e);
|
|
6229
6244
|
}
|
|
6230
6245
|
unwrap() {
|
|
6231
6246
|
return this._def.innerType;
|
|
@@ -6238,7 +6253,7 @@ P.create = (n, e) => new P({
|
|
|
6238
6253
|
});
|
|
6239
6254
|
class q extends v {
|
|
6240
6255
|
_parse(e) {
|
|
6241
|
-
return this._getType(e) === l.null ?
|
|
6256
|
+
return this._getType(e) === l.null ? k(null) : this._def.innerType._parse(e);
|
|
6242
6257
|
}
|
|
6243
6258
|
unwrap() {
|
|
6244
6259
|
return this._def.innerType;
|
|
@@ -6320,7 +6335,7 @@ class he extends v {
|
|
|
6320
6335
|
code: c.invalid_type,
|
|
6321
6336
|
expected: l.nan,
|
|
6322
6337
|
received: a.parsedType
|
|
6323
|
-
}),
|
|
6338
|
+
}), _;
|
|
6324
6339
|
}
|
|
6325
6340
|
return { status: "valid", value: e.data };
|
|
6326
6341
|
}
|
|
@@ -6353,7 +6368,7 @@ class se extends v {
|
|
|
6353
6368
|
path: a.path,
|
|
6354
6369
|
parent: a
|
|
6355
6370
|
});
|
|
6356
|
-
return r.status === "aborted" ?
|
|
6371
|
+
return r.status === "aborted" ? _ : r.status === "dirty" ? (t.dirty(), Se(r.value)) : this._def.out._parseAsync({
|
|
6357
6372
|
data: r.value,
|
|
6358
6373
|
path: a.path,
|
|
6359
6374
|
parent: a
|
|
@@ -6365,7 +6380,7 @@ class se extends v {
|
|
|
6365
6380
|
path: a.path,
|
|
6366
6381
|
parent: a
|
|
6367
6382
|
});
|
|
6368
|
-
return i.status === "aborted" ?
|
|
6383
|
+
return i.status === "aborted" ? _ : i.status === "dirty" ? (t.dirty(), {
|
|
6369
6384
|
status: "dirty",
|
|
6370
6385
|
value: i.value
|
|
6371
6386
|
}) : this._def.out._parseSync({
|
|
@@ -6409,7 +6424,7 @@ var f;
|
|
|
6409
6424
|
})(f || (f = {}));
|
|
6410
6425
|
const lt = (n, e = {
|
|
6411
6426
|
message: `Input not instance of ${n.name}`
|
|
6412
|
-
}) => Oe((t) => t instanceof n, e), Ie = A.create, Me = D.create, ut = he.create, mt = B.create, Ne = J.create, pt = $.create, ft = ue.create, ht =
|
|
6427
|
+
}) => Oe((t) => t instanceof n, e), Ie = A.create, Me = D.create, ut = he.create, mt = B.create, Ne = J.create, pt = $.create, ft = ue.create, ht = Q.create, _t = X.create, gt = W.create, vt = V.create, yt = L.create, bt = me.create, xt = O.create, wt = w.create, Tt = w.strictCreate, Ct = K.create, Rt = ge.create, kt = ee.create, St = N.create, At = te.create, Et = pe.create, Ot = U.create, It = z.create, Mt = ne.create, Nt = ae.create, Pt = Z.create, Lt = ie.create, jt = Y.create, Re = I.create, Dt = P.create, Bt = q.create, Zt = I.createWithPreprocess, Vt = se.create, $t = () => Ie().optional(), Ut = () => Me().optional(), qt = () => Ne().optional(), Gt = {
|
|
6413
6428
|
string: (n) => A.create({ ...n, coerce: !0 }),
|
|
6414
6429
|
number: (n) => D.create({ ...n, coerce: !0 }),
|
|
6415
6430
|
boolean: (n) => J.create({
|
|
@@ -6418,7 +6433,7 @@ const lt = (n, e = {
|
|
|
6418
6433
|
}),
|
|
6419
6434
|
bigint: (n) => B.create({ ...n, coerce: !0 }),
|
|
6420
6435
|
date: (n) => $.create({ ...n, coerce: !0 })
|
|
6421
|
-
}, zt =
|
|
6436
|
+
}, zt = _;
|
|
6422
6437
|
var Wt = /* @__PURE__ */ Object.freeze({
|
|
6423
6438
|
__proto__: null,
|
|
6424
6439
|
defaultErrorMap: F,
|
|
@@ -6428,9 +6443,9 @@ var Wt = /* @__PURE__ */ Object.freeze({
|
|
|
6428
6443
|
EMPTY_PATH: Je,
|
|
6429
6444
|
addIssueToContext: u,
|
|
6430
6445
|
ParseStatus: T,
|
|
6431
|
-
INVALID:
|
|
6446
|
+
INVALID: _,
|
|
6432
6447
|
DIRTY: Se,
|
|
6433
|
-
OK:
|
|
6448
|
+
OK: k,
|
|
6434
6449
|
isAborted: xe,
|
|
6435
6450
|
isDirty: we,
|
|
6436
6451
|
isValid: H,
|
|
@@ -6450,15 +6465,15 @@ var Wt = /* @__PURE__ */ Object.freeze({
|
|
|
6450
6465
|
ZodBoolean: J,
|
|
6451
6466
|
ZodDate: $,
|
|
6452
6467
|
ZodSymbol: ue,
|
|
6453
|
-
ZodUndefined:
|
|
6454
|
-
ZodNull:
|
|
6468
|
+
ZodUndefined: Q,
|
|
6469
|
+
ZodNull: X,
|
|
6455
6470
|
ZodAny: W,
|
|
6456
6471
|
ZodUnknown: V,
|
|
6457
6472
|
ZodNever: L,
|
|
6458
6473
|
ZodVoid: me,
|
|
6459
6474
|
ZodArray: O,
|
|
6460
6475
|
ZodObject: w,
|
|
6461
|
-
ZodUnion:
|
|
6476
|
+
ZodUnion: K,
|
|
6462
6477
|
ZodDiscriminatedUnion: ge,
|
|
6463
6478
|
ZodIntersection: ee,
|
|
6464
6479
|
ZodTuple: N,
|
|
@@ -6567,22 +6582,25 @@ const Yt = [
|
|
|
6567
6582
|
"REFERRAL_OVERVIEW",
|
|
6568
6583
|
"REFERRAL_RECORD",
|
|
6569
6584
|
"REWARD_TEMPLATE",
|
|
6585
|
+
"QUEUE",
|
|
6570
6586
|
"BIN"
|
|
6571
|
-
].map((n) => `$connect-${n}`), Ft = Wt.enum(Yt),
|
|
6587
|
+
].map((n) => `$connect-${n}`), Ft = Wt.enum(Yt), h = Ft.Enum, Xt = [
|
|
6572
6588
|
{
|
|
6573
6589
|
path: "",
|
|
6574
|
-
name:
|
|
6575
|
-
redirect: { name:
|
|
6590
|
+
name: h["$connect-DASHBOARD"],
|
|
6591
|
+
redirect: { name: h["$connect-ANALYTIC"] }
|
|
6576
6592
|
},
|
|
6577
6593
|
{
|
|
6578
6594
|
path: "/analytic",
|
|
6579
6595
|
component: () => import("./MainLayout-B1aJoR95.js"),
|
|
6580
|
-
redirect: { name:
|
|
6596
|
+
redirect: { name: h["$connect-ANALYTIC"] },
|
|
6581
6597
|
children: [
|
|
6582
6598
|
{
|
|
6583
6599
|
path: "/analytic",
|
|
6584
|
-
name:
|
|
6585
|
-
component:
|
|
6600
|
+
name: h["$connect-ANALYTIC"],
|
|
6601
|
+
component: C(
|
|
6602
|
+
R(() => import("./Analytic-WXmpLkLU.js"))
|
|
6603
|
+
),
|
|
6586
6604
|
meta: {
|
|
6587
6605
|
validationManifest: {
|
|
6588
6606
|
requiredCaslPermissions: [
|
|
@@ -6598,14 +6616,16 @@ const Yt = [
|
|
|
6598
6616
|
},
|
|
6599
6617
|
{
|
|
6600
6618
|
path: "/campaign",
|
|
6601
|
-
name:
|
|
6602
|
-
redirect:
|
|
6619
|
+
name: h["$connect-CAMPAIGN"],
|
|
6620
|
+
redirect: h["$connect-CAMPAIGN_PROMOTION"],
|
|
6603
6621
|
component: () => import("./MainLayout-B1aJoR95.js"),
|
|
6604
6622
|
children: [
|
|
6605
6623
|
{
|
|
6606
6624
|
path: "/campaign/promotion",
|
|
6607
|
-
name:
|
|
6608
|
-
component:
|
|
6625
|
+
name: h["$connect-CAMPAIGN_PROMOTION"],
|
|
6626
|
+
component: C(
|
|
6627
|
+
R(() => import("./Promotion-4yBcCEQA.js"))
|
|
6628
|
+
),
|
|
6609
6629
|
meta: {
|
|
6610
6630
|
validationManifest: {
|
|
6611
6631
|
requiredCaslPermissions: [
|
|
@@ -6619,12 +6639,14 @@ const Yt = [
|
|
|
6619
6639
|
},
|
|
6620
6640
|
{
|
|
6621
6641
|
path: "/campaign/voucher",
|
|
6622
|
-
redirect: { name:
|
|
6642
|
+
redirect: { name: h["$connect-CAMPAIGN_VOUCHER"] },
|
|
6623
6643
|
children: [
|
|
6624
6644
|
{
|
|
6625
6645
|
path: "/campaign/voucher",
|
|
6626
|
-
name:
|
|
6627
|
-
component:
|
|
6646
|
+
name: h["$connect-CAMPAIGN_VOUCHER"],
|
|
6647
|
+
component: C(
|
|
6648
|
+
R(() => import("./Voucher-A_GG0E5t.js"))
|
|
6649
|
+
),
|
|
6628
6650
|
meta: {
|
|
6629
6651
|
validationManifest: {
|
|
6630
6652
|
requiredCaslPermissions: [
|
|
@@ -6638,8 +6660,12 @@ const Yt = [
|
|
|
6638
6660
|
},
|
|
6639
6661
|
{
|
|
6640
6662
|
path: "/campaign/voucher/:id/collections",
|
|
6641
|
-
name:
|
|
6642
|
-
component:
|
|
6663
|
+
name: h["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
|
|
6664
|
+
component: C(
|
|
6665
|
+
R(
|
|
6666
|
+
() => import("./Collections-BeQ_uFRE.js")
|
|
6667
|
+
)
|
|
6668
|
+
),
|
|
6643
6669
|
meta: {
|
|
6644
6670
|
validationManifest: {
|
|
6645
6671
|
requiredCaslPermissions: [
|
|
@@ -6655,8 +6681,10 @@ const Yt = [
|
|
|
6655
6681
|
},
|
|
6656
6682
|
{
|
|
6657
6683
|
path: "/campaign/broadcast",
|
|
6658
|
-
name:
|
|
6659
|
-
component:
|
|
6684
|
+
name: h["$connect-CAMPAIGN_BROADCAST"],
|
|
6685
|
+
component: C(
|
|
6686
|
+
R(() => import("./Broadcast-vIqSNTJh.js"))
|
|
6687
|
+
),
|
|
6660
6688
|
meta: {
|
|
6661
6689
|
validationManifest: {
|
|
6662
6690
|
requiredCaslPermissions: [
|
|
@@ -6673,7 +6701,9 @@ const Yt = [
|
|
|
6673
6701
|
{
|
|
6674
6702
|
path: "/program",
|
|
6675
6703
|
// component: () => import('@/layouts/MainLayout.vue'),
|
|
6676
|
-
component:
|
|
6704
|
+
component: C(
|
|
6705
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
6706
|
+
),
|
|
6677
6707
|
meta: {
|
|
6678
6708
|
validationManifest: {
|
|
6679
6709
|
requiredCaslPermissions: [
|
|
@@ -6684,49 +6714,51 @@ const Yt = [
|
|
|
6684
6714
|
]
|
|
6685
6715
|
}
|
|
6686
6716
|
},
|
|
6687
|
-
name:
|
|
6688
|
-
redirect:
|
|
6717
|
+
name: h["$connect-PROGRAM"],
|
|
6718
|
+
redirect: h["$connect-PROGRAM_TIER"],
|
|
6689
6719
|
children: [
|
|
6690
6720
|
{
|
|
6691
6721
|
path: "/program/tier",
|
|
6692
|
-
name:
|
|
6693
|
-
component: () => import("./Tier-
|
|
6722
|
+
name: h["$connect-PROGRAM_TIER"],
|
|
6723
|
+
component: () => import("./Tier-B26lO0SB.js")
|
|
6694
6724
|
},
|
|
6695
6725
|
{
|
|
6696
6726
|
path: "/program/title",
|
|
6697
|
-
name:
|
|
6698
|
-
component: () => import("./Title-
|
|
6727
|
+
name: h["$connect-PROGRAM_TITLE"],
|
|
6728
|
+
component: () => import("./Title-BASSyfhP.js")
|
|
6699
6729
|
},
|
|
6700
6730
|
{
|
|
6701
6731
|
path: "/program/experience",
|
|
6702
|
-
name:
|
|
6703
|
-
component: () => import("./Experience-
|
|
6732
|
+
name: h["$connect-PROGRAM_EXPERIENCE"],
|
|
6733
|
+
component: () => import("./Experience-DQ5ofpRU.js")
|
|
6704
6734
|
},
|
|
6705
6735
|
{
|
|
6706
6736
|
path: "/program/point",
|
|
6707
|
-
name:
|
|
6708
|
-
component: () => import("./Point-
|
|
6737
|
+
name: h["$connect-PROGRAM_POINT"],
|
|
6738
|
+
component: () => import("./Point-DhYeSbYo.js")
|
|
6709
6739
|
},
|
|
6710
6740
|
{
|
|
6711
6741
|
path: "/program/credit",
|
|
6712
|
-
name:
|
|
6713
|
-
component: () => import("./Credit-
|
|
6742
|
+
name: h["$connect-PROGRAM_CREDIT"],
|
|
6743
|
+
component: () => import("./Credit-DWsgc_P1.js")
|
|
6714
6744
|
},
|
|
6715
6745
|
{
|
|
6716
6746
|
path: "/program/game",
|
|
6717
|
-
name:
|
|
6718
|
-
component: () => import("./Game-
|
|
6747
|
+
name: h["$connect-PROGRAM_GAME"],
|
|
6748
|
+
component: () => import("./Game-dl01-cxh.js")
|
|
6719
6749
|
},
|
|
6720
6750
|
{
|
|
6721
6751
|
path: "mission",
|
|
6722
|
-
name:
|
|
6723
|
-
component: () => import("./Mission-
|
|
6752
|
+
name: h["$connect-PROGRAM_MISSION"],
|
|
6753
|
+
component: () => import("./Mission-PjsS8VTH.js")
|
|
6724
6754
|
}
|
|
6725
6755
|
]
|
|
6726
6756
|
},
|
|
6727
6757
|
{
|
|
6728
6758
|
path: "/loyalty",
|
|
6729
|
-
component:
|
|
6759
|
+
component: C(
|
|
6760
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
6761
|
+
),
|
|
6730
6762
|
meta: {
|
|
6731
6763
|
validationManifest: {
|
|
6732
6764
|
requiredCaslPermissions: [
|
|
@@ -6737,50 +6769,52 @@ const Yt = [
|
|
|
6737
6769
|
]
|
|
6738
6770
|
}
|
|
6739
6771
|
},
|
|
6740
|
-
name:
|
|
6741
|
-
redirect:
|
|
6772
|
+
name: h["$connect-LOYALTY"],
|
|
6773
|
+
redirect: h["$connect-LOYALTY_MEMBER"],
|
|
6742
6774
|
children: [
|
|
6743
6775
|
{
|
|
6744
6776
|
path: "/loyalty/member",
|
|
6745
|
-
name:
|
|
6746
|
-
component: () => import("./Member-
|
|
6777
|
+
name: h["$connect-LOYALTY_MEMBER"],
|
|
6778
|
+
component: () => import("./Member-PuWzURyR.js"),
|
|
6747
6779
|
redirect: {
|
|
6748
|
-
name:
|
|
6780
|
+
name: h["$connect-LOYALTY_MEMBER_OVERVIEW"]
|
|
6749
6781
|
},
|
|
6750
6782
|
children: [
|
|
6751
6783
|
{
|
|
6752
6784
|
path: "/loyalty/member",
|
|
6753
|
-
name:
|
|
6785
|
+
name: h["$connect-LOYALTY_MEMBER_OVERVIEW"],
|
|
6754
6786
|
component: () => import("./MemberOverview-C2n9oJZh.js")
|
|
6755
6787
|
},
|
|
6756
6788
|
{
|
|
6757
6789
|
path: "/loyalty/member/list",
|
|
6758
|
-
name:
|
|
6759
|
-
component: () => import("./MemberList-
|
|
6790
|
+
name: h["$connect-LOYALTY_MEMBER_LIST"],
|
|
6791
|
+
component: () => import("./MemberList-dQljjKIC.js")
|
|
6760
6792
|
},
|
|
6761
6793
|
{
|
|
6762
6794
|
path: "/loyalty/member/transactions/:id",
|
|
6763
|
-
name:
|
|
6764
|
-
component: () => import("./MemberTransactions-
|
|
6795
|
+
name: h["$connect-LOYALTY_MEMBER_TRANSACTIONS"],
|
|
6796
|
+
component: () => import("./MemberTransactions-BH1U_v3f.js")
|
|
6765
6797
|
}
|
|
6766
6798
|
]
|
|
6767
6799
|
},
|
|
6768
6800
|
{
|
|
6769
6801
|
path: "/loyalty/segment",
|
|
6770
|
-
name:
|
|
6771
|
-
component: () => import("./Segment-
|
|
6802
|
+
name: h["$connect-LOYALTY_SEGMENT"],
|
|
6803
|
+
component: () => import("./Segment-DONb4N1l.js")
|
|
6772
6804
|
},
|
|
6773
6805
|
{
|
|
6774
6806
|
path: "/loyalty/card",
|
|
6775
|
-
name:
|
|
6776
|
-
component: () => import("./Card-
|
|
6807
|
+
name: h["$connect-LOYALTY_CARD"],
|
|
6808
|
+
component: () => import("./Card-CGyBry4S.js")
|
|
6777
6809
|
}
|
|
6778
6810
|
]
|
|
6779
6811
|
},
|
|
6780
6812
|
{
|
|
6781
6813
|
path: "/referral",
|
|
6782
|
-
redirect: { name:
|
|
6783
|
-
component:
|
|
6814
|
+
redirect: { name: h["$connect-REFERRAL"] },
|
|
6815
|
+
component: C(
|
|
6816
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
6817
|
+
),
|
|
6784
6818
|
meta: {
|
|
6785
6819
|
validationManifest: {
|
|
6786
6820
|
requiredCaslPermissions: [
|
|
@@ -6794,21 +6828,21 @@ const Yt = [
|
|
|
6794
6828
|
children: [
|
|
6795
6829
|
{
|
|
6796
6830
|
path: "/referral",
|
|
6797
|
-
name:
|
|
6798
|
-
component: () => import("./Index-
|
|
6831
|
+
name: h["$connect-REFERRAL"],
|
|
6832
|
+
component: () => import("./Index-B33SYml2.js"),
|
|
6799
6833
|
redirect: {
|
|
6800
|
-
name:
|
|
6834
|
+
name: h["$connect-REFERRAL_OVERVIEW"]
|
|
6801
6835
|
},
|
|
6802
6836
|
children: [
|
|
6803
6837
|
{
|
|
6804
6838
|
path: "/referral",
|
|
6805
|
-
name:
|
|
6806
|
-
component: () => import("./Overview-
|
|
6839
|
+
name: h["$connect-REFERRAL_OVERVIEW"],
|
|
6840
|
+
component: () => import("./Overview-B6zXdxIf.js")
|
|
6807
6841
|
},
|
|
6808
6842
|
{
|
|
6809
6843
|
path: "/referral/record",
|
|
6810
|
-
name:
|
|
6811
|
-
component: () => import("./Record-
|
|
6844
|
+
name: h["$connect-REFERRAL_RECORD"],
|
|
6845
|
+
component: () => import("./Record-FxeE4KZe.js")
|
|
6812
6846
|
}
|
|
6813
6847
|
]
|
|
6814
6848
|
}
|
|
@@ -6816,7 +6850,9 @@ const Yt = [
|
|
|
6816
6850
|
},
|
|
6817
6851
|
{
|
|
6818
6852
|
path: "/store",
|
|
6819
|
-
component:
|
|
6853
|
+
component: C(
|
|
6854
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
6855
|
+
),
|
|
6820
6856
|
meta: {
|
|
6821
6857
|
validationManifest: {
|
|
6822
6858
|
requiredCaslPermissions: [
|
|
@@ -6830,22 +6866,22 @@ const Yt = [
|
|
|
6830
6866
|
children: [
|
|
6831
6867
|
{
|
|
6832
6868
|
path: "/store",
|
|
6833
|
-
name:
|
|
6834
|
-
component: () => import("./Store-
|
|
6869
|
+
name: h["$connect-STORE"],
|
|
6870
|
+
component: () => import("./Store-BlaFXTeO.js")
|
|
6835
6871
|
},
|
|
6836
6872
|
{
|
|
6837
6873
|
path: "/store/rewards",
|
|
6838
|
-
redirect: { name:
|
|
6874
|
+
redirect: { name: h["$connect-STORE_REWARDS"] },
|
|
6839
6875
|
children: [
|
|
6840
6876
|
{
|
|
6841
6877
|
path: "/store/rewards",
|
|
6842
|
-
name:
|
|
6843
|
-
component: () => import("./StoreRewards-
|
|
6878
|
+
name: h["$connect-STORE_REWARDS"],
|
|
6879
|
+
component: () => import("./StoreRewards-Lqc34UoD.js")
|
|
6844
6880
|
},
|
|
6845
6881
|
{
|
|
6846
6882
|
path: "/store/rewards/:id/collections",
|
|
6847
|
-
name:
|
|
6848
|
-
component: () => import("./Collections-
|
|
6883
|
+
name: h["$connect-STORE_REWARD_COLLECTIONS"],
|
|
6884
|
+
component: () => import("./Collections-BeQ_uFRE.js")
|
|
6849
6885
|
}
|
|
6850
6886
|
]
|
|
6851
6887
|
}
|
|
@@ -6853,7 +6889,9 @@ const Yt = [
|
|
|
6853
6889
|
},
|
|
6854
6890
|
{
|
|
6855
6891
|
path: "/transaction",
|
|
6856
|
-
component:
|
|
6892
|
+
component: C(
|
|
6893
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
6894
|
+
),
|
|
6857
6895
|
meta: {
|
|
6858
6896
|
validationManifest: {
|
|
6859
6897
|
requiredCaslPermissions: [
|
|
@@ -6867,14 +6905,16 @@ const Yt = [
|
|
|
6867
6905
|
children: [
|
|
6868
6906
|
{
|
|
6869
6907
|
path: "/transaction",
|
|
6870
|
-
name:
|
|
6871
|
-
component: () => import("./Transaction-
|
|
6908
|
+
name: h["$connect-TRANSACTION"],
|
|
6909
|
+
component: () => import("./Transaction-BbzBRylw.js")
|
|
6872
6910
|
}
|
|
6873
6911
|
]
|
|
6874
6912
|
},
|
|
6875
6913
|
{
|
|
6876
6914
|
path: "/marketing",
|
|
6877
|
-
component:
|
|
6915
|
+
component: C(
|
|
6916
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
6917
|
+
),
|
|
6878
6918
|
meta: {
|
|
6879
6919
|
validationManifest: {
|
|
6880
6920
|
requiredCaslPermissions: [
|
|
@@ -6888,14 +6928,16 @@ const Yt = [
|
|
|
6888
6928
|
children: [
|
|
6889
6929
|
{
|
|
6890
6930
|
path: "/marketing",
|
|
6891
|
-
name:
|
|
6892
|
-
component: () => import("./Marketing-
|
|
6931
|
+
name: h["$connect-MARKETING"],
|
|
6932
|
+
component: () => import("./Marketing-CqWuI9r1.js")
|
|
6893
6933
|
}
|
|
6894
6934
|
]
|
|
6895
6935
|
},
|
|
6896
6936
|
{
|
|
6897
6937
|
path: "/reward",
|
|
6898
|
-
component:
|
|
6938
|
+
component: C(
|
|
6939
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
6940
|
+
),
|
|
6899
6941
|
meta: {
|
|
6900
6942
|
validationManifest: {
|
|
6901
6943
|
requiredCaslPermissions: [
|
|
@@ -6909,14 +6951,16 @@ const Yt = [
|
|
|
6909
6951
|
children: [
|
|
6910
6952
|
{
|
|
6911
6953
|
path: "/reward",
|
|
6912
|
-
name:
|
|
6913
|
-
component: () => import("./Reward-
|
|
6954
|
+
name: h["$connect-REWARD_TEMPLATE"],
|
|
6955
|
+
component: () => import("./Reward-B4licTuW.js")
|
|
6914
6956
|
}
|
|
6915
6957
|
]
|
|
6916
6958
|
},
|
|
6917
6959
|
{
|
|
6918
6960
|
path: "/setting",
|
|
6919
|
-
component:
|
|
6961
|
+
component: C(
|
|
6962
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
6963
|
+
),
|
|
6920
6964
|
meta: {
|
|
6921
6965
|
validationManifest: {
|
|
6922
6966
|
requiredCaslPermissions: [
|
|
@@ -6930,14 +6974,16 @@ const Yt = [
|
|
|
6930
6974
|
children: [
|
|
6931
6975
|
{
|
|
6932
6976
|
path: "/setting",
|
|
6933
|
-
name:
|
|
6934
|
-
component: () => import("./Setting-
|
|
6977
|
+
name: h["$connect-SETTING"],
|
|
6978
|
+
component: () => import("./Setting-BQOcVtGa.js")
|
|
6935
6979
|
}
|
|
6936
6980
|
]
|
|
6937
6981
|
},
|
|
6938
6982
|
{
|
|
6939
6983
|
path: "/bin",
|
|
6940
|
-
component:
|
|
6984
|
+
component: C(
|
|
6985
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
6986
|
+
),
|
|
6941
6987
|
meta: {
|
|
6942
6988
|
validationManifest: {
|
|
6943
6989
|
requiredCaslPermissions: [
|
|
@@ -6951,24 +6997,47 @@ const Yt = [
|
|
|
6951
6997
|
children: [
|
|
6952
6998
|
{
|
|
6953
6999
|
path: "/bin",
|
|
6954
|
-
name:
|
|
6955
|
-
component: () => import("./Bin-
|
|
7000
|
+
name: h["$connect-BIN"],
|
|
7001
|
+
component: () => import("./Bin-COj4GqKe.js")
|
|
7002
|
+
}
|
|
7003
|
+
]
|
|
7004
|
+
},
|
|
7005
|
+
{
|
|
7006
|
+
path: "/queue",
|
|
7007
|
+
component: C(
|
|
7008
|
+
R(() => import("./MainLayout-B1aJoR95.js"))
|
|
7009
|
+
),
|
|
7010
|
+
meta: {
|
|
7011
|
+
validationManifest: {
|
|
7012
|
+
requiredCaslPermissions: [
|
|
7013
|
+
{
|
|
7014
|
+
action: x.Action.manage,
|
|
7015
|
+
subject: x.Subject.Business.membership
|
|
7016
|
+
}
|
|
7017
|
+
]
|
|
7018
|
+
}
|
|
7019
|
+
},
|
|
7020
|
+
children: [
|
|
7021
|
+
{
|
|
7022
|
+
path: "/queue",
|
|
7023
|
+
name: h["$connect-QUEUE"],
|
|
7024
|
+
component: () => import("./Queue-BCOe370v.js")
|
|
6956
7025
|
}
|
|
6957
7026
|
]
|
|
6958
7027
|
}
|
|
6959
|
-
],
|
|
7028
|
+
], Kt = {
|
|
6960
7029
|
"en-US": De,
|
|
6961
7030
|
"zh-CN": $e,
|
|
6962
7031
|
"th-TH": qe,
|
|
6963
7032
|
"zh-Hant": Ye
|
|
6964
|
-
}, en = () => import("./App-
|
|
7033
|
+
}, en = () => import("./App-jBGNDeCb.js").then((n) => n.default);
|
|
6965
7034
|
export {
|
|
6966
7035
|
en as F,
|
|
6967
|
-
|
|
7036
|
+
h as R,
|
|
6968
7037
|
c as Z,
|
|
6969
7038
|
l as a,
|
|
6970
7039
|
F as e,
|
|
6971
|
-
|
|
6972
|
-
|
|
7040
|
+
Kt as i,
|
|
7041
|
+
Xt as r,
|
|
6973
7042
|
Wt as z
|
|
6974
7043
|
};
|