@feedmepos/mf-order-setting 0.0.106 → 0.0.107
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/{DisplaySystemView-aLqc6lz9.js → DisplaySystemView-D4I6fQwr.js} +4 -4
- package/dist/{FoodCourtInvitationsView-B30qld2i.js → FoodCourtInvitationsView-DODbUcup.js} +4 -4
- package/dist/{FoodCourtOrderSettingsView-CWmaKgbe.js → FoodCourtOrderSettingsView-BPb_clxQ.js} +1 -1
- package/dist/{FoodCourtOrdersView-FfrganVo.js → FoodCourtOrdersView-B4jGHCvq.js} +4 -4
- package/dist/{FoodCourtStallsView-CpGZNP6p.js → FoodCourtStallsView-Yo5imZIL.js} +2 -2
- package/dist/{FoodCourtStatusView-ljQUwIwk.js → FoodCourtStatusView-Qmg07OHi.js} +1 -1
- package/dist/{KioskDevicesView-BwDAYIhX.js → KioskDevicesView-gnKpLlRc.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-VidDJfGG.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BvLOXC6b.js} +5 -5
- package/dist/{KioskSettingView-mfhi9vuf.js → KioskSettingView-CarJ2tfl.js} +3 -3
- package/dist/{KioskView-6p5h92fk.js → KioskView-BQxmKeWX.js} +8 -8
- package/dist/{OrderSettingsView-Cf_Ye9U_.js → OrderSettingsView-DvThEQW-.js} +38157 -32660
- package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-TJJ3PBlq.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-CiZeQGB6.js} +1 -1
- package/dist/{app-BorqCaJT.js → app-BvIV73_P.js} +312 -300
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CTTY2vkL.js → dayjs.min-B5uDRIkW.js} +1 -1
- package/dist/{featureFlag-DFenoxmg.js → featureFlag-BYngu4rF.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +12 -0
- package/dist/frontend/mf-order/src/main.d.ts +12 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +134 -0
- package/dist/frontend/mf-order/src/views/order-settings/components/SmsCreditCard.vue.d.ts +15 -0
- package/dist/frontend/mf-order/src/views/order-settings/pos-status/pos-status.d.ts +19 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BZkJr7iu.js → index-BBXEB6tY.js} +1 -1
- package/dist/{index-C4Isv-r7.js → index-BWR9_xAj.js} +1 -1
- package/dist/{index-tLkJL436.js → index-CGf3YUfs.js} +2 -2
- package/dist/{index-nUvyt9Wm.js → index-DWIzd_V1.js} +1 -1
- package/dist/{index-DuJOWWP8.js → index-Mnxpcwdy.js} +4 -4
- package/dist/{order.dto-nVwtcdX2.js → order.dto-DBYyEQ7c.js} +82 -78
- package/dist/package/entity/order/order.do.d.ts +21 -0
- package/dist/style.css +1 -1
- package/dist/{useInternalUser-HhxjbzGl.js → useInternalUser-DxmgUn4T.js} +1 -1
- package/package.json +2 -2
- package/src/locales/en-US.json +10 -7
- package/src/locales/ja-JP.json +5 -2
- package/src/locales/th-TH.json +10 -7
- package/src/locales/zh-CN.json +5 -2
- package/src/views/all-orders/UpdateDeliveryOrderDialog.vue +9 -9
- package/src/views/order-settings/components/NotifyChannelEditor.vue +1 -1
- package/src/views/order-settings/components/SmsCreditCard.vue +31 -0
- package/src/views/order-settings/components/push-availability.ts +1 -1
- package/src/views/order-settings/delivery/DeliverySetting.vue +2 -1
- package/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue +2 -2
- package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +1 -1
- package/src/views/order-settings/pos-status/PosOrderingStatus.spec.ts +96 -1
- package/src/views/order-settings/pos-status/PosOrderingStatus.vue +24 -2
- package/src/views/order-settings/pos-status/pos-status.spec.ts +22 -0
- package/src/views/order-settings/pos-status/pos-status.ts +23 -0
- package/src/views/order-settings/reservation/ReservationSetting.vue +36 -1
- package/src/views/order-settings/reservation/reservation-sms-credit.source.spec.ts +66 -0
- package/src/views/order-settings/sms/SmsSetting.vue +11 -23
|
@@ -80,9 +80,9 @@ const iy = {
|
|
|
80
80
|
or: "or",
|
|
81
81
|
addOther: 'add "Other"',
|
|
82
82
|
addPreferenceCategory: "Add another preference category",
|
|
83
|
-
guestMessage: "Guest
|
|
84
|
-
guestMessageDescription: "
|
|
85
|
-
enableGuestMessage: "Enable guest
|
|
83
|
+
guestMessage: "Guest Policy",
|
|
84
|
+
guestMessageDescription: "Important information guests should know before their visit. Shown in the booking app, not sent by SMS or email.",
|
|
85
|
+
enableGuestMessage: "Enable guest policy",
|
|
86
86
|
guestMessageDefault: `Please take note of the following important details before making a reservation:
|
|
87
87
|
|
|
88
88
|
1. Dining Time Limit
|
|
@@ -90,11 +90,11 @@ const iy = {
|
|
|
90
90
|
|
|
91
91
|
2. 15-Minute Holding Policy
|
|
92
92
|
- We can hold your reservation for a maximum of 15 minutes. If we are unable to reach you after this time, your table may be released without prior notice. If you anticipate being late or need to cancel, please call us to let us know so we can either hold your table or offer it to other guests.`,
|
|
93
|
-
message: "
|
|
93
|
+
message: "Details",
|
|
94
94
|
guestMessagePlaceholder: "Please take note of the following important details before making a reservation:",
|
|
95
95
|
charactersCount: "{count} / {max} characters",
|
|
96
96
|
cancellationPolicy: "Cancellation Policy",
|
|
97
|
-
cancellationPolicyDescription: "Set the rules guests should follow when cancelling a reservation.",
|
|
97
|
+
cancellationPolicyDescription: "Set the rules guests should follow when cancelling a reservation. Shown in the booking app, not sent by SMS or email.",
|
|
98
98
|
enableCancellationPolicy: "Enable cancellation policy",
|
|
99
99
|
cancellationPolicyDefault: `Cancellation Policy
|
|
100
100
|
|
|
@@ -852,6 +852,7 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
852
852
|
lastSeenAt: "Last seen {time}",
|
|
853
853
|
neverSeen: "No heartbeat from the Main POS yet",
|
|
854
854
|
setOnPos: "Set on the POS",
|
|
855
|
+
deliveryScope: "Only for delivery orders placed in the FeedMe ordering app (in-house delivery). GrabFood, foodpanda, ShopeeFood and other delivery platforms are not affected.",
|
|
855
856
|
refresh: "Refresh",
|
|
856
857
|
refreshCheckedAt: "Refresh (checked at {time})",
|
|
857
858
|
loadFailed: "Could not read this from the POS. Refresh to try again.",
|
|
@@ -871,7 +872,8 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
871
872
|
delivery: {
|
|
872
873
|
on: "Delivery orders on",
|
|
873
874
|
off: "Delivery orders off",
|
|
874
|
-
unknown: "Delivery setting unknown"
|
|
875
|
+
unknown: "Delivery setting unknown",
|
|
876
|
+
notSetUp: "In-house delivery not set up"
|
|
875
877
|
}
|
|
876
878
|
},
|
|
877
879
|
acceptOffHint: {
|
|
@@ -908,7 +910,8 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
908
910
|
reservationAvailability: "Reservation Availability",
|
|
909
911
|
notificationSettings: "Notification Settings",
|
|
910
912
|
smsEnabled: "Enable SMS Notifications",
|
|
911
|
-
smsEnabledDescription: "Send SMS notifications to customers for reservation updates",
|
|
913
|
+
smsEnabledDescription: "Send SMS notifications to customers for reservation updates. Charged from your SMS credit per message; a long SMS, or one with non-Latin characters or emoji, counts as 2 or more messages.",
|
|
914
|
+
smsEnabledCostDescription: "Send SMS notifications to customers for reservation updates. Charged from your SMS credit at {price} per message; a long SMS, or one with non-Latin characters or emoji, counts as 2 or more messages.",
|
|
912
915
|
emailEnabled: "Enable Email Notifications",
|
|
913
916
|
emailEnabledDescription: "Send email notifications to customers for reservation updates",
|
|
914
917
|
notifyOnConfirm: "Notify on Confirmation",
|
|
@@ -2406,6 +2409,7 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
2406
2409
|
lastSeenAt: "最后在线 {time}",
|
|
2407
2410
|
neverSeen: "尚未收到主 POS 的心跳",
|
|
2408
2411
|
setOnPos: "在 POS 上设置",
|
|
2412
|
+
deliveryScope: "仅适用于在 FeedMe 点餐应用下单的外送订单(In house 配送)。GrabFood、foodpanda、ShopeeFood 等外卖平台不受影响。",
|
|
2409
2413
|
refresh: "刷新",
|
|
2410
2414
|
refreshCheckedAt: "刷新(检查时间 {time})",
|
|
2411
2415
|
loadFailed: "无法从 POS 读取。请刷新重试。",
|
|
@@ -2425,7 +2429,8 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
2425
2429
|
delivery: {
|
|
2426
2430
|
on: "外送订单已开启",
|
|
2427
2431
|
off: "外送订单已关闭",
|
|
2428
|
-
unknown: "外送设置未知"
|
|
2432
|
+
unknown: "外送设置未知",
|
|
2433
|
+
notSetUp: "未设置 In house 配送"
|
|
2429
2434
|
}
|
|
2430
2435
|
},
|
|
2431
2436
|
acceptOffHint: {
|
|
@@ -2539,7 +2544,8 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
2539
2544
|
reservationAvailability: "预订开放时间",
|
|
2540
2545
|
notificationSettings: "通知设置",
|
|
2541
2546
|
smsEnabled: "启用短信通知",
|
|
2542
|
-
smsEnabledDescription: "
|
|
2547
|
+
smsEnabledDescription: "向客户发送预订更新的短信通知。按条从您的短信余额中扣费;较长的短信,或含中文等非拉丁字符或表情符号的短信,按 2 条或以上计费",
|
|
2548
|
+
smsEnabledCostDescription: "向客户发送预订更新的短信通知。每条按 {price} 从您的短信余额中扣除;较长的短信,或含中文等非拉丁字符或表情符号的短信,按 2 条或以上计费",
|
|
2543
2549
|
emailEnabled: "启用电子邮件通知",
|
|
2544
2550
|
emailEnabledDescription: "向客户发送预订更新的电子邮件通知",
|
|
2545
2551
|
notifyOnConfirm: "确认时通知",
|
|
@@ -3366,9 +3372,9 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
3366
3372
|
or: "หรือ",
|
|
3367
3373
|
addOther: 'เพิ่ม "อื่นๆ"',
|
|
3368
3374
|
addPreferenceCategory: "เพิ่มหมวดหมู่ความต้องการ",
|
|
3369
|
-
guestMessage: "
|
|
3370
|
-
guestMessageDescription: "
|
|
3371
|
-
enableGuestMessage: "
|
|
3375
|
+
guestMessage: "นโยบายสำหรับลูกค้า",
|
|
3376
|
+
guestMessageDescription: "ข้อมูลสำคัญที่ลูกค้าควรทราบก่อนมาที่ร้าน แสดงในแอปจอง ไม่ได้ส่งทาง SMS หรืออีเมล",
|
|
3377
|
+
enableGuestMessage: "เปิดใช้นโยบายสำหรับลูกค้า",
|
|
3372
3378
|
guestMessageDefault: `โปรดอ่านรายละเอียดสำคัญต่อไปนี้ก่อนทำการจอง:
|
|
3373
3379
|
|
|
3374
3380
|
1. ระยะเวลาการรับประทานอาหาร
|
|
@@ -3376,11 +3382,11 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
3376
3382
|
|
|
3377
3383
|
2. นโยบายการรอโต๊ะ 15 นาที
|
|
3378
3384
|
- ทางร้านสามารถรอการจองของท่านได้สูงสุด 15 นาที หากไม่สามารถติดต่อท่านได้หลังจากเวลานี้ โต๊ะของท่านอาจถูกปล่อยให้ลูกค้าท่านอื่นโดยไม่แจ้งล่วงหน้า หากท่านคาดว่าจะมาสายหรือต้องการยกเลิก กรุณาโทรแจ้งทางร้าน เพื่อให้เราสามารถรอโต๊ะของท่านหรือจัดให้ลูกค้าท่านอื่นได้`,
|
|
3379
|
-
message: "
|
|
3385
|
+
message: "รายละเอียด",
|
|
3380
3386
|
guestMessagePlaceholder: "โปรดอ่านรายละเอียดสำคัญต่อไปนี้ก่อนทำการจอง:",
|
|
3381
3387
|
charactersCount: "{count} / {max} ตัวอักษร",
|
|
3382
3388
|
cancellationPolicy: "นโยบายการยกเลิก",
|
|
3383
|
-
cancellationPolicyDescription: "กำหนดกฎที่ลูกค้าต้องปฏิบัติเมื่อยกเลิกการจอง",
|
|
3389
|
+
cancellationPolicyDescription: "กำหนดกฎที่ลูกค้าต้องปฏิบัติเมื่อยกเลิกการจอง แสดงในแอปจอง ไม่ได้ส่งทาง SMS หรืออีเมล",
|
|
3384
3390
|
enableCancellationPolicy: "เปิดใช้นโยบายการยกเลิก",
|
|
3385
3391
|
cancellationPolicyDefault: `นโยบายการยกเลิก
|
|
3386
3392
|
|
|
@@ -4103,6 +4109,7 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
4103
4109
|
lastSeenAt: "ออนไลน์ล่าสุด {time}",
|
|
4104
4110
|
neverSeen: "ยังไม่ได้รับสัญญาณจาก Main POS",
|
|
4105
4111
|
setOnPos: "ตั้งค่าที่ POS",
|
|
4112
|
+
deliveryScope: "ใช้กับออเดอร์เดลิเวอรีที่สั่งผ่านแอปสั่งอาหาร FeedMe เท่านั้น (จัดส่งถึงบ้าน) ไม่มีผลกับ GrabFood, foodpanda, ShopeeFood และแพลตฟอร์มเดลิเวอรีอื่น",
|
|
4106
4113
|
refresh: "รีเฟรช",
|
|
4107
4114
|
refreshCheckedAt: "รีเฟรช (ตรวจสอบเมื่อ {time})",
|
|
4108
4115
|
loadFailed: "อ่านค่าจาก POS ไม่ได้ รีเฟรชเพื่อลองอีกครั้ง",
|
|
@@ -4122,7 +4129,8 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
4122
4129
|
delivery: {
|
|
4123
4130
|
on: "เปิดรับออเดอร์เดลิเวอรี",
|
|
4124
4131
|
off: "ปิดรับออเดอร์เดลิเวอรี",
|
|
4125
|
-
unknown: "ไม่ทราบการตั้งค่าเดลิเวอรี"
|
|
4132
|
+
unknown: "ไม่ทราบการตั้งค่าเดลิเวอรี",
|
|
4133
|
+
notSetUp: "ยังไม่ได้ตั้งค่าจัดส่งถึงบ้าน"
|
|
4126
4134
|
}
|
|
4127
4135
|
},
|
|
4128
4136
|
acceptOffHint: {
|
|
@@ -4236,7 +4244,8 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
4236
4244
|
reservationAvailability: "ช่วงเวลาที่เปิดรับจอง",
|
|
4237
4245
|
notificationSettings: "การตั้งค่าการแจ้งเตือน",
|
|
4238
4246
|
smsEnabled: "เปิดใช้งานการแจ้งเตือนผ่าน SMS",
|
|
4239
|
-
smsEnabledDescription: "ส่งการแจ้งเตือนผ่าน SMS ให้กับลูกค้าสำหรับการอัพเดทการจอง",
|
|
4247
|
+
smsEnabledDescription: "ส่งการแจ้งเตือนผ่าน SMS ให้กับลูกค้าสำหรับการอัพเดทการจอง หักจากเครดิต SMS ของคุณต่อข้อความ SMS ที่ยาว หรือมีตัวอักษรที่ไม่ใช่ภาษาอังกฤษหรืออีโมจิ จะนับเป็น 2 ข้อความขึ้นไป",
|
|
4248
|
+
smsEnabledCostDescription: "ส่งการแจ้งเตือนผ่าน SMS ให้กับลูกค้าสำหรับการอัพเดทการจอง หัก {price} ต่อข้อความจากเครดิต SMS ของคุณ SMS ที่ยาว หรือมีตัวอักษรที่ไม่ใช่ภาษาอังกฤษหรืออีโมจิ จะนับเป็น 2 ข้อความขึ้นไป",
|
|
4240
4249
|
emailEnabled: "เปิดใช้งานการแจ้งเตือนผ่านอีเมล",
|
|
4241
4250
|
emailEnabledDescription: "ส่งการแจ้งเตือนผ่านอีเมลให้กับลูกค้าสำหรับการอัพเดทการจอง",
|
|
4242
4251
|
notifyOnConfirm: "แจ้งเตือนเมื่อยืนยัน",
|
|
@@ -5400,6 +5409,7 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
5400
5409
|
lastSeenAt: "最終接続 {time}",
|
|
5401
5410
|
neverSeen: "メイン POS からのハートビートはまだありません",
|
|
5402
5411
|
setOnPos: "POS で設定",
|
|
5412
|
+
deliveryScope: "FeedMe の注文アプリで受けるデリバリー注文(自社配達)のみが対象です。GrabFood、foodpanda、ShopeeFood などのデリバリープラットフォームには影響しません。",
|
|
5403
5413
|
refresh: "更新",
|
|
5404
5414
|
refreshCheckedAt: "更新(確認時刻 {time})",
|
|
5405
5415
|
loadFailed: "POS から読み取れませんでした。更新して再試行してください。",
|
|
@@ -5419,7 +5429,8 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
5419
5429
|
delivery: {
|
|
5420
5430
|
on: "デリバリー注文オン",
|
|
5421
5431
|
off: "デリバリー注文オフ",
|
|
5422
|
-
unknown: "デリバリー設定は不明"
|
|
5432
|
+
unknown: "デリバリー設定は不明",
|
|
5433
|
+
notSetUp: "自社配達は未設定"
|
|
5423
5434
|
}
|
|
5424
5435
|
},
|
|
5425
5436
|
acceptOffHint: {
|
|
@@ -5534,7 +5545,8 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
5534
5545
|
reservationAvailability: "予約受付期間",
|
|
5535
5546
|
notificationSettings: "通知設定",
|
|
5536
5547
|
smsEnabled: "SMS通知を有効にする",
|
|
5537
|
-
smsEnabledDescription: "予約の更新をSMS
|
|
5548
|
+
smsEnabledDescription: "予約の更新をSMSでお客様に通知します。料金は1通ごとにSMSクレジットから差し引かれます。長いSMSや、英数字以外の文字・絵文字を含むSMSは2通以上として計算されます",
|
|
5549
|
+
smsEnabledCostDescription: "予約の更新をSMSでお客様に通知します。料金は1通あたり{price}がSMSクレジットから差し引かれます。長いSMSや、英数字以外の文字・絵文字を含むSMSは2通以上として計算されます",
|
|
5538
5550
|
emailEnabled: "メール通知を有効にする",
|
|
5539
5551
|
emailEnabledDescription: "予約の更新をメールでお客様に通知します",
|
|
5540
5552
|
notifyOnConfirm: "予約確定時に通知",
|
|
@@ -7609,7 +7621,7 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
7609
7621
|
}, uy = {
|
|
7610
7622
|
order: dy,
|
|
7611
7623
|
menu: cy
|
|
7612
|
-
}, my = "0.0.
|
|
7624
|
+
}, my = "0.0.107", gy = "fmmf";
|
|
7613
7625
|
let hd = !1;
|
|
7614
7626
|
function hy() {
|
|
7615
7627
|
hd || (hd = !0, console.log(
|
|
@@ -9667,7 +9679,7 @@ var M;
|
|
|
9667
9679
|
})(M || (M = {}));
|
|
9668
9680
|
const yh = (e, n = {
|
|
9669
9681
|
message: `Input not instance of ${e.name}`
|
|
9670
|
-
}) => al((t) => t instanceof e, n, !0), sl = mt.create, ll = Rt.create, bh = br.create, vh = dr.create, dl = cr.create, Fh = rn.create, Eh = ur.create, Ih = mr.create, Ch = on.create, zh = ut.create, Dh = gt.create,
|
|
9682
|
+
}) => al((t) => t instanceof e, n, !0), sl = mt.create, ll = Rt.create, bh = br.create, vh = dr.create, dl = cr.create, Fh = rn.create, Eh = ur.create, Ih = mr.create, Ch = on.create, zh = ut.create, Dh = gt.create, Sh = gr.create, Ph = we.create, Th = J.create, Rh = J.strictCreate, Oh = Fn.create, Mh = zr.create, Bh = En.create, wh = ke.create, kh = In.create, Nh = fr.create, jh = Ot.create, Vh = Mt.create, Uh = pr.create, qh = Ar.create, Lh = Dr.create, Gh = yr.create, Yh = an.create, eo = ze.create, Hh = Be.create, Wh = Bt.create, Qh = ze.createWithPreprocess, Zh = () => sl().optional(), Xh = () => ll().optional(), Kh = () => dl().optional();
|
|
9671
9683
|
var en = /* @__PURE__ */ Object.freeze({
|
|
9672
9684
|
__proto__: null,
|
|
9673
9685
|
getParsedType: at,
|
|
@@ -9728,7 +9740,7 @@ var en = /* @__PURE__ */ Object.freeze({
|
|
|
9728
9740
|
return M;
|
|
9729
9741
|
},
|
|
9730
9742
|
any: Ch,
|
|
9731
|
-
array:
|
|
9743
|
+
array: Ph,
|
|
9732
9744
|
bigint: vh,
|
|
9733
9745
|
boolean: dl,
|
|
9734
9746
|
date: Fh,
|
|
@@ -9763,7 +9775,7 @@ var en = /* @__PURE__ */ Object.freeze({
|
|
|
9763
9775
|
undefined: Eh,
|
|
9764
9776
|
union: Oh,
|
|
9765
9777
|
unknown: zh,
|
|
9766
|
-
void:
|
|
9778
|
+
void: Sh,
|
|
9767
9779
|
ZodIssueCode: b,
|
|
9768
9780
|
quotelessJson: uh,
|
|
9769
9781
|
ZodError: Le,
|
|
@@ -9821,7 +9833,7 @@ const Fy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9821
9833
|
ZodVoid: gr,
|
|
9822
9834
|
addIssueToContext: E,
|
|
9823
9835
|
any: Ch,
|
|
9824
|
-
array:
|
|
9836
|
+
array: Ph,
|
|
9825
9837
|
bigint: vh,
|
|
9826
9838
|
boolean: dl,
|
|
9827
9839
|
custom: al,
|
|
@@ -9873,7 +9885,7 @@ const Fy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9873
9885
|
undefined: Eh,
|
|
9874
9886
|
union: Oh,
|
|
9875
9887
|
unknown: zh,
|
|
9876
|
-
void:
|
|
9888
|
+
void: Sh,
|
|
9877
9889
|
z: en
|
|
9878
9890
|
}, Symbol.toStringTag, { value: "Module" })), u = /* @__PURE__ */ py(Fy);
|
|
9879
9891
|
var Ad;
|
|
@@ -10162,10 +10174,10 @@ function Dd() {
|
|
|
10162
10174
|
}
|
|
10163
10175
|
return Nn.ZodCouchMeta = e, Nn;
|
|
10164
10176
|
}
|
|
10165
|
-
var jt = {},
|
|
10166
|
-
function
|
|
10167
|
-
if (
|
|
10168
|
-
|
|
10177
|
+
var jt = {}, Sd;
|
|
10178
|
+
function Pd() {
|
|
10179
|
+
if (Sd) return jt;
|
|
10180
|
+
Sd = 1, Object.defineProperty(jt, "__esModule", { value: !0 }), jt.extractMeta = jt.ZodDartMeta = void 0;
|
|
10169
10181
|
class e {
|
|
10170
10182
|
baseUnion(i) {
|
|
10171
10183
|
return this.isBaseUnion = i.isBaseUnion, this.baseType = i.baseType, this.unionKey = i.unionKey, this.fallbackUnion = i.fallbackUnion, this;
|
|
@@ -10244,8 +10256,8 @@ function Dy() {
|
|
|
10244
10256
|
for (var c in s) c !== "default" && !Object.prototype.hasOwnProperty.call(d, c) && n(d, s, c);
|
|
10245
10257
|
};
|
|
10246
10258
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ZodMeta = void 0;
|
|
10247
|
-
const i = Dd(), r =
|
|
10248
|
-
t(Dd(), e), t(
|
|
10259
|
+
const i = Dd(), r = Pd(), o = Rd();
|
|
10260
|
+
t(Dd(), e), t(Pd(), e), t(Rd(), e);
|
|
10249
10261
|
class a {
|
|
10250
10262
|
static mongo() {
|
|
10251
10263
|
return new o.ZodMongoMeta();
|
|
@@ -10261,7 +10273,7 @@ function Dy() {
|
|
|
10261
10273
|
}(Wo)), Wo;
|
|
10262
10274
|
}
|
|
10263
10275
|
var Qo = {}, Vt = {}, Md;
|
|
10264
|
-
function
|
|
10276
|
+
function Sy() {
|
|
10265
10277
|
if (Md) return Vt;
|
|
10266
10278
|
Md = 1, Object.defineProperty(Vt, "__esModule", { value: !0 }), Vt.isObjectId = Vt.isISODateString = void 0;
|
|
10267
10279
|
function e(t, i) {
|
|
@@ -10284,7 +10296,7 @@ function Py() {
|
|
|
10284
10296
|
return Vt.isObjectId = n, Vt;
|
|
10285
10297
|
}
|
|
10286
10298
|
var Bd;
|
|
10287
|
-
function
|
|
10299
|
+
function Py() {
|
|
10288
10300
|
return Bd || (Bd = 1, function(e) {
|
|
10289
10301
|
var n = ee && ee.__createBinding || (Object.create ? function(i, r, o, a) {
|
|
10290
10302
|
a === void 0 && (a = o);
|
|
@@ -10297,7 +10309,7 @@ function Sy() {
|
|
|
10297
10309
|
}), t = ee && ee.__exportStar || function(i, r) {
|
|
10298
10310
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && n(r, i, o);
|
|
10299
10311
|
};
|
|
10300
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), t(
|
|
10312
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), t(Sy(), e);
|
|
10301
10313
|
}(Qo)), Qo;
|
|
10302
10314
|
}
|
|
10303
10315
|
var wd;
|
|
@@ -10314,7 +10326,7 @@ function y() {
|
|
|
10314
10326
|
}), t = ee && ee.__exportStar || function(i, r) {
|
|
10315
10327
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && n(r, i, o);
|
|
10316
10328
|
};
|
|
10317
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), t(zy(), e), t(Dy(), e), t(
|
|
10329
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), t(zy(), e), t(Dy(), e), t(Py(), e);
|
|
10318
10330
|
}(qo)), qo;
|
|
10319
10331
|
}
|
|
10320
10332
|
var kd;
|
|
@@ -10555,22 +10567,22 @@ function At() {
|
|
|
10555
10567
|
inclusive: e.z.boolean().nullish()
|
|
10556
10568
|
}), Un;
|
|
10557
10569
|
}
|
|
10558
|
-
var
|
|
10570
|
+
var Se = {}, Ld;
|
|
10559
10571
|
function cl() {
|
|
10560
|
-
if (Ld) return
|
|
10561
|
-
Ld = 1, Object.defineProperty(
|
|
10572
|
+
if (Ld) return Se;
|
|
10573
|
+
Ld = 1, Object.defineProperty(Se, "__esModule", { value: !0 }), Se.F_ITEM_EFFECT_CALCULATION_BASE = Se.F_ITEM_EFFECT_SCOPE = Se.F_ITEM_EFFECT_BUY_X_GET_Y_V2_PRIORITY = Se.F_ITEM_EFFECT_STRATEGY_TYPE = void 0;
|
|
10562
10574
|
const e = u;
|
|
10563
|
-
return
|
|
10575
|
+
return Se.F_ITEM_EFFECT_STRATEGY_TYPE = e.z.enum([
|
|
10564
10576
|
"SIMPLE",
|
|
10565
10577
|
"BUY_X_GET_Y",
|
|
10566
10578
|
"BUY_X_ITEM_A_GET_Y_ITEM_B",
|
|
10567
10579
|
"BUY_X_GET_Y_V2",
|
|
10568
10580
|
"COMBO",
|
|
10569
10581
|
"PRICE_CHANGE"
|
|
10570
|
-
]),
|
|
10582
|
+
]), Se.F_ITEM_EFFECT_BUY_X_GET_Y_V2_PRIORITY = e.z.enum([
|
|
10571
10583
|
"CHEAPEST_FIRST",
|
|
10572
10584
|
"MOST_EXPENSIVE_FIRST"
|
|
10573
|
-
]),
|
|
10585
|
+
]), Se.F_ITEM_EFFECT_SCOPE = e.z.enum(["ITEM", "SUB_ITEM"]), Se.F_ITEM_EFFECT_CALCULATION_BASE = e.z.enum(["SUB_ITEM", "BASE_ITEM"]), Se;
|
|
10574
10586
|
}
|
|
10575
10587
|
var xo = {}, Ze = {}, Gd;
|
|
10576
10588
|
function zn() {
|
|
@@ -10623,7 +10635,7 @@ function ul() {
|
|
|
10623
10635
|
]), Ln;
|
|
10624
10636
|
}
|
|
10625
10637
|
var Gn = {}, Wd;
|
|
10626
|
-
function
|
|
10638
|
+
function Sr() {
|
|
10627
10639
|
if (Wd) return Gn;
|
|
10628
10640
|
Wd = 1, Object.defineProperty(Gn, "__esModule", { value: !0 }), Gn.FdoUnitMeasurement = void 0;
|
|
10629
10641
|
const e = u, n = $();
|
|
@@ -10635,10 +10647,10 @@ function Pr() {
|
|
|
10635
10647
|
}), Gn;
|
|
10636
10648
|
}
|
|
10637
10649
|
var Qd;
|
|
10638
|
-
function
|
|
10650
|
+
function Pr() {
|
|
10639
10651
|
return Qd || (Qd = 1, function(e) {
|
|
10640
10652
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoStockBalance = e.FdoSkuBalance = e.FdoProductBalance = e.FdoStockChange = e.FdoSkuChange = e.FdoCountdownChange = void 0;
|
|
10641
|
-
const n = u, t = y(), i = $(), r = ul(), o =
|
|
10653
|
+
const n = u, t = y(), i = $(), r = ul(), o = Sr();
|
|
10642
10654
|
e.FdoCountdownChange = n.z.object({
|
|
10643
10655
|
key: n.z.string(),
|
|
10644
10656
|
name: n.z.string(),
|
|
@@ -10755,7 +10767,7 @@ var _d;
|
|
|
10755
10767
|
function Tr() {
|
|
10756
10768
|
return _d || (_d = 1, function(e) {
|
|
10757
10769
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoArrayedBillItem = e.FdoBillItem = e.FdoBillItemPortionBreakdown = e.FdoBillClaimantAmounts = e.FdoBillItemPortion = e.FdoBillItemStatutoryCharge = e.FdoBillItemPrintChecklistRecord = e.FdoBillItemMove = e.FdoBillSubItemRef = e.FdoBillItemVariantSelected = e.FdoItemAdjustment = e.FdoSubItemAdjustmentAllocation = e.FdoPrintBy = e.FdoKitchenStation = e.FdoBillItemIs = e.FdoBillItemRef = e.FdoBillItemStatutoryChargeRef = e.FdoBillItemTaxRef = void 0;
|
|
10758
|
-
const n = u, t = At(), i = $(), r = q(), o = cl(), a = go(), s = ne(), d =
|
|
10770
|
+
const n = u, t = At(), i = $(), r = q(), o = cl(), a = go(), s = ne(), d = Pr(), c = ho(), h = ml(), p = fo(), D = tf(), S = Dn();
|
|
10759
10771
|
e.FdoBillItemTaxRef = n.z.object({
|
|
10760
10772
|
systemCode: n.z.string(),
|
|
10761
10773
|
taxCode: n.z.string(),
|
|
@@ -10883,7 +10895,7 @@ function Tr() {
|
|
|
10883
10895
|
customer: p.FdoBillCustomerRef.nullish(),
|
|
10884
10896
|
adjustments: n.z.record(e.FdoItemAdjustment),
|
|
10885
10897
|
deletedAt: n.z.string().nullish(),
|
|
10886
|
-
taxes: n.z.record(
|
|
10898
|
+
taxes: n.z.record(S.FdoBillItemTax),
|
|
10887
10899
|
nettTotal: r.FdoDinero,
|
|
10888
10900
|
stockChange: d.FdoStockChange.nullish(),
|
|
10889
10901
|
baseTotal: r.FdoDinero.nullish(),
|
|
@@ -11468,31 +11480,31 @@ function Ao() {
|
|
|
11468
11480
|
});
|
|
11469
11481
|
}(ia)), ia;
|
|
11470
11482
|
}
|
|
11471
|
-
var
|
|
11483
|
+
var Pe = {}, lc;
|
|
11472
11484
|
function fl() {
|
|
11473
|
-
if (lc) return
|
|
11474
|
-
lc = 1, Object.defineProperty(
|
|
11485
|
+
if (lc) return Pe;
|
|
11486
|
+
lc = 1, Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.F_BILL_PERSON_CATEGORY = Pe.F_MIN_PRICE_MODE = Pe.F_DINE_IN_SERVICE_TYPE = Pe.F_BILL_STATUS = void 0;
|
|
11475
11487
|
const e = u;
|
|
11476
|
-
return
|
|
11488
|
+
return Pe.F_BILL_STATUS = e.z.enum([
|
|
11477
11489
|
"DRAFT",
|
|
11478
11490
|
"BILLED",
|
|
11479
11491
|
"REFUNDED",
|
|
11480
11492
|
"COMPLETED",
|
|
11481
11493
|
"VOIDED",
|
|
11482
11494
|
"PREORDER"
|
|
11483
|
-
]),
|
|
11495
|
+
]), Pe.F_DINE_IN_SERVICE_TYPE = e.z.enum([
|
|
11484
11496
|
"QR",
|
|
11485
11497
|
"RESERVATION",
|
|
11486
11498
|
"QUEUE",
|
|
11487
11499
|
"COUNTER",
|
|
11488
11500
|
"KIOSK"
|
|
11489
|
-
]),
|
|
11501
|
+
]), Pe.F_MIN_PRICE_MODE = e.z.enum([
|
|
11490
11502
|
"PRODUCT_ONLY"
|
|
11491
|
-
]),
|
|
11503
|
+
]), Pe.F_BILL_PERSON_CATEGORY = e.z.enum([
|
|
11492
11504
|
"ADULTS",
|
|
11493
11505
|
"CHILDREN",
|
|
11494
11506
|
"SENIOR"
|
|
11495
|
-
]),
|
|
11507
|
+
]), Pe;
|
|
11496
11508
|
}
|
|
11497
11509
|
var Kn = {}, dc;
|
|
11498
11510
|
function of() {
|
|
@@ -11889,10 +11901,10 @@ function hf() {
|
|
|
11889
11901
|
receipt: e.z.number().nullish()
|
|
11890
11902
|
}), ni;
|
|
11891
11903
|
}
|
|
11892
|
-
var ii = {},
|
|
11904
|
+
var ii = {}, Sc;
|
|
11893
11905
|
function ff() {
|
|
11894
|
-
if (
|
|
11895
|
-
|
|
11906
|
+
if (Sc) return ii;
|
|
11907
|
+
Sc = 1, Object.defineProperty(ii, "__esModule", { value: !0 }), ii.FdoBillReward = void 0;
|
|
11896
11908
|
const e = u;
|
|
11897
11909
|
return ii.FdoBillReward = e.z.object({
|
|
11898
11910
|
checked: e.z.boolean().nullish(),
|
|
@@ -11901,9 +11913,9 @@ function ff() {
|
|
|
11901
11913
|
distributeWithFeedback: e.z.boolean().nullish()
|
|
11902
11914
|
}), ii;
|
|
11903
11915
|
}
|
|
11904
|
-
var ma = {},
|
|
11916
|
+
var ma = {}, Pc;
|
|
11905
11917
|
function pf() {
|
|
11906
|
-
return
|
|
11918
|
+
return Pc || (Pc = 1, function(e) {
|
|
11907
11919
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBillVoucherIssued = e.FdoVoucherIssueTo = e.FdoBillIssued = void 0;
|
|
11908
11920
|
const n = u, t = ne();
|
|
11909
11921
|
e.FdoBillIssued = n.z.object({
|
|
@@ -11944,7 +11956,7 @@ var Rc;
|
|
|
11944
11956
|
function yf() {
|
|
11945
11957
|
return Rc || (Rc = 1, function(e) {
|
|
11946
11958
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBill = e.FdoBillPortionSummary = e.FdoBillStatutoryCharge = e.FdoBillPersonMeta = e.FdoBillPersonBreakdown = e.FdoBillPaxHolder = e.FdoBillPaxDependent = e.FdoBillQueueInfo = e.FdoBillIs = e.FdoBillInHouseDelivery = e.FdoExternalPickup = e.FdoBillQrOrder = e.FdoBillRefund = void 0;
|
|
11947
|
-
const n = y(), t = u, i = q(), r = ne(), o = Ne(), a = Ao(), s = fl(), d = of(), c = pl(), h = af(), p = sf(), D = lf(),
|
|
11959
|
+
const n = y(), t = u, i = q(), r = ne(), o = Ne(), a = Ao(), s = fl(), d = of(), c = pl(), h = af(), p = sf(), D = lf(), S = Al(), k = yl(), G = bl(), C = ml(), le = Tr(), de = mf(), Z = gf(), j = vl(), pe = hf(), be = ff(), je = Dn(), Ce = pf(), g = Af();
|
|
11948
11960
|
e.FdoBillRefund = t.z.object({
|
|
11949
11961
|
by: r.FdoEmployeeRef.nullish(),
|
|
11950
11962
|
approvedBy: r.FdoEmployeeRef.nullish(),
|
|
@@ -12030,7 +12042,7 @@ function yf() {
|
|
|
12030
12042
|
refund: e.FdoBillRefund.nullish(),
|
|
12031
12043
|
refundRecord: t.z.array(t.z.string()).nullish(),
|
|
12032
12044
|
effects: t.z.record(k.FdoFinalBillEffect).nullish(),
|
|
12033
|
-
effectGroups: t.z.array(
|
|
12045
|
+
effectGroups: t.z.array(S.FdoEffectGroup).nullish(),
|
|
12034
12046
|
reward: be.FdoBillReward.nullish(),
|
|
12035
12047
|
membership: Z.FdoBillMember.nullish(),
|
|
12036
12048
|
inHouseDelivery: e.FdoBillInHouseDelivery.nullish(),
|
|
@@ -12682,7 +12694,7 @@ function Dl() {
|
|
|
12682
12694
|
}), ci;
|
|
12683
12695
|
}
|
|
12684
12696
|
var ui = {}, Jc;
|
|
12685
|
-
function
|
|
12697
|
+
function Sl() {
|
|
12686
12698
|
if (Jc) return ui;
|
|
12687
12699
|
Jc = 1, Object.defineProperty(ui, "__esModule", { value: !0 }), ui.FdoRestaurantDriveThru = void 0;
|
|
12688
12700
|
const e = u;
|
|
@@ -12692,7 +12704,7 @@ function Pl() {
|
|
|
12692
12704
|
}), ui;
|
|
12693
12705
|
}
|
|
12694
12706
|
var mi = {}, xc;
|
|
12695
|
-
function
|
|
12707
|
+
function Pl() {
|
|
12696
12708
|
if (xc) return mi;
|
|
12697
12709
|
xc = 1, Object.defineProperty(mi, "__esModule", { value: !0 }), mi.FdoRestaurantPickup = void 0;
|
|
12698
12710
|
const e = u, n = Or(), t = Ne(), i = Ao();
|
|
@@ -12717,10 +12729,10 @@ function Tl() {
|
|
|
12717
12729
|
}), gi;
|
|
12718
12730
|
}
|
|
12719
12731
|
var $c;
|
|
12720
|
-
function
|
|
12732
|
+
function Sn() {
|
|
12721
12733
|
return $c || ($c = 1, function(e) {
|
|
12722
12734
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoRestaurant = e.FdoRestaurantQueueSettings = e.FdoRemoteSupport = void 0;
|
|
12723
|
-
const n = y(), t = u, i = kt(), r = Il(), o = Cl(), a = zl(), s = Dl(), d =
|
|
12735
|
+
const n = y(), t = u, i = kt(), r = Il(), o = Cl(), a = zl(), s = Dl(), d = Sl(), c = Pl(), h = Tl();
|
|
12724
12736
|
e.FdoRemoteSupport = t.z.object({
|
|
12725
12737
|
deviceName: t.z.string(),
|
|
12726
12738
|
anydeskId: t.z.string().nullish(),
|
|
@@ -12788,10 +12800,10 @@ function Cf() {
|
|
|
12788
12800
|
]), Yt;
|
|
12789
12801
|
}
|
|
12790
12802
|
var tu;
|
|
12791
|
-
function
|
|
12803
|
+
function Pn() {
|
|
12792
12804
|
return tu || (tu = 1, function(e) {
|
|
12793
12805
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoVoucherClaim = e.FdoTransferHistory = e.FdoVoucherClaimHistory = e.FdoVoucherRef = e.FdoMemberRewardOption = e.FdoFeedbackRewardOption = e.FdoSimpleClaimOption = e.FdoMultipleUseVoucherOption = e.FdoAfterSalesClaimOption = e.FdoBaseVoucherOption = void 0;
|
|
12794
|
-
const n = y(), t = u, i = kt(), r =
|
|
12806
|
+
const n = y(), t = u, i = kt(), r = Sn(), o = Fl(), a = Cf(), s = vo(), d = $(), c = Mr();
|
|
12795
12807
|
e.FdoBaseVoucherOption = t.z.object({
|
|
12796
12808
|
type: a.F_VOUCHER_TYPE
|
|
12797
12809
|
}).describe(n.ZodMeta.dart().baseUnion({
|
|
@@ -12902,7 +12914,7 @@ var iu;
|
|
|
12902
12914
|
function Df() {
|
|
12903
12915
|
return iu || (iu = 1, function(e) {
|
|
12904
12916
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoBindMemberCardReq = e.FdtoJoinMemberReq = e.FdtoGetCustomerRes = e.FdtoGetCustomerReq = e.FdtoCustomer = e.FdtoCustomerMember = e.FdtoMemberTierInfo = e.FdtoCustomerMemberTitle = void 0;
|
|
12905
|
-
const n = y(), t = u, i = bo(), r = Fo(), o = Br(), a =
|
|
12917
|
+
const n = y(), t = u, i = bo(), r = Fo(), o = Br(), a = Pn(), s = zf();
|
|
12906
12918
|
e.FdtoCustomerMemberTitle = t.z.object({
|
|
12907
12919
|
_id: t.z.string(),
|
|
12908
12920
|
name: t.z.string(),
|
|
@@ -12958,10 +12970,10 @@ function Df() {
|
|
|
12958
12970
|
}(ha)), ha;
|
|
12959
12971
|
}
|
|
12960
12972
|
var Da = {}, fi = {}, ru;
|
|
12961
|
-
function
|
|
12973
|
+
function Sf() {
|
|
12962
12974
|
if (ru) return fi;
|
|
12963
12975
|
ru = 1, Object.defineProperty(fi, "__esModule", { value: !0 }), fi.FdoSkuAdjustmentAmount = void 0;
|
|
12964
|
-
const e = u, n = $(), t = ul(), i =
|
|
12976
|
+
const e = u, n = $(), t = ul(), i = Sr();
|
|
12965
12977
|
return fi.FdoSkuAdjustmentAmount = e.z.object({
|
|
12966
12978
|
type: t.F_SKU_ADJUSTMENT_TYPE,
|
|
12967
12979
|
remark: e.z.string().nullish(),
|
|
@@ -12973,7 +12985,7 @@ var ou;
|
|
|
12973
12985
|
function Co() {
|
|
12974
12986
|
return ou || (ou = 1, function(e) {
|
|
12975
12987
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoInventoryAdjustment = e.FdoSkuAdjustment = void 0;
|
|
12976
|
-
const n = u, t = y(), i = $(), r =
|
|
12988
|
+
const n = u, t = y(), i = $(), r = Sf();
|
|
12977
12989
|
e.FdoSkuAdjustment = n.z.object({
|
|
12978
12990
|
sku: n.z.any(),
|
|
12979
12991
|
fromBalance: i.FdoDecimal,
|
|
@@ -12987,11 +12999,11 @@ function Co() {
|
|
|
12987
12999
|
}).describe(t.ZodMeta.couch().repo("inventoryAdjustment").build());
|
|
12988
13000
|
}(Da)), Da;
|
|
12989
13001
|
}
|
|
12990
|
-
var
|
|
12991
|
-
function
|
|
13002
|
+
var Sa = {}, au;
|
|
13003
|
+
function Pf() {
|
|
12992
13004
|
return au || (au = 1, function(e) {
|
|
12993
13005
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoUpdateStockBalanceRes = e.FdtoOutOfStockError = void 0;
|
|
12994
|
-
const n = u, t =
|
|
13006
|
+
const n = u, t = Pr(), i = Co();
|
|
12995
13007
|
e.FdtoOutOfStockError = n.z.object({
|
|
12996
13008
|
id: n.z.string(),
|
|
12997
13009
|
type: n.z.string(),
|
|
@@ -13002,9 +13014,9 @@ function Sf() {
|
|
|
13002
13014
|
adjustment: i.FdoInventoryAdjustment,
|
|
13003
13015
|
outOfStock: n.z.array(e.FdtoOutOfStockError)
|
|
13004
13016
|
});
|
|
13005
|
-
}(
|
|
13017
|
+
}(Sa)), Sa;
|
|
13006
13018
|
}
|
|
13007
|
-
var
|
|
13019
|
+
var Pa = {}, Je = {}, su;
|
|
13008
13020
|
function Tf() {
|
|
13009
13021
|
if (su) return Je;
|
|
13010
13022
|
su = 1, Object.defineProperty(Je, "__esModule", { value: !0 }), Je.F_PAYMENT_ISSUER = Je.F_PAYMENT_NAME = Je.F_ONLINE_PAYMENT_CHANNEL_TYPE = void 0;
|
|
@@ -13152,7 +13164,7 @@ function Rf() {
|
|
|
13152
13164
|
end: t.z.date(),
|
|
13153
13165
|
restaurantId: t.z.string().superRefine(n.isObjectId).nullish()
|
|
13154
13166
|
});
|
|
13155
|
-
}(
|
|
13167
|
+
}(Pa)), Pa;
|
|
13156
13168
|
}
|
|
13157
13169
|
var Ta = {}, Ra = {}, pi = {}, du;
|
|
13158
13170
|
function Of() {
|
|
@@ -13208,12 +13220,12 @@ var mu;
|
|
|
13208
13220
|
function Ry() {
|
|
13209
13221
|
return mu || (mu = 1, function(e) {
|
|
13210
13222
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoRegisterMachineReq = e.FdtoGenerateCreditOtpRes = e.FdtoGenerateCreditOtpReq = e.FdtoCompileReportWidgetRes = e.FdtoReportWidget = e.F_WIDGET_WIDTH = e.F_WIDGET_VISUALIZATION_TYPE = e.FdtoCompileReportReq = e.FdtoDateRangeReq = e.FdtoCompileCloseCounterReceiptReq = e.FdtoCanRes = e.FdtoCanPermissionRes = e.FdtoCanReq = e.FdtoSkuConvertRes = e.FdtoSkuConversionBalancesRes = e.FdtoSkuConversionBalance = e.FdtoUpdateStockBalanceReq = e.FdtoDeductableItem = e.FdtoDeductableSubItem = e.FdtoSpecialAdjustmentRes = e.FdtoSpecialAdjustmentReq = e.F_QUERY_ENGINE_LOG_TYPE = e.FdtoFeedmeEndpointReq = e.FdtoAdjustReq = e.FdtoCreateEffectsReq = e.FdtoRemoveEffectsReq = e.FdtoBillApplyDepositReq = e.FdtoApplyMemberReq = e.FdtoCreateBillItemAdjustmentReq = e.FdtoChangePaymentMethodReq = e.FdtoItemKitchenReq = e.FdtoServeItemsReq = e.FdtoPrintChecklistReq = e.FdtoSendItemsReq = e.FdtoMoveRes = e.FdtoMoveReq = e.FdtoRefundRes = e.FdtoVoidItemsReq = e.FdtoVoidItemsWithQuantityReq = e.FdoVoidItemQuantity = e.FdtoStockItem = e.FdtoRemoveTaxWaiverReq = e.FdtoCreateTaxWaiverReq = e.FdtoCreateOrUpdateItemsReq = e.FdtoItemBalanceMapping = e.FdtoItemBalanceInfo = e.FdtoItemVariantBalanceInfo = e.FdtoCreateOrUpdateItemsRes = e.FdtoCreatePaymentReq = e.FdtoRefundReq = void 0, e.FdtoBill = e.FdtoRectifyBillItemRes = e.FdtoCreateBill = e.FdtoUpdateItemsInventoryReq = e.FdtoCreateItem = e.FdtoFlatBill = e.FdtoRestaurantFeatures = e.FdtoRefetchEPaymentReq = e.FdtoRefundMemberStorePurchaseReq = e.FdtoCreateMemberStorePurchaseReq = e.FdtoApplyVoucherClaimReq = e.FdtoRejectOrderReq = e.FdtoAcceptOrderReq = e.FdtoDemoRestaurantRes = e.FdtoUpdateVersionReq = e.FdtoPosCurrentTimeRes = void 0;
|
|
13211
|
-
const n = y(), t = u, i = At(), r = Rr(), o = Df(), a = $(), s = q(), d = ne(), c = Co(), h =
|
|
13223
|
+
const n = y(), t = u, i = At(), r = Rr(), o = Df(), a = $(), s = q(), d = ne(), c = Co(), h = Pf(), p = Pr(), D = Ne(), S = Rf(), k = Il(), G = Mf(), C = yf(), le = fo(), de = pl(), Z = yl(), j = Tr(), pe = vl(), be = Dn();
|
|
13212
13224
|
e.FdtoRefundReq = t.z.object({
|
|
13213
13225
|
bill: C.FdoBill,
|
|
13214
13226
|
refundRecord: t.z.array(C.FdoBill),
|
|
13215
13227
|
items: t.z.record(t.z.number()),
|
|
13216
|
-
payment:
|
|
13228
|
+
payment: S.FdtoCreatePayment,
|
|
13217
13229
|
stockItems: t.z.record(t.z.number()),
|
|
13218
13230
|
refundedBy: d.FdoEmployeeRef,
|
|
13219
13231
|
approvedBy: d.FdoEmployeeRef,
|
|
@@ -13882,10 +13894,10 @@ function Uy() {
|
|
|
13882
13894
|
quotedAt: n.z.string().superRefine(e.isISODateString)
|
|
13883
13895
|
}), K;
|
|
13884
13896
|
}
|
|
13885
|
-
var ve = {},
|
|
13897
|
+
var ve = {}, Su;
|
|
13886
13898
|
function qy() {
|
|
13887
|
-
if (
|
|
13888
|
-
|
|
13899
|
+
if (Su) return ve;
|
|
13900
|
+
Su = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.F_DEPOSIT_AUDIT_ACTION = ve.F_DEPOSIT_EXCESS_HANDLING = ve.F_DEPOSIT_AFTER_TARGET_DATE = ve.F_DEPOSIT_APPLIED_TO_TYPE = ve.F_DEPOSIT_STATUS = void 0;
|
|
13889
13901
|
const e = u;
|
|
13890
13902
|
return ve.F_DEPOSIT_STATUS = e.z.enum([
|
|
13891
13903
|
"active",
|
|
@@ -13906,10 +13918,10 @@ function qy() {
|
|
|
13906
13918
|
"paid"
|
|
13907
13919
|
]), ve;
|
|
13908
13920
|
}
|
|
13909
|
-
var Wt = {}, xe = {},
|
|
13921
|
+
var Wt = {}, xe = {}, Pu;
|
|
13910
13922
|
function Nt() {
|
|
13911
|
-
if (
|
|
13912
|
-
|
|
13923
|
+
if (Pu) return xe;
|
|
13924
|
+
Pu = 1, Object.defineProperty(xe, "__esModule", { value: !0 }), xe.F_E_INVOICE_MERCHANT_TYPE = xe.F_E_INVOICE_ID_TYPE = xe.F_E_INVOICE_PROFILE_TYPE = void 0;
|
|
13913
13925
|
const e = u;
|
|
13914
13926
|
return xe.F_E_INVOICE_PROFILE_TYPE = e.z.enum([
|
|
13915
13927
|
"individual",
|
|
@@ -13963,7 +13975,7 @@ function Bl() {
|
|
|
13963
13975
|
]), Re.F_EINVOICE_TYPE = e.z.enum(["Individual", "Consolidated"]), Re;
|
|
13964
13976
|
}
|
|
13965
13977
|
var Ua = {}, Ou;
|
|
13966
|
-
function
|
|
13978
|
+
function So() {
|
|
13967
13979
|
return Ou || (Ou = 1, function(e) {
|
|
13968
13980
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMyEInvoiceMerchantProfileSchema = e.FdoMyEInvoiceMerchantProfileDoc = e.FdoMyEInvoiceMerchantProfile = e.FdoMyEInvoiceMarketingProfile = e.FdoMyEInvoiceRestaurantProfile = e.FdoMyEInvoiceMerchantBaseProfile = e.FdoMyEInvoiceSubmissionSchedule = e.FdoMyEInvoiceSetting = e.FdoMyEInvoiceItemInfo = e.FdoMyEInvoiceCustomerProfileSchema = e.FdoMyEInvoiceCustomerProfileDoc = e.FdoMyEInvoiceCustomerProfile = e.FdoMyEInvoiceCompanyProfile = e.FdoMyEInvoiceIndividualProfile = e.FdoEInvoiceIndividualIdentity = e.FdoMyEInvoiceCustomerBaseProfile = void 0;
|
|
13969
13981
|
const n = y(), t = u, i = Do(), r = Nt();
|
|
@@ -14144,7 +14156,7 @@ var wu;
|
|
|
14144
14156
|
function Ly() {
|
|
14145
14157
|
return wu || (wu = 1, function(e) {
|
|
14146
14158
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoEInvoiceQueue = e.FdoEInvoiceQueueTransaction = void 0;
|
|
14147
|
-
const n = y(), t = u, i = Bl(), r =
|
|
14159
|
+
const n = y(), t = u, i = Bl(), r = So(), o = wl(), a = kl();
|
|
14148
14160
|
e.FdoEInvoiceQueueTransaction = t.z.object({
|
|
14149
14161
|
transactionId: t.z.string(),
|
|
14150
14162
|
status: i.F_EINVOICE_STATUS,
|
|
@@ -14165,7 +14177,7 @@ var Ga = {}, ku;
|
|
|
14165
14177
|
function kf() {
|
|
14166
14178
|
return ku || (ku = 1, function(e) {
|
|
14167
14179
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMyEInvoiceSubmission = e.FdoMyEInvoiceSubmissionDocCustomerRef = e.FdoMyEInvoiceSubmissionDoc = e.FdoMyEInvoiceSubmissionDocBillRef = e.FdoMyEInvoiceSubmissionDocBillItemRef = e.FdoMyEInvoiceSubmissionDocChargeRef = void 0;
|
|
14168
|
-
const n = y(), t = u, i = q(), r = Bl(), o =
|
|
14180
|
+
const n = y(), t = u, i = q(), r = Bl(), o = So();
|
|
14169
14181
|
e.FdoMyEInvoiceSubmissionDocChargeRef = t.z.object({
|
|
14170
14182
|
chargable: i.FdoDinero,
|
|
14171
14183
|
rate: i.FdoDinero,
|
|
@@ -14235,7 +14247,7 @@ var _e = {}, Nu;
|
|
|
14235
14247
|
function Gy() {
|
|
14236
14248
|
if (Nu) return _e;
|
|
14237
14249
|
Nu = 1, Object.defineProperty(_e, "__esModule", { value: !0 }), _e.FdtoMySubmitEInvoice = _e.FdtoMyEInvoice = _e.FdtoMyMsicCategory = void 0;
|
|
14238
|
-
const e = y(), n = u, t = Nt(), i =
|
|
14250
|
+
const e = y(), n = u, t = Nt(), i = So(), r = kf();
|
|
14239
14251
|
return _e.FdtoMyMsicCategory = n.z.object({
|
|
14240
14252
|
code: n.z.string(),
|
|
14241
14253
|
description: n.z.string(),
|
|
@@ -14562,15 +14574,15 @@ function Uf() {
|
|
|
14562
14574
|
"CANCEL"
|
|
14563
14575
|
]), Di;
|
|
14564
14576
|
}
|
|
14565
|
-
var
|
|
14577
|
+
var Si = {}, Ku;
|
|
14566
14578
|
function qf() {
|
|
14567
|
-
if (Ku) return
|
|
14568
|
-
Ku = 1, Object.defineProperty(
|
|
14579
|
+
if (Ku) return Si;
|
|
14580
|
+
Ku = 1, Object.defineProperty(Si, "__esModule", { value: !0 }), Si.F_INVENTORY_SUPPLIER_TYPE = void 0;
|
|
14569
14581
|
const e = u;
|
|
14570
|
-
return
|
|
14582
|
+
return Si.F_INVENTORY_SUPPLIER_TYPE = e.z.enum([
|
|
14571
14583
|
"restaurant",
|
|
14572
14584
|
"warehouse"
|
|
14573
|
-
]),
|
|
14585
|
+
]), Si;
|
|
14574
14586
|
}
|
|
14575
14587
|
var Ka = {}, Ju;
|
|
14576
14588
|
function xy() {
|
|
@@ -14665,16 +14677,16 @@ function _y() {
|
|
|
14665
14677
|
});
|
|
14666
14678
|
}(Ja)), Ja;
|
|
14667
14679
|
}
|
|
14668
|
-
var
|
|
14680
|
+
var Pi = {}, $u;
|
|
14669
14681
|
function $y() {
|
|
14670
|
-
if ($u) return
|
|
14671
|
-
$u = 1, Object.defineProperty(
|
|
14682
|
+
if ($u) return Pi;
|
|
14683
|
+
$u = 1, Object.defineProperty(Pi, "__esModule", { value: !0 }), Pi.F_MAIL_EMIT = void 0;
|
|
14672
14684
|
const e = u;
|
|
14673
|
-
return
|
|
14685
|
+
return Pi.F_MAIL_EMIT = e.z.enum([
|
|
14674
14686
|
"sendMail",
|
|
14675
14687
|
"fromBackend",
|
|
14676
14688
|
"infoDelivery"
|
|
14677
|
-
]),
|
|
14689
|
+
]), Pi;
|
|
14678
14690
|
}
|
|
14679
14691
|
var Ti = {}, em;
|
|
14680
14692
|
function Lf() {
|
|
@@ -14814,7 +14826,7 @@ function Zf() {
|
|
|
14814
14826
|
]), ki;
|
|
14815
14827
|
}
|
|
14816
14828
|
var Oe = {}, cm;
|
|
14817
|
-
function
|
|
14829
|
+
function Po() {
|
|
14818
14830
|
if (cm) return Oe;
|
|
14819
14831
|
cm = 1, Object.defineProperty(Oe, "__esModule", { value: !0 }), Oe.F_NOTIFICATION_TYPE = Oe.F_FCM_METHOD_TYPE = Oe.F_EMAIL_PROVIDER = Oe.F_PHONE_PROVIDER = void 0;
|
|
14820
14832
|
const e = u;
|
|
@@ -15245,9 +15257,9 @@ function cb() {
|
|
|
15245
15257
|
});
|
|
15246
15258
|
}(ts)), ts;
|
|
15247
15259
|
}
|
|
15248
|
-
var is = {},
|
|
15260
|
+
var is = {}, Sm;
|
|
15249
15261
|
function ub() {
|
|
15250
|
-
return
|
|
15262
|
+
return Sm || (Sm = 1, function(e) {
|
|
15251
15263
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoPromotion = e.FdoPromotionGameConfig = void 0;
|
|
15252
15264
|
const n = y(), t = u, i = Mr();
|
|
15253
15265
|
e.FdoPromotionGameConfig = t.z.object({
|
|
@@ -15265,10 +15277,10 @@ function ub() {
|
|
|
15265
15277
|
}).describe(n.ZodMeta.couch().repo("promotion").build());
|
|
15266
15278
|
}(is)), is;
|
|
15267
15279
|
}
|
|
15268
|
-
var rs = {}, nt = {},
|
|
15280
|
+
var rs = {}, nt = {}, Pm;
|
|
15269
15281
|
function _f() {
|
|
15270
|
-
if (
|
|
15271
|
-
|
|
15282
|
+
if (Pm) return nt;
|
|
15283
|
+
Pm = 1, Object.defineProperty(nt, "__esModule", { value: !0 }), nt.F_ASSET_KEY = nt.F_ASSET_GROUP_KEY = nt.F_ASSET_TYPE = void 0;
|
|
15272
15284
|
const e = u;
|
|
15273
15285
|
return nt.F_ASSET_TYPE = e.z.enum(["image", "lottie"]), nt.F_ASSET_GROUP_KEY = e.z.enum(["pos", "portal"]), nt.F_ASSET_KEY = e.z.enum([
|
|
15274
15286
|
"activeMascotDark",
|
|
@@ -15544,7 +15556,7 @@ var jm;
|
|
|
15544
15556
|
function ip() {
|
|
15545
15557
|
return jm || (jm = 1, function(e) {
|
|
15546
15558
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoRestaurantSetting = e.FdoOrderSettings = e.FdoCurrencyExchangeRate = e.FdoEInvoiceConfig = e.FdoEInvoiceConfigThailand = e.FdoEInvoiceConfigPakistan = e.FdoCustomerDisplayImageSetting = e.FdoDiscountRule = e.FdoReasonTemplate = e.FdoCustomItemTaxSetting = e.FdoFeedmeTerminalSetting = e.FdoEghlTerminalSetting = e.FdoTerminalSetting = e.FdoPrinterServerSetting = e.FdoQueueQrSetting = e.FdoDynamicQrSetting = e.FdoPrinterSetting = e.FdoAccountingSetting = void 0;
|
|
15547
|
-
const n = y(), t = u, i = Jh(), r = Al(), o = El(), a = $(), s = zo(), d = q(), c = zl(), h = Dl(), p =
|
|
15559
|
+
const n = y(), t = u, i = Jh(), r = Al(), o = El(), a = $(), s = zo(), d = q(), c = zl(), h = Dl(), p = Sl(), D = Pl(), S = Tl(), k = Rl(), G = Cl(), C = np();
|
|
15548
15560
|
e.FdoAccountingSetting = t.z.object({
|
|
15549
15561
|
autoCount: i.FdoAutoCountExporterConfig
|
|
15550
15562
|
}), e.FdoPrinterSetting = t.z.object({
|
|
@@ -15618,7 +15630,7 @@ function ip() {
|
|
|
15618
15630
|
acceptQueue: t.z.boolean().nullish(),
|
|
15619
15631
|
inHouseDelivery: c.FdoRestaurantInHouseDelivery.nullish(),
|
|
15620
15632
|
feedmeDelivery: c.FdoRestaurantFeedmeDelivery.nullish(),
|
|
15621
|
-
takeaway:
|
|
15633
|
+
takeaway: S.FdoRestaurantTakeaway.nullish(),
|
|
15622
15634
|
driveThru: p.FdoRestaurantDriveThru.nullish(),
|
|
15623
15635
|
pickup: D.FdoRestaurantPickup.nullish(),
|
|
15624
15636
|
dineIn: h.FdoRestaurantDineIn.nullish(),
|
|
@@ -15938,7 +15950,7 @@ var xi = {}, _m;
|
|
|
15938
15950
|
function zb() {
|
|
15939
15951
|
if (_m) return xi;
|
|
15940
15952
|
_m = 1, Object.defineProperty(xi, "__esModule", { value: !0 }), xi.FdoInventoryBinding = void 0;
|
|
15941
|
-
const e = u, n = Vf(), t = $(), i =
|
|
15953
|
+
const e = u, n = Vf(), t = $(), i = Sr();
|
|
15942
15954
|
return xi.FdoInventoryBinding = e.z.object({
|
|
15943
15955
|
type: n.F_INVENTORY_BINDING_TYPE,
|
|
15944
15956
|
id: e.z.string(),
|
|
@@ -15975,7 +15987,7 @@ var eg;
|
|
|
15975
15987
|
function Gl() {
|
|
15976
15988
|
return eg || (eg = 1, function(e) {
|
|
15977
15989
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoPurchaseOrder = e.FdoDeliveryConfirmation = e.FdoPurchaseOrderReceived = e.FdoPurchaseOrderRequestRef = e.FdoPurchaseOrderItem = e.FdoPurchaseOrderSeqNo = void 0;
|
|
15978
|
-
const n = u, t = y(), i = $(), r = q(), o = ne(), a =
|
|
15990
|
+
const n = u, t = y(), i = $(), r = q(), o = ne(), a = Sr(), s = Uf(), d = sp();
|
|
15979
15991
|
e.FdoPurchaseOrderSeqNo = n.z.object({
|
|
15980
15992
|
no: n.z.number()
|
|
15981
15993
|
}), e.FdoPurchaseOrderItem = n.z.object({
|
|
@@ -16016,7 +16028,7 @@ var tg;
|
|
|
16016
16028
|
function Db() {
|
|
16017
16029
|
if (tg) return xt;
|
|
16018
16030
|
tg = 1, Object.defineProperty(xt, "__esModule", { value: !0 }), xt.FdtoReceiveStockResult = xt.FdtoReceiveStockOption = void 0;
|
|
16019
|
-
const e = u, n = Gl(), t =
|
|
16031
|
+
const e = u, n = Gl(), t = Pr(), i = Co();
|
|
16020
16032
|
return xt.FdtoReceiveStockOption = e.z.object({
|
|
16021
16033
|
stock: t.FdoStockBalance,
|
|
16022
16034
|
purchaseOrder: n.FdoPurchaseOrder,
|
|
@@ -16028,7 +16040,7 @@ function Db() {
|
|
|
16028
16040
|
}), xt;
|
|
16029
16041
|
}
|
|
16030
16042
|
var ps = {}, ng;
|
|
16031
|
-
function
|
|
16043
|
+
function Sb() {
|
|
16032
16044
|
return ng || (ng = 1, function(e) {
|
|
16033
16045
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoLicenseCatalog = e.FdoLicenseLog = e.FdoLicenseOrder = e.FdoLicensePromoCode = e.FdoLicensePromoCodeAdjustTotal = e.FdoLicensePromoCodeBuyXAdjustY = e.FdoLicenseBasePromoCode = e.FdoLicensePromotionApply = e.FdoContainProductCondition = e.FdoLicenseBasePromotionCondition = e.FdoLicenseOrderAgentRef = e.FdoLicenseCart = e.FdoLicenseProduct = e.FdoLicenseProductPlan = void 0;
|
|
16034
16046
|
const n = y(), t = u, i = kt(), r = q(), o = Nl(), a = At(), s = ql(), d = Eo();
|
|
@@ -16133,7 +16145,7 @@ function Pb() {
|
|
|
16133
16145
|
}(ps)), ps;
|
|
16134
16146
|
}
|
|
16135
16147
|
var As = {}, ig;
|
|
16136
|
-
function
|
|
16148
|
+
function Pb() {
|
|
16137
16149
|
return ig || (ig = 1, function(e) {
|
|
16138
16150
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoPhoneNumberAndPassword = e.FdoBusinessExpiredDate = e.FdoRestaurantExpiredDate = e.FdtoLicenseUpdate = e.FdtoLicenseVerifySSO = e.FdtoLicenseSSOLogin = void 0;
|
|
16139
16151
|
const n = u, t = ql();
|
|
@@ -16161,7 +16173,7 @@ var _i = {}, rg;
|
|
|
16161
16173
|
function Yl() {
|
|
16162
16174
|
if (rg) return _i;
|
|
16163
16175
|
rg = 1, Object.defineProperty(_i, "__esModule", { value: !0 }), _i.FdoCreditTransaction = void 0;
|
|
16164
|
-
const e = u, n =
|
|
16176
|
+
const e = u, n = Sn(), t = kt(), i = Br(), r = Lf(), o = y(), a = bo();
|
|
16165
16177
|
return _i.FdoCreditTransaction = e.z.object({
|
|
16166
16178
|
_id: e.z.string().superRefine(o.isObjectId),
|
|
16167
16179
|
business: e.z.string().superRefine(o.isObjectId),
|
|
@@ -16237,7 +16249,7 @@ var bs = {}, ag;
|
|
|
16237
16249
|
function Rb() {
|
|
16238
16250
|
return ag || (ag = 1, function(e) {
|
|
16239
16251
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoPhoneNotificationOption = e.FdtoBaseNotificationOption = e.FdtoNotificationResponse = void 0;
|
|
16240
|
-
const n = u, t =
|
|
16252
|
+
const n = u, t = Po();
|
|
16241
16253
|
e.FdtoNotificationResponse = n.z.object({
|
|
16242
16254
|
message: n.z.string(),
|
|
16243
16255
|
phone: n.z.string()
|
|
@@ -16253,7 +16265,7 @@ var vs = {}, sg;
|
|
|
16253
16265
|
function Ob() {
|
|
16254
16266
|
return sg || (sg = 1, function(e) {
|
|
16255
16267
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoSettlement = e.FdoSettlementBeneficiaryBank = void 0;
|
|
16256
|
-
const n = u, t = y(), i = q(), r =
|
|
16268
|
+
const n = u, t = y(), i = q(), r = Sn();
|
|
16257
16269
|
e.FdoSettlementBeneficiaryBank = n.z.object({
|
|
16258
16270
|
holderName: n.z.string(),
|
|
16259
16271
|
name: n.z.string(),
|
|
@@ -16292,7 +16304,7 @@ var Fs = {}, dg;
|
|
|
16292
16304
|
function Bb() {
|
|
16293
16305
|
return dg || (dg = 1, function(e) {
|
|
16294
16306
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoVerifier = e.FdoPhoneVerifierPriorityMethod = e.FdoFirebasePhoneVerifierPriorityMethod = e.FdoPhoneVerifierOption = e.FdoFirebasePhoneVerifierMethod = e.FdoCustomPhoneVerifierPriorityMethod = e.FdoCustomPhoneVerifierMethod = e.FdoVerifyOtpResponse = e.FdoBasePhoneVerifierPriorityMethod = e.FdoBasePhoneVerifierMethod = e.FdoEmailVerifierOption = e.FdoBaseVerifierSend = e.FdoBaseVerifierOption = void 0;
|
|
16295
|
-
const n = y(), t = u, i =
|
|
16307
|
+
const n = y(), t = u, i = Po(), r = Ll();
|
|
16296
16308
|
e.FdoBaseVerifierOption = t.z.object({
|
|
16297
16309
|
type: r.F_VERIFIER_TYPE
|
|
16298
16310
|
}).describe(n.ZodMeta.dart().baseUnion({
|
|
@@ -16367,7 +16379,7 @@ var Es = {}, cg;
|
|
|
16367
16379
|
function wb() {
|
|
16368
16380
|
return cg || (cg = 1, function(e) {
|
|
16369
16381
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoNotificationSendResponse = e.FdtoNotificationSend = e.FdtoFCMNotificationSendOption = e.FdtoPhoneNotificationSendOption = e.FdtoBaseNotificationSendOption = e.FdtoPhoneVerifierVerify = e.FdtoPhoneVerifierSend = e.FdtoFirebasePhoneVerifierNewMethod = e.FdtoFirebasePhoneVerifierVerify = e.FdtoFirebasePhoneVerifierSend = e.FdtoCustomPhoneVerifierNewMethod = e.FdtoCustomPhoneVerifierVerify = e.FdtoCustomPhoneVerifierSend = e.FdtoBasePhoneVerifierVerify = e.FdtoBasePhoneVerifierSend = e.FdtoEmailVerifierVerify = e.FdtoEmailVerifierSend = e.FdtoVerifierVerify = e.FdtoVerifierSend = e.FdtoBaseVerifierVerify = void 0;
|
|
16370
|
-
const n = u, t =
|
|
16382
|
+
const n = u, t = Po(), i = Ll();
|
|
16371
16383
|
e.FdtoBaseVerifierVerify = n.z.object({
|
|
16372
16384
|
type: i.F_VERIFIER_TYPE,
|
|
16373
16385
|
target: n.z.string()
|
|
@@ -16475,7 +16487,7 @@ var Cs = {}, gg;
|
|
|
16475
16487
|
function jb() {
|
|
16476
16488
|
return gg || (gg = 1, function(e) {
|
|
16477
16489
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.EberUser = e.EberCustomerOverview = e.EberCustomer = e.EberGetCustomerInfoDto = e.EberIssuePointDto = e.EberGetUserInfo = e.EberBaseDto = void 0;
|
|
16478
|
-
const n = y(), t = u, i = Br(), r =
|
|
16490
|
+
const n = y(), t = u, i = Br(), r = Pn(), o = Fo();
|
|
16479
16491
|
e.EberBaseDto = t.z.object({
|
|
16480
16492
|
restaurantId: t.z.string().superRefine(n.isObjectId)
|
|
16481
16493
|
}), e.EberGetUserInfo = e.EberBaseDto.extend({
|
|
@@ -16582,7 +16594,7 @@ var Ds = {}, fg;
|
|
|
16582
16594
|
function Hl() {
|
|
16583
16595
|
return fg || (fg = 1, function(e) {
|
|
16584
16596
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoStoreTransaction = e.FdoStoreTransactionRefundInfo = e.FdoTitleAcquired = e.FdoStoreOption = e.FdoBundleCategory = e.FdoStoreBundle = e.FdoStoreBundleClient = e.FdoBundleTaxTotal = e.FdoStoreBundleTaxSetting = e.FdoTopupCountCondition = e.FdoBaseStoreCondition = e.FdoCreditItem = e.FdoTitleItem = void 0;
|
|
16585
|
-
const n = y(), t = u, i = vo(), r = kt(), o =
|
|
16597
|
+
const n = y(), t = u, i = vo(), r = kt(), o = Sn(), a = Br(), s = Pn(), d = jl(), c = $(), h = q(), p = po(), D = Yl(), S = Ol();
|
|
16586
16598
|
e.FdoTitleItem = t.z.object({
|
|
16587
16599
|
id: t.z.string(),
|
|
16588
16600
|
dayToExpire: t.z.number()
|
|
@@ -16625,7 +16637,7 @@ function Hl() {
|
|
|
16625
16637
|
}), e.FdoStoreOption = t.z.object({
|
|
16626
16638
|
categories: t.z.array(e.FdoBundleCategory),
|
|
16627
16639
|
inclusiveTaxes: t.z.array(p.FdoTaxInclusion).nullish(),
|
|
16628
|
-
company:
|
|
16640
|
+
company: S.FdoCompanySSM
|
|
16629
16641
|
}), e.FdoTitleAcquired = t.z.object({
|
|
16630
16642
|
_id: t.z.string(),
|
|
16631
16643
|
name: t.z.string(),
|
|
@@ -16640,7 +16652,7 @@ function Hl() {
|
|
|
16640
16652
|
ref: t.z.string(),
|
|
16641
16653
|
business: t.z.string().superRefine(n.isObjectId),
|
|
16642
16654
|
pf_business: t.z.lazy(() => r.FdoBusiness).nullish().describe(n.ZodMeta.mongo().populate({ fromCollection: "Businesses", localField: "business" }).build()),
|
|
16643
|
-
company:
|
|
16655
|
+
company: S.FdoCompanySSM,
|
|
16644
16656
|
restaurant: t.z.string().superRefine(n.isObjectId).nullish(),
|
|
16645
16657
|
pf_restaurant: t.z.lazy(() => o.FdoRestaurant).nullish().describe(n.ZodMeta.mongo().populate({ fromCollection: "Restaurants", localField: "restaurant" }).build()),
|
|
16646
16658
|
member: t.z.string().superRefine(n.isObjectId),
|
|
@@ -16659,11 +16671,11 @@ function Hl() {
|
|
|
16659
16671
|
}).describe(n.ZodMeta.mongo().repo("StoreTransactions").build());
|
|
16660
16672
|
}(Ds)), Ds;
|
|
16661
16673
|
}
|
|
16662
|
-
var
|
|
16674
|
+
var Ss = {}, pg;
|
|
16663
16675
|
function Ub() {
|
|
16664
16676
|
return pg || (pg = 1, function(e) {
|
|
16665
16677
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMemberStorePurchase = e.FdtoGetMemberStorePurchaseRes = e.FdtoGetMemberStorePurchaseResCredit = e.FdtoGetMemberStorePurchaseResClaim = e.FdoStoreTransactionRefundInfoRes = e.FdoMemberStorePurchaseMember = e.FdoMemberStorePurchasePayment = void 0;
|
|
16666
|
-
const n = y(), t = u, i = bl(), r = Ol(), o = ne(), a = Yl(), s = Hl(), d = jl(), c =
|
|
16678
|
+
const n = y(), t = u, i = bl(), r = Ol(), o = ne(), a = Yl(), s = Hl(), d = jl(), c = Pn(), h = Ne(), p = Wf();
|
|
16667
16679
|
e.FdoMemberStorePurchasePayment = h.FdoPayment.extend({
|
|
16668
16680
|
createdAt: t.z.string()
|
|
16669
16681
|
}), e.FdoMemberStorePurchaseMember = t.z.object({
|
|
@@ -16713,13 +16725,13 @@ function Ub() {
|
|
|
16713
16725
|
transaction: e.FdtoGetMemberStorePurchaseRes.nullish(),
|
|
16714
16726
|
fullTaxInvoice: i.FdoBillFullTaxInvoice.nullish()
|
|
16715
16727
|
}).describe(n.ZodMeta.couch().repo("memberStorePurchase").build());
|
|
16716
|
-
}(
|
|
16728
|
+
}(Ss)), Ss;
|
|
16717
16729
|
}
|
|
16718
|
-
var
|
|
16730
|
+
var Ps = {}, Ag;
|
|
16719
16731
|
function qb() {
|
|
16720
16732
|
return Ag || (Ag = 1, function(e) {
|
|
16721
16733
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMembership = e.FdoCashbackSettings = e.FdoImageMemberCard = e.FdoDefaultMemberCard = e.FdoBaseMemberCard = e.FdoTierOption = e.FdoTier = e.FdoOnJoinReward = e.FdoOnLevelReward = e.FdoFixVoucherReward = e.FdoRandomVoucherReward = e.FdoLevelCycle = e.FdoLevelCycleRule = e.FdoExperienceRange = void 0;
|
|
16722
|
-
const n = y(), t = u, i =
|
|
16734
|
+
const n = y(), t = u, i = Sn(), r = Pn(), o = Yf(), a = Hf(), s = Fo(), d = Hl();
|
|
16723
16735
|
e.FdoExperienceRange = t.z.object({
|
|
16724
16736
|
minLevel: t.z.number(),
|
|
16725
16737
|
expToLevelUp: t.z.number()
|
|
@@ -16792,7 +16804,7 @@ function qb() {
|
|
|
16792
16804
|
design: t.z.discriminatedUnion("type", [e.FdoDefaultMemberCard, e.FdoImageMemberCard]).describe(n.ZodMeta.dart().discriminatedUnion({ baseType: "FdoBaseMemberCard" }).build()),
|
|
16793
16805
|
cashback: e.FdoCashbackSettings.nullish()
|
|
16794
16806
|
}).describe(n.ZodMeta.mongo().repo("Memberships").build());
|
|
16795
|
-
}(
|
|
16807
|
+
}(Ps)), Ps;
|
|
16796
16808
|
}
|
|
16797
16809
|
var yg;
|
|
16798
16810
|
function Lb() {
|
|
@@ -16808,7 +16820,7 @@ function Lb() {
|
|
|
16808
16820
|
}), t = ee && ee.__exportStar || function(i, r) {
|
|
16809
16821
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && n(r, i, o);
|
|
16810
16822
|
};
|
|
16811
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), t(Jh(), e), t(xh(), e), t(_h(), e), t(Ty(), e), t(yf(), e), t(Ry(), e), t(fl(), e), t(of(), e), t(ho(), e), t($h(), e), t(ml(), e), t(ef(), e), t(fo(), e), t(pl(), e), t(af(), e), t(sf(), e), t(lf(), e), t(Al(), e), t(yl(), e), t(Oy(), e), t(bl(), e), t(Tr(), e), t(tf(), e), t(gf(), e), t(vl(), e), t(hf(), e), t(ff(), e), t(mf(), e), t(Af(), e), t(Dn(), e), t(My(), e), t(Ef(), e), t(kt(), e), t(If(), e), t(By(), e), t(Bf(), e), t(wy(), e), t(un(), e), t(Io(), e), t(hl(), e), t(Ol(), e), t(Rr(), e), t(nf(), e), t(rf(), e), t(gl(), e), t(El(), e), t(Df(), e), t(zf(), e), t($(), e), t(ky(), e), t(Ny(), e), t(jy(), e), t(wf(), e), t(zo(), e), t(Vy(), e), t(Ml(), e), t(Uy(), e), t(qy(), e), t(q(), e), t(Do(), e), t(Nt(), e), t(Ly(), e), t(Bl(), e), t(
|
|
16823
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), t(Jh(), e), t(xh(), e), t(_h(), e), t(Ty(), e), t(yf(), e), t(Ry(), e), t(fl(), e), t(of(), e), t(ho(), e), t($h(), e), t(ml(), e), t(ef(), e), t(fo(), e), t(pl(), e), t(af(), e), t(sf(), e), t(lf(), e), t(Al(), e), t(yl(), e), t(Oy(), e), t(bl(), e), t(Tr(), e), t(tf(), e), t(gf(), e), t(vl(), e), t(hf(), e), t(ff(), e), t(mf(), e), t(Af(), e), t(Dn(), e), t(My(), e), t(Ef(), e), t(kt(), e), t(If(), e), t(By(), e), t(Bf(), e), t(wy(), e), t(un(), e), t(Io(), e), t(hl(), e), t(Ol(), e), t(Rr(), e), t(nf(), e), t(rf(), e), t(gl(), e), t(El(), e), t(Df(), e), t(zf(), e), t($(), e), t(ky(), e), t(Ny(), e), t(jy(), e), t(wf(), e), t(zo(), e), t(Vy(), e), t(Ml(), e), t(Uy(), e), t(qy(), e), t(q(), e), t(Do(), e), t(Nt(), e), t(Ly(), e), t(Bl(), e), t(So(), e), t(kf(), e), t(Gy(), e), t(wl(), e), t(Yy(), e), t(Hy(), e), t(kl(), e), t(Nf(), e), t(jf(), e), t(Wy(), e), t(Mr(), e), t(zn(), e), t(yo(), e), t(df(), e), t(cl(), e), t(uf(), e), t(go(), e), t(ne(), e), t(Qy(), e), t(Zy(), e), t(Xy(), e), t(Ky(), e), t(Jy(), e), t(Vf(), e), t(Sr(), e), t(ul(), e), t(Uf(), e), t(Pr(), e), t(qf(), e), t(xy(), e), t(Nl(), e), t(_y(), e), t($y(), e), t(bo(), e), t(Lf(), e), t(Gf(), e), t(eb(), e), t(Cf(), e), t(vo(), e), t(bf(), e), t(Br(), e), t(Yf(), e), t(Hf(), e), t(tb(), e), t(jl(), e), t(Wf(), e), t(Qf(), e), t(Zf(), e), t(Po(), e), t(nb(), e), t(ib(), e), t(Or(), e), t(To(), e), t(Xf(), e), t(Kf(), e), t(Jf(), e), t(rb(), e), t(ob(), e), t(ab(), e), t(wt(), e), t(Ne(), e), t(Rf(), e), t(Tf(), e), t(sb(), e), t(lb(), e), t(db(), e), t(xf(), e), t(Vl(), e), t(cb(), e), t(Ao(), e), t(Il(), e), t(ub(), e), t($f(), e), t(mb(), e), t(_f(), e), t(gb(), e), t(hb(), e), t(fb(), e), t(ep(), e), t(ip(), e), t(pb(), e), t(np(), e), t(zl(), e), t(Dl(), e), t(Sl(), e), t(Pl(), e), t(Tl(), e), t(Sn(), e), t(ql(), e), t(Ab(), e), t(Of(), e), t(Cl(), e), t(yb(), e), t(bb(), e), t(rp(), e), t(vb(), e), t(vf(), e), t(Ll(), e), t(op(), e), t(Fb(), e), t(At(), e), t(pf(), e), t(Eo(), e), t(Eb(), e), t(Ib(), e), t(cf(), e), t(Cb(), e), t(Sf(), e), t(Co(), e), t(zb(), e), t(Pf(), e), t(Db(), e), t(sp(), e), t(Sb(), e), t(Pb(), e), t(Yl(), e), t(Fo(), e), t(Tb(), e), t(Rb(), e), t(Ob(), e), t(Ul(), e), t(tp(), e), t(Mb(), e), t(Rl(), e), t(po(), e), t(Mf(), e), t(Fl(), e), t(Bb(), e), t(wb(), e), t(kb(), e), t(Ff(), e), t(Gl(), e), t(Pn(), e), t(Nb(), e), t(jb(), e), t(Vb(), e), t(Hl(), e), t(Ub(), e), t(qb(), e), t(ap(), e);
|
|
16812
16824
|
}(jo)), jo;
|
|
16813
16825
|
}
|
|
16814
16826
|
var Gb = Lb();
|
|
@@ -16834,11 +16846,11 @@ const Hb = Object.freeze({
|
|
|
16834
16846
|
MV: { lat: 4.1755, lng: 73.5093 },
|
|
16835
16847
|
PH: { lat: 14.5995, lng: 120.9842 }
|
|
16836
16848
|
};
|
|
16837
|
-
function
|
|
16849
|
+
function iS() {
|
|
16838
16850
|
const e = Cr().currentCountry.value || Gb.F_COUNTRY.enum.MY;
|
|
16839
16851
|
return Wb[e] ?? Hb.jb;
|
|
16840
16852
|
}
|
|
16841
|
-
function
|
|
16853
|
+
function rS(e) {
|
|
16842
16854
|
return [e.lng, e.lat];
|
|
16843
16855
|
}
|
|
16844
16856
|
function bg(e) {
|
|
@@ -16848,7 +16860,7 @@ function bg(e) {
|
|
|
16848
16860
|
lng: e[0]
|
|
16849
16861
|
};
|
|
16850
16862
|
}
|
|
16851
|
-
function
|
|
16863
|
+
function oS({
|
|
16852
16864
|
center: e,
|
|
16853
16865
|
radius: n
|
|
16854
16866
|
}) {
|
|
@@ -16859,7 +16871,7 @@ function oP({
|
|
|
16859
16871
|
}
|
|
16860
16872
|
return t.map((o) => ({ lat: o.lat(), lng: o.lng() }));
|
|
16861
16873
|
}
|
|
16862
|
-
function
|
|
16874
|
+
function aS(e) {
|
|
16863
16875
|
if (!e.length) return;
|
|
16864
16876
|
const { lat: n, lng: t } = bg(e[0]), { maxLng: i, minLng: r, maxLat: o, minLat: a } = e.reduce((s, d) => {
|
|
16865
16877
|
const { lng: c, lat: h } = bg(d);
|
|
@@ -16875,7 +16887,7 @@ function aP(e) {
|
|
|
16875
16887
|
lat: a + (o - a) / 2
|
|
16876
16888
|
};
|
|
16877
16889
|
}
|
|
16878
|
-
function
|
|
16890
|
+
function sS(e) {
|
|
16879
16891
|
const n = e.map((i) => i == null ? void 0 : i[1]).filter((i) => typeof i == "number" && Number.isFinite(i));
|
|
16880
16892
|
if (n.length < 3) return;
|
|
16881
16893
|
const t = (Math.max(...n) - Math.min(...n)) * 6371 * (Math.PI / 180);
|
|
@@ -17020,8 +17032,8 @@ const dp = function(e) {
|
|
|
17020
17032
|
const t = n ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, i = [];
|
|
17021
17033
|
for (let r = 0; r < e.length; r += 3) {
|
|
17022
17034
|
const o = e[r], a = r + 1 < e.length, s = a ? e[r + 1] : 0, d = r + 2 < e.length, c = d ? e[r + 2] : 0, h = o >> 2, p = (o & 3) << 4 | s >> 4;
|
|
17023
|
-
let D = (s & 15) << 2 | c >> 6,
|
|
17024
|
-
d || (
|
|
17035
|
+
let D = (s & 15) << 2 | c >> 6, S = c & 63;
|
|
17036
|
+
d || (S = 64, a || (D = 64)), i.push(t[h], t[p], t[D], t[S]);
|
|
17025
17037
|
}
|
|
17026
17038
|
return i.join("");
|
|
17027
17039
|
},
|
|
@@ -17075,8 +17087,8 @@ const dp = function(e) {
|
|
|
17075
17087
|
throw new Zb();
|
|
17076
17088
|
const D = o << 2 | s >> 4;
|
|
17077
17089
|
if (i.push(D), c !== 64) {
|
|
17078
|
-
const
|
|
17079
|
-
if (i.push(
|
|
17090
|
+
const S = s << 4 & 240 | c >> 2;
|
|
17091
|
+
if (i.push(S), p !== 64) {
|
|
17080
17092
|
const k = c << 6 & 192 | p;
|
|
17081
17093
|
i.push(k);
|
|
17082
17094
|
}
|
|
@@ -17937,7 +17949,7 @@ function Dv() {
|
|
|
17937
17949
|
]);
|
|
17938
17950
|
}
|
|
17939
17951
|
const pp = /* @__PURE__ */ new WeakMap(), Gs = /* @__PURE__ */ new WeakMap(), Ap = /* @__PURE__ */ new WeakMap(), Rs = /* @__PURE__ */ new WeakMap(), Ql = /* @__PURE__ */ new WeakMap();
|
|
17940
|
-
function
|
|
17952
|
+
function Sv(e) {
|
|
17941
17953
|
const n = new Promise((t, i) => {
|
|
17942
17954
|
const r = () => {
|
|
17943
17955
|
e.removeEventListener("success", o), e.removeEventListener("error", a);
|
|
@@ -17953,7 +17965,7 @@ function Pv(e) {
|
|
|
17953
17965
|
}).catch(() => {
|
|
17954
17966
|
}), Ql.set(n, e), n;
|
|
17955
17967
|
}
|
|
17956
|
-
function
|
|
17968
|
+
function Pv(e) {
|
|
17957
17969
|
if (Gs.has(e))
|
|
17958
17970
|
return;
|
|
17959
17971
|
const n = new Promise((t, i) => {
|
|
@@ -18001,11 +18013,11 @@ function Rv(e) {
|
|
|
18001
18013
|
};
|
|
18002
18014
|
}
|
|
18003
18015
|
function Ov(e) {
|
|
18004
|
-
return typeof e == "function" ? Rv(e) : (e instanceof IDBTransaction &&
|
|
18016
|
+
return typeof e == "function" ? Rv(e) : (e instanceof IDBTransaction && Pv(e), Cv(e, zv()) ? new Proxy(e, Ys) : e);
|
|
18005
18017
|
}
|
|
18006
18018
|
function Dt(e) {
|
|
18007
18019
|
if (e instanceof IDBRequest)
|
|
18008
|
-
return
|
|
18020
|
+
return Sv(e);
|
|
18009
18021
|
if (Rs.has(e))
|
|
18010
18022
|
return Rs.get(e);
|
|
18011
18023
|
const n = Ov(e);
|
|
@@ -18226,7 +18238,7 @@ const mF = {
|
|
|
18226
18238
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
|
18227
18239
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
|
18228
18240
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
|
18229
|
-
},
|
|
18241
|
+
}, St = new wr("app", "Firebase", mF);
|
|
18230
18242
|
/**
|
|
18231
18243
|
* @license
|
|
18232
18244
|
* Copyright 2019 Google LLC
|
|
@@ -18282,7 +18294,7 @@ class gF {
|
|
|
18282
18294
|
*/
|
|
18283
18295
|
checkDestroyed() {
|
|
18284
18296
|
if (this.isDeleted)
|
|
18285
|
-
throw
|
|
18297
|
+
throw St.create("app-deleted", { appName: this._name });
|
|
18286
18298
|
}
|
|
18287
18299
|
}
|
|
18288
18300
|
/**
|
|
@@ -18307,11 +18319,11 @@ function yp(e, n = {}) {
|
|
|
18307
18319
|
typeof n != "object" && (n = { name: n });
|
|
18308
18320
|
const i = Object.assign({ name: Ws, automaticDataCollectionEnabled: !1 }, n), r = i.name;
|
|
18309
18321
|
if (typeof r != "string" || !r)
|
|
18310
|
-
throw
|
|
18322
|
+
throw St.create("bad-app-name", {
|
|
18311
18323
|
appName: String(r)
|
|
18312
18324
|
});
|
|
18313
18325
|
if (t || (t = gp()), !t)
|
|
18314
|
-
throw
|
|
18326
|
+
throw St.create(
|
|
18315
18327
|
"no-options"
|
|
18316
18328
|
/* AppError.NO_OPTIONS */
|
|
18317
18329
|
);
|
|
@@ -18319,7 +18331,7 @@ function yp(e, n = {}) {
|
|
|
18319
18331
|
if (o) {
|
|
18320
18332
|
if (no(t, o.options) && no(i, o.config))
|
|
18321
18333
|
return o;
|
|
18322
|
-
throw
|
|
18334
|
+
throw St.create("duplicate-app", { appName: r });
|
|
18323
18335
|
}
|
|
18324
18336
|
const a = new bv(r);
|
|
18325
18337
|
for (const d of Qs.values())
|
|
@@ -18332,13 +18344,13 @@ function Xl(e = Ws) {
|
|
|
18332
18344
|
if (!n && e === Ws && gp())
|
|
18333
18345
|
return yp();
|
|
18334
18346
|
if (!n)
|
|
18335
|
-
throw
|
|
18347
|
+
throw St.create("no-app", { appName: e });
|
|
18336
18348
|
return n;
|
|
18337
18349
|
}
|
|
18338
18350
|
function hF() {
|
|
18339
18351
|
return Array.from(Fr.values());
|
|
18340
18352
|
}
|
|
18341
|
-
function
|
|
18353
|
+
function Pt(e, n, t) {
|
|
18342
18354
|
var i;
|
|
18343
18355
|
let r = (i = cF[e]) !== null && i !== void 0 ? i : e;
|
|
18344
18356
|
t && (r += `-${t}`);
|
|
@@ -18388,7 +18400,7 @@ function bp() {
|
|
|
18388
18400
|
}
|
|
18389
18401
|
}
|
|
18390
18402
|
}).catch((e) => {
|
|
18391
|
-
throw
|
|
18403
|
+
throw St.create("idb-open", {
|
|
18392
18404
|
originalErrorMessage: e.message
|
|
18393
18405
|
});
|
|
18394
18406
|
})), Bs;
|
|
@@ -18401,14 +18413,14 @@ async function AF(e) {
|
|
|
18401
18413
|
if (n instanceof yt)
|
|
18402
18414
|
ht.warn(n.message);
|
|
18403
18415
|
else {
|
|
18404
|
-
const t =
|
|
18416
|
+
const t = St.create("idb-get", {
|
|
18405
18417
|
originalErrorMessage: n == null ? void 0 : n.message
|
|
18406
18418
|
});
|
|
18407
18419
|
ht.warn(t.message);
|
|
18408
18420
|
}
|
|
18409
18421
|
}
|
|
18410
18422
|
}
|
|
18411
|
-
async function
|
|
18423
|
+
async function Sg(e, n) {
|
|
18412
18424
|
try {
|
|
18413
18425
|
const i = (await bp()).transaction(Er, "readwrite");
|
|
18414
18426
|
await i.objectStore(Er).put(n, vp(e)), await i.done;
|
|
@@ -18416,7 +18428,7 @@ async function Pg(e, n) {
|
|
|
18416
18428
|
if (t instanceof yt)
|
|
18417
18429
|
ht.warn(t.message);
|
|
18418
18430
|
else {
|
|
18419
|
-
const i =
|
|
18431
|
+
const i = St.create("idb-set", {
|
|
18420
18432
|
originalErrorMessage: t == null ? void 0 : t.message
|
|
18421
18433
|
});
|
|
18422
18434
|
ht.warn(i.message);
|
|
@@ -18459,7 +18471,7 @@ class vF {
|
|
|
18459
18471
|
async triggerHeartbeat() {
|
|
18460
18472
|
var n, t;
|
|
18461
18473
|
try {
|
|
18462
|
-
const r = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), o =
|
|
18474
|
+
const r = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), o = Pg();
|
|
18463
18475
|
return ((n = this._heartbeatsCache) === null || n === void 0 ? void 0 : n.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === o || this._heartbeatsCache.heartbeats.some((a) => a.date === o) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: o, agent: r }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
|
18464
18476
|
const s = new Date(a.date).valueOf();
|
|
18465
18477
|
return Date.now() - s <= bF;
|
|
@@ -18480,14 +18492,14 @@ class vF {
|
|
|
18480
18492
|
try {
|
|
18481
18493
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((n = this._heartbeatsCache) === null || n === void 0 ? void 0 : n.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
|
18482
18494
|
return "";
|
|
18483
|
-
const t =
|
|
18495
|
+
const t = Pg(), { heartbeatsToSend: i, unsentEntries: r } = FF(this._heartbeatsCache.heartbeats), o = to(JSON.stringify({ version: 2, heartbeats: i }));
|
|
18484
18496
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, r.length > 0 ? (this._heartbeatsCache.heartbeats = r, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), o;
|
|
18485
18497
|
} catch (t) {
|
|
18486
18498
|
return ht.warn(t), "";
|
|
18487
18499
|
}
|
|
18488
18500
|
}
|
|
18489
18501
|
}
|
|
18490
|
-
function
|
|
18502
|
+
function Pg() {
|
|
18491
18503
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
|
18492
18504
|
}
|
|
18493
18505
|
function FF(e, n = yF) {
|
|
@@ -18536,7 +18548,7 @@ class EF {
|
|
|
18536
18548
|
var t;
|
|
18537
18549
|
if (await this._canUseIndexedDBPromise) {
|
|
18538
18550
|
const r = await this.read();
|
|
18539
|
-
return
|
|
18551
|
+
return Sg(this.app, {
|
|
18540
18552
|
lastSentHeartbeatDate: (t = n.lastSentHeartbeatDate) !== null && t !== void 0 ? t : r.lastSentHeartbeatDate,
|
|
18541
18553
|
heartbeats: n.heartbeats
|
|
18542
18554
|
});
|
|
@@ -18548,7 +18560,7 @@ class EF {
|
|
|
18548
18560
|
var t;
|
|
18549
18561
|
if (await this._canUseIndexedDBPromise) {
|
|
18550
18562
|
const r = await this.read();
|
|
18551
|
-
return
|
|
18563
|
+
return Sg(this.app, {
|
|
18552
18564
|
lastSentHeartbeatDate: (t = n.lastSentHeartbeatDate) !== null && t !== void 0 ? t : r.lastSentHeartbeatDate,
|
|
18553
18565
|
heartbeats: [
|
|
18554
18566
|
...r.heartbeats,
|
|
@@ -18592,7 +18604,7 @@ function IF(e) {
|
|
|
18592
18604
|
(n) => new vF(n),
|
|
18593
18605
|
"PRIVATE"
|
|
18594
18606
|
/* ComponentType.PRIVATE */
|
|
18595
|
-
)),
|
|
18607
|
+
)), Pt(Hs, zg, e), Pt(Hs, zg, "esm2017"), Pt("fire-js", "");
|
|
18596
18608
|
}
|
|
18597
18609
|
IF("");
|
|
18598
18610
|
var CF = "firebase", zF = "10.14.1";
|
|
@@ -18612,7 +18624,7 @@ var CF = "firebase", zF = "10.14.1";
|
|
|
18612
18624
|
* See the License for the specific language governing permissions and
|
|
18613
18625
|
* limitations under the License.
|
|
18614
18626
|
*/
|
|
18615
|
-
|
|
18627
|
+
Pt(CF, zF, "app");
|
|
18616
18628
|
function Kl(e, n) {
|
|
18617
18629
|
var t = {};
|
|
18618
18630
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && n.indexOf(i) < 0 && (t[i] = e[i]);
|
|
@@ -18644,7 +18656,7 @@ const DF = Fp, Ep = new wr("auth", "Firebase", Fp());
|
|
|
18644
18656
|
* limitations under the License.
|
|
18645
18657
|
*/
|
|
18646
18658
|
const io = new fp("@firebase/auth");
|
|
18647
|
-
function
|
|
18659
|
+
function SF(e, ...n) {
|
|
18648
18660
|
io.logLevel <= Q.WARN && io.warn(`Auth (${Tn}): ${e}`, ...n);
|
|
18649
18661
|
}
|
|
18650
18662
|
function Wr(e, ...n) {
|
|
@@ -18719,7 +18731,7 @@ function Zs() {
|
|
|
18719
18731
|
var e;
|
|
18720
18732
|
return typeof self < "u" && ((e = self.location) === null || e === void 0 ? void 0 : e.href) || "";
|
|
18721
18733
|
}
|
|
18722
|
-
function
|
|
18734
|
+
function PF() {
|
|
18723
18735
|
return Rg() === "http:" || Rg() === "https:";
|
|
18724
18736
|
}
|
|
18725
18737
|
function Rg() {
|
|
@@ -18748,7 +18760,7 @@ function TF() {
|
|
|
18748
18760
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
|
18749
18761
|
// installed which overwrites the native navigator.onLine value and
|
|
18750
18762
|
// defines navigator.connection.
|
|
18751
|
-
(
|
|
18763
|
+
(PF() || rv() || "connection" in navigator) ? navigator.onLine : !0;
|
|
18752
18764
|
}
|
|
18753
18765
|
function RF() {
|
|
18754
18766
|
if (typeof navigator > "u")
|
|
@@ -18990,7 +19002,7 @@ async function Rn(e, n, t, i, r = {}) {
|
|
|
18990
19002
|
method: n,
|
|
18991
19003
|
headers: d
|
|
18992
19004
|
}, o);
|
|
18993
|
-
return iv() || (c.referrerPolicy = "no-referrer"), Cp.fetch()(
|
|
19005
|
+
return iv() || (c.referrerPolicy = "no-referrer"), Cp.fetch()(Sp(e, e.config.apiHost, t, s), c);
|
|
18994
19006
|
});
|
|
18995
19007
|
}
|
|
18996
19008
|
async function zp(e, n, t) {
|
|
@@ -19032,7 +19044,7 @@ async function Dp(e, n, t, i, r = {}) {
|
|
|
19032
19044
|
_serverResponse: o
|
|
19033
19045
|
}), o;
|
|
19034
19046
|
}
|
|
19035
|
-
function
|
|
19047
|
+
function Sp(e, n, t, i) {
|
|
19036
19048
|
const r = `${n}${t}?${i}`;
|
|
19037
19049
|
return e.config.emulator ? xl(e.config, r) : `${e.config.apiScheme}://${r}`;
|
|
19038
19050
|
}
|
|
@@ -19077,7 +19089,7 @@ function qr(e, n, t) {
|
|
|
19077
19089
|
async function wF(e, n) {
|
|
19078
19090
|
return Rn(e, "POST", "/v1/accounts:delete", n);
|
|
19079
19091
|
}
|
|
19080
|
-
async function
|
|
19092
|
+
async function Pp(e, n) {
|
|
19081
19093
|
return Rn(e, "POST", "/v1/accounts:lookup", n);
|
|
19082
19094
|
}
|
|
19083
19095
|
/**
|
|
@@ -19295,7 +19307,7 @@ class Xs {
|
|
|
19295
19307
|
*/
|
|
19296
19308
|
async function ro(e) {
|
|
19297
19309
|
var n;
|
|
19298
|
-
const t = e.auth, i = await e.getIdToken(), r = await Ir(e,
|
|
19310
|
+
const t = e.auth, i = await e.getIdToken(), r = await Ir(e, Pp(t, { idToken: i }));
|
|
19299
19311
|
T(
|
|
19300
19312
|
r == null ? void 0 : r.users.length,
|
|
19301
19313
|
t,
|
|
@@ -19359,7 +19371,7 @@ async function qF(e, n) {
|
|
|
19359
19371
|
const i = kr({
|
|
19360
19372
|
grant_type: "refresh_token",
|
|
19361
19373
|
refresh_token: n
|
|
19362
|
-
}).slice(1), { tokenApiHost: r, apiKey: o } = e.config, a =
|
|
19374
|
+
}).slice(1), { tokenApiHost: r, apiKey: o } = e.config, a = Sp(e, r, "/v1/token", `key=${o}`), s = await e._getAdditionalHeaders();
|
|
19363
19375
|
return s[
|
|
19364
19376
|
"Content-Type"
|
|
19365
19377
|
/* HttpHeader.CONTENT_TYPE */
|
|
@@ -19576,7 +19588,7 @@ class dt {
|
|
|
19576
19588
|
}
|
|
19577
19589
|
static _fromJSON(n, t) {
|
|
19578
19590
|
var i, r, o, a, s, d, c, h;
|
|
19579
|
-
const p = (i = t.displayName) !== null && i !== void 0 ? i : void 0, D = (r = t.email) !== null && r !== void 0 ? r : void 0,
|
|
19591
|
+
const p = (i = t.displayName) !== null && i !== void 0 ? i : void 0, D = (r = t.email) !== null && r !== void 0 ? r : void 0, S = (o = t.phoneNumber) !== null && o !== void 0 ? o : void 0, k = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, G = (s = t.tenantId) !== null && s !== void 0 ? s : void 0, C = (d = t._redirectEventId) !== null && d !== void 0 ? d : void 0, le = (c = t.createdAt) !== null && c !== void 0 ? c : void 0, de = (h = t.lastLoginAt) !== null && h !== void 0 ? h : void 0, { uid: Z, emailVerified: j, isAnonymous: pe, providerData: be, stsTokenManager: je } = t;
|
|
19580
19592
|
T(
|
|
19581
19593
|
Z && je,
|
|
19582
19594
|
n,
|
|
@@ -19599,7 +19611,7 @@ class dt {
|
|
|
19599
19611
|
n,
|
|
19600
19612
|
"internal-error"
|
|
19601
19613
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
19602
|
-
), vt(
|
|
19614
|
+
), vt(S, n.name), vt(k, n.name), vt(G, n.name), vt(C, n.name), vt(le, n.name), vt(de, n.name);
|
|
19603
19615
|
const g = new dt({
|
|
19604
19616
|
uid: Z,
|
|
19605
19617
|
auth: n,
|
|
@@ -19608,7 +19620,7 @@ class dt {
|
|
|
19608
19620
|
displayName: p,
|
|
19609
19621
|
isAnonymous: pe,
|
|
19610
19622
|
photoURL: k,
|
|
19611
|
-
phoneNumber:
|
|
19623
|
+
phoneNumber: S,
|
|
19612
19624
|
tenantId: G,
|
|
19613
19625
|
stsTokenManager: Ce,
|
|
19614
19626
|
createdAt: le,
|
|
@@ -20135,7 +20147,7 @@ class XF {
|
|
|
20135
20147
|
}
|
|
20136
20148
|
async initializeCurrentUserFromIdToken(n) {
|
|
20137
20149
|
try {
|
|
20138
|
-
const t = await
|
|
20150
|
+
const t = await Pp(this, { idToken: n }), i = await dt._fromGetAccountInfoResponse(this, t, n);
|
|
20139
20151
|
await this.directlySetCurrentUser(i);
|
|
20140
20152
|
} catch (t) {
|
|
20141
20153
|
console.warn("FirebaseServerApp could not login user with provided authIdToken: ", t), await this.directlySetCurrentUser(null);
|
|
@@ -20427,7 +20439,7 @@ class XF {
|
|
|
20427
20439
|
async _getAppCheckToken() {
|
|
20428
20440
|
var n;
|
|
20429
20441
|
const t = await ((n = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || n === void 0 ? void 0 : n.getToken());
|
|
20430
|
-
return t != null && t.error &&
|
|
20442
|
+
return t != null && t.error && SF(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
|
20431
20443
|
}
|
|
20432
20444
|
}
|
|
20433
20445
|
function Oo(e) {
|
|
@@ -21276,7 +21288,7 @@ async function lE(e, n) {
|
|
|
21276
21288
|
* See the License for the specific language governing permissions and
|
|
21277
21289
|
* limitations under the License.
|
|
21278
21290
|
*/
|
|
21279
|
-
async function
|
|
21291
|
+
async function lS(e, n) {
|
|
21280
21292
|
if (st(e.app))
|
|
21281
21293
|
return Promise.reject(Tt(e));
|
|
21282
21294
|
const t = Oo(e), i = await lE(t, {
|
|
@@ -21291,7 +21303,7 @@ function dE(e, n, t, i) {
|
|
|
21291
21303
|
function cE(e, n, t) {
|
|
21292
21304
|
return We(e).beforeAuthStateChanged(n, t);
|
|
21293
21305
|
}
|
|
21294
|
-
function
|
|
21306
|
+
function dS(e) {
|
|
21295
21307
|
return We(e).signOut();
|
|
21296
21308
|
}
|
|
21297
21309
|
const ao = "__sak";
|
|
@@ -22050,10 +22062,10 @@ class nd extends Lp {
|
|
|
22050
22062
|
return n && (t.idToken = n), t;
|
|
22051
22063
|
}
|
|
22052
22064
|
}
|
|
22053
|
-
function
|
|
22065
|
+
function SE(e) {
|
|
22054
22066
|
return sE(e.auth, new nd(e), e.bypassAuthState);
|
|
22055
22067
|
}
|
|
22056
|
-
function
|
|
22068
|
+
function PE(e) {
|
|
22057
22069
|
const { auth: n, user: t } = e;
|
|
22058
22070
|
return T(
|
|
22059
22071
|
t,
|
|
@@ -22129,13 +22141,13 @@ class _p {
|
|
|
22129
22141
|
switch (n) {
|
|
22130
22142
|
case "signInViaPopup":
|
|
22131
22143
|
case "signInViaRedirect":
|
|
22132
|
-
return
|
|
22144
|
+
return SE;
|
|
22133
22145
|
case "linkViaPopup":
|
|
22134
22146
|
case "linkViaRedirect":
|
|
22135
22147
|
return TE;
|
|
22136
22148
|
case "reauthViaPopup":
|
|
22137
22149
|
case "reauthViaRedirect":
|
|
22138
|
-
return
|
|
22150
|
+
return PE;
|
|
22139
22151
|
default:
|
|
22140
22152
|
ft(
|
|
22141
22153
|
this.auth,
|
|
@@ -22653,7 +22665,7 @@ function sI(e, n, t, i = iI, r = rI) {
|
|
|
22653
22665
|
left: a
|
|
22654
22666
|
}), c = he().toLowerCase();
|
|
22655
22667
|
t && (s = Bp(c) ? oI : t), Op(c) && (n = n || aI, d.scrollbars = "yes");
|
|
22656
|
-
const h = Object.entries(d).reduce((D, [
|
|
22668
|
+
const h = Object.entries(d).reduce((D, [S, k]) => `${D}${S}=${k},`, "");
|
|
22657
22669
|
if (GF(c) && s !== "_self")
|
|
22658
22670
|
return lI(n || "", s), new Gg(null);
|
|
22659
22671
|
const p = window.open(n || "", s, h);
|
|
@@ -22934,7 +22946,7 @@ function AI(e) {
|
|
|
22934
22946
|
).setInstantiationMode(
|
|
22935
22947
|
"EXPLICIT"
|
|
22936
22948
|
/* InstantiationMode.EXPLICIT */
|
|
22937
|
-
)),
|
|
22949
|
+
)), Pt(Hg, Wg, pI(e)), Pt(Hg, Wg, "esm2017");
|
|
22938
22950
|
}
|
|
22939
22951
|
/**
|
|
22940
22952
|
* @license
|
|
@@ -23097,10 +23109,10 @@ function DI() {
|
|
|
23097
23109
|
const e = "User is not authenticated, please authenticate using Firebase Authentication and try again.";
|
|
23098
23110
|
return new ie(te.UNAUTHENTICATED, e);
|
|
23099
23111
|
}
|
|
23100
|
-
function
|
|
23112
|
+
function SI() {
|
|
23101
23113
|
return new ie(te.UNAUTHORIZED_APP, "This app does not have permission to access Firebase Storage on this project.");
|
|
23102
23114
|
}
|
|
23103
|
-
function
|
|
23115
|
+
function PI(e) {
|
|
23104
23116
|
return new ie(te.UNAUTHORIZED, "User does not have permission to access '" + e + "'.");
|
|
23105
23117
|
}
|
|
23106
23118
|
function TI() {
|
|
@@ -23193,10 +23205,10 @@ class Ee {
|
|
|
23193
23205
|
function c(j) {
|
|
23194
23206
|
j.path_ = decodeURIComponent(j.path);
|
|
23195
23207
|
}
|
|
23196
|
-
const h = "v[A-Za-z0-9_]+", p = t.replace(/[.]/g, "\\."), D = "(/([^?#]*).*)?$",
|
|
23208
|
+
const h = "v[A-Za-z0-9_]+", p = t.replace(/[.]/g, "\\."), D = "(/([^?#]*).*)?$", S = new RegExp(`^https?://${p}/${h}/b/${r}/o${D}`, "i"), k = { bucket: 1, path: 3 }, G = t === eA ? "(?:storage.googleapis.com|storage.cloud.google.com)" : t, C = "([^?#]*)", le = new RegExp(`^https?://${G}/${r}/${C}`, "i"), Z = [
|
|
23197
23209
|
{ regex: s, indices: d, postModify: o },
|
|
23198
23210
|
{
|
|
23199
|
-
regex:
|
|
23211
|
+
regex: S,
|
|
23200
23212
|
indices: k,
|
|
23201
23213
|
postModify: c
|
|
23202
23214
|
},
|
|
@@ -23259,13 +23271,13 @@ function VI(e, n, t) {
|
|
|
23259
23271
|
}
|
|
23260
23272
|
function p(C) {
|
|
23261
23273
|
r = setTimeout(() => {
|
|
23262
|
-
r = null, e(
|
|
23274
|
+
r = null, e(S, d());
|
|
23263
23275
|
}, C);
|
|
23264
23276
|
}
|
|
23265
23277
|
function D() {
|
|
23266
23278
|
o && clearTimeout(o);
|
|
23267
23279
|
}
|
|
23268
|
-
function
|
|
23280
|
+
function S(C, ...le) {
|
|
23269
23281
|
if (c) {
|
|
23270
23282
|
D();
|
|
23271
23283
|
return;
|
|
@@ -23407,8 +23419,8 @@ function HI(e, n) {
|
|
|
23407
23419
|
*/
|
|
23408
23420
|
class WI {
|
|
23409
23421
|
constructor(n, t, i, r, o, a, s, d, c, h, p, D = !0) {
|
|
23410
|
-
this.url_ = n, this.method_ = t, this.headers_ = i, this.body_ = r, this.successCodes_ = o, this.additionalRetryCodes_ = a, this.callback_ = s, this.errorCallback_ = d, this.timeout_ = c, this.progressCallback_ = h, this.connectionFactory_ = p, this.retry = D, this.pendingConnection_ = null, this.backoffId_ = null, this.canceled_ = !1, this.appDelete_ = !1, this.promise_ = new Promise((
|
|
23411
|
-
this.resolve_ =
|
|
23422
|
+
this.url_ = n, this.method_ = t, this.headers_ = i, this.body_ = r, this.successCodes_ = o, this.additionalRetryCodes_ = a, this.callback_ = s, this.errorCallback_ = d, this.timeout_ = c, this.progressCallback_ = h, this.connectionFactory_ = p, this.retry = D, this.pendingConnection_ = null, this.backoffId_ = null, this.canceled_ = !1, this.appDelete_ = !1, this.promise_ = new Promise((S, k) => {
|
|
23423
|
+
this.resolve_ = S, this.reject_ = k, this.start_();
|
|
23412
23424
|
});
|
|
23413
23425
|
}
|
|
23414
23426
|
/**
|
|
@@ -23909,7 +23921,7 @@ function yC(e, n) {
|
|
|
23909
23921
|
function bC(e) {
|
|
23910
23922
|
function n(t, i) {
|
|
23911
23923
|
let r;
|
|
23912
|
-
return t.getStatus() === 401 ? /* This exact message string is the only consistent part of the */ /* server's error response that identifies it as an App Check error. */ t.getErrorText().includes("Firebase App Check token is invalid") ? r =
|
|
23924
|
+
return t.getStatus() === 401 ? /* This exact message string is the only consistent part of the */ /* server's error response that identifies it as an App Check error. */ t.getErrorText().includes("Firebase App Check token is invalid") ? r = SI() : r = DI() : t.getStatus() === 402 ? r = zI(e.bucket) : t.getStatus() === 403 ? r = PI(e.path) : r = i, r.status = t.getStatus(), r.serverResponse = i.serverResponse, r;
|
|
23913
23925
|
}
|
|
23914
23926
|
return n;
|
|
23915
23927
|
}
|
|
@@ -23940,11 +23952,11 @@ Content-Type: application/json; charset=utf-8\r
|
|
|
23940
23952
|
Content-Type: ` + c.contentType + `\r
|
|
23941
23953
|
\r
|
|
23942
23954
|
`, D = `\r
|
|
23943
|
-
--` + d + "--",
|
|
23944
|
-
if (
|
|
23955
|
+
--` + d + "--", S = zt.getBlob(p, i, D);
|
|
23956
|
+
if (S === null)
|
|
23945
23957
|
throw wI();
|
|
23946
23958
|
const k = { name: c.fullPath }, G = GI(o, e.host, e._protocol), C = "POST", le = e.maxUploadRetryTime, de = new pC(G, C, yC(e, t), le);
|
|
23947
|
-
return de.urlParams = k, de.headers = a, de.body =
|
|
23959
|
+
return de.urlParams = k, de.headers = a, de.body = S.uploadData(), de.errorHandler = bC(n), de;
|
|
23948
23960
|
}
|
|
23949
23961
|
class IC {
|
|
23950
23962
|
constructor() {
|
|
@@ -24102,7 +24114,7 @@ function DC(e, n, t) {
|
|
|
24102
24114
|
ref: e
|
|
24103
24115
|
}));
|
|
24104
24116
|
}
|
|
24105
|
-
function
|
|
24117
|
+
function SC(e, n) {
|
|
24106
24118
|
const t = lC(e._location.path, n), i = new Ee(e._location.bucket, t);
|
|
24107
24119
|
return new cn(e.storage, i);
|
|
24108
24120
|
}
|
|
@@ -24122,7 +24134,7 @@ function PC(e, n) {
|
|
|
24122
24134
|
* See the License for the specific language governing permissions and
|
|
24123
24135
|
* limitations under the License.
|
|
24124
24136
|
*/
|
|
24125
|
-
function
|
|
24137
|
+
function PC(e) {
|
|
24126
24138
|
return /^[A-Za-z]+:\/\//.test(e);
|
|
24127
24139
|
}
|
|
24128
24140
|
function TC(e, n) {
|
|
@@ -24136,10 +24148,10 @@ function lA(e, n) {
|
|
|
24136
24148
|
const i = new cn(t, t._bucket);
|
|
24137
24149
|
return n != null ? lA(i, n) : i;
|
|
24138
24150
|
} else
|
|
24139
|
-
return n !== void 0 ?
|
|
24151
|
+
return n !== void 0 ? SC(e, n) : e;
|
|
24140
24152
|
}
|
|
24141
24153
|
function RC(e, n) {
|
|
24142
|
-
if (n &&
|
|
24154
|
+
if (n && PC(n)) {
|
|
24143
24155
|
if (e instanceof od)
|
|
24144
24156
|
return TC(e, n);
|
|
24145
24157
|
throw Js("To use ref(service, url), the first argument must be a Storage instance.");
|
|
@@ -24268,10 +24280,10 @@ const Jg = "@firebase/storage", xg = "0.13.2";
|
|
|
24268
24280
|
* limitations under the License.
|
|
24269
24281
|
*/
|
|
24270
24282
|
const dA = "storage";
|
|
24271
|
-
function
|
|
24283
|
+
function cS(e, n, t) {
|
|
24272
24284
|
return e = We(e), DC(e, n, t);
|
|
24273
24285
|
}
|
|
24274
|
-
function
|
|
24286
|
+
function uS(e, n) {
|
|
24275
24287
|
return e = We(e), RC(e, n);
|
|
24276
24288
|
}
|
|
24277
24289
|
function MC(e = Xl(), n) {
|
|
@@ -24294,7 +24306,7 @@ function kC() {
|
|
|
24294
24306
|
wC,
|
|
24295
24307
|
"PUBLIC"
|
|
24296
24308
|
/* ComponentType.PUBLIC */
|
|
24297
|
-
).setMultipleInstances(!0)),
|
|
24309
|
+
).setMultipleInstances(!0)), Pt(Jg, xg, ""), Pt(Jg, xg, "esm2017");
|
|
24298
24310
|
}
|
|
24299
24311
|
kC();
|
|
24300
24312
|
let Yr = null;
|
|
@@ -24310,14 +24322,14 @@ function ad() {
|
|
|
24310
24322
|
databaseURL: "https://feedme-253402.firebaseio.com"
|
|
24311
24323
|
}), Yr);
|
|
24312
24324
|
}
|
|
24313
|
-
function
|
|
24325
|
+
function mS() {
|
|
24314
24326
|
return FI(ad());
|
|
24315
24327
|
}
|
|
24316
|
-
function
|
|
24328
|
+
function gS() {
|
|
24317
24329
|
return MC(ad());
|
|
24318
24330
|
}
|
|
24319
24331
|
var NC = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" };
|
|
24320
|
-
const jC = { class: "flex-1 overflow-auto" },
|
|
24332
|
+
const jC = { class: "flex-1 overflow-auto" }, hS = /* @__PURE__ */ rl({
|
|
24321
24333
|
__name: "App",
|
|
24322
24334
|
setup(e) {
|
|
24323
24335
|
ad();
|
|
@@ -24650,7 +24662,7 @@ const X = [
|
|
|
24650
24662
|
), $C = ye(
|
|
24651
24663
|
De,
|
|
24652
24664
|
mA
|
|
24653
|
-
),
|
|
24665
|
+
), SA = ye(
|
|
24654
24666
|
De,
|
|
24655
24667
|
YC
|
|
24656
24668
|
), ez = [
|
|
@@ -24684,7 +24696,7 @@ const X = [
|
|
|
24684
24696
|
uA,
|
|
24685
24697
|
LC,
|
|
24686
24698
|
GC,
|
|
24687
|
-
|
|
24699
|
+
SA,
|
|
24688
24700
|
HC,
|
|
24689
24701
|
hA,
|
|
24690
24702
|
bA,
|
|
@@ -24805,7 +24817,7 @@ const X = [
|
|
|
24805
24817
|
[`set_${m.crm_setting}`]: {
|
|
24806
24818
|
key: "sys:crm:setting",
|
|
24807
24819
|
name: "CRM Setting",
|
|
24808
|
-
permissions:
|
|
24820
|
+
permissions: SA
|
|
24809
24821
|
},
|
|
24810
24822
|
[`set_${m.crm_bin}`]: {
|
|
24811
24823
|
key: "sys:crm:bin",
|
|
@@ -24854,7 +24866,7 @@ const fe = [
|
|
|
24854
24866
|
subject: z.inventory_stockAdjustment,
|
|
24855
24867
|
actions: [l.update]
|
|
24856
24868
|
}
|
|
24857
|
-
],
|
|
24869
|
+
], PA = [
|
|
24858
24870
|
...fe,
|
|
24859
24871
|
{
|
|
24860
24872
|
label: "Unit Cost History",
|
|
@@ -24876,7 +24888,7 @@ const fe = [
|
|
|
24876
24888
|
];
|
|
24877
24889
|
[
|
|
24878
24890
|
...sd,
|
|
24879
|
-
...
|
|
24891
|
+
...PA,
|
|
24880
24892
|
...TA
|
|
24881
24893
|
];
|
|
24882
24894
|
const ld = [
|
|
@@ -25169,7 +25181,7 @@ const yz = {
|
|
|
25169
25181
|
[`set_${m.inventory_unitCostHistory}`]: {
|
|
25170
25182
|
key: "sys:inventory:unit_cost_history",
|
|
25171
25183
|
name: "Unit Cost History",
|
|
25172
|
-
permissions:
|
|
25184
|
+
permissions: PA
|
|
25173
25185
|
},
|
|
25174
25186
|
[`set_${m.inventory_wastageTemplate}`]: {
|
|
25175
25187
|
key: "sys:inventory:wastage_template",
|
|
@@ -25530,7 +25542,7 @@ function Iz() {
|
|
|
25530
25542
|
return !0;
|
|
25531
25543
|
};
|
|
25532
25544
|
}
|
|
25533
|
-
function
|
|
25545
|
+
function S(g, f, A, F) {
|
|
25534
25546
|
return g.validate(g.options, f, A, F);
|
|
25535
25547
|
}
|
|
25536
25548
|
var k = {
|
|
@@ -25574,16 +25586,16 @@ function Iz() {
|
|
|
25574
25586
|
return !!f && g === f.length;
|
|
25575
25587
|
},
|
|
25576
25588
|
$or: function(g, f, A, F) {
|
|
25577
|
-
for (var I = 0,
|
|
25578
|
-
if (
|
|
25589
|
+
for (var I = 0, P = g.length; I < P; I++)
|
|
25590
|
+
if (S(h(g, I), f, A, F)) return !0;
|
|
25579
25591
|
return !1;
|
|
25580
25592
|
},
|
|
25581
25593
|
$nor: function(g, f, A, F) {
|
|
25582
25594
|
return !k.$or(g, f, A, F);
|
|
25583
25595
|
},
|
|
25584
25596
|
$and: function(g, f, A, F) {
|
|
25585
|
-
for (var I = 0,
|
|
25586
|
-
if (!
|
|
25597
|
+
for (var I = 0, P = g.length; I < P; I++)
|
|
25598
|
+
if (!S(h(g, I), f, A, F)) return !1;
|
|
25587
25599
|
return !0;
|
|
25588
25600
|
},
|
|
25589
25601
|
$regex: p(function(g, f) {
|
|
@@ -25593,11 +25605,11 @@ function Iz() {
|
|
|
25593
25605
|
return g.call(f, f, A, F);
|
|
25594
25606
|
},
|
|
25595
25607
|
$elemMatch: function(g, f, A, F) {
|
|
25596
|
-
return s(f) ? !!~function(I,
|
|
25608
|
+
return s(f) ? !!~function(I, P) {
|
|
25597
25609
|
for (var w = 0; w < I.length; w++)
|
|
25598
|
-
if (h(I, w), P
|
|
25610
|
+
if (h(I, w), S(P, h(I, w))) return w;
|
|
25599
25611
|
return -1;
|
|
25600
|
-
}(f, g) :
|
|
25612
|
+
}(f, g) : S(g, f, A, F);
|
|
25601
25613
|
},
|
|
25602
25614
|
$exists: function(g, f, A, F) {
|
|
25603
25615
|
return F.hasOwnProperty(A) === g;
|
|
@@ -25605,61 +25617,61 @@ function Iz() {
|
|
|
25605
25617
|
}, G = {
|
|
25606
25618
|
$eq: function(g, f, A) {
|
|
25607
25619
|
var F = A.comparable, I = A.compare;
|
|
25608
|
-
return g instanceof RegExp ? p(function(
|
|
25609
|
-
return typeof
|
|
25610
|
-
}) : g instanceof Function ? p(g) : s(g) && !g.length ? p(function(
|
|
25611
|
-
return s(
|
|
25620
|
+
return g instanceof RegExp ? p(function(P) {
|
|
25621
|
+
return typeof P == "string" && g.test(P);
|
|
25622
|
+
}) : g instanceof Function ? p(g) : s(g) && !g.length ? p(function(P) {
|
|
25623
|
+
return s(P) && !P.length;
|
|
25612
25624
|
}) : p(
|
|
25613
|
-
g === null ? function(
|
|
25614
|
-
return
|
|
25615
|
-
} : function(
|
|
25616
|
-
return I(F(
|
|
25625
|
+
g === null ? function(P) {
|
|
25626
|
+
return P == null;
|
|
25627
|
+
} : function(P) {
|
|
25628
|
+
return I(F(P), F(g)) === 0;
|
|
25617
25629
|
}
|
|
25618
25630
|
);
|
|
25619
25631
|
},
|
|
25620
25632
|
$gt: function(g, f, A) {
|
|
25621
25633
|
var F = A.comparable, I = A.compare;
|
|
25622
|
-
return function(
|
|
25623
|
-
return I(F(
|
|
25634
|
+
return function(P) {
|
|
25635
|
+
return I(F(P), F(g)) > 0;
|
|
25624
25636
|
};
|
|
25625
25637
|
},
|
|
25626
25638
|
$gte: function(g, f, A) {
|
|
25627
25639
|
var F = A.comparable, I = A.compare;
|
|
25628
|
-
return function(
|
|
25629
|
-
return I(F(
|
|
25640
|
+
return function(P) {
|
|
25641
|
+
return I(F(P), F(g)) >= 0;
|
|
25630
25642
|
};
|
|
25631
25643
|
},
|
|
25632
25644
|
$lt: function(g, f, A) {
|
|
25633
25645
|
var F = A.comparable, I = A.compare;
|
|
25634
|
-
return function(
|
|
25635
|
-
return I(F(
|
|
25646
|
+
return function(P) {
|
|
25647
|
+
return I(F(P), F(g)) < 0;
|
|
25636
25648
|
};
|
|
25637
25649
|
},
|
|
25638
25650
|
$lte: function(g, f, A) {
|
|
25639
25651
|
var F = A.comparable, I = A.compare;
|
|
25640
|
-
return function(
|
|
25641
|
-
return I(F(
|
|
25652
|
+
return function(P) {
|
|
25653
|
+
return I(F(P), F(g)) <= 0;
|
|
25642
25654
|
};
|
|
25643
25655
|
},
|
|
25644
25656
|
$in: function(g, f, A) {
|
|
25645
25657
|
var F = A.comparable;
|
|
25646
25658
|
return function(I) {
|
|
25647
25659
|
if (!(I instanceof Array)) {
|
|
25648
|
-
var
|
|
25649
|
-
if (
|
|
25660
|
+
var P = F(I);
|
|
25661
|
+
if (P === I && o(I) === "object") {
|
|
25650
25662
|
for (U = g.length; U--; )
|
|
25651
25663
|
if (String(g[U]) === String(I) && String(I) !== "[object Object]")
|
|
25652
25664
|
return !0;
|
|
25653
25665
|
}
|
|
25654
|
-
if (
|
|
25666
|
+
if (P === void 0) {
|
|
25655
25667
|
for (U = g.length; U--; ) if (g[U] == null) return !0;
|
|
25656
25668
|
}
|
|
25657
25669
|
for (U = g.length; U--; ) {
|
|
25658
|
-
var w =
|
|
25659
|
-
if (w && String(w) !== "[object Object]" && String(
|
|
25670
|
+
var w = S(pe(h(g, U), A), P, U, g);
|
|
25671
|
+
if (w && String(w) !== "[object Object]" && String(P) !== "[object Object]")
|
|
25660
25672
|
return !0;
|
|
25661
25673
|
}
|
|
25662
|
-
return !!~g.indexOf(
|
|
25674
|
+
return !!~g.indexOf(P);
|
|
25663
25675
|
}
|
|
25664
25676
|
for (var U = I.length; U--; )
|
|
25665
25677
|
if (~g.indexOf(F(h(I, U)))) return !0;
|
|
@@ -25668,8 +25680,8 @@ function Iz() {
|
|
|
25668
25680
|
},
|
|
25669
25681
|
$nin: function(g, f, A) {
|
|
25670
25682
|
var F = G.$in(g, f, A);
|
|
25671
|
-
return function(I,
|
|
25672
|
-
return !F(I,
|
|
25683
|
+
return function(I, P, w, U) {
|
|
25684
|
+
return !F(I, P, w, U);
|
|
25673
25685
|
};
|
|
25674
25686
|
},
|
|
25675
25687
|
$mod: function(g) {
|
|
@@ -25679,8 +25691,8 @@ function Iz() {
|
|
|
25679
25691
|
},
|
|
25680
25692
|
$ne: function(g, f, A) {
|
|
25681
25693
|
var F = G.$eq(g, f, A);
|
|
25682
|
-
return D(function(I,
|
|
25683
|
-
return !F(I,
|
|
25694
|
+
return D(function(I, P, w, U) {
|
|
25695
|
+
return !F(I, P, w, U);
|
|
25684
25696
|
});
|
|
25685
25697
|
},
|
|
25686
25698
|
$and: function(g, f, A) {
|
|
@@ -25697,8 +25709,8 @@ function Iz() {
|
|
|
25697
25709
|
},
|
|
25698
25710
|
$not: function(g, f, A) {
|
|
25699
25711
|
var F = Z(A)(g);
|
|
25700
|
-
return function(I,
|
|
25701
|
-
return !
|
|
25712
|
+
return function(I, P, w) {
|
|
25713
|
+
return !S(F, I, P, w);
|
|
25702
25714
|
};
|
|
25703
25715
|
},
|
|
25704
25716
|
$type: function(g) {
|
|
@@ -25726,7 +25738,7 @@ function Iz() {
|
|
|
25726
25738
|
return { options: g, validate: f };
|
|
25727
25739
|
}
|
|
25728
25740
|
function le(g, f) {
|
|
25729
|
-
var A = g.keyPath, F = g.child, I = g.query,
|
|
25741
|
+
var A = g.keyPath, F = g.child, I = g.query, P = [];
|
|
25730
25742
|
if (function cd(bt, On, Mn, HA, ko) {
|
|
25731
25743
|
if (Mn === On.length || bt == null)
|
|
25732
25744
|
return void ko.push([bt, On[Mn - 1], HA]);
|
|
@@ -25734,12 +25746,12 @@ function Iz() {
|
|
|
25734
25746
|
if (s(bt) && isNaN(Number(ud)))
|
|
25735
25747
|
for (var No = 0, WA = bt.length; No < WA; No++) cd(h(bt, No), On, Mn, bt, ko);
|
|
25736
25748
|
else cd(h(bt, ud), On, Mn + 1, bt, ko);
|
|
25737
|
-
}(f, A, 0, f,
|
|
25738
|
-
var w =
|
|
25739
|
-
return
|
|
25749
|
+
}(f, A, 0, f, P), P.length === 1) {
|
|
25750
|
+
var w = P[0];
|
|
25751
|
+
return S(F, w[0], w[1], w[2]);
|
|
25740
25752
|
}
|
|
25741
|
-
for (var U = I && I.$ne !== void 0, oe = U, Ae = 0; Ae <
|
|
25742
|
-
var Qe =
|
|
25753
|
+
for (var U = I && I.$ne !== void 0, oe = U, Ae = 0; Ae < P.length; Ae++) {
|
|
25754
|
+
var Qe = P[Ae], Ur = S(F, Qe[0], Qe[1], Qe[2]);
|
|
25743
25755
|
U ? oe &= Ur : oe |= Ur;
|
|
25744
25756
|
}
|
|
25745
25757
|
return oe;
|
|
@@ -25763,12 +25775,12 @@ function Iz() {
|
|
|
25763
25775
|
if (oe.charCodeAt(0) === 36)
|
|
25764
25776
|
throw new Error("Unknown operation " + oe);
|
|
25765
25777
|
var Ur = oe.split(".");
|
|
25766
|
-
U.push(de(Ur,
|
|
25778
|
+
U.push(de(Ur, P(Ae), Ae));
|
|
25767
25779
|
}
|
|
25768
25780
|
}
|
|
25769
25781
|
}
|
|
25770
25782
|
return U.length === 1 ? U[0] : C(U, k.$and);
|
|
25771
|
-
},
|
|
25783
|
+
}, P = function(w) {
|
|
25772
25784
|
return w = F(w), function U(oe, Ae) {
|
|
25773
25785
|
if (!d(oe)) return Ae;
|
|
25774
25786
|
for (var Qe in oe) Ae.push(Qe), U(oe[Qe], Ae);
|
|
@@ -25799,15 +25811,15 @@ function Iz() {
|
|
|
25799
25811
|
var A = Z(f)(g);
|
|
25800
25812
|
return f && f.select && (A = {
|
|
25801
25813
|
options: A,
|
|
25802
|
-
validate: function(F, I,
|
|
25803
|
-
return
|
|
25814
|
+
validate: function(F, I, P, w) {
|
|
25815
|
+
return S(F, I && f.select(I), P, w);
|
|
25804
25816
|
}
|
|
25805
25817
|
}), A;
|
|
25806
25818
|
}
|
|
25807
25819
|
function be(g, f) {
|
|
25808
25820
|
var A = pe(g, f = Object.assign({ compare: je, comparable: Ce }, f));
|
|
25809
|
-
return function(F, I,
|
|
25810
|
-
return
|
|
25821
|
+
return function(F, I, P) {
|
|
25822
|
+
return S(A, F, I, P);
|
|
25811
25823
|
};
|
|
25812
25824
|
}
|
|
25813
25825
|
function je(g, f) {
|
|
@@ -25833,10 +25845,10 @@ function Dz(e, n) {
|
|
|
25833
25845
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i);
|
|
25834
25846
|
}
|
|
25835
25847
|
}
|
|
25836
|
-
function
|
|
25848
|
+
function Sz(e, n, t) {
|
|
25837
25849
|
return n && Dz(e.prototype, n), e;
|
|
25838
25850
|
}
|
|
25839
|
-
function
|
|
25851
|
+
function Pz(e, n) {
|
|
25840
25852
|
e.prototype = Object.create(n.prototype), e.prototype.constructor = e, e.__proto__ = n;
|
|
25841
25853
|
}
|
|
25842
25854
|
function xs(e) {
|
|
@@ -25901,7 +25913,7 @@ function eh(e) {
|
|
|
25901
25913
|
var jA = function(n) {
|
|
25902
25914
|
return 'Cannot execute "' + n.action + '" on "' + n.subjectName + '"';
|
|
25903
25915
|
}, Hr = jA, Oz = /* @__PURE__ */ function(e) {
|
|
25904
|
-
|
|
25916
|
+
Pz(n, e), n.setDefaultMessage = function(r) {
|
|
25905
25917
|
r === null ? Hr = jA : Hr = typeof r == "string" ? function() {
|
|
25906
25918
|
return r;
|
|
25907
25919
|
} : r;
|
|
@@ -26021,8 +26033,8 @@ var Gz = /* @__PURE__ */ function() {
|
|
|
26021
26033
|
for (var r = /* @__PURE__ */ Object.create(null), o = this[Fe].RuleType, a = !0, s = !1, d = 0; d < i.length; d++) {
|
|
26022
26034
|
var c = new o(i[d]), h = this.expandActions(c.actions), p = $s(c.subject), D = i.length - d - 1;
|
|
26023
26035
|
a = !!(a && c.inverted), !s && c.fields && (s = !0);
|
|
26024
|
-
for (var
|
|
26025
|
-
var k = p[
|
|
26036
|
+
for (var S = 0; S < p.length; S++) {
|
|
26037
|
+
var k = p[S];
|
|
26026
26038
|
r[k] = r[k] || /* @__PURE__ */ Object.create(null);
|
|
26027
26039
|
for (var G = 0; G < h.length; G++) {
|
|
26028
26040
|
var C = h[G];
|
|
@@ -26086,7 +26098,7 @@ var Gz = /* @__PURE__ */ function() {
|
|
|
26086
26098
|
o && o.slice(0).forEach(function(a) {
|
|
26087
26099
|
return a(r);
|
|
26088
26100
|
});
|
|
26089
|
-
},
|
|
26101
|
+
}, Sz(e, [{
|
|
26090
26102
|
key: "rules",
|
|
26091
26103
|
get: function() {
|
|
26092
26104
|
return this[Fe].originalRules;
|
|
@@ -26494,21 +26506,21 @@ function bD(e, n, t) {
|
|
|
26494
26506
|
return;
|
|
26495
26507
|
h++;
|
|
26496
26508
|
const D = h;
|
|
26497
|
-
let
|
|
26509
|
+
let S = !1;
|
|
26498
26510
|
o && Promise.resolve().then(() => {
|
|
26499
26511
|
o.value = !0;
|
|
26500
26512
|
});
|
|
26501
26513
|
try {
|
|
26502
26514
|
const k = await e((G) => {
|
|
26503
26515
|
p(() => {
|
|
26504
|
-
o && (o.value = !1),
|
|
26516
|
+
o && (o.value = !1), S || G();
|
|
26505
26517
|
});
|
|
26506
26518
|
});
|
|
26507
26519
|
D === h && (c.value = k);
|
|
26508
26520
|
} catch (k) {
|
|
26509
26521
|
s(k);
|
|
26510
26522
|
} finally {
|
|
26511
|
-
o && D === h && (o.value = !1),
|
|
26523
|
+
o && D === h && (o.value = !1), S = !0;
|
|
26512
26524
|
}
|
|
26513
26525
|
}), r ? or(() => (d.value = !0, c.value)) : c;
|
|
26514
26526
|
}
|
|
@@ -26583,13 +26595,13 @@ const ID = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
26583
26595
|
}, DD = {
|
|
26584
26596
|
title: "访问被拒绝",
|
|
26585
26597
|
subtitle: "哎呀!您没有权限访问此页面。"
|
|
26586
|
-
}, PD = {
|
|
26587
|
-
noPermission: DD
|
|
26588
26598
|
}, SD = {
|
|
26599
|
+
noPermission: DD
|
|
26600
|
+
}, PD = {
|
|
26589
26601
|
title: "存取被拒絕",
|
|
26590
26602
|
subtitle: "哎呀!您沒有權限存取此頁面。"
|
|
26591
26603
|
}, TD = {
|
|
26592
|
-
noPermission:
|
|
26604
|
+
noPermission: PD
|
|
26593
26605
|
}, RD = {
|
|
26594
26606
|
title: "การเข้าถึงถูกปฏิเสธ",
|
|
26595
26607
|
subtitle: "โอ้! คุณไม่มีสิทธิ์เข้าถึงหน้านี้"
|
|
@@ -26601,7 +26613,7 @@ const ID = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
26601
26613
|
const { t: n } = ty({
|
|
26602
26614
|
messages: {
|
|
26603
26615
|
"en-US": zD,
|
|
26604
|
-
"zh-CN":
|
|
26616
|
+
"zh-CN": SD,
|
|
26605
26617
|
"zh-Hant": TD,
|
|
26606
26618
|
"th-TH": OD
|
|
26607
26619
|
}
|
|
@@ -26648,7 +26660,7 @@ function sh(e) {
|
|
|
26648
26660
|
const t = ((i = Cr().sessionUser.value) == null ? void 0 : i.permissions) ?? [];
|
|
26649
26661
|
return e.some((r) => wo([r], t).granted);
|
|
26650
26662
|
}
|
|
26651
|
-
function
|
|
26663
|
+
function fS() {
|
|
26652
26664
|
const e = or(
|
|
26653
26665
|
() => sh([co(Ie.Action.manage, "deviceManagement")])
|
|
26654
26666
|
), n = or(
|
|
@@ -26665,7 +26677,7 @@ function LD(e) {
|
|
|
26665
26677
|
const t = ((i = Cr().sessionUser.value) == null ? void 0 : i.permissions) ?? [];
|
|
26666
26678
|
return e.some((r) => wo([r], t).granted);
|
|
26667
26679
|
}
|
|
26668
|
-
function
|
|
26680
|
+
function pS() {
|
|
26669
26681
|
return { canManageOrderSetting: or(
|
|
26670
26682
|
() => LD([GA(Ie.Action.manage)])
|
|
26671
26683
|
) };
|
|
@@ -26674,7 +26686,7 @@ const YA = {
|
|
|
26674
26686
|
action: Ie.Action.manage,
|
|
26675
26687
|
subject: Ie.Subject.Business.operation_displaySystem
|
|
26676
26688
|
};
|
|
26677
|
-
function
|
|
26689
|
+
function AS() {
|
|
26678
26690
|
const e = Cr();
|
|
26679
26691
|
return { canManageDisplaySystem: or(
|
|
26680
26692
|
() => {
|
|
@@ -26699,20 +26711,20 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
|
|
|
26699
26711
|
}), lh = co(Ie.Action.manage, "deviceManagement"), _D = co(Ie.Action.manage, "deviceBinding"), dh = GA(Ie.Action.manage), $D = {
|
|
26700
26712
|
action: Ie.Action.manage,
|
|
26701
26713
|
subject: Ie.Subject.Business.restaurant
|
|
26702
|
-
},
|
|
26714
|
+
}, yS = [
|
|
26703
26715
|
{
|
|
26704
26716
|
// Main Kiosk view hosts both the device-binding and management tabs, so
|
|
26705
26717
|
// allow access via either subject (coverSubject = OR fallback).
|
|
26706
26718
|
path: Ue.KioskRoute,
|
|
26707
26719
|
name: "Kiosk",
|
|
26708
|
-
component: gn(Ve(() => import("./KioskView-
|
|
26720
|
+
component: gn(Ve(() => import("./KioskView-BQxmKeWX.js"))),
|
|
26709
26721
|
meta: hn([{ ...lh, coverSubject: _D.subject }])
|
|
26710
26722
|
},
|
|
26711
26723
|
{
|
|
26712
26724
|
path: Ue.KioskDeviceRoute,
|
|
26713
26725
|
name: "Kiosk Device",
|
|
26714
26726
|
component: gn(
|
|
26715
|
-
Ve(() => import("./KioskDevicesView-
|
|
26727
|
+
Ve(() => import("./KioskDevicesView-gnKpLlRc.js"))
|
|
26716
26728
|
),
|
|
26717
26729
|
meta: hn([lh])
|
|
26718
26730
|
},
|
|
@@ -26722,7 +26734,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
|
|
|
26722
26734
|
path: Ue.KioskOrderSettingRoute,
|
|
26723
26735
|
name: "Kiosk Order Setting",
|
|
26724
26736
|
component: gn(
|
|
26725
|
-
Ve(() => import("./KioskSettingView-
|
|
26737
|
+
Ve(() => import("./KioskSettingView-CarJ2tfl.js"))
|
|
26726
26738
|
),
|
|
26727
26739
|
meta: hn([dh])
|
|
26728
26740
|
},
|
|
@@ -26730,7 +26742,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
|
|
|
26730
26742
|
path: Ue.OrderSettingView,
|
|
26731
26743
|
name: "Order Setting View",
|
|
26732
26744
|
component: gn(
|
|
26733
|
-
Ve(() => import("./OrderSettingsView-
|
|
26745
|
+
Ve(() => import("./OrderSettingsView-DvThEQW-.js"))
|
|
26734
26746
|
),
|
|
26735
26747
|
meta: hn([dh])
|
|
26736
26748
|
},
|
|
@@ -26738,7 +26750,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
|
|
|
26738
26750
|
path: Ue.DisplaySystemView,
|
|
26739
26751
|
name: "Display System View",
|
|
26740
26752
|
component: gn(
|
|
26741
|
-
Ve(() => import("./DisplaySystemView-
|
|
26753
|
+
Ve(() => import("./DisplaySystemView-D4I6fQwr.js"))
|
|
26742
26754
|
),
|
|
26743
26755
|
meta: hn([YA])
|
|
26744
26756
|
},
|
|
@@ -26749,7 +26761,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
|
|
|
26749
26761
|
path: Ue.FoodCourtOrderSettingView,
|
|
26750
26762
|
name: "Food Court Order Setting View",
|
|
26751
26763
|
component: Ve(
|
|
26752
|
-
() => import("./FoodCourtOrderSettingsView-
|
|
26764
|
+
() => import("./FoodCourtOrderSettingsView-BPb_clxQ.js")
|
|
26753
26765
|
)
|
|
26754
26766
|
},
|
|
26755
26767
|
{
|
|
@@ -26757,13 +26769,13 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
|
|
|
26757
26769
|
// members. Owner-only on the backend, as Order Setting above.
|
|
26758
26770
|
path: Ue.FoodCourtStallsView,
|
|
26759
26771
|
name: "Food Court Stalls View",
|
|
26760
|
-
component: Ve(() => import("./FoodCourtStallsView-
|
|
26772
|
+
component: Ve(() => import("./FoodCourtStallsView-Yo5imZIL.js"))
|
|
26761
26773
|
},
|
|
26762
26774
|
{
|
|
26763
26775
|
// Food Court Operations › Food Court: the court's Active / Inactive status (KDI-4915).
|
|
26764
26776
|
path: Ue.FoodCourtStatusView,
|
|
26765
26777
|
name: "Food Court Status View",
|
|
26766
|
-
component: Ve(() => import("./FoodCourtStatusView-
|
|
26778
|
+
component: Ve(() => import("./FoodCourtStatusView-Qmg07OHi.js"))
|
|
26767
26779
|
},
|
|
26768
26780
|
{
|
|
26769
26781
|
// Food Court Operations › Orders (KDI-4941): the court's orders. Owner-only on
|
|
@@ -26772,7 +26784,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
|
|
|
26772
26784
|
// and a link to one order opens the list with it.
|
|
26773
26785
|
path: Ue.FoodCourtOrdersView,
|
|
26774
26786
|
name: "Food Court Orders View",
|
|
26775
|
-
component: Ve(() => import("./FoodCourtOrdersView-
|
|
26787
|
+
component: Ve(() => import("./FoodCourtOrdersView-B4jGHCvq.js")),
|
|
26776
26788
|
children: [
|
|
26777
26789
|
{
|
|
26778
26790
|
path: ":orderId",
|
|
@@ -26788,44 +26800,44 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
|
|
|
26788
26800
|
path: Ue.FoodCourtInvitationsView,
|
|
26789
26801
|
name: "Food Court Invitations View",
|
|
26790
26802
|
component: gn(
|
|
26791
|
-
Ve(() => import("./FoodCourtInvitationsView-
|
|
26803
|
+
Ve(() => import("./FoodCourtInvitationsView-DODbUcup.js"))
|
|
26792
26804
|
),
|
|
26793
26805
|
meta: hn([$D])
|
|
26794
26806
|
}
|
|
26795
26807
|
];
|
|
26796
26808
|
hy();
|
|
26797
|
-
const
|
|
26809
|
+
const bS = {
|
|
26798
26810
|
"en-US": ry,
|
|
26799
26811
|
"zh-CN": ay,
|
|
26800
26812
|
"th-TH": ly,
|
|
26801
26813
|
"ja-JP": uy
|
|
26802
26814
|
};
|
|
26803
26815
|
export {
|
|
26804
|
-
|
|
26805
|
-
|
|
26806
|
-
|
|
26816
|
+
hS as _,
|
|
26817
|
+
fS as a,
|
|
26818
|
+
mS as b,
|
|
26807
26819
|
ee as c,
|
|
26808
|
-
|
|
26820
|
+
gS as d,
|
|
26809
26821
|
Gb as e,
|
|
26810
|
-
|
|
26822
|
+
cS as f,
|
|
26811
26823
|
fy as g,
|
|
26812
|
-
|
|
26824
|
+
dS as h,
|
|
26813
26825
|
py as i,
|
|
26814
26826
|
Lb as j,
|
|
26815
26827
|
u as k,
|
|
26816
26828
|
lp as l,
|
|
26817
|
-
|
|
26818
|
-
|
|
26829
|
+
iS as m,
|
|
26830
|
+
sS as n,
|
|
26819
26831
|
bg as o,
|
|
26820
|
-
|
|
26821
|
-
|
|
26822
|
-
|
|
26823
|
-
|
|
26824
|
-
|
|
26825
|
-
|
|
26826
|
-
|
|
26832
|
+
oS as p,
|
|
26833
|
+
rS as q,
|
|
26834
|
+
uS as r,
|
|
26835
|
+
lS as s,
|
|
26836
|
+
aS as t,
|
|
26837
|
+
pS as u,
|
|
26838
|
+
AS as v,
|
|
26827
26839
|
en as w,
|
|
26828
26840
|
y as x,
|
|
26829
|
-
|
|
26830
|
-
|
|
26841
|
+
bS as y,
|
|
26842
|
+
yS as z
|
|
26831
26843
|
};
|