@feedmepos/mf-connect 0.1.0-beta.4 → 0.1.0-beta.40
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-DArrGnk-.js +426 -0
- package/dist/{App-BnQwjxIr.js → App-CxJaPSSE.js} +397 -384
- package/dist/{Broadcast-y1kP18mo.js → Broadcast-C5CtxHYC.js} +32 -32
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Dj0JUMOk.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DJAGRlyI.js} +6 -8
- package/dist/Card-ZsgNMrz5.js +894 -0
- package/dist/{Collections-DPfbZMg1.js → Collections-CodLm2hP.js} +28 -34
- package/dist/{Credit-QleM_b6q.js → Credit-8qliEPqA.js} +14 -14
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +108 -0
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DZOeB8YS.js +2209 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-2hRTF1EJ.js → EffectSheet.vue_vue_type_style_index_0_lang-Cf4nXUmp.js} +8 -8
- package/dist/{Experience-DGKj8ChY.js → Experience-DR0_RUqZ.js} +8 -8
- package/dist/{Game-BxRdzSma.js → Game-BZkQZDV_.js} +15 -15
- package/dist/Index-BP9YGCex.js +255 -0
- package/dist/Marketing-Bt-ViwTP.js +20070 -0
- package/dist/{Member-CteeBDi2.js → Member-DW_uVRyE.js} +4 -4
- package/dist/MemberList-BQcsV-Bz.js +1554 -0
- package/dist/MemberTransactions-xJaYPP7W.js +45 -0
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CZ2M8huU.js → MessageInput.vue_vue_type_script_setup_true_lang-Txp1lndf.js} +2 -2
- package/dist/{Mission-CZgXBa09.js → Mission-CQ2PlxLv.js} +98 -86
- package/dist/Overview-CWhTf5Tz.js +1063 -0
- package/dist/{Point-C2vzEfRP.js → Point-BCvUsXLl.js} +23 -23
- package/dist/{Promotion-337OT0sP.js → Promotion-CrROpksP.js} +53 -47
- package/dist/Record-B6RRMDQn.js +337 -0
- package/dist/Reward-CTZ3IllK.js +432 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-C19vRccs.js +149 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-C3irbjUK.js +1637 -0
- package/dist/Segment-h-HRoL19.js +566 -0
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-D5kijSzp.js +181 -0
- package/dist/{Setting-DVK2594u.js → Setting-CZIFruFT.js} +8 -8
- package/dist/Store-CbjSMVfb.js +1743 -0
- package/dist/{StoreRewards-BpEmNueE.js → StoreRewards-zkEVickE.js} +12 -12
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-DU5v6oro.js +1099 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DT48bSiH.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-i_y1gFyL.js} +1 -1
- package/dist/{Tier-BwvOhyXR.js → Tier-BCgp2Ngt.js} +325 -317
- package/dist/{Title-DRPdKYRO.js → Title-CJNx0TkK.js} +197 -183
- package/dist/{Transaction-BnLvacwW.js → Transaction-DWvfvfsk.js} +2 -2
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-Dkln_L8k.js +130 -0
- package/dist/{Voucher-BQL8J_EA.js → Voucher-bYVNHe4l.js} +31 -31
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-BX0Fo_5O.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B316b_ta.js → ZodTextField.vue_vue_type_script_setup_true_lang-D5Idn8So.js} +1 -1
- package/dist/{app-BVaQwBvq.js → app-CdJSO9Ad.js} +1 -1
- package/dist/{app-zO552-Dl.js → app-fsxaQBSg.js} +1183 -1154
- package/dist/app.js +1 -1
- package/dist/{business-BSl6NSdS.js → business-CDeQ06qx.js} +1 -1
- package/dist/{campaign-CxN6mq_l.js → campaign-D8lQOOTp.js} +2 -2
- package/dist/campaign-Dwea7uho.js +1810 -0
- package/dist/campaign.enum-CF_gt52u.js +20 -0
- package/dist/campaign.fn-BavlaqB6.js +758 -0
- package/dist/collectible.enum-DVZRkRwR.js +19 -0
- package/dist/{collection.fn-C-2dyWp9.js → collection.fn-CIicjfIz.js} +2 -2
- package/dist/dto-CMkenMV_.js +214 -0
- package/dist/{effect-D8y0J47O.js → effect-IbJ225qB.js} +9 -9
- package/dist/email-addresses-LDTzLm79.js +705 -0
- package/dist/{export-BxTrifKO.js → export-BCSOuQ5g.js} +3 -3
- package/dist/{helper-bEmZlTwA.js → helper-BZxLzAuG.js} +1 -1
- package/dist/{index-B2qriSSk.js → index-0Lmb_8CU.js} +1 -1
- package/dist/{index-JBp0chol.js → index-B3r9-9qd.js} +1500 -1479
- package/dist/{index-BFWCbVq2.js → index-BVd0uPuT.js} +1 -1
- package/dist/{index-Dnv999nc.js → index-BtFnlSuJ.js} +1 -1
- package/dist/{index-Ckz-D_AP.js → index-BxrHVPJL.js} +2188 -931
- package/dist/index-C0VSGU1p.js +32 -0
- package/dist/{index-DuYb25dY.js → index-CYLAuP7e.js} +34 -4
- package/dist/index-CcpRLc8R.js +44 -0
- package/dist/index-CsaQJMAR.js +66 -0
- package/dist/index-CvW4f2DA.js +29000 -0
- package/dist/{index-DHTYWfTs.js → index-DG0LFjr2.js} +207 -195
- package/dist/index-DbmWadFy.js +54 -0
- package/dist/index-vh86FiIQ.js +10 -0
- package/dist/{index-C_WyKCqN.js → index-xoJ0Hv7u.js} +1 -1
- package/dist/{index.esm2017-Tw7KabwI.js → index.esm2017-CaKC72Zr.js} +33 -33
- package/dist/{loading-60xYxow_.js → loading-CmdIDK9W.js} +591 -597
- package/dist/{membership-43FU3EmV.js → membership-BKNbXD5h.js} +52 -44
- package/dist/money-DbuB1-Ff.js +15 -0
- package/dist/number-CJ4JetR2.js +12 -0
- package/dist/objectid-CSzIZWFn.js +145 -0
- package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
- package/dist/reward-BlvDqH4n.js +36 -0
- package/dist/{rule-DlHrKp8K.js → rule-Csn-Prz_.js} +180 -177
- package/dist/{rule-builder-CU8P8b8U.js → rule-builder-BKMY8R7O.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-9StyN-b7.js → template-DyhD97jJ.js} +5 -5
- package/dist/trigger-Cb8-87Qi.js +114 -0
- package/dist/{xlsx-CrRvm5Vs.js → usePagination-9TxpwvcN.js} +3183 -2962
- package/dist/user-Drjp-FP9.js +54 -0
- package/dist/{vue-i18n-UKlvivrG.js → vue-i18n-CDCNED_Y.js} +155 -155
- package/package.json +8 -7
- package/dist/Analytic-BtldByrt.js +0 -622
- package/dist/Card-kW7k8kOl.js +0 -825
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BtI2rY4y.js +0 -2813
- package/dist/Marketing-CG4GQdax.js +0 -316
- package/dist/MemberList-CANkPyR0.js +0 -1733
- package/dist/MemberTransactions-CcCa21fY.js +0 -38
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Dh3naMXv.js +0 -1753
- package/dist/Segment-Clstp5D-.js +0 -437
- package/dist/Store-PnpBvIoo.js +0 -1511
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CrDhK2dt.js +0 -890
- package/dist/dto-B20bsdh6.js +0 -2770
- package/dist/index-BUCjM4jq.js +0 -29193
- package/dist/index-Ceu2PcnH.js +0 -206
- package/dist/index-CuvNtC_M.js +0 -61
- package/dist/index-D3DAgTFI.js +0 -762
- package/dist/index-Kjelmo0Y.js +0 -298
- package/dist/money-CmR3-qMz.js +0 -15
- package/dist/number-CZlrO6Sq.js +0 -12
- package/dist/usePagination-BeF5K3M7.js +0 -223
- package/dist/user-Bm4KttFq.js +0 -37
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { withPermission as
|
|
1
|
+
import { defineAsyncComponent as k } from "vue";
|
|
2
|
+
import { withPermission as R, Permission as x } from "@feedmepos/mf-common";
|
|
3
3
|
const Pe = {
|
|
4
4
|
common: {
|
|
5
|
+
submit: "Submit",
|
|
5
6
|
confirm: "Confirm",
|
|
6
7
|
cancel: "Cancel",
|
|
7
8
|
save: "Save",
|
|
@@ -255,7 +256,8 @@ const Pe = {
|
|
|
255
256
|
store: "Store",
|
|
256
257
|
transaction: "Transaction",
|
|
257
258
|
setting: "Setting",
|
|
258
|
-
mission: "Mission"
|
|
259
|
+
mission: "Mission",
|
|
260
|
+
referral: "Referral"
|
|
259
261
|
},
|
|
260
262
|
loyalty: {
|
|
261
263
|
card: {
|
|
@@ -277,7 +279,8 @@ const Pe = {
|
|
|
277
279
|
phone: "Phone",
|
|
278
280
|
created_at: "Created at",
|
|
279
281
|
bundle: "Bundle",
|
|
280
|
-
redeemed_at: "Redeemed at"
|
|
282
|
+
redeemed_at: "Redeemed at",
|
|
283
|
+
actions: "Actions"
|
|
281
284
|
}
|
|
282
285
|
},
|
|
283
286
|
member: {
|
|
@@ -738,12 +741,13 @@ const Pe = {
|
|
|
738
741
|
type: "Type",
|
|
739
742
|
validity: "Validity",
|
|
740
743
|
used: "Used",
|
|
741
|
-
actions: "Actions"
|
|
744
|
+
actions: "Actions",
|
|
745
|
+
summary: "Summary"
|
|
742
746
|
}
|
|
743
747
|
},
|
|
744
748
|
prompt: {
|
|
745
|
-
confirm: "
|
|
746
|
-
cancel: "
|
|
749
|
+
confirm: "Confirm",
|
|
750
|
+
cancel: "Cancel"
|
|
747
751
|
},
|
|
748
752
|
editTierSheet: {
|
|
749
753
|
add: "Add",
|
|
@@ -757,6 +761,92 @@ const Pe = {
|
|
|
757
761
|
actions: "Actions",
|
|
758
762
|
submit: "Submit",
|
|
759
763
|
cancel: "Cancel"
|
|
764
|
+
},
|
|
765
|
+
referral: {
|
|
766
|
+
title: "Referral Program",
|
|
767
|
+
actions: {
|
|
768
|
+
create: "Create referral",
|
|
769
|
+
manage_reward: "Manage reward",
|
|
770
|
+
terms: "Terms and conditions",
|
|
771
|
+
manage_criteria: "Manage criteria",
|
|
772
|
+
add_referral_tier: "Add referral tier"
|
|
773
|
+
},
|
|
774
|
+
tabs: {
|
|
775
|
+
overview: "Overview",
|
|
776
|
+
record: "Record"
|
|
777
|
+
},
|
|
778
|
+
referral_tier_title: "Set rewards for successful referrals",
|
|
779
|
+
referral_tier_description: "Add and customize rewards for each step within the selected referral tier.",
|
|
780
|
+
add_referral_tier: "Add referral tier",
|
|
781
|
+
overview: {
|
|
782
|
+
title: "Overview",
|
|
783
|
+
total_joined: "Total joined",
|
|
784
|
+
total_redeem: "Total redeemed",
|
|
785
|
+
total_referee: "Total referee",
|
|
786
|
+
pending: "Pending"
|
|
787
|
+
},
|
|
788
|
+
how_it_works: {
|
|
789
|
+
title: "How it works",
|
|
790
|
+
generate_link: "Generate link",
|
|
791
|
+
generate_link_for_member: "Generate link for member",
|
|
792
|
+
referee_join_reward: "Referee join reward",
|
|
793
|
+
referee_meet_criteria: "Referee meet criteria",
|
|
794
|
+
referer_get_reward: "Referer get reward"
|
|
795
|
+
},
|
|
796
|
+
reward: {
|
|
797
|
+
add_count: "Add count"
|
|
798
|
+
},
|
|
799
|
+
editReferralTierSheet: {
|
|
800
|
+
create: "Create referral tier",
|
|
801
|
+
edit: "Edit referral tier",
|
|
802
|
+
target_audience: "Target audience",
|
|
803
|
+
name: "Name"
|
|
804
|
+
},
|
|
805
|
+
editReferralCountSheet: {
|
|
806
|
+
add: "Add referral count",
|
|
807
|
+
edit: "Edit referral count",
|
|
808
|
+
referrer_reward: "Referrer reward",
|
|
809
|
+
min_referral_count: "Min referral count",
|
|
810
|
+
max_referral_count: "Max referral count"
|
|
811
|
+
},
|
|
812
|
+
refereeRewardSheet: {
|
|
813
|
+
referee_reward: "Referee reward"
|
|
814
|
+
},
|
|
815
|
+
referral_count: {
|
|
816
|
+
title: "Referral count",
|
|
817
|
+
update: {
|
|
818
|
+
range_discontinuous: {
|
|
819
|
+
previous: `The referral count range is not continuous.
|
|
820
|
+
Previous range: {name} [{from} - {to}].
|
|
821
|
+
Do you want to update the previous range to [{from} - {newTo}]?`,
|
|
822
|
+
next: `The referral count range is not continuous.
|
|
823
|
+
Next range: {name} [{from} - {to}].
|
|
824
|
+
Do you want to update the next range to [{newFrom} - {to}]?`
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
remove: {
|
|
828
|
+
confirm: "Are you sure you want to remove this referral count?",
|
|
829
|
+
title: "Remove referral count",
|
|
830
|
+
next_range: "Update next range",
|
|
831
|
+
range_discontinuous: {
|
|
832
|
+
previous: `The referral count range is not continuous.
|
|
833
|
+
Previous range: {name} [{from} - {to}].
|
|
834
|
+
Do you want to update the previous range to [{from} - {newTo}]?`,
|
|
835
|
+
next: `The referral count range is not continuous.
|
|
836
|
+
Next range: {name} [{from} - {to}].
|
|
837
|
+
Do you want to update the next range to [{newFrom} - {to}]?`
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
reward: {
|
|
843
|
+
title: "Reward",
|
|
844
|
+
description: "Reward your customers for successful referrals",
|
|
845
|
+
table: {
|
|
846
|
+
title: "Reward title",
|
|
847
|
+
type: "Reward type",
|
|
848
|
+
description: "Description"
|
|
849
|
+
}
|
|
760
850
|
}
|
|
761
851
|
}, Le = {
|
|
762
852
|
invalid_type: "Expected {{expected}}, received {{received}}",
|
|
@@ -871,7 +961,7 @@ const Pe = {
|
|
|
871
961
|
map: "map",
|
|
872
962
|
set: "set"
|
|
873
963
|
}
|
|
874
|
-
},
|
|
964
|
+
}, je = {
|
|
875
965
|
timeframe: {
|
|
876
966
|
end_before_start: "End date must be later or same as start date"
|
|
877
967
|
},
|
|
@@ -887,11 +977,11 @@ const Pe = {
|
|
|
887
977
|
reward_threshold_unique: "Reward threshold must be unique",
|
|
888
978
|
effect_required: "Effect is required"
|
|
889
979
|
}
|
|
890
|
-
},
|
|
980
|
+
}, De = {
|
|
891
981
|
connect: Pe,
|
|
892
982
|
connectZod: Le,
|
|
893
|
-
connectZodCustom:
|
|
894
|
-
},
|
|
983
|
+
connectZodCustom: je
|
|
984
|
+
}, Ze = {
|
|
895
985
|
common: {
|
|
896
986
|
confirm: "确认",
|
|
897
987
|
cancel: "取消",
|
|
@@ -1166,7 +1256,8 @@ const Pe = {
|
|
|
1166
1256
|
phone: "电话",
|
|
1167
1257
|
created_at: "创建于",
|
|
1168
1258
|
bundle: "捆绑",
|
|
1169
|
-
redeemed_at: "兑换于"
|
|
1259
|
+
redeemed_at: "兑换于",
|
|
1260
|
+
actions: "操作"
|
|
1170
1261
|
}
|
|
1171
1262
|
},
|
|
1172
1263
|
member: {
|
|
@@ -1647,7 +1738,7 @@ const Pe = {
|
|
|
1647
1738
|
submit: "提交",
|
|
1648
1739
|
cancel: "取消"
|
|
1649
1740
|
}
|
|
1650
|
-
},
|
|
1741
|
+
}, Ve = {
|
|
1651
1742
|
errors: {
|
|
1652
1743
|
invalid_type: "预期输入为{{expected}},而输入为{{received}}",
|
|
1653
1744
|
invalid_type_received_undefined: "必填",
|
|
@@ -1759,7 +1850,7 @@ const Pe = {
|
|
|
1759
1850
|
map: "字典",
|
|
1760
1851
|
set: "集合"
|
|
1761
1852
|
}
|
|
1762
|
-
},
|
|
1853
|
+
}, $e = {
|
|
1763
1854
|
timeframe: {
|
|
1764
1855
|
end_before_start: "结束日期必须晚于或等于开始日期"
|
|
1765
1856
|
},
|
|
@@ -1776,898 +1867,774 @@ const Pe = {
|
|
|
1776
1867
|
effect_required: "效果是必需的"
|
|
1777
1868
|
}
|
|
1778
1869
|
}, Be = {
|
|
1779
|
-
connect:
|
|
1780
|
-
connectZod:
|
|
1781
|
-
connectZodCustom:
|
|
1782
|
-
},
|
|
1783
|
-
common: {
|
|
1784
|
-
confirm: "Confirm",
|
|
1785
|
-
cancel: "Cancel",
|
|
1786
|
-
save: "Save",
|
|
1787
|
-
delete: "Delete",
|
|
1788
|
-
edit: "Edit",
|
|
1789
|
-
add: "Add",
|
|
1790
|
-
optional: "Optional"
|
|
1791
|
-
},
|
|
1792
|
-
template: {
|
|
1793
|
-
general: "General",
|
|
1794
|
-
trigger: "Trigger",
|
|
1795
|
-
general_information: "General information",
|
|
1796
|
-
discount: "Discount",
|
|
1797
|
-
terms_conditions: "Terms and conditions",
|
|
1798
|
-
time_limitation: "Time limitation",
|
|
1799
|
-
target_audience: "Target audience",
|
|
1800
|
-
game_configuration: "Game configuration",
|
|
1801
|
-
location: "Location",
|
|
1802
|
-
voucher_detail: "Voucher detail",
|
|
1803
|
-
spending_criteria: "Spending criteria",
|
|
1804
|
-
feedback_criteria: "Feedback criteria",
|
|
1805
|
-
voucher_usage_configuration: "Voucher usage configuration",
|
|
1806
|
-
notify_audience: "Notify audience",
|
|
1807
|
-
notify_message: "Notify message",
|
|
1808
|
-
earning_type: "Earning type",
|
|
1809
|
-
validity_configuration: "Validity configuration",
|
|
1810
|
-
mission_participation: "Mission participation",
|
|
1811
|
-
configure_reward: "Configure reward",
|
|
1812
|
-
content: "Content",
|
|
1813
|
-
broadcast_configuration: "Broadcast configuration",
|
|
1814
|
-
game_type: "Game type",
|
|
1815
|
-
reward_pool: "Reward pool",
|
|
1816
|
-
configuration: "Configuration",
|
|
1817
|
-
campaign_name: "Campaign name",
|
|
1818
|
-
campaign_description: "Campaign description",
|
|
1819
|
-
campaign_period: "Campaign period",
|
|
1820
|
-
voucher_name: "Voucher name",
|
|
1821
|
-
voucher_description: "Voucher description",
|
|
1822
|
-
voucher_image: "Voucher image",
|
|
1823
|
-
target_location: "Target location",
|
|
1824
|
-
send_notification: "Send notification",
|
|
1825
|
-
notification_message: "Notification message",
|
|
1826
|
-
min_spend: "Min Spend",
|
|
1827
|
-
select_game: "Select a game where you want your customer to play",
|
|
1828
|
-
configure_reward_type: "Configure the reward type and weightage given to your customer.",
|
|
1829
|
-
configure_reward_customer: "Configure the reward type given to your customer.",
|
|
1830
|
-
max_per_user: "Max per user",
|
|
1831
|
-
usage_count: "Usage count",
|
|
1832
|
-
max_distribute: "Max distribute",
|
|
1833
|
-
cooldown: "Cooldown",
|
|
1834
|
-
validity_option: {
|
|
1835
|
-
title: "Validity option",
|
|
1836
|
-
date_range: "Date range",
|
|
1837
|
-
custom: "Custom",
|
|
1838
|
-
expire: "Expires",
|
|
1839
|
-
after_day: "After (days)",
|
|
1840
|
-
days: "days(s)",
|
|
1841
|
-
expire_follow_first_receive: "Expiry follows the first receive",
|
|
1842
|
-
expires_on_same_day: "Expires on the same day"
|
|
1843
|
-
},
|
|
1844
|
-
enable_transfer: "Enable transfer",
|
|
1845
|
-
rule: {
|
|
1846
|
-
time: {
|
|
1847
|
-
all_time: "All time",
|
|
1848
|
-
custom: "Custom date/time",
|
|
1849
|
-
confirm_remove: "Are you sure you want to turn off custom conditons? This will remove all the rules you have set."
|
|
1850
|
-
},
|
|
1851
|
-
audience: {
|
|
1852
|
-
all: "All audience",
|
|
1853
|
-
member_segment: "Member segment",
|
|
1854
|
-
custom_audience: "Custom audience",
|
|
1855
|
-
confirm_remove: "Are you sure you want to change the audience type? This will remove all the rules you have set."
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1858
|
-
},
|
|
1870
|
+
connect: Ze,
|
|
1871
|
+
connectZod: Ve,
|
|
1872
|
+
connectZodCustom: $e
|
|
1873
|
+
}, Ue = {
|
|
1859
1874
|
campaign: {
|
|
1860
1875
|
common: {
|
|
1861
|
-
createCampaign: "
|
|
1862
|
-
search: "
|
|
1863
|
-
location: "
|
|
1864
|
-
noResults: "
|
|
1876
|
+
createCampaign: "สร้างแคมเปญ",
|
|
1877
|
+
search: "ค้นหา",
|
|
1878
|
+
location: "ตำแหน่ง:",
|
|
1879
|
+
noResults: "ไม่พบผลลัพธ์",
|
|
1865
1880
|
remove: {
|
|
1866
|
-
confirm: "
|
|
1867
|
-
removing: "
|
|
1868
|
-
removed: "
|
|
1881
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
|
|
1882
|
+
removing: "กำลังลบ {name}",
|
|
1883
|
+
removed: "ลบ {name} สำเร็จแล้ว"
|
|
1869
1884
|
},
|
|
1870
1885
|
actions: {
|
|
1871
|
-
remove: "
|
|
1872
|
-
send: "
|
|
1873
|
-
share: "
|
|
1874
|
-
},
|
|
1875
|
-
effect_required: "
|
|
1876
|
-
unsaved_changes: "
|
|
1877
|
-
unsaved_changes_confirm: "
|
|
1878
|
-
unsaved_changes_cancel: "
|
|
1879
|
-
save: "
|
|
1880
|
-
cancel: "
|
|
1881
|
-
summary: "
|
|
1882
|
-
campaign_name: "
|
|
1883
|
-
campaign_period: "
|
|
1884
|
-
next_schedule_at: "
|
|
1885
|
-
discount_type: "
|
|
1886
|
-
discount_amount: "
|
|
1887
|
-
discount_percentage: "
|
|
1888
|
-
all_locations: "
|
|
1889
|
-
available_at: "
|
|
1890
|
-
always: "
|
|
1891
|
-
no_location: "
|
|
1892
|
-
status: {
|
|
1893
|
-
active: "Active",
|
|
1894
|
-
upcoming: "Upcoming",
|
|
1895
|
-
expired: "Expired"
|
|
1896
|
-
}
|
|
1886
|
+
remove: "ลบ",
|
|
1887
|
+
send: "ส่ง",
|
|
1888
|
+
share: "แชร์"
|
|
1889
|
+
},
|
|
1890
|
+
effect_required: "จำเป็นต้องมีผล",
|
|
1891
|
+
unsaved_changes: "คุณแน่ใจหรือไม่ว่าต้องการยกเลิกการเปลี่ยนแปลงนี้",
|
|
1892
|
+
unsaved_changes_confirm: "ยกเลิก",
|
|
1893
|
+
unsaved_changes_cancel: "ยกเลิก",
|
|
1894
|
+
save: "บันทึก",
|
|
1895
|
+
cancel: "ยกเลิก",
|
|
1896
|
+
summary: "สรุปแคมเปญ",
|
|
1897
|
+
campaign_name: "ชื่อแคมเปญ",
|
|
1898
|
+
campaign_period: "ช่วงเวลาแคมเปญ",
|
|
1899
|
+
next_schedule_at: "กำหนดการถัดไป",
|
|
1900
|
+
discount_type: "ประเภทส่วนลด",
|
|
1901
|
+
discount_amount: "จำนวนส่วนลด",
|
|
1902
|
+
discount_percentage: "เปอร์เซ็นต์ส่วนลด",
|
|
1903
|
+
all_locations: "ทุกตำแหน่ง",
|
|
1904
|
+
available_at: "มีให้ใช้งานที่",
|
|
1905
|
+
always: "เสมอ",
|
|
1906
|
+
no_location: "ไม่มีตำแหน่ง"
|
|
1897
1907
|
},
|
|
1898
1908
|
mission: {
|
|
1899
|
-
title: "
|
|
1900
|
-
create: "
|
|
1901
|
-
confirmDelete: "
|
|
1902
|
-
removing: "
|
|
1903
|
-
removed: "
|
|
1904
|
-
updating: "
|
|
1905
|
-
updated: "
|
|
1906
|
-
creating: "
|
|
1907
|
-
created: "
|
|
1908
|
-
location: "
|
|
1909
|
-
createProgram: "
|
|
1910
|
-
description: "
|
|
1911
|
-
createButton: "
|
|
1912
|
-
type: "
|
|
1913
|
-
received: "
|
|
1909
|
+
title: "ภารกิจ",
|
|
1910
|
+
create: "สร้างแคมเปญ",
|
|
1911
|
+
confirmDelete: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
|
|
1912
|
+
removing: "กำลังลบ {name}",
|
|
1913
|
+
removed: "ลบ {name} สำเร็จแล้ว",
|
|
1914
|
+
updating: "กำลังอัปเดตโปรแกรมภารกิจ",
|
|
1915
|
+
updated: "อัปเดตโปรแกรมภารกิจเรียบร้อยแล้ว",
|
|
1916
|
+
creating: "กำลังสร้างโปรแกรมภารกิจ",
|
|
1917
|
+
created: "สร้างโปรแกรมภารกิจสำเร็จแล้ว",
|
|
1918
|
+
location: "ที่ตั้ง:",
|
|
1919
|
+
createProgram: "สร้างโปรแกรมภารกิจของคุณ",
|
|
1920
|
+
description: "ฟีเจอร์ภารกิจเพิ่มองค์ประกอบความสนุกให้กับการช้อปปิ้ง ช่วยกระตุ้นให้ลูกค้ามีส่วนร่วมมากขึ้น",
|
|
1921
|
+
createButton: "สร้างโปรแกรมภารกิจ",
|
|
1922
|
+
type: "ประเภทภารกิจ",
|
|
1923
|
+
received: "ได้รับ"
|
|
1914
1924
|
},
|
|
1915
1925
|
broadcast: {
|
|
1916
|
-
title: "
|
|
1917
|
-
messageSent: "{count}
|
|
1926
|
+
title: "บรอดแคสต์",
|
|
1927
|
+
messageSent: "ส่งแล้ว {count} ครั้ง",
|
|
1918
1928
|
create: {
|
|
1919
|
-
title: "
|
|
1920
|
-
description: "
|
|
1921
|
-
button: "
|
|
1929
|
+
title: "สร้างแคมเปญออกอากาศของคุณ",
|
|
1930
|
+
description: "บรอดแคสต์ทำให้คุณสามารถส่งข้อความถึงลูกค้าทั้งหมด เพื่อแจ้งให้พวกเขาทราบเกี่ยวกับข้อเสนอใหม่ กิจกรรม หรือการอัปเดตที่สำคัญ",
|
|
1931
|
+
button: "สร้างแคมเปญบรอดแคสต์"
|
|
1922
1932
|
},
|
|
1923
1933
|
update: {
|
|
1924
|
-
creating: "
|
|
1925
|
-
updating: "
|
|
1926
|
-
success: "
|
|
1934
|
+
creating: "กำลังสร้างการบรอดแคสต์",
|
|
1935
|
+
updating: "กำลังอัปเดตการบรอดแคสต์",
|
|
1936
|
+
success: "บรอดแคสต์ {action} สำเร็จแล้ว"
|
|
1927
1937
|
}
|
|
1928
1938
|
},
|
|
1929
1939
|
promotion: {
|
|
1930
|
-
title: "
|
|
1931
|
-
typeLabel: "{type}
|
|
1940
|
+
title: "โปรโมชัน",
|
|
1941
|
+
typeLabel: "{type} โปรโมชัน",
|
|
1932
1942
|
create: {
|
|
1933
|
-
title: "
|
|
1934
|
-
description: "
|
|
1935
|
-
button: "
|
|
1943
|
+
title: "สร้างแคมเปญโปรโมชัน",
|
|
1944
|
+
description: "ข้อเสนอพิเศษที่มีให้ในช่วงเวลาจำกัดเพื่อกระตุ้นให้ผู้ใช้มีส่วนร่วมและซื้อ โปรโมชั่นโดยทั่วไปจะมีให้สำหรับผู้ใช้ที่มีสิทธิ์ทุกคนโดยไม่ต้องใช้โค้ดเฉพาะ และจะถูกนำมาใช้โดยร้านค้าในช่วงเวลาที่จัดโปรโมชั่นเท่านั้น",
|
|
1945
|
+
button: "สร้างแคมเปญโปรโมชัน"
|
|
1936
1946
|
},
|
|
1937
1947
|
update: {
|
|
1938
|
-
creating: "
|
|
1939
|
-
updating: "
|
|
1940
|
-
success: "
|
|
1948
|
+
creating: "กำลังสร้างโปรโมชัน",
|
|
1949
|
+
updating: "กำลังอัปเดตโปรโมชัน",
|
|
1950
|
+
success: "โปรโมชัน {action} สำเร็จแล้ว"
|
|
1941
1951
|
}
|
|
1942
1952
|
},
|
|
1943
1953
|
voucher: {
|
|
1944
|
-
title: "
|
|
1945
|
-
claimed: "{count}
|
|
1946
|
-
unlimited: "
|
|
1954
|
+
title: "บัตรกำนัล",
|
|
1955
|
+
claimed: "ได้รับ {count} ครั้ง",
|
|
1956
|
+
unlimited: "ไม่จำกัด",
|
|
1947
1957
|
updateConfirm: {
|
|
1948
|
-
title: "
|
|
1949
|
-
message: "
|
|
1950
|
-
updateAll: "
|
|
1951
|
-
updateFuture: "
|
|
1958
|
+
title: "ยืนยัน",
|
|
1959
|
+
message: "การดำเนินการนี้จะเปลี่ยนแปลงคูปองในอนาคตทั้งหมดหรือไม่ คุณต้องการอัปเดตวันที่หมดอายุและส่วนลดของคูปองที่อ้างสิทธิ์ก่อนหน้านี้หรือไม่",
|
|
1960
|
+
updateAll: "อัปเดตทั้งหมด",
|
|
1961
|
+
updateFuture: "อัปเดตในอนาคตเท่านั้น"
|
|
1952
1962
|
},
|
|
1953
1963
|
create: {
|
|
1954
|
-
title: "
|
|
1955
|
-
description: "
|
|
1956
|
-
button: "
|
|
1964
|
+
title: "สร้างแคมเปญคูปอง",
|
|
1965
|
+
description: "คูปองดิจิทัลที่ผู้ใช้สามารถแลกรับส่วนลดในการซื้อในอนาคต โดยปกติแล้วผู้ใช้จะต้องรับและใช้คูปองเพื่อรับส่วนลด",
|
|
1966
|
+
button: "สร้างแคมเปญคูปอง"
|
|
1957
1967
|
},
|
|
1958
1968
|
update: {
|
|
1959
|
-
creating: "
|
|
1960
|
-
updating: "
|
|
1961
|
-
success: "
|
|
1969
|
+
creating: "กำลังสร้างคูปอง",
|
|
1970
|
+
updating: "กำลังอัปเดตคูปอง",
|
|
1971
|
+
success: "คูปอง {action} สำเร็จ"
|
|
1962
1972
|
},
|
|
1963
1973
|
share: {
|
|
1964
|
-
error: "
|
|
1965
|
-
errorTitle: "
|
|
1966
|
-
errorButton: "
|
|
1967
|
-
success: "
|
|
1974
|
+
error: "ไม่สามารถแชร์คูปองที่ไม่ใช่การอ้างสิทธิ์แบบง่ายได้",
|
|
1975
|
+
errorTitle: "แชร์คูปอง",
|
|
1976
|
+
errorButton: "ตกลง",
|
|
1977
|
+
success: "คัดลอกลิงก์คูปองไปยังคลิปบอร์ดแล้ว"
|
|
1968
1978
|
}
|
|
1969
1979
|
}
|
|
1970
1980
|
},
|
|
1971
1981
|
promotion: {
|
|
1972
|
-
createCampaign: "
|
|
1973
|
-
promotionTitle: "
|
|
1974
|
-
status: "
|
|
1975
|
-
type: "
|
|
1976
|
-
summary: "
|
|
1977
|
-
actions: "
|
|
1978
|
-
confirmRemove: "
|
|
1979
|
-
removing: "
|
|
1980
|
-
removedSuccessfully: "
|
|
1981
|
-
updating: "
|
|
1982
|
-
creating: "
|
|
1983
|
-
updatedSuccessfully: "
|
|
1984
|
-
createdSuccessfully: "
|
|
1985
|
-
title: "
|
|
1986
|
-
search: "
|
|
1987
|
-
location: "
|
|
1988
|
-
createPromotionCampaign: "
|
|
1989
|
-
description: "
|
|
1982
|
+
createCampaign: "สร้างแคมเปญ",
|
|
1983
|
+
promotionTitle: "ชื่อโปรโมชัน",
|
|
1984
|
+
status: "สถานะ",
|
|
1985
|
+
type: "ประเภท",
|
|
1986
|
+
summary: "สรุป",
|
|
1987
|
+
actions: "การดำเนินการ",
|
|
1988
|
+
confirmRemove: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
|
|
1989
|
+
removing: "กำลังลบ {name}",
|
|
1990
|
+
removedSuccessfully: "ลบ {name} สำเร็จ",
|
|
1991
|
+
updating: "กำลังอัปเดตโปรโมชัน",
|
|
1992
|
+
creating: "กำลังสร้างโปรโมชัน",
|
|
1993
|
+
updatedSuccessfully: "อัปเดตโปรโมชันสำเร็จแล้ว",
|
|
1994
|
+
createdSuccessfully: "สร้างโปรโมชันสำเร็จแล้ว",
|
|
1995
|
+
title: "โปรโมชัน",
|
|
1996
|
+
search: "ค้นหา",
|
|
1997
|
+
location: "ที่ตั้ง:",
|
|
1998
|
+
createPromotionCampaign: "สร้างแคมเปญส่งเสริมการขาย",
|
|
1999
|
+
description: "ข้อเสนอพิเศษที่มีให้ในช่วงเวลาจำกัดเพื่อกระตุ้นให้ผู้ใช้มีส่วนร่วมและซื้อ โปรโมชั่นโดยทั่วไปจะมีให้สำหรับผู้ใช้ที่มีสิทธิ์ทุกคนโดยไม่ต้องใช้โค้ดเฉพาะ และจะถูกนำมาใช้โดยร้านค้าในช่วงเวลาที่จัดโปรโมชั่นเท่านั้น"
|
|
1990
2000
|
},
|
|
1991
2001
|
voucher: {
|
|
1992
|
-
createCampaign: "
|
|
1993
|
-
voucherTitle: "
|
|
1994
|
-
status: "
|
|
1995
|
-
summary: "
|
|
1996
|
-
quota: "
|
|
1997
|
-
claimed: "
|
|
1998
|
-
actions: "
|
|
1999
|
-
remove: "
|
|
2000
|
-
send: "
|
|
2001
|
-
share: "
|
|
2002
|
-
confirmRemove: "
|
|
2003
|
-
removing: "
|
|
2004
|
-
removedSuccessfully: "
|
|
2005
|
-
updating: "
|
|
2006
|
-
creating: "
|
|
2007
|
-
updatedSuccessfully: "
|
|
2008
|
-
createdSuccessfully: "
|
|
2009
|
-
title: "
|
|
2010
|
-
search: "
|
|
2011
|
-
location: "
|
|
2012
|
-
createVoucherCampaign: "
|
|
2013
|
-
description: "
|
|
2002
|
+
createCampaign: "สร้างแคมเปญ",
|
|
2003
|
+
voucherTitle: "ชื่อคูปอง",
|
|
2004
|
+
status: "สถานะ",
|
|
2005
|
+
summary: "สรุป",
|
|
2006
|
+
quota: "โควตา",
|
|
2007
|
+
claimed: "อ้างสิทธิ์",
|
|
2008
|
+
actions: "การดำเนินการ",
|
|
2009
|
+
remove: "ลบ",
|
|
2010
|
+
send: "ส่ง",
|
|
2011
|
+
share: "แชร์",
|
|
2012
|
+
confirmRemove: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
|
|
2013
|
+
removing: "กำลังลบ {name}",
|
|
2014
|
+
removedSuccessfully: "ลบ {name} สำเร็จแล้ว",
|
|
2015
|
+
updating: "กำลังอัปเดตคูปอง",
|
|
2016
|
+
creating: "กำลังสร้างคูปอง",
|
|
2017
|
+
updatedSuccessfully: "อัปเดตคูปองสำเร็จแล้ว",
|
|
2018
|
+
createdSuccessfully: "สร้างคูปองสำเร็จแล้ว",
|
|
2019
|
+
title: "คูปอง",
|
|
2020
|
+
search: "ค้นหา",
|
|
2021
|
+
location: "ตำแหน่ง:",
|
|
2022
|
+
createVoucherCampaign: "สร้างแคมเปญคูปอง",
|
|
2023
|
+
description: "คูปองดิจิทัลที่ผู้ใช้สามารถแลกรับส่วนลดในการซื้อในอนาคต โดยปกติแล้วผู้ใช้จะต้องรับและใช้คูปองเพื่อรับส่วนลด"
|
|
2014
2024
|
},
|
|
2015
2025
|
navigation: {
|
|
2016
|
-
analytic: "
|
|
2017
|
-
campaign: "
|
|
2018
|
-
promotion: "
|
|
2019
|
-
voucher: "
|
|
2020
|
-
broadcast: "
|
|
2021
|
-
program: "
|
|
2022
|
-
tier: "
|
|
2023
|
-
title: "
|
|
2024
|
-
experience: "
|
|
2025
|
-
point: "
|
|
2026
|
-
credit: "
|
|
2027
|
-
game: "
|
|
2028
|
-
loyalty: "
|
|
2029
|
-
member: "
|
|
2030
|
-
segments: "
|
|
2031
|
-
card: "
|
|
2032
|
-
store: "
|
|
2033
|
-
transaction: "
|
|
2034
|
-
setting: "
|
|
2035
|
-
mission: "
|
|
2026
|
+
analytic: "การวิเคราะห์",
|
|
2027
|
+
campaign: "แคมเปญ",
|
|
2028
|
+
promotion: "โปรโมชั่น",
|
|
2029
|
+
voucher: "บัตรกำนัล",
|
|
2030
|
+
broadcast: "บรอดแคสต์",
|
|
2031
|
+
program: "โปรแกรม",
|
|
2032
|
+
tier: "ระดับ",
|
|
2033
|
+
title: "ชื่อ",
|
|
2034
|
+
experience: "ประสบการณ์",
|
|
2035
|
+
point: "คะแนน",
|
|
2036
|
+
credit: "เครดิต",
|
|
2037
|
+
game: "เกม",
|
|
2038
|
+
loyalty: "ความภักดี",
|
|
2039
|
+
member: "สมาชิก",
|
|
2040
|
+
segments: "กลุ่ม",
|
|
2041
|
+
card: "บัตร",
|
|
2042
|
+
store: "ร้านค้า",
|
|
2043
|
+
transaction: "ธุรกรรม",
|
|
2044
|
+
setting: "การตั้งค่า",
|
|
2045
|
+
mission: "ภารกิจ"
|
|
2036
2046
|
},
|
|
2037
2047
|
loyalty: {
|
|
2038
2048
|
card: {
|
|
2039
|
-
title: "
|
|
2040
|
-
premium_label: "
|
|
2049
|
+
title: "บัตร",
|
|
2050
|
+
premium_label: "พรีเมียม",
|
|
2041
2051
|
actions: {
|
|
2042
|
-
create: "
|
|
2043
|
-
manage_design: "
|
|
2044
|
-
add: "
|
|
2052
|
+
create: "สร้างบัตร",
|
|
2053
|
+
manage_design: "จัดการการออกแบบ",
|
|
2054
|
+
add: "เพิ่มบัตร"
|
|
2045
2055
|
},
|
|
2046
2056
|
empty_state: {
|
|
2047
|
-
title: "
|
|
2048
|
-
description: "
|
|
2049
|
-
premium_cta: "
|
|
2057
|
+
title: "สร้างบัตรสมาชิก",
|
|
2058
|
+
description: "ติดตามและจัดการบัตรสมาชิกเพื่อให้ลูกค้ามีส่วนร่วมกับธุรกิจของคุณ",
|
|
2059
|
+
premium_cta: "อัปเกรดเป็นพรีเมียมและเพลิดเพลินกับฟีเจอร์ทั้งหมด"
|
|
2050
2060
|
},
|
|
2051
2061
|
table: {
|
|
2052
|
-
card_number: "
|
|
2053
|
-
redeemed_by: "
|
|
2054
|
-
phone: "
|
|
2055
|
-
created_at: "
|
|
2056
|
-
bundle: "
|
|
2057
|
-
redeemed_at: "
|
|
2062
|
+
card_number: "หมายเลขบัตร",
|
|
2063
|
+
redeemed_by: "แลกรับโดย",
|
|
2064
|
+
phone: "โทรศัพท์",
|
|
2065
|
+
created_at: "สร้างเมื่อ",
|
|
2066
|
+
bundle: "ชุดบัตร",
|
|
2067
|
+
redeemed_at: "แลกรับเมื่อ",
|
|
2068
|
+
actions: "การดำเนินการ"
|
|
2058
2069
|
}
|
|
2059
2070
|
},
|
|
2060
2071
|
member: {
|
|
2061
|
-
title: "
|
|
2072
|
+
title: "ธุรกรรมของสมาชิก",
|
|
2062
2073
|
tabs: {
|
|
2063
|
-
member_list: "
|
|
2074
|
+
member_list: "รายชื่อสมาชิก"
|
|
2064
2075
|
}
|
|
2065
2076
|
},
|
|
2066
2077
|
segment: {
|
|
2067
|
-
title: "
|
|
2078
|
+
title: "กลุ่ม",
|
|
2068
2079
|
actions: {
|
|
2069
|
-
refresh: "
|
|
2070
|
-
add: "
|
|
2071
|
-
remove: "
|
|
2080
|
+
refresh: "รีเฟรชกลุ่มบัตร",
|
|
2081
|
+
add: "เพิ่มกลุ่มบัตร",
|
|
2082
|
+
remove: "ลบ"
|
|
2072
2083
|
},
|
|
2073
2084
|
table: {
|
|
2074
|
-
name: "
|
|
2075
|
-
total_customers: "
|
|
2076
|
-
customer_percentage: "%
|
|
2077
|
-
actions: "
|
|
2085
|
+
name: "ชื่อ",
|
|
2086
|
+
total_customers: "จำนวนลูกค้าทั้งหมดในกลุ่มบัตรนี้",
|
|
2087
|
+
customer_percentage: "% ของลูกค้า",
|
|
2088
|
+
actions: "การดำเนินการ"
|
|
2078
2089
|
},
|
|
2079
2090
|
mobile: {
|
|
2080
|
-
total_customers: "{count}
|
|
2081
|
-
customer_percentage: "{percentage}%
|
|
2091
|
+
total_customers: "ลูกค้าทั้งหมด {count} ราย",
|
|
2092
|
+
customer_percentage: "ลูกค้าทั้งหมด {percentage}%"
|
|
2082
2093
|
}
|
|
2083
2094
|
}
|
|
2084
2095
|
},
|
|
2085
2096
|
program: {
|
|
2086
2097
|
common: {
|
|
2087
|
-
create: "
|
|
2088
|
-
search: "
|
|
2089
|
-
location: "
|
|
2090
|
-
used: "{count}
|
|
2098
|
+
create: "สร้างโปรแกรม",
|
|
2099
|
+
search: "ค้นหา",
|
|
2100
|
+
location: "ตำแหน่ง:",
|
|
2101
|
+
used: "ใช้ไปแล้ว {count} ราย",
|
|
2091
2102
|
actions: {
|
|
2092
|
-
create: "
|
|
2093
|
-
delete: "
|
|
2103
|
+
create: "สร้างโปรแกรม {type} ราย",
|
|
2104
|
+
delete: "ลบ"
|
|
2094
2105
|
},
|
|
2095
2106
|
table: {
|
|
2096
|
-
title: "
|
|
2097
|
-
status: "
|
|
2098
|
-
summary: "
|
|
2099
|
-
actions: "
|
|
2100
|
-
type: "
|
|
2107
|
+
title: "ชื่อโปรแกรม",
|
|
2108
|
+
status: "สถานะ",
|
|
2109
|
+
summary: "สรุป",
|
|
2110
|
+
actions: "การดำเนินการ",
|
|
2111
|
+
type: "ประเภท"
|
|
2101
2112
|
},
|
|
2102
2113
|
remove: {
|
|
2103
|
-
confirm: "
|
|
2104
|
-
removing: "
|
|
2105
|
-
removed: "
|
|
2114
|
+
confirm: "คุณแน่ใจว่าต้องการลบ {name} หรือไม่",
|
|
2115
|
+
removing: "กำลังลบ {name}",
|
|
2116
|
+
removed: "ลบ {name} สำเร็จแล้ว"
|
|
2106
2117
|
},
|
|
2107
2118
|
update: {
|
|
2108
|
-
creating: "
|
|
2109
|
-
updating: "
|
|
2110
|
-
success: "{type}
|
|
2119
|
+
creating: "กำลังสร้างโปรแกรม {type}",
|
|
2120
|
+
updating: "กำลังอัปเดตโปรแกรม {type}",
|
|
2121
|
+
success: "โปรแกรม {type} {action} สำเร็จแล้ว"
|
|
2111
2122
|
}
|
|
2112
2123
|
},
|
|
2113
2124
|
experience: {
|
|
2114
|
-
title: "
|
|
2125
|
+
title: "ประสบการณ์",
|
|
2115
2126
|
empty_state: {
|
|
2116
|
-
title: "
|
|
2117
|
-
description: "
|
|
2127
|
+
title: "สร้างโปรแกรมประสบการณ์",
|
|
2128
|
+
description: "ประสบการณ์ช่วยให้ลูกค้าได้รับระดับสมาชิกที่สูงขึ้น ยิ่งลูกค้าโต้ตอบและใช้จ่ายมากเท่าไหร่ ระดับสมาชิกของพวกเขาก็จะสูงขึ้นเท่านั้น ทำให้สามารถปลดล็อกรางวัลและสิทธิประโยชน์ต่างๆ มากขึ้น"
|
|
2118
2129
|
},
|
|
2119
|
-
received: "
|
|
2130
|
+
received: "ประสบการณ์ที่ได้รับ: {count}"
|
|
2120
2131
|
},
|
|
2121
2132
|
game: {
|
|
2122
|
-
title: "
|
|
2133
|
+
title: "เกม",
|
|
2123
2134
|
empty_state: {
|
|
2124
|
-
title: "
|
|
2125
|
-
description: "
|
|
2135
|
+
title: "สร้างโปรแกรมเกมของคุณ",
|
|
2136
|
+
description: "ฟีเจอร์เกมเพิ่มความสนุกสนานให้กับการช้อปปิ้ง กระตุ้นให้ลูกค้ามีส่วนร่วมมากขึ้น"
|
|
2126
2137
|
},
|
|
2127
|
-
token_received: "
|
|
2138
|
+
token_received: "โทเค็นที่ได้รับ: {count}"
|
|
2128
2139
|
},
|
|
2129
2140
|
credit: {
|
|
2130
|
-
title: "
|
|
2141
|
+
title: "เครดิต"
|
|
2131
2142
|
},
|
|
2132
2143
|
point: {
|
|
2133
|
-
title: "
|
|
2144
|
+
title: "คะแนน",
|
|
2134
2145
|
empty_state: {
|
|
2135
|
-
title: "
|
|
2136
|
-
description: "
|
|
2146
|
+
title: "สร้างโปรแกรมคะแนนของคุณ",
|
|
2147
|
+
description: "คะแนนคือคะแนนเสมือนที่ลูกค้าสามารถรับและนำไปใช้ซื้อสินค้าแบบเป็นชุด (Bundle)"
|
|
2137
2148
|
},
|
|
2138
|
-
point_received: "
|
|
2139
|
-
used: "{count}
|
|
2149
|
+
point_received: "คะแนนที่ได้รับ: {count}",
|
|
2150
|
+
used: "ใช้ไปแล้ว {count} คะแนน"
|
|
2140
2151
|
},
|
|
2141
2152
|
tier: {
|
|
2142
|
-
title: "
|
|
2153
|
+
title: "ระดับ",
|
|
2143
2154
|
empty_state: {
|
|
2144
|
-
title: "
|
|
2145
|
-
description: "
|
|
2155
|
+
title: "สร้างโปรแกรมระดับ",
|
|
2156
|
+
description: "มอบสิทธิประโยชน์และรางวัลสุดพิเศษให้กับสมาชิกของคุณด้วยการเข้าร่วมแคมเปญสมาชิก คุณสามารถเลือกสิ่งที่สมาชิกต้องการเสนอได้"
|
|
2146
2157
|
},
|
|
2147
2158
|
actions: {
|
|
2148
|
-
add: "
|
|
2149
|
-
season_setting: "
|
|
2159
|
+
add: "เพิ่มระดับ",
|
|
2160
|
+
season_setting: "การตั้งค่าฤดูกาล"
|
|
2150
2161
|
},
|
|
2151
2162
|
update: {
|
|
2152
2163
|
range_discontinuous: {
|
|
2153
|
-
previous:
|
|
2154
|
-
|
|
2155
|
-
Do you want to update the previous range to [{from} - {newTo}]?`,
|
|
2156
|
-
next: `The tier range is not continuous.
|
|
2157
|
-
Next range: {name} [{from} - {to}].
|
|
2158
|
-
Do you want to update the next range to [{newFrom} - {to}]?`
|
|
2164
|
+
previous: "ช่วงชั้นไม่ต่อเนื่อง ช่วงก่อนหน้า: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงก่อนหน้าเป็น [{from} - {newTo}] หรือไม่",
|
|
2165
|
+
next: "ช่วงชั้นไม่ต่อเนื่อง ช่วงถัดไป: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงถัดไปเป็น [{newFrom} - {to}] หรือไม่"
|
|
2159
2166
|
}
|
|
2160
2167
|
},
|
|
2161
2168
|
remove: {
|
|
2162
|
-
confirm: "
|
|
2163
|
-
title: "
|
|
2164
|
-
next_range: "
|
|
2169
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบระดับนี้?",
|
|
2170
|
+
title: "ลบระดับ",
|
|
2171
|
+
next_range: "อัปเดตช่วงถัดไป",
|
|
2165
2172
|
range_discontinuous: {
|
|
2166
|
-
previous:
|
|
2167
|
-
|
|
2168
|
-
Do you want to update the previous range to [{from} - {newTo}]?`,
|
|
2169
|
-
next: `The tier range is not continuous.
|
|
2170
|
-
Next range: {name} [{from} - {to}].
|
|
2171
|
-
Do you want to update the next range to [{newFrom} - {to}]?`
|
|
2173
|
+
previous: "ช่วงชั้นไม่ต่อเนื่อง ช่วงก่อนหน้า: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงก่อนหน้าเป็น [{from} - {newTo}] หรือไม่",
|
|
2174
|
+
next: "ช่วงชั้นไม่ต่อเนื่อง ช่วงถัดไป: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงถัดไปเป็น [{newFrom} - {to}] หรือไม่"
|
|
2172
2175
|
}
|
|
2173
2176
|
},
|
|
2174
2177
|
benefit: {
|
|
2175
|
-
add: "
|
|
2176
|
-
no_linked: "
|
|
2178
|
+
add: "เพิ่มสิทธิประโยชน์",
|
|
2179
|
+
no_linked: "ไม่มีสิทธิประโยชน์ที่เชื่อมโยง",
|
|
2177
2180
|
update: {
|
|
2178
|
-
title: "
|
|
2179
|
-
success: "
|
|
2181
|
+
title: "กำลังอัปเดตสิทธิประโยชน์",
|
|
2182
|
+
success: "สร้างสิทธิประโยชน์สำเร็จแล้ว"
|
|
2180
2183
|
}
|
|
2181
|
-
},
|
|
2182
|
-
expression: {
|
|
2183
|
-
title: "Tier expiration rule",
|
|
2184
|
-
description: "To set up membership tier experience rules when expired",
|
|
2185
|
-
change_to: "Change to",
|
|
2186
|
-
deduct_by: "Deduct by",
|
|
2187
|
-
deduct_percentage: "Deduct percentage",
|
|
2188
|
-
value: "Value",
|
|
2189
|
-
value_greater_than_or_equal: "Value must be greater than or equal {value}",
|
|
2190
|
-
value_less_than_or_equal: "Value must be less than or equal {value}",
|
|
2191
|
-
value_between: "Value must be between {from} and {to}",
|
|
2192
|
-
value_less_than: "Value must be less than {value}"
|
|
2193
|
-
},
|
|
2194
|
-
card: {
|
|
2195
|
-
count: "{count} members"
|
|
2196
2184
|
}
|
|
2197
2185
|
},
|
|
2198
2186
|
title: {
|
|
2199
|
-
title: "
|
|
2187
|
+
title: "ชื่อเรื่อง",
|
|
2200
2188
|
empty_state: {
|
|
2201
|
-
title: "
|
|
2202
|
-
description: "
|
|
2189
|
+
title: "สร้างโปรแกรมชื่อเรื่อง",
|
|
2190
|
+
description: "สร้างโปรแกรมชื่อ สร้างชื่อสมาชิกที่ไม่ซ้ำกันเพื่อปรับแต่งประสบการณ์ของสมาชิก ดึงดูดลูกค้าด้วยชื่อที่สนุกสนานเพื่อปรับปรุงการเล่นเกมโปรแกรมสะสมคะแนน"
|
|
2203
2191
|
},
|
|
2204
2192
|
actions: {
|
|
2205
|
-
add: "
|
|
2193
|
+
add: "เพิ่มชื่อ"
|
|
2206
2194
|
},
|
|
2207
2195
|
update: {
|
|
2208
|
-
creating: "
|
|
2209
|
-
updating: "
|
|
2210
|
-
success: "
|
|
2196
|
+
creating: "กำลังสร้างชื่อเรื่อง",
|
|
2197
|
+
updating: "กำลังอัปเดตชื่อเรื่อง",
|
|
2198
|
+
success: "ชื่อ {action} สำเร็จแล้ว"
|
|
2211
2199
|
},
|
|
2212
2200
|
remove: {
|
|
2213
|
-
confirm: "
|
|
2214
|
-
title: "
|
|
2215
|
-
deleting: "
|
|
2216
|
-
success: "
|
|
2201
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบชื่อนี้",
|
|
2202
|
+
title: "ลบชื่อ",
|
|
2203
|
+
deleting: "กำลังลบชื่อเรื่อง",
|
|
2204
|
+
success: "ลบชื่อแล้ว"
|
|
2217
2205
|
},
|
|
2218
2206
|
benefit: {
|
|
2219
|
-
add: "
|
|
2220
|
-
no_linked: "
|
|
2207
|
+
add: "เพิ่มสิทธิประโยชน์",
|
|
2208
|
+
no_linked: "ไม่มีสิทธิประโยชน์ที่เชื่อมโยง",
|
|
2221
2209
|
update: {
|
|
2222
|
-
title: "
|
|
2223
|
-
success: "
|
|
2210
|
+
title: "อัพเดทสิทธิประโยชน์",
|
|
2211
|
+
success: "สร้างสิทธิประโยชน์สำเร็จแล้ว"
|
|
2224
2212
|
},
|
|
2225
2213
|
voucher_update: {
|
|
2226
|
-
title: "
|
|
2227
|
-
message: "
|
|
2228
|
-
update_all: "
|
|
2229
|
-
update_future: "
|
|
2214
|
+
title: "การยืนยัน",
|
|
2215
|
+
message: "สิ่งนี้จะเปลี่ยนบัตรกำนัลในอนาคตทั้งหมดหรือไม่ คุณต้องการอัปเดตวันหมดอายุและส่วนลดของบัตรกำนัลที่อ้างสิทธิ์ก่อนหน้านี้หรือไม่",
|
|
2216
|
+
update_all: "อัพเดททั้งหมด",
|
|
2217
|
+
update_future: "อัพเดทในอนาคตเท่านั้น"
|
|
2230
2218
|
}
|
|
2231
2219
|
},
|
|
2232
2220
|
table: {
|
|
2233
|
-
title: "
|
|
2234
|
-
program_title: "
|
|
2235
|
-
status: "
|
|
2236
|
-
type: "
|
|
2237
|
-
summary: "
|
|
2238
|
-
actions: "
|
|
2239
|
-
},
|
|
2240
|
-
search: "
|
|
2241
|
-
location: "
|
|
2242
|
-
addBenefit: "
|
|
2243
|
-
noDescription: "
|
|
2244
|
-
descriptionLimit: "{name}
|
|
2245
|
-
availability: "
|
|
2246
|
-
internalOnly: "
|
|
2247
|
-
notShown: "{name}
|
|
2248
|
-
submit: "
|
|
2249
|
-
cancel: "
|
|
2250
|
-
imageLabel: "{
|
|
2221
|
+
title: "ชื่อ",
|
|
2222
|
+
program_title: "ชื่อโปรแกรม",
|
|
2223
|
+
status: "สถานะ",
|
|
2224
|
+
type: "พิมพ์",
|
|
2225
|
+
summary: "สรุป",
|
|
2226
|
+
actions: "การดำเนินการ"
|
|
2227
|
+
},
|
|
2228
|
+
search: "ค้นหา",
|
|
2229
|
+
location: "ที่ตั้ง: ",
|
|
2230
|
+
addBenefit: "เพิ่มสิทธิประโยชน์",
|
|
2231
|
+
noDescription: "ไม่มีคำอธิบาย",
|
|
2232
|
+
descriptionLimit: "{name} คำอธิบายไม่ควรเกิน 200 ตัวอักษร",
|
|
2233
|
+
availability: "ความพร้อมใช้งาน",
|
|
2234
|
+
internalOnly: "ภายในเท่านั้น",
|
|
2235
|
+
notShown: "{name} จะไม่แสดงให้ลูกค้าเห็น",
|
|
2236
|
+
submit: "ส่ง",
|
|
2237
|
+
cancel: "ยกเลิก",
|
|
2238
|
+
imageLabel: "รูปภาพ {ชื่อ}"
|
|
2251
2239
|
},
|
|
2252
2240
|
mission: {
|
|
2253
|
-
title: "
|
|
2241
|
+
title: "ภารกิจ",
|
|
2254
2242
|
empty_state: {
|
|
2255
|
-
title: "
|
|
2256
|
-
description: "
|
|
2243
|
+
title: "สร้างโปรแกรมภารกิจของคุณ",
|
|
2244
|
+
description: "ภารกิจเป็นโปรแกรมที่ช่วยให้ลูกค้าสามารถทำงานให้เสร็จสิ้นเพื่อรับรางวัลได้"
|
|
2257
2245
|
}
|
|
2258
2246
|
}
|
|
2259
2247
|
},
|
|
2260
2248
|
analytic: {
|
|
2261
|
-
title: "
|
|
2262
|
-
addGroup: "
|
|
2263
|
-
search: "
|
|
2249
|
+
title: "วิเคราะห์",
|
|
2250
|
+
addGroup: "เพิ่มกลุ่ม",
|
|
2251
|
+
search: "ค้นหา",
|
|
2264
2252
|
summary: {
|
|
2265
|
-
title: "
|
|
2266
|
-
totalCampaign: "
|
|
2267
|
-
totalProgram: "
|
|
2268
|
-
totalMember: "
|
|
2253
|
+
title: "เชื่อมต่อสรุป",
|
|
2254
|
+
totalCampaign: "รวมแคมเปญ",
|
|
2255
|
+
totalProgram: "โปรแกรมรวม",
|
|
2256
|
+
totalMember: "สมาชิกทั้งหมด"
|
|
2269
2257
|
},
|
|
2270
2258
|
emptyState: {
|
|
2271
|
-
title: "
|
|
2272
|
-
description: "
|
|
2273
|
-
action: "
|
|
2259
|
+
title: "สร้างกลุ่มแคมเปญเพื่อติดตามประสิทธิภาพ",
|
|
2260
|
+
description: "เริ่มจัดระเบียบแคมเปญและโปรโมชั่นของคุณโดยการสร้างกลุ่ม กลุ่มช่วยให้คุณสามารถรวมตัวชี้วัดประสิทธิภาพจากบัตรกำนัล โปรโมชั่น หรือรางวัลอื่น ๆ ได้หลายรายการ",
|
|
2261
|
+
action: "สร้างกลุ่ม"
|
|
2274
2262
|
}
|
|
2275
2263
|
},
|
|
2276
2264
|
marketing: {
|
|
2277
|
-
title: "
|
|
2278
|
-
create: "
|
|
2279
|
-
search: "
|
|
2265
|
+
title: "สื่อการตลาด",
|
|
2266
|
+
create: "สร้างสื่อการตลาด",
|
|
2267
|
+
search: "ค้นหา",
|
|
2280
2268
|
table: {
|
|
2281
|
-
name: "
|
|
2282
|
-
campaign: "
|
|
2283
|
-
createdDate: "
|
|
2284
|
-
actions: "
|
|
2269
|
+
name: "ชื่อ",
|
|
2270
|
+
campaign: "แคมเปญ",
|
|
2271
|
+
createdDate: "วันที่สร้าง",
|
|
2272
|
+
actions: "การดำเนินการ"
|
|
2285
2273
|
},
|
|
2286
2274
|
delete: {
|
|
2287
|
-
confirm: "
|
|
2288
|
-
removing: "
|
|
2289
|
-
success: "
|
|
2275
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}?",
|
|
2276
|
+
removing: "กำลังลบ {name}",
|
|
2277
|
+
success: "ลบ {name} เรียบร้อยแล้ว"
|
|
2290
2278
|
},
|
|
2291
2279
|
emptyState: {
|
|
2292
|
-
title: "
|
|
2293
|
-
description: "
|
|
2294
|
-
action: "
|
|
2280
|
+
title: "สร้างสื่อการตลาด",
|
|
2281
|
+
description: "เพิ่มความสามารถทางการตลาดของคุณอย่างง่ายดายด้วยเครื่องมือที่ขับเคลื่อนด้วย AI ของเรา สร้างภาพที่น่าทึ่งและคำบรรยายที่น่าดึงดูดสำหรับแพลตฟอร์มที่คุณต้องการ",
|
|
2282
|
+
action: "เพิ่มวัสดุ"
|
|
2295
2283
|
},
|
|
2296
|
-
noResults: "
|
|
2284
|
+
noResults: "ไม่พบผลลัพธ์"
|
|
2297
2285
|
},
|
|
2298
2286
|
setting: {
|
|
2299
|
-
title: "
|
|
2287
|
+
title: "การตั้งค่า",
|
|
2300
2288
|
basicInfo: {
|
|
2301
|
-
title: "
|
|
2302
|
-
membershipTitle: "
|
|
2303
|
-
memberAppUrl: "
|
|
2289
|
+
title: "ข้อมูลพื้นฐาน",
|
|
2290
|
+
membershipTitle: "ชื่อสมาชิก",
|
|
2291
|
+
memberAppUrl: "URL ของแอปสมาชิก"
|
|
2304
2292
|
},
|
|
2305
2293
|
counterApp: {
|
|
2306
|
-
title: "
|
|
2307
|
-
linkDevice: "
|
|
2294
|
+
title: "แอพเคาน์เตอร์",
|
|
2295
|
+
linkDevice: "เชื่อมโยงอุปกรณ์",
|
|
2308
2296
|
device: {
|
|
2309
|
-
activationDate: "
|
|
2310
|
-
linkedLocation: "
|
|
2297
|
+
activationDate: "วันที่เปิดใช้งาน:",
|
|
2298
|
+
linkedLocation: "สถานที่ที่เชื่อมโยง:"
|
|
2311
2299
|
}
|
|
2312
2300
|
},
|
|
2313
2301
|
advertisement: {
|
|
2314
|
-
title: "
|
|
2315
|
-
subtitle: "
|
|
2302
|
+
title: "โฆษณา",
|
|
2303
|
+
subtitle: "ข้อมูลนี้จะแสดงบนแอปสั่งซื้อ FeedMe"
|
|
2316
2304
|
},
|
|
2317
2305
|
sms: {
|
|
2318
|
-
title: "SMS",
|
|
2319
|
-
brandName: "
|
|
2320
|
-
messageFormat: "RM
|
|
2321
|
-
welcomeMessage: "
|
|
2306
|
+
title: "ข้อความ SMS",
|
|
2307
|
+
brandName: "ชื่อแบรนด์",
|
|
2308
|
+
messageFormat: "0 RM {brand}: ข้อความถึงลูกค้าของคุณ",
|
|
2309
|
+
welcomeMessage: "สวัสดี คุณได้รับเชิญให้เข้าร่วมเป็นสมาชิก"
|
|
2322
2310
|
},
|
|
2323
2311
|
freeCredit: {
|
|
2324
|
-
title: "
|
|
2325
|
-
posVersion: "*POS
|
|
2326
|
-
description: "
|
|
2312
|
+
title: "เครดิตฟรีเป็นส่วนลด",
|
|
2313
|
+
posVersion: "*POS เวอร์ชัน 6.56 หรือสูงกว่า",
|
|
2314
|
+
description: "เมื่อเปิดใช้งาน สิ่งนี้จะทำให้เครดิตฟรีสามารถใช้เป็นส่วนลดในบิลได้ (POS >=v6.56)"
|
|
2327
2315
|
},
|
|
2328
2316
|
memberCard: {
|
|
2329
|
-
title: "
|
|
2330
|
-
description: "
|
|
2317
|
+
title: "บัตรสมาชิก",
|
|
2318
|
+
description: "อนุญาตให้สมาชิกผูกบัตรผ่านแอปสมาชิก"
|
|
2331
2319
|
},
|
|
2332
2320
|
location: {
|
|
2333
|
-
title: "
|
|
2334
|
-
selectLabel: "
|
|
2321
|
+
title: "สถานที่เปิดใช้งาน",
|
|
2322
|
+
selectLabel: "เลือกร้านอาหาร"
|
|
2335
2323
|
},
|
|
2336
2324
|
summary: {
|
|
2337
|
-
title: "
|
|
2338
|
-
name: "
|
|
2339
|
-
advertisement: "
|
|
2340
|
-
noAds: "
|
|
2341
|
-
freeCredit: "
|
|
2342
|
-
enabled: "
|
|
2343
|
-
disabled: "
|
|
2344
|
-
locations: "
|
|
2345
|
-
allLocations: "
|
|
2325
|
+
title: "สรุปการตั้งค่าความภักดี",
|
|
2326
|
+
name: "ชื่อ",
|
|
2327
|
+
advertisement: "โฆษณา",
|
|
2328
|
+
noAds: "ไม่มีโฆษณา",
|
|
2329
|
+
freeCredit: "เครดิตฟรีเป็นส่วนลด",
|
|
2330
|
+
enabled: "เปิดใช้งานแล้ว",
|
|
2331
|
+
disabled: "ไม่สามารถใช้งานได้",
|
|
2332
|
+
locations: "สถานที่ที่เปิดใช้งาน",
|
|
2333
|
+
allLocations: "สถานที่ทั้งหมด"
|
|
2346
2334
|
},
|
|
2347
2335
|
action: {
|
|
2348
|
-
update: "
|
|
2336
|
+
update: "อัปเดต"
|
|
2349
2337
|
}
|
|
2350
2338
|
},
|
|
2351
2339
|
transaction: {
|
|
2352
|
-
title: "
|
|
2340
|
+
title: "การทำธุรกรรม",
|
|
2353
2341
|
tabs: {
|
|
2354
|
-
collection: "
|
|
2355
|
-
store: "
|
|
2342
|
+
collection: "คอลเลคชั่น",
|
|
2343
|
+
store: "เก็บ"
|
|
2356
2344
|
}
|
|
2357
2345
|
},
|
|
2358
2346
|
store: {
|
|
2359
|
-
title: "
|
|
2347
|
+
title: "เก็บ",
|
|
2360
2348
|
setting: {
|
|
2361
|
-
title: "
|
|
2362
|
-
company: {
|
|
2363
|
-
legal_info: "Company legal information",
|
|
2364
|
-
name: "Company name",
|
|
2365
|
-
reg_no: "Registration number",
|
|
2366
|
-
tax_reg_no: "Tax Registration number",
|
|
2367
|
-
tax: "Tax",
|
|
2368
|
-
phone: "Phone number",
|
|
2369
|
-
address: {
|
|
2370
|
-
title: "Address",
|
|
2371
|
-
line1: "Line 1",
|
|
2372
|
-
line2: "Line 2",
|
|
2373
|
-
city: "City",
|
|
2374
|
-
postcode: "Postcode",
|
|
2375
|
-
state: "State",
|
|
2376
|
-
country: "Country"
|
|
2377
|
-
}
|
|
2378
|
-
},
|
|
2379
|
-
stripe: {
|
|
2380
|
-
title: "Stripe Integration"
|
|
2381
|
-
},
|
|
2349
|
+
title: "การตั้งค่าร้านค้า",
|
|
2382
2350
|
update: {
|
|
2383
|
-
message: "
|
|
2384
|
-
success: "
|
|
2351
|
+
message: "กำลังปรับปรุงการตั้งค่าร้านค้า",
|
|
2352
|
+
success: "อัปเดตการตั้งค่าร้านค้าเรียบร้อยแล้ว"
|
|
2385
2353
|
}
|
|
2386
2354
|
},
|
|
2387
2355
|
actions: {
|
|
2388
|
-
setting: "
|
|
2389
|
-
manageReward: "
|
|
2390
|
-
addCategory: "
|
|
2391
|
-
addBundle: "
|
|
2356
|
+
setting: "การตั้งค่าร้านค้า",
|
|
2357
|
+
manageReward: "จัดการรางวัล",
|
|
2358
|
+
addCategory: "เพิ่มหมวดหมู่",
|
|
2359
|
+
addBundle: "เพิ่มมัด"
|
|
2392
2360
|
},
|
|
2393
2361
|
category: {
|
|
2394
|
-
label: "Category",
|
|
2395
2362
|
setup: {
|
|
2396
|
-
title: "
|
|
2397
|
-
action: "
|
|
2398
|
-
button: "
|
|
2363
|
+
title: "โปรดตั้งค่าการตั้งค่าร้านค้าของคุณก่อนที่จะเพิ่มหมวดหมู่",
|
|
2364
|
+
action: "อัปเดตตอนนี้",
|
|
2365
|
+
button: "อัพเดตการตั้งค่าร้านค้า"
|
|
2399
2366
|
},
|
|
2400
|
-
add: "
|
|
2401
|
-
edit: "
|
|
2367
|
+
add: "เพิ่มหมวดหมู่",
|
|
2368
|
+
edit: "แก้ไขหมวดหมู่",
|
|
2402
2369
|
remove: {
|
|
2403
|
-
confirm: "
|
|
2404
|
-
title: "
|
|
2370
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบหมวดหมู่",
|
|
2371
|
+
title: "ลบหมวดหมู่"
|
|
2405
2372
|
},
|
|
2406
2373
|
update: {
|
|
2407
|
-
deleting: "
|
|
2408
|
-
creating: "
|
|
2409
|
-
updating: "
|
|
2374
|
+
deleting: "กำลังลบหมวดหมู่",
|
|
2375
|
+
creating: "กำลังสร้างหมวดหมู่",
|
|
2376
|
+
updating: "กำลังอัปเดตหมวดหมู่",
|
|
2410
2377
|
success: {
|
|
2411
|
-
deleted: "
|
|
2412
|
-
created: "
|
|
2413
|
-
updated: "
|
|
2378
|
+
deleted: "ลบหมวดหมู่เรียบร้อยแล้ว",
|
|
2379
|
+
created: "สร้างหมวดหมู่เรียบร้อยแล้ว",
|
|
2380
|
+
updated: "อัปเดตหมวดหมู่เรียบร้อยแล้ว"
|
|
2414
2381
|
}
|
|
2415
|
-
}
|
|
2416
|
-
},
|
|
2417
|
-
bundle: {
|
|
2418
|
-
title: "
|
|
2419
|
-
description: "
|
|
2420
|
-
delete: {
|
|
2421
|
-
confirm: "
|
|
2422
|
-
title: "
|
|
2423
|
-
},
|
|
2424
|
-
update: {
|
|
2425
|
-
error: "
|
|
2426
|
-
deleting: "
|
|
2427
|
-
creating: "
|
|
2428
|
-
updating: "
|
|
2429
|
-
success: {
|
|
2430
|
-
deleted: "
|
|
2431
|
-
created: "
|
|
2432
|
-
updated: "
|
|
2433
|
-
}
|
|
2434
|
-
},
|
|
2435
|
-
edit: {
|
|
2436
|
-
title: "
|
|
2437
|
-
create: "
|
|
2438
|
-
basicInformation: "
|
|
2439
|
-
bundleName: "
|
|
2440
|
-
bundleImage: "
|
|
2441
|
-
bundlePrice: "
|
|
2442
|
-
bundleValue: "
|
|
2443
|
-
originalPrice: "
|
|
2444
|
-
originalPriceHelper: "
|
|
2445
|
-
pointNeeded: "
|
|
2446
|
-
subscriptionSettings: "
|
|
2447
|
-
stripePriceId: "
|
|
2448
|
-
subscriptionValidity: "
|
|
2449
|
-
submit: "
|
|
2450
|
-
cancel: "
|
|
2451
|
-
advanceSetting: "
|
|
2452
|
-
credit: "
|
|
2453
|
-
normalCredit: "
|
|
2454
|
-
freeCredit: "
|
|
2455
|
-
taxes: "
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
bundle: {
|
|
2385
|
+
title: "รวมร้านค้า",
|
|
2386
|
+
description: "เพิ่มรายการที่คุณต้องการให้ผู้ใช้ใช้จ่ายและมาที่นี่ อาจเป็นได้ทั้งบัตรกำนัล สิทธิประโยชน์ ประสบการณ์ และอื่นๆ อีกมากมาย!",
|
|
2387
|
+
delete: {
|
|
2388
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบชุดข้อมูลนี้",
|
|
2389
|
+
title: "ลบชุดข้อมูล"
|
|
2390
|
+
},
|
|
2391
|
+
update: {
|
|
2392
|
+
error: "ข้อผิดพลาดที่ไม่คาดคิด",
|
|
2393
|
+
deleting: "กำลังลบชุดข้อมูล",
|
|
2394
|
+
creating: "กำลังสร้างชุดข้อมูล",
|
|
2395
|
+
updating: "กำลังอัปเดตชุดข้อมูล",
|
|
2396
|
+
success: {
|
|
2397
|
+
deleted: "ลบชุดข้อมูลเรียบร้อยแล้ว",
|
|
2398
|
+
created: "สร้างชุดข้อมูลเรียบร้อยแล้ว",
|
|
2399
|
+
updated: "อัปเดตชุดข้อมูลเรียบร้อยแล้ว"
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
edit: {
|
|
2403
|
+
title: "แก้ไขชุดข้อมูล",
|
|
2404
|
+
create: "สร้างชุดข้อมูลเรียบร้อยแล้ว",
|
|
2405
|
+
basicInformation: "ข้อมูลพื้นฐาน",
|
|
2406
|
+
bundleName: "ชื่อชุดข้อมูล",
|
|
2407
|
+
bundleImage: "รูปภาพชุดข้อมูล",
|
|
2408
|
+
bundlePrice: "ราคาชุดข้อมูล",
|
|
2409
|
+
bundleValue: "มูลค่าชุดข้อมูล",
|
|
2410
|
+
originalPrice: "ราคาเดิม",
|
|
2411
|
+
originalPriceHelper: "ปล่อยว่างไว้หรือตั้งค่าเป็น 0 เพื่อปิดใช้งานราคาเดิม",
|
|
2412
|
+
pointNeeded: "คะแนนที่ต้องการ",
|
|
2413
|
+
subscriptionSettings: "การตั้งค่าการสมัครสมาชิก",
|
|
2414
|
+
stripePriceId: "รหัสราคาแถบข้อมูล",
|
|
2415
|
+
subscriptionValidity: "อายุการใช้งานการสมัครสมาชิก (วัน)",
|
|
2416
|
+
submit: "ส่ง",
|
|
2417
|
+
cancel: "ยกเลิก",
|
|
2418
|
+
advanceSetting: "การตั้งค่าขั้นสูง",
|
|
2419
|
+
credit: "เครดิต",
|
|
2420
|
+
normalCredit: "เครดิตปกติ",
|
|
2421
|
+
freeCredit: "เครดิตฟรี",
|
|
2422
|
+
taxes: "ภาษี",
|
|
2456
2423
|
taxCharge: {
|
|
2457
|
-
title: "
|
|
2458
|
-
inclusive: "
|
|
2459
|
-
exclusive: "
|
|
2424
|
+
title: "ค่าธรรมเนียมภาษี ({type})",
|
|
2425
|
+
inclusive: "รวม",
|
|
2426
|
+
exclusive: "ไม่รวม"
|
|
2460
2427
|
},
|
|
2461
|
-
totalPrice: "
|
|
2462
|
-
internalBundle: "
|
|
2463
|
-
internalBundleDescription: "
|
|
2464
|
-
hideInPos: "
|
|
2465
|
-
hideInPosDescription: "Bundle
|
|
2466
|
-
maxPerUser: "
|
|
2428
|
+
totalPrice: "ราคาทั้งหมด",
|
|
2429
|
+
internalBundle: "ชุดข้อมูลภายใน",
|
|
2430
|
+
internalBundleDescription: "ชุดภายในจะถูกซ่อนอยู่ในแอปสมาชิก FeedMe",
|
|
2431
|
+
hideInPos: "ซ่อนใน POS",
|
|
2432
|
+
hideInPosDescription: "Bundle จะถูกซ่อนอยู่ใน FeedMe POS",
|
|
2433
|
+
maxPerUser: "การซื้อสูงสุดต่อผู้ใช้",
|
|
2467
2434
|
bundleReward: {
|
|
2468
|
-
title: "
|
|
2469
|
-
description: "
|
|
2435
|
+
title: "รางวัลมัด",
|
|
2436
|
+
description: "แจ้งให้สมาชิกของคุณทราบว่าพวกเขาสามารถคาดหวังอะไรได้จากชุดรวมนี้",
|
|
2470
2437
|
table: {
|
|
2471
|
-
title: "
|
|
2472
|
-
type: "
|
|
2473
|
-
description: "
|
|
2438
|
+
title: "ชื่อรางวัล",
|
|
2439
|
+
type: "ประเภทรางวัล",
|
|
2440
|
+
description: "คำอธิบาย"
|
|
2474
2441
|
}
|
|
2475
2442
|
}
|
|
2476
2443
|
}
|
|
2477
2444
|
}
|
|
2478
2445
|
},
|
|
2479
2446
|
storeRewards: {
|
|
2480
|
-
title: "
|
|
2447
|
+
title: "เก็บรางวัล",
|
|
2481
2448
|
remove: {
|
|
2482
|
-
message: "
|
|
2483
|
-
title: "
|
|
2484
|
-
action: "
|
|
2449
|
+
message: "คุณไม่สามารถลบชื่อได้ที่นี่ โปรดลบออกที่ส่วน โปรแกรม > ชื่อ",
|
|
2450
|
+
title: "ลบรางวัล",
|
|
2451
|
+
action: "ไปที่ส่วนชื่อเรื่อง"
|
|
2485
2452
|
},
|
|
2486
2453
|
edit: {
|
|
2487
|
-
message: "
|
|
2488
|
-
title: "
|
|
2489
|
-
action: "
|
|
2454
|
+
message: "คุณไม่สามารถแก้ไขชื่อได้ที่นี่ โปรดแก้ไขที่ส่วน โปรแกรม > ชื่อ",
|
|
2455
|
+
title: "อัพเดทรางวัล",
|
|
2456
|
+
action: "ไปที่ส่วนชื่อเรื่อง"
|
|
2490
2457
|
},
|
|
2491
|
-
description: "
|
|
2458
|
+
description: "สร้างและจัดการรางวัลสำหรับลูกค้าของคุณ",
|
|
2492
2459
|
type: {
|
|
2493
|
-
label: "
|
|
2494
|
-
all: "
|
|
2460
|
+
label: "ประเภทรางวัล: {type}",
|
|
2461
|
+
all: "ทั้งหมด"
|
|
2495
2462
|
},
|
|
2496
|
-
search: "
|
|
2463
|
+
search: "ค้นหา",
|
|
2497
2464
|
delete: {
|
|
2498
|
-
confirm: "
|
|
2499
|
-
title: "
|
|
2500
|
-
message: "
|
|
2501
|
-
success: "
|
|
2465
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบรางวัลนี้?",
|
|
2466
|
+
title: "ลบรางวัล",
|
|
2467
|
+
message: "กำลังลบรางวัล",
|
|
2468
|
+
success: "ลบรางวัลแล้ว"
|
|
2502
2469
|
},
|
|
2503
2470
|
update: {
|
|
2504
|
-
message: "
|
|
2505
|
-
success: "
|
|
2471
|
+
message: "กำลังอัปเดตรางวัล",
|
|
2472
|
+
success: "อัปเดตรางวัลเรียบร้อยแล้ว"
|
|
2506
2473
|
},
|
|
2507
2474
|
empty: {
|
|
2508
|
-
title: "
|
|
2509
|
-
description: "
|
|
2510
|
-
action: "
|
|
2475
|
+
title: "สร้างผลตอบแทน",
|
|
2476
|
+
description: "สร้างรางวัลสำหรับลูกค้าของคุณเพื่อแลกภายในชุดรวมของพวกเขา",
|
|
2477
|
+
action: "สร้างรางวัล"
|
|
2511
2478
|
},
|
|
2512
|
-
create: "
|
|
2479
|
+
create: "สร้างรางวัล",
|
|
2513
2480
|
table: {
|
|
2514
|
-
name: "
|
|
2515
|
-
type: "
|
|
2516
|
-
validity: "
|
|
2517
|
-
used: "
|
|
2518
|
-
actions: "
|
|
2481
|
+
name: "ชื่อ",
|
|
2482
|
+
type: "พิมพ์",
|
|
2483
|
+
validity: "ความถูกต้อง",
|
|
2484
|
+
used: "ใช้แล้ว",
|
|
2485
|
+
actions: "การดำเนินการ"
|
|
2519
2486
|
}
|
|
2520
2487
|
},
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
not_inclusive: "String must contain over {{minimum}} character(s)"
|
|
2576
|
-
},
|
|
2577
|
-
number: {
|
|
2578
|
-
exact: "Number must be exactly {{minimum}}",
|
|
2579
|
-
inclusive: "Number must be greater than or equal to {{minimum}}",
|
|
2580
|
-
not_inclusive: "Number must be greater than {{minimum}}"
|
|
2581
|
-
},
|
|
2582
|
-
set: {
|
|
2583
|
-
exact: "Invalid input",
|
|
2584
|
-
inclusive: "Invalid input",
|
|
2585
|
-
not_inclusive: "Invalid input"
|
|
2488
|
+
zod: {
|
|
2489
|
+
invalid_type: "คาดหวัง {{expected}} ได้รับ {{received}}",
|
|
2490
|
+
errors: {
|
|
2491
|
+
invalid_type: "คาดหวัง {{expected}} ได้รับ {{received}}",
|
|
2492
|
+
invalid_type_received_undefined: "ที่จำเป็น",
|
|
2493
|
+
invalid_type_received_null: "ที่จำเป็น",
|
|
2494
|
+
invalid_literal: "ค่าตัวอักษรไม่ถูกต้อง คาดไว้ {{expected}}",
|
|
2495
|
+
unrecognized_keys: "คีย์ที่ไม่รู้จักในออบเจ็กต์: {{- คีย์}}",
|
|
2496
|
+
invalid_union: "อินพุตไม่ถูกต้อง",
|
|
2497
|
+
invalid_union_discriminator: "ค่าตัวแบ่งแยกไม่ถูกต้อง คาดหวัง {{- ตัวเลือก}}",
|
|
2498
|
+
invalid_enum_value: "ค่าแจงนับไม่ถูกต้อง คาดหวัง {{- options}} ได้รับ '{{received}}'",
|
|
2499
|
+
invalid_arguments: "อาร์กิวเมนต์ของฟังก์ชันไม่ถูกต้อง",
|
|
2500
|
+
invalid_return_type: "ประเภทการส่งคืนฟังก์ชันไม่ถูกต้อง",
|
|
2501
|
+
invalid_date: "วันที่ไม่ถูกต้อง",
|
|
2502
|
+
custom: "อินพุตไม่ถูกต้อง",
|
|
2503
|
+
invalid_intersection_types: "ไม่สามารถรวมผลลัพธ์ทางแยกได้",
|
|
2504
|
+
not_multiple_of: "จำนวนต้องเป็นจำนวนทวีคูณของ {{multipleOf}}",
|
|
2505
|
+
not_finite: "จำนวนต้องมีจำกัด",
|
|
2506
|
+
invalid_string: {
|
|
2507
|
+
email: "ไม่ถูกต้อง {{validation}}",
|
|
2508
|
+
url: "ไม่ถูกต้อง {{validation}}",
|
|
2509
|
+
uuid: "ไม่ถูกต้อง {{validation}}",
|
|
2510
|
+
cuid: "ไม่ถูกต้อง {{validation}}",
|
|
2511
|
+
regex: "ไม่ถูกต้อง",
|
|
2512
|
+
datetime: "ไม่ถูกต้อง {{validation}}",
|
|
2513
|
+
startsWith: 'ข้อมูลไม่ถูกต้อง: ต้องขึ้นต้นด้วย "{{startsWith}}"',
|
|
2514
|
+
endsWith: 'ข้อมูลไม่ถูกต้อง: ต้องลงท้ายด้วย "{{endsWith}}"'
|
|
2515
|
+
},
|
|
2516
|
+
too_small: {
|
|
2517
|
+
array: {
|
|
2518
|
+
exact: "อาร์เรย์ต้องมีองค์ประกอบ {{minimum}} ทุกประการ",
|
|
2519
|
+
inclusive: "อาร์เรย์ต้องมีอย่างน้อย {{minimum}} องค์ประกอบ",
|
|
2520
|
+
not_inclusive: "อาร์เรย์ต้องมีองค์ประกอบมากกว่า {{minimum}} รายการ"
|
|
2521
|
+
},
|
|
2522
|
+
string: {
|
|
2523
|
+
exact: "สตริงต้องมีอักขระ {{minimum}} ตัวทุกประการ",
|
|
2524
|
+
inclusive: "สตริงต้องมีอักขระอย่างน้อย {{minimum}} ตัว",
|
|
2525
|
+
not_inclusive: "สตริงต้องมีอักขระเกิน {{minimum}} ตัว"
|
|
2526
|
+
},
|
|
2527
|
+
number: {
|
|
2528
|
+
exact: "หมายเลขจะต้องเป็น {{minimum}} ทุกประการ",
|
|
2529
|
+
inclusive: "ตัวเลขต้องมากกว่าหรือเท่ากับ {{minimum}}",
|
|
2530
|
+
not_inclusive: "จำนวนต้องมากกว่า {{minimum}}"
|
|
2531
|
+
},
|
|
2532
|
+
set: {
|
|
2533
|
+
exact: "อินพุตไม่ถูกต้อง",
|
|
2534
|
+
inclusive: "อินพุตไม่ถูกต้อง",
|
|
2535
|
+
not_inclusive: "อินพุตไม่ถูกต้อง"
|
|
2536
|
+
},
|
|
2537
|
+
date: {
|
|
2538
|
+
exact: "วันที่จะต้องตรงกับ {{- ขั้นต่ำ, วันที่เวลา}}",
|
|
2539
|
+
inclusive: "วันที่ต้องมากกว่าหรือเท่ากับ {{- ขั้นต่ำ, วันที่เวลา}}",
|
|
2540
|
+
not_inclusive: "วันที่ต้องมากกว่า {{- ขั้นต่ำ, วันที่เวลา}}"
|
|
2541
|
+
}
|
|
2586
2542
|
},
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2543
|
+
too_big: {
|
|
2544
|
+
array: {
|
|
2545
|
+
exact: "อาร์เรย์ต้องมีองค์ประกอบ {{maximum}} ทุกประการ",
|
|
2546
|
+
inclusive: "อาร์เรย์ต้องมีองค์ประกอบไม่เกิน {{maximum}} รายการ",
|
|
2547
|
+
not_inclusive: "อาร์เรย์ต้องมีองค์ประกอบน้อยกว่า {{maximum}} รายการ"
|
|
2548
|
+
},
|
|
2549
|
+
string: {
|
|
2550
|
+
exact: "สตริงต้องมีอักขระ {{maximum}} ตัวทุกประการ",
|
|
2551
|
+
inclusive: "สตริงต้องมีอักขระไม่เกิน {{maximum}} ตัว",
|
|
2552
|
+
not_inclusive: "สตริงต้องมีอักขระไม่เกิน {{maximum}} ตัว"
|
|
2553
|
+
},
|
|
2554
|
+
number: {
|
|
2555
|
+
exact: "หมายเลขจะต้องตรงกับ {{maximum}}",
|
|
2556
|
+
inclusive: "ตัวเลขต้องน้อยกว่าหรือเท่ากับ {{maximum}}",
|
|
2557
|
+
not_inclusive: "จำนวนต้องน้อยกว่า {{maximum}}"
|
|
2558
|
+
},
|
|
2559
|
+
set: {
|
|
2560
|
+
exact: "อินพุตไม่ถูกต้อง",
|
|
2561
|
+
inclusive: "อินพุตไม่ถูกต้อง",
|
|
2562
|
+
not_inclusive: "อินพุตไม่ถูกต้อง"
|
|
2563
|
+
},
|
|
2564
|
+
date: {
|
|
2565
|
+
exact: "วันที่จะต้องตรงกับ {{- maximum, datetime}}",
|
|
2566
|
+
inclusive: "วันที่ต้องน้อยกว่าหรือเท่ากับ {{- maximum, datetime}}",
|
|
2567
|
+
not_inclusive: "วันที่ต้องน้อยกว่า {{- maximum, datetime}}"
|
|
2568
|
+
}
|
|
2591
2569
|
}
|
|
2592
2570
|
},
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2571
|
+
validations: {
|
|
2572
|
+
email: "อีเมล",
|
|
2573
|
+
url: "url",
|
|
2574
|
+
uuid: "uuid",
|
|
2575
|
+
cuid: "cuid",
|
|
2576
|
+
regex: "regex",
|
|
2577
|
+
datetime: "datetime"
|
|
2578
|
+
},
|
|
2579
|
+
types: {
|
|
2580
|
+
function: "ฟังก์ชัน",
|
|
2581
|
+
number: "ตัวเลข",
|
|
2582
|
+
string: "สตริง",
|
|
2583
|
+
nan: "nan",
|
|
2584
|
+
integer: "จำนวนเต็ม",
|
|
2585
|
+
float: "float",
|
|
2586
|
+
boolean: "boolean",
|
|
2587
|
+
date: "วันที่",
|
|
2588
|
+
bigint: "bigint",
|
|
2589
|
+
undefined: "ไม่ได้กำหนด",
|
|
2590
|
+
symbol: "สัญลักษณ์",
|
|
2591
|
+
null: "null",
|
|
2592
|
+
array: "อาร์เรย์",
|
|
2593
|
+
object: "วัตถุ",
|
|
2594
|
+
unknown: "ไม่ทราบ",
|
|
2595
|
+
promise: "promise",
|
|
2596
|
+
void: "void",
|
|
2597
|
+
never: "never",
|
|
2598
|
+
map: "map",
|
|
2599
|
+
set: "set"
|
|
2619
2600
|
}
|
|
2620
2601
|
},
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2602
|
+
zodCustom: {
|
|
2603
|
+
timeframe: {
|
|
2604
|
+
end_before_start: "วันที่สิ้นสุดต้องมาทีหลังหรือเหมือนกับวันที่เริ่มต้น"
|
|
2605
|
+
},
|
|
2606
|
+
campaign: {
|
|
2607
|
+
rule_required: "ต้องมีกฎเกณฑ์เมื่อประเภทตัวกระตุ้นคือ '{type}'",
|
|
2608
|
+
earning_amount_exceed: "จำนวนเงินที่ได้รับต้องน้อยกว่า {max} (จำนวนเงินที่ได้รับสูงสุดของภารกิจ)",
|
|
2609
|
+
credit_validity_required: "แคมเปญเครดิตต้องมีตัวเลือกอายุการใช้งาน (ต้องเป็นเครดิตฟรี)",
|
|
2610
|
+
mission_first_receive: "แคมเปญภารกิจต้องติดตามการรับก่อน",
|
|
2611
|
+
schedule_period_required: "ตัวกระตุ้นกำหนดการต้องตั้งค่าช่วงเวลาที่ใช้งานอยู่",
|
|
2612
|
+
active_period_invalid: "กฎช่วงเวลาที่ใช้งานอยู่ไม่ถูกต้อง",
|
|
2613
|
+
fixed_earning_required: "แคมเปญที่ไม่สามารถเรียกเก็บเงินได้ครบต้องมีตัวเลือกการรับรายได้คงที่",
|
|
2614
|
+
reward_threshold_range: "เกณฑ์รางวัลจะต้องอยู่ภายในจุดสิ้นสุดภารกิจ",
|
|
2615
|
+
reward_threshold_unique: "เกณฑ์รางวัลจะต้องไม่ซ้ำกัน",
|
|
2616
|
+
effect_required: "จำเป็นต้องมีเอฟเฟกต์"
|
|
2617
|
+
}
|
|
2628
2618
|
},
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
string: "string",
|
|
2633
|
-
nan: "nan",
|
|
2634
|
-
integer: "integer",
|
|
2635
|
-
float: "float",
|
|
2636
|
-
boolean: "boolean",
|
|
2637
|
-
date: "date",
|
|
2638
|
-
bigint: "bigint",
|
|
2639
|
-
undefined: "undefined",
|
|
2640
|
-
symbol: "symbol",
|
|
2641
|
-
null: "null",
|
|
2642
|
-
array: "array",
|
|
2643
|
-
object: "object",
|
|
2644
|
-
unknown: "unknown",
|
|
2645
|
-
promise: "promise",
|
|
2646
|
-
void: "void",
|
|
2647
|
-
never: "never",
|
|
2648
|
-
map: "map",
|
|
2649
|
-
set: "set"
|
|
2650
|
-
}
|
|
2651
|
-
}, Ge = {
|
|
2652
|
-
timeframe: {
|
|
2653
|
-
end_before_start: "End date must be later or same as start date"
|
|
2619
|
+
prompt: {
|
|
2620
|
+
confirm: "ยืนยัน",
|
|
2621
|
+
cancel: "ยกเลิก"
|
|
2654
2622
|
},
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2623
|
+
editTierSheet: {
|
|
2624
|
+
add: "เพิ่ม",
|
|
2625
|
+
create: "สร้างระดับ",
|
|
2626
|
+
basicInformation: "ข้อมูลพื้นฐาน",
|
|
2627
|
+
tierName: "ชื่อชั้น",
|
|
2628
|
+
tierImage: "รูปภาพระดับ",
|
|
2629
|
+
experienceThreshold: "เกณฑ์ประสบการณ์",
|
|
2630
|
+
minExperience: "ประสบการณ์ขั้นต่ำ",
|
|
2631
|
+
maxExperience: "ประสบการณ์สูงสุด",
|
|
2632
|
+
actions: "การดำเนินการ",
|
|
2633
|
+
submit: "ส่ง",
|
|
2634
|
+
cancel: "ยกเลิก"
|
|
2666
2635
|
}
|
|
2667
|
-
},
|
|
2668
|
-
connect:
|
|
2669
|
-
connectZod: qe,
|
|
2670
|
-
connectZodCustom: Ge
|
|
2636
|
+
}, qe = {
|
|
2637
|
+
connect: Ue
|
|
2671
2638
|
};
|
|
2672
2639
|
var b;
|
|
2673
2640
|
(function(a) {
|
|
@@ -2734,7 +2701,7 @@ const u = b.arrayToEnum([
|
|
|
2734
2701
|
"never",
|
|
2735
2702
|
"map",
|
|
2736
2703
|
"set"
|
|
2737
|
-
]),
|
|
2704
|
+
]), j = (a) => {
|
|
2738
2705
|
switch (typeof a) {
|
|
2739
2706
|
case "undefined":
|
|
2740
2707
|
return u.undefined;
|
|
@@ -2772,7 +2739,7 @@ const u = b.arrayToEnum([
|
|
|
2772
2739
|
"invalid_intersection_types",
|
|
2773
2740
|
"not_multiple_of",
|
|
2774
2741
|
"not_finite"
|
|
2775
|
-
]),
|
|
2742
|
+
]), Ge = (a) => JSON.stringify(a, null, 2).replace(/"([^"]+)":/g, "$1:");
|
|
2776
2743
|
class E extends Error {
|
|
2777
2744
|
constructor(e) {
|
|
2778
2745
|
super(), this.issues = [], this.addIssue = (n) => {
|
|
@@ -2885,12 +2852,12 @@ const F = (a, e) => {
|
|
|
2885
2852
|
}
|
|
2886
2853
|
return { message: t };
|
|
2887
2854
|
};
|
|
2888
|
-
let
|
|
2889
|
-
function
|
|
2890
|
-
|
|
2855
|
+
let Re = F;
|
|
2856
|
+
function ze(a) {
|
|
2857
|
+
Re = a;
|
|
2891
2858
|
}
|
|
2892
2859
|
function ce() {
|
|
2893
|
-
return
|
|
2860
|
+
return Re;
|
|
2894
2861
|
}
|
|
2895
2862
|
const de = (a) => {
|
|
2896
2863
|
const { data: e, path: t, errorMaps: n, issueData: i } = a, r = [...t, ...i.path || []], s = {
|
|
@@ -2906,7 +2873,7 @@ const de = (a) => {
|
|
|
2906
2873
|
path: r,
|
|
2907
2874
|
message: i.message || o
|
|
2908
2875
|
};
|
|
2909
|
-
},
|
|
2876
|
+
}, Ye = [];
|
|
2910
2877
|
function l(a, e) {
|
|
2911
2878
|
const t = de({
|
|
2912
2879
|
issueData: e,
|
|
@@ -2922,7 +2889,7 @@ function l(a, e) {
|
|
|
2922
2889
|
});
|
|
2923
2890
|
a.common.issues.push(t);
|
|
2924
2891
|
}
|
|
2925
|
-
class
|
|
2892
|
+
class T {
|
|
2926
2893
|
constructor() {
|
|
2927
2894
|
this.value = "valid";
|
|
2928
2895
|
}
|
|
@@ -2936,7 +2903,7 @@ class C {
|
|
|
2936
2903
|
const n = [];
|
|
2937
2904
|
for (const i of t) {
|
|
2938
2905
|
if (i.status === "aborted")
|
|
2939
|
-
return
|
|
2906
|
+
return f;
|
|
2940
2907
|
i.status === "dirty" && e.dirty(), n.push(i.value);
|
|
2941
2908
|
}
|
|
2942
2909
|
return { status: e.value, value: n };
|
|
@@ -2948,27 +2915,27 @@ class C {
|
|
|
2948
2915
|
key: await i.key,
|
|
2949
2916
|
value: await i.value
|
|
2950
2917
|
});
|
|
2951
|
-
return
|
|
2918
|
+
return T.mergeObjectSync(e, n);
|
|
2952
2919
|
}
|
|
2953
2920
|
static mergeObjectSync(e, t) {
|
|
2954
2921
|
const n = {};
|
|
2955
2922
|
for (const i of t) {
|
|
2956
2923
|
const { key: r, value: s } = i;
|
|
2957
2924
|
if (r.status === "aborted" || s.status === "aborted")
|
|
2958
|
-
return
|
|
2925
|
+
return f;
|
|
2959
2926
|
r.status === "dirty" && e.dirty(), s.status === "dirty" && e.dirty(), r.value !== "__proto__" && (typeof s.value < "u" || i.alwaysSet) && (n[r.value] = s.value);
|
|
2960
2927
|
}
|
|
2961
2928
|
return { status: e.value, value: n };
|
|
2962
2929
|
}
|
|
2963
2930
|
}
|
|
2964
|
-
const
|
|
2931
|
+
const f = Object.freeze({
|
|
2965
2932
|
status: "aborted"
|
|
2966
|
-
}),
|
|
2933
|
+
}), Se = (a) => ({ status: "dirty", value: a }), C = (a) => ({ status: "valid", value: a }), xe = (a) => a.status === "aborted", we = (a) => a.status === "dirty", H = (a) => a.status === "valid", ue = (a) => typeof Promise < "u" && a instanceof Promise;
|
|
2967
2934
|
var p;
|
|
2968
2935
|
(function(a) {
|
|
2969
2936
|
a.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, a.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
2970
2937
|
})(p || (p = {}));
|
|
2971
|
-
class
|
|
2938
|
+
class N {
|
|
2972
2939
|
constructor(e, t, n, i) {
|
|
2973
2940
|
this._cachedPath = [], this.parent = e, this.data = t, this._path = n, this._key = i;
|
|
2974
2941
|
}
|
|
@@ -2976,7 +2943,7 @@ class M {
|
|
|
2976
2943
|
return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
|
|
2977
2944
|
}
|
|
2978
2945
|
}
|
|
2979
|
-
const
|
|
2946
|
+
const Ce = (a, e) => {
|
|
2980
2947
|
if (H(e))
|
|
2981
2948
|
return { success: !0, data: e.value };
|
|
2982
2949
|
if (!a.common.issues.length)
|
|
@@ -2991,7 +2958,7 @@ const Te = (a, e) => {
|
|
|
2991
2958
|
}
|
|
2992
2959
|
};
|
|
2993
2960
|
};
|
|
2994
|
-
function
|
|
2961
|
+
function _(a) {
|
|
2995
2962
|
if (!a)
|
|
2996
2963
|
return {};
|
|
2997
2964
|
const { errorMap: e, invalid_type_error: t, required_error: n, description: i } = a;
|
|
@@ -2999,7 +2966,7 @@ function f(a) {
|
|
|
2999
2966
|
throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
|
|
3000
2967
|
return e ? { errorMap: e, description: i } : { errorMap: (s, o) => s.code !== "invalid_type" ? { message: o.defaultError } : typeof o.data > "u" ? { message: n ?? o.defaultError } : { message: t ?? o.defaultError }, description: i };
|
|
3001
2968
|
}
|
|
3002
|
-
class
|
|
2969
|
+
class v {
|
|
3003
2970
|
constructor(e) {
|
|
3004
2971
|
this.spa = this.safeParseAsync, this._def = e, this.parse = this.parse.bind(this), this.safeParse = this.safeParse.bind(this), this.parseAsync = this.parseAsync.bind(this), this.safeParseAsync = this.safeParseAsync.bind(this), this.spa = this.spa.bind(this), this.refine = this.refine.bind(this), this.refinement = this.refinement.bind(this), this.superRefine = this.superRefine.bind(this), this.optional = this.optional.bind(this), this.nullable = this.nullable.bind(this), this.nullish = this.nullish.bind(this), this.array = this.array.bind(this), this.promise = this.promise.bind(this), this.or = this.or.bind(this), this.and = this.and.bind(this), this.transform = this.transform.bind(this), this.brand = this.brand.bind(this), this.default = this.default.bind(this), this.catch = this.catch.bind(this), this.describe = this.describe.bind(this), this.pipe = this.pipe.bind(this), this.readonly = this.readonly.bind(this), this.isNullable = this.isNullable.bind(this), this.isOptional = this.isOptional.bind(this);
|
|
3005
2972
|
}
|
|
@@ -3007,13 +2974,13 @@ class y {
|
|
|
3007
2974
|
return this._def.description;
|
|
3008
2975
|
}
|
|
3009
2976
|
_getType(e) {
|
|
3010
|
-
return
|
|
2977
|
+
return j(e.data);
|
|
3011
2978
|
}
|
|
3012
2979
|
_getOrReturnCtx(e, t) {
|
|
3013
2980
|
return t || {
|
|
3014
2981
|
common: e.parent.common,
|
|
3015
2982
|
data: e.data,
|
|
3016
|
-
parsedType:
|
|
2983
|
+
parsedType: j(e.data),
|
|
3017
2984
|
schemaErrorMap: this._def.errorMap,
|
|
3018
2985
|
path: e.path,
|
|
3019
2986
|
parent: e.parent
|
|
@@ -3021,11 +2988,11 @@ class y {
|
|
|
3021
2988
|
}
|
|
3022
2989
|
_processInputParams(e) {
|
|
3023
2990
|
return {
|
|
3024
|
-
status: new
|
|
2991
|
+
status: new T(),
|
|
3025
2992
|
ctx: {
|
|
3026
2993
|
common: e.parent.common,
|
|
3027
2994
|
data: e.data,
|
|
3028
|
-
parsedType:
|
|
2995
|
+
parsedType: j(e.data),
|
|
3029
2996
|
schemaErrorMap: this._def.errorMap,
|
|
3030
2997
|
path: e.path,
|
|
3031
2998
|
parent: e.parent
|
|
@@ -3060,9 +3027,9 @@ class y {
|
|
|
3060
3027
|
schemaErrorMap: this._def.errorMap,
|
|
3061
3028
|
parent: null,
|
|
3062
3029
|
data: e,
|
|
3063
|
-
parsedType:
|
|
3030
|
+
parsedType: j(e)
|
|
3064
3031
|
}, r = this._parseSync({ data: e, path: i.path, parent: i });
|
|
3065
|
-
return
|
|
3032
|
+
return Ce(i, r);
|
|
3066
3033
|
}
|
|
3067
3034
|
async parseAsync(e, t) {
|
|
3068
3035
|
const n = await this.safeParseAsync(e, t);
|
|
@@ -3081,9 +3048,9 @@ class y {
|
|
|
3081
3048
|
schemaErrorMap: this._def.errorMap,
|
|
3082
3049
|
parent: null,
|
|
3083
3050
|
data: e,
|
|
3084
|
-
parsedType:
|
|
3051
|
+
parsedType: j(e)
|
|
3085
3052
|
}, i = this._parse({ data: e, path: n.path, parent: n }), r = await (ue(i) ? i : Promise.resolve(i));
|
|
3086
|
-
return
|
|
3053
|
+
return Ce(n, r);
|
|
3087
3054
|
}
|
|
3088
3055
|
refine(e, t) {
|
|
3089
3056
|
const n = (i) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(i) : t;
|
|
@@ -3099,7 +3066,7 @@ class y {
|
|
|
3099
3066
|
return this._refinement((n, i) => e(n) ? !0 : (i.addIssue(typeof t == "function" ? t(n, i) : t), !1));
|
|
3100
3067
|
}
|
|
3101
3068
|
_refinement(e) {
|
|
3102
|
-
return new
|
|
3069
|
+
return new I({
|
|
3103
3070
|
schema: this,
|
|
3104
3071
|
typeName: h.ZodEffects,
|
|
3105
3072
|
effect: { type: "refinement", refinement: e }
|
|
@@ -3118,7 +3085,7 @@ class y {
|
|
|
3118
3085
|
return this.nullable().optional();
|
|
3119
3086
|
}
|
|
3120
3087
|
array() {
|
|
3121
|
-
return
|
|
3088
|
+
return O.create(this, this._def);
|
|
3122
3089
|
}
|
|
3123
3090
|
promise() {
|
|
3124
3091
|
return W.create(this, this._def);
|
|
@@ -3130,8 +3097,8 @@ class y {
|
|
|
3130
3097
|
return ee.create(this, e, this._def);
|
|
3131
3098
|
}
|
|
3132
3099
|
transform(e) {
|
|
3133
|
-
return new
|
|
3134
|
-
...
|
|
3100
|
+
return new I({
|
|
3101
|
+
..._(this._def),
|
|
3135
3102
|
schema: this,
|
|
3136
3103
|
typeName: h.ZodEffects,
|
|
3137
3104
|
effect: { type: "transform", transform: e }
|
|
@@ -3140,7 +3107,7 @@ class y {
|
|
|
3140
3107
|
default(e) {
|
|
3141
3108
|
const t = typeof e == "function" ? e : () => e;
|
|
3142
3109
|
return new re({
|
|
3143
|
-
...
|
|
3110
|
+
..._(this._def),
|
|
3144
3111
|
innerType: this,
|
|
3145
3112
|
defaultValue: t,
|
|
3146
3113
|
typeName: h.ZodDefault
|
|
@@ -3150,13 +3117,13 @@ class y {
|
|
|
3150
3117
|
return new Ee({
|
|
3151
3118
|
typeName: h.ZodBranded,
|
|
3152
3119
|
type: this,
|
|
3153
|
-
...
|
|
3120
|
+
..._(this._def)
|
|
3154
3121
|
});
|
|
3155
3122
|
}
|
|
3156
3123
|
catch(e) {
|
|
3157
3124
|
const t = typeof e == "function" ? e : () => e;
|
|
3158
3125
|
return new he({
|
|
3159
|
-
...
|
|
3126
|
+
..._(this._def),
|
|
3160
3127
|
innerType: this,
|
|
3161
3128
|
catchValue: t,
|
|
3162
3129
|
typeName: h.ZodCatch
|
|
@@ -3173,7 +3140,7 @@ class y {
|
|
|
3173
3140
|
return se.create(this, e);
|
|
3174
3141
|
}
|
|
3175
3142
|
readonly() {
|
|
3176
|
-
return
|
|
3143
|
+
return ge.create(this);
|
|
3177
3144
|
}
|
|
3178
3145
|
isOptional() {
|
|
3179
3146
|
return this.safeParse(void 0).success;
|
|
@@ -3182,13 +3149,13 @@ class y {
|
|
|
3182
3149
|
return this.safeParse(null).success;
|
|
3183
3150
|
}
|
|
3184
3151
|
}
|
|
3185
|
-
const
|
|
3186
|
-
let
|
|
3187
|
-
const
|
|
3188
|
-
function
|
|
3189
|
-
return !!((e === "v4" || !e) &&
|
|
3152
|
+
const We = /^c[^\s-]{8,}$/i, Fe = /^[a-z][a-z0-9]*$/, He = /^[0-9A-HJKMNP-TV-Z]{26}$/, Je = /^[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, Xe = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Ke = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
3153
|
+
let ye;
|
|
3154
|
+
const Qe = /^(((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}))$/, et = /^(([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})))$/, tt = (a) => a.precision ? a.offset ? new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`) : new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}Z$`) : a.precision === 0 ? a.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$") : a.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$");
|
|
3155
|
+
function at(a, e) {
|
|
3156
|
+
return !!((e === "v4" || !e) && Qe.test(a) || (e === "v6" || !e) && et.test(a));
|
|
3190
3157
|
}
|
|
3191
|
-
class
|
|
3158
|
+
class A extends v {
|
|
3192
3159
|
_parse(e) {
|
|
3193
3160
|
if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== u.string) {
|
|
3194
3161
|
const r = this._getOrReturnCtx(e);
|
|
@@ -3200,9 +3167,9 @@ class R extends y {
|
|
|
3200
3167
|
received: r.parsedType
|
|
3201
3168
|
}
|
|
3202
3169
|
//
|
|
3203
|
-
),
|
|
3170
|
+
), f;
|
|
3204
3171
|
}
|
|
3205
|
-
const n = new
|
|
3172
|
+
const n = new T();
|
|
3206
3173
|
let i;
|
|
3207
3174
|
for (const r of this._def.checks)
|
|
3208
3175
|
if (r.kind === "min")
|
|
@@ -3241,37 +3208,37 @@ class R extends y {
|
|
|
3241
3208
|
message: r.message
|
|
3242
3209
|
}), n.dirty());
|
|
3243
3210
|
} else if (r.kind === "email")
|
|
3244
|
-
|
|
3211
|
+
Xe.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3245
3212
|
validation: "email",
|
|
3246
3213
|
code: c.invalid_string,
|
|
3247
3214
|
message: r.message
|
|
3248
3215
|
}), n.dirty());
|
|
3249
3216
|
else if (r.kind === "emoji")
|
|
3250
|
-
|
|
3217
|
+
ye || (ye = new RegExp(Ke, "u")), ye.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3251
3218
|
validation: "emoji",
|
|
3252
3219
|
code: c.invalid_string,
|
|
3253
3220
|
message: r.message
|
|
3254
3221
|
}), n.dirty());
|
|
3255
3222
|
else if (r.kind === "uuid")
|
|
3256
|
-
|
|
3223
|
+
Je.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3257
3224
|
validation: "uuid",
|
|
3258
3225
|
code: c.invalid_string,
|
|
3259
3226
|
message: r.message
|
|
3260
3227
|
}), n.dirty());
|
|
3261
3228
|
else if (r.kind === "cuid")
|
|
3262
|
-
|
|
3229
|
+
We.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3263
3230
|
validation: "cuid",
|
|
3264
3231
|
code: c.invalid_string,
|
|
3265
3232
|
message: r.message
|
|
3266
3233
|
}), n.dirty());
|
|
3267
3234
|
else if (r.kind === "cuid2")
|
|
3268
|
-
|
|
3235
|
+
Fe.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3269
3236
|
validation: "cuid2",
|
|
3270
3237
|
code: c.invalid_string,
|
|
3271
3238
|
message: r.message
|
|
3272
3239
|
}), n.dirty());
|
|
3273
3240
|
else if (r.kind === "ulid")
|
|
3274
|
-
|
|
3241
|
+
He.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3275
3242
|
validation: "ulid",
|
|
3276
3243
|
code: c.invalid_string,
|
|
3277
3244
|
message: r.message
|
|
@@ -3302,11 +3269,11 @@ class R extends y {
|
|
|
3302
3269
|
code: c.invalid_string,
|
|
3303
3270
|
validation: { endsWith: r.value },
|
|
3304
3271
|
message: r.message
|
|
3305
|
-
}), n.dirty()) : r.kind === "datetime" ?
|
|
3272
|
+
}), n.dirty()) : r.kind === "datetime" ? tt(r).test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3306
3273
|
code: c.invalid_string,
|
|
3307
3274
|
validation: "datetime",
|
|
3308
3275
|
message: r.message
|
|
3309
|
-
}), n.dirty()) : r.kind === "ip" ?
|
|
3276
|
+
}), n.dirty()) : r.kind === "ip" ? at(e.data, r.version) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3310
3277
|
validation: "ip",
|
|
3311
3278
|
code: c.invalid_string,
|
|
3312
3279
|
message: r.message
|
|
@@ -3321,7 +3288,7 @@ class R extends y {
|
|
|
3321
3288
|
});
|
|
3322
3289
|
}
|
|
3323
3290
|
_addCheck(e) {
|
|
3324
|
-
return new
|
|
3291
|
+
return new A({
|
|
3325
3292
|
...this._def,
|
|
3326
3293
|
checks: [...this._def.checks, e]
|
|
3327
3294
|
});
|
|
@@ -3422,19 +3389,19 @@ class R extends y {
|
|
|
3422
3389
|
return this.min(1, p.errToObj(e));
|
|
3423
3390
|
}
|
|
3424
3391
|
trim() {
|
|
3425
|
-
return new
|
|
3392
|
+
return new A({
|
|
3426
3393
|
...this._def,
|
|
3427
3394
|
checks: [...this._def.checks, { kind: "trim" }]
|
|
3428
3395
|
});
|
|
3429
3396
|
}
|
|
3430
3397
|
toLowerCase() {
|
|
3431
|
-
return new
|
|
3398
|
+
return new A({
|
|
3432
3399
|
...this._def,
|
|
3433
3400
|
checks: [...this._def.checks, { kind: "toLowerCase" }]
|
|
3434
3401
|
});
|
|
3435
3402
|
}
|
|
3436
3403
|
toUpperCase() {
|
|
3437
|
-
return new
|
|
3404
|
+
return new A({
|
|
3438
3405
|
...this._def,
|
|
3439
3406
|
checks: [...this._def.checks, { kind: "toUpperCase" }]
|
|
3440
3407
|
});
|
|
@@ -3479,20 +3446,20 @@ class R extends y {
|
|
|
3479
3446
|
return e;
|
|
3480
3447
|
}
|
|
3481
3448
|
}
|
|
3482
|
-
|
|
3449
|
+
A.create = (a) => {
|
|
3483
3450
|
var e;
|
|
3484
|
-
return new
|
|
3451
|
+
return new A({
|
|
3485
3452
|
checks: [],
|
|
3486
3453
|
typeName: h.ZodString,
|
|
3487
3454
|
coerce: (e = a == null ? void 0 : a.coerce) !== null && e !== void 0 ? e : !1,
|
|
3488
|
-
...
|
|
3455
|
+
..._(a)
|
|
3489
3456
|
});
|
|
3490
3457
|
};
|
|
3491
|
-
function
|
|
3458
|
+
function nt(a, e) {
|
|
3492
3459
|
const t = (a.toString().split(".")[1] || "").length, n = (e.toString().split(".")[1] || "").length, i = t > n ? t : n, r = parseInt(a.toFixed(i).replace(".", "")), s = parseInt(e.toFixed(i).replace(".", ""));
|
|
3493
3460
|
return r % s / Math.pow(10, i);
|
|
3494
3461
|
}
|
|
3495
|
-
class
|
|
3462
|
+
class D extends v {
|
|
3496
3463
|
constructor() {
|
|
3497
3464
|
super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
|
|
3498
3465
|
}
|
|
@@ -3503,10 +3470,10 @@ class j extends y {
|
|
|
3503
3470
|
code: c.invalid_type,
|
|
3504
3471
|
expected: u.number,
|
|
3505
3472
|
received: r.parsedType
|
|
3506
|
-
}),
|
|
3473
|
+
}), f;
|
|
3507
3474
|
}
|
|
3508
3475
|
let n;
|
|
3509
|
-
const i = new
|
|
3476
|
+
const i = new T();
|
|
3510
3477
|
for (const r of this._def.checks)
|
|
3511
3478
|
r.kind === "int" ? b.isInteger(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
|
|
3512
3479
|
code: c.invalid_type,
|
|
@@ -3527,7 +3494,7 @@ class j extends y {
|
|
|
3527
3494
|
inclusive: r.inclusive,
|
|
3528
3495
|
exact: !1,
|
|
3529
3496
|
message: r.message
|
|
3530
|
-
}), i.dirty()) : r.kind === "multipleOf" ?
|
|
3497
|
+
}), i.dirty()) : r.kind === "multipleOf" ? nt(e.data, r.value) !== 0 && (n = this._getOrReturnCtx(e, n), l(n, {
|
|
3531
3498
|
code: c.not_multiple_of,
|
|
3532
3499
|
multipleOf: r.value,
|
|
3533
3500
|
message: r.message
|
|
@@ -3550,7 +3517,7 @@ class j extends y {
|
|
|
3550
3517
|
return this.setLimit("max", e, !1, p.toString(t));
|
|
3551
3518
|
}
|
|
3552
3519
|
setLimit(e, t, n, i) {
|
|
3553
|
-
return new
|
|
3520
|
+
return new D({
|
|
3554
3521
|
...this._def,
|
|
3555
3522
|
checks: [
|
|
3556
3523
|
...this._def.checks,
|
|
@@ -3564,7 +3531,7 @@ class j extends y {
|
|
|
3564
3531
|
});
|
|
3565
3532
|
}
|
|
3566
3533
|
_addCheck(e) {
|
|
3567
|
-
return new
|
|
3534
|
+
return new D({
|
|
3568
3535
|
...this._def,
|
|
3569
3536
|
checks: [...this._def.checks, e]
|
|
3570
3537
|
});
|
|
@@ -3658,13 +3625,13 @@ class j extends y {
|
|
|
3658
3625
|
return Number.isFinite(t) && Number.isFinite(e);
|
|
3659
3626
|
}
|
|
3660
3627
|
}
|
|
3661
|
-
|
|
3628
|
+
D.create = (a) => new D({
|
|
3662
3629
|
checks: [],
|
|
3663
3630
|
typeName: h.ZodNumber,
|
|
3664
3631
|
coerce: (a == null ? void 0 : a.coerce) || !1,
|
|
3665
|
-
...
|
|
3632
|
+
..._(a)
|
|
3666
3633
|
});
|
|
3667
|
-
class
|
|
3634
|
+
class Z extends v {
|
|
3668
3635
|
constructor() {
|
|
3669
3636
|
super(...arguments), this.min = this.gte, this.max = this.lte;
|
|
3670
3637
|
}
|
|
@@ -3675,10 +3642,10 @@ class V extends y {
|
|
|
3675
3642
|
code: c.invalid_type,
|
|
3676
3643
|
expected: u.bigint,
|
|
3677
3644
|
received: r.parsedType
|
|
3678
|
-
}),
|
|
3645
|
+
}), f;
|
|
3679
3646
|
}
|
|
3680
3647
|
let n;
|
|
3681
|
-
const i = new
|
|
3648
|
+
const i = new T();
|
|
3682
3649
|
for (const r of this._def.checks)
|
|
3683
3650
|
r.kind === "min" ? (r.inclusive ? e.data < r.value : e.data <= r.value) && (n = this._getOrReturnCtx(e, n), l(n, {
|
|
3684
3651
|
code: c.too_small,
|
|
@@ -3712,7 +3679,7 @@ class V extends y {
|
|
|
3712
3679
|
return this.setLimit("max", e, !1, p.toString(t));
|
|
3713
3680
|
}
|
|
3714
3681
|
setLimit(e, t, n, i) {
|
|
3715
|
-
return new
|
|
3682
|
+
return new Z({
|
|
3716
3683
|
...this._def,
|
|
3717
3684
|
checks: [
|
|
3718
3685
|
...this._def.checks,
|
|
@@ -3726,7 +3693,7 @@ class V extends y {
|
|
|
3726
3693
|
});
|
|
3727
3694
|
}
|
|
3728
3695
|
_addCheck(e) {
|
|
3729
|
-
return new
|
|
3696
|
+
return new Z({
|
|
3730
3697
|
...this._def,
|
|
3731
3698
|
checks: [...this._def.checks, e]
|
|
3732
3699
|
});
|
|
@@ -3783,16 +3750,16 @@ class V extends y {
|
|
|
3783
3750
|
return e;
|
|
3784
3751
|
}
|
|
3785
3752
|
}
|
|
3786
|
-
|
|
3753
|
+
Z.create = (a) => {
|
|
3787
3754
|
var e;
|
|
3788
|
-
return new
|
|
3755
|
+
return new Z({
|
|
3789
3756
|
checks: [],
|
|
3790
3757
|
typeName: h.ZodBigInt,
|
|
3791
3758
|
coerce: (e = a == null ? void 0 : a.coerce) !== null && e !== void 0 ? e : !1,
|
|
3792
|
-
...
|
|
3759
|
+
..._(a)
|
|
3793
3760
|
});
|
|
3794
3761
|
};
|
|
3795
|
-
class J extends
|
|
3762
|
+
class J extends v {
|
|
3796
3763
|
_parse(e) {
|
|
3797
3764
|
if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== u.boolean) {
|
|
3798
3765
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3800,17 +3767,17 @@ class J extends y {
|
|
|
3800
3767
|
code: c.invalid_type,
|
|
3801
3768
|
expected: u.boolean,
|
|
3802
3769
|
received: n.parsedType
|
|
3803
|
-
}),
|
|
3770
|
+
}), f;
|
|
3804
3771
|
}
|
|
3805
|
-
return
|
|
3772
|
+
return C(e.data);
|
|
3806
3773
|
}
|
|
3807
3774
|
}
|
|
3808
3775
|
J.create = (a) => new J({
|
|
3809
3776
|
typeName: h.ZodBoolean,
|
|
3810
3777
|
coerce: (a == null ? void 0 : a.coerce) || !1,
|
|
3811
|
-
...
|
|
3778
|
+
..._(a)
|
|
3812
3779
|
});
|
|
3813
|
-
class B extends
|
|
3780
|
+
class B extends v {
|
|
3814
3781
|
_parse(e) {
|
|
3815
3782
|
if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== u.date) {
|
|
3816
3783
|
const r = this._getOrReturnCtx(e);
|
|
@@ -3818,15 +3785,15 @@ class B extends y {
|
|
|
3818
3785
|
code: c.invalid_type,
|
|
3819
3786
|
expected: u.date,
|
|
3820
3787
|
received: r.parsedType
|
|
3821
|
-
}),
|
|
3788
|
+
}), f;
|
|
3822
3789
|
}
|
|
3823
3790
|
if (isNaN(e.data.getTime())) {
|
|
3824
3791
|
const r = this._getOrReturnCtx(e);
|
|
3825
3792
|
return l(r, {
|
|
3826
3793
|
code: c.invalid_date
|
|
3827
|
-
}),
|
|
3794
|
+
}), f;
|
|
3828
3795
|
}
|
|
3829
|
-
const n = new
|
|
3796
|
+
const n = new T();
|
|
3830
3797
|
let i;
|
|
3831
3798
|
for (const r of this._def.checks)
|
|
3832
3799
|
r.kind === "min" ? e.data.getTime() < r.value && (i = this._getOrReturnCtx(e, i), l(i, {
|
|
@@ -3886,9 +3853,9 @@ B.create = (a) => new B({
|
|
|
3886
3853
|
checks: [],
|
|
3887
3854
|
coerce: (a == null ? void 0 : a.coerce) || !1,
|
|
3888
3855
|
typeName: h.ZodDate,
|
|
3889
|
-
...
|
|
3856
|
+
..._(a)
|
|
3890
3857
|
});
|
|
3891
|
-
class le extends
|
|
3858
|
+
class le extends v {
|
|
3892
3859
|
_parse(e) {
|
|
3893
3860
|
if (this._getType(e) !== u.symbol) {
|
|
3894
3861
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3896,16 +3863,16 @@ class le extends y {
|
|
|
3896
3863
|
code: c.invalid_type,
|
|
3897
3864
|
expected: u.symbol,
|
|
3898
3865
|
received: n.parsedType
|
|
3899
|
-
}),
|
|
3866
|
+
}), f;
|
|
3900
3867
|
}
|
|
3901
|
-
return
|
|
3868
|
+
return C(e.data);
|
|
3902
3869
|
}
|
|
3903
3870
|
}
|
|
3904
3871
|
le.create = (a) => new le({
|
|
3905
3872
|
typeName: h.ZodSymbol,
|
|
3906
|
-
...
|
|
3873
|
+
..._(a)
|
|
3907
3874
|
});
|
|
3908
|
-
class X extends
|
|
3875
|
+
class X extends v {
|
|
3909
3876
|
_parse(e) {
|
|
3910
3877
|
if (this._getType(e) !== u.undefined) {
|
|
3911
3878
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3913,16 +3880,16 @@ class X extends y {
|
|
|
3913
3880
|
code: c.invalid_type,
|
|
3914
3881
|
expected: u.undefined,
|
|
3915
3882
|
received: n.parsedType
|
|
3916
|
-
}),
|
|
3883
|
+
}), f;
|
|
3917
3884
|
}
|
|
3918
|
-
return
|
|
3885
|
+
return C(e.data);
|
|
3919
3886
|
}
|
|
3920
3887
|
}
|
|
3921
3888
|
X.create = (a) => new X({
|
|
3922
3889
|
typeName: h.ZodUndefined,
|
|
3923
|
-
...
|
|
3890
|
+
..._(a)
|
|
3924
3891
|
});
|
|
3925
|
-
class K extends
|
|
3892
|
+
class K extends v {
|
|
3926
3893
|
_parse(e) {
|
|
3927
3894
|
if (this._getType(e) !== u.null) {
|
|
3928
3895
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3930,54 +3897,54 @@ class K extends y {
|
|
|
3930
3897
|
code: c.invalid_type,
|
|
3931
3898
|
expected: u.null,
|
|
3932
3899
|
received: n.parsedType
|
|
3933
|
-
}),
|
|
3900
|
+
}), f;
|
|
3934
3901
|
}
|
|
3935
|
-
return
|
|
3902
|
+
return C(e.data);
|
|
3936
3903
|
}
|
|
3937
3904
|
}
|
|
3938
3905
|
K.create = (a) => new K({
|
|
3939
3906
|
typeName: h.ZodNull,
|
|
3940
|
-
...
|
|
3907
|
+
..._(a)
|
|
3941
3908
|
});
|
|
3942
|
-
class Y extends
|
|
3909
|
+
class Y extends v {
|
|
3943
3910
|
constructor() {
|
|
3944
3911
|
super(...arguments), this._any = !0;
|
|
3945
3912
|
}
|
|
3946
3913
|
_parse(e) {
|
|
3947
|
-
return
|
|
3914
|
+
return C(e.data);
|
|
3948
3915
|
}
|
|
3949
3916
|
}
|
|
3950
3917
|
Y.create = (a) => new Y({
|
|
3951
3918
|
typeName: h.ZodAny,
|
|
3952
|
-
...
|
|
3919
|
+
..._(a)
|
|
3953
3920
|
});
|
|
3954
|
-
class
|
|
3921
|
+
class $ extends v {
|
|
3955
3922
|
constructor() {
|
|
3956
3923
|
super(...arguments), this._unknown = !0;
|
|
3957
3924
|
}
|
|
3958
3925
|
_parse(e) {
|
|
3959
|
-
return
|
|
3926
|
+
return C(e.data);
|
|
3960
3927
|
}
|
|
3961
3928
|
}
|
|
3962
|
-
|
|
3929
|
+
$.create = (a) => new $({
|
|
3963
3930
|
typeName: h.ZodUnknown,
|
|
3964
|
-
...
|
|
3931
|
+
..._(a)
|
|
3965
3932
|
});
|
|
3966
|
-
class L extends
|
|
3933
|
+
class L extends v {
|
|
3967
3934
|
_parse(e) {
|
|
3968
3935
|
const t = this._getOrReturnCtx(e);
|
|
3969
3936
|
return l(t, {
|
|
3970
3937
|
code: c.invalid_type,
|
|
3971
3938
|
expected: u.never,
|
|
3972
3939
|
received: t.parsedType
|
|
3973
|
-
}),
|
|
3940
|
+
}), f;
|
|
3974
3941
|
}
|
|
3975
3942
|
}
|
|
3976
3943
|
L.create = (a) => new L({
|
|
3977
3944
|
typeName: h.ZodNever,
|
|
3978
|
-
...
|
|
3945
|
+
..._(a)
|
|
3979
3946
|
});
|
|
3980
|
-
class me extends
|
|
3947
|
+
class me extends v {
|
|
3981
3948
|
_parse(e) {
|
|
3982
3949
|
if (this._getType(e) !== u.undefined) {
|
|
3983
3950
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3985,16 +3952,16 @@ class me extends y {
|
|
|
3985
3952
|
code: c.invalid_type,
|
|
3986
3953
|
expected: u.void,
|
|
3987
3954
|
received: n.parsedType
|
|
3988
|
-
}),
|
|
3955
|
+
}), f;
|
|
3989
3956
|
}
|
|
3990
|
-
return
|
|
3957
|
+
return C(e.data);
|
|
3991
3958
|
}
|
|
3992
3959
|
}
|
|
3993
3960
|
me.create = (a) => new me({
|
|
3994
3961
|
typeName: h.ZodVoid,
|
|
3995
|
-
...
|
|
3962
|
+
..._(a)
|
|
3996
3963
|
});
|
|
3997
|
-
class
|
|
3964
|
+
class O extends v {
|
|
3998
3965
|
_parse(e) {
|
|
3999
3966
|
const { ctx: t, status: n } = this._processInputParams(e), i = this._def;
|
|
4000
3967
|
if (t.parsedType !== u.array)
|
|
@@ -4002,7 +3969,7 @@ class I extends y {
|
|
|
4002
3969
|
code: c.invalid_type,
|
|
4003
3970
|
expected: u.array,
|
|
4004
3971
|
received: t.parsedType
|
|
4005
|
-
}),
|
|
3972
|
+
}), f;
|
|
4006
3973
|
if (i.exactLength !== null) {
|
|
4007
3974
|
const s = t.data.length > i.exactLength.value, o = t.data.length < i.exactLength.value;
|
|
4008
3975
|
(s || o) && (l(t, {
|
|
@@ -4030,27 +3997,27 @@ class I extends y {
|
|
|
4030
3997
|
exact: !1,
|
|
4031
3998
|
message: i.maxLength.message
|
|
4032
3999
|
}), n.dirty()), t.common.async)
|
|
4033
|
-
return Promise.all([...t.data].map((s, o) => i.type._parseAsync(new
|
|
4034
|
-
const r = [...t.data].map((s, o) => i.type._parseSync(new
|
|
4035
|
-
return
|
|
4000
|
+
return Promise.all([...t.data].map((s, o) => i.type._parseAsync(new N(t, s, t.path, o)))).then((s) => T.mergeArray(n, s));
|
|
4001
|
+
const r = [...t.data].map((s, o) => i.type._parseSync(new N(t, s, t.path, o)));
|
|
4002
|
+
return T.mergeArray(n, r);
|
|
4036
4003
|
}
|
|
4037
4004
|
get element() {
|
|
4038
4005
|
return this._def.type;
|
|
4039
4006
|
}
|
|
4040
4007
|
min(e, t) {
|
|
4041
|
-
return new
|
|
4008
|
+
return new O({
|
|
4042
4009
|
...this._def,
|
|
4043
4010
|
minLength: { value: e, message: p.toString(t) }
|
|
4044
4011
|
});
|
|
4045
4012
|
}
|
|
4046
4013
|
max(e, t) {
|
|
4047
|
-
return new
|
|
4014
|
+
return new O({
|
|
4048
4015
|
...this._def,
|
|
4049
4016
|
maxLength: { value: e, message: p.toString(t) }
|
|
4050
4017
|
});
|
|
4051
4018
|
}
|
|
4052
4019
|
length(e, t) {
|
|
4053
|
-
return new
|
|
4020
|
+
return new O({
|
|
4054
4021
|
...this._def,
|
|
4055
4022
|
exactLength: { value: e, message: p.toString(t) }
|
|
4056
4023
|
});
|
|
@@ -4059,31 +4026,31 @@ class I extends y {
|
|
|
4059
4026
|
return this.min(1, e);
|
|
4060
4027
|
}
|
|
4061
4028
|
}
|
|
4062
|
-
|
|
4029
|
+
O.create = (a, e) => new O({
|
|
4063
4030
|
type: a,
|
|
4064
4031
|
minLength: null,
|
|
4065
4032
|
maxLength: null,
|
|
4066
4033
|
exactLength: null,
|
|
4067
4034
|
typeName: h.ZodArray,
|
|
4068
|
-
...
|
|
4035
|
+
..._(e)
|
|
4069
4036
|
});
|
|
4070
4037
|
function G(a) {
|
|
4071
|
-
if (a instanceof
|
|
4038
|
+
if (a instanceof w) {
|
|
4072
4039
|
const e = {};
|
|
4073
4040
|
for (const t in a.shape) {
|
|
4074
4041
|
const n = a.shape[t];
|
|
4075
4042
|
e[t] = P.create(G(n));
|
|
4076
4043
|
}
|
|
4077
|
-
return new
|
|
4044
|
+
return new w({
|
|
4078
4045
|
...a._def,
|
|
4079
4046
|
shape: () => e
|
|
4080
4047
|
});
|
|
4081
|
-
} else return a instanceof
|
|
4048
|
+
} else return a instanceof O ? new O({
|
|
4082
4049
|
...a._def,
|
|
4083
4050
|
type: G(a.element)
|
|
4084
|
-
}) : a instanceof P ? P.create(G(a.unwrap())) : a instanceof q ? q.create(G(a.unwrap())) : a instanceof
|
|
4051
|
+
}) : a instanceof P ? P.create(G(a.unwrap())) : a instanceof q ? q.create(G(a.unwrap())) : a instanceof M ? M.create(a.items.map((e) => G(e))) : a;
|
|
4085
4052
|
}
|
|
4086
|
-
class
|
|
4053
|
+
class w extends v {
|
|
4087
4054
|
constructor() {
|
|
4088
4055
|
super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
|
|
4089
4056
|
}
|
|
@@ -4100,7 +4067,7 @@ class x extends y {
|
|
|
4100
4067
|
code: c.invalid_type,
|
|
4101
4068
|
expected: u.object,
|
|
4102
4069
|
received: d.parsedType
|
|
4103
|
-
}),
|
|
4070
|
+
}), f;
|
|
4104
4071
|
}
|
|
4105
4072
|
const { status: n, ctx: i } = this._processInputParams(e), { shape: r, keys: s } = this._getCached(), o = [];
|
|
4106
4073
|
if (!(this._def.catchall instanceof L && this._def.unknownKeys === "strip"))
|
|
@@ -4108,20 +4075,20 @@ class x extends y {
|
|
|
4108
4075
|
s.includes(d) || o.push(d);
|
|
4109
4076
|
const m = [];
|
|
4110
4077
|
for (const d of s) {
|
|
4111
|
-
const
|
|
4078
|
+
const y = r[d], S = i.data[d];
|
|
4112
4079
|
m.push({
|
|
4113
4080
|
key: { status: "valid", value: d },
|
|
4114
|
-
value:
|
|
4081
|
+
value: y._parse(new N(i, S, i.path, d)),
|
|
4115
4082
|
alwaysSet: d in i.data
|
|
4116
4083
|
});
|
|
4117
4084
|
}
|
|
4118
4085
|
if (this._def.catchall instanceof L) {
|
|
4119
4086
|
const d = this._def.unknownKeys;
|
|
4120
4087
|
if (d === "passthrough")
|
|
4121
|
-
for (const
|
|
4088
|
+
for (const y of o)
|
|
4122
4089
|
m.push({
|
|
4123
|
-
key: { status: "valid", value:
|
|
4124
|
-
value: { status: "valid", value: i.data[
|
|
4090
|
+
key: { status: "valid", value: y },
|
|
4091
|
+
value: { status: "valid", value: i.data[y] }
|
|
4125
4092
|
});
|
|
4126
4093
|
else if (d === "strict")
|
|
4127
4094
|
o.length > 0 && (l(i, {
|
|
@@ -4131,36 +4098,36 @@ class x extends y {
|
|
|
4131
4098
|
else if (d !== "strip") throw new Error("Internal ZodObject error: invalid unknownKeys value.");
|
|
4132
4099
|
} else {
|
|
4133
4100
|
const d = this._def.catchall;
|
|
4134
|
-
for (const
|
|
4135
|
-
const S = i.data[
|
|
4101
|
+
for (const y of o) {
|
|
4102
|
+
const S = i.data[y];
|
|
4136
4103
|
m.push({
|
|
4137
|
-
key: { status: "valid", value:
|
|
4104
|
+
key: { status: "valid", value: y },
|
|
4138
4105
|
value: d._parse(
|
|
4139
|
-
new
|
|
4106
|
+
new N(i, S, i.path, y)
|
|
4140
4107
|
//, ctx.child(key), value, getParsedType(value)
|
|
4141
4108
|
),
|
|
4142
|
-
alwaysSet:
|
|
4109
|
+
alwaysSet: y in i.data
|
|
4143
4110
|
});
|
|
4144
4111
|
}
|
|
4145
4112
|
}
|
|
4146
4113
|
return i.common.async ? Promise.resolve().then(async () => {
|
|
4147
4114
|
const d = [];
|
|
4148
|
-
for (const
|
|
4149
|
-
const S = await
|
|
4115
|
+
for (const y of m) {
|
|
4116
|
+
const S = await y.key;
|
|
4150
4117
|
d.push({
|
|
4151
4118
|
key: S,
|
|
4152
|
-
value: await
|
|
4153
|
-
alwaysSet:
|
|
4119
|
+
value: await y.value,
|
|
4120
|
+
alwaysSet: y.alwaysSet
|
|
4154
4121
|
});
|
|
4155
4122
|
}
|
|
4156
4123
|
return d;
|
|
4157
|
-
}).then((d) =>
|
|
4124
|
+
}).then((d) => T.mergeObjectSync(n, d)) : T.mergeObjectSync(n, m);
|
|
4158
4125
|
}
|
|
4159
4126
|
get shape() {
|
|
4160
4127
|
return this._def.shape();
|
|
4161
4128
|
}
|
|
4162
4129
|
strict(e) {
|
|
4163
|
-
return p.errToObj, new
|
|
4130
|
+
return p.errToObj, new w({
|
|
4164
4131
|
...this._def,
|
|
4165
4132
|
unknownKeys: "strict",
|
|
4166
4133
|
...e !== void 0 ? {
|
|
@@ -4177,13 +4144,13 @@ class x extends y {
|
|
|
4177
4144
|
});
|
|
4178
4145
|
}
|
|
4179
4146
|
strip() {
|
|
4180
|
-
return new
|
|
4147
|
+
return new w({
|
|
4181
4148
|
...this._def,
|
|
4182
4149
|
unknownKeys: "strip"
|
|
4183
4150
|
});
|
|
4184
4151
|
}
|
|
4185
4152
|
passthrough() {
|
|
4186
|
-
return new
|
|
4153
|
+
return new w({
|
|
4187
4154
|
...this._def,
|
|
4188
4155
|
unknownKeys: "passthrough"
|
|
4189
4156
|
});
|
|
@@ -4206,7 +4173,7 @@ class x extends y {
|
|
|
4206
4173
|
// }) as any;
|
|
4207
4174
|
// };
|
|
4208
4175
|
extend(e) {
|
|
4209
|
-
return new
|
|
4176
|
+
return new w({
|
|
4210
4177
|
...this._def,
|
|
4211
4178
|
shape: () => ({
|
|
4212
4179
|
...this._def.shape(),
|
|
@@ -4220,7 +4187,7 @@ class x extends y {
|
|
|
4220
4187
|
* upgrade if you are experiencing issues.
|
|
4221
4188
|
*/
|
|
4222
4189
|
merge(e) {
|
|
4223
|
-
return new
|
|
4190
|
+
return new w({
|
|
4224
4191
|
unknownKeys: e._def.unknownKeys,
|
|
4225
4192
|
catchall: e._def.catchall,
|
|
4226
4193
|
shape: () => ({
|
|
@@ -4290,7 +4257,7 @@ class x extends y {
|
|
|
4290
4257
|
// return merged;
|
|
4291
4258
|
// }
|
|
4292
4259
|
catchall(e) {
|
|
4293
|
-
return new
|
|
4260
|
+
return new w({
|
|
4294
4261
|
...this._def,
|
|
4295
4262
|
catchall: e
|
|
4296
4263
|
});
|
|
@@ -4299,7 +4266,7 @@ class x extends y {
|
|
|
4299
4266
|
const t = {};
|
|
4300
4267
|
return b.objectKeys(e).forEach((n) => {
|
|
4301
4268
|
e[n] && this.shape[n] && (t[n] = this.shape[n]);
|
|
4302
|
-
}), new
|
|
4269
|
+
}), new w({
|
|
4303
4270
|
...this._def,
|
|
4304
4271
|
shape: () => t
|
|
4305
4272
|
});
|
|
@@ -4308,7 +4275,7 @@ class x extends y {
|
|
|
4308
4275
|
const t = {};
|
|
4309
4276
|
return b.objectKeys(this.shape).forEach((n) => {
|
|
4310
4277
|
e[n] || (t[n] = this.shape[n]);
|
|
4311
|
-
}), new
|
|
4278
|
+
}), new w({
|
|
4312
4279
|
...this._def,
|
|
4313
4280
|
shape: () => t
|
|
4314
4281
|
});
|
|
@@ -4324,7 +4291,7 @@ class x extends y {
|
|
|
4324
4291
|
return b.objectKeys(this.shape).forEach((n) => {
|
|
4325
4292
|
const i = this.shape[n];
|
|
4326
4293
|
e && !e[n] ? t[n] = i : t[n] = i.optional();
|
|
4327
|
-
}), new
|
|
4294
|
+
}), new w({
|
|
4328
4295
|
...this._def,
|
|
4329
4296
|
shape: () => t
|
|
4330
4297
|
});
|
|
@@ -4340,37 +4307,37 @@ class x extends y {
|
|
|
4340
4307
|
r = r._def.innerType;
|
|
4341
4308
|
t[n] = r;
|
|
4342
4309
|
}
|
|
4343
|
-
}), new
|
|
4310
|
+
}), new w({
|
|
4344
4311
|
...this._def,
|
|
4345
4312
|
shape: () => t
|
|
4346
4313
|
});
|
|
4347
4314
|
}
|
|
4348
4315
|
keyof() {
|
|
4349
|
-
return
|
|
4316
|
+
return Ae(b.objectKeys(this.shape));
|
|
4350
4317
|
}
|
|
4351
4318
|
}
|
|
4352
|
-
|
|
4319
|
+
w.create = (a, e) => new w({
|
|
4353
4320
|
shape: () => a,
|
|
4354
4321
|
unknownKeys: "strip",
|
|
4355
4322
|
catchall: L.create(),
|
|
4356
4323
|
typeName: h.ZodObject,
|
|
4357
|
-
...
|
|
4324
|
+
..._(e)
|
|
4358
4325
|
});
|
|
4359
|
-
|
|
4326
|
+
w.strictCreate = (a, e) => new w({
|
|
4360
4327
|
shape: () => a,
|
|
4361
4328
|
unknownKeys: "strict",
|
|
4362
4329
|
catchall: L.create(),
|
|
4363
4330
|
typeName: h.ZodObject,
|
|
4364
|
-
...
|
|
4331
|
+
..._(e)
|
|
4365
4332
|
});
|
|
4366
|
-
|
|
4333
|
+
w.lazycreate = (a, e) => new w({
|
|
4367
4334
|
shape: a,
|
|
4368
4335
|
unknownKeys: "strip",
|
|
4369
4336
|
catchall: L.create(),
|
|
4370
4337
|
typeName: h.ZodObject,
|
|
4371
|
-
...
|
|
4338
|
+
..._(e)
|
|
4372
4339
|
});
|
|
4373
|
-
class Q extends
|
|
4340
|
+
class Q extends v {
|
|
4374
4341
|
_parse(e) {
|
|
4375
4342
|
const { ctx: t } = this._processInputParams(e), n = this._def.options;
|
|
4376
4343
|
function i(r) {
|
|
@@ -4384,7 +4351,7 @@ class Q extends y {
|
|
|
4384
4351
|
return l(t, {
|
|
4385
4352
|
code: c.invalid_union,
|
|
4386
4353
|
unionErrors: s
|
|
4387
|
-
}),
|
|
4354
|
+
}), f;
|
|
4388
4355
|
}
|
|
4389
4356
|
if (t.common.async)
|
|
4390
4357
|
return Promise.all(n.map(async (r) => {
|
|
@@ -4416,14 +4383,14 @@ class Q extends y {
|
|
|
4416
4383
|
issues: []
|
|
4417
4384
|
},
|
|
4418
4385
|
parent: null
|
|
4419
|
-
},
|
|
4386
|
+
}, y = m._parseSync({
|
|
4420
4387
|
data: t.data,
|
|
4421
4388
|
path: t.path,
|
|
4422
4389
|
parent: d
|
|
4423
4390
|
});
|
|
4424
|
-
if (
|
|
4425
|
-
return
|
|
4426
|
-
|
|
4391
|
+
if (y.status === "valid")
|
|
4392
|
+
return y;
|
|
4393
|
+
y.status === "dirty" && !r && (r = { result: y, ctx: d }), d.common.issues.length && s.push(d.common.issues);
|
|
4427
4394
|
}
|
|
4428
4395
|
if (r)
|
|
4429
4396
|
return t.common.issues.push(...r.ctx.common.issues), r.result;
|
|
@@ -4431,7 +4398,7 @@ class Q extends y {
|
|
|
4431
4398
|
return l(t, {
|
|
4432
4399
|
code: c.invalid_union,
|
|
4433
4400
|
unionErrors: o
|
|
4434
|
-
}),
|
|
4401
|
+
}), f;
|
|
4435
4402
|
}
|
|
4436
4403
|
}
|
|
4437
4404
|
get options() {
|
|
@@ -4441,10 +4408,10 @@ class Q extends y {
|
|
|
4441
4408
|
Q.create = (a, e) => new Q({
|
|
4442
4409
|
options: a,
|
|
4443
4410
|
typeName: h.ZodUnion,
|
|
4444
|
-
...
|
|
4411
|
+
..._(e)
|
|
4445
4412
|
});
|
|
4446
|
-
const oe = (a) => a instanceof ae ? oe(a.schema) : a instanceof
|
|
4447
|
-
class
|
|
4413
|
+
const oe = (a) => a instanceof ae ? oe(a.schema) : a instanceof I ? oe(a.innerType()) : a instanceof ne ? [a.value] : a instanceof V ? a.options : a instanceof ie ? Object.keys(a.enum) : a instanceof re ? oe(a._def.innerType) : a instanceof X ? [void 0] : a instanceof K ? [null] : null;
|
|
4414
|
+
class _e extends v {
|
|
4448
4415
|
_parse(e) {
|
|
4449
4416
|
const { ctx: t } = this._processInputParams(e);
|
|
4450
4417
|
if (t.parsedType !== u.object)
|
|
@@ -4452,7 +4419,7 @@ class ye extends y {
|
|
|
4452
4419
|
code: c.invalid_type,
|
|
4453
4420
|
expected: u.object,
|
|
4454
4421
|
received: t.parsedType
|
|
4455
|
-
}),
|
|
4422
|
+
}), f;
|
|
4456
4423
|
const n = this.discriminator, i = t.data[n], r = this.optionsMap.get(i);
|
|
4457
4424
|
return r ? t.common.async ? r._parseAsync({
|
|
4458
4425
|
data: t.data,
|
|
@@ -4466,7 +4433,7 @@ class ye extends y {
|
|
|
4466
4433
|
code: c.invalid_union_discriminator,
|
|
4467
4434
|
options: Array.from(this.optionsMap.keys()),
|
|
4468
4435
|
path: [n]
|
|
4469
|
-
}),
|
|
4436
|
+
}), f);
|
|
4470
4437
|
}
|
|
4471
4438
|
get discriminator() {
|
|
4472
4439
|
return this._def.discriminator;
|
|
@@ -4497,23 +4464,23 @@ class ye extends y {
|
|
|
4497
4464
|
i.set(o, r);
|
|
4498
4465
|
}
|
|
4499
4466
|
}
|
|
4500
|
-
return new
|
|
4467
|
+
return new _e({
|
|
4501
4468
|
typeName: h.ZodDiscriminatedUnion,
|
|
4502
4469
|
discriminator: e,
|
|
4503
4470
|
options: t,
|
|
4504
4471
|
optionsMap: i,
|
|
4505
|
-
...
|
|
4472
|
+
..._(n)
|
|
4506
4473
|
});
|
|
4507
4474
|
}
|
|
4508
4475
|
}
|
|
4509
|
-
function
|
|
4510
|
-
const t =
|
|
4476
|
+
function Te(a, e) {
|
|
4477
|
+
const t = j(a), n = j(e);
|
|
4511
4478
|
if (a === e)
|
|
4512
4479
|
return { valid: !0, data: a };
|
|
4513
4480
|
if (t === u.object && n === u.object) {
|
|
4514
4481
|
const i = b.objectKeys(e), r = b.objectKeys(a).filter((o) => i.indexOf(o) !== -1), s = { ...a, ...e };
|
|
4515
4482
|
for (const o of r) {
|
|
4516
|
-
const m =
|
|
4483
|
+
const m = Te(a[o], e[o]);
|
|
4517
4484
|
if (!m.valid)
|
|
4518
4485
|
return { valid: !1 };
|
|
4519
4486
|
s[o] = m.data;
|
|
@@ -4524,7 +4491,7 @@ function Ce(a, e) {
|
|
|
4524
4491
|
return { valid: !1 };
|
|
4525
4492
|
const i = [];
|
|
4526
4493
|
for (let r = 0; r < a.length; r++) {
|
|
4527
|
-
const s = a[r], o = e[r], m =
|
|
4494
|
+
const s = a[r], o = e[r], m = Te(s, o);
|
|
4528
4495
|
if (!m.valid)
|
|
4529
4496
|
return { valid: !1 };
|
|
4530
4497
|
i.push(m.data);
|
|
@@ -4532,15 +4499,15 @@ function Ce(a, e) {
|
|
|
4532
4499
|
return { valid: !0, data: i };
|
|
4533
4500
|
} else return t === u.date && n === u.date && +a == +e ? { valid: !0, data: a } : { valid: !1 };
|
|
4534
4501
|
}
|
|
4535
|
-
class ee extends
|
|
4502
|
+
class ee extends v {
|
|
4536
4503
|
_parse(e) {
|
|
4537
4504
|
const { status: t, ctx: n } = this._processInputParams(e), i = (r, s) => {
|
|
4538
4505
|
if (xe(r) || xe(s))
|
|
4539
|
-
return
|
|
4540
|
-
const o =
|
|
4506
|
+
return f;
|
|
4507
|
+
const o = Te(r.value, s.value);
|
|
4541
4508
|
return o.valid ? ((we(r) || we(s)) && t.dirty(), { status: t.value, value: o.data }) : (l(n, {
|
|
4542
4509
|
code: c.invalid_intersection_types
|
|
4543
|
-
}),
|
|
4510
|
+
}), f);
|
|
4544
4511
|
};
|
|
4545
4512
|
return n.common.async ? Promise.all([
|
|
4546
4513
|
this._def.left._parseAsync({
|
|
@@ -4568,9 +4535,9 @@ ee.create = (a, e, t) => new ee({
|
|
|
4568
4535
|
left: a,
|
|
4569
4536
|
right: e,
|
|
4570
4537
|
typeName: h.ZodIntersection,
|
|
4571
|
-
...
|
|
4538
|
+
..._(t)
|
|
4572
4539
|
});
|
|
4573
|
-
class
|
|
4540
|
+
class M extends v {
|
|
4574
4541
|
_parse(e) {
|
|
4575
4542
|
const { status: t, ctx: n } = this._processInputParams(e);
|
|
4576
4543
|
if (n.parsedType !== u.array)
|
|
@@ -4578,7 +4545,7 @@ class O extends y {
|
|
|
4578
4545
|
code: c.invalid_type,
|
|
4579
4546
|
expected: u.array,
|
|
4580
4547
|
received: n.parsedType
|
|
4581
|
-
}),
|
|
4548
|
+
}), f;
|
|
4582
4549
|
if (n.data.length < this._def.items.length)
|
|
4583
4550
|
return l(n, {
|
|
4584
4551
|
code: c.too_small,
|
|
@@ -4586,7 +4553,7 @@ class O extends y {
|
|
|
4586
4553
|
inclusive: !0,
|
|
4587
4554
|
exact: !1,
|
|
4588
4555
|
type: "array"
|
|
4589
|
-
}),
|
|
4556
|
+
}), f;
|
|
4590
4557
|
!this._def.rest && n.data.length > this._def.items.length && (l(n, {
|
|
4591
4558
|
code: c.too_big,
|
|
4592
4559
|
maximum: this._def.items.length,
|
|
@@ -4596,31 +4563,31 @@ class O extends y {
|
|
|
4596
4563
|
}), t.dirty());
|
|
4597
4564
|
const r = [...n.data].map((s, o) => {
|
|
4598
4565
|
const m = this._def.items[o] || this._def.rest;
|
|
4599
|
-
return m ? m._parse(new
|
|
4566
|
+
return m ? m._parse(new N(n, s, n.path, o)) : null;
|
|
4600
4567
|
}).filter((s) => !!s);
|
|
4601
|
-
return n.common.async ? Promise.all(r).then((s) =>
|
|
4568
|
+
return n.common.async ? Promise.all(r).then((s) => T.mergeArray(t, s)) : T.mergeArray(t, r);
|
|
4602
4569
|
}
|
|
4603
4570
|
get items() {
|
|
4604
4571
|
return this._def.items;
|
|
4605
4572
|
}
|
|
4606
4573
|
rest(e) {
|
|
4607
|
-
return new
|
|
4574
|
+
return new M({
|
|
4608
4575
|
...this._def,
|
|
4609
4576
|
rest: e
|
|
4610
4577
|
});
|
|
4611
4578
|
}
|
|
4612
4579
|
}
|
|
4613
|
-
|
|
4580
|
+
M.create = (a, e) => {
|
|
4614
4581
|
if (!Array.isArray(a))
|
|
4615
4582
|
throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
|
|
4616
|
-
return new
|
|
4583
|
+
return new M({
|
|
4617
4584
|
items: a,
|
|
4618
4585
|
typeName: h.ZodTuple,
|
|
4619
4586
|
rest: null,
|
|
4620
|
-
...
|
|
4587
|
+
..._(e)
|
|
4621
4588
|
});
|
|
4622
4589
|
};
|
|
4623
|
-
class te extends
|
|
4590
|
+
class te extends v {
|
|
4624
4591
|
get keySchema() {
|
|
4625
4592
|
return this._def.keyType;
|
|
4626
4593
|
}
|
|
@@ -4634,33 +4601,33 @@ class te extends y {
|
|
|
4634
4601
|
code: c.invalid_type,
|
|
4635
4602
|
expected: u.object,
|
|
4636
4603
|
received: n.parsedType
|
|
4637
|
-
}),
|
|
4604
|
+
}), f;
|
|
4638
4605
|
const i = [], r = this._def.keyType, s = this._def.valueType;
|
|
4639
4606
|
for (const o in n.data)
|
|
4640
4607
|
i.push({
|
|
4641
|
-
key: r._parse(new
|
|
4642
|
-
value: s._parse(new
|
|
4608
|
+
key: r._parse(new N(n, o, n.path, o)),
|
|
4609
|
+
value: s._parse(new N(n, n.data[o], n.path, o))
|
|
4643
4610
|
});
|
|
4644
|
-
return n.common.async ?
|
|
4611
|
+
return n.common.async ? T.mergeObjectAsync(t, i) : T.mergeObjectSync(t, i);
|
|
4645
4612
|
}
|
|
4646
4613
|
get element() {
|
|
4647
4614
|
return this._def.valueType;
|
|
4648
4615
|
}
|
|
4649
4616
|
static create(e, t, n) {
|
|
4650
|
-
return t instanceof
|
|
4617
|
+
return t instanceof v ? new te({
|
|
4651
4618
|
keyType: e,
|
|
4652
4619
|
valueType: t,
|
|
4653
4620
|
typeName: h.ZodRecord,
|
|
4654
|
-
...
|
|
4621
|
+
..._(n)
|
|
4655
4622
|
}) : new te({
|
|
4656
|
-
keyType:
|
|
4623
|
+
keyType: A.create(),
|
|
4657
4624
|
valueType: e,
|
|
4658
4625
|
typeName: h.ZodRecord,
|
|
4659
|
-
...
|
|
4626
|
+
..._(t)
|
|
4660
4627
|
});
|
|
4661
4628
|
}
|
|
4662
4629
|
}
|
|
4663
|
-
class pe extends
|
|
4630
|
+
class pe extends v {
|
|
4664
4631
|
get keySchema() {
|
|
4665
4632
|
return this._def.keyType;
|
|
4666
4633
|
}
|
|
@@ -4674,29 +4641,29 @@ class pe extends y {
|
|
|
4674
4641
|
code: c.invalid_type,
|
|
4675
4642
|
expected: u.map,
|
|
4676
4643
|
received: n.parsedType
|
|
4677
|
-
}),
|
|
4644
|
+
}), f;
|
|
4678
4645
|
const i = this._def.keyType, r = this._def.valueType, s = [...n.data.entries()].map(([o, m], d) => ({
|
|
4679
|
-
key: i._parse(new
|
|
4680
|
-
value: r._parse(new
|
|
4646
|
+
key: i._parse(new N(n, o, n.path, [d, "key"])),
|
|
4647
|
+
value: r._parse(new N(n, m, n.path, [d, "value"]))
|
|
4681
4648
|
}));
|
|
4682
4649
|
if (n.common.async) {
|
|
4683
4650
|
const o = /* @__PURE__ */ new Map();
|
|
4684
4651
|
return Promise.resolve().then(async () => {
|
|
4685
4652
|
for (const m of s) {
|
|
4686
|
-
const d = await m.key,
|
|
4687
|
-
if (d.status === "aborted" ||
|
|
4688
|
-
return
|
|
4689
|
-
(d.status === "dirty" ||
|
|
4653
|
+
const d = await m.key, y = await m.value;
|
|
4654
|
+
if (d.status === "aborted" || y.status === "aborted")
|
|
4655
|
+
return f;
|
|
4656
|
+
(d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
|
|
4690
4657
|
}
|
|
4691
4658
|
return { status: t.value, value: o };
|
|
4692
4659
|
});
|
|
4693
4660
|
} else {
|
|
4694
4661
|
const o = /* @__PURE__ */ new Map();
|
|
4695
4662
|
for (const m of s) {
|
|
4696
|
-
const d = m.key,
|
|
4697
|
-
if (d.status === "aborted" ||
|
|
4698
|
-
return
|
|
4699
|
-
(d.status === "dirty" ||
|
|
4663
|
+
const d = m.key, y = m.value;
|
|
4664
|
+
if (d.status === "aborted" || y.status === "aborted")
|
|
4665
|
+
return f;
|
|
4666
|
+
(d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
|
|
4700
4667
|
}
|
|
4701
4668
|
return { status: t.value, value: o };
|
|
4702
4669
|
}
|
|
@@ -4706,9 +4673,9 @@ pe.create = (a, e, t) => new pe({
|
|
|
4706
4673
|
valueType: e,
|
|
4707
4674
|
keyType: a,
|
|
4708
4675
|
typeName: h.ZodMap,
|
|
4709
|
-
...
|
|
4676
|
+
..._(t)
|
|
4710
4677
|
});
|
|
4711
|
-
class
|
|
4678
|
+
class U extends v {
|
|
4712
4679
|
_parse(e) {
|
|
4713
4680
|
const { status: t, ctx: n } = this._processInputParams(e);
|
|
4714
4681
|
if (n.parsedType !== u.set)
|
|
@@ -4716,7 +4683,7 @@ class $ extends y {
|
|
|
4716
4683
|
code: c.invalid_type,
|
|
4717
4684
|
expected: u.set,
|
|
4718
4685
|
received: n.parsedType
|
|
4719
|
-
}),
|
|
4686
|
+
}), f;
|
|
4720
4687
|
const i = this._def;
|
|
4721
4688
|
i.minSize !== null && n.data.size < i.minSize.value && (l(n, {
|
|
4722
4689
|
code: c.too_small,
|
|
@@ -4736,24 +4703,24 @@ class $ extends y {
|
|
|
4736
4703
|
const r = this._def.valueType;
|
|
4737
4704
|
function s(m) {
|
|
4738
4705
|
const d = /* @__PURE__ */ new Set();
|
|
4739
|
-
for (const
|
|
4740
|
-
if (
|
|
4741
|
-
return
|
|
4742
|
-
|
|
4706
|
+
for (const y of m) {
|
|
4707
|
+
if (y.status === "aborted")
|
|
4708
|
+
return f;
|
|
4709
|
+
y.status === "dirty" && t.dirty(), d.add(y.value);
|
|
4743
4710
|
}
|
|
4744
4711
|
return { status: t.value, value: d };
|
|
4745
4712
|
}
|
|
4746
|
-
const o = [...n.data.values()].map((m, d) => r._parse(new
|
|
4713
|
+
const o = [...n.data.values()].map((m, d) => r._parse(new N(n, m, n.path, d)));
|
|
4747
4714
|
return n.common.async ? Promise.all(o).then((m) => s(m)) : s(o);
|
|
4748
4715
|
}
|
|
4749
4716
|
min(e, t) {
|
|
4750
|
-
return new
|
|
4717
|
+
return new U({
|
|
4751
4718
|
...this._def,
|
|
4752
4719
|
minSize: { value: e, message: p.toString(t) }
|
|
4753
4720
|
});
|
|
4754
4721
|
}
|
|
4755
4722
|
max(e, t) {
|
|
4756
|
-
return new
|
|
4723
|
+
return new U({
|
|
4757
4724
|
...this._def,
|
|
4758
4725
|
maxSize: { value: e, message: p.toString(t) }
|
|
4759
4726
|
});
|
|
@@ -4765,14 +4732,14 @@ class $ extends y {
|
|
|
4765
4732
|
return this.min(1, e);
|
|
4766
4733
|
}
|
|
4767
4734
|
}
|
|
4768
|
-
|
|
4735
|
+
U.create = (a, e) => new U({
|
|
4769
4736
|
valueType: a,
|
|
4770
4737
|
minSize: null,
|
|
4771
4738
|
maxSize: null,
|
|
4772
4739
|
typeName: h.ZodSet,
|
|
4773
|
-
...
|
|
4740
|
+
..._(e)
|
|
4774
4741
|
});
|
|
4775
|
-
class z extends
|
|
4742
|
+
class z extends v {
|
|
4776
4743
|
constructor() {
|
|
4777
4744
|
super(...arguments), this.validate = this.implement;
|
|
4778
4745
|
}
|
|
@@ -4783,7 +4750,7 @@ class z extends y {
|
|
|
4783
4750
|
code: c.invalid_type,
|
|
4784
4751
|
expected: u.function,
|
|
4785
4752
|
received: t.parsedType
|
|
4786
|
-
}),
|
|
4753
|
+
}), f;
|
|
4787
4754
|
function n(o, m) {
|
|
4788
4755
|
return de({
|
|
4789
4756
|
data: o,
|
|
@@ -4819,23 +4786,23 @@ class z extends y {
|
|
|
4819
4786
|
const r = { errorMap: t.common.contextualErrorMap }, s = t.data;
|
|
4820
4787
|
if (this._def.returns instanceof W) {
|
|
4821
4788
|
const o = this;
|
|
4822
|
-
return
|
|
4823
|
-
const d = new E([]),
|
|
4789
|
+
return C(async function(...m) {
|
|
4790
|
+
const d = new E([]), y = await o._def.args.parseAsync(m, r).catch((ve) => {
|
|
4824
4791
|
throw d.addIssue(n(m, ve)), d;
|
|
4825
|
-
}), S = await Reflect.apply(s, this,
|
|
4792
|
+
}), S = await Reflect.apply(s, this, y);
|
|
4826
4793
|
return await o._def.returns._def.type.parseAsync(S, r).catch((ve) => {
|
|
4827
4794
|
throw d.addIssue(i(S, ve)), d;
|
|
4828
4795
|
});
|
|
4829
4796
|
});
|
|
4830
4797
|
} else {
|
|
4831
4798
|
const o = this;
|
|
4832
|
-
return
|
|
4799
|
+
return C(function(...m) {
|
|
4833
4800
|
const d = o._def.args.safeParse(m, r);
|
|
4834
4801
|
if (!d.success)
|
|
4835
4802
|
throw new E([n(m, d.error)]);
|
|
4836
|
-
const
|
|
4803
|
+
const y = Reflect.apply(s, this, d.data), S = o._def.returns.safeParse(y, r);
|
|
4837
4804
|
if (!S.success)
|
|
4838
|
-
throw new E([i(
|
|
4805
|
+
throw new E([i(y, S.error)]);
|
|
4839
4806
|
return S.data;
|
|
4840
4807
|
});
|
|
4841
4808
|
}
|
|
@@ -4849,7 +4816,7 @@ class z extends y {
|
|
|
4849
4816
|
args(...e) {
|
|
4850
4817
|
return new z({
|
|
4851
4818
|
...this._def,
|
|
4852
|
-
args:
|
|
4819
|
+
args: M.create(e).rest($.create())
|
|
4853
4820
|
});
|
|
4854
4821
|
}
|
|
4855
4822
|
returns(e) {
|
|
@@ -4866,14 +4833,14 @@ class z extends y {
|
|
|
4866
4833
|
}
|
|
4867
4834
|
static create(e, t, n) {
|
|
4868
4835
|
return new z({
|
|
4869
|
-
args: e ||
|
|
4870
|
-
returns: t ||
|
|
4836
|
+
args: e || M.create([]).rest($.create()),
|
|
4837
|
+
returns: t || $.create(),
|
|
4871
4838
|
typeName: h.ZodFunction,
|
|
4872
|
-
...
|
|
4839
|
+
..._(n)
|
|
4873
4840
|
});
|
|
4874
4841
|
}
|
|
4875
4842
|
}
|
|
4876
|
-
class ae extends
|
|
4843
|
+
class ae extends v {
|
|
4877
4844
|
get schema() {
|
|
4878
4845
|
return this._def.getter();
|
|
4879
4846
|
}
|
|
@@ -4885,9 +4852,9 @@ class ae extends y {
|
|
|
4885
4852
|
ae.create = (a, e) => new ae({
|
|
4886
4853
|
getter: a,
|
|
4887
4854
|
typeName: h.ZodLazy,
|
|
4888
|
-
...
|
|
4855
|
+
..._(e)
|
|
4889
4856
|
});
|
|
4890
|
-
class ne extends
|
|
4857
|
+
class ne extends v {
|
|
4891
4858
|
_parse(e) {
|
|
4892
4859
|
if (e.data !== this._def.value) {
|
|
4893
4860
|
const t = this._getOrReturnCtx(e);
|
|
@@ -4895,7 +4862,7 @@ class ne extends y {
|
|
|
4895
4862
|
received: t.data,
|
|
4896
4863
|
code: c.invalid_literal,
|
|
4897
4864
|
expected: this._def.value
|
|
4898
|
-
}),
|
|
4865
|
+
}), f;
|
|
4899
4866
|
}
|
|
4900
4867
|
return { status: "valid", value: e.data };
|
|
4901
4868
|
}
|
|
@@ -4906,16 +4873,16 @@ class ne extends y {
|
|
|
4906
4873
|
ne.create = (a, e) => new ne({
|
|
4907
4874
|
value: a,
|
|
4908
4875
|
typeName: h.ZodLiteral,
|
|
4909
|
-
...
|
|
4876
|
+
..._(e)
|
|
4910
4877
|
});
|
|
4911
|
-
function
|
|
4912
|
-
return new
|
|
4878
|
+
function Ae(a, e) {
|
|
4879
|
+
return new V({
|
|
4913
4880
|
values: a,
|
|
4914
4881
|
typeName: h.ZodEnum,
|
|
4915
|
-
...
|
|
4882
|
+
..._(e)
|
|
4916
4883
|
});
|
|
4917
4884
|
}
|
|
4918
|
-
class
|
|
4885
|
+
class V extends v {
|
|
4919
4886
|
_parse(e) {
|
|
4920
4887
|
if (typeof e.data != "string") {
|
|
4921
4888
|
const t = this._getOrReturnCtx(e), n = this._def.values;
|
|
@@ -4923,7 +4890,7 @@ class Z extends y {
|
|
|
4923
4890
|
expected: b.joinValues(n),
|
|
4924
4891
|
received: t.parsedType,
|
|
4925
4892
|
code: c.invalid_type
|
|
4926
|
-
}),
|
|
4893
|
+
}), f;
|
|
4927
4894
|
}
|
|
4928
4895
|
if (this._def.values.indexOf(e.data) === -1) {
|
|
4929
4896
|
const t = this._getOrReturnCtx(e), n = this._def.values;
|
|
@@ -4931,9 +4898,9 @@ class Z extends y {
|
|
|
4931
4898
|
received: t.data,
|
|
4932
4899
|
code: c.invalid_enum_value,
|
|
4933
4900
|
options: n
|
|
4934
|
-
}),
|
|
4901
|
+
}), f;
|
|
4935
4902
|
}
|
|
4936
|
-
return
|
|
4903
|
+
return C(e.data);
|
|
4937
4904
|
}
|
|
4938
4905
|
get options() {
|
|
4939
4906
|
return this._def.values;
|
|
@@ -4957,14 +4924,14 @@ class Z extends y {
|
|
|
4957
4924
|
return e;
|
|
4958
4925
|
}
|
|
4959
4926
|
extract(e) {
|
|
4960
|
-
return
|
|
4927
|
+
return V.create(e);
|
|
4961
4928
|
}
|
|
4962
4929
|
exclude(e) {
|
|
4963
|
-
return
|
|
4930
|
+
return V.create(this.options.filter((t) => !e.includes(t)));
|
|
4964
4931
|
}
|
|
4965
4932
|
}
|
|
4966
|
-
|
|
4967
|
-
class ie extends
|
|
4933
|
+
V.create = Ae;
|
|
4934
|
+
class ie extends v {
|
|
4968
4935
|
_parse(e) {
|
|
4969
4936
|
const t = b.getValidEnumValues(this._def.values), n = this._getOrReturnCtx(e);
|
|
4970
4937
|
if (n.parsedType !== u.string && n.parsedType !== u.number) {
|
|
@@ -4973,7 +4940,7 @@ class ie extends y {
|
|
|
4973
4940
|
expected: b.joinValues(i),
|
|
4974
4941
|
received: n.parsedType,
|
|
4975
4942
|
code: c.invalid_type
|
|
4976
|
-
}),
|
|
4943
|
+
}), f;
|
|
4977
4944
|
}
|
|
4978
4945
|
if (t.indexOf(e.data) === -1) {
|
|
4979
4946
|
const i = b.objectValues(t);
|
|
@@ -4981,9 +4948,9 @@ class ie extends y {
|
|
|
4981
4948
|
received: n.data,
|
|
4982
4949
|
code: c.invalid_enum_value,
|
|
4983
4950
|
options: i
|
|
4984
|
-
}),
|
|
4951
|
+
}), f;
|
|
4985
4952
|
}
|
|
4986
|
-
return
|
|
4953
|
+
return C(e.data);
|
|
4987
4954
|
}
|
|
4988
4955
|
get enum() {
|
|
4989
4956
|
return this._def.values;
|
|
@@ -4992,9 +4959,9 @@ class ie extends y {
|
|
|
4992
4959
|
ie.create = (a, e) => new ie({
|
|
4993
4960
|
values: a,
|
|
4994
4961
|
typeName: h.ZodNativeEnum,
|
|
4995
|
-
...
|
|
4962
|
+
..._(e)
|
|
4996
4963
|
});
|
|
4997
|
-
class W extends
|
|
4964
|
+
class W extends v {
|
|
4998
4965
|
unwrap() {
|
|
4999
4966
|
return this._def.type;
|
|
5000
4967
|
}
|
|
@@ -5005,9 +4972,9 @@ class W extends y {
|
|
|
5005
4972
|
code: c.invalid_type,
|
|
5006
4973
|
expected: u.promise,
|
|
5007
4974
|
received: t.parsedType
|
|
5008
|
-
}),
|
|
4975
|
+
}), f;
|
|
5009
4976
|
const n = t.parsedType === u.promise ? t.data : Promise.resolve(t.data);
|
|
5010
|
-
return
|
|
4977
|
+
return C(n.then((i) => this._def.type.parseAsync(i, {
|
|
5011
4978
|
path: t.path,
|
|
5012
4979
|
errorMap: t.common.contextualErrorMap
|
|
5013
4980
|
})));
|
|
@@ -5016,9 +4983,9 @@ class W extends y {
|
|
|
5016
4983
|
W.create = (a, e) => new W({
|
|
5017
4984
|
type: a,
|
|
5018
4985
|
typeName: h.ZodPromise,
|
|
5019
|
-
...
|
|
4986
|
+
..._(e)
|
|
5020
4987
|
});
|
|
5021
|
-
class
|
|
4988
|
+
class I extends v {
|
|
5022
4989
|
innerType() {
|
|
5023
4990
|
return this._def.schema;
|
|
5024
4991
|
}
|
|
@@ -5064,9 +5031,9 @@ class N extends y {
|
|
|
5064
5031
|
path: n.path,
|
|
5065
5032
|
parent: n
|
|
5066
5033
|
});
|
|
5067
|
-
return o.status === "aborted" ?
|
|
5034
|
+
return o.status === "aborted" ? f : (o.status === "dirty" && t.dirty(), s(o.value), { status: t.value, value: o.value });
|
|
5068
5035
|
} else
|
|
5069
|
-
return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((o) => o.status === "aborted" ?
|
|
5036
|
+
return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((o) => o.status === "aborted" ? f : (o.status === "dirty" && t.dirty(), s(o.value).then(() => ({ status: t.value, value: o.value }))));
|
|
5070
5037
|
}
|
|
5071
5038
|
if (i.type === "transform")
|
|
5072
5039
|
if (n.common.async === !1) {
|
|
@@ -5086,21 +5053,21 @@ class N extends y {
|
|
|
5086
5053
|
b.assertNever(i);
|
|
5087
5054
|
}
|
|
5088
5055
|
}
|
|
5089
|
-
|
|
5056
|
+
I.create = (a, e, t) => new I({
|
|
5090
5057
|
schema: a,
|
|
5091
5058
|
typeName: h.ZodEffects,
|
|
5092
5059
|
effect: e,
|
|
5093
|
-
...
|
|
5060
|
+
..._(t)
|
|
5094
5061
|
});
|
|
5095
|
-
|
|
5062
|
+
I.createWithPreprocess = (a, e, t) => new I({
|
|
5096
5063
|
schema: e,
|
|
5097
5064
|
effect: { type: "preprocess", transform: a },
|
|
5098
5065
|
typeName: h.ZodEffects,
|
|
5099
|
-
...
|
|
5066
|
+
..._(t)
|
|
5100
5067
|
});
|
|
5101
|
-
class P extends
|
|
5068
|
+
class P extends v {
|
|
5102
5069
|
_parse(e) {
|
|
5103
|
-
return this._getType(e) === u.undefined ?
|
|
5070
|
+
return this._getType(e) === u.undefined ? C(void 0) : this._def.innerType._parse(e);
|
|
5104
5071
|
}
|
|
5105
5072
|
unwrap() {
|
|
5106
5073
|
return this._def.innerType;
|
|
@@ -5109,11 +5076,11 @@ class P extends y {
|
|
|
5109
5076
|
P.create = (a, e) => new P({
|
|
5110
5077
|
innerType: a,
|
|
5111
5078
|
typeName: h.ZodOptional,
|
|
5112
|
-
...
|
|
5079
|
+
..._(e)
|
|
5113
5080
|
});
|
|
5114
|
-
class q extends
|
|
5081
|
+
class q extends v {
|
|
5115
5082
|
_parse(e) {
|
|
5116
|
-
return this._getType(e) === u.null ?
|
|
5083
|
+
return this._getType(e) === u.null ? C(null) : this._def.innerType._parse(e);
|
|
5117
5084
|
}
|
|
5118
5085
|
unwrap() {
|
|
5119
5086
|
return this._def.innerType;
|
|
@@ -5122,9 +5089,9 @@ class q extends y {
|
|
|
5122
5089
|
q.create = (a, e) => new q({
|
|
5123
5090
|
innerType: a,
|
|
5124
5091
|
typeName: h.ZodNullable,
|
|
5125
|
-
...
|
|
5092
|
+
..._(e)
|
|
5126
5093
|
});
|
|
5127
|
-
class re extends
|
|
5094
|
+
class re extends v {
|
|
5128
5095
|
_parse(e) {
|
|
5129
5096
|
const { ctx: t } = this._processInputParams(e);
|
|
5130
5097
|
let n = t.data;
|
|
@@ -5142,9 +5109,9 @@ re.create = (a, e) => new re({
|
|
|
5142
5109
|
innerType: a,
|
|
5143
5110
|
typeName: h.ZodDefault,
|
|
5144
5111
|
defaultValue: typeof e.default == "function" ? e.default : () => e.default,
|
|
5145
|
-
...
|
|
5112
|
+
..._(e)
|
|
5146
5113
|
});
|
|
5147
|
-
class he extends
|
|
5114
|
+
class he extends v {
|
|
5148
5115
|
_parse(e) {
|
|
5149
5116
|
const { ctx: t } = this._processInputParams(e), n = {
|
|
5150
5117
|
...t,
|
|
@@ -5185,9 +5152,9 @@ he.create = (a, e) => new he({
|
|
|
5185
5152
|
innerType: a,
|
|
5186
5153
|
typeName: h.ZodCatch,
|
|
5187
5154
|
catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
|
|
5188
|
-
...
|
|
5155
|
+
..._(e)
|
|
5189
5156
|
});
|
|
5190
|
-
class
|
|
5157
|
+
class fe extends v {
|
|
5191
5158
|
_parse(e) {
|
|
5192
5159
|
if (this._getType(e) !== u.nan) {
|
|
5193
5160
|
const n = this._getOrReturnCtx(e);
|
|
@@ -5195,17 +5162,17 @@ class ge extends y {
|
|
|
5195
5162
|
code: c.invalid_type,
|
|
5196
5163
|
expected: u.nan,
|
|
5197
5164
|
received: n.parsedType
|
|
5198
|
-
}),
|
|
5165
|
+
}), f;
|
|
5199
5166
|
}
|
|
5200
5167
|
return { status: "valid", value: e.data };
|
|
5201
5168
|
}
|
|
5202
5169
|
}
|
|
5203
|
-
|
|
5170
|
+
fe.create = (a) => new fe({
|
|
5204
5171
|
typeName: h.ZodNaN,
|
|
5205
|
-
...
|
|
5172
|
+
..._(a)
|
|
5206
5173
|
});
|
|
5207
|
-
const
|
|
5208
|
-
class Ee extends
|
|
5174
|
+
const it = Symbol("zod_brand");
|
|
5175
|
+
class Ee extends v {
|
|
5209
5176
|
_parse(e) {
|
|
5210
5177
|
const { ctx: t } = this._processInputParams(e), n = t.data;
|
|
5211
5178
|
return this._def.type._parse({
|
|
@@ -5218,7 +5185,7 @@ class Ee extends y {
|
|
|
5218
5185
|
return this._def.type;
|
|
5219
5186
|
}
|
|
5220
5187
|
}
|
|
5221
|
-
class se extends
|
|
5188
|
+
class se extends v {
|
|
5222
5189
|
_parse(e) {
|
|
5223
5190
|
const { status: t, ctx: n } = this._processInputParams(e);
|
|
5224
5191
|
if (n.common.async)
|
|
@@ -5228,7 +5195,7 @@ class se extends y {
|
|
|
5228
5195
|
path: n.path,
|
|
5229
5196
|
parent: n
|
|
5230
5197
|
});
|
|
5231
|
-
return r.status === "aborted" ?
|
|
5198
|
+
return r.status === "aborted" ? f : r.status === "dirty" ? (t.dirty(), Se(r.value)) : this._def.out._parseAsync({
|
|
5232
5199
|
data: r.value,
|
|
5233
5200
|
path: n.path,
|
|
5234
5201
|
parent: n
|
|
@@ -5240,7 +5207,7 @@ class se extends y {
|
|
|
5240
5207
|
path: n.path,
|
|
5241
5208
|
parent: n
|
|
5242
5209
|
});
|
|
5243
|
-
return i.status === "aborted" ?
|
|
5210
|
+
return i.status === "aborted" ? f : i.status === "dirty" ? (t.dirty(), {
|
|
5244
5211
|
status: "dirty",
|
|
5245
5212
|
value: i.value
|
|
5246
5213
|
}) : this._def.out._parseSync({
|
|
@@ -5258,54 +5225,54 @@ class se extends y {
|
|
|
5258
5225
|
});
|
|
5259
5226
|
}
|
|
5260
5227
|
}
|
|
5261
|
-
class
|
|
5228
|
+
class ge extends v {
|
|
5262
5229
|
_parse(e) {
|
|
5263
5230
|
const t = this._def.innerType._parse(e);
|
|
5264
5231
|
return H(t) && (t.value = Object.freeze(t.value)), t;
|
|
5265
5232
|
}
|
|
5266
5233
|
}
|
|
5267
|
-
|
|
5234
|
+
ge.create = (a, e) => new ge({
|
|
5268
5235
|
innerType: a,
|
|
5269
5236
|
typeName: h.ZodReadonly,
|
|
5270
|
-
...
|
|
5237
|
+
..._(e)
|
|
5271
5238
|
});
|
|
5272
|
-
const
|
|
5239
|
+
const Oe = (a, e = {}, t) => a ? Y.create().superRefine((n, i) => {
|
|
5273
5240
|
var r, s;
|
|
5274
5241
|
if (!a(n)) {
|
|
5275
5242
|
const o = typeof e == "function" ? e(n) : typeof e == "string" ? { message: e } : e, m = (s = (r = o.fatal) !== null && r !== void 0 ? r : t) !== null && s !== void 0 ? s : !0, d = typeof o == "string" ? { message: o } : o;
|
|
5276
5243
|
i.addIssue({ code: "custom", ...d, fatal: m });
|
|
5277
5244
|
}
|
|
5278
|
-
}) : Y.create(),
|
|
5279
|
-
object:
|
|
5245
|
+
}) : Y.create(), rt = {
|
|
5246
|
+
object: w.lazycreate
|
|
5280
5247
|
};
|
|
5281
5248
|
var h;
|
|
5282
5249
|
(function(a) {
|
|
5283
5250
|
a.ZodString = "ZodString", a.ZodNumber = "ZodNumber", a.ZodNaN = "ZodNaN", a.ZodBigInt = "ZodBigInt", a.ZodBoolean = "ZodBoolean", a.ZodDate = "ZodDate", a.ZodSymbol = "ZodSymbol", a.ZodUndefined = "ZodUndefined", a.ZodNull = "ZodNull", a.ZodAny = "ZodAny", a.ZodUnknown = "ZodUnknown", a.ZodNever = "ZodNever", a.ZodVoid = "ZodVoid", a.ZodArray = "ZodArray", a.ZodObject = "ZodObject", a.ZodUnion = "ZodUnion", a.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", a.ZodIntersection = "ZodIntersection", a.ZodTuple = "ZodTuple", a.ZodRecord = "ZodRecord", a.ZodMap = "ZodMap", a.ZodSet = "ZodSet", a.ZodFunction = "ZodFunction", a.ZodLazy = "ZodLazy", a.ZodLiteral = "ZodLiteral", a.ZodEnum = "ZodEnum", a.ZodEffects = "ZodEffects", a.ZodNativeEnum = "ZodNativeEnum", a.ZodOptional = "ZodOptional", a.ZodNullable = "ZodNullable", a.ZodDefault = "ZodDefault", a.ZodCatch = "ZodCatch", a.ZodPromise = "ZodPromise", a.ZodBranded = "ZodBranded", a.ZodPipeline = "ZodPipeline", a.ZodReadonly = "ZodReadonly";
|
|
5284
5251
|
})(h || (h = {}));
|
|
5285
|
-
const
|
|
5252
|
+
const st = (a, e = {
|
|
5286
5253
|
message: `Input not instance of ${a.name}`
|
|
5287
|
-
}) =>
|
|
5288
|
-
string: (a) =>
|
|
5289
|
-
number: (a) =>
|
|
5254
|
+
}) => Oe((t) => t instanceof a, e), Ie = A.create, Ne = D.create, ot = fe.create, ct = Z.create, Me = J.create, dt = B.create, ut = le.create, lt = X.create, mt = K.create, pt = Y.create, ht = $.create, ft = L.create, gt = me.create, _t = O.create, vt = w.create, yt = w.strictCreate, bt = Q.create, xt = _e.create, wt = ee.create, Tt = M.create, Ct = te.create, kt = pe.create, Rt = U.create, St = z.create, At = ae.create, Et = ne.create, Ot = V.create, It = ie.create, Nt = W.create, ke = I.create, Mt = P.create, Pt = q.create, Lt = I.createWithPreprocess, jt = se.create, Dt = () => Ie().optional(), Zt = () => Ne().optional(), Vt = () => Me().optional(), $t = {
|
|
5255
|
+
string: (a) => A.create({ ...a, coerce: !0 }),
|
|
5256
|
+
number: (a) => D.create({ ...a, coerce: !0 }),
|
|
5290
5257
|
boolean: (a) => J.create({
|
|
5291
5258
|
...a,
|
|
5292
5259
|
coerce: !0
|
|
5293
5260
|
}),
|
|
5294
|
-
bigint: (a) =>
|
|
5261
|
+
bigint: (a) => Z.create({ ...a, coerce: !0 }),
|
|
5295
5262
|
date: (a) => B.create({ ...a, coerce: !0 })
|
|
5296
|
-
},
|
|
5297
|
-
var
|
|
5263
|
+
}, Bt = f;
|
|
5264
|
+
var Ut = /* @__PURE__ */ Object.freeze({
|
|
5298
5265
|
__proto__: null,
|
|
5299
5266
|
defaultErrorMap: F,
|
|
5300
|
-
setErrorMap:
|
|
5267
|
+
setErrorMap: ze,
|
|
5301
5268
|
getErrorMap: ce,
|
|
5302
5269
|
makeIssue: de,
|
|
5303
|
-
EMPTY_PATH:
|
|
5270
|
+
EMPTY_PATH: Ye,
|
|
5304
5271
|
addIssueToContext: l,
|
|
5305
|
-
ParseStatus:
|
|
5306
|
-
INVALID:
|
|
5307
|
-
DIRTY:
|
|
5308
|
-
OK:
|
|
5272
|
+
ParseStatus: T,
|
|
5273
|
+
INVALID: f,
|
|
5274
|
+
DIRTY: Se,
|
|
5275
|
+
OK: C,
|
|
5309
5276
|
isAborted: xe,
|
|
5310
5277
|
isDirty: we,
|
|
5311
5278
|
isValid: H,
|
|
@@ -5317,99 +5284,99 @@ var Gt = /* @__PURE__ */ Object.freeze({
|
|
|
5317
5284
|
return be;
|
|
5318
5285
|
},
|
|
5319
5286
|
ZodParsedType: u,
|
|
5320
|
-
getParsedType:
|
|
5321
|
-
ZodType:
|
|
5322
|
-
ZodString:
|
|
5323
|
-
ZodNumber:
|
|
5324
|
-
ZodBigInt:
|
|
5287
|
+
getParsedType: j,
|
|
5288
|
+
ZodType: v,
|
|
5289
|
+
ZodString: A,
|
|
5290
|
+
ZodNumber: D,
|
|
5291
|
+
ZodBigInt: Z,
|
|
5325
5292
|
ZodBoolean: J,
|
|
5326
5293
|
ZodDate: B,
|
|
5327
5294
|
ZodSymbol: le,
|
|
5328
5295
|
ZodUndefined: X,
|
|
5329
5296
|
ZodNull: K,
|
|
5330
5297
|
ZodAny: Y,
|
|
5331
|
-
ZodUnknown:
|
|
5298
|
+
ZodUnknown: $,
|
|
5332
5299
|
ZodNever: L,
|
|
5333
5300
|
ZodVoid: me,
|
|
5334
|
-
ZodArray:
|
|
5335
|
-
ZodObject:
|
|
5301
|
+
ZodArray: O,
|
|
5302
|
+
ZodObject: w,
|
|
5336
5303
|
ZodUnion: Q,
|
|
5337
|
-
ZodDiscriminatedUnion:
|
|
5304
|
+
ZodDiscriminatedUnion: _e,
|
|
5338
5305
|
ZodIntersection: ee,
|
|
5339
|
-
ZodTuple:
|
|
5306
|
+
ZodTuple: M,
|
|
5340
5307
|
ZodRecord: te,
|
|
5341
5308
|
ZodMap: pe,
|
|
5342
|
-
ZodSet:
|
|
5309
|
+
ZodSet: U,
|
|
5343
5310
|
ZodFunction: z,
|
|
5344
5311
|
ZodLazy: ae,
|
|
5345
5312
|
ZodLiteral: ne,
|
|
5346
|
-
ZodEnum:
|
|
5313
|
+
ZodEnum: V,
|
|
5347
5314
|
ZodNativeEnum: ie,
|
|
5348
5315
|
ZodPromise: W,
|
|
5349
|
-
ZodEffects:
|
|
5350
|
-
ZodTransformer:
|
|
5316
|
+
ZodEffects: I,
|
|
5317
|
+
ZodTransformer: I,
|
|
5351
5318
|
ZodOptional: P,
|
|
5352
5319
|
ZodNullable: q,
|
|
5353
5320
|
ZodDefault: re,
|
|
5354
5321
|
ZodCatch: he,
|
|
5355
|
-
ZodNaN:
|
|
5356
|
-
BRAND:
|
|
5322
|
+
ZodNaN: fe,
|
|
5323
|
+
BRAND: it,
|
|
5357
5324
|
ZodBranded: Ee,
|
|
5358
5325
|
ZodPipeline: se,
|
|
5359
|
-
ZodReadonly:
|
|
5360
|
-
custom:
|
|
5361
|
-
Schema:
|
|
5362
|
-
ZodSchema:
|
|
5363
|
-
late:
|
|
5326
|
+
ZodReadonly: ge,
|
|
5327
|
+
custom: Oe,
|
|
5328
|
+
Schema: v,
|
|
5329
|
+
ZodSchema: v,
|
|
5330
|
+
late: rt,
|
|
5364
5331
|
get ZodFirstPartyTypeKind() {
|
|
5365
5332
|
return h;
|
|
5366
5333
|
},
|
|
5367
5334
|
coerce: $t,
|
|
5368
|
-
any:
|
|
5335
|
+
any: pt,
|
|
5369
5336
|
array: _t,
|
|
5370
|
-
bigint:
|
|
5371
|
-
boolean:
|
|
5372
|
-
date:
|
|
5373
|
-
discriminatedUnion:
|
|
5374
|
-
effect:
|
|
5375
|
-
enum:
|
|
5376
|
-
function:
|
|
5377
|
-
instanceof:
|
|
5378
|
-
intersection:
|
|
5379
|
-
lazy:
|
|
5380
|
-
literal:
|
|
5337
|
+
bigint: ct,
|
|
5338
|
+
boolean: Me,
|
|
5339
|
+
date: dt,
|
|
5340
|
+
discriminatedUnion: xt,
|
|
5341
|
+
effect: ke,
|
|
5342
|
+
enum: Ot,
|
|
5343
|
+
function: St,
|
|
5344
|
+
instanceof: st,
|
|
5345
|
+
intersection: wt,
|
|
5346
|
+
lazy: At,
|
|
5347
|
+
literal: Et,
|
|
5381
5348
|
map: kt,
|
|
5382
|
-
nan:
|
|
5383
|
-
nativeEnum:
|
|
5384
|
-
never:
|
|
5385
|
-
null:
|
|
5386
|
-
nullable:
|
|
5387
|
-
number:
|
|
5388
|
-
object:
|
|
5389
|
-
oboolean:
|
|
5390
|
-
onumber:
|
|
5391
|
-
optional:
|
|
5392
|
-
ostring:
|
|
5393
|
-
pipeline:
|
|
5394
|
-
preprocess:
|
|
5395
|
-
promise:
|
|
5396
|
-
record:
|
|
5349
|
+
nan: ot,
|
|
5350
|
+
nativeEnum: It,
|
|
5351
|
+
never: ft,
|
|
5352
|
+
null: mt,
|
|
5353
|
+
nullable: Pt,
|
|
5354
|
+
number: Ne,
|
|
5355
|
+
object: vt,
|
|
5356
|
+
oboolean: Vt,
|
|
5357
|
+
onumber: Zt,
|
|
5358
|
+
optional: Mt,
|
|
5359
|
+
ostring: Dt,
|
|
5360
|
+
pipeline: jt,
|
|
5361
|
+
preprocess: Lt,
|
|
5362
|
+
promise: Nt,
|
|
5363
|
+
record: Ct,
|
|
5397
5364
|
set: Rt,
|
|
5398
|
-
strictObject:
|
|
5399
|
-
string:
|
|
5400
|
-
symbol:
|
|
5401
|
-
transformer:
|
|
5402
|
-
tuple:
|
|
5403
|
-
undefined:
|
|
5404
|
-
union:
|
|
5405
|
-
unknown:
|
|
5406
|
-
void:
|
|
5407
|
-
NEVER:
|
|
5365
|
+
strictObject: yt,
|
|
5366
|
+
string: Ie,
|
|
5367
|
+
symbol: ut,
|
|
5368
|
+
transformer: ke,
|
|
5369
|
+
tuple: Tt,
|
|
5370
|
+
undefined: lt,
|
|
5371
|
+
union: bt,
|
|
5372
|
+
unknown: ht,
|
|
5373
|
+
void: gt,
|
|
5374
|
+
NEVER: Bt,
|
|
5408
5375
|
ZodIssueCode: c,
|
|
5409
|
-
quotelessJson:
|
|
5376
|
+
quotelessJson: Ge,
|
|
5410
5377
|
ZodError: E
|
|
5411
5378
|
});
|
|
5412
|
-
const
|
|
5379
|
+
const qt = [
|
|
5413
5380
|
"DASHBOARD",
|
|
5414
5381
|
"ANALYTIC",
|
|
5415
5382
|
"CAMPAIGN",
|
|
@@ -5437,28 +5404,32 @@ const zt = [
|
|
|
5437
5404
|
"STORE_REWARD_COLLECTIONS",
|
|
5438
5405
|
"TRANSACTION",
|
|
5439
5406
|
"MARKETING",
|
|
5440
|
-
"SETTING"
|
|
5441
|
-
|
|
5407
|
+
"SETTING",
|
|
5408
|
+
"REFERRAL",
|
|
5409
|
+
"REFERRAL_OVERVIEW",
|
|
5410
|
+
"REFERRAL_RECORD",
|
|
5411
|
+
"REWARD_TEMPLATE"
|
|
5412
|
+
].map((a) => `$connect-${a}`), Gt = Ut.enum(qt), g = Gt.Enum, Ft = [
|
|
5442
5413
|
{
|
|
5443
5414
|
path: "",
|
|
5444
|
-
name:
|
|
5445
|
-
redirect: { name:
|
|
5415
|
+
name: g["$connect-DASHBOARD"],
|
|
5416
|
+
redirect: { name: g["$connect-ANALYTIC"] }
|
|
5446
5417
|
},
|
|
5447
5418
|
{
|
|
5448
5419
|
path: "/analytic",
|
|
5449
5420
|
component: () => import("./MainLayout-B1aJoR95.js"),
|
|
5450
|
-
redirect: { name:
|
|
5421
|
+
redirect: { name: g["$connect-ANALYTIC"] },
|
|
5451
5422
|
children: [
|
|
5452
5423
|
{
|
|
5453
5424
|
path: "/analytic",
|
|
5454
|
-
name:
|
|
5455
|
-
component: k(
|
|
5425
|
+
name: g["$connect-ANALYTIC"],
|
|
5426
|
+
component: R(k(() => import("./Analytic-DArrGnk-.js"))),
|
|
5456
5427
|
meta: {
|
|
5457
5428
|
validationManifest: {
|
|
5458
5429
|
requiredCaslPermissions: [
|
|
5459
5430
|
{
|
|
5460
|
-
action:
|
|
5461
|
-
subject:
|
|
5431
|
+
action: x.Action.manage,
|
|
5432
|
+
subject: x.Subject.Business.membership
|
|
5462
5433
|
}
|
|
5463
5434
|
]
|
|
5464
5435
|
}
|
|
@@ -5468,20 +5439,20 @@ const zt = [
|
|
|
5468
5439
|
},
|
|
5469
5440
|
{
|
|
5470
5441
|
path: "/campaign",
|
|
5471
|
-
name:
|
|
5472
|
-
redirect:
|
|
5442
|
+
name: g["$connect-CAMPAIGN"],
|
|
5443
|
+
redirect: g["$connect-CAMPAIGN_PROMOTION"],
|
|
5473
5444
|
component: () => import("./MainLayout-B1aJoR95.js"),
|
|
5474
5445
|
children: [
|
|
5475
5446
|
{
|
|
5476
5447
|
path: "/campaign/promotion",
|
|
5477
|
-
name:
|
|
5478
|
-
component: k(
|
|
5448
|
+
name: g["$connect-CAMPAIGN_PROMOTION"],
|
|
5449
|
+
component: R(k(() => import("./Promotion-CrROpksP.js"))),
|
|
5479
5450
|
meta: {
|
|
5480
5451
|
validationManifest: {
|
|
5481
5452
|
requiredCaslPermissions: [
|
|
5482
5453
|
{
|
|
5483
|
-
action:
|
|
5484
|
-
subject:
|
|
5454
|
+
action: x.Action.manage,
|
|
5455
|
+
subject: x.Subject.Business.promotion
|
|
5485
5456
|
}
|
|
5486
5457
|
]
|
|
5487
5458
|
}
|
|
@@ -5489,18 +5460,18 @@ const zt = [
|
|
|
5489
5460
|
},
|
|
5490
5461
|
{
|
|
5491
5462
|
path: "/campaign/voucher",
|
|
5492
|
-
redirect: { name:
|
|
5463
|
+
redirect: { name: g["$connect-CAMPAIGN_VOUCHER"] },
|
|
5493
5464
|
children: [
|
|
5494
5465
|
{
|
|
5495
5466
|
path: "/campaign/voucher",
|
|
5496
|
-
name:
|
|
5497
|
-
component: k(
|
|
5467
|
+
name: g["$connect-CAMPAIGN_VOUCHER"],
|
|
5468
|
+
component: R(k(() => import("./Voucher-bYVNHe4l.js"))),
|
|
5498
5469
|
meta: {
|
|
5499
5470
|
validationManifest: {
|
|
5500
5471
|
requiredCaslPermissions: [
|
|
5501
5472
|
{
|
|
5502
|
-
action:
|
|
5503
|
-
subject:
|
|
5473
|
+
action: x.Action.manage,
|
|
5474
|
+
subject: x.Subject.Business.voucher
|
|
5504
5475
|
}
|
|
5505
5476
|
]
|
|
5506
5477
|
}
|
|
@@ -5508,14 +5479,14 @@ const zt = [
|
|
|
5508
5479
|
},
|
|
5509
5480
|
{
|
|
5510
5481
|
path: "/campaign/voucher/:id/collections",
|
|
5511
|
-
name:
|
|
5512
|
-
component: k(
|
|
5482
|
+
name: g["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
|
|
5483
|
+
component: R(k(() => import("./Collections-CodLm2hP.js"))),
|
|
5513
5484
|
meta: {
|
|
5514
5485
|
validationManifest: {
|
|
5515
5486
|
requiredCaslPermissions: [
|
|
5516
5487
|
{
|
|
5517
|
-
action:
|
|
5518
|
-
subject:
|
|
5488
|
+
action: x.Action.manage,
|
|
5489
|
+
subject: x.Subject.Business.voucher
|
|
5519
5490
|
}
|
|
5520
5491
|
]
|
|
5521
5492
|
}
|
|
@@ -5525,14 +5496,14 @@ const zt = [
|
|
|
5525
5496
|
},
|
|
5526
5497
|
{
|
|
5527
5498
|
path: "/campaign/broadcast",
|
|
5528
|
-
name:
|
|
5529
|
-
component: k(
|
|
5499
|
+
name: g["$connect-CAMPAIGN_BROADCAST"],
|
|
5500
|
+
component: R(k(() => import("./Broadcast-C5CtxHYC.js"))),
|
|
5530
5501
|
meta: {
|
|
5531
5502
|
validationManifest: {
|
|
5532
5503
|
requiredCaslPermissions: [
|
|
5533
5504
|
{
|
|
5534
|
-
action:
|
|
5535
|
-
subject:
|
|
5505
|
+
action: x.Action.manage,
|
|
5506
|
+
subject: x.Subject.Business.membership
|
|
5536
5507
|
}
|
|
5537
5508
|
]
|
|
5538
5509
|
}
|
|
@@ -5543,119 +5514,156 @@ const zt = [
|
|
|
5543
5514
|
{
|
|
5544
5515
|
path: "/program",
|
|
5545
5516
|
// component: () => import('@/layouts/MainLayout.vue'),
|
|
5546
|
-
component: k(
|
|
5517
|
+
component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5547
5518
|
meta: {
|
|
5548
5519
|
validationManifest: {
|
|
5549
5520
|
requiredCaslPermissions: [
|
|
5550
5521
|
{
|
|
5551
|
-
action:
|
|
5552
|
-
subject:
|
|
5522
|
+
action: x.Action.manage,
|
|
5523
|
+
subject: x.Subject.Business.membership
|
|
5553
5524
|
}
|
|
5554
5525
|
]
|
|
5555
5526
|
}
|
|
5556
5527
|
},
|
|
5557
|
-
name:
|
|
5558
|
-
redirect:
|
|
5528
|
+
name: g["$connect-PROGRAM"],
|
|
5529
|
+
redirect: g["$connect-PROGRAM_TIER"],
|
|
5559
5530
|
children: [
|
|
5560
5531
|
{
|
|
5561
5532
|
path: "/program/tier",
|
|
5562
|
-
name:
|
|
5563
|
-
component: () => import("./Tier-
|
|
5533
|
+
name: g["$connect-PROGRAM_TIER"],
|
|
5534
|
+
component: () => import("./Tier-BCgp2Ngt.js")
|
|
5564
5535
|
},
|
|
5565
5536
|
{
|
|
5566
5537
|
path: "/program/title",
|
|
5567
|
-
name:
|
|
5568
|
-
component: () => import("./Title-
|
|
5538
|
+
name: g["$connect-PROGRAM_TITLE"],
|
|
5539
|
+
component: () => import("./Title-CJNx0TkK.js")
|
|
5569
5540
|
},
|
|
5570
5541
|
{
|
|
5571
5542
|
path: "/program/experience",
|
|
5572
|
-
name:
|
|
5573
|
-
component: () => import("./Experience-
|
|
5543
|
+
name: g["$connect-PROGRAM_EXPERIENCE"],
|
|
5544
|
+
component: () => import("./Experience-DR0_RUqZ.js")
|
|
5574
5545
|
},
|
|
5575
5546
|
{
|
|
5576
5547
|
path: "/program/point",
|
|
5577
|
-
name:
|
|
5578
|
-
component: () => import("./Point-
|
|
5548
|
+
name: g["$connect-PROGRAM_POINT"],
|
|
5549
|
+
component: () => import("./Point-BCvUsXLl.js")
|
|
5579
5550
|
},
|
|
5580
5551
|
{
|
|
5581
5552
|
path: "/program/credit",
|
|
5582
|
-
name:
|
|
5583
|
-
component: () => import("./Credit-
|
|
5553
|
+
name: g["$connect-PROGRAM_CREDIT"],
|
|
5554
|
+
component: () => import("./Credit-8qliEPqA.js")
|
|
5584
5555
|
},
|
|
5585
5556
|
{
|
|
5586
5557
|
path: "/program/game",
|
|
5587
|
-
name:
|
|
5588
|
-
component: () => import("./Game-
|
|
5558
|
+
name: g["$connect-PROGRAM_GAME"],
|
|
5559
|
+
component: () => import("./Game-BZkQZDV_.js")
|
|
5589
5560
|
},
|
|
5590
5561
|
{
|
|
5591
5562
|
path: "/program/mission",
|
|
5592
|
-
name:
|
|
5593
|
-
component: () => import("./Mission-
|
|
5563
|
+
name: g["$connect-PROGRAM_MISSION"],
|
|
5564
|
+
component: () => import("./Mission-CQ2PlxLv.js")
|
|
5594
5565
|
}
|
|
5595
5566
|
]
|
|
5596
5567
|
},
|
|
5597
5568
|
{
|
|
5598
5569
|
path: "/loyalty",
|
|
5599
|
-
component: k(
|
|
5570
|
+
component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5600
5571
|
meta: {
|
|
5601
5572
|
validationManifest: {
|
|
5602
5573
|
requiredCaslPermissions: [
|
|
5603
5574
|
{
|
|
5604
|
-
action:
|
|
5605
|
-
subject:
|
|
5575
|
+
action: x.Action.manage,
|
|
5576
|
+
subject: x.Subject.Business.membership
|
|
5606
5577
|
}
|
|
5607
5578
|
]
|
|
5608
5579
|
}
|
|
5609
5580
|
},
|
|
5610
|
-
name:
|
|
5611
|
-
redirect:
|
|
5581
|
+
name: g["$connect-LOYALTY"],
|
|
5582
|
+
redirect: g["$connect-LOYALTY_MEMBER"],
|
|
5612
5583
|
children: [
|
|
5613
5584
|
{
|
|
5614
5585
|
path: "/loyalty/member",
|
|
5615
|
-
name:
|
|
5616
|
-
component: () => import("./Member-
|
|
5586
|
+
name: g["$connect-LOYALTY_MEMBER"],
|
|
5587
|
+
component: () => import("./Member-DW_uVRyE.js"),
|
|
5617
5588
|
redirect: {
|
|
5618
|
-
name:
|
|
5589
|
+
name: g["$connect-LOYALTY_MEMBER_OVERVIEW"]
|
|
5619
5590
|
},
|
|
5620
5591
|
children: [
|
|
5621
5592
|
{
|
|
5622
5593
|
path: "/loyalty/member",
|
|
5623
|
-
name:
|
|
5594
|
+
name: g["$connect-LOYALTY_MEMBER_OVERVIEW"],
|
|
5624
5595
|
component: () => import("./MemberOverview-wL_ailso.js")
|
|
5625
5596
|
},
|
|
5626
5597
|
{
|
|
5627
5598
|
path: "/loyalty/member/list",
|
|
5628
|
-
name:
|
|
5629
|
-
component: () => import("./MemberList-
|
|
5599
|
+
name: g["$connect-LOYALTY_MEMBER_LIST"],
|
|
5600
|
+
component: () => import("./MemberList-BQcsV-Bz.js")
|
|
5630
5601
|
},
|
|
5631
5602
|
{
|
|
5632
5603
|
path: "/loyalty/member/transactions/:id",
|
|
5633
|
-
name:
|
|
5634
|
-
component: () => import("./MemberTransactions-
|
|
5604
|
+
name: g["$connect-LOYALTY_MEMBER_TRANSACTIONS"],
|
|
5605
|
+
component: () => import("./MemberTransactions-xJaYPP7W.js")
|
|
5635
5606
|
}
|
|
5636
5607
|
]
|
|
5637
5608
|
},
|
|
5638
5609
|
{
|
|
5639
5610
|
path: "/loyalty/segment",
|
|
5640
|
-
name:
|
|
5641
|
-
component: () => import("./Segment-
|
|
5611
|
+
name: g["$connect-LOYALTY_SEGMENT"],
|
|
5612
|
+
component: () => import("./Segment-h-HRoL19.js")
|
|
5642
5613
|
},
|
|
5643
5614
|
{
|
|
5644
5615
|
path: "/loyalty/card",
|
|
5645
|
-
name:
|
|
5646
|
-
component: () => import("./Card-
|
|
5616
|
+
name: g["$connect-LOYALTY_CARD"],
|
|
5617
|
+
component: () => import("./Card-ZsgNMrz5.js")
|
|
5618
|
+
}
|
|
5619
|
+
]
|
|
5620
|
+
},
|
|
5621
|
+
{
|
|
5622
|
+
path: "/referral",
|
|
5623
|
+
redirect: { name: g["$connect-REFERRAL"] },
|
|
5624
|
+
component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5625
|
+
meta: {
|
|
5626
|
+
validationManifest: {
|
|
5627
|
+
requiredCaslPermissions: [
|
|
5628
|
+
{
|
|
5629
|
+
action: x.Action.manage,
|
|
5630
|
+
subject: x.Subject.Business.membership
|
|
5631
|
+
}
|
|
5632
|
+
]
|
|
5633
|
+
}
|
|
5634
|
+
},
|
|
5635
|
+
children: [
|
|
5636
|
+
{
|
|
5637
|
+
path: "/referral",
|
|
5638
|
+
name: g["$connect-REFERRAL"],
|
|
5639
|
+
component: () => import("./Index-BP9YGCex.js"),
|
|
5640
|
+
redirect: {
|
|
5641
|
+
name: g["$connect-REFERRAL_OVERVIEW"]
|
|
5642
|
+
},
|
|
5643
|
+
children: [
|
|
5644
|
+
{
|
|
5645
|
+
path: "/referral",
|
|
5646
|
+
name: g["$connect-REFERRAL_OVERVIEW"],
|
|
5647
|
+
component: () => import("./Overview-CWhTf5Tz.js")
|
|
5648
|
+
},
|
|
5649
|
+
{
|
|
5650
|
+
path: "/referral/record",
|
|
5651
|
+
name: g["$connect-REFERRAL_RECORD"],
|
|
5652
|
+
component: () => import("./Record-B6RRMDQn.js")
|
|
5653
|
+
}
|
|
5654
|
+
]
|
|
5647
5655
|
}
|
|
5648
5656
|
]
|
|
5649
5657
|
},
|
|
5650
5658
|
{
|
|
5651
5659
|
path: "/store",
|
|
5652
|
-
component: k(
|
|
5660
|
+
component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5653
5661
|
meta: {
|
|
5654
5662
|
validationManifest: {
|
|
5655
5663
|
requiredCaslPermissions: [
|
|
5656
5664
|
{
|
|
5657
|
-
action:
|
|
5658
|
-
subject:
|
|
5665
|
+
action: x.Action.manage,
|
|
5666
|
+
subject: x.Subject.Business.membership
|
|
5659
5667
|
}
|
|
5660
5668
|
]
|
|
5661
5669
|
}
|
|
@@ -5663,22 +5671,22 @@ const zt = [
|
|
|
5663
5671
|
children: [
|
|
5664
5672
|
{
|
|
5665
5673
|
path: "/store",
|
|
5666
|
-
name:
|
|
5667
|
-
component: () => import("./Store-
|
|
5674
|
+
name: g["$connect-STORE"],
|
|
5675
|
+
component: () => import("./Store-CbjSMVfb.js")
|
|
5668
5676
|
},
|
|
5669
5677
|
{
|
|
5670
5678
|
path: "/store/rewards",
|
|
5671
|
-
redirect: { name:
|
|
5679
|
+
redirect: { name: g["$connect-STORE_REWARDS"] },
|
|
5672
5680
|
children: [
|
|
5673
5681
|
{
|
|
5674
5682
|
path: "/store/rewards",
|
|
5675
|
-
name:
|
|
5676
|
-
component: () => import("./StoreRewards-
|
|
5683
|
+
name: g["$connect-STORE_REWARDS"],
|
|
5684
|
+
component: () => import("./StoreRewards-zkEVickE.js")
|
|
5677
5685
|
},
|
|
5678
5686
|
{
|
|
5679
5687
|
path: "/store/rewards/:id/collections",
|
|
5680
|
-
name:
|
|
5681
|
-
component: () => import("./Collections-
|
|
5688
|
+
name: g["$connect-STORE_REWARD_COLLECTIONS"],
|
|
5689
|
+
component: () => import("./Collections-CodLm2hP.js")
|
|
5682
5690
|
}
|
|
5683
5691
|
]
|
|
5684
5692
|
}
|
|
@@ -5686,13 +5694,13 @@ const zt = [
|
|
|
5686
5694
|
},
|
|
5687
5695
|
{
|
|
5688
5696
|
path: "/transaction",
|
|
5689
|
-
component: k(
|
|
5697
|
+
component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5690
5698
|
meta: {
|
|
5691
5699
|
validationManifest: {
|
|
5692
5700
|
requiredCaslPermissions: [
|
|
5693
5701
|
{
|
|
5694
|
-
action:
|
|
5695
|
-
subject:
|
|
5702
|
+
action: x.Action.manage,
|
|
5703
|
+
subject: x.Subject.Business.membership
|
|
5696
5704
|
}
|
|
5697
5705
|
]
|
|
5698
5706
|
}
|
|
@@ -5700,20 +5708,20 @@ const zt = [
|
|
|
5700
5708
|
children: [
|
|
5701
5709
|
{
|
|
5702
5710
|
path: "/transaction",
|
|
5703
|
-
name:
|
|
5704
|
-
component: () => import("./Transaction-
|
|
5711
|
+
name: g["$connect-TRANSACTION"],
|
|
5712
|
+
component: () => import("./Transaction-DWvfvfsk.js")
|
|
5705
5713
|
}
|
|
5706
5714
|
]
|
|
5707
5715
|
},
|
|
5708
5716
|
{
|
|
5709
5717
|
path: "/marketing",
|
|
5710
|
-
component: k(
|
|
5718
|
+
component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5711
5719
|
meta: {
|
|
5712
5720
|
validationManifest: {
|
|
5713
5721
|
requiredCaslPermissions: [
|
|
5714
5722
|
{
|
|
5715
|
-
action:
|
|
5716
|
-
subject:
|
|
5723
|
+
action: x.Action.manage,
|
|
5724
|
+
subject: x.Subject.Business.membership
|
|
5717
5725
|
}
|
|
5718
5726
|
]
|
|
5719
5727
|
}
|
|
@@ -5721,20 +5729,41 @@ const zt = [
|
|
|
5721
5729
|
children: [
|
|
5722
5730
|
{
|
|
5723
5731
|
path: "/marketing",
|
|
5724
|
-
name:
|
|
5725
|
-
component: () => import("./Marketing-
|
|
5732
|
+
name: g["$connect-MARKETING"],
|
|
5733
|
+
component: () => import("./Marketing-Bt-ViwTP.js")
|
|
5734
|
+
}
|
|
5735
|
+
]
|
|
5736
|
+
},
|
|
5737
|
+
{
|
|
5738
|
+
path: "/reward",
|
|
5739
|
+
component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5740
|
+
meta: {
|
|
5741
|
+
validationManifest: {
|
|
5742
|
+
requiredCaslPermissions: [
|
|
5743
|
+
{
|
|
5744
|
+
action: x.Action.manage,
|
|
5745
|
+
subject: x.Subject.Business.membership
|
|
5746
|
+
}
|
|
5747
|
+
]
|
|
5748
|
+
}
|
|
5749
|
+
},
|
|
5750
|
+
children: [
|
|
5751
|
+
{
|
|
5752
|
+
path: "/reward",
|
|
5753
|
+
name: g["$connect-REWARD_TEMPLATE"],
|
|
5754
|
+
component: () => import("./Reward-CTZ3IllK.js")
|
|
5726
5755
|
}
|
|
5727
5756
|
]
|
|
5728
5757
|
},
|
|
5729
5758
|
{
|
|
5730
5759
|
path: "/setting",
|
|
5731
|
-
component: k(
|
|
5760
|
+
component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5732
5761
|
meta: {
|
|
5733
5762
|
validationManifest: {
|
|
5734
5763
|
requiredCaslPermissions: [
|
|
5735
5764
|
{
|
|
5736
|
-
action:
|
|
5737
|
-
subject:
|
|
5765
|
+
action: x.Action.manage,
|
|
5766
|
+
subject: x.Subject.Business.membership
|
|
5738
5767
|
}
|
|
5739
5768
|
]
|
|
5740
5769
|
}
|
|
@@ -5742,23 +5771,23 @@ const zt = [
|
|
|
5742
5771
|
children: [
|
|
5743
5772
|
{
|
|
5744
5773
|
path: "/setting",
|
|
5745
|
-
name:
|
|
5746
|
-
component: () => import("./Setting-
|
|
5774
|
+
name: g["$connect-SETTING"],
|
|
5775
|
+
component: () => import("./Setting-CZIFruFT.js")
|
|
5747
5776
|
}
|
|
5748
5777
|
]
|
|
5749
5778
|
}
|
|
5750
|
-
],
|
|
5751
|
-
"en-US":
|
|
5779
|
+
], Ht = {
|
|
5780
|
+
"en-US": De,
|
|
5752
5781
|
"zh-CN": Be,
|
|
5753
|
-
"th-TH":
|
|
5754
|
-
},
|
|
5782
|
+
"th-TH": qe
|
|
5783
|
+
}, Jt = k(() => import("./App-CxJaPSSE.js"));
|
|
5755
5784
|
export {
|
|
5756
|
-
|
|
5757
|
-
|
|
5785
|
+
Jt as F,
|
|
5786
|
+
g as R,
|
|
5758
5787
|
c as Z,
|
|
5759
5788
|
u as a,
|
|
5760
5789
|
F as e,
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5790
|
+
Ht as i,
|
|
5791
|
+
Ft as r,
|
|
5792
|
+
Ut as z
|
|
5764
5793
|
};
|