@feedmepos/mf-connect 0.1.0-beta.6 → 0.1.0-beta.8
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-muDf0oMG.js → Analytic-5QztrYSp.js} +9 -9
- package/dist/{App-C2616cfr.js → App-SRz4257n.js} +6 -6
- package/dist/{Broadcast-CqSwLTAq.js → Broadcast-DmkrJGp2.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DrR9Pmtb.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CZXSxA9u.js} +8 -8
- package/dist/{Card-bhLoK0ZV.js → Card-BsjFTVsH.js} +83 -83
- package/dist/{Collections-DjtsAiol.js → Collections-7wqZHOax.js} +4 -4
- package/dist/{Credit-CPcLgnsq.js → Credit-CcNrq9qk.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-U_QZneS6.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-Cuklmxur.js} +24 -24
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-D2buK6Dj.js → EffectSheet.vue_vue_type_style_index_0_lang-BIZDiLns.js} +6 -6
- package/dist/{Experience-BoBikt-x.js → Experience-DNsQLzDH.js} +8 -8
- package/dist/{Game-DR8PyYZa.js → Game-DlzDerT7.js} +8 -8
- package/dist/{Marketing-Dny2nMUl.js → Marketing-BqhpaG4o.js} +5 -5
- package/dist/{Member-CP_smyk8.js → Member-AFgZcdtz.js} +4 -4
- package/dist/{MemberList-CR3eYI9p.js → MemberList-BKgrLz2C.js} +13 -13
- package/dist/{MemberTransactions-RTx_lKFb.js → MemberTransactions-BwT3zE2a.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DhtIZCjT.js → MessageInput.vue_vue_type_script_setup_true_lang-GCEQCVOt.js} +2 -2
- package/dist/{Mission-CMpvz9zN.js → Mission-BTAia7AS.js} +8 -8
- package/dist/{Point-DkZn6p9s.js → Point-Ck8EG_3k.js} +8 -8
- package/dist/{Promotion-B7YzwPc_.js → Promotion-0v3kvsK3.js} +9 -9
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-Cs67_GLE.js → RuleGroup.vue_vue_type_script_setup_true_lang-BkFm7tXq.js} +14 -14
- package/dist/{Segment-Bb4gHt5V.js → Segment-BenLupqV.js} +9 -9
- package/dist/{Setting-Xj0AVzh3.js → Setting-0fpREqpJ.js} +8 -8
- package/dist/{Store-BWRHQ6Ie.js → Store-BDGwe4ar.js} +13 -13
- package/dist/{StoreRewards-6BzVwZqr.js → StoreRewards-TDZt9H1V.js} +12 -12
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BsFnT8BS.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BqpsMcl1.js} +9 -9
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-B6cAveco.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DrzmjYmU.js} +1 -1
- package/dist/{Tier-CW-46oJS.js → Tier-CJ9-d8Zg.js} +15 -15
- package/dist/{Title-CE9rWVdi.js → Title-DZCpvg4q.js} +15 -15
- package/dist/{Transaction-B21RrC4M.js → Transaction-DpnTxlbf.js} +2 -2
- package/dist/{Voucher-KK9fBI0u.js → Voucher-DsP_rh8I.js} +11 -11
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BiVZwBuG.js → ZodTextField.vue_vue_type_script_setup_true_lang-SukfoJpU.js} +1 -1
- package/dist/{app-CjhXHUQv.js → app-Cg2pTZJK.js} +1 -1
- package/dist/{app-Dvf_JNMf.js → app-DzAexOqx.js} +945 -1070
- package/dist/app.js +1 -1
- package/dist/{business-aHhRUXc0.js → business-Cw_qGw8y.js} +1 -1
- package/dist/{campaign-DH9NUNf_.js → campaign-winsqufa.js} +2 -2
- package/dist/{collection.fn-CYlsA-kW.js → collection.fn-CI5Llblg.js} +2 -2
- package/dist/{dto-DArfyZAI.js → dto-ozu1smC3.js} +75 -75
- package/dist/{effect-LSc9YanX.js → effect-CdkrIYgX.js} +1 -1
- package/dist/{export-Cf0-C5Ly.js → export-DGxfief1.js} +3 -3
- package/dist/{helper-CiZpeMCM.js → helper-B8RqcTNu.js} +1 -1
- package/dist/{index-D6cEOHP4.js → index-9w43_U1v.js} +1 -1
- package/dist/{index-gxwjKu3-.js → index-A34xEz20.js} +3 -3
- package/dist/{index-DQfjSSMF.js → index-BLACZ3-L.js} +2 -2
- package/dist/{index-CiQDG7Cm.js → index-BaozRfWB.js} +5 -5
- package/dist/{index-kPhrD63q.js → index-CZgQVRsm.js} +1 -1
- package/dist/{index-Bi_LGEtY.js → index-CjVmULNd.js} +1 -1
- package/dist/{index-BVb5-Ht8.js → index-Cw_aXFH6.js} +5 -5
- package/dist/{index-DqJVH2kv.js → index-DAEmawcj.js} +2 -2
- package/dist/{index-D_83JP2i.js → index-HZC9LLAX.js} +1 -1
- package/dist/{index-DcxssxPi.js → index-Oxr-mU6h.js} +4 -4
- package/dist/{index-DtsDOuDx.js → index-OzicErwL.js} +1 -1
- package/dist/{index-DW3PRjPL.js → index-wzdbEEcZ.js} +1 -1
- package/dist/{index.esm2017-B7oVYIbY.js → index.esm2017-CppSMh_U.js} +1 -1
- package/dist/{loading-7yq1tinq.js → loading-DuEFUCwF.js} +4 -4
- package/dist/{membership-Dw1ylJ9Y.js → membership-nsMtWeTC.js} +3 -3
- package/dist/{money-CPd0XTNv.js → money-BGZPFtUc.js} +1 -1
- package/dist/{number-BgXY4un8.js → number-4J0xvXP9.js} +1 -1
- package/dist/{rule-C0Q_SHow.js → rule-CPIMqt1h.js} +2 -2
- package/dist/{rule-builder-iu17XIof.js → rule-builder-CSs5XRKP.js} +1 -1
- package/dist/{template-CyOanTMu.js → template-CJZoYavu.js} +4 -4
- package/dist/{vue-i18n-B0fLJH7a.js → vue-i18n-CCyiVzOE.js} +112 -112
- package/dist/{xlsx-BYO_bB9J.js → xlsx-BZlnYinX.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { withPermission as
|
|
1
|
+
import { defineAsyncComponent as S } from "vue";
|
|
2
|
+
import { withPermission as A, Permission as w } from "@feedmepos/mf-common";
|
|
3
3
|
const Pe = {
|
|
4
4
|
common: {
|
|
5
5
|
confirm: "Confirm",
|
|
@@ -871,7 +871,7 @@ const Pe = {
|
|
|
871
871
|
map: "map",
|
|
872
872
|
set: "set"
|
|
873
873
|
}
|
|
874
|
-
},
|
|
874
|
+
}, je = {
|
|
875
875
|
timeframe: {
|
|
876
876
|
end_before_start: "End date must be later or same as start date"
|
|
877
877
|
},
|
|
@@ -887,11 +887,11 @@ const Pe = {
|
|
|
887
887
|
reward_threshold_unique: "Reward threshold must be unique",
|
|
888
888
|
effect_required: "Effect is required"
|
|
889
889
|
}
|
|
890
|
-
},
|
|
890
|
+
}, Ze = {
|
|
891
891
|
connect: Pe,
|
|
892
892
|
connectZod: Le,
|
|
893
|
-
connectZodCustom:
|
|
894
|
-
},
|
|
893
|
+
connectZodCustom: je
|
|
894
|
+
}, De = {
|
|
895
895
|
common: {
|
|
896
896
|
confirm: "确认",
|
|
897
897
|
cancel: "取消",
|
|
@@ -1647,7 +1647,7 @@ const Pe = {
|
|
|
1647
1647
|
submit: "提交",
|
|
1648
1648
|
cancel: "取消"
|
|
1649
1649
|
}
|
|
1650
|
-
},
|
|
1650
|
+
}, Ve = {
|
|
1651
1651
|
errors: {
|
|
1652
1652
|
invalid_type: "预期输入为{{expected}},而输入为{{received}}",
|
|
1653
1653
|
invalid_type_received_undefined: "必填",
|
|
@@ -1759,7 +1759,7 @@ const Pe = {
|
|
|
1759
1759
|
map: "字典",
|
|
1760
1760
|
set: "集合"
|
|
1761
1761
|
}
|
|
1762
|
-
},
|
|
1762
|
+
}, $e = {
|
|
1763
1763
|
timeframe: {
|
|
1764
1764
|
end_before_start: "结束日期必须晚于或等于开始日期"
|
|
1765
1765
|
},
|
|
@@ -1776,898 +1776,773 @@ const Pe = {
|
|
|
1776
1776
|
effect_required: "效果是必需的"
|
|
1777
1777
|
}
|
|
1778
1778
|
}, 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
|
-
},
|
|
1779
|
+
connect: De,
|
|
1780
|
+
connectZod: Ve,
|
|
1781
|
+
connectZodCustom: $e
|
|
1782
|
+
}, Ue = {
|
|
1859
1783
|
campaign: {
|
|
1860
1784
|
common: {
|
|
1861
|
-
createCampaign: "
|
|
1862
|
-
search: "
|
|
1863
|
-
location: "
|
|
1864
|
-
noResults: "
|
|
1785
|
+
createCampaign: "สร้างแคมเปญ",
|
|
1786
|
+
search: "ค้นหา",
|
|
1787
|
+
location: "ตำแหน่ง:",
|
|
1788
|
+
noResults: "ไม่พบผลลัพธ์",
|
|
1865
1789
|
remove: {
|
|
1866
|
-
confirm: "
|
|
1867
|
-
removing: "
|
|
1868
|
-
removed: "
|
|
1790
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
|
|
1791
|
+
removing: "กำลังลบ {name}",
|
|
1792
|
+
removed: "ลบ {name} สำเร็จแล้ว"
|
|
1869
1793
|
},
|
|
1870
1794
|
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
|
-
}
|
|
1795
|
+
remove: "ลบ",
|
|
1796
|
+
send: "ส่ง",
|
|
1797
|
+
share: "แชร์"
|
|
1798
|
+
},
|
|
1799
|
+
effect_required: "จำเป็นต้องมีผล",
|
|
1800
|
+
unsaved_changes: "คุณแน่ใจหรือไม่ว่าต้องการยกเลิกการเปลี่ยนแปลงนี้",
|
|
1801
|
+
unsaved_changes_confirm: "ยกเลิก",
|
|
1802
|
+
unsaved_changes_cancel: "ยกเลิก",
|
|
1803
|
+
save: "บันทึก",
|
|
1804
|
+
cancel: "ยกเลิก",
|
|
1805
|
+
summary: "สรุปแคมเปญ",
|
|
1806
|
+
campaign_name: "ชื่อแคมเปญ",
|
|
1807
|
+
campaign_period: "ช่วงเวลาแคมเปญ",
|
|
1808
|
+
next_schedule_at: "กำหนดการถัดไป",
|
|
1809
|
+
discount_type: "ประเภทส่วนลด",
|
|
1810
|
+
discount_amount: "จำนวนส่วนลด",
|
|
1811
|
+
discount_percentage: "เปอร์เซ็นต์ส่วนลด",
|
|
1812
|
+
all_locations: "ทุกตำแหน่ง",
|
|
1813
|
+
available_at: "มีให้ใช้งานที่",
|
|
1814
|
+
always: "เสมอ",
|
|
1815
|
+
no_location: "ไม่มีตำแหน่ง"
|
|
1897
1816
|
},
|
|
1898
1817
|
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: "
|
|
1818
|
+
title: "ภารกิจ",
|
|
1819
|
+
create: "สร้างแคมเปญ",
|
|
1820
|
+
confirmDelete: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
|
|
1821
|
+
removing: "กำลังลบ {name}",
|
|
1822
|
+
removed: "ลบ {name} สำเร็จแล้ว",
|
|
1823
|
+
updating: "กำลังอัปเดตโปรแกรมภารกิจ",
|
|
1824
|
+
updated: "อัปเดตโปรแกรมภารกิจเรียบร้อยแล้ว",
|
|
1825
|
+
creating: "กำลังสร้างโปรแกรมภารกิจ",
|
|
1826
|
+
created: "สร้างโปรแกรมภารกิจสำเร็จแล้ว",
|
|
1827
|
+
location: "ที่ตั้ง:",
|
|
1828
|
+
createProgram: "สร้างโปรแกรมภารกิจของคุณ",
|
|
1829
|
+
description: "ฟีเจอร์ภารกิจเพิ่มองค์ประกอบความสนุกให้กับการช้อปปิ้ง ช่วยกระตุ้นให้ลูกค้ามีส่วนร่วมมากขึ้น",
|
|
1830
|
+
createButton: "สร้างโปรแกรมภารกิจ",
|
|
1831
|
+
type: "ประเภทภารกิจ",
|
|
1832
|
+
received: "ได้รับ"
|
|
1914
1833
|
},
|
|
1915
1834
|
broadcast: {
|
|
1916
|
-
title: "
|
|
1917
|
-
messageSent: "{count}
|
|
1835
|
+
title: "บรอดแคสต์",
|
|
1836
|
+
messageSent: "ส่งแล้ว {count} ครั้ง",
|
|
1918
1837
|
create: {
|
|
1919
|
-
title: "
|
|
1920
|
-
description: "
|
|
1921
|
-
button: "
|
|
1838
|
+
title: "สร้างแคมเปญออกอากาศของคุณ",
|
|
1839
|
+
description: "การออกอากาศทำให้คุณสามารถส่งข้อความถึงลูกค้าทั้งหมด เพื่อแจ้งให้พวกเขาทราบเกี่ยวกับข้อเสนอใหม่ กิจกรรม หรือการอัปเดตที่สำคัญ",
|
|
1840
|
+
button: "สร้างแคมเปญออกอากาศ"
|
|
1922
1841
|
},
|
|
1923
1842
|
update: {
|
|
1924
|
-
creating: "
|
|
1925
|
-
updating: "
|
|
1926
|
-
success: "
|
|
1843
|
+
creating: "กำลังสร้างการออกอากาศ",
|
|
1844
|
+
updating: "กำลังอัปเดตการออกอากาศ",
|
|
1845
|
+
success: "ออกอากาศ {action} สำเร็จแล้ว"
|
|
1927
1846
|
}
|
|
1928
1847
|
},
|
|
1929
1848
|
promotion: {
|
|
1930
|
-
title: "
|
|
1931
|
-
typeLabel: "{type}
|
|
1849
|
+
title: "โปรโมชัน",
|
|
1850
|
+
typeLabel: "{type} โปรโมชัน",
|
|
1932
1851
|
create: {
|
|
1933
|
-
title: "
|
|
1934
|
-
description: "
|
|
1935
|
-
button: "
|
|
1852
|
+
title: "สร้างแคมเปญโปรโมชัน",
|
|
1853
|
+
description: "ข้อเสนอพิเศษหรือข้อเสนอที่มีให้ในช่วงเวลาจำกัดเพื่อกระตุ้นให้ผู้ใช้มีส่วนร่วมและซื้อ โปรโมชั่นโดยทั่วไปจะมีให้สำหรับผู้ใช้ที่มีสิทธิ์ทุกคนโดยไม่ต้องใช้รหัสเฉพาะ และผู้ค้าจะใช้โปรโมชั่นนี้ในช่วงเวลาโปรโมชัน",
|
|
1854
|
+
button: "สร้างแคมเปญโปรโมชัน"
|
|
1936
1855
|
},
|
|
1937
1856
|
update: {
|
|
1938
|
-
creating: "
|
|
1939
|
-
updating: "
|
|
1940
|
-
success: "
|
|
1857
|
+
creating: "กำลังสร้างโปรโมชัน",
|
|
1858
|
+
updating: "กำลังอัปเดตโปรโมชัน",
|
|
1859
|
+
success: "โปรโมชัน {action} สำเร็จแล้ว"
|
|
1941
1860
|
}
|
|
1942
1861
|
},
|
|
1943
1862
|
voucher: {
|
|
1944
|
-
title: "
|
|
1945
|
-
claimed: "{count}
|
|
1946
|
-
unlimited: "
|
|
1863
|
+
title: "บัตรกำนัล",
|
|
1864
|
+
claimed: "ได้รับ {count} ครั้ง",
|
|
1865
|
+
unlimited: "ไม่จำกัด",
|
|
1947
1866
|
updateConfirm: {
|
|
1948
|
-
title: "
|
|
1949
|
-
message: "
|
|
1950
|
-
updateAll: "
|
|
1951
|
-
updateFuture: "
|
|
1867
|
+
title: "ยืนยัน",
|
|
1868
|
+
message: "การดำเนินการนี้จะเปลี่ยนแปลงคูปองในอนาคตทั้งหมดหรือไม่ คุณต้องการอัปเดตวันที่หมดอายุและส่วนลดของคูปองที่อ้างสิทธิ์ก่อนหน้านี้หรือไม่",
|
|
1869
|
+
updateAll: "อัปเดตทั้งหมด",
|
|
1870
|
+
updateFuture: "อัปเดตในอนาคตเท่านั้น"
|
|
1952
1871
|
},
|
|
1953
1872
|
create: {
|
|
1954
|
-
title: "
|
|
1955
|
-
description: "
|
|
1956
|
-
button: "
|
|
1873
|
+
title: "สร้างแคมเปญคูปอง",
|
|
1874
|
+
description: "คูปองดิจิทัลที่ผู้ใช้สามารถแลกรับส่วนลดในการซื้อในอนาคต โดยปกติแล้วผู้ใช้จะต้องรับและใช้คูปองเพื่อรับส่วนลด",
|
|
1875
|
+
button: "สร้างแคมเปญคูปอง"
|
|
1957
1876
|
},
|
|
1958
1877
|
update: {
|
|
1959
|
-
creating: "
|
|
1960
|
-
updating: "
|
|
1961
|
-
success: "
|
|
1878
|
+
creating: "กำลังสร้างคูปอง",
|
|
1879
|
+
updating: "กำลังอัปเดตคูปอง",
|
|
1880
|
+
success: "คูปอง {action} สำเร็จ"
|
|
1962
1881
|
},
|
|
1963
1882
|
share: {
|
|
1964
|
-
error: "
|
|
1965
|
-
errorTitle: "
|
|
1966
|
-
errorButton: "
|
|
1967
|
-
success: "
|
|
1883
|
+
error: "ไม่สามารถแชร์คูปองที่ไม่ใช่การอ้างสิทธิ์แบบง่ายได้",
|
|
1884
|
+
errorTitle: "แชร์คูปอง",
|
|
1885
|
+
errorButton: "ตกลง",
|
|
1886
|
+
success: "คัดลอกลิงก์คูปองไปยังคลิปบอร์ดแล้ว"
|
|
1968
1887
|
}
|
|
1969
1888
|
}
|
|
1970
1889
|
},
|
|
1971
1890
|
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: "
|
|
1891
|
+
createCampaign: "สร้างแคมเปญ",
|
|
1892
|
+
promotionTitle: "ชื่อโปรโมชัน",
|
|
1893
|
+
status: "สถานะ",
|
|
1894
|
+
type: "ประเภท",
|
|
1895
|
+
summary: "สรุป",
|
|
1896
|
+
actions: "การดำเนินการ",
|
|
1897
|
+
confirmRemove: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
|
|
1898
|
+
removing: "กำลังลบ {name}",
|
|
1899
|
+
removedSuccessfully: "ลบ {name} สำเร็จ",
|
|
1900
|
+
updating: "กำลังอัปเดตโปรโมชัน",
|
|
1901
|
+
creating: "กำลังสร้างโปรโมชัน",
|
|
1902
|
+
updatedSuccessfully: "อัปเดตโปรโมชันสำเร็จแล้ว",
|
|
1903
|
+
createdSuccessfully: "สร้างโปรโมชันสำเร็จแล้ว",
|
|
1904
|
+
title: "โปรโมชัน",
|
|
1905
|
+
search: "ค้นหา",
|
|
1906
|
+
location: "ที่ตั้ง:",
|
|
1907
|
+
createPromotionCampaign: "สร้างแคมเปญส่งเสริมการขาย",
|
|
1908
|
+
description: "ข้อเสนอพิเศษหรือข้อเสนอที่เปิดให้ใช้ได้ในระยะเวลาจำกัดเพื่อกระตุ้นให้ผู้ใช้มีส่วนร่วมและซื้อสินค้า โปรโมชั่นโดยทั่วไปจะมีให้สำหรับผู้ใช้ที่มีสิทธิ์ทุกคนโดยไม่ต้องใช้รหัสเฉพาะและจะใช้โดยผู้ค้าในช่วงระยะเวลาโปรโมชั่น"
|
|
1990
1909
|
},
|
|
1991
1910
|
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: "
|
|
1911
|
+
createCampaign: "สร้างแคมเปญ",
|
|
1912
|
+
voucherTitle: "ชื่อคูปอง",
|
|
1913
|
+
status: "สถานะ",
|
|
1914
|
+
summary: "สรุป",
|
|
1915
|
+
quota: "โควตา",
|
|
1916
|
+
claimed: "อ้างสิทธิ์",
|
|
1917
|
+
actions: "การดำเนินการ",
|
|
1918
|
+
remove: "ลบ",
|
|
1919
|
+
send: "ส่ง",
|
|
1920
|
+
share: "แชร์",
|
|
1921
|
+
confirmRemove: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
|
|
1922
|
+
removing: "กำลังลบ {name}",
|
|
1923
|
+
removedSuccessfully: "ลบ {name} สำเร็จแล้ว",
|
|
1924
|
+
updating: "กำลังอัปเดตคูปอง",
|
|
1925
|
+
creating: "กำลังสร้างคูปอง",
|
|
1926
|
+
updatedSuccessfully: "อัปเดตคูปองสำเร็จแล้ว",
|
|
1927
|
+
createdSuccessfully: "สร้างคูปองสำเร็จแล้ว",
|
|
1928
|
+
title: "คูปอง",
|
|
1929
|
+
search: "ค้นหา",
|
|
1930
|
+
location: "ตำแหน่ง:",
|
|
1931
|
+
createVoucherCampaign: "สร้างแคมเปญคูปอง",
|
|
1932
|
+
description: "คูปองดิจิทัลที่ผู้ใช้สามารถแลกรับส่วนลดในการซื้อในอนาคต โดยปกติแล้วผู้ใช้จะต้องรับและใช้คูปองเพื่อรับส่วนลด"
|
|
2014
1933
|
},
|
|
2015
1934
|
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: "
|
|
1935
|
+
analytic: "การวิเคราะห์",
|
|
1936
|
+
campaign: "แคมเปญ",
|
|
1937
|
+
promotion: "โปรโมชั่น",
|
|
1938
|
+
voucher: "บัตรกำนัล",
|
|
1939
|
+
broadcast: "การออกอากาศ",
|
|
1940
|
+
program: "โปรแกรม",
|
|
1941
|
+
tier: "ระดับ",
|
|
1942
|
+
title: "ชื่อ",
|
|
1943
|
+
experience: "ประสบการณ์",
|
|
1944
|
+
point: "คะแนน",
|
|
1945
|
+
credit: "เครดิต",
|
|
1946
|
+
game: "เกม",
|
|
1947
|
+
loyalty: "ความภักดี",
|
|
1948
|
+
member: "สมาชิก",
|
|
1949
|
+
segments: "กลุ่ม",
|
|
1950
|
+
card: "บัตร",
|
|
1951
|
+
store: "ร้านค้า",
|
|
1952
|
+
transaction: "ธุรกรรม",
|
|
1953
|
+
setting: "การตั้งค่า",
|
|
1954
|
+
mission: "ภารกิจ"
|
|
2036
1955
|
},
|
|
2037
1956
|
loyalty: {
|
|
2038
1957
|
card: {
|
|
2039
|
-
title: "
|
|
2040
|
-
premium_label: "
|
|
1958
|
+
title: "บัตร",
|
|
1959
|
+
premium_label: "พรีเมียม",
|
|
2041
1960
|
actions: {
|
|
2042
|
-
create: "
|
|
2043
|
-
manage_design: "
|
|
2044
|
-
add: "
|
|
1961
|
+
create: "สร้างบัตร",
|
|
1962
|
+
manage_design: "จัดการการออกแบบ",
|
|
1963
|
+
add: "เพิ่มบัตร"
|
|
2045
1964
|
},
|
|
2046
1965
|
empty_state: {
|
|
2047
|
-
title: "
|
|
2048
|
-
description: "
|
|
2049
|
-
premium_cta: "
|
|
1966
|
+
title: "สร้างบัตรสมาชิก",
|
|
1967
|
+
description: "ติดตามและจัดการบัตรสมาชิกเพื่อให้ลูกค้ามีส่วนร่วมกับธุรกิจของคุณ",
|
|
1968
|
+
premium_cta: "อัปเกรดเป็นพรีเมียมและเพลิดเพลินกับฟีเจอร์ทั้งหมด"
|
|
2050
1969
|
},
|
|
2051
1970
|
table: {
|
|
2052
|
-
card_number: "
|
|
2053
|
-
redeemed_by: "
|
|
2054
|
-
phone: "
|
|
2055
|
-
created_at: "
|
|
2056
|
-
bundle: "
|
|
2057
|
-
redeemed_at: "
|
|
1971
|
+
card_number: "หมายเลขบัตร",
|
|
1972
|
+
redeemed_by: "แลกรับโดย",
|
|
1973
|
+
phone: "โทรศัพท์",
|
|
1974
|
+
created_at: "สร้างเมื่อ",
|
|
1975
|
+
bundle: "ชุดบัตร",
|
|
1976
|
+
redeemed_at: "แลกรับเมื่อ"
|
|
2058
1977
|
}
|
|
2059
1978
|
},
|
|
2060
1979
|
member: {
|
|
2061
|
-
title: "
|
|
1980
|
+
title: "ธุรกรรมของสมาชิก",
|
|
2062
1981
|
tabs: {
|
|
2063
|
-
member_list: "
|
|
1982
|
+
member_list: "รายชื่อสมาชิก"
|
|
2064
1983
|
}
|
|
2065
1984
|
},
|
|
2066
1985
|
segment: {
|
|
2067
|
-
title: "
|
|
1986
|
+
title: "กลุ่ม",
|
|
2068
1987
|
actions: {
|
|
2069
|
-
refresh: "
|
|
2070
|
-
add: "
|
|
2071
|
-
remove: "
|
|
1988
|
+
refresh: "รีเฟรชกลุ่มบัตร",
|
|
1989
|
+
add: "เพิ่มกลุ่มบัตร",
|
|
1990
|
+
remove: "ลบ"
|
|
2072
1991
|
},
|
|
2073
1992
|
table: {
|
|
2074
|
-
name: "
|
|
2075
|
-
total_customers: "
|
|
2076
|
-
customer_percentage: "%
|
|
2077
|
-
actions: "
|
|
1993
|
+
name: "ชื่อ",
|
|
1994
|
+
total_customers: "จำนวนลูกค้าทั้งหมดในกลุ่มบัตรนี้",
|
|
1995
|
+
customer_percentage: "% ของลูกค้า",
|
|
1996
|
+
actions: "การดำเนินการ"
|
|
2078
1997
|
},
|
|
2079
1998
|
mobile: {
|
|
2080
|
-
total_customers: "{count}
|
|
2081
|
-
customer_percentage: "{percentage}%
|
|
1999
|
+
total_customers: "ลูกค้าทั้งหมด {count} ราย",
|
|
2000
|
+
customer_percentage: "ลูกค้าทั้งหมด {percentage}%"
|
|
2082
2001
|
}
|
|
2083
2002
|
}
|
|
2084
2003
|
},
|
|
2085
2004
|
program: {
|
|
2086
2005
|
common: {
|
|
2087
|
-
create: "
|
|
2088
|
-
search: "
|
|
2089
|
-
location: "
|
|
2090
|
-
used: "{count}
|
|
2006
|
+
create: "สร้างโปรแกรม",
|
|
2007
|
+
search: "ค้นหา",
|
|
2008
|
+
location: "ตำแหน่ง:",
|
|
2009
|
+
used: "ใช้ไปแล้ว {count} ราย",
|
|
2091
2010
|
actions: {
|
|
2092
|
-
create: "
|
|
2093
|
-
delete: "
|
|
2011
|
+
create: "สร้างโปรแกรม {type} ราย",
|
|
2012
|
+
delete: "ลบ"
|
|
2094
2013
|
},
|
|
2095
2014
|
table: {
|
|
2096
|
-
title: "
|
|
2097
|
-
status: "
|
|
2098
|
-
summary: "
|
|
2099
|
-
actions: "
|
|
2100
|
-
type: "
|
|
2015
|
+
title: "ชื่อโปรแกรม",
|
|
2016
|
+
status: "สถานะ",
|
|
2017
|
+
summary: "สรุป",
|
|
2018
|
+
actions: "การดำเนินการ",
|
|
2019
|
+
type: "ประเภท"
|
|
2101
2020
|
},
|
|
2102
2021
|
remove: {
|
|
2103
|
-
confirm: "
|
|
2104
|
-
removing: "
|
|
2105
|
-
removed: "
|
|
2022
|
+
confirm: "คุณแน่ใจว่าต้องการลบ {name} หรือไม่",
|
|
2023
|
+
removing: "กำลังลบ {name}",
|
|
2024
|
+
removed: "ลบ {name} สำเร็จแล้ว"
|
|
2106
2025
|
},
|
|
2107
2026
|
update: {
|
|
2108
|
-
creating: "
|
|
2109
|
-
updating: "
|
|
2110
|
-
success: "{type}
|
|
2027
|
+
creating: "กำลังสร้างโปรแกรม {type}",
|
|
2028
|
+
updating: "กำลังอัปเดตโปรแกรม {type}",
|
|
2029
|
+
success: "โปรแกรม {type} {action} สำเร็จแล้ว"
|
|
2111
2030
|
}
|
|
2112
2031
|
},
|
|
2113
2032
|
experience: {
|
|
2114
|
-
title: "
|
|
2033
|
+
title: "ประสบการณ์",
|
|
2115
2034
|
empty_state: {
|
|
2116
|
-
title: "
|
|
2117
|
-
description: "
|
|
2035
|
+
title: "สร้างโปรแกรมประสบการณ์",
|
|
2036
|
+
description: "ประสบการณ์ช่วยให้ลูกค้าได้รับระดับสมาชิกที่สูงขึ้น ยิ่งลูกค้าโต้ตอบและใช้จ่ายมากเท่าไหร่ ระดับสมาชิกของพวกเขาก็จะสูงขึ้นเท่านั้น ทำให้สามารถปลดล็อกรางวัลและสิทธิประโยชน์ต่างๆ มากขึ้น"
|
|
2118
2037
|
},
|
|
2119
|
-
received: "
|
|
2038
|
+
received: "ประสบการณ์ที่ได้รับ: {count}"
|
|
2120
2039
|
},
|
|
2121
2040
|
game: {
|
|
2122
|
-
title: "
|
|
2041
|
+
title: "เกม",
|
|
2123
2042
|
empty_state: {
|
|
2124
|
-
title: "
|
|
2125
|
-
description: "
|
|
2043
|
+
title: "สร้างโปรแกรมเกมของคุณ",
|
|
2044
|
+
description: "ฟีเจอร์เกมเพิ่มความสนุกสนานให้กับการช้อปปิ้ง กระตุ้นให้ลูกค้ามีส่วนร่วมมากขึ้น"
|
|
2126
2045
|
},
|
|
2127
|
-
token_received: "
|
|
2046
|
+
token_received: "โทเค็นที่ได้รับ: {count}"
|
|
2128
2047
|
},
|
|
2129
2048
|
credit: {
|
|
2130
|
-
title: "
|
|
2049
|
+
title: "เครดิต"
|
|
2131
2050
|
},
|
|
2132
2051
|
point: {
|
|
2133
|
-
title: "
|
|
2052
|
+
title: "คะแนน",
|
|
2134
2053
|
empty_state: {
|
|
2135
|
-
title: "
|
|
2136
|
-
description: "
|
|
2054
|
+
title: "สร้างโปรแกรมคะแนนของคุณ",
|
|
2055
|
+
description: "คะแนนคือคะแนนเสมือนที่ลูกค้าสามารถรับและนำไปใช้ซื้อไอเทมรวม"
|
|
2137
2056
|
},
|
|
2138
|
-
point_received: "
|
|
2139
|
-
used: "{count}
|
|
2057
|
+
point_received: "คะแนนที่ได้รับ: {count}",
|
|
2058
|
+
used: "ใช้ไปแล้ว {count} คะแนน"
|
|
2140
2059
|
},
|
|
2141
2060
|
tier: {
|
|
2142
|
-
title: "
|
|
2061
|
+
title: "ระดับ",
|
|
2143
2062
|
empty_state: {
|
|
2144
|
-
title: "
|
|
2145
|
-
description: "
|
|
2063
|
+
title: "สร้างโปรแกรมระดับ",
|
|
2064
|
+
description: "มอบสิทธิประโยชน์และรางวัลสุดพิเศษให้กับสมาชิกของคุณด้วยการเข้าร่วมแคมเปญสมาชิก คุณสามารถเลือกสิ่งที่สมาชิกต้องการเสนอได้"
|
|
2146
2065
|
},
|
|
2147
2066
|
actions: {
|
|
2148
|
-
add: "
|
|
2149
|
-
season_setting: "
|
|
2067
|
+
add: "เพิ่มระดับ",
|
|
2068
|
+
season_setting: "การตั้งค่าฤดูกาล"
|
|
2150
2069
|
},
|
|
2151
2070
|
update: {
|
|
2152
2071
|
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}]?`
|
|
2072
|
+
previous: "ช่วงชั้นไม่ต่อเนื่อง ช่วงก่อนหน้า: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงก่อนหน้าเป็น [{from} - {newTo}] หรือไม่",
|
|
2073
|
+
next: "ช่วงชั้นไม่ต่อเนื่อง ช่วงถัดไป: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงถัดไปเป็น [{newFrom} - {to}] หรือไม่"
|
|
2159
2074
|
}
|
|
2160
2075
|
},
|
|
2161
2076
|
remove: {
|
|
2162
|
-
confirm: "
|
|
2163
|
-
title: "
|
|
2164
|
-
next_range: "
|
|
2077
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบระดับนี้?",
|
|
2078
|
+
title: "ลบระดับ",
|
|
2079
|
+
next_range: "อัปเดตช่วงถัดไป",
|
|
2165
2080
|
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}]?`
|
|
2081
|
+
previous: "ช่วงชั้นไม่ต่อเนื่อง ช่วงก่อนหน้า: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงก่อนหน้าเป็น [{from} - {newTo}] หรือไม่",
|
|
2082
|
+
next: "ช่วงชั้นไม่ต่อเนื่อง ช่วงถัดไป: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงถัดไปเป็น [{newFrom} - {to}] หรือไม่"
|
|
2172
2083
|
}
|
|
2173
2084
|
},
|
|
2174
2085
|
benefit: {
|
|
2175
|
-
add: "
|
|
2176
|
-
no_linked: "
|
|
2086
|
+
add: "เพิ่มสิทธิประโยชน์",
|
|
2087
|
+
no_linked: "ไม่มีสิทธิประโยชน์ที่เชื่อมโยง",
|
|
2177
2088
|
update: {
|
|
2178
|
-
title: "
|
|
2179
|
-
success: "
|
|
2089
|
+
title: "กำลังอัปเดตสิทธิประโยชน์",
|
|
2090
|
+
success: "สร้างสิทธิประโยชน์สำเร็จแล้ว"
|
|
2180
2091
|
}
|
|
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
2092
|
}
|
|
2197
2093
|
},
|
|
2198
2094
|
title: {
|
|
2199
|
-
title: "
|
|
2095
|
+
title: "ชื่อเรื่อง",
|
|
2200
2096
|
empty_state: {
|
|
2201
|
-
title: "
|
|
2202
|
-
description: "
|
|
2097
|
+
title: "สร้างโปรแกรมชื่อเรื่อง",
|
|
2098
|
+
description: "สร้างโปรแกรมชื่อ สร้างชื่อสมาชิกที่ไม่ซ้ำกันเพื่อปรับแต่งประสบการณ์ของสมาชิก ดึงดูดลูกค้าด้วยชื่อที่สนุกสนานเพื่อปรับปรุงการเล่นเกมโปรแกรมสะสมคะแนน"
|
|
2203
2099
|
},
|
|
2204
2100
|
actions: {
|
|
2205
|
-
add: "
|
|
2101
|
+
add: "เพิ่มชื่อ"
|
|
2206
2102
|
},
|
|
2207
2103
|
update: {
|
|
2208
|
-
creating: "
|
|
2209
|
-
updating: "
|
|
2210
|
-
success: "
|
|
2104
|
+
creating: "กำลังสร้างชื่อเรื่อง",
|
|
2105
|
+
updating: "กำลังอัปเดตชื่อเรื่อง",
|
|
2106
|
+
success: "ชื่อ {action} สำเร็จแล้ว"
|
|
2211
2107
|
},
|
|
2212
2108
|
remove: {
|
|
2213
|
-
confirm: "
|
|
2214
|
-
title: "
|
|
2215
|
-
deleting: "
|
|
2216
|
-
success: "
|
|
2109
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบชื่อนี้",
|
|
2110
|
+
title: "ลบชื่อ",
|
|
2111
|
+
deleting: "กำลังลบชื่อเรื่อง",
|
|
2112
|
+
success: "ลบชื่อแล้ว"
|
|
2217
2113
|
},
|
|
2218
2114
|
benefit: {
|
|
2219
|
-
add: "
|
|
2220
|
-
no_linked: "
|
|
2115
|
+
add: "เพิ่มคุณประโยชน์",
|
|
2116
|
+
no_linked: "ไม่มีผลประโยชน์ที่เชื่อมโยง",
|
|
2221
2117
|
update: {
|
|
2222
|
-
title: "
|
|
2223
|
-
success: "
|
|
2118
|
+
title: "อัพเดทสิทธิประโยชน์",
|
|
2119
|
+
success: "สร้างผลประโยชน์สำเร็จแล้ว"
|
|
2224
2120
|
},
|
|
2225
2121
|
voucher_update: {
|
|
2226
|
-
title: "
|
|
2227
|
-
message: "
|
|
2228
|
-
update_all: "
|
|
2229
|
-
update_future: "
|
|
2122
|
+
title: "การยืนยัน",
|
|
2123
|
+
message: "สิ่งนี้จะเปลี่ยนบัตรกำนัลในอนาคตทั้งหมดหรือไม่ คุณต้องการอัปเดตวันหมดอายุและส่วนลดของบัตรกำนัลที่อ้างสิทธิ์ก่อนหน้านี้หรือไม่",
|
|
2124
|
+
update_all: "อัพเดททั้งหมดครับ",
|
|
2125
|
+
update_future: "อัพเดทอนาคตเท่านั้น"
|
|
2230
2126
|
}
|
|
2231
2127
|
},
|
|
2232
2128
|
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: "{
|
|
2129
|
+
title: "ชื่อ",
|
|
2130
|
+
program_title: "ชื่อโปรแกรม",
|
|
2131
|
+
status: "สถานะ",
|
|
2132
|
+
type: "พิมพ์",
|
|
2133
|
+
summary: "สรุป",
|
|
2134
|
+
actions: "การดำเนินการ"
|
|
2135
|
+
},
|
|
2136
|
+
search: "ค้นหา",
|
|
2137
|
+
location: "ที่ตั้ง: ",
|
|
2138
|
+
addBenefit: "เพิ่มคุณประโยชน์",
|
|
2139
|
+
noDescription: "ไม่มีคำอธิบาย",
|
|
2140
|
+
descriptionLimit: "{name} คำอธิบายไม่ควรเกิน 200 ตัวอักษร",
|
|
2141
|
+
availability: "ความพร้อมใช้งาน",
|
|
2142
|
+
internalOnly: "ภายในเท่านั้น",
|
|
2143
|
+
notShown: "{name} จะไม่แสดงให้ลูกค้าเห็น",
|
|
2144
|
+
submit: "ส่ง",
|
|
2145
|
+
cancel: "ยกเลิก",
|
|
2146
|
+
imageLabel: "รูปภาพ {ชื่อ}"
|
|
2251
2147
|
},
|
|
2252
2148
|
mission: {
|
|
2253
|
-
title: "
|
|
2149
|
+
title: "ภารกิจ",
|
|
2254
2150
|
empty_state: {
|
|
2255
|
-
title: "
|
|
2256
|
-
description: "
|
|
2151
|
+
title: "สร้างโปรแกรมภารกิจของคุณ",
|
|
2152
|
+
description: "ภารกิจเป็นโปรแกรมที่ช่วยให้ลูกค้าสามารถทำงานให้เสร็จสิ้นเพื่อรับรางวัลได้"
|
|
2257
2153
|
}
|
|
2258
2154
|
}
|
|
2259
2155
|
},
|
|
2260
2156
|
analytic: {
|
|
2261
|
-
title: "
|
|
2262
|
-
addGroup: "
|
|
2263
|
-
search: "
|
|
2157
|
+
title: "วิเคราะห์",
|
|
2158
|
+
addGroup: "เพิ่มกลุ่ม",
|
|
2159
|
+
search: "ค้นหา",
|
|
2264
2160
|
summary: {
|
|
2265
|
-
title: "
|
|
2266
|
-
totalCampaign: "
|
|
2267
|
-
totalProgram: "
|
|
2268
|
-
totalMember: "
|
|
2161
|
+
title: "เชื่อมต่อสรุป",
|
|
2162
|
+
totalCampaign: "รวมแคมเปญ",
|
|
2163
|
+
totalProgram: "โปรแกรมรวม",
|
|
2164
|
+
totalMember: "สมาชิกทั้งหมด"
|
|
2269
2165
|
},
|
|
2270
2166
|
emptyState: {
|
|
2271
|
-
title: "
|
|
2272
|
-
description: "
|
|
2273
|
-
action: "
|
|
2167
|
+
title: "สร้างกลุ่มแคมเปญเพื่อติดตามประสิทธิภาพ",
|
|
2168
|
+
description: "เริ่มจัดระเบียบแคมเปญและโปรโมชั่นของคุณโดยการสร้างกลุ่ม กลุ่มช่วยให้คุณสามารถรวมตัวชี้วัดประสิทธิภาพจากบัตรกำนัล โปรโมชั่น หรือรางวัลอื่น ๆ ได้หลายรายการ",
|
|
2169
|
+
action: "สร้างกลุ่ม"
|
|
2274
2170
|
}
|
|
2275
2171
|
},
|
|
2276
2172
|
marketing: {
|
|
2277
|
-
title: "
|
|
2278
|
-
create: "
|
|
2279
|
-
search: "
|
|
2173
|
+
title: "สื่อการตลาด",
|
|
2174
|
+
create: "สร้างสื่อการตลาด",
|
|
2175
|
+
search: "ค้นหา",
|
|
2280
2176
|
table: {
|
|
2281
|
-
name: "
|
|
2282
|
-
campaign: "
|
|
2283
|
-
createdDate: "
|
|
2284
|
-
actions: "
|
|
2177
|
+
name: "ชื่อ",
|
|
2178
|
+
campaign: "แคมเปญ",
|
|
2179
|
+
createdDate: "วันที่สร้าง",
|
|
2180
|
+
actions: "การดำเนินการ"
|
|
2285
2181
|
},
|
|
2286
2182
|
delete: {
|
|
2287
|
-
confirm: "
|
|
2288
|
-
removing: "
|
|
2289
|
-
success: "
|
|
2183
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}?",
|
|
2184
|
+
removing: "กำลังลบ {name}",
|
|
2185
|
+
success: "ลบ {name} เรียบร้อยแล้ว"
|
|
2290
2186
|
},
|
|
2291
2187
|
emptyState: {
|
|
2292
|
-
title: "
|
|
2293
|
-
description: "
|
|
2294
|
-
action: "
|
|
2188
|
+
title: "สร้างสื่อการตลาด",
|
|
2189
|
+
description: "เพิ่มความสามารถทางการตลาดของคุณอย่างง่ายดายด้วยเครื่องมือที่ขับเคลื่อนด้วย AI ของเรา สร้างภาพที่น่าทึ่งและคำบรรยายที่น่าดึงดูดสำหรับแพลตฟอร์มที่คุณต้องการ",
|
|
2190
|
+
action: "เพิ่มวัสดุ"
|
|
2295
2191
|
},
|
|
2296
|
-
noResults: "
|
|
2192
|
+
noResults: "ไม่พบผลลัพธ์"
|
|
2297
2193
|
},
|
|
2298
2194
|
setting: {
|
|
2299
|
-
title: "
|
|
2195
|
+
title: "การตั้งค่า",
|
|
2300
2196
|
basicInfo: {
|
|
2301
|
-
title: "
|
|
2302
|
-
membershipTitle: "
|
|
2303
|
-
memberAppUrl: "
|
|
2197
|
+
title: "ข้อมูลพื้นฐาน",
|
|
2198
|
+
membershipTitle: "ชื่อสมาชิก",
|
|
2199
|
+
memberAppUrl: "URL ของแอปสมาชิก"
|
|
2304
2200
|
},
|
|
2305
2201
|
counterApp: {
|
|
2306
|
-
title: "
|
|
2307
|
-
linkDevice: "
|
|
2202
|
+
title: "แอพเคาน์เตอร์",
|
|
2203
|
+
linkDevice: "เชื่อมโยงอุปกรณ์",
|
|
2308
2204
|
device: {
|
|
2309
|
-
activationDate: "
|
|
2310
|
-
linkedLocation: "
|
|
2205
|
+
activationDate: "วันที่เปิดใช้งาน:",
|
|
2206
|
+
linkedLocation: "สถานที่ที่เชื่อมโยง:"
|
|
2311
2207
|
}
|
|
2312
2208
|
},
|
|
2313
2209
|
advertisement: {
|
|
2314
|
-
title: "
|
|
2315
|
-
subtitle: "
|
|
2210
|
+
title: "โฆษณา",
|
|
2211
|
+
subtitle: "ข้อมูลนี้จะแสดงบนแอปสั่งซื้อ FeedMe"
|
|
2316
2212
|
},
|
|
2317
2213
|
sms: {
|
|
2318
|
-
title: "SMS",
|
|
2319
|
-
brandName: "
|
|
2320
|
-
messageFormat: "RM
|
|
2321
|
-
welcomeMessage: "
|
|
2214
|
+
title: "ข้อความ SMS",
|
|
2215
|
+
brandName: "ชื่อแบรนด์",
|
|
2216
|
+
messageFormat: "0 RM {brand}: ข้อความถึงลูกค้าของคุณ",
|
|
2217
|
+
welcomeMessage: "สวัสดี คุณได้รับเชิญให้เข้าร่วมเป็นสมาชิก"
|
|
2322
2218
|
},
|
|
2323
2219
|
freeCredit: {
|
|
2324
|
-
title: "
|
|
2325
|
-
posVersion: "*POS
|
|
2326
|
-
description: "
|
|
2220
|
+
title: "เครดิตฟรีเป็นส่วนลด",
|
|
2221
|
+
posVersion: "*POS เวอร์ชัน 6.56 หรือสูงกว่า",
|
|
2222
|
+
description: "เมื่อเปิดใช้งาน สิ่งนี้จะทำให้เครดิตฟรีสามารถใช้เป็นส่วนลดในบิลได้ (POS >=v6.56)"
|
|
2327
2223
|
},
|
|
2328
2224
|
memberCard: {
|
|
2329
|
-
title: "
|
|
2330
|
-
description: "
|
|
2225
|
+
title: "บัตรสมาชิก",
|
|
2226
|
+
description: "อนุญาตให้สมาชิกผูกบัตรผ่านแอปสมาชิก"
|
|
2331
2227
|
},
|
|
2332
2228
|
location: {
|
|
2333
|
-
title: "
|
|
2334
|
-
selectLabel: "
|
|
2229
|
+
title: "สถานที่เปิดใช้งาน",
|
|
2230
|
+
selectLabel: "เลือกร้านอาหาร"
|
|
2335
2231
|
},
|
|
2336
2232
|
summary: {
|
|
2337
|
-
title: "
|
|
2338
|
-
name: "
|
|
2339
|
-
advertisement: "
|
|
2340
|
-
noAds: "
|
|
2341
|
-
freeCredit: "
|
|
2342
|
-
enabled: "
|
|
2343
|
-
disabled: "
|
|
2344
|
-
locations: "
|
|
2345
|
-
allLocations: "
|
|
2233
|
+
title: "สรุปการตั้งค่าความภักดี",
|
|
2234
|
+
name: "ชื่อ",
|
|
2235
|
+
advertisement: "โฆษณา",
|
|
2236
|
+
noAds: "ไม่มีโฆษณา",
|
|
2237
|
+
freeCredit: "เครดิตฟรีเป็นส่วนลด",
|
|
2238
|
+
enabled: "เปิดใช้งานแล้ว",
|
|
2239
|
+
disabled: "ไม่สามารถใช้งานได้",
|
|
2240
|
+
locations: "สถานที่ที่เปิดใช้งาน",
|
|
2241
|
+
allLocations: "สถานที่ทั้งหมด"
|
|
2346
2242
|
},
|
|
2347
2243
|
action: {
|
|
2348
|
-
update: "
|
|
2244
|
+
update: "อัปเดต"
|
|
2349
2245
|
}
|
|
2350
2246
|
},
|
|
2351
2247
|
transaction: {
|
|
2352
|
-
title: "
|
|
2248
|
+
title: "การทำธุรกรรม",
|
|
2353
2249
|
tabs: {
|
|
2354
|
-
collection: "
|
|
2355
|
-
store: "
|
|
2250
|
+
collection: "คอลเลคชั่น",
|
|
2251
|
+
store: "เก็บ"
|
|
2356
2252
|
}
|
|
2357
2253
|
},
|
|
2358
2254
|
store: {
|
|
2359
|
-
title: "
|
|
2255
|
+
title: "เก็บ",
|
|
2360
2256
|
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
|
-
},
|
|
2257
|
+
title: "การตั้งค่าร้านค้า",
|
|
2382
2258
|
update: {
|
|
2383
|
-
message: "
|
|
2384
|
-
success: "
|
|
2259
|
+
message: "กำลังปรับปรุงการตั้งค่าร้านค้า",
|
|
2260
|
+
success: "อัปเดตการตั้งค่าร้านค้าเรียบร้อยแล้ว"
|
|
2385
2261
|
}
|
|
2386
2262
|
},
|
|
2387
|
-
actions: {
|
|
2388
|
-
setting: "
|
|
2389
|
-
manageReward: "
|
|
2390
|
-
addCategory: "
|
|
2391
|
-
addBundle: "
|
|
2263
|
+
actions: {
|
|
2264
|
+
setting: "การตั้งค่าร้านค้า",
|
|
2265
|
+
manageReward: "จัดการรางวัล",
|
|
2266
|
+
addCategory: "เพิ่มหมวดหมู่",
|
|
2267
|
+
addBundle: "เพิ่มมัด"
|
|
2392
2268
|
},
|
|
2393
2269
|
category: {
|
|
2394
|
-
label: "Category",
|
|
2395
2270
|
setup: {
|
|
2396
|
-
title: "
|
|
2397
|
-
action: "
|
|
2398
|
-
button: "
|
|
2271
|
+
title: "โปรดตั้งค่าการตั้งค่าร้านค้าของคุณก่อนที่จะเพิ่มหมวดหมู่",
|
|
2272
|
+
action: "อัปเดตตอนนี้",
|
|
2273
|
+
button: "อัพเดตการตั้งค่าร้านค้า"
|
|
2399
2274
|
},
|
|
2400
|
-
add: "
|
|
2401
|
-
edit: "
|
|
2275
|
+
add: "เพิ่มหมวดหมู่",
|
|
2276
|
+
edit: "แก้ไขหมวดหมู่",
|
|
2402
2277
|
remove: {
|
|
2403
|
-
confirm: "
|
|
2404
|
-
title: "
|
|
2278
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบหมวดหมู่",
|
|
2279
|
+
title: "ลบหมวดหมู่"
|
|
2405
2280
|
},
|
|
2406
2281
|
update: {
|
|
2407
|
-
deleting: "
|
|
2408
|
-
creating: "
|
|
2409
|
-
updating: "
|
|
2282
|
+
deleting: "กำลังลบหมวดหมู่",
|
|
2283
|
+
creating: "กำลังสร้างหมวดหมู่",
|
|
2284
|
+
updating: "กำลังอัปเดตหมวดหมู่",
|
|
2410
2285
|
success: {
|
|
2411
|
-
deleted: "
|
|
2412
|
-
created: "
|
|
2413
|
-
updated: "
|
|
2286
|
+
deleted: "ลบหมวดหมู่เรียบร้อยแล้ว",
|
|
2287
|
+
created: "สร้างหมวดหมู่เรียบร้อยแล้ว",
|
|
2288
|
+
updated: "อัปเดตหมวดหมู่เรียบร้อยแล้ว"
|
|
2414
2289
|
}
|
|
2415
2290
|
}
|
|
2416
2291
|
},
|
|
2417
2292
|
bundle: {
|
|
2418
|
-
title: "
|
|
2419
|
-
description: "
|
|
2293
|
+
title: "รวมร้านค้า",
|
|
2294
|
+
description: "เพิ่มรายการที่คุณต้องการให้ผู้ใช้ใช้จ่ายและมาที่นี่ อาจเป็นได้ทั้งบัตรกำนัล สิทธิประโยชน์ ประสบการณ์ และอื่นๆ อีกมากมาย!",
|
|
2420
2295
|
delete: {
|
|
2421
|
-
confirm: "
|
|
2422
|
-
title: "
|
|
2296
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบชุดข้อมูลนี้",
|
|
2297
|
+
title: "ลบชุดข้อมูล"
|
|
2423
2298
|
},
|
|
2424
2299
|
update: {
|
|
2425
|
-
error: "
|
|
2426
|
-
deleting: "
|
|
2427
|
-
creating: "
|
|
2428
|
-
updating: "
|
|
2300
|
+
error: "ข้อผิดพลาดที่ไม่คาดคิด",
|
|
2301
|
+
deleting: "กำลังลบชุดข้อมูล",
|
|
2302
|
+
creating: "กำลังสร้างชุดข้อมูล",
|
|
2303
|
+
updating: "กำลังอัปเดตชุดข้อมูล",
|
|
2429
2304
|
success: {
|
|
2430
|
-
deleted: "
|
|
2431
|
-
created: "
|
|
2432
|
-
updated: "
|
|
2305
|
+
deleted: "ลบชุดข้อมูลเรียบร้อยแล้ว",
|
|
2306
|
+
created: "สร้างชุดข้อมูลเรียบร้อยแล้ว",
|
|
2307
|
+
updated: "อัปเดตชุดข้อมูลเรียบร้อยแล้ว"
|
|
2433
2308
|
}
|
|
2434
2309
|
},
|
|
2435
2310
|
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: "
|
|
2311
|
+
title: "แก้ไขชุดข้อมูล",
|
|
2312
|
+
create: "สร้างชุดข้อมูลเรียบร้อยแล้ว",
|
|
2313
|
+
basicInformation: "ข้อมูลพื้นฐาน",
|
|
2314
|
+
bundleName: "ชื่อชุดข้อมูล",
|
|
2315
|
+
bundleImage: "รูปภาพชุดข้อมูล",
|
|
2316
|
+
bundlePrice: "ราคาชุดข้อมูล",
|
|
2317
|
+
bundleValue: "มูลค่าชุดข้อมูล",
|
|
2318
|
+
originalPrice: "ราคาเดิม",
|
|
2319
|
+
originalPriceHelper: "ปล่อยว่างไว้หรือตั้งค่าเป็น 0 เพื่อปิดใช้งานราคาเดิม",
|
|
2320
|
+
pointNeeded: "คะแนนที่ต้องการ",
|
|
2321
|
+
subscriptionSettings: "การตั้งค่าการสมัครสมาชิก",
|
|
2322
|
+
stripePriceId: "รหัสราคาแถบข้อมูล",
|
|
2323
|
+
subscriptionValidity: "อายุการใช้งานการสมัครสมาชิก (วัน)",
|
|
2324
|
+
submit: "ส่ง",
|
|
2325
|
+
cancel: "ยกเลิก",
|
|
2326
|
+
advanceSetting: "การตั้งค่าขั้นสูง",
|
|
2327
|
+
credit: "เครดิต",
|
|
2328
|
+
normalCredit: "เครดิตปกติ",
|
|
2329
|
+
freeCredit: "เครดิตฟรี",
|
|
2330
|
+
taxes: "ภาษี",
|
|
2456
2331
|
taxCharge: {
|
|
2457
|
-
title: "
|
|
2458
|
-
inclusive: "
|
|
2459
|
-
exclusive: "
|
|
2332
|
+
title: "ค่าธรรมเนียมภาษี ({type})",
|
|
2333
|
+
inclusive: "รวม",
|
|
2334
|
+
exclusive: "ไม่รวม"
|
|
2460
2335
|
},
|
|
2461
|
-
totalPrice: "
|
|
2462
|
-
internalBundle: "
|
|
2463
|
-
internalBundleDescription: "
|
|
2464
|
-
hideInPos: "
|
|
2465
|
-
hideInPosDescription: "Bundle
|
|
2466
|
-
maxPerUser: "
|
|
2336
|
+
totalPrice: "ราคาทั้งหมด",
|
|
2337
|
+
internalBundle: "ชุดข้อมูลภายใน",
|
|
2338
|
+
internalBundleDescription: "ชุดภายในจะถูกซ่อนอยู่ในแอปสมาชิก FeedMe",
|
|
2339
|
+
hideInPos: "ซ่อนใน POS",
|
|
2340
|
+
hideInPosDescription: "Bundle จะถูกซ่อนอยู่ใน FeedMe POS",
|
|
2341
|
+
maxPerUser: "การซื้อสูงสุดต่อผู้ใช้",
|
|
2467
2342
|
bundleReward: {
|
|
2468
|
-
title: "
|
|
2469
|
-
description: "
|
|
2343
|
+
title: "รางวัลมัด",
|
|
2344
|
+
description: "แจ้งให้สมาชิกของคุณทราบว่าพวกเขาสามารถคาดหวังอะไรได้จากชุดรวมนี้",
|
|
2470
2345
|
table: {
|
|
2471
|
-
title: "
|
|
2472
|
-
type: "
|
|
2473
|
-
description: "
|
|
2346
|
+
title: "ชื่อรางวัล",
|
|
2347
|
+
type: "ประเภทรางวัล",
|
|
2348
|
+
description: "คำอธิบาย"
|
|
2474
2349
|
}
|
|
2475
2350
|
}
|
|
2476
2351
|
}
|
|
2477
2352
|
}
|
|
2478
2353
|
},
|
|
2479
2354
|
storeRewards: {
|
|
2480
|
-
title: "
|
|
2355
|
+
title: "เก็บรางวัล",
|
|
2481
2356
|
remove: {
|
|
2482
|
-
message: "
|
|
2483
|
-
title: "
|
|
2484
|
-
action: "
|
|
2357
|
+
message: "คุณไม่สามารถลบชื่อได้ที่นี่ โปรดลบออกที่ส่วน โปรแกรม > ชื่อ",
|
|
2358
|
+
title: "ลบรางวัล",
|
|
2359
|
+
action: "ไปที่ส่วนชื่อเรื่อง"
|
|
2485
2360
|
},
|
|
2486
2361
|
edit: {
|
|
2487
|
-
message: "
|
|
2488
|
-
title: "
|
|
2489
|
-
action: "
|
|
2362
|
+
message: "คุณไม่สามารถแก้ไขชื่อได้ที่นี่ โปรดแก้ไขที่ส่วน โปรแกรม > ชื่อ",
|
|
2363
|
+
title: "อัพเดทรางวัล",
|
|
2364
|
+
action: "ไปที่ส่วนชื่อเรื่อง"
|
|
2490
2365
|
},
|
|
2491
|
-
description: "
|
|
2366
|
+
description: "สร้างและจัดการรางวัลสำหรับลูกค้าของคุณ",
|
|
2492
2367
|
type: {
|
|
2493
|
-
label: "
|
|
2494
|
-
all: "
|
|
2368
|
+
label: "ประเภทรางวัล: {type}",
|
|
2369
|
+
all: "ทั้งหมด"
|
|
2495
2370
|
},
|
|
2496
|
-
search: "
|
|
2371
|
+
search: "ค้นหา",
|
|
2497
2372
|
delete: {
|
|
2498
|
-
confirm: "
|
|
2499
|
-
title: "
|
|
2500
|
-
message: "
|
|
2501
|
-
success: "
|
|
2373
|
+
confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบรางวัลนี้?",
|
|
2374
|
+
title: "ลบรางวัล",
|
|
2375
|
+
message: "กำลังลบรางวัล",
|
|
2376
|
+
success: "ลบรางวัลแล้ว"
|
|
2502
2377
|
},
|
|
2503
2378
|
update: {
|
|
2504
|
-
message: "
|
|
2505
|
-
success: "
|
|
2379
|
+
message: "กำลังอัปเดตรางวัล",
|
|
2380
|
+
success: "อัปเดตรางวัลเรียบร้อยแล้ว"
|
|
2506
2381
|
},
|
|
2507
2382
|
empty: {
|
|
2508
|
-
title: "
|
|
2509
|
-
description: "
|
|
2510
|
-
action: "
|
|
2383
|
+
title: "สร้างผลตอบแทน",
|
|
2384
|
+
description: "สร้างรางวัลสำหรับลูกค้าของคุณเพื่อแลกภายในชุดรวมของพวกเขา",
|
|
2385
|
+
action: "สร้างรางวัล"
|
|
2511
2386
|
},
|
|
2512
|
-
create: "
|
|
2387
|
+
create: "สร้างรางวัล",
|
|
2513
2388
|
table: {
|
|
2514
|
-
name: "
|
|
2515
|
-
type: "
|
|
2516
|
-
validity: "
|
|
2517
|
-
used: "
|
|
2518
|
-
actions: "
|
|
2389
|
+
name: "ชื่อ",
|
|
2390
|
+
type: "พิมพ์",
|
|
2391
|
+
validity: "ความถูกต้อง",
|
|
2392
|
+
used: "ใช้แล้ว",
|
|
2393
|
+
actions: "การดำเนินการ"
|
|
2519
2394
|
}
|
|
2520
2395
|
},
|
|
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"
|
|
2396
|
+
zod: {
|
|
2397
|
+
invalid_type: "คาดหวัง {{expected}} ได้รับ {{received}}",
|
|
2398
|
+
errors: {
|
|
2399
|
+
invalid_type: "คาดหวัง {{expected}} ได้รับ {{received}}",
|
|
2400
|
+
invalid_type_received_undefined: "ที่จำเป็น",
|
|
2401
|
+
invalid_type_received_null: "ที่จำเป็น",
|
|
2402
|
+
invalid_literal: "ค่าตัวอักษรไม่ถูกต้อง คาดไว้ {{expected}}",
|
|
2403
|
+
unrecognized_keys: "คีย์ที่ไม่รู้จักในออบเจ็กต์: {{- คีย์}}",
|
|
2404
|
+
invalid_union: "อินพุตไม่ถูกต้อง",
|
|
2405
|
+
invalid_union_discriminator: "ค่าตัวแบ่งแยกไม่ถูกต้อง คาดหวัง {{- ตัวเลือก}}",
|
|
2406
|
+
invalid_enum_value: "ค่าแจงนับไม่ถูกต้อง คาดหวัง {{- options}} ได้รับ '{{received}}'",
|
|
2407
|
+
invalid_arguments: "อาร์กิวเมนต์ของฟังก์ชันไม่ถูกต้อง",
|
|
2408
|
+
invalid_return_type: "ประเภทการส่งคืนฟังก์ชันไม่ถูกต้อง",
|
|
2409
|
+
invalid_date: "วันที่ไม่ถูกต้อง",
|
|
2410
|
+
custom: "อินพุตไม่ถูกต้อง",
|
|
2411
|
+
invalid_intersection_types: "ไม่สามารถรวมผลลัพธ์ทางแยกได้",
|
|
2412
|
+
not_multiple_of: "จำนวนต้องเป็นจำนวนทวีคูณของ {{multipleOf}}",
|
|
2413
|
+
not_finite: "จำนวนต้องมีจำกัด",
|
|
2414
|
+
invalid_string: {
|
|
2415
|
+
email: "ไม่ถูกต้อง {{validation}}",
|
|
2416
|
+
url: "ไม่ถูกต้อง {{validation}}",
|
|
2417
|
+
uuid: "ไม่ถูกต้อง {{validation}}",
|
|
2418
|
+
cuid: "ไม่ถูกต้อง {{validation}}",
|
|
2419
|
+
regex: "ไม่ถูกต้อง",
|
|
2420
|
+
datetime: "ไม่ถูกต้อง {{validation}}",
|
|
2421
|
+
startsWith: 'ข้อมูลไม่ถูกต้อง: ต้องขึ้นต้นด้วย "{{startsWith}}"',
|
|
2422
|
+
endsWith: 'ข้อมูลไม่ถูกต้อง: ต้องลงท้ายด้วย "{{endsWith}}"'
|
|
2423
|
+
},
|
|
2424
|
+
too_small: {
|
|
2425
|
+
array: {
|
|
2426
|
+
exact: "อาร์เรย์ต้องมีองค์ประกอบ {{minimum}} ทุกประการ",
|
|
2427
|
+
inclusive: "อาร์เรย์ต้องมีอย่างน้อย {{minimum}} องค์ประกอบ",
|
|
2428
|
+
not_inclusive: "อาร์เรย์ต้องมีองค์ประกอบมากกว่า {{minimum}} รายการ"
|
|
2429
|
+
},
|
|
2430
|
+
string: {
|
|
2431
|
+
exact: "สตริงต้องมีอักขระ {{minimum}} ตัวทุกประการ",
|
|
2432
|
+
inclusive: "สตริงต้องมีอักขระอย่างน้อย {{minimum}} ตัว",
|
|
2433
|
+
not_inclusive: "สตริงต้องมีอักขระเกิน {{minimum}} ตัว"
|
|
2434
|
+
},
|
|
2435
|
+
number: {
|
|
2436
|
+
exact: "หมายเลขจะต้องเป็น {{minimum}} ทุกประการ",
|
|
2437
|
+
inclusive: "ตัวเลขต้องมากกว่าหรือเท่ากับ {{minimum}}",
|
|
2438
|
+
not_inclusive: "จำนวนต้องมากกว่า {{minimum}}"
|
|
2439
|
+
},
|
|
2440
|
+
set: {
|
|
2441
|
+
exact: "อินพุตไม่ถูกต้อง",
|
|
2442
|
+
inclusive: "อินพุตไม่ถูกต้อง",
|
|
2443
|
+
not_inclusive: "อินพุตไม่ถูกต้อง"
|
|
2444
|
+
},
|
|
2445
|
+
date: {
|
|
2446
|
+
exact: "วันที่จะต้องตรงกับ {{- ขั้นต่ำ, วันที่เวลา}}",
|
|
2447
|
+
inclusive: "วันที่ต้องมากกว่าหรือเท่ากับ {{- ขั้นต่ำ, วันที่เวลา}}",
|
|
2448
|
+
not_inclusive: "วันที่ต้องมากกว่า {{- ขั้นต่ำ, วันที่เวลา}}"
|
|
2449
|
+
}
|
|
2586
2450
|
},
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2451
|
+
too_big: {
|
|
2452
|
+
array: {
|
|
2453
|
+
exact: "อาร์เรย์ต้องมีองค์ประกอบ {{maximum}} ทุกประการ",
|
|
2454
|
+
inclusive: "อาร์เรย์ต้องมีองค์ประกอบไม่เกิน {{maximum}} รายการ",
|
|
2455
|
+
not_inclusive: "อาร์เรย์ต้องมีองค์ประกอบน้อยกว่า {{maximum}} รายการ"
|
|
2456
|
+
},
|
|
2457
|
+
string: {
|
|
2458
|
+
exact: "สตริงต้องมีอักขระ {{maximum}} ตัวทุกประการ",
|
|
2459
|
+
inclusive: "สตริงต้องมีอักขระไม่เกิน {{maximum}} ตัว",
|
|
2460
|
+
not_inclusive: "สตริงต้องมีอักขระไม่เกิน {{maximum}} ตัว"
|
|
2461
|
+
},
|
|
2462
|
+
number: {
|
|
2463
|
+
exact: "หมายเลขจะต้องตรงกับ {{maximum}}",
|
|
2464
|
+
inclusive: "ตัวเลขต้องน้อยกว่าหรือเท่ากับ {{maximum}}",
|
|
2465
|
+
not_inclusive: "จำนวนต้องน้อยกว่า {{maximum}}"
|
|
2466
|
+
},
|
|
2467
|
+
set: {
|
|
2468
|
+
exact: "อินพุตไม่ถูกต้อง",
|
|
2469
|
+
inclusive: "อินพุตไม่ถูกต้อง",
|
|
2470
|
+
not_inclusive: "อินพุตไม่ถูกต้อง"
|
|
2471
|
+
},
|
|
2472
|
+
date: {
|
|
2473
|
+
exact: "วันที่จะต้องตรงกับ {{- maximum, datetime}}",
|
|
2474
|
+
inclusive: "วันที่ต้องน้อยกว่าหรือเท่ากับ {{- maximum, datetime}}",
|
|
2475
|
+
not_inclusive: "วันที่ต้องน้อยกว่า {{- maximum, datetime}}"
|
|
2476
|
+
}
|
|
2591
2477
|
}
|
|
2592
2478
|
},
|
|
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
|
-
|
|
2479
|
+
validations: {
|
|
2480
|
+
email: "อีเมล",
|
|
2481
|
+
url: "url",
|
|
2482
|
+
uuid: "uuid",
|
|
2483
|
+
cuid: "cuid",
|
|
2484
|
+
regex: "regex",
|
|
2485
|
+
datetime: "datetime"
|
|
2486
|
+
},
|
|
2487
|
+
types: {
|
|
2488
|
+
function: "ฟังก์ชัน",
|
|
2489
|
+
number: "ตัวเลข",
|
|
2490
|
+
string: "สตริง",
|
|
2491
|
+
nan: "nan",
|
|
2492
|
+
integer: "จำนวนเต็ม",
|
|
2493
|
+
float: "float",
|
|
2494
|
+
boolean: "boolean",
|
|
2495
|
+
date: "วันที่",
|
|
2496
|
+
bigint: "bigint",
|
|
2497
|
+
undefined: "ไม่ได้กำหนด",
|
|
2498
|
+
symbol: "สัญลักษณ์",
|
|
2499
|
+
null: "null",
|
|
2500
|
+
array: "อาร์เรย์",
|
|
2501
|
+
object: "วัตถุ",
|
|
2502
|
+
unknown: "ไม่ทราบ",
|
|
2503
|
+
promise: "promise",
|
|
2504
|
+
void: "void",
|
|
2505
|
+
never: "never",
|
|
2506
|
+
map: "map",
|
|
2507
|
+
set: "set"
|
|
2619
2508
|
}
|
|
2620
2509
|
},
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2510
|
+
zodCustom: {
|
|
2511
|
+
timeframe: {
|
|
2512
|
+
end_before_start: "วันที่สิ้นสุดต้องมาทีหลังหรือเหมือนกับวันที่เริ่มต้น"
|
|
2513
|
+
},
|
|
2514
|
+
campaign: {
|
|
2515
|
+
rule_required: "ต้องมีกฎเกณฑ์เมื่อประเภทตัวกระตุ้นคือ '{type}'",
|
|
2516
|
+
earning_amount_exceed: "จำนวนเงินที่ได้รับต้องน้อยกว่า {max} (จำนวนเงินที่ได้รับสูงสุดของภารกิจ)",
|
|
2517
|
+
credit_validity_required: "แคมเปญเครดิตต้องมีตัวเลือกอายุการใช้งาน (ต้องเป็นเครดิตฟรี)",
|
|
2518
|
+
mission_first_receive: "แคมเปญภารกิจต้องติดตามการรับก่อน",
|
|
2519
|
+
schedule_period_required: "ตัวกระตุ้นกำหนดการต้องตั้งค่าช่วงเวลาที่ใช้งานอยู่",
|
|
2520
|
+
active_period_invalid: "กฎช่วงเวลาที่ใช้งานอยู่ไม่ถูกต้อง",
|
|
2521
|
+
fixed_earning_required: "แคมเปญที่ไม่สามารถเรียกเก็บเงินได้ครบต้องมีตัวเลือกการรับรายได้คงที่",
|
|
2522
|
+
reward_threshold_range: "เกณฑ์รางวัลจะต้องอยู่ภายในจุดสิ้นสุดภารกิจ",
|
|
2523
|
+
reward_threshold_unique: "เกณฑ์รางวัลจะต้องไม่ซ้ำกัน",
|
|
2524
|
+
effect_required: "จำเป็นต้องมีเอฟเฟกต์"
|
|
2525
|
+
}
|
|
2628
2526
|
},
|
|
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"
|
|
2527
|
+
prompt: {
|
|
2528
|
+
confirm: "ยืนยัน",
|
|
2529
|
+
cancel: "ยกเลิก"
|
|
2654
2530
|
},
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2531
|
+
editTierSheet: {
|
|
2532
|
+
add: "เพิ่ม",
|
|
2533
|
+
create: "สร้างระดับ",
|
|
2534
|
+
basicInformation: "ข้อมูลพื้นฐาน",
|
|
2535
|
+
tierName: "ชื่อชั้น",
|
|
2536
|
+
tierImage: "รูปภาพระดับ",
|
|
2537
|
+
experienceThreshold: "เกณฑ์ประสบการณ์",
|
|
2538
|
+
minExperience: "ประสบการณ์ขั้นต่ำ",
|
|
2539
|
+
maxExperience: "ประสบการณ์สูงสุด",
|
|
2540
|
+
actions: "การดำเนินการ",
|
|
2541
|
+
submit: "ส่ง",
|
|
2542
|
+
cancel: "ยกเลิก"
|
|
2666
2543
|
}
|
|
2667
|
-
},
|
|
2668
|
-
connect:
|
|
2669
|
-
connectZod: qe,
|
|
2670
|
-
connectZodCustom: Ge
|
|
2544
|
+
}, qe = {
|
|
2545
|
+
connect: Ue
|
|
2671
2546
|
};
|
|
2672
2547
|
var b;
|
|
2673
2548
|
(function(a) {
|
|
@@ -2734,7 +2609,7 @@ const u = b.arrayToEnum([
|
|
|
2734
2609
|
"never",
|
|
2735
2610
|
"map",
|
|
2736
2611
|
"set"
|
|
2737
|
-
]),
|
|
2612
|
+
]), j = (a) => {
|
|
2738
2613
|
switch (typeof a) {
|
|
2739
2614
|
case "undefined":
|
|
2740
2615
|
return u.undefined;
|
|
@@ -2772,7 +2647,7 @@ const u = b.arrayToEnum([
|
|
|
2772
2647
|
"invalid_intersection_types",
|
|
2773
2648
|
"not_multiple_of",
|
|
2774
2649
|
"not_finite"
|
|
2775
|
-
]),
|
|
2650
|
+
]), Ge = (a) => JSON.stringify(a, null, 2).replace(/"([^"]+)":/g, "$1:");
|
|
2776
2651
|
class E extends Error {
|
|
2777
2652
|
constructor(e) {
|
|
2778
2653
|
super(), this.issues = [], this.addIssue = (n) => {
|
|
@@ -2885,12 +2760,12 @@ const F = (a, e) => {
|
|
|
2885
2760
|
}
|
|
2886
2761
|
return { message: t };
|
|
2887
2762
|
};
|
|
2888
|
-
let
|
|
2889
|
-
function
|
|
2890
|
-
|
|
2763
|
+
let Se = F;
|
|
2764
|
+
function ze(a) {
|
|
2765
|
+
Se = a;
|
|
2891
2766
|
}
|
|
2892
2767
|
function ce() {
|
|
2893
|
-
return
|
|
2768
|
+
return Se;
|
|
2894
2769
|
}
|
|
2895
2770
|
const de = (a) => {
|
|
2896
2771
|
const { data: e, path: t, errorMaps: n, issueData: i } = a, r = [...t, ...i.path || []], s = {
|
|
@@ -2906,7 +2781,7 @@ const de = (a) => {
|
|
|
2906
2781
|
path: r,
|
|
2907
2782
|
message: i.message || o
|
|
2908
2783
|
};
|
|
2909
|
-
},
|
|
2784
|
+
}, Ye = [];
|
|
2910
2785
|
function l(a, e) {
|
|
2911
2786
|
const t = de({
|
|
2912
2787
|
issueData: e,
|
|
@@ -2922,7 +2797,7 @@ function l(a, e) {
|
|
|
2922
2797
|
});
|
|
2923
2798
|
a.common.issues.push(t);
|
|
2924
2799
|
}
|
|
2925
|
-
class
|
|
2800
|
+
class T {
|
|
2926
2801
|
constructor() {
|
|
2927
2802
|
this.value = "valid";
|
|
2928
2803
|
}
|
|
@@ -2936,7 +2811,7 @@ class C {
|
|
|
2936
2811
|
const n = [];
|
|
2937
2812
|
for (const i of t) {
|
|
2938
2813
|
if (i.status === "aborted")
|
|
2939
|
-
return
|
|
2814
|
+
return f;
|
|
2940
2815
|
i.status === "dirty" && e.dirty(), n.push(i.value);
|
|
2941
2816
|
}
|
|
2942
2817
|
return { status: e.value, value: n };
|
|
@@ -2948,27 +2823,27 @@ class C {
|
|
|
2948
2823
|
key: await i.key,
|
|
2949
2824
|
value: await i.value
|
|
2950
2825
|
});
|
|
2951
|
-
return
|
|
2826
|
+
return T.mergeObjectSync(e, n);
|
|
2952
2827
|
}
|
|
2953
2828
|
static mergeObjectSync(e, t) {
|
|
2954
2829
|
const n = {};
|
|
2955
2830
|
for (const i of t) {
|
|
2956
2831
|
const { key: r, value: s } = i;
|
|
2957
2832
|
if (r.status === "aborted" || s.status === "aborted")
|
|
2958
|
-
return
|
|
2833
|
+
return f;
|
|
2959
2834
|
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
2835
|
}
|
|
2961
2836
|
return { status: e.value, value: n };
|
|
2962
2837
|
}
|
|
2963
2838
|
}
|
|
2964
|
-
const
|
|
2839
|
+
const f = Object.freeze({
|
|
2965
2840
|
status: "aborted"
|
|
2966
|
-
}),
|
|
2841
|
+
}), Ae = (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
2842
|
var p;
|
|
2968
2843
|
(function(a) {
|
|
2969
2844
|
a.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, a.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
2970
2845
|
})(p || (p = {}));
|
|
2971
|
-
class
|
|
2846
|
+
class N {
|
|
2972
2847
|
constructor(e, t, n, i) {
|
|
2973
2848
|
this._cachedPath = [], this.parent = e, this.data = t, this._path = n, this._key = i;
|
|
2974
2849
|
}
|
|
@@ -2976,7 +2851,7 @@ class M {
|
|
|
2976
2851
|
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
2852
|
}
|
|
2978
2853
|
}
|
|
2979
|
-
const
|
|
2854
|
+
const Ce = (a, e) => {
|
|
2980
2855
|
if (H(e))
|
|
2981
2856
|
return { success: !0, data: e.value };
|
|
2982
2857
|
if (!a.common.issues.length)
|
|
@@ -2991,7 +2866,7 @@ const Te = (a, e) => {
|
|
|
2991
2866
|
}
|
|
2992
2867
|
};
|
|
2993
2868
|
};
|
|
2994
|
-
function
|
|
2869
|
+
function g(a) {
|
|
2995
2870
|
if (!a)
|
|
2996
2871
|
return {};
|
|
2997
2872
|
const { errorMap: e, invalid_type_error: t, required_error: n, description: i } = a;
|
|
@@ -2999,7 +2874,7 @@ function f(a) {
|
|
|
2999
2874
|
throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
|
|
3000
2875
|
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
2876
|
}
|
|
3002
|
-
class
|
|
2877
|
+
class _ {
|
|
3003
2878
|
constructor(e) {
|
|
3004
2879
|
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
2880
|
}
|
|
@@ -3007,13 +2882,13 @@ class y {
|
|
|
3007
2882
|
return this._def.description;
|
|
3008
2883
|
}
|
|
3009
2884
|
_getType(e) {
|
|
3010
|
-
return
|
|
2885
|
+
return j(e.data);
|
|
3011
2886
|
}
|
|
3012
2887
|
_getOrReturnCtx(e, t) {
|
|
3013
2888
|
return t || {
|
|
3014
2889
|
common: e.parent.common,
|
|
3015
2890
|
data: e.data,
|
|
3016
|
-
parsedType:
|
|
2891
|
+
parsedType: j(e.data),
|
|
3017
2892
|
schemaErrorMap: this._def.errorMap,
|
|
3018
2893
|
path: e.path,
|
|
3019
2894
|
parent: e.parent
|
|
@@ -3021,11 +2896,11 @@ class y {
|
|
|
3021
2896
|
}
|
|
3022
2897
|
_processInputParams(e) {
|
|
3023
2898
|
return {
|
|
3024
|
-
status: new
|
|
2899
|
+
status: new T(),
|
|
3025
2900
|
ctx: {
|
|
3026
2901
|
common: e.parent.common,
|
|
3027
2902
|
data: e.data,
|
|
3028
|
-
parsedType:
|
|
2903
|
+
parsedType: j(e.data),
|
|
3029
2904
|
schemaErrorMap: this._def.errorMap,
|
|
3030
2905
|
path: e.path,
|
|
3031
2906
|
parent: e.parent
|
|
@@ -3060,9 +2935,9 @@ class y {
|
|
|
3060
2935
|
schemaErrorMap: this._def.errorMap,
|
|
3061
2936
|
parent: null,
|
|
3062
2937
|
data: e,
|
|
3063
|
-
parsedType:
|
|
2938
|
+
parsedType: j(e)
|
|
3064
2939
|
}, r = this._parseSync({ data: e, path: i.path, parent: i });
|
|
3065
|
-
return
|
|
2940
|
+
return Ce(i, r);
|
|
3066
2941
|
}
|
|
3067
2942
|
async parseAsync(e, t) {
|
|
3068
2943
|
const n = await this.safeParseAsync(e, t);
|
|
@@ -3081,9 +2956,9 @@ class y {
|
|
|
3081
2956
|
schemaErrorMap: this._def.errorMap,
|
|
3082
2957
|
parent: null,
|
|
3083
2958
|
data: e,
|
|
3084
|
-
parsedType:
|
|
2959
|
+
parsedType: j(e)
|
|
3085
2960
|
}, i = this._parse({ data: e, path: n.path, parent: n }), r = await (ue(i) ? i : Promise.resolve(i));
|
|
3086
|
-
return
|
|
2961
|
+
return Ce(n, r);
|
|
3087
2962
|
}
|
|
3088
2963
|
refine(e, t) {
|
|
3089
2964
|
const n = (i) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(i) : t;
|
|
@@ -3099,7 +2974,7 @@ class y {
|
|
|
3099
2974
|
return this._refinement((n, i) => e(n) ? !0 : (i.addIssue(typeof t == "function" ? t(n, i) : t), !1));
|
|
3100
2975
|
}
|
|
3101
2976
|
_refinement(e) {
|
|
3102
|
-
return new
|
|
2977
|
+
return new I({
|
|
3103
2978
|
schema: this,
|
|
3104
2979
|
typeName: h.ZodEffects,
|
|
3105
2980
|
effect: { type: "refinement", refinement: e }
|
|
@@ -3118,7 +2993,7 @@ class y {
|
|
|
3118
2993
|
return this.nullable().optional();
|
|
3119
2994
|
}
|
|
3120
2995
|
array() {
|
|
3121
|
-
return
|
|
2996
|
+
return O.create(this, this._def);
|
|
3122
2997
|
}
|
|
3123
2998
|
promise() {
|
|
3124
2999
|
return W.create(this, this._def);
|
|
@@ -3130,8 +3005,8 @@ class y {
|
|
|
3130
3005
|
return ee.create(this, e, this._def);
|
|
3131
3006
|
}
|
|
3132
3007
|
transform(e) {
|
|
3133
|
-
return new
|
|
3134
|
-
...
|
|
3008
|
+
return new I({
|
|
3009
|
+
...g(this._def),
|
|
3135
3010
|
schema: this,
|
|
3136
3011
|
typeName: h.ZodEffects,
|
|
3137
3012
|
effect: { type: "transform", transform: e }
|
|
@@ -3140,7 +3015,7 @@ class y {
|
|
|
3140
3015
|
default(e) {
|
|
3141
3016
|
const t = typeof e == "function" ? e : () => e;
|
|
3142
3017
|
return new re({
|
|
3143
|
-
...
|
|
3018
|
+
...g(this._def),
|
|
3144
3019
|
innerType: this,
|
|
3145
3020
|
defaultValue: t,
|
|
3146
3021
|
typeName: h.ZodDefault
|
|
@@ -3150,13 +3025,13 @@ class y {
|
|
|
3150
3025
|
return new Ee({
|
|
3151
3026
|
typeName: h.ZodBranded,
|
|
3152
3027
|
type: this,
|
|
3153
|
-
...
|
|
3028
|
+
...g(this._def)
|
|
3154
3029
|
});
|
|
3155
3030
|
}
|
|
3156
3031
|
catch(e) {
|
|
3157
3032
|
const t = typeof e == "function" ? e : () => e;
|
|
3158
3033
|
return new he({
|
|
3159
|
-
...
|
|
3034
|
+
...g(this._def),
|
|
3160
3035
|
innerType: this,
|
|
3161
3036
|
catchValue: t,
|
|
3162
3037
|
typeName: h.ZodCatch
|
|
@@ -3173,7 +3048,7 @@ class y {
|
|
|
3173
3048
|
return se.create(this, e);
|
|
3174
3049
|
}
|
|
3175
3050
|
readonly() {
|
|
3176
|
-
return
|
|
3051
|
+
return ge.create(this);
|
|
3177
3052
|
}
|
|
3178
3053
|
isOptional() {
|
|
3179
3054
|
return this.safeParse(void 0).success;
|
|
@@ -3182,13 +3057,13 @@ class y {
|
|
|
3182
3057
|
return this.safeParse(null).success;
|
|
3183
3058
|
}
|
|
3184
3059
|
}
|
|
3185
|
-
const
|
|
3186
|
-
let
|
|
3187
|
-
const
|
|
3188
|
-
function
|
|
3189
|
-
return !!((e === "v4" || !e) &&
|
|
3060
|
+
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})+$";
|
|
3061
|
+
let ye;
|
|
3062
|
+
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$");
|
|
3063
|
+
function at(a, e) {
|
|
3064
|
+
return !!((e === "v4" || !e) && Qe.test(a) || (e === "v6" || !e) && et.test(a));
|
|
3190
3065
|
}
|
|
3191
|
-
class R extends
|
|
3066
|
+
class R extends _ {
|
|
3192
3067
|
_parse(e) {
|
|
3193
3068
|
if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== u.string) {
|
|
3194
3069
|
const r = this._getOrReturnCtx(e);
|
|
@@ -3200,9 +3075,9 @@ class R extends y {
|
|
|
3200
3075
|
received: r.parsedType
|
|
3201
3076
|
}
|
|
3202
3077
|
//
|
|
3203
|
-
),
|
|
3078
|
+
), f;
|
|
3204
3079
|
}
|
|
3205
|
-
const n = new
|
|
3080
|
+
const n = new T();
|
|
3206
3081
|
let i;
|
|
3207
3082
|
for (const r of this._def.checks)
|
|
3208
3083
|
if (r.kind === "min")
|
|
@@ -3241,37 +3116,37 @@ class R extends y {
|
|
|
3241
3116
|
message: r.message
|
|
3242
3117
|
}), n.dirty());
|
|
3243
3118
|
} else if (r.kind === "email")
|
|
3244
|
-
|
|
3119
|
+
Xe.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3245
3120
|
validation: "email",
|
|
3246
3121
|
code: c.invalid_string,
|
|
3247
3122
|
message: r.message
|
|
3248
3123
|
}), n.dirty());
|
|
3249
3124
|
else if (r.kind === "emoji")
|
|
3250
|
-
|
|
3125
|
+
ye || (ye = new RegExp(Ke, "u")), ye.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3251
3126
|
validation: "emoji",
|
|
3252
3127
|
code: c.invalid_string,
|
|
3253
3128
|
message: r.message
|
|
3254
3129
|
}), n.dirty());
|
|
3255
3130
|
else if (r.kind === "uuid")
|
|
3256
|
-
|
|
3131
|
+
Je.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3257
3132
|
validation: "uuid",
|
|
3258
3133
|
code: c.invalid_string,
|
|
3259
3134
|
message: r.message
|
|
3260
3135
|
}), n.dirty());
|
|
3261
3136
|
else if (r.kind === "cuid")
|
|
3262
|
-
|
|
3137
|
+
We.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3263
3138
|
validation: "cuid",
|
|
3264
3139
|
code: c.invalid_string,
|
|
3265
3140
|
message: r.message
|
|
3266
3141
|
}), n.dirty());
|
|
3267
3142
|
else if (r.kind === "cuid2")
|
|
3268
|
-
|
|
3143
|
+
Fe.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3269
3144
|
validation: "cuid2",
|
|
3270
3145
|
code: c.invalid_string,
|
|
3271
3146
|
message: r.message
|
|
3272
3147
|
}), n.dirty());
|
|
3273
3148
|
else if (r.kind === "ulid")
|
|
3274
|
-
|
|
3149
|
+
He.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3275
3150
|
validation: "ulid",
|
|
3276
3151
|
code: c.invalid_string,
|
|
3277
3152
|
message: r.message
|
|
@@ -3302,11 +3177,11 @@ class R extends y {
|
|
|
3302
3177
|
code: c.invalid_string,
|
|
3303
3178
|
validation: { endsWith: r.value },
|
|
3304
3179
|
message: r.message
|
|
3305
|
-
}), n.dirty()) : r.kind === "datetime" ?
|
|
3180
|
+
}), n.dirty()) : r.kind === "datetime" ? tt(r).test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3306
3181
|
code: c.invalid_string,
|
|
3307
3182
|
validation: "datetime",
|
|
3308
3183
|
message: r.message
|
|
3309
|
-
}), n.dirty()) : r.kind === "ip" ?
|
|
3184
|
+
}), n.dirty()) : r.kind === "ip" ? at(e.data, r.version) || (i = this._getOrReturnCtx(e, i), l(i, {
|
|
3310
3185
|
validation: "ip",
|
|
3311
3186
|
code: c.invalid_string,
|
|
3312
3187
|
message: r.message
|
|
@@ -3485,14 +3360,14 @@ R.create = (a) => {
|
|
|
3485
3360
|
checks: [],
|
|
3486
3361
|
typeName: h.ZodString,
|
|
3487
3362
|
coerce: (e = a == null ? void 0 : a.coerce) !== null && e !== void 0 ? e : !1,
|
|
3488
|
-
...
|
|
3363
|
+
...g(a)
|
|
3489
3364
|
});
|
|
3490
3365
|
};
|
|
3491
|
-
function
|
|
3366
|
+
function nt(a, e) {
|
|
3492
3367
|
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
3368
|
return r % s / Math.pow(10, i);
|
|
3494
3369
|
}
|
|
3495
|
-
class
|
|
3370
|
+
class Z extends _ {
|
|
3496
3371
|
constructor() {
|
|
3497
3372
|
super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
|
|
3498
3373
|
}
|
|
@@ -3503,10 +3378,10 @@ class j extends y {
|
|
|
3503
3378
|
code: c.invalid_type,
|
|
3504
3379
|
expected: u.number,
|
|
3505
3380
|
received: r.parsedType
|
|
3506
|
-
}),
|
|
3381
|
+
}), f;
|
|
3507
3382
|
}
|
|
3508
3383
|
let n;
|
|
3509
|
-
const i = new
|
|
3384
|
+
const i = new T();
|
|
3510
3385
|
for (const r of this._def.checks)
|
|
3511
3386
|
r.kind === "int" ? b.isInteger(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
|
|
3512
3387
|
code: c.invalid_type,
|
|
@@ -3527,7 +3402,7 @@ class j extends y {
|
|
|
3527
3402
|
inclusive: r.inclusive,
|
|
3528
3403
|
exact: !1,
|
|
3529
3404
|
message: r.message
|
|
3530
|
-
}), i.dirty()) : r.kind === "multipleOf" ?
|
|
3405
|
+
}), i.dirty()) : r.kind === "multipleOf" ? nt(e.data, r.value) !== 0 && (n = this._getOrReturnCtx(e, n), l(n, {
|
|
3531
3406
|
code: c.not_multiple_of,
|
|
3532
3407
|
multipleOf: r.value,
|
|
3533
3408
|
message: r.message
|
|
@@ -3550,7 +3425,7 @@ class j extends y {
|
|
|
3550
3425
|
return this.setLimit("max", e, !1, p.toString(t));
|
|
3551
3426
|
}
|
|
3552
3427
|
setLimit(e, t, n, i) {
|
|
3553
|
-
return new
|
|
3428
|
+
return new Z({
|
|
3554
3429
|
...this._def,
|
|
3555
3430
|
checks: [
|
|
3556
3431
|
...this._def.checks,
|
|
@@ -3564,7 +3439,7 @@ class j extends y {
|
|
|
3564
3439
|
});
|
|
3565
3440
|
}
|
|
3566
3441
|
_addCheck(e) {
|
|
3567
|
-
return new
|
|
3442
|
+
return new Z({
|
|
3568
3443
|
...this._def,
|
|
3569
3444
|
checks: [...this._def.checks, e]
|
|
3570
3445
|
});
|
|
@@ -3658,13 +3533,13 @@ class j extends y {
|
|
|
3658
3533
|
return Number.isFinite(t) && Number.isFinite(e);
|
|
3659
3534
|
}
|
|
3660
3535
|
}
|
|
3661
|
-
|
|
3536
|
+
Z.create = (a) => new Z({
|
|
3662
3537
|
checks: [],
|
|
3663
3538
|
typeName: h.ZodNumber,
|
|
3664
3539
|
coerce: (a == null ? void 0 : a.coerce) || !1,
|
|
3665
|
-
...
|
|
3540
|
+
...g(a)
|
|
3666
3541
|
});
|
|
3667
|
-
class
|
|
3542
|
+
class D extends _ {
|
|
3668
3543
|
constructor() {
|
|
3669
3544
|
super(...arguments), this.min = this.gte, this.max = this.lte;
|
|
3670
3545
|
}
|
|
@@ -3675,10 +3550,10 @@ class V extends y {
|
|
|
3675
3550
|
code: c.invalid_type,
|
|
3676
3551
|
expected: u.bigint,
|
|
3677
3552
|
received: r.parsedType
|
|
3678
|
-
}),
|
|
3553
|
+
}), f;
|
|
3679
3554
|
}
|
|
3680
3555
|
let n;
|
|
3681
|
-
const i = new
|
|
3556
|
+
const i = new T();
|
|
3682
3557
|
for (const r of this._def.checks)
|
|
3683
3558
|
r.kind === "min" ? (r.inclusive ? e.data < r.value : e.data <= r.value) && (n = this._getOrReturnCtx(e, n), l(n, {
|
|
3684
3559
|
code: c.too_small,
|
|
@@ -3712,7 +3587,7 @@ class V extends y {
|
|
|
3712
3587
|
return this.setLimit("max", e, !1, p.toString(t));
|
|
3713
3588
|
}
|
|
3714
3589
|
setLimit(e, t, n, i) {
|
|
3715
|
-
return new
|
|
3590
|
+
return new D({
|
|
3716
3591
|
...this._def,
|
|
3717
3592
|
checks: [
|
|
3718
3593
|
...this._def.checks,
|
|
@@ -3726,7 +3601,7 @@ class V extends y {
|
|
|
3726
3601
|
});
|
|
3727
3602
|
}
|
|
3728
3603
|
_addCheck(e) {
|
|
3729
|
-
return new
|
|
3604
|
+
return new D({
|
|
3730
3605
|
...this._def,
|
|
3731
3606
|
checks: [...this._def.checks, e]
|
|
3732
3607
|
});
|
|
@@ -3783,16 +3658,16 @@ class V extends y {
|
|
|
3783
3658
|
return e;
|
|
3784
3659
|
}
|
|
3785
3660
|
}
|
|
3786
|
-
|
|
3661
|
+
D.create = (a) => {
|
|
3787
3662
|
var e;
|
|
3788
|
-
return new
|
|
3663
|
+
return new D({
|
|
3789
3664
|
checks: [],
|
|
3790
3665
|
typeName: h.ZodBigInt,
|
|
3791
3666
|
coerce: (e = a == null ? void 0 : a.coerce) !== null && e !== void 0 ? e : !1,
|
|
3792
|
-
...
|
|
3667
|
+
...g(a)
|
|
3793
3668
|
});
|
|
3794
3669
|
};
|
|
3795
|
-
class J extends
|
|
3670
|
+
class J extends _ {
|
|
3796
3671
|
_parse(e) {
|
|
3797
3672
|
if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== u.boolean) {
|
|
3798
3673
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3800,17 +3675,17 @@ class J extends y {
|
|
|
3800
3675
|
code: c.invalid_type,
|
|
3801
3676
|
expected: u.boolean,
|
|
3802
3677
|
received: n.parsedType
|
|
3803
|
-
}),
|
|
3678
|
+
}), f;
|
|
3804
3679
|
}
|
|
3805
|
-
return
|
|
3680
|
+
return C(e.data);
|
|
3806
3681
|
}
|
|
3807
3682
|
}
|
|
3808
3683
|
J.create = (a) => new J({
|
|
3809
3684
|
typeName: h.ZodBoolean,
|
|
3810
3685
|
coerce: (a == null ? void 0 : a.coerce) || !1,
|
|
3811
|
-
...
|
|
3686
|
+
...g(a)
|
|
3812
3687
|
});
|
|
3813
|
-
class B extends
|
|
3688
|
+
class B extends _ {
|
|
3814
3689
|
_parse(e) {
|
|
3815
3690
|
if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== u.date) {
|
|
3816
3691
|
const r = this._getOrReturnCtx(e);
|
|
@@ -3818,15 +3693,15 @@ class B extends y {
|
|
|
3818
3693
|
code: c.invalid_type,
|
|
3819
3694
|
expected: u.date,
|
|
3820
3695
|
received: r.parsedType
|
|
3821
|
-
}),
|
|
3696
|
+
}), f;
|
|
3822
3697
|
}
|
|
3823
3698
|
if (isNaN(e.data.getTime())) {
|
|
3824
3699
|
const r = this._getOrReturnCtx(e);
|
|
3825
3700
|
return l(r, {
|
|
3826
3701
|
code: c.invalid_date
|
|
3827
|
-
}),
|
|
3702
|
+
}), f;
|
|
3828
3703
|
}
|
|
3829
|
-
const n = new
|
|
3704
|
+
const n = new T();
|
|
3830
3705
|
let i;
|
|
3831
3706
|
for (const r of this._def.checks)
|
|
3832
3707
|
r.kind === "min" ? e.data.getTime() < r.value && (i = this._getOrReturnCtx(e, i), l(i, {
|
|
@@ -3886,9 +3761,9 @@ B.create = (a) => new B({
|
|
|
3886
3761
|
checks: [],
|
|
3887
3762
|
coerce: (a == null ? void 0 : a.coerce) || !1,
|
|
3888
3763
|
typeName: h.ZodDate,
|
|
3889
|
-
...
|
|
3764
|
+
...g(a)
|
|
3890
3765
|
});
|
|
3891
|
-
class le extends
|
|
3766
|
+
class le extends _ {
|
|
3892
3767
|
_parse(e) {
|
|
3893
3768
|
if (this._getType(e) !== u.symbol) {
|
|
3894
3769
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3896,16 +3771,16 @@ class le extends y {
|
|
|
3896
3771
|
code: c.invalid_type,
|
|
3897
3772
|
expected: u.symbol,
|
|
3898
3773
|
received: n.parsedType
|
|
3899
|
-
}),
|
|
3774
|
+
}), f;
|
|
3900
3775
|
}
|
|
3901
|
-
return
|
|
3776
|
+
return C(e.data);
|
|
3902
3777
|
}
|
|
3903
3778
|
}
|
|
3904
3779
|
le.create = (a) => new le({
|
|
3905
3780
|
typeName: h.ZodSymbol,
|
|
3906
|
-
...
|
|
3781
|
+
...g(a)
|
|
3907
3782
|
});
|
|
3908
|
-
class X extends
|
|
3783
|
+
class X extends _ {
|
|
3909
3784
|
_parse(e) {
|
|
3910
3785
|
if (this._getType(e) !== u.undefined) {
|
|
3911
3786
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3913,16 +3788,16 @@ class X extends y {
|
|
|
3913
3788
|
code: c.invalid_type,
|
|
3914
3789
|
expected: u.undefined,
|
|
3915
3790
|
received: n.parsedType
|
|
3916
|
-
}),
|
|
3791
|
+
}), f;
|
|
3917
3792
|
}
|
|
3918
|
-
return
|
|
3793
|
+
return C(e.data);
|
|
3919
3794
|
}
|
|
3920
3795
|
}
|
|
3921
3796
|
X.create = (a) => new X({
|
|
3922
3797
|
typeName: h.ZodUndefined,
|
|
3923
|
-
...
|
|
3798
|
+
...g(a)
|
|
3924
3799
|
});
|
|
3925
|
-
class K extends
|
|
3800
|
+
class K extends _ {
|
|
3926
3801
|
_parse(e) {
|
|
3927
3802
|
if (this._getType(e) !== u.null) {
|
|
3928
3803
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3930,54 +3805,54 @@ class K extends y {
|
|
|
3930
3805
|
code: c.invalid_type,
|
|
3931
3806
|
expected: u.null,
|
|
3932
3807
|
received: n.parsedType
|
|
3933
|
-
}),
|
|
3808
|
+
}), f;
|
|
3934
3809
|
}
|
|
3935
|
-
return
|
|
3810
|
+
return C(e.data);
|
|
3936
3811
|
}
|
|
3937
3812
|
}
|
|
3938
3813
|
K.create = (a) => new K({
|
|
3939
3814
|
typeName: h.ZodNull,
|
|
3940
|
-
...
|
|
3815
|
+
...g(a)
|
|
3941
3816
|
});
|
|
3942
|
-
class Y extends
|
|
3817
|
+
class Y extends _ {
|
|
3943
3818
|
constructor() {
|
|
3944
3819
|
super(...arguments), this._any = !0;
|
|
3945
3820
|
}
|
|
3946
3821
|
_parse(e) {
|
|
3947
|
-
return
|
|
3822
|
+
return C(e.data);
|
|
3948
3823
|
}
|
|
3949
3824
|
}
|
|
3950
3825
|
Y.create = (a) => new Y({
|
|
3951
3826
|
typeName: h.ZodAny,
|
|
3952
|
-
...
|
|
3827
|
+
...g(a)
|
|
3953
3828
|
});
|
|
3954
|
-
class
|
|
3829
|
+
class $ extends _ {
|
|
3955
3830
|
constructor() {
|
|
3956
3831
|
super(...arguments), this._unknown = !0;
|
|
3957
3832
|
}
|
|
3958
3833
|
_parse(e) {
|
|
3959
|
-
return
|
|
3834
|
+
return C(e.data);
|
|
3960
3835
|
}
|
|
3961
3836
|
}
|
|
3962
|
-
|
|
3837
|
+
$.create = (a) => new $({
|
|
3963
3838
|
typeName: h.ZodUnknown,
|
|
3964
|
-
...
|
|
3839
|
+
...g(a)
|
|
3965
3840
|
});
|
|
3966
|
-
class L extends
|
|
3841
|
+
class L extends _ {
|
|
3967
3842
|
_parse(e) {
|
|
3968
3843
|
const t = this._getOrReturnCtx(e);
|
|
3969
3844
|
return l(t, {
|
|
3970
3845
|
code: c.invalid_type,
|
|
3971
3846
|
expected: u.never,
|
|
3972
3847
|
received: t.parsedType
|
|
3973
|
-
}),
|
|
3848
|
+
}), f;
|
|
3974
3849
|
}
|
|
3975
3850
|
}
|
|
3976
3851
|
L.create = (a) => new L({
|
|
3977
3852
|
typeName: h.ZodNever,
|
|
3978
|
-
...
|
|
3853
|
+
...g(a)
|
|
3979
3854
|
});
|
|
3980
|
-
class me extends
|
|
3855
|
+
class me extends _ {
|
|
3981
3856
|
_parse(e) {
|
|
3982
3857
|
if (this._getType(e) !== u.undefined) {
|
|
3983
3858
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3985,16 +3860,16 @@ class me extends y {
|
|
|
3985
3860
|
code: c.invalid_type,
|
|
3986
3861
|
expected: u.void,
|
|
3987
3862
|
received: n.parsedType
|
|
3988
|
-
}),
|
|
3863
|
+
}), f;
|
|
3989
3864
|
}
|
|
3990
|
-
return
|
|
3865
|
+
return C(e.data);
|
|
3991
3866
|
}
|
|
3992
3867
|
}
|
|
3993
3868
|
me.create = (a) => new me({
|
|
3994
3869
|
typeName: h.ZodVoid,
|
|
3995
|
-
...
|
|
3870
|
+
...g(a)
|
|
3996
3871
|
});
|
|
3997
|
-
class
|
|
3872
|
+
class O extends _ {
|
|
3998
3873
|
_parse(e) {
|
|
3999
3874
|
const { ctx: t, status: n } = this._processInputParams(e), i = this._def;
|
|
4000
3875
|
if (t.parsedType !== u.array)
|
|
@@ -4002,7 +3877,7 @@ class I extends y {
|
|
|
4002
3877
|
code: c.invalid_type,
|
|
4003
3878
|
expected: u.array,
|
|
4004
3879
|
received: t.parsedType
|
|
4005
|
-
}),
|
|
3880
|
+
}), f;
|
|
4006
3881
|
if (i.exactLength !== null) {
|
|
4007
3882
|
const s = t.data.length > i.exactLength.value, o = t.data.length < i.exactLength.value;
|
|
4008
3883
|
(s || o) && (l(t, {
|
|
@@ -4030,27 +3905,27 @@ class I extends y {
|
|
|
4030
3905
|
exact: !1,
|
|
4031
3906
|
message: i.maxLength.message
|
|
4032
3907
|
}), 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
|
|
3908
|
+
return Promise.all([...t.data].map((s, o) => i.type._parseAsync(new N(t, s, t.path, o)))).then((s) => T.mergeArray(n, s));
|
|
3909
|
+
const r = [...t.data].map((s, o) => i.type._parseSync(new N(t, s, t.path, o)));
|
|
3910
|
+
return T.mergeArray(n, r);
|
|
4036
3911
|
}
|
|
4037
3912
|
get element() {
|
|
4038
3913
|
return this._def.type;
|
|
4039
3914
|
}
|
|
4040
3915
|
min(e, t) {
|
|
4041
|
-
return new
|
|
3916
|
+
return new O({
|
|
4042
3917
|
...this._def,
|
|
4043
3918
|
minLength: { value: e, message: p.toString(t) }
|
|
4044
3919
|
});
|
|
4045
3920
|
}
|
|
4046
3921
|
max(e, t) {
|
|
4047
|
-
return new
|
|
3922
|
+
return new O({
|
|
4048
3923
|
...this._def,
|
|
4049
3924
|
maxLength: { value: e, message: p.toString(t) }
|
|
4050
3925
|
});
|
|
4051
3926
|
}
|
|
4052
3927
|
length(e, t) {
|
|
4053
|
-
return new
|
|
3928
|
+
return new O({
|
|
4054
3929
|
...this._def,
|
|
4055
3930
|
exactLength: { value: e, message: p.toString(t) }
|
|
4056
3931
|
});
|
|
@@ -4059,13 +3934,13 @@ class I extends y {
|
|
|
4059
3934
|
return this.min(1, e);
|
|
4060
3935
|
}
|
|
4061
3936
|
}
|
|
4062
|
-
|
|
3937
|
+
O.create = (a, e) => new O({
|
|
4063
3938
|
type: a,
|
|
4064
3939
|
minLength: null,
|
|
4065
3940
|
maxLength: null,
|
|
4066
3941
|
exactLength: null,
|
|
4067
3942
|
typeName: h.ZodArray,
|
|
4068
|
-
...
|
|
3943
|
+
...g(e)
|
|
4069
3944
|
});
|
|
4070
3945
|
function G(a) {
|
|
4071
3946
|
if (a instanceof x) {
|
|
@@ -4078,12 +3953,12 @@ function G(a) {
|
|
|
4078
3953
|
...a._def,
|
|
4079
3954
|
shape: () => e
|
|
4080
3955
|
});
|
|
4081
|
-
} else return a instanceof
|
|
3956
|
+
} else return a instanceof O ? new O({
|
|
4082
3957
|
...a._def,
|
|
4083
3958
|
type: G(a.element)
|
|
4084
|
-
}) : a instanceof P ? P.create(G(a.unwrap())) : a instanceof q ? q.create(G(a.unwrap())) : a instanceof
|
|
3959
|
+
}) : 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
3960
|
}
|
|
4086
|
-
class x extends
|
|
3961
|
+
class x extends _ {
|
|
4087
3962
|
constructor() {
|
|
4088
3963
|
super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
|
|
4089
3964
|
}
|
|
@@ -4100,7 +3975,7 @@ class x extends y {
|
|
|
4100
3975
|
code: c.invalid_type,
|
|
4101
3976
|
expected: u.object,
|
|
4102
3977
|
received: d.parsedType
|
|
4103
|
-
}),
|
|
3978
|
+
}), f;
|
|
4104
3979
|
}
|
|
4105
3980
|
const { status: n, ctx: i } = this._processInputParams(e), { shape: r, keys: s } = this._getCached(), o = [];
|
|
4106
3981
|
if (!(this._def.catchall instanceof L && this._def.unknownKeys === "strip"))
|
|
@@ -4108,10 +3983,10 @@ class x extends y {
|
|
|
4108
3983
|
s.includes(d) || o.push(d);
|
|
4109
3984
|
const m = [];
|
|
4110
3985
|
for (const d of s) {
|
|
4111
|
-
const v = r[d],
|
|
3986
|
+
const v = r[d], k = i.data[d];
|
|
4112
3987
|
m.push({
|
|
4113
3988
|
key: { status: "valid", value: d },
|
|
4114
|
-
value: v._parse(new
|
|
3989
|
+
value: v._parse(new N(i, k, i.path, d)),
|
|
4115
3990
|
alwaysSet: d in i.data
|
|
4116
3991
|
});
|
|
4117
3992
|
}
|
|
@@ -4132,11 +4007,11 @@ class x extends y {
|
|
|
4132
4007
|
} else {
|
|
4133
4008
|
const d = this._def.catchall;
|
|
4134
4009
|
for (const v of o) {
|
|
4135
|
-
const
|
|
4010
|
+
const k = i.data[v];
|
|
4136
4011
|
m.push({
|
|
4137
4012
|
key: { status: "valid", value: v },
|
|
4138
4013
|
value: d._parse(
|
|
4139
|
-
new
|
|
4014
|
+
new N(i, k, i.path, v)
|
|
4140
4015
|
//, ctx.child(key), value, getParsedType(value)
|
|
4141
4016
|
),
|
|
4142
4017
|
alwaysSet: v in i.data
|
|
@@ -4146,15 +4021,15 @@ class x extends y {
|
|
|
4146
4021
|
return i.common.async ? Promise.resolve().then(async () => {
|
|
4147
4022
|
const d = [];
|
|
4148
4023
|
for (const v of m) {
|
|
4149
|
-
const
|
|
4024
|
+
const k = await v.key;
|
|
4150
4025
|
d.push({
|
|
4151
|
-
key:
|
|
4026
|
+
key: k,
|
|
4152
4027
|
value: await v.value,
|
|
4153
4028
|
alwaysSet: v.alwaysSet
|
|
4154
4029
|
});
|
|
4155
4030
|
}
|
|
4156
4031
|
return d;
|
|
4157
|
-
}).then((d) =>
|
|
4032
|
+
}).then((d) => T.mergeObjectSync(n, d)) : T.mergeObjectSync(n, m);
|
|
4158
4033
|
}
|
|
4159
4034
|
get shape() {
|
|
4160
4035
|
return this._def.shape();
|
|
@@ -4354,23 +4229,23 @@ x.create = (a, e) => new x({
|
|
|
4354
4229
|
unknownKeys: "strip",
|
|
4355
4230
|
catchall: L.create(),
|
|
4356
4231
|
typeName: h.ZodObject,
|
|
4357
|
-
...
|
|
4232
|
+
...g(e)
|
|
4358
4233
|
});
|
|
4359
4234
|
x.strictCreate = (a, e) => new x({
|
|
4360
4235
|
shape: () => a,
|
|
4361
4236
|
unknownKeys: "strict",
|
|
4362
4237
|
catchall: L.create(),
|
|
4363
4238
|
typeName: h.ZodObject,
|
|
4364
|
-
...
|
|
4239
|
+
...g(e)
|
|
4365
4240
|
});
|
|
4366
4241
|
x.lazycreate = (a, e) => new x({
|
|
4367
4242
|
shape: a,
|
|
4368
4243
|
unknownKeys: "strip",
|
|
4369
4244
|
catchall: L.create(),
|
|
4370
4245
|
typeName: h.ZodObject,
|
|
4371
|
-
...
|
|
4246
|
+
...g(e)
|
|
4372
4247
|
});
|
|
4373
|
-
class Q extends
|
|
4248
|
+
class Q extends _ {
|
|
4374
4249
|
_parse(e) {
|
|
4375
4250
|
const { ctx: t } = this._processInputParams(e), n = this._def.options;
|
|
4376
4251
|
function i(r) {
|
|
@@ -4384,7 +4259,7 @@ class Q extends y {
|
|
|
4384
4259
|
return l(t, {
|
|
4385
4260
|
code: c.invalid_union,
|
|
4386
4261
|
unionErrors: s
|
|
4387
|
-
}),
|
|
4262
|
+
}), f;
|
|
4388
4263
|
}
|
|
4389
4264
|
if (t.common.async)
|
|
4390
4265
|
return Promise.all(n.map(async (r) => {
|
|
@@ -4431,7 +4306,7 @@ class Q extends y {
|
|
|
4431
4306
|
return l(t, {
|
|
4432
4307
|
code: c.invalid_union,
|
|
4433
4308
|
unionErrors: o
|
|
4434
|
-
}),
|
|
4309
|
+
}), f;
|
|
4435
4310
|
}
|
|
4436
4311
|
}
|
|
4437
4312
|
get options() {
|
|
@@ -4441,10 +4316,10 @@ class Q extends y {
|
|
|
4441
4316
|
Q.create = (a, e) => new Q({
|
|
4442
4317
|
options: a,
|
|
4443
4318
|
typeName: h.ZodUnion,
|
|
4444
|
-
...
|
|
4319
|
+
...g(e)
|
|
4445
4320
|
});
|
|
4446
|
-
const oe = (a) => a instanceof ae ? oe(a.schema) : a instanceof
|
|
4447
|
-
class
|
|
4321
|
+
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;
|
|
4322
|
+
class _e extends _ {
|
|
4448
4323
|
_parse(e) {
|
|
4449
4324
|
const { ctx: t } = this._processInputParams(e);
|
|
4450
4325
|
if (t.parsedType !== u.object)
|
|
@@ -4452,7 +4327,7 @@ class ye extends y {
|
|
|
4452
4327
|
code: c.invalid_type,
|
|
4453
4328
|
expected: u.object,
|
|
4454
4329
|
received: t.parsedType
|
|
4455
|
-
}),
|
|
4330
|
+
}), f;
|
|
4456
4331
|
const n = this.discriminator, i = t.data[n], r = this.optionsMap.get(i);
|
|
4457
4332
|
return r ? t.common.async ? r._parseAsync({
|
|
4458
4333
|
data: t.data,
|
|
@@ -4466,7 +4341,7 @@ class ye extends y {
|
|
|
4466
4341
|
code: c.invalid_union_discriminator,
|
|
4467
4342
|
options: Array.from(this.optionsMap.keys()),
|
|
4468
4343
|
path: [n]
|
|
4469
|
-
}),
|
|
4344
|
+
}), f);
|
|
4470
4345
|
}
|
|
4471
4346
|
get discriminator() {
|
|
4472
4347
|
return this._def.discriminator;
|
|
@@ -4497,23 +4372,23 @@ class ye extends y {
|
|
|
4497
4372
|
i.set(o, r);
|
|
4498
4373
|
}
|
|
4499
4374
|
}
|
|
4500
|
-
return new
|
|
4375
|
+
return new _e({
|
|
4501
4376
|
typeName: h.ZodDiscriminatedUnion,
|
|
4502
4377
|
discriminator: e,
|
|
4503
4378
|
options: t,
|
|
4504
4379
|
optionsMap: i,
|
|
4505
|
-
...
|
|
4380
|
+
...g(n)
|
|
4506
4381
|
});
|
|
4507
4382
|
}
|
|
4508
4383
|
}
|
|
4509
|
-
function
|
|
4510
|
-
const t =
|
|
4384
|
+
function Te(a, e) {
|
|
4385
|
+
const t = j(a), n = j(e);
|
|
4511
4386
|
if (a === e)
|
|
4512
4387
|
return { valid: !0, data: a };
|
|
4513
4388
|
if (t === u.object && n === u.object) {
|
|
4514
4389
|
const i = b.objectKeys(e), r = b.objectKeys(a).filter((o) => i.indexOf(o) !== -1), s = { ...a, ...e };
|
|
4515
4390
|
for (const o of r) {
|
|
4516
|
-
const m =
|
|
4391
|
+
const m = Te(a[o], e[o]);
|
|
4517
4392
|
if (!m.valid)
|
|
4518
4393
|
return { valid: !1 };
|
|
4519
4394
|
s[o] = m.data;
|
|
@@ -4524,7 +4399,7 @@ function Ce(a, e) {
|
|
|
4524
4399
|
return { valid: !1 };
|
|
4525
4400
|
const i = [];
|
|
4526
4401
|
for (let r = 0; r < a.length; r++) {
|
|
4527
|
-
const s = a[r], o = e[r], m =
|
|
4402
|
+
const s = a[r], o = e[r], m = Te(s, o);
|
|
4528
4403
|
if (!m.valid)
|
|
4529
4404
|
return { valid: !1 };
|
|
4530
4405
|
i.push(m.data);
|
|
@@ -4532,15 +4407,15 @@ function Ce(a, e) {
|
|
|
4532
4407
|
return { valid: !0, data: i };
|
|
4533
4408
|
} else return t === u.date && n === u.date && +a == +e ? { valid: !0, data: a } : { valid: !1 };
|
|
4534
4409
|
}
|
|
4535
|
-
class ee extends
|
|
4410
|
+
class ee extends _ {
|
|
4536
4411
|
_parse(e) {
|
|
4537
4412
|
const { status: t, ctx: n } = this._processInputParams(e), i = (r, s) => {
|
|
4538
4413
|
if (xe(r) || xe(s))
|
|
4539
|
-
return
|
|
4540
|
-
const o =
|
|
4414
|
+
return f;
|
|
4415
|
+
const o = Te(r.value, s.value);
|
|
4541
4416
|
return o.valid ? ((we(r) || we(s)) && t.dirty(), { status: t.value, value: o.data }) : (l(n, {
|
|
4542
4417
|
code: c.invalid_intersection_types
|
|
4543
|
-
}),
|
|
4418
|
+
}), f);
|
|
4544
4419
|
};
|
|
4545
4420
|
return n.common.async ? Promise.all([
|
|
4546
4421
|
this._def.left._parseAsync({
|
|
@@ -4568,9 +4443,9 @@ ee.create = (a, e, t) => new ee({
|
|
|
4568
4443
|
left: a,
|
|
4569
4444
|
right: e,
|
|
4570
4445
|
typeName: h.ZodIntersection,
|
|
4571
|
-
...
|
|
4446
|
+
...g(t)
|
|
4572
4447
|
});
|
|
4573
|
-
class
|
|
4448
|
+
class M extends _ {
|
|
4574
4449
|
_parse(e) {
|
|
4575
4450
|
const { status: t, ctx: n } = this._processInputParams(e);
|
|
4576
4451
|
if (n.parsedType !== u.array)
|
|
@@ -4578,7 +4453,7 @@ class O extends y {
|
|
|
4578
4453
|
code: c.invalid_type,
|
|
4579
4454
|
expected: u.array,
|
|
4580
4455
|
received: n.parsedType
|
|
4581
|
-
}),
|
|
4456
|
+
}), f;
|
|
4582
4457
|
if (n.data.length < this._def.items.length)
|
|
4583
4458
|
return l(n, {
|
|
4584
4459
|
code: c.too_small,
|
|
@@ -4586,7 +4461,7 @@ class O extends y {
|
|
|
4586
4461
|
inclusive: !0,
|
|
4587
4462
|
exact: !1,
|
|
4588
4463
|
type: "array"
|
|
4589
|
-
}),
|
|
4464
|
+
}), f;
|
|
4590
4465
|
!this._def.rest && n.data.length > this._def.items.length && (l(n, {
|
|
4591
4466
|
code: c.too_big,
|
|
4592
4467
|
maximum: this._def.items.length,
|
|
@@ -4596,31 +4471,31 @@ class O extends y {
|
|
|
4596
4471
|
}), t.dirty());
|
|
4597
4472
|
const r = [...n.data].map((s, o) => {
|
|
4598
4473
|
const m = this._def.items[o] || this._def.rest;
|
|
4599
|
-
return m ? m._parse(new
|
|
4474
|
+
return m ? m._parse(new N(n, s, n.path, o)) : null;
|
|
4600
4475
|
}).filter((s) => !!s);
|
|
4601
|
-
return n.common.async ? Promise.all(r).then((s) =>
|
|
4476
|
+
return n.common.async ? Promise.all(r).then((s) => T.mergeArray(t, s)) : T.mergeArray(t, r);
|
|
4602
4477
|
}
|
|
4603
4478
|
get items() {
|
|
4604
4479
|
return this._def.items;
|
|
4605
4480
|
}
|
|
4606
4481
|
rest(e) {
|
|
4607
|
-
return new
|
|
4482
|
+
return new M({
|
|
4608
4483
|
...this._def,
|
|
4609
4484
|
rest: e
|
|
4610
4485
|
});
|
|
4611
4486
|
}
|
|
4612
4487
|
}
|
|
4613
|
-
|
|
4488
|
+
M.create = (a, e) => {
|
|
4614
4489
|
if (!Array.isArray(a))
|
|
4615
4490
|
throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
|
|
4616
|
-
return new
|
|
4491
|
+
return new M({
|
|
4617
4492
|
items: a,
|
|
4618
4493
|
typeName: h.ZodTuple,
|
|
4619
4494
|
rest: null,
|
|
4620
|
-
...
|
|
4495
|
+
...g(e)
|
|
4621
4496
|
});
|
|
4622
4497
|
};
|
|
4623
|
-
class te extends
|
|
4498
|
+
class te extends _ {
|
|
4624
4499
|
get keySchema() {
|
|
4625
4500
|
return this._def.keyType;
|
|
4626
4501
|
}
|
|
@@ -4634,33 +4509,33 @@ class te extends y {
|
|
|
4634
4509
|
code: c.invalid_type,
|
|
4635
4510
|
expected: u.object,
|
|
4636
4511
|
received: n.parsedType
|
|
4637
|
-
}),
|
|
4512
|
+
}), f;
|
|
4638
4513
|
const i = [], r = this._def.keyType, s = this._def.valueType;
|
|
4639
4514
|
for (const o in n.data)
|
|
4640
4515
|
i.push({
|
|
4641
|
-
key: r._parse(new
|
|
4642
|
-
value: s._parse(new
|
|
4516
|
+
key: r._parse(new N(n, o, n.path, o)),
|
|
4517
|
+
value: s._parse(new N(n, n.data[o], n.path, o))
|
|
4643
4518
|
});
|
|
4644
|
-
return n.common.async ?
|
|
4519
|
+
return n.common.async ? T.mergeObjectAsync(t, i) : T.mergeObjectSync(t, i);
|
|
4645
4520
|
}
|
|
4646
4521
|
get element() {
|
|
4647
4522
|
return this._def.valueType;
|
|
4648
4523
|
}
|
|
4649
4524
|
static create(e, t, n) {
|
|
4650
|
-
return t instanceof
|
|
4525
|
+
return t instanceof _ ? new te({
|
|
4651
4526
|
keyType: e,
|
|
4652
4527
|
valueType: t,
|
|
4653
4528
|
typeName: h.ZodRecord,
|
|
4654
|
-
...
|
|
4529
|
+
...g(n)
|
|
4655
4530
|
}) : new te({
|
|
4656
4531
|
keyType: R.create(),
|
|
4657
4532
|
valueType: e,
|
|
4658
4533
|
typeName: h.ZodRecord,
|
|
4659
|
-
...
|
|
4534
|
+
...g(t)
|
|
4660
4535
|
});
|
|
4661
4536
|
}
|
|
4662
4537
|
}
|
|
4663
|
-
class pe extends
|
|
4538
|
+
class pe extends _ {
|
|
4664
4539
|
get keySchema() {
|
|
4665
4540
|
return this._def.keyType;
|
|
4666
4541
|
}
|
|
@@ -4674,10 +4549,10 @@ class pe extends y {
|
|
|
4674
4549
|
code: c.invalid_type,
|
|
4675
4550
|
expected: u.map,
|
|
4676
4551
|
received: n.parsedType
|
|
4677
|
-
}),
|
|
4552
|
+
}), f;
|
|
4678
4553
|
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
|
|
4554
|
+
key: i._parse(new N(n, o, n.path, [d, "key"])),
|
|
4555
|
+
value: r._parse(new N(n, m, n.path, [d, "value"]))
|
|
4681
4556
|
}));
|
|
4682
4557
|
if (n.common.async) {
|
|
4683
4558
|
const o = /* @__PURE__ */ new Map();
|
|
@@ -4685,7 +4560,7 @@ class pe extends y {
|
|
|
4685
4560
|
for (const m of s) {
|
|
4686
4561
|
const d = await m.key, v = await m.value;
|
|
4687
4562
|
if (d.status === "aborted" || v.status === "aborted")
|
|
4688
|
-
return
|
|
4563
|
+
return f;
|
|
4689
4564
|
(d.status === "dirty" || v.status === "dirty") && t.dirty(), o.set(d.value, v.value);
|
|
4690
4565
|
}
|
|
4691
4566
|
return { status: t.value, value: o };
|
|
@@ -4695,7 +4570,7 @@ class pe extends y {
|
|
|
4695
4570
|
for (const m of s) {
|
|
4696
4571
|
const d = m.key, v = m.value;
|
|
4697
4572
|
if (d.status === "aborted" || v.status === "aborted")
|
|
4698
|
-
return
|
|
4573
|
+
return f;
|
|
4699
4574
|
(d.status === "dirty" || v.status === "dirty") && t.dirty(), o.set(d.value, v.value);
|
|
4700
4575
|
}
|
|
4701
4576
|
return { status: t.value, value: o };
|
|
@@ -4706,9 +4581,9 @@ pe.create = (a, e, t) => new pe({
|
|
|
4706
4581
|
valueType: e,
|
|
4707
4582
|
keyType: a,
|
|
4708
4583
|
typeName: h.ZodMap,
|
|
4709
|
-
...
|
|
4584
|
+
...g(t)
|
|
4710
4585
|
});
|
|
4711
|
-
class
|
|
4586
|
+
class U extends _ {
|
|
4712
4587
|
_parse(e) {
|
|
4713
4588
|
const { status: t, ctx: n } = this._processInputParams(e);
|
|
4714
4589
|
if (n.parsedType !== u.set)
|
|
@@ -4716,7 +4591,7 @@ class $ extends y {
|
|
|
4716
4591
|
code: c.invalid_type,
|
|
4717
4592
|
expected: u.set,
|
|
4718
4593
|
received: n.parsedType
|
|
4719
|
-
}),
|
|
4594
|
+
}), f;
|
|
4720
4595
|
const i = this._def;
|
|
4721
4596
|
i.minSize !== null && n.data.size < i.minSize.value && (l(n, {
|
|
4722
4597
|
code: c.too_small,
|
|
@@ -4738,22 +4613,22 @@ class $ extends y {
|
|
|
4738
4613
|
const d = /* @__PURE__ */ new Set();
|
|
4739
4614
|
for (const v of m) {
|
|
4740
4615
|
if (v.status === "aborted")
|
|
4741
|
-
return
|
|
4616
|
+
return f;
|
|
4742
4617
|
v.status === "dirty" && t.dirty(), d.add(v.value);
|
|
4743
4618
|
}
|
|
4744
4619
|
return { status: t.value, value: d };
|
|
4745
4620
|
}
|
|
4746
|
-
const o = [...n.data.values()].map((m, d) => r._parse(new
|
|
4621
|
+
const o = [...n.data.values()].map((m, d) => r._parse(new N(n, m, n.path, d)));
|
|
4747
4622
|
return n.common.async ? Promise.all(o).then((m) => s(m)) : s(o);
|
|
4748
4623
|
}
|
|
4749
4624
|
min(e, t) {
|
|
4750
|
-
return new
|
|
4625
|
+
return new U({
|
|
4751
4626
|
...this._def,
|
|
4752
4627
|
minSize: { value: e, message: p.toString(t) }
|
|
4753
4628
|
});
|
|
4754
4629
|
}
|
|
4755
4630
|
max(e, t) {
|
|
4756
|
-
return new
|
|
4631
|
+
return new U({
|
|
4757
4632
|
...this._def,
|
|
4758
4633
|
maxSize: { value: e, message: p.toString(t) }
|
|
4759
4634
|
});
|
|
@@ -4765,14 +4640,14 @@ class $ extends y {
|
|
|
4765
4640
|
return this.min(1, e);
|
|
4766
4641
|
}
|
|
4767
4642
|
}
|
|
4768
|
-
|
|
4643
|
+
U.create = (a, e) => new U({
|
|
4769
4644
|
valueType: a,
|
|
4770
4645
|
minSize: null,
|
|
4771
4646
|
maxSize: null,
|
|
4772
4647
|
typeName: h.ZodSet,
|
|
4773
|
-
...
|
|
4648
|
+
...g(e)
|
|
4774
4649
|
});
|
|
4775
|
-
class z extends
|
|
4650
|
+
class z extends _ {
|
|
4776
4651
|
constructor() {
|
|
4777
4652
|
super(...arguments), this.validate = this.implement;
|
|
4778
4653
|
}
|
|
@@ -4783,7 +4658,7 @@ class z extends y {
|
|
|
4783
4658
|
code: c.invalid_type,
|
|
4784
4659
|
expected: u.function,
|
|
4785
4660
|
received: t.parsedType
|
|
4786
|
-
}),
|
|
4661
|
+
}), f;
|
|
4787
4662
|
function n(o, m) {
|
|
4788
4663
|
return de({
|
|
4789
4664
|
data: o,
|
|
@@ -4819,24 +4694,24 @@ class z extends y {
|
|
|
4819
4694
|
const r = { errorMap: t.common.contextualErrorMap }, s = t.data;
|
|
4820
4695
|
if (this._def.returns instanceof W) {
|
|
4821
4696
|
const o = this;
|
|
4822
|
-
return
|
|
4697
|
+
return C(async function(...m) {
|
|
4823
4698
|
const d = new E([]), v = await o._def.args.parseAsync(m, r).catch((ve) => {
|
|
4824
4699
|
throw d.addIssue(n(m, ve)), d;
|
|
4825
|
-
}),
|
|
4826
|
-
return await o._def.returns._def.type.parseAsync(
|
|
4827
|
-
throw d.addIssue(i(
|
|
4700
|
+
}), k = await Reflect.apply(s, this, v);
|
|
4701
|
+
return await o._def.returns._def.type.parseAsync(k, r).catch((ve) => {
|
|
4702
|
+
throw d.addIssue(i(k, ve)), d;
|
|
4828
4703
|
});
|
|
4829
4704
|
});
|
|
4830
4705
|
} else {
|
|
4831
4706
|
const o = this;
|
|
4832
|
-
return
|
|
4707
|
+
return C(function(...m) {
|
|
4833
4708
|
const d = o._def.args.safeParse(m, r);
|
|
4834
4709
|
if (!d.success)
|
|
4835
4710
|
throw new E([n(m, d.error)]);
|
|
4836
|
-
const v = Reflect.apply(s, this, d.data),
|
|
4837
|
-
if (!
|
|
4838
|
-
throw new E([i(v,
|
|
4839
|
-
return
|
|
4711
|
+
const v = Reflect.apply(s, this, d.data), k = o._def.returns.safeParse(v, r);
|
|
4712
|
+
if (!k.success)
|
|
4713
|
+
throw new E([i(v, k.error)]);
|
|
4714
|
+
return k.data;
|
|
4840
4715
|
});
|
|
4841
4716
|
}
|
|
4842
4717
|
}
|
|
@@ -4849,7 +4724,7 @@ class z extends y {
|
|
|
4849
4724
|
args(...e) {
|
|
4850
4725
|
return new z({
|
|
4851
4726
|
...this._def,
|
|
4852
|
-
args:
|
|
4727
|
+
args: M.create(e).rest($.create())
|
|
4853
4728
|
});
|
|
4854
4729
|
}
|
|
4855
4730
|
returns(e) {
|
|
@@ -4866,14 +4741,14 @@ class z extends y {
|
|
|
4866
4741
|
}
|
|
4867
4742
|
static create(e, t, n) {
|
|
4868
4743
|
return new z({
|
|
4869
|
-
args: e ||
|
|
4870
|
-
returns: t ||
|
|
4744
|
+
args: e || M.create([]).rest($.create()),
|
|
4745
|
+
returns: t || $.create(),
|
|
4871
4746
|
typeName: h.ZodFunction,
|
|
4872
|
-
...
|
|
4747
|
+
...g(n)
|
|
4873
4748
|
});
|
|
4874
4749
|
}
|
|
4875
4750
|
}
|
|
4876
|
-
class ae extends
|
|
4751
|
+
class ae extends _ {
|
|
4877
4752
|
get schema() {
|
|
4878
4753
|
return this._def.getter();
|
|
4879
4754
|
}
|
|
@@ -4885,9 +4760,9 @@ class ae extends y {
|
|
|
4885
4760
|
ae.create = (a, e) => new ae({
|
|
4886
4761
|
getter: a,
|
|
4887
4762
|
typeName: h.ZodLazy,
|
|
4888
|
-
...
|
|
4763
|
+
...g(e)
|
|
4889
4764
|
});
|
|
4890
|
-
class ne extends
|
|
4765
|
+
class ne extends _ {
|
|
4891
4766
|
_parse(e) {
|
|
4892
4767
|
if (e.data !== this._def.value) {
|
|
4893
4768
|
const t = this._getOrReturnCtx(e);
|
|
@@ -4895,7 +4770,7 @@ class ne extends y {
|
|
|
4895
4770
|
received: t.data,
|
|
4896
4771
|
code: c.invalid_literal,
|
|
4897
4772
|
expected: this._def.value
|
|
4898
|
-
}),
|
|
4773
|
+
}), f;
|
|
4899
4774
|
}
|
|
4900
4775
|
return { status: "valid", value: e.data };
|
|
4901
4776
|
}
|
|
@@ -4906,16 +4781,16 @@ class ne extends y {
|
|
|
4906
4781
|
ne.create = (a, e) => new ne({
|
|
4907
4782
|
value: a,
|
|
4908
4783
|
typeName: h.ZodLiteral,
|
|
4909
|
-
...
|
|
4784
|
+
...g(e)
|
|
4910
4785
|
});
|
|
4911
4786
|
function Re(a, e) {
|
|
4912
|
-
return new
|
|
4787
|
+
return new V({
|
|
4913
4788
|
values: a,
|
|
4914
4789
|
typeName: h.ZodEnum,
|
|
4915
|
-
...
|
|
4790
|
+
...g(e)
|
|
4916
4791
|
});
|
|
4917
4792
|
}
|
|
4918
|
-
class
|
|
4793
|
+
class V extends _ {
|
|
4919
4794
|
_parse(e) {
|
|
4920
4795
|
if (typeof e.data != "string") {
|
|
4921
4796
|
const t = this._getOrReturnCtx(e), n = this._def.values;
|
|
@@ -4923,7 +4798,7 @@ class Z extends y {
|
|
|
4923
4798
|
expected: b.joinValues(n),
|
|
4924
4799
|
received: t.parsedType,
|
|
4925
4800
|
code: c.invalid_type
|
|
4926
|
-
}),
|
|
4801
|
+
}), f;
|
|
4927
4802
|
}
|
|
4928
4803
|
if (this._def.values.indexOf(e.data) === -1) {
|
|
4929
4804
|
const t = this._getOrReturnCtx(e), n = this._def.values;
|
|
@@ -4931,9 +4806,9 @@ class Z extends y {
|
|
|
4931
4806
|
received: t.data,
|
|
4932
4807
|
code: c.invalid_enum_value,
|
|
4933
4808
|
options: n
|
|
4934
|
-
}),
|
|
4809
|
+
}), f;
|
|
4935
4810
|
}
|
|
4936
|
-
return
|
|
4811
|
+
return C(e.data);
|
|
4937
4812
|
}
|
|
4938
4813
|
get options() {
|
|
4939
4814
|
return this._def.values;
|
|
@@ -4957,14 +4832,14 @@ class Z extends y {
|
|
|
4957
4832
|
return e;
|
|
4958
4833
|
}
|
|
4959
4834
|
extract(e) {
|
|
4960
|
-
return
|
|
4835
|
+
return V.create(e);
|
|
4961
4836
|
}
|
|
4962
4837
|
exclude(e) {
|
|
4963
|
-
return
|
|
4838
|
+
return V.create(this.options.filter((t) => !e.includes(t)));
|
|
4964
4839
|
}
|
|
4965
4840
|
}
|
|
4966
|
-
|
|
4967
|
-
class ie extends
|
|
4841
|
+
V.create = Re;
|
|
4842
|
+
class ie extends _ {
|
|
4968
4843
|
_parse(e) {
|
|
4969
4844
|
const t = b.getValidEnumValues(this._def.values), n = this._getOrReturnCtx(e);
|
|
4970
4845
|
if (n.parsedType !== u.string && n.parsedType !== u.number) {
|
|
@@ -4973,7 +4848,7 @@ class ie extends y {
|
|
|
4973
4848
|
expected: b.joinValues(i),
|
|
4974
4849
|
received: n.parsedType,
|
|
4975
4850
|
code: c.invalid_type
|
|
4976
|
-
}),
|
|
4851
|
+
}), f;
|
|
4977
4852
|
}
|
|
4978
4853
|
if (t.indexOf(e.data) === -1) {
|
|
4979
4854
|
const i = b.objectValues(t);
|
|
@@ -4981,9 +4856,9 @@ class ie extends y {
|
|
|
4981
4856
|
received: n.data,
|
|
4982
4857
|
code: c.invalid_enum_value,
|
|
4983
4858
|
options: i
|
|
4984
|
-
}),
|
|
4859
|
+
}), f;
|
|
4985
4860
|
}
|
|
4986
|
-
return
|
|
4861
|
+
return C(e.data);
|
|
4987
4862
|
}
|
|
4988
4863
|
get enum() {
|
|
4989
4864
|
return this._def.values;
|
|
@@ -4992,9 +4867,9 @@ class ie extends y {
|
|
|
4992
4867
|
ie.create = (a, e) => new ie({
|
|
4993
4868
|
values: a,
|
|
4994
4869
|
typeName: h.ZodNativeEnum,
|
|
4995
|
-
...
|
|
4870
|
+
...g(e)
|
|
4996
4871
|
});
|
|
4997
|
-
class W extends
|
|
4872
|
+
class W extends _ {
|
|
4998
4873
|
unwrap() {
|
|
4999
4874
|
return this._def.type;
|
|
5000
4875
|
}
|
|
@@ -5005,9 +4880,9 @@ class W extends y {
|
|
|
5005
4880
|
code: c.invalid_type,
|
|
5006
4881
|
expected: u.promise,
|
|
5007
4882
|
received: t.parsedType
|
|
5008
|
-
}),
|
|
4883
|
+
}), f;
|
|
5009
4884
|
const n = t.parsedType === u.promise ? t.data : Promise.resolve(t.data);
|
|
5010
|
-
return
|
|
4885
|
+
return C(n.then((i) => this._def.type.parseAsync(i, {
|
|
5011
4886
|
path: t.path,
|
|
5012
4887
|
errorMap: t.common.contextualErrorMap
|
|
5013
4888
|
})));
|
|
@@ -5016,9 +4891,9 @@ class W extends y {
|
|
|
5016
4891
|
W.create = (a, e) => new W({
|
|
5017
4892
|
type: a,
|
|
5018
4893
|
typeName: h.ZodPromise,
|
|
5019
|
-
...
|
|
4894
|
+
...g(e)
|
|
5020
4895
|
});
|
|
5021
|
-
class
|
|
4896
|
+
class I extends _ {
|
|
5022
4897
|
innerType() {
|
|
5023
4898
|
return this._def.schema;
|
|
5024
4899
|
}
|
|
@@ -5064,9 +4939,9 @@ class N extends y {
|
|
|
5064
4939
|
path: n.path,
|
|
5065
4940
|
parent: n
|
|
5066
4941
|
});
|
|
5067
|
-
return o.status === "aborted" ?
|
|
4942
|
+
return o.status === "aborted" ? f : (o.status === "dirty" && t.dirty(), s(o.value), { status: t.value, value: o.value });
|
|
5068
4943
|
} else
|
|
5069
|
-
return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((o) => o.status === "aborted" ?
|
|
4944
|
+
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
4945
|
}
|
|
5071
4946
|
if (i.type === "transform")
|
|
5072
4947
|
if (n.common.async === !1) {
|
|
@@ -5086,21 +4961,21 @@ class N extends y {
|
|
|
5086
4961
|
b.assertNever(i);
|
|
5087
4962
|
}
|
|
5088
4963
|
}
|
|
5089
|
-
|
|
4964
|
+
I.create = (a, e, t) => new I({
|
|
5090
4965
|
schema: a,
|
|
5091
4966
|
typeName: h.ZodEffects,
|
|
5092
4967
|
effect: e,
|
|
5093
|
-
...
|
|
4968
|
+
...g(t)
|
|
5094
4969
|
});
|
|
5095
|
-
|
|
4970
|
+
I.createWithPreprocess = (a, e, t) => new I({
|
|
5096
4971
|
schema: e,
|
|
5097
4972
|
effect: { type: "preprocess", transform: a },
|
|
5098
4973
|
typeName: h.ZodEffects,
|
|
5099
|
-
...
|
|
4974
|
+
...g(t)
|
|
5100
4975
|
});
|
|
5101
|
-
class P extends
|
|
4976
|
+
class P extends _ {
|
|
5102
4977
|
_parse(e) {
|
|
5103
|
-
return this._getType(e) === u.undefined ?
|
|
4978
|
+
return this._getType(e) === u.undefined ? C(void 0) : this._def.innerType._parse(e);
|
|
5104
4979
|
}
|
|
5105
4980
|
unwrap() {
|
|
5106
4981
|
return this._def.innerType;
|
|
@@ -5109,11 +4984,11 @@ class P extends y {
|
|
|
5109
4984
|
P.create = (a, e) => new P({
|
|
5110
4985
|
innerType: a,
|
|
5111
4986
|
typeName: h.ZodOptional,
|
|
5112
|
-
...
|
|
4987
|
+
...g(e)
|
|
5113
4988
|
});
|
|
5114
|
-
class q extends
|
|
4989
|
+
class q extends _ {
|
|
5115
4990
|
_parse(e) {
|
|
5116
|
-
return this._getType(e) === u.null ?
|
|
4991
|
+
return this._getType(e) === u.null ? C(null) : this._def.innerType._parse(e);
|
|
5117
4992
|
}
|
|
5118
4993
|
unwrap() {
|
|
5119
4994
|
return this._def.innerType;
|
|
@@ -5122,9 +4997,9 @@ class q extends y {
|
|
|
5122
4997
|
q.create = (a, e) => new q({
|
|
5123
4998
|
innerType: a,
|
|
5124
4999
|
typeName: h.ZodNullable,
|
|
5125
|
-
...
|
|
5000
|
+
...g(e)
|
|
5126
5001
|
});
|
|
5127
|
-
class re extends
|
|
5002
|
+
class re extends _ {
|
|
5128
5003
|
_parse(e) {
|
|
5129
5004
|
const { ctx: t } = this._processInputParams(e);
|
|
5130
5005
|
let n = t.data;
|
|
@@ -5142,9 +5017,9 @@ re.create = (a, e) => new re({
|
|
|
5142
5017
|
innerType: a,
|
|
5143
5018
|
typeName: h.ZodDefault,
|
|
5144
5019
|
defaultValue: typeof e.default == "function" ? e.default : () => e.default,
|
|
5145
|
-
...
|
|
5020
|
+
...g(e)
|
|
5146
5021
|
});
|
|
5147
|
-
class he extends
|
|
5022
|
+
class he extends _ {
|
|
5148
5023
|
_parse(e) {
|
|
5149
5024
|
const { ctx: t } = this._processInputParams(e), n = {
|
|
5150
5025
|
...t,
|
|
@@ -5185,9 +5060,9 @@ he.create = (a, e) => new he({
|
|
|
5185
5060
|
innerType: a,
|
|
5186
5061
|
typeName: h.ZodCatch,
|
|
5187
5062
|
catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
|
|
5188
|
-
...
|
|
5063
|
+
...g(e)
|
|
5189
5064
|
});
|
|
5190
|
-
class
|
|
5065
|
+
class fe extends _ {
|
|
5191
5066
|
_parse(e) {
|
|
5192
5067
|
if (this._getType(e) !== u.nan) {
|
|
5193
5068
|
const n = this._getOrReturnCtx(e);
|
|
@@ -5195,17 +5070,17 @@ class ge extends y {
|
|
|
5195
5070
|
code: c.invalid_type,
|
|
5196
5071
|
expected: u.nan,
|
|
5197
5072
|
received: n.parsedType
|
|
5198
|
-
}),
|
|
5073
|
+
}), f;
|
|
5199
5074
|
}
|
|
5200
5075
|
return { status: "valid", value: e.data };
|
|
5201
5076
|
}
|
|
5202
5077
|
}
|
|
5203
|
-
|
|
5078
|
+
fe.create = (a) => new fe({
|
|
5204
5079
|
typeName: h.ZodNaN,
|
|
5205
|
-
...
|
|
5080
|
+
...g(a)
|
|
5206
5081
|
});
|
|
5207
|
-
const
|
|
5208
|
-
class Ee extends
|
|
5082
|
+
const it = Symbol("zod_brand");
|
|
5083
|
+
class Ee extends _ {
|
|
5209
5084
|
_parse(e) {
|
|
5210
5085
|
const { ctx: t } = this._processInputParams(e), n = t.data;
|
|
5211
5086
|
return this._def.type._parse({
|
|
@@ -5218,7 +5093,7 @@ class Ee extends y {
|
|
|
5218
5093
|
return this._def.type;
|
|
5219
5094
|
}
|
|
5220
5095
|
}
|
|
5221
|
-
class se extends
|
|
5096
|
+
class se extends _ {
|
|
5222
5097
|
_parse(e) {
|
|
5223
5098
|
const { status: t, ctx: n } = this._processInputParams(e);
|
|
5224
5099
|
if (n.common.async)
|
|
@@ -5228,7 +5103,7 @@ class se extends y {
|
|
|
5228
5103
|
path: n.path,
|
|
5229
5104
|
parent: n
|
|
5230
5105
|
});
|
|
5231
|
-
return r.status === "aborted" ?
|
|
5106
|
+
return r.status === "aborted" ? f : r.status === "dirty" ? (t.dirty(), Ae(r.value)) : this._def.out._parseAsync({
|
|
5232
5107
|
data: r.value,
|
|
5233
5108
|
path: n.path,
|
|
5234
5109
|
parent: n
|
|
@@ -5240,7 +5115,7 @@ class se extends y {
|
|
|
5240
5115
|
path: n.path,
|
|
5241
5116
|
parent: n
|
|
5242
5117
|
});
|
|
5243
|
-
return i.status === "aborted" ?
|
|
5118
|
+
return i.status === "aborted" ? f : i.status === "dirty" ? (t.dirty(), {
|
|
5244
5119
|
status: "dirty",
|
|
5245
5120
|
value: i.value
|
|
5246
5121
|
}) : this._def.out._parseSync({
|
|
@@ -5258,54 +5133,54 @@ class se extends y {
|
|
|
5258
5133
|
});
|
|
5259
5134
|
}
|
|
5260
5135
|
}
|
|
5261
|
-
class
|
|
5136
|
+
class ge extends _ {
|
|
5262
5137
|
_parse(e) {
|
|
5263
5138
|
const t = this._def.innerType._parse(e);
|
|
5264
5139
|
return H(t) && (t.value = Object.freeze(t.value)), t;
|
|
5265
5140
|
}
|
|
5266
5141
|
}
|
|
5267
|
-
|
|
5142
|
+
ge.create = (a, e) => new ge({
|
|
5268
5143
|
innerType: a,
|
|
5269
5144
|
typeName: h.ZodReadonly,
|
|
5270
|
-
...
|
|
5145
|
+
...g(e)
|
|
5271
5146
|
});
|
|
5272
|
-
const
|
|
5147
|
+
const Oe = (a, e = {}, t) => a ? Y.create().superRefine((n, i) => {
|
|
5273
5148
|
var r, s;
|
|
5274
5149
|
if (!a(n)) {
|
|
5275
5150
|
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
5151
|
i.addIssue({ code: "custom", ...d, fatal: m });
|
|
5277
5152
|
}
|
|
5278
|
-
}) : Y.create(),
|
|
5153
|
+
}) : Y.create(), rt = {
|
|
5279
5154
|
object: x.lazycreate
|
|
5280
5155
|
};
|
|
5281
5156
|
var h;
|
|
5282
5157
|
(function(a) {
|
|
5283
5158
|
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
5159
|
})(h || (h = {}));
|
|
5285
|
-
const
|
|
5160
|
+
const st = (a, e = {
|
|
5286
5161
|
message: `Input not instance of ${a.name}`
|
|
5287
|
-
}) =>
|
|
5162
|
+
}) => Oe((t) => t instanceof a, e), Ie = R.create, Ne = Z.create, ot = fe.create, ct = D.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 = x.create, yt = x.strictCreate, bt = Q.create, xt = _e.create, wt = ee.create, Tt = M.create, Ct = te.create, kt = pe.create, St = U.create, At = z.create, Rt = 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, Zt = () => Ie().optional(), Dt = () => Ne().optional(), Vt = () => Me().optional(), $t = {
|
|
5288
5163
|
string: (a) => R.create({ ...a, coerce: !0 }),
|
|
5289
|
-
number: (a) =>
|
|
5164
|
+
number: (a) => Z.create({ ...a, coerce: !0 }),
|
|
5290
5165
|
boolean: (a) => J.create({
|
|
5291
5166
|
...a,
|
|
5292
5167
|
coerce: !0
|
|
5293
5168
|
}),
|
|
5294
|
-
bigint: (a) =>
|
|
5169
|
+
bigint: (a) => D.create({ ...a, coerce: !0 }),
|
|
5295
5170
|
date: (a) => B.create({ ...a, coerce: !0 })
|
|
5296
|
-
},
|
|
5297
|
-
var
|
|
5171
|
+
}, Bt = f;
|
|
5172
|
+
var Ut = /* @__PURE__ */ Object.freeze({
|
|
5298
5173
|
__proto__: null,
|
|
5299
5174
|
defaultErrorMap: F,
|
|
5300
|
-
setErrorMap:
|
|
5175
|
+
setErrorMap: ze,
|
|
5301
5176
|
getErrorMap: ce,
|
|
5302
5177
|
makeIssue: de,
|
|
5303
|
-
EMPTY_PATH:
|
|
5178
|
+
EMPTY_PATH: Ye,
|
|
5304
5179
|
addIssueToContext: l,
|
|
5305
|
-
ParseStatus:
|
|
5306
|
-
INVALID:
|
|
5307
|
-
DIRTY:
|
|
5308
|
-
OK:
|
|
5180
|
+
ParseStatus: T,
|
|
5181
|
+
INVALID: f,
|
|
5182
|
+
DIRTY: Ae,
|
|
5183
|
+
OK: C,
|
|
5309
5184
|
isAborted: xe,
|
|
5310
5185
|
isDirty: we,
|
|
5311
5186
|
isValid: H,
|
|
@@ -5317,99 +5192,99 @@ var Gt = /* @__PURE__ */ Object.freeze({
|
|
|
5317
5192
|
return be;
|
|
5318
5193
|
},
|
|
5319
5194
|
ZodParsedType: u,
|
|
5320
|
-
getParsedType:
|
|
5321
|
-
ZodType:
|
|
5195
|
+
getParsedType: j,
|
|
5196
|
+
ZodType: _,
|
|
5322
5197
|
ZodString: R,
|
|
5323
|
-
ZodNumber:
|
|
5324
|
-
ZodBigInt:
|
|
5198
|
+
ZodNumber: Z,
|
|
5199
|
+
ZodBigInt: D,
|
|
5325
5200
|
ZodBoolean: J,
|
|
5326
5201
|
ZodDate: B,
|
|
5327
5202
|
ZodSymbol: le,
|
|
5328
5203
|
ZodUndefined: X,
|
|
5329
5204
|
ZodNull: K,
|
|
5330
5205
|
ZodAny: Y,
|
|
5331
|
-
ZodUnknown:
|
|
5206
|
+
ZodUnknown: $,
|
|
5332
5207
|
ZodNever: L,
|
|
5333
5208
|
ZodVoid: me,
|
|
5334
|
-
ZodArray:
|
|
5209
|
+
ZodArray: O,
|
|
5335
5210
|
ZodObject: x,
|
|
5336
5211
|
ZodUnion: Q,
|
|
5337
|
-
ZodDiscriminatedUnion:
|
|
5212
|
+
ZodDiscriminatedUnion: _e,
|
|
5338
5213
|
ZodIntersection: ee,
|
|
5339
|
-
ZodTuple:
|
|
5214
|
+
ZodTuple: M,
|
|
5340
5215
|
ZodRecord: te,
|
|
5341
5216
|
ZodMap: pe,
|
|
5342
|
-
ZodSet:
|
|
5217
|
+
ZodSet: U,
|
|
5343
5218
|
ZodFunction: z,
|
|
5344
5219
|
ZodLazy: ae,
|
|
5345
5220
|
ZodLiteral: ne,
|
|
5346
|
-
ZodEnum:
|
|
5221
|
+
ZodEnum: V,
|
|
5347
5222
|
ZodNativeEnum: ie,
|
|
5348
5223
|
ZodPromise: W,
|
|
5349
|
-
ZodEffects:
|
|
5350
|
-
ZodTransformer:
|
|
5224
|
+
ZodEffects: I,
|
|
5225
|
+
ZodTransformer: I,
|
|
5351
5226
|
ZodOptional: P,
|
|
5352
5227
|
ZodNullable: q,
|
|
5353
5228
|
ZodDefault: re,
|
|
5354
5229
|
ZodCatch: he,
|
|
5355
|
-
ZodNaN:
|
|
5356
|
-
BRAND:
|
|
5230
|
+
ZodNaN: fe,
|
|
5231
|
+
BRAND: it,
|
|
5357
5232
|
ZodBranded: Ee,
|
|
5358
5233
|
ZodPipeline: se,
|
|
5359
|
-
ZodReadonly:
|
|
5360
|
-
custom:
|
|
5361
|
-
Schema:
|
|
5362
|
-
ZodSchema:
|
|
5363
|
-
late:
|
|
5234
|
+
ZodReadonly: ge,
|
|
5235
|
+
custom: Oe,
|
|
5236
|
+
Schema: _,
|
|
5237
|
+
ZodSchema: _,
|
|
5238
|
+
late: rt,
|
|
5364
5239
|
get ZodFirstPartyTypeKind() {
|
|
5365
5240
|
return h;
|
|
5366
5241
|
},
|
|
5367
5242
|
coerce: $t,
|
|
5368
|
-
any:
|
|
5243
|
+
any: pt,
|
|
5369
5244
|
array: _t,
|
|
5370
|
-
bigint:
|
|
5371
|
-
boolean:
|
|
5372
|
-
date:
|
|
5373
|
-
discriminatedUnion:
|
|
5374
|
-
effect:
|
|
5375
|
-
enum:
|
|
5376
|
-
function:
|
|
5377
|
-
instanceof:
|
|
5378
|
-
intersection:
|
|
5379
|
-
lazy:
|
|
5380
|
-
literal:
|
|
5245
|
+
bigint: ct,
|
|
5246
|
+
boolean: Me,
|
|
5247
|
+
date: dt,
|
|
5248
|
+
discriminatedUnion: xt,
|
|
5249
|
+
effect: ke,
|
|
5250
|
+
enum: Ot,
|
|
5251
|
+
function: At,
|
|
5252
|
+
instanceof: st,
|
|
5253
|
+
intersection: wt,
|
|
5254
|
+
lazy: Rt,
|
|
5255
|
+
literal: Et,
|
|
5381
5256
|
map: kt,
|
|
5382
|
-
nan:
|
|
5383
|
-
nativeEnum:
|
|
5384
|
-
never:
|
|
5385
|
-
null:
|
|
5386
|
-
nullable:
|
|
5387
|
-
number:
|
|
5388
|
-
object:
|
|
5389
|
-
oboolean:
|
|
5390
|
-
onumber:
|
|
5391
|
-
optional:
|
|
5257
|
+
nan: ot,
|
|
5258
|
+
nativeEnum: It,
|
|
5259
|
+
never: ft,
|
|
5260
|
+
null: mt,
|
|
5261
|
+
nullable: Pt,
|
|
5262
|
+
number: Ne,
|
|
5263
|
+
object: vt,
|
|
5264
|
+
oboolean: Vt,
|
|
5265
|
+
onumber: Dt,
|
|
5266
|
+
optional: Mt,
|
|
5392
5267
|
ostring: Zt,
|
|
5393
|
-
pipeline:
|
|
5394
|
-
preprocess:
|
|
5395
|
-
promise:
|
|
5396
|
-
record:
|
|
5397
|
-
set:
|
|
5398
|
-
strictObject:
|
|
5399
|
-
string:
|
|
5400
|
-
symbol:
|
|
5401
|
-
transformer:
|
|
5402
|
-
tuple:
|
|
5403
|
-
undefined:
|
|
5404
|
-
union:
|
|
5405
|
-
unknown:
|
|
5406
|
-
void:
|
|
5407
|
-
NEVER:
|
|
5268
|
+
pipeline: jt,
|
|
5269
|
+
preprocess: Lt,
|
|
5270
|
+
promise: Nt,
|
|
5271
|
+
record: Ct,
|
|
5272
|
+
set: St,
|
|
5273
|
+
strictObject: yt,
|
|
5274
|
+
string: Ie,
|
|
5275
|
+
symbol: ut,
|
|
5276
|
+
transformer: ke,
|
|
5277
|
+
tuple: Tt,
|
|
5278
|
+
undefined: lt,
|
|
5279
|
+
union: bt,
|
|
5280
|
+
unknown: ht,
|
|
5281
|
+
void: gt,
|
|
5282
|
+
NEVER: Bt,
|
|
5408
5283
|
ZodIssueCode: c,
|
|
5409
|
-
quotelessJson:
|
|
5284
|
+
quotelessJson: Ge,
|
|
5410
5285
|
ZodError: E
|
|
5411
5286
|
});
|
|
5412
|
-
const
|
|
5287
|
+
const qt = [
|
|
5413
5288
|
"DASHBOARD",
|
|
5414
5289
|
"ANALYTIC",
|
|
5415
5290
|
"CAMPAIGN",
|
|
@@ -5438,21 +5313,21 @@ const zt = [
|
|
|
5438
5313
|
"TRANSACTION",
|
|
5439
5314
|
"MARKETING",
|
|
5440
5315
|
"SETTING"
|
|
5441
|
-
].map((a) => `$connect-${a}`),
|
|
5316
|
+
].map((a) => `$connect-${a}`), Gt = Ut.enum(qt), y = Gt.Enum, Ft = [
|
|
5442
5317
|
{
|
|
5443
5318
|
path: "",
|
|
5444
|
-
name:
|
|
5445
|
-
redirect: { name:
|
|
5319
|
+
name: y["$connect-DASHBOARD"],
|
|
5320
|
+
redirect: { name: y["$connect-ANALYTIC"] }
|
|
5446
5321
|
},
|
|
5447
5322
|
{
|
|
5448
5323
|
path: "/analytic",
|
|
5449
5324
|
component: () => import("./MainLayout-B1aJoR95.js"),
|
|
5450
|
-
redirect: { name:
|
|
5325
|
+
redirect: { name: y["$connect-ANALYTIC"] },
|
|
5451
5326
|
children: [
|
|
5452
5327
|
{
|
|
5453
5328
|
path: "/analytic",
|
|
5454
|
-
name:
|
|
5455
|
-
component:
|
|
5329
|
+
name: y["$connect-ANALYTIC"],
|
|
5330
|
+
component: A(S(() => import("./Analytic-5QztrYSp.js"))),
|
|
5456
5331
|
meta: {
|
|
5457
5332
|
validationManifest: {
|
|
5458
5333
|
requiredCaslPermissions: [
|
|
@@ -5468,14 +5343,14 @@ const zt = [
|
|
|
5468
5343
|
},
|
|
5469
5344
|
{
|
|
5470
5345
|
path: "/campaign",
|
|
5471
|
-
name:
|
|
5472
|
-
redirect:
|
|
5346
|
+
name: y["$connect-CAMPAIGN"],
|
|
5347
|
+
redirect: y["$connect-CAMPAIGN_PROMOTION"],
|
|
5473
5348
|
component: () => import("./MainLayout-B1aJoR95.js"),
|
|
5474
5349
|
children: [
|
|
5475
5350
|
{
|
|
5476
5351
|
path: "/campaign/promotion",
|
|
5477
|
-
name:
|
|
5478
|
-
component:
|
|
5352
|
+
name: y["$connect-CAMPAIGN_PROMOTION"],
|
|
5353
|
+
component: A(S(() => import("./Promotion-0v3kvsK3.js"))),
|
|
5479
5354
|
meta: {
|
|
5480
5355
|
validationManifest: {
|
|
5481
5356
|
requiredCaslPermissions: [
|
|
@@ -5489,12 +5364,12 @@ const zt = [
|
|
|
5489
5364
|
},
|
|
5490
5365
|
{
|
|
5491
5366
|
path: "/campaign/voucher",
|
|
5492
|
-
redirect: { name:
|
|
5367
|
+
redirect: { name: y["$connect-CAMPAIGN_VOUCHER"] },
|
|
5493
5368
|
children: [
|
|
5494
5369
|
{
|
|
5495
5370
|
path: "/campaign/voucher",
|
|
5496
|
-
name:
|
|
5497
|
-
component:
|
|
5371
|
+
name: y["$connect-CAMPAIGN_VOUCHER"],
|
|
5372
|
+
component: A(S(() => import("./Voucher-DsP_rh8I.js"))),
|
|
5498
5373
|
meta: {
|
|
5499
5374
|
validationManifest: {
|
|
5500
5375
|
requiredCaslPermissions: [
|
|
@@ -5508,8 +5383,8 @@ const zt = [
|
|
|
5508
5383
|
},
|
|
5509
5384
|
{
|
|
5510
5385
|
path: "/campaign/voucher/:id/collections",
|
|
5511
|
-
name:
|
|
5512
|
-
component:
|
|
5386
|
+
name: y["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
|
|
5387
|
+
component: A(S(() => import("./Collections-7wqZHOax.js"))),
|
|
5513
5388
|
meta: {
|
|
5514
5389
|
validationManifest: {
|
|
5515
5390
|
requiredCaslPermissions: [
|
|
@@ -5525,8 +5400,8 @@ const zt = [
|
|
|
5525
5400
|
},
|
|
5526
5401
|
{
|
|
5527
5402
|
path: "/campaign/broadcast",
|
|
5528
|
-
name:
|
|
5529
|
-
component:
|
|
5403
|
+
name: y["$connect-CAMPAIGN_BROADCAST"],
|
|
5404
|
+
component: A(S(() => import("./Broadcast-DmkrJGp2.js"))),
|
|
5530
5405
|
meta: {
|
|
5531
5406
|
validationManifest: {
|
|
5532
5407
|
requiredCaslPermissions: [
|
|
@@ -5543,7 +5418,7 @@ const zt = [
|
|
|
5543
5418
|
{
|
|
5544
5419
|
path: "/program",
|
|
5545
5420
|
// component: () => import('@/layouts/MainLayout.vue'),
|
|
5546
|
-
component:
|
|
5421
|
+
component: A(S(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5547
5422
|
meta: {
|
|
5548
5423
|
validationManifest: {
|
|
5549
5424
|
requiredCaslPermissions: [
|
|
@@ -5554,49 +5429,49 @@ const zt = [
|
|
|
5554
5429
|
]
|
|
5555
5430
|
}
|
|
5556
5431
|
},
|
|
5557
|
-
name:
|
|
5558
|
-
redirect:
|
|
5432
|
+
name: y["$connect-PROGRAM"],
|
|
5433
|
+
redirect: y["$connect-PROGRAM_TIER"],
|
|
5559
5434
|
children: [
|
|
5560
5435
|
{
|
|
5561
5436
|
path: "/program/tier",
|
|
5562
|
-
name:
|
|
5563
|
-
component: () => import("./Tier-
|
|
5437
|
+
name: y["$connect-PROGRAM_TIER"],
|
|
5438
|
+
component: () => import("./Tier-CJ9-d8Zg.js")
|
|
5564
5439
|
},
|
|
5565
5440
|
{
|
|
5566
5441
|
path: "/program/title",
|
|
5567
|
-
name:
|
|
5568
|
-
component: () => import("./Title-
|
|
5442
|
+
name: y["$connect-PROGRAM_TITLE"],
|
|
5443
|
+
component: () => import("./Title-DZCpvg4q.js")
|
|
5569
5444
|
},
|
|
5570
5445
|
{
|
|
5571
5446
|
path: "/program/experience",
|
|
5572
|
-
name:
|
|
5573
|
-
component: () => import("./Experience-
|
|
5447
|
+
name: y["$connect-PROGRAM_EXPERIENCE"],
|
|
5448
|
+
component: () => import("./Experience-DNsQLzDH.js")
|
|
5574
5449
|
},
|
|
5575
5450
|
{
|
|
5576
5451
|
path: "/program/point",
|
|
5577
|
-
name:
|
|
5578
|
-
component: () => import("./Point-
|
|
5452
|
+
name: y["$connect-PROGRAM_POINT"],
|
|
5453
|
+
component: () => import("./Point-Ck8EG_3k.js")
|
|
5579
5454
|
},
|
|
5580
5455
|
{
|
|
5581
5456
|
path: "/program/credit",
|
|
5582
|
-
name:
|
|
5583
|
-
component: () => import("./Credit-
|
|
5457
|
+
name: y["$connect-PROGRAM_CREDIT"],
|
|
5458
|
+
component: () => import("./Credit-CcNrq9qk.js")
|
|
5584
5459
|
},
|
|
5585
5460
|
{
|
|
5586
5461
|
path: "/program/game",
|
|
5587
|
-
name:
|
|
5588
|
-
component: () => import("./Game-
|
|
5462
|
+
name: y["$connect-PROGRAM_GAME"],
|
|
5463
|
+
component: () => import("./Game-DlzDerT7.js")
|
|
5589
5464
|
},
|
|
5590
5465
|
{
|
|
5591
5466
|
path: "/program/mission",
|
|
5592
|
-
name:
|
|
5593
|
-
component: () => import("./Mission-
|
|
5467
|
+
name: y["$connect-PROGRAM_MISSION"],
|
|
5468
|
+
component: () => import("./Mission-BTAia7AS.js")
|
|
5594
5469
|
}
|
|
5595
5470
|
]
|
|
5596
5471
|
},
|
|
5597
5472
|
{
|
|
5598
5473
|
path: "/loyalty",
|
|
5599
|
-
component:
|
|
5474
|
+
component: A(S(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5600
5475
|
meta: {
|
|
5601
5476
|
validationManifest: {
|
|
5602
5477
|
requiredCaslPermissions: [
|
|
@@ -5607,49 +5482,49 @@ const zt = [
|
|
|
5607
5482
|
]
|
|
5608
5483
|
}
|
|
5609
5484
|
},
|
|
5610
|
-
name:
|
|
5611
|
-
redirect:
|
|
5485
|
+
name: y["$connect-LOYALTY"],
|
|
5486
|
+
redirect: y["$connect-LOYALTY_MEMBER"],
|
|
5612
5487
|
children: [
|
|
5613
5488
|
{
|
|
5614
5489
|
path: "/loyalty/member",
|
|
5615
|
-
name:
|
|
5616
|
-
component: () => import("./Member-
|
|
5490
|
+
name: y["$connect-LOYALTY_MEMBER"],
|
|
5491
|
+
component: () => import("./Member-AFgZcdtz.js"),
|
|
5617
5492
|
redirect: {
|
|
5618
|
-
name:
|
|
5493
|
+
name: y["$connect-LOYALTY_MEMBER_OVERVIEW"]
|
|
5619
5494
|
},
|
|
5620
5495
|
children: [
|
|
5621
5496
|
{
|
|
5622
5497
|
path: "/loyalty/member",
|
|
5623
|
-
name:
|
|
5498
|
+
name: y["$connect-LOYALTY_MEMBER_OVERVIEW"],
|
|
5624
5499
|
component: () => import("./MemberOverview-wL_ailso.js")
|
|
5625
5500
|
},
|
|
5626
5501
|
{
|
|
5627
5502
|
path: "/loyalty/member/list",
|
|
5628
|
-
name:
|
|
5629
|
-
component: () => import("./MemberList-
|
|
5503
|
+
name: y["$connect-LOYALTY_MEMBER_LIST"],
|
|
5504
|
+
component: () => import("./MemberList-BKgrLz2C.js")
|
|
5630
5505
|
},
|
|
5631
5506
|
{
|
|
5632
5507
|
path: "/loyalty/member/transactions/:id",
|
|
5633
|
-
name:
|
|
5634
|
-
component: () => import("./MemberTransactions-
|
|
5508
|
+
name: y["$connect-LOYALTY_MEMBER_TRANSACTIONS"],
|
|
5509
|
+
component: () => import("./MemberTransactions-BwT3zE2a.js")
|
|
5635
5510
|
}
|
|
5636
5511
|
]
|
|
5637
5512
|
},
|
|
5638
5513
|
{
|
|
5639
5514
|
path: "/loyalty/segment",
|
|
5640
|
-
name:
|
|
5641
|
-
component: () => import("./Segment-
|
|
5515
|
+
name: y["$connect-LOYALTY_SEGMENT"],
|
|
5516
|
+
component: () => import("./Segment-BenLupqV.js")
|
|
5642
5517
|
},
|
|
5643
5518
|
{
|
|
5644
5519
|
path: "/loyalty/card",
|
|
5645
|
-
name:
|
|
5646
|
-
component: () => import("./Card-
|
|
5520
|
+
name: y["$connect-LOYALTY_CARD"],
|
|
5521
|
+
component: () => import("./Card-BsjFTVsH.js")
|
|
5647
5522
|
}
|
|
5648
5523
|
]
|
|
5649
5524
|
},
|
|
5650
5525
|
{
|
|
5651
5526
|
path: "/store",
|
|
5652
|
-
component:
|
|
5527
|
+
component: A(S(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5653
5528
|
meta: {
|
|
5654
5529
|
validationManifest: {
|
|
5655
5530
|
requiredCaslPermissions: [
|
|
@@ -5663,22 +5538,22 @@ const zt = [
|
|
|
5663
5538
|
children: [
|
|
5664
5539
|
{
|
|
5665
5540
|
path: "/store",
|
|
5666
|
-
name:
|
|
5667
|
-
component: () => import("./Store-
|
|
5541
|
+
name: y["$connect-STORE"],
|
|
5542
|
+
component: () => import("./Store-BDGwe4ar.js")
|
|
5668
5543
|
},
|
|
5669
5544
|
{
|
|
5670
5545
|
path: "/store/rewards",
|
|
5671
|
-
redirect: { name:
|
|
5546
|
+
redirect: { name: y["$connect-STORE_REWARDS"] },
|
|
5672
5547
|
children: [
|
|
5673
5548
|
{
|
|
5674
5549
|
path: "/store/rewards",
|
|
5675
|
-
name:
|
|
5676
|
-
component: () => import("./StoreRewards-
|
|
5550
|
+
name: y["$connect-STORE_REWARDS"],
|
|
5551
|
+
component: () => import("./StoreRewards-TDZt9H1V.js")
|
|
5677
5552
|
},
|
|
5678
5553
|
{
|
|
5679
5554
|
path: "/store/rewards/:id/collections",
|
|
5680
|
-
name:
|
|
5681
|
-
component: () => import("./Collections-
|
|
5555
|
+
name: y["$connect-STORE_REWARD_COLLECTIONS"],
|
|
5556
|
+
component: () => import("./Collections-7wqZHOax.js")
|
|
5682
5557
|
}
|
|
5683
5558
|
]
|
|
5684
5559
|
}
|
|
@@ -5686,7 +5561,7 @@ const zt = [
|
|
|
5686
5561
|
},
|
|
5687
5562
|
{
|
|
5688
5563
|
path: "/transaction",
|
|
5689
|
-
component:
|
|
5564
|
+
component: A(S(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5690
5565
|
meta: {
|
|
5691
5566
|
validationManifest: {
|
|
5692
5567
|
requiredCaslPermissions: [
|
|
@@ -5700,14 +5575,14 @@ const zt = [
|
|
|
5700
5575
|
children: [
|
|
5701
5576
|
{
|
|
5702
5577
|
path: "/transaction",
|
|
5703
|
-
name:
|
|
5704
|
-
component: () => import("./Transaction-
|
|
5578
|
+
name: y["$connect-TRANSACTION"],
|
|
5579
|
+
component: () => import("./Transaction-DpnTxlbf.js")
|
|
5705
5580
|
}
|
|
5706
5581
|
]
|
|
5707
5582
|
},
|
|
5708
5583
|
{
|
|
5709
5584
|
path: "/marketing",
|
|
5710
|
-
component:
|
|
5585
|
+
component: A(S(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5711
5586
|
meta: {
|
|
5712
5587
|
validationManifest: {
|
|
5713
5588
|
requiredCaslPermissions: [
|
|
@@ -5721,14 +5596,14 @@ const zt = [
|
|
|
5721
5596
|
children: [
|
|
5722
5597
|
{
|
|
5723
5598
|
path: "/marketing",
|
|
5724
|
-
name:
|
|
5725
|
-
component: () => import("./Marketing-
|
|
5599
|
+
name: y["$connect-MARKETING"],
|
|
5600
|
+
component: () => import("./Marketing-BqhpaG4o.js")
|
|
5726
5601
|
}
|
|
5727
5602
|
]
|
|
5728
5603
|
},
|
|
5729
5604
|
{
|
|
5730
5605
|
path: "/setting",
|
|
5731
|
-
component:
|
|
5606
|
+
component: A(S(() => import("./MainLayout-B1aJoR95.js"))),
|
|
5732
5607
|
meta: {
|
|
5733
5608
|
validationManifest: {
|
|
5734
5609
|
requiredCaslPermissions: [
|
|
@@ -5742,23 +5617,23 @@ const zt = [
|
|
|
5742
5617
|
children: [
|
|
5743
5618
|
{
|
|
5744
5619
|
path: "/setting",
|
|
5745
|
-
name:
|
|
5746
|
-
component: () => import("./Setting-
|
|
5620
|
+
name: y["$connect-SETTING"],
|
|
5621
|
+
component: () => import("./Setting-0fpREqpJ.js")
|
|
5747
5622
|
}
|
|
5748
5623
|
]
|
|
5749
5624
|
}
|
|
5750
|
-
],
|
|
5751
|
-
"en-US":
|
|
5625
|
+
], Ht = {
|
|
5626
|
+
"en-US": Ze,
|
|
5752
5627
|
"zh-CN": Be,
|
|
5753
|
-
"th-TH":
|
|
5754
|
-
},
|
|
5628
|
+
"th-TH": qe
|
|
5629
|
+
}, Jt = S(() => import("./App-SRz4257n.js"));
|
|
5755
5630
|
export {
|
|
5756
|
-
|
|
5757
|
-
|
|
5631
|
+
Jt as F,
|
|
5632
|
+
y as R,
|
|
5758
5633
|
c as Z,
|
|
5759
5634
|
u as a,
|
|
5760
5635
|
F as e,
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5636
|
+
Ht as i,
|
|
5637
|
+
Ft as r,
|
|
5638
|
+
Ut as z
|
|
5764
5639
|
};
|