@feedmepos/mf-order-setting 0.0.98 → 0.0.99
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-B3xrnpj3.js → DisplaySystemView-Brrexhuz.js} +4 -4
- package/dist/FoodCourtInvitationsView-wmZ1J7dm.js +402 -0
- package/dist/{FoodCourtOrderSettingsView-BR5PgIx5.js → FoodCourtOrderSettingsView-CNZs4q-x.js} +1 -1
- package/dist/{FoodCourtOrdersView-BZ8YxJ9y.js → FoodCourtOrdersView-DMvZ_Z_C.js} +4 -4
- package/dist/{FoodCourtStallsView-zZyzPDe2.js → FoodCourtStallsView-B3egjtKo.js} +3 -3
- package/dist/{FoodCourtStatusView-D42wymS-.js → FoodCourtStatusView-YdiL94wn.js} +2 -2
- package/dist/{KioskDevicesView-PuAwkC1s.js → KioskDevicesView-DsXy1LWl.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CUriyLui.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Byoci4Fo.js} +5 -5
- package/dist/{KioskSettingView-CuA3Lvdr.js → KioskSettingView-DqUpOq_Y.js} +3 -3
- package/dist/{KioskView-E5ePu5Zf.js → KioskView-CdRnNSU0.js} +6 -6
- package/dist/{OrderSettingsView-DZP2aZ58.js → OrderSettingsView-CjXph68w.js} +21844 -21729
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-BG71fNkx.js +92 -0
- package/dist/{app-CWx14lJE.js → app-moKDIx07.js} +413 -353
- package/dist/app.js +1 -1
- package/dist/common/queue/called-sms.d.ts +45 -0
- package/dist/common/sms/sms-parts.d.ts +23 -0
- package/dist/{dayjs.min-sDkYDUoj.js → dayjs.min-DQqlQ2dX.js} +1 -1
- package/dist/{featureFlag-Dh37Fdlx.js → featureFlag-qLUdllY9.js} +1 -1
- package/dist/{food-court-member-piX3gesl.js → food-court-member-CfV5vmHz.js} +24 -20
- package/dist/frontend/mf-order/src/app.d.ts +60 -0
- package/dist/frontend/mf-order/src/main.d.ts +60 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/food-court/food-court-member.d.ts +5 -0
- package/dist/frontend/mf-order/src/views/order-settings/components/RestaurantSelector.vue.d.ts +7 -1
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/reservation-pos.d.ts +8 -0
- package/dist/frontend/mf-order/src/views/order-settings/queue/auto-cancel-minutes.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/queue/called-message.d.ts +31 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts +8 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-dcHvfBC0.js → index-BDgJZqqD.js} +4 -4
- package/dist/{index-BsryfWF5.js → index-BthRwhFh.js} +1 -1
- package/dist/{index-EXn8TQyw.js → index-By3yKf-8.js} +1 -1
- package/dist/{index-EVX4Oil9.js → index-C44A5dgm.js} +1 -1
- package/dist/{index-D5bW0yrg.js → index-D5T7zJ3M.js} +1 -1
- package/dist/{index-DToeF1mu.js → index-Dy5GRKwA.js} +2 -2
- package/dist/{order.dto-DewGFVgb.js → order.dto-DvP9y_72.js} +850 -832
- package/dist/package/entity/order-setting/order-setting.do.d.ts +39 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -0
- package/dist/package/entity/order-setting/queue/queue.do.d.ts +12 -0
- package/dist/package/entity/order-setting/queue/queue.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/reservationV2/reservation.do.d.ts +56 -0
- package/dist/package/entity/queue/queue.dto.d.ts +2 -2
- package/dist/package/entity/reservation/reservation-pos.do.d.ts +5 -0
- package/dist/package/entity/reservation/reservation.dto.d.ts +9 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +10 -0
- package/package.json +1 -1
- package/src/locales/en-US.json +16 -1
- package/src/locales/ja-JP.json +16 -1
- package/src/locales/th-TH.json +16 -1
- package/src/locales/zh-CN.json +16 -1
- package/src/views/food-court/FoodCourtInvitationsView.vue +72 -38
- package/src/views/food-court/food-court-member.spec.ts +11 -0
- package/src/views/food-court/food-court-member.ts +10 -0
- package/src/views/order-settings/OrderSettingsView.vue +5 -2
- package/src/views/order-settings/components/RestaurantSelector.vue +11 -3
- package/src/views/order-settings/dine-in/DineInSetting.vue +19 -1
- package/src/views/order-settings/dine-in/reservation-pos.spec.ts +27 -0
- package/src/views/order-settings/dine-in/reservation-pos.ts +17 -0
- package/src/views/order-settings/queue/QueueSetting.source.spec.ts +1 -1
- package/src/views/order-settings/queue/QueueSetting.vue +111 -3
- package/src/views/order-settings/queue/auto-cancel-minutes.ts +2 -4
- package/src/views/order-settings/queue/called-message.spec.ts +124 -0
- package/src/views/order-settings/queue/called-message.ts +84 -0
- package/src/views/order-settings/reservation/CopySettingsSheet.vue +4 -1
- package/src/views/order-settings/reservation/ReservationSetting.vue +54 -1
- package/dist/FoodCourtInvitationsView-D9rNuL-B.js +0 -383
|
@@ -142,6 +142,7 @@ const dp = {
|
|
|
142
142
|
invitations: {
|
|
143
143
|
title: "Food Courts",
|
|
144
144
|
noRestaurant: "Select a restaurant to manage its food courts.",
|
|
145
|
+
noAccess: "You can't manage food courts for this restaurant. Pick another restaurant above, or ask the business owner for access.",
|
|
145
146
|
loadFailed: "Couldn't load your food courts.",
|
|
146
147
|
searchPlaceholder: "Search food courts",
|
|
147
148
|
noMatch: "No food courts match your search.",
|
|
@@ -253,7 +254,8 @@ const dp = {
|
|
|
253
254
|
acceptQueue: "Accept queue",
|
|
254
255
|
acceptQueueSublabel: "Customer can use queue in FeedMe app",
|
|
255
256
|
acceptReservation: "Accept reservation",
|
|
256
|
-
acceptReservationSublabel: "Customers can book a table",
|
|
257
|
+
acceptReservationSublabel: "Customers can book a table. FeedMe staff only",
|
|
258
|
+
acceptReservationRequiresPosVersion: "Needs POS {min} or later on the Main POS (this outlet runs {version})",
|
|
257
259
|
actiavteFeedmeExpress: "Activate FeedMe Express",
|
|
258
260
|
activated: "Activated",
|
|
259
261
|
activatedDate: "Activated date",
|
|
@@ -411,6 +413,19 @@ const dp = {
|
|
|
411
413
|
disableRemoteQueue: "Disable Remote Queue",
|
|
412
414
|
disableSMS: "Disable notifications",
|
|
413
415
|
queueNotifyOnCancel: "Notify customer when a queue is cancelled",
|
|
416
|
+
queueCalledMessage: "Called SMS message",
|
|
417
|
+
queueCalledMessageDescription: "Replaces the last line of the SMS sent when a queue is called. The outlet name and queue code are always included. Leave empty to use the default.",
|
|
418
|
+
queueCalledMessagePlaceholder: "e.g. Please come within 15 minutes or your queue will be cancelled.",
|
|
419
|
+
queueCalledMessageInsertMinutes: "Insert auto-cancel minutes",
|
|
420
|
+
queueCalledMessageCount: "{length} characters · {parts} SMS",
|
|
421
|
+
queueCalledMessagePreview: "Preview",
|
|
422
|
+
queueCalledMessageMultiPart: "This message is sent as {parts} SMS, so each call uses {parts} SMS credits.",
|
|
423
|
+
queueCalledMessageNotSevenBit: "Emoji, Chinese or Thai text, or curly quotes (’) limit each SMS to 70 characters.",
|
|
424
|
+
queueCalledMessageLinkOrPhone: "Malaysian carriers may block SMS that contain links or phone numbers.",
|
|
425
|
+
queueCalledMessageTimerNotMentioned: "Auto-cancel is on, but this message doesn't mention it. Add {placeholder} to tell customers how long they have.",
|
|
426
|
+
queueCalledMessagePlaceholderWhileTimerOff: "Auto-cancel is off, so the default line is sent instead of this message.",
|
|
427
|
+
queueCalledMessageUnknownPlaceholder: "Remove {names}: the only placeholder supported is {placeholder}.",
|
|
428
|
+
queueCalledMessageTooLong: "Keep the called SMS message to {max} characters.",
|
|
414
429
|
discountCampaign: "Discount Campaign",
|
|
415
430
|
discountRule: {
|
|
416
431
|
add: "Add discount rule",
|
|
@@ -1506,6 +1521,7 @@ const dp = {
|
|
|
1506
1521
|
invitations: {
|
|
1507
1522
|
title: "美食广场",
|
|
1508
1523
|
noRestaurant: "请选择一家餐厅以管理其美食广场。",
|
|
1524
|
+
noAccess: "您无法管理此餐厅的美食广场。请在上方选择其他餐厅,或向商家所有者申请权限。",
|
|
1509
1525
|
loadFailed: "无法加载美食广场。",
|
|
1510
1526
|
searchPlaceholder: "搜索美食广场",
|
|
1511
1527
|
noMatch: "没有符合搜索条件的美食广场。",
|
|
@@ -1709,7 +1725,8 @@ const dp = {
|
|
|
1709
1725
|
acceptQueue: "接受队列",
|
|
1710
1726
|
acceptQueueSublabel: "客户可以在FeedMe应用中使用排队功能",
|
|
1711
1727
|
acceptReservation: "接受预订",
|
|
1712
|
-
acceptReservationSublabel: "
|
|
1728
|
+
acceptReservationSublabel: "客户可以预订餐桌。仅限 FeedMe 员工",
|
|
1729
|
+
acceptReservationRequiresPosVersion: "主 POS 需为 POS {min} 或更高版本(此门店当前为 {version})",
|
|
1713
1730
|
actiavteFeedmeExpress: "激活FeedMe外卖配送",
|
|
1714
1731
|
activated: "已激活",
|
|
1715
1732
|
activatedDate: "激活日期",
|
|
@@ -1993,6 +2010,19 @@ const dp = {
|
|
|
1993
2010
|
allowOverrideQueueCode: "允许覆盖排队号码",
|
|
1994
2011
|
disableSMS: "禁用通知",
|
|
1995
2012
|
queueNotifyOnCancel: "取消排队时通知顾客",
|
|
2013
|
+
queueCalledMessage: "叫号短信内容",
|
|
2014
|
+
queueCalledMessageDescription: "替换叫号时所发短信的最后一行。门店名称和排队号码始终保留。留空则使用默认内容。",
|
|
2015
|
+
queueCalledMessagePlaceholder: "例如:请在15分钟内到店,否则您的排队将被取消。",
|
|
2016
|
+
queueCalledMessageInsertMinutes: "插入自动取消分钟数",
|
|
2017
|
+
queueCalledMessageCount: "{length} 个字符 · {parts} 条短信",
|
|
2018
|
+
queueCalledMessagePreview: "预览",
|
|
2019
|
+
queueCalledMessageMultiPart: "此内容将以 {parts} 条短信发送,每次叫号消耗 {parts} 条短信额度。",
|
|
2020
|
+
queueCalledMessageNotSevenBit: "表情符号、中文或泰文、或弯引号(’)会使每条短信最多只能容纳 70 个字符。",
|
|
2021
|
+
queueCalledMessageLinkOrPhone: "马来西亚的电信运营商可能会拦截包含链接或电话号码的短信。",
|
|
2022
|
+
queueCalledMessageTimerNotMentioned: "已开启自动取消,但此内容未提及。添加 {placeholder} 告诉顾客还有多长时间。",
|
|
2023
|
+
queueCalledMessagePlaceholderWhileTimerOff: "自动取消已关闭,因此将发送默认内容而非此内容。",
|
|
2024
|
+
queueCalledMessageUnknownPlaceholder: "请删除 {names}:仅支持占位符 {placeholder}。",
|
|
2025
|
+
queueCalledMessageTooLong: "叫号短信内容请不要超过 {max} 个字符。",
|
|
1996
2026
|
codeSettings: "代码设置",
|
|
1997
2027
|
addCodeSetting: "添加代码设置",
|
|
1998
2028
|
current: "当前",
|
|
@@ -2856,6 +2886,7 @@ const dp = {
|
|
|
2856
2886
|
invitations: {
|
|
2857
2887
|
title: "ศูนย์อาหาร",
|
|
2858
2888
|
noRestaurant: "เลือกร้านอาหารเพื่อจัดการศูนย์อาหาร",
|
|
2889
|
+
noAccess: "คุณไม่สามารถจัดการศูนย์อาหารของร้านอาหารนี้ได้ เลือกร้านอาหารอื่นด้านบน หรือขอสิทธิ์จากเจ้าของธุรกิจ",
|
|
2859
2890
|
loadFailed: "ไม่สามารถโหลดศูนย์อาหารได้",
|
|
2860
2891
|
searchPlaceholder: "ค้นหาศูนย์อาหาร",
|
|
2861
2892
|
noMatch: "ไม่มีศูนย์อาหารที่ตรงกับการค้นหา",
|
|
@@ -3059,7 +3090,8 @@ const dp = {
|
|
|
3059
3090
|
acceptQueue: "จองคิว",
|
|
3060
3091
|
acceptQueueSublabel: "ลูกค้าสามารถจองคิวผ่านแอป FeedMe",
|
|
3061
3092
|
acceptReservation: "รับการจองโต๊ะ",
|
|
3062
|
-
acceptReservationSublabel: "ลูกค้าสามารถจองโต๊ะได้",
|
|
3093
|
+
acceptReservationSublabel: "ลูกค้าสามารถจองโต๊ะได้ เฉพาะพนักงาน FeedMe",
|
|
3094
|
+
acceptReservationRequiresPosVersion: "ต้องใช้ POS {min} ขึ้นไปเป็น Main POS (สาขานี้ใช้ {version})",
|
|
3063
3095
|
actiavteFeedmeExpress: "เปิดใช้งาน FeedMe Express",
|
|
3064
3096
|
activated: "เปิดใช้งานแล้ว",
|
|
3065
3097
|
activatedDate: "วันที่เปิดใช้งาน",
|
|
@@ -3341,6 +3373,19 @@ const dp = {
|
|
|
3341
3373
|
allowOverrideQueueCode: "อนุญาตให้แก้ไขรหัสคิว",
|
|
3342
3374
|
disableSMS: "ปิดใช้งานการแจ้งเตือน",
|
|
3343
3375
|
queueNotifyOnCancel: "แจ้งลูกค้าเมื่อคิวถูกยกเลิก",
|
|
3376
|
+
queueCalledMessage: "ข้อความ SMS เมื่อเรียกคิว",
|
|
3377
|
+
queueCalledMessageDescription: "แทนที่บรรทัดสุดท้ายของ SMS ที่ส่งเมื่อเรียกคิว ชื่อร้านและหมายเลขคิวจะแสดงเสมอ เว้นว่างไว้เพื่อใช้ข้อความเริ่มต้น",
|
|
3378
|
+
queueCalledMessagePlaceholder: "เช่น กรุณามาภายใน 15 นาที มิฉะนั้นคิวของคุณจะถูกยกเลิก",
|
|
3379
|
+
queueCalledMessageInsertMinutes: "แทรกจำนวนนาทีของการยกเลิกอัตโนมัติ",
|
|
3380
|
+
queueCalledMessageCount: "{length} ตัวอักษร · SMS {parts} ข้อความ",
|
|
3381
|
+
queueCalledMessagePreview: "ตัวอย่าง",
|
|
3382
|
+
queueCalledMessageMultiPart: "ข้อความนี้จะถูกส่งเป็น SMS {parts} ข้อความ การเรียกแต่ละครั้งจึงใช้เครดิต SMS {parts} ข้อความ",
|
|
3383
|
+
queueCalledMessageNotSevenBit: "อีโมจิ ตัวอักษรไทยหรือจีน หรือเครื่องหมายคำพูดแบบโค้ง (’) จะจำกัด SMS แต่ละข้อความไว้ที่ 70 ตัวอักษร",
|
|
3384
|
+
queueCalledMessageLinkOrPhone: "ผู้ให้บริการในมาเลเซียอาจบล็อก SMS ที่มีลิงก์หรือหมายเลขโทรศัพท์",
|
|
3385
|
+
queueCalledMessageTimerNotMentioned: "เปิดการยกเลิกอัตโนมัติอยู่ แต่ข้อความนี้ไม่ได้กล่าวถึง เพิ่ม {placeholder} เพื่อแจ้งลูกค้าว่ามีเวลาเท่าไร",
|
|
3386
|
+
queueCalledMessagePlaceholderWhileTimerOff: "ปิดการยกเลิกอัตโนมัติอยู่ ระบบจึงส่งข้อความเริ่มต้นแทนข้อความนี้",
|
|
3387
|
+
queueCalledMessageUnknownPlaceholder: "ลบ {names} ออก ตัวแทนที่รองรับมีเพียง {placeholder}",
|
|
3388
|
+
queueCalledMessageTooLong: "ข้อความ SMS เมื่อเรียกคิวต้องไม่เกิน {max} ตัวอักษร",
|
|
3344
3389
|
codeSettings: "ตั้งค่ารหัสคิว",
|
|
3345
3390
|
addCodeSetting: "เพิ่มการตั้งค่ารหัสคิว",
|
|
3346
3391
|
current: "ปัจจุบัน",
|
|
@@ -4041,6 +4086,7 @@ const dp = {
|
|
|
4041
4086
|
invitations: {
|
|
4042
4087
|
title: "フードコート",
|
|
4043
4088
|
noRestaurant: "フードコートを管理するレストランを選択してください。",
|
|
4089
|
+
noAccess: "このレストランのフードコートを管理する権限がありません。上で別のレストランを選ぶか、ビジネスのオーナーに権限を依頼してください。",
|
|
4044
4090
|
loadFailed: "フードコートを読み込めませんでした。",
|
|
4045
4091
|
searchPlaceholder: "フードコートを検索",
|
|
4046
4092
|
noMatch: "検索に一致するフードコートはありません。",
|
|
@@ -4152,7 +4198,8 @@ const dp = {
|
|
|
4152
4198
|
acceptQueue: "待ち行列を受け付ける",
|
|
4153
4199
|
acceptQueueSublabel: "お客様はFeedMeアプリで順番待ちができます",
|
|
4154
4200
|
acceptReservation: "予約を受け付ける",
|
|
4155
|
-
acceptReservationSublabel: "
|
|
4201
|
+
acceptReservationSublabel: "お客様はテーブルを予約できます。FeedMeスタッフのみ",
|
|
4202
|
+
acceptReservationRequiresPosVersion: "メイン POS は POS {min} 以降が必要です(この店舗は {version})",
|
|
4156
4203
|
actiavteFeedmeExpress: "FeedMe Expressを有効にする",
|
|
4157
4204
|
activated: "有効化済み",
|
|
4158
4205
|
activatedDate: "有効化日",
|
|
@@ -4424,6 +4471,19 @@ const dp = {
|
|
|
4424
4471
|
allowOverrideQueueCode: "整理番号の上書きを許可",
|
|
4425
4472
|
disableSMS: "通知を無効にする",
|
|
4426
4473
|
queueNotifyOnCancel: "順番待ちがキャンセルされたらお客様に通知する",
|
|
4474
|
+
queueCalledMessage: "呼び出しSMSのメッセージ",
|
|
4475
|
+
queueCalledMessageDescription: "順番待ちの呼び出し時に送るSMSの最後の行を置き換えます。店舗名と順番待ち番号は常に含まれます。空欄の場合は既定の文面を使います。",
|
|
4476
|
+
queueCalledMessagePlaceholder: "例: 15分以内にお越しください。お越しにならない場合は順番待ちをキャンセルします。",
|
|
4477
|
+
queueCalledMessageInsertMinutes: "自動キャンセルの分数を挿入",
|
|
4478
|
+
queueCalledMessageCount: "{length} 文字 · SMS {parts} 通",
|
|
4479
|
+
queueCalledMessagePreview: "プレビュー",
|
|
4480
|
+
queueCalledMessageMultiPart: "このメッセージはSMS {parts} 通として送信され、呼び出しごとにSMSクレジットを {parts} 通分消費します。",
|
|
4481
|
+
queueCalledMessageNotSevenBit: "絵文字、中国語・タイ語・日本語の文字、カーブ引用符(’)があると、SMS 1 通あたり 70 文字までになります。",
|
|
4482
|
+
queueCalledMessageLinkOrPhone: "マレーシアの通信事業者は、リンクや電話番号を含むSMSをブロックすることがあります。",
|
|
4483
|
+
queueCalledMessageTimerNotMentioned: "自動キャンセルがオンですが、このメッセージには記載がありません。{placeholder} を追加して、お客様に残り時間を伝えてください。",
|
|
4484
|
+
queueCalledMessagePlaceholderWhileTimerOff: "自動キャンセルがオフのため、このメッセージの代わりに既定の文面が送信されます。",
|
|
4485
|
+
queueCalledMessageUnknownPlaceholder: "{names} を削除してください。使用できるプレースホルダーは {placeholder} のみです。",
|
|
4486
|
+
queueCalledMessageTooLong: "呼び出しSMSのメッセージは {max} 文字以内にしてください。",
|
|
4427
4487
|
printChecklist: "チェックリストを印刷",
|
|
4428
4488
|
printChecklistSublabel: "オンライン注文のみ",
|
|
4429
4489
|
onlinePaxDialog: "人数ダイアログ(オンライン注文)",
|
|
@@ -6498,7 +6558,7 @@ const dp = {
|
|
|
6498
6558
|
}, Ap = {
|
|
6499
6559
|
order: hp,
|
|
6500
6560
|
menu: fp
|
|
6501
|
-
}, pp = "0.0.
|
|
6561
|
+
}, pp = "0.0.99", yp = "fmmf";
|
|
6502
6562
|
let Sd = !1;
|
|
6503
6563
|
function bp() {
|
|
6504
6564
|
Sd || (Sd = !0, console.log(
|
|
@@ -6512,7 +6572,7 @@ var Q = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
|
6512
6572
|
function vp(e) {
|
|
6513
6573
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6514
6574
|
}
|
|
6515
|
-
function
|
|
6575
|
+
function OC(e) {
|
|
6516
6576
|
if (e.__esModule) return e;
|
|
6517
6577
|
var n = e.default;
|
|
6518
6578
|
if (typeof n == "function") {
|
|
@@ -6531,9 +6591,9 @@ function MC(e) {
|
|
|
6531
6591
|
});
|
|
6532
6592
|
}), t;
|
|
6533
6593
|
}
|
|
6534
|
-
var Wr = {}, hn = {}, Qr = {}, Xr = {}, Kr = {}, Jr = {}, xr = {},
|
|
6594
|
+
var Wr = {}, hn = {}, Qr = {}, Xr = {}, Kr = {}, Jr = {}, xr = {}, Md;
|
|
6535
6595
|
function Fs() {
|
|
6536
|
-
return
|
|
6596
|
+
return Md || (Md = 1, function(e) {
|
|
6537
6597
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
|
|
6538
6598
|
var n;
|
|
6539
6599
|
(function(i) {
|
|
@@ -6614,9 +6674,9 @@ function Fs() {
|
|
|
6614
6674
|
e.getParsedType = t;
|
|
6615
6675
|
}(xr)), xr;
|
|
6616
6676
|
}
|
|
6617
|
-
var
|
|
6677
|
+
var Bd;
|
|
6618
6678
|
function Es() {
|
|
6619
|
-
return
|
|
6679
|
+
return Bd || (Bd = 1, function(e) {
|
|
6620
6680
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getErrorMap = e.setErrorMap = e.defaultErrorMap = e.ZodError = e.quotelessJson = e.ZodIssueCode = void 0;
|
|
6621
6681
|
const n = Is(), t = Fs();
|
|
6622
6682
|
e.ZodIssueCode = t.util.arrayToEnum([
|
|
@@ -6652,23 +6712,23 @@ function Es() {
|
|
|
6652
6712
|
return this.issues;
|
|
6653
6713
|
}
|
|
6654
6714
|
format(v) {
|
|
6655
|
-
const F = v || function(
|
|
6656
|
-
return
|
|
6657
|
-
}, D = { _errors: [] }, R = (
|
|
6658
|
-
for (const
|
|
6659
|
-
if (
|
|
6660
|
-
|
|
6661
|
-
else if (
|
|
6662
|
-
R(
|
|
6663
|
-
else if (
|
|
6664
|
-
R(
|
|
6665
|
-
else if (
|
|
6666
|
-
D._errors.push(F(
|
|
6715
|
+
const F = v || function(M) {
|
|
6716
|
+
return M.message;
|
|
6717
|
+
}, D = { _errors: [] }, R = (M) => {
|
|
6718
|
+
for (const B of M.issues)
|
|
6719
|
+
if (B.code === "invalid_union")
|
|
6720
|
+
B.unionErrors.map(R);
|
|
6721
|
+
else if (B.code === "invalid_return_type")
|
|
6722
|
+
R(B.returnTypeError);
|
|
6723
|
+
else if (B.code === "invalid_arguments")
|
|
6724
|
+
R(B.argumentsError);
|
|
6725
|
+
else if (B.path.length === 0)
|
|
6726
|
+
D._errors.push(F(B));
|
|
6667
6727
|
else {
|
|
6668
6728
|
let S = D, Z = 0;
|
|
6669
|
-
for (; Z <
|
|
6670
|
-
const W =
|
|
6671
|
-
Z ===
|
|
6729
|
+
for (; Z < B.path.length; ) {
|
|
6730
|
+
const W = B.path[Z];
|
|
6731
|
+
Z === B.path.length - 1 ? (S[W] = S[W] || { _errors: [] }, S[W]._errors.push(F(B))) : S[W] = S[W] || { _errors: [] }, S = S[W], Z++;
|
|
6672
6732
|
}
|
|
6673
6733
|
}
|
|
6674
6734
|
};
|
|
@@ -6759,17 +6819,17 @@ function Es() {
|
|
|
6759
6819
|
e.getErrorMap = c;
|
|
6760
6820
|
}(Jr)), Jr;
|
|
6761
6821
|
}
|
|
6762
|
-
var
|
|
6822
|
+
var Od;
|
|
6763
6823
|
function Is() {
|
|
6764
|
-
return
|
|
6824
|
+
return Od || (Od = 1, function(e) {
|
|
6765
6825
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.jsonStringifyReplacer = e.isAsync = e.isValid = e.isDirty = e.isAborted = e.OK = e.DIRTY = e.INVALID = e.ParseStatus = e.addIssueToContext = e.EMPTY_PATH = e.makeIssue = void 0;
|
|
6766
6826
|
const n = Es(), t = (D) => {
|
|
6767
|
-
const { data: R, path:
|
|
6827
|
+
const { data: R, path: M, errorMaps: B, issueData: S } = D, Z = [...M, ...S.path || []], W = {
|
|
6768
6828
|
...S,
|
|
6769
6829
|
path: Z
|
|
6770
6830
|
};
|
|
6771
6831
|
let H = "";
|
|
6772
|
-
const V =
|
|
6832
|
+
const V = B.filter((x) => !!x).slice().reverse();
|
|
6773
6833
|
for (const x of V)
|
|
6774
6834
|
H = x(W, { data: R, defaultError: H }).message;
|
|
6775
6835
|
return {
|
|
@@ -6780,7 +6840,7 @@ function Is() {
|
|
|
6780
6840
|
};
|
|
6781
6841
|
e.makeIssue = t, e.EMPTY_PATH = [];
|
|
6782
6842
|
function i(D, R) {
|
|
6783
|
-
const
|
|
6843
|
+
const M = e.makeIssue({
|
|
6784
6844
|
issueData: R,
|
|
6785
6845
|
data: D.data,
|
|
6786
6846
|
path: D.path,
|
|
@@ -6789,9 +6849,9 @@ function Is() {
|
|
|
6789
6849
|
D.schemaErrorMap,
|
|
6790
6850
|
n.getErrorMap(),
|
|
6791
6851
|
n.defaultErrorMap
|
|
6792
|
-
].filter((
|
|
6852
|
+
].filter((B) => !!B)
|
|
6793
6853
|
});
|
|
6794
|
-
D.common.issues.push(
|
|
6854
|
+
D.common.issues.push(M);
|
|
6795
6855
|
}
|
|
6796
6856
|
e.addIssueToContext = i;
|
|
6797
6857
|
class r {
|
|
@@ -6804,33 +6864,33 @@ function Is() {
|
|
|
6804
6864
|
abort() {
|
|
6805
6865
|
this.value !== "aborted" && (this.value = "aborted");
|
|
6806
6866
|
}
|
|
6807
|
-
static mergeArray(R,
|
|
6808
|
-
const
|
|
6809
|
-
for (const S of
|
|
6867
|
+
static mergeArray(R, M) {
|
|
6868
|
+
const B = [];
|
|
6869
|
+
for (const S of M) {
|
|
6810
6870
|
if (S.status === "aborted")
|
|
6811
6871
|
return e.INVALID;
|
|
6812
|
-
S.status === "dirty" && R.dirty(),
|
|
6872
|
+
S.status === "dirty" && R.dirty(), B.push(S.value);
|
|
6813
6873
|
}
|
|
6814
|
-
return { status: R.value, value:
|
|
6874
|
+
return { status: R.value, value: B };
|
|
6815
6875
|
}
|
|
6816
|
-
static async mergeObjectAsync(R,
|
|
6817
|
-
const
|
|
6818
|
-
for (const S of
|
|
6819
|
-
|
|
6876
|
+
static async mergeObjectAsync(R, M) {
|
|
6877
|
+
const B = [];
|
|
6878
|
+
for (const S of M)
|
|
6879
|
+
B.push({
|
|
6820
6880
|
key: await S.key,
|
|
6821
6881
|
value: await S.value
|
|
6822
6882
|
});
|
|
6823
|
-
return r.mergeObjectSync(R,
|
|
6883
|
+
return r.mergeObjectSync(R, B);
|
|
6824
6884
|
}
|
|
6825
|
-
static mergeObjectSync(R,
|
|
6826
|
-
const
|
|
6827
|
-
for (const S of
|
|
6885
|
+
static mergeObjectSync(R, M) {
|
|
6886
|
+
const B = {};
|
|
6887
|
+
for (const S of M) {
|
|
6828
6888
|
const { key: Z, value: W } = S;
|
|
6829
6889
|
if (Z.status === "aborted" || W.status === "aborted")
|
|
6830
6890
|
return e.INVALID;
|
|
6831
|
-
Z.status === "dirty" && R.dirty(), W.status === "dirty" && R.dirty(), (typeof W.value < "u" || S.alwaysSet) && (
|
|
6891
|
+
Z.status === "dirty" && R.dirty(), W.status === "dirty" && R.dirty(), (typeof W.value < "u" || S.alwaysSet) && (B[Z.value] = W.value);
|
|
6832
6892
|
}
|
|
6833
|
-
return { status: R.value, value:
|
|
6893
|
+
return { status: R.value, value: B };
|
|
6834
6894
|
}
|
|
6835
6895
|
}
|
|
6836
6896
|
e.ParseStatus = r, e.INVALID = Object.freeze({
|
|
@@ -7014,7 +7074,7 @@ function Ip() {
|
|
|
7014
7074
|
return Ye.create(this);
|
|
7015
7075
|
}
|
|
7016
7076
|
or(s) {
|
|
7017
|
-
return
|
|
7077
|
+
return O.create([this, s]);
|
|
7018
7078
|
}
|
|
7019
7079
|
and(s) {
|
|
7020
7080
|
return G.create(this, s);
|
|
@@ -7226,7 +7286,7 @@ function Ip() {
|
|
|
7226
7286
|
const u = (p.toString().split(".")[1] || "").length, m = (s.toString().split(".")[1] || "").length, y = u > m ? u : m, b = parseInt(p.toFixed(y).replace(".", "")), P = parseInt(s.toFixed(y).replace(".", ""));
|
|
7227
7287
|
return b % P / Math.pow(10, y);
|
|
7228
7288
|
}
|
|
7229
|
-
class
|
|
7289
|
+
class M extends c {
|
|
7230
7290
|
constructor() {
|
|
7231
7291
|
super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
|
|
7232
7292
|
}
|
|
@@ -7279,7 +7339,7 @@ function Ip() {
|
|
|
7279
7339
|
return this.setLimit("max", s, !1, n.errorUtil.toString(u));
|
|
7280
7340
|
}
|
|
7281
7341
|
setLimit(s, u, m, y) {
|
|
7282
|
-
return new
|
|
7342
|
+
return new M({
|
|
7283
7343
|
...this._def,
|
|
7284
7344
|
checks: [
|
|
7285
7345
|
...this._def.checks,
|
|
@@ -7293,7 +7353,7 @@ function Ip() {
|
|
|
7293
7353
|
});
|
|
7294
7354
|
}
|
|
7295
7355
|
_addCheck(s) {
|
|
7296
|
-
return new
|
|
7356
|
+
return new M({
|
|
7297
7357
|
...this._def,
|
|
7298
7358
|
checks: [...this._def.checks, s]
|
|
7299
7359
|
});
|
|
@@ -7359,12 +7419,12 @@ function Ip() {
|
|
|
7359
7419
|
return !!this._def.checks.find((s) => s.kind === "int");
|
|
7360
7420
|
}
|
|
7361
7421
|
}
|
|
7362
|
-
e.ZodNumber =
|
|
7422
|
+
e.ZodNumber = M, M.create = (p) => new M({
|
|
7363
7423
|
checks: [],
|
|
7364
7424
|
typeName: L.ZodNumber,
|
|
7365
7425
|
...d(p)
|
|
7366
7426
|
});
|
|
7367
|
-
class
|
|
7427
|
+
class B extends c {
|
|
7368
7428
|
_parse(s) {
|
|
7369
7429
|
if (this._getType(s) !== i.ZodParsedType.bigint) {
|
|
7370
7430
|
const m = this._getOrReturnCtx(s);
|
|
@@ -7377,7 +7437,7 @@ function Ip() {
|
|
|
7377
7437
|
return t.OK(s.data);
|
|
7378
7438
|
}
|
|
7379
7439
|
}
|
|
7380
|
-
e.ZodBigInt =
|
|
7440
|
+
e.ZodBigInt = B, B.create = (p) => new B({
|
|
7381
7441
|
typeName: L.ZodBigInt,
|
|
7382
7442
|
...d(p)
|
|
7383
7443
|
});
|
|
@@ -7845,7 +7905,7 @@ function Ip() {
|
|
|
7845
7905
|
typeName: L.ZodObject,
|
|
7846
7906
|
...d(s)
|
|
7847
7907
|
});
|
|
7848
|
-
class
|
|
7908
|
+
class O extends c {
|
|
7849
7909
|
_parse(s) {
|
|
7850
7910
|
const { ctx: u } = this._processInputParams(s), m = this._def.options;
|
|
7851
7911
|
function y(b) {
|
|
@@ -7913,7 +7973,7 @@ function Ip() {
|
|
|
7913
7973
|
return this._def.options;
|
|
7914
7974
|
}
|
|
7915
7975
|
}
|
|
7916
|
-
e.ZodUnion =
|
|
7976
|
+
e.ZodUnion = O, O.create = (p, s) => new O({
|
|
7917
7977
|
options: p,
|
|
7918
7978
|
typeName: L.ZodUnion,
|
|
7919
7979
|
...d(s)
|
|
@@ -8616,11 +8676,11 @@ function Ip() {
|
|
|
8616
8676
|
e.instanceof = bA;
|
|
8617
8677
|
const zd = D.create;
|
|
8618
8678
|
e.string = zd;
|
|
8619
|
-
const Cd =
|
|
8679
|
+
const Cd = M.create;
|
|
8620
8680
|
e.number = Cd;
|
|
8621
8681
|
const vA = tr.create;
|
|
8622
8682
|
e.nan = vA;
|
|
8623
|
-
const FA =
|
|
8683
|
+
const FA = B.create;
|
|
8624
8684
|
e.bigint = FA;
|
|
8625
8685
|
const Dd = S.create;
|
|
8626
8686
|
e.boolean = Dd;
|
|
@@ -8642,12 +8702,12 @@ function Ip() {
|
|
|
8642
8702
|
e.array = RA;
|
|
8643
8703
|
const SA = z.create;
|
|
8644
8704
|
e.object = SA;
|
|
8645
|
-
const
|
|
8646
|
-
e.strictObject =
|
|
8647
|
-
const
|
|
8648
|
-
e.union =
|
|
8649
|
-
const
|
|
8650
|
-
e.discriminatedUnion =
|
|
8705
|
+
const MA = z.strictCreate;
|
|
8706
|
+
e.strictObject = MA;
|
|
8707
|
+
const BA = O.create;
|
|
8708
|
+
e.union = BA;
|
|
8709
|
+
const OA = N.create;
|
|
8710
|
+
e.discriminatedUnion = OA;
|
|
8651
8711
|
const wA = G.create;
|
|
8652
8712
|
e.intersection = wA;
|
|
8653
8713
|
const NA = K.create;
|
|
@@ -8759,7 +8819,7 @@ function Sg() {
|
|
|
8759
8819
|
]), fn;
|
|
8760
8820
|
}
|
|
8761
8821
|
var An = {}, Ld;
|
|
8762
|
-
function
|
|
8822
|
+
function Mg() {
|
|
8763
8823
|
if (Ld) return An;
|
|
8764
8824
|
Ld = 1, Object.defineProperty(An, "__esModule", { value: !0 }), An.F_AGENT_ROLE = void 0;
|
|
8765
8825
|
const e = h();
|
|
@@ -9194,7 +9254,7 @@ function le() {
|
|
|
9194
9254
|
}(no)), no;
|
|
9195
9255
|
}
|
|
9196
9256
|
var co = {}, bn = {}, ol;
|
|
9197
|
-
function
|
|
9257
|
+
function Bg() {
|
|
9198
9258
|
if (ol) return bn;
|
|
9199
9259
|
ol = 1, Object.defineProperty(bn, "__esModule", { value: !0 }), bn.F_AUDIT_LOG_ITEM_ACTION_TYPES = void 0;
|
|
9200
9260
|
const e = h();
|
|
@@ -9220,10 +9280,10 @@ function Og() {
|
|
|
9220
9280
|
]), bn;
|
|
9221
9281
|
}
|
|
9222
9282
|
var al;
|
|
9223
|
-
function
|
|
9283
|
+
function Og() {
|
|
9224
9284
|
return al || (al = 1, function(e) {
|
|
9225
9285
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBillDeleteItemAuditLogItem = e.FdoBillDeleteItemDetail = e.FdoBillRemovePromotionAuditLogItem = e.FdoBillRemoveMemberAuditLogItem = e.FdoBillApplyMemberAuditLogItem = e.FdoBillAuditMemberDetail = e.FdoBillRemoveVoucherAuditLogItem = e.FdoBillApplyVoucherAuditLogItem = e.FdoBillApplyPromotionAuditLogItem = e.FdoBillAuditEffectDetail = e.FdoBillAddItemAuditLogItem = e.FdoBillAddItemDetail = e.FdoBillCreationAuditLogItem = e.FdoBillRemoveDepositAuditLogItem = e.FdoBillApplyDepositAuditLogItem = e.FdoBillPrintChecklistAuditLogItem = e.FdoBillPrintItemAuditLogItem = e.FdoBillPrintItemUseTemplate = e.FdoBillMoveItemAuditLogItem = e.FdoBillMoveItemDetail = e.FdoBillMoveItemTarget = e.FdoBillChangeTableAuditLogItem = e.FdoBillUrgentItemAuditLogItem = e.FdoBillWeighingAmountChangedAuditLogItem = e.FdoBillGeneralAuditLogItem = e.FdoBillUrgentItemSelectedItem = e.FdoBillWeighingAmountChangedAuditLogItemValue = e.FdoBillAuditLogItemBase = void 0;
|
|
9226
|
-
const n = T(), t = h(), i = X(), r = le(), o =
|
|
9286
|
+
const n = T(), t = h(), i = X(), r = le(), o = Bg();
|
|
9227
9287
|
e.FdoBillAuditLogItemBase = t.z.object({
|
|
9228
9288
|
type: o.F_AUDIT_LOG_ITEM_ACTION_TYPES
|
|
9229
9289
|
}).describe(n.ZodMeta.dart().baseUnion({
|
|
@@ -9338,10 +9398,10 @@ function Mg() {
|
|
|
9338
9398
|
}(co)), co;
|
|
9339
9399
|
}
|
|
9340
9400
|
var sl;
|
|
9341
|
-
function
|
|
9401
|
+
function Mp() {
|
|
9342
9402
|
if (sl) return _;
|
|
9343
9403
|
sl = 1, Object.defineProperty(_, "__esModule", { value: !0 }), _.FdtoDeleteItemAuditLog = _.FdtoRemovePromotionAuditLog = _.FdtoRemoveMemberAuditLog = _.FdtoApplyMemberAuditLog = _.FdtoRemoveVoucherAuditLog = _.FdtoApplyVoucherAuditLog = _.FdtoApplyPromotionAuditLog = _.FdtoAddItemAuditLog = _.FdtoCreateBillAuditLog = _.FdtoRemoveDepositAuditLog = _.FdtoApplyDepositAuditLog = _.FdtoBillItemAuditActionLog = void 0;
|
|
9344
|
-
const e = h(), n = X(), t = le(), i =
|
|
9404
|
+
const e = h(), n = X(), t = le(), i = Og();
|
|
9345
9405
|
return _.FdtoBillItemAuditActionLog = e.z.object({
|
|
9346
9406
|
subject: t.FdoEmployeeRef,
|
|
9347
9407
|
action: e.z.record(e.z.any())
|
|
@@ -9712,7 +9772,7 @@ function Zi() {
|
|
|
9712
9772
|
printAt: n.z.string(),
|
|
9713
9773
|
printBy: d.FdoEmployeeRef
|
|
9714
9774
|
});
|
|
9715
|
-
const
|
|
9775
|
+
const M = n.z.object({
|
|
9716
9776
|
productId: n.z.string().nullish(),
|
|
9717
9777
|
product: e.FdoBillItemRef,
|
|
9718
9778
|
subItems: n.z.array(e.FdoBillSubItemRef),
|
|
@@ -9790,7 +9850,7 @@ function Zi() {
|
|
|
9790
9850
|
discountRule: n.z.string().nullish(),
|
|
9791
9851
|
claimants: n.z.record(e.FdoBillClaimantAmounts).nullish(),
|
|
9792
9852
|
claimantsDegraded: n.z.boolean().nullish()
|
|
9793
|
-
}), e.FdoBillItem =
|
|
9853
|
+
}), e.FdoBillItem = M.extend({
|
|
9794
9854
|
parent: n.z.lazy(() => e.FdoBillItem).nullish(),
|
|
9795
9855
|
auditLogs: n.z.array(v.FdoBillItemAuditLogItem).nullish(),
|
|
9796
9856
|
auditLogsV2: n.z.array(v.FdoBillItemAuditLogItem).nullish(),
|
|
@@ -10325,10 +10385,10 @@ function Pr() {
|
|
|
10325
10385
|
});
|
|
10326
10386
|
}(Fo)), Fo;
|
|
10327
10387
|
}
|
|
10328
|
-
var Se = {},
|
|
10388
|
+
var Se = {}, Ml;
|
|
10329
10389
|
function Rs() {
|
|
10330
|
-
if (
|
|
10331
|
-
|
|
10390
|
+
if (Ml) return Se;
|
|
10391
|
+
Ml = 1, Object.defineProperty(Se, "__esModule", { value: !0 }), Se.F_BILL_PERSON_CATEGORY = Se.F_MIN_PRICE_MODE = Se.F_DINE_IN_SERVICE_TYPE = Se.F_BILL_STATUS = void 0;
|
|
10332
10392
|
const e = h();
|
|
10333
10393
|
return Se.F_BILL_STATUS = e.z.enum([
|
|
10334
10394
|
"DRAFT",
|
|
@@ -10351,10 +10411,10 @@ function Rs() {
|
|
|
10351
10411
|
"SENIOR"
|
|
10352
10412
|
]), Se;
|
|
10353
10413
|
}
|
|
10354
|
-
var Sn = {},
|
|
10414
|
+
var Sn = {}, Bl;
|
|
10355
10415
|
function kg() {
|
|
10356
|
-
if (
|
|
10357
|
-
|
|
10416
|
+
if (Bl) return Sn;
|
|
10417
|
+
Bl = 1, Object.defineProperty(Sn, "__esModule", { value: !0 }), Sn.FdoBillAdjustment = void 0;
|
|
10358
10418
|
const e = h(), n = Ir(), t = lt(), i = X(), r = le(), o = zr();
|
|
10359
10419
|
return Sn.FdoBillAdjustment = e.z.object({
|
|
10360
10420
|
cause: o.F_ADJUSTMENT_CAUSE,
|
|
@@ -10371,9 +10431,9 @@ function kg() {
|
|
|
10371
10431
|
ignoreMinPrice: e.z.boolean().nullish()
|
|
10372
10432
|
}), Sn;
|
|
10373
10433
|
}
|
|
10374
|
-
var Eo = {},
|
|
10434
|
+
var Eo = {}, Ol;
|
|
10375
10435
|
function Ss() {
|
|
10376
|
-
return
|
|
10436
|
+
return Ol || (Ol = 1, function(e) {
|
|
10377
10437
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBillDelivery = e.FdoDeliveryCustomer = e.FdoDeliveryDriver = e.FdoDeliveryProviderVehicle = void 0;
|
|
10378
10438
|
const n = h(), t = X(), i = ln();
|
|
10379
10439
|
e.FdoDeliveryProviderVehicle = n.z.object({
|
|
@@ -10414,15 +10474,15 @@ function Ss() {
|
|
|
10414
10474
|
});
|
|
10415
10475
|
}(Eo)), Eo;
|
|
10416
10476
|
}
|
|
10417
|
-
var
|
|
10477
|
+
var Mn = {}, wl;
|
|
10418
10478
|
function Vg() {
|
|
10419
|
-
if (wl) return
|
|
10420
|
-
wl = 1, Object.defineProperty(
|
|
10479
|
+
if (wl) return Mn;
|
|
10480
|
+
wl = 1, Object.defineProperty(Mn, "__esModule", { value: !0 }), Mn.FdoBillDeposit = void 0;
|
|
10421
10481
|
const e = T(), n = h();
|
|
10422
|
-
return
|
|
10482
|
+
return Mn.FdoBillDeposit = n.z.object({
|
|
10423
10483
|
depositId: n.z.string().superRefine(e.isObjectId),
|
|
10424
10484
|
referenceNo: n.z.string()
|
|
10425
|
-
}),
|
|
10485
|
+
}), Mn;
|
|
10426
10486
|
}
|
|
10427
10487
|
var Io = {}, Nl;
|
|
10428
10488
|
function Ug() {
|
|
@@ -10449,12 +10509,12 @@ function Ug() {
|
|
|
10449
10509
|
});
|
|
10450
10510
|
}(Io)), Io;
|
|
10451
10511
|
}
|
|
10452
|
-
var
|
|
10512
|
+
var Bn = {}, jl;
|
|
10453
10513
|
function qg() {
|
|
10454
|
-
if (jl) return
|
|
10455
|
-
jl = 1, Object.defineProperty(
|
|
10514
|
+
if (jl) return Bn;
|
|
10515
|
+
jl = 1, Object.defineProperty(Bn, "__esModule", { value: !0 }), Bn.FdoBillDriveThru = void 0;
|
|
10456
10516
|
const e = h();
|
|
10457
|
-
return
|
|
10517
|
+
return Bn.FdoBillDriveThru = e.z.object({
|
|
10458
10518
|
platform: e.z.string().nullish(),
|
|
10459
10519
|
licensePlate: e.z.string().nullish(),
|
|
10460
10520
|
remark: e.z.string().nullish(),
|
|
@@ -10462,17 +10522,17 @@ function qg() {
|
|
|
10462
10522
|
orderId: e.z.string().nullish(),
|
|
10463
10523
|
program: e.z.string().nullish(),
|
|
10464
10524
|
metadata: e.z.record(e.z.any()).nullish()
|
|
10465
|
-
}),
|
|
10525
|
+
}), Bn;
|
|
10466
10526
|
}
|
|
10467
|
-
var
|
|
10468
|
-
function
|
|
10469
|
-
if (kl) return
|
|
10470
|
-
kl = 1, Object.defineProperty(
|
|
10527
|
+
var On = {}, kl;
|
|
10528
|
+
function Ms() {
|
|
10529
|
+
if (kl) return On;
|
|
10530
|
+
kl = 1, Object.defineProperty(On, "__esModule", { value: !0 }), On.FdoEffectGroup = void 0;
|
|
10471
10531
|
const e = h();
|
|
10472
|
-
return
|
|
10532
|
+
return On.FdoEffectGroup = e.z.object({
|
|
10473
10533
|
maxApplicableEffects: e.z.number().int().min(1),
|
|
10474
10534
|
effectIds: e.z.array(e.z.string())
|
|
10475
|
-
}),
|
|
10535
|
+
}), On;
|
|
10476
10536
|
}
|
|
10477
10537
|
var zo = {}, wn = {}, We = {}, Vl;
|
|
10478
10538
|
function Qi() {
|
|
@@ -10496,7 +10556,7 @@ function Qi() {
|
|
|
10496
10556
|
"IN_HOUSE"
|
|
10497
10557
|
]), We;
|
|
10498
10558
|
}
|
|
10499
|
-
var
|
|
10559
|
+
var Mt = {}, Co = {}, Ul;
|
|
10500
10560
|
function Tr() {
|
|
10501
10561
|
return Ul || (Ul = 1, function(e) {
|
|
10502
10562
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBaseEffect = e.FdoEffectMinPurchaseItem = void 0;
|
|
@@ -10516,16 +10576,16 @@ function Tr() {
|
|
|
10516
10576
|
}
|
|
10517
10577
|
var ql;
|
|
10518
10578
|
function Gg() {
|
|
10519
|
-
if (ql) return
|
|
10520
|
-
ql = 1, Object.defineProperty(
|
|
10579
|
+
if (ql) return Mt;
|
|
10580
|
+
ql = 1, Object.defineProperty(Mt, "__esModule", { value: !0 }), Mt.FdoBillEffect = Mt.FdoRawBillEffect = void 0;
|
|
10521
10581
|
const e = T(), n = h(), t = oe(), i = dn(), r = Tr();
|
|
10522
|
-
return
|
|
10582
|
+
return Mt.FdoRawBillEffect = n.z.object({
|
|
10523
10583
|
target: n.z.literal(i.F_EFFECT_TARGET.enum.BILL).describe(e.ZodMeta.dart().type("F_EFFECT_TARGET").build()),
|
|
10524
10584
|
minPurchase: t.FdoDecimal.nullish()
|
|
10525
|
-
}),
|
|
10585
|
+
}), Mt.FdoBillEffect = r.FdoBaseEffect.extend({
|
|
10526
10586
|
target: n.z.literal(i.F_EFFECT_TARGET.enum.BILL),
|
|
10527
10587
|
excludeIds: n.z.array(n.z.string()).nullish()
|
|
10528
|
-
}),
|
|
10588
|
+
}), Mt;
|
|
10529
10589
|
}
|
|
10530
10590
|
var Do = {}, Gl;
|
|
10531
10591
|
function Lg() {
|
|
@@ -10611,7 +10671,7 @@ function Xi() {
|
|
|
10611
10671
|
}), wn;
|
|
10612
10672
|
}
|
|
10613
10673
|
var Hl;
|
|
10614
|
-
function
|
|
10674
|
+
function Bs() {
|
|
10615
10675
|
return Hl || (Hl = 1, function(e) {
|
|
10616
10676
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoFinalBillEffect = e.FdoEffectUsedItem = void 0;
|
|
10617
10677
|
const n = h(), t = Xi(), i = zr(), r = Cr();
|
|
@@ -10636,7 +10696,7 @@ function Os() {
|
|
|
10636
10696
|
}(zo)), zo;
|
|
10637
10697
|
}
|
|
10638
10698
|
var Po = {}, Zl;
|
|
10639
|
-
function
|
|
10699
|
+
function Os() {
|
|
10640
10700
|
return Zl || (Zl = 1, function(e) {
|
|
10641
10701
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBillFullTaxInvoice = e.FdoBillFullTaxInvoicePrintMeta = void 0;
|
|
10642
10702
|
const n = h();
|
|
@@ -10801,7 +10861,7 @@ var $l;
|
|
|
10801
10861
|
function Jg() {
|
|
10802
10862
|
return $l || ($l = 1, function(e) {
|
|
10803
10863
|
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;
|
|
10804
|
-
const n = T(), t = h(), i = X(), r = le(), o = we(), a = Pr(), d = Rs(), c = kg(), g = Ss(), v = Vg(), F = Ug(), D = qg(), R =
|
|
10864
|
+
const n = T(), t = h(), i = X(), r = le(), o = we(), a = Pr(), d = Rs(), c = kg(), g = Ss(), v = Vg(), F = Ug(), D = qg(), R = Ms(), M = Bs(), B = Os(), S = Ds(), Z = Zi(), W = Hg(), H = Zg(), V = ws(), x = Wg(), ae = Qg(), ge = ln(), ne = Xg(), f = Kg();
|
|
10805
10865
|
e.FdoBillRefund = t.z.object({
|
|
10806
10866
|
by: r.FdoEmployeeRef.nullish(),
|
|
10807
10867
|
approvedBy: r.FdoEmployeeRef.nullish(),
|
|
@@ -10886,7 +10946,7 @@ function Jg() {
|
|
|
10886
10946
|
refundedFrom: t.z.string().nullish(),
|
|
10887
10947
|
refund: e.FdoBillRefund.nullish(),
|
|
10888
10948
|
refundRecord: t.z.array(t.z.string()).nullish(),
|
|
10889
|
-
effects: t.z.record(
|
|
10949
|
+
effects: t.z.record(M.FdoFinalBillEffect).nullish(),
|
|
10890
10950
|
effectGroups: t.z.array(R.FdoEffectGroup).nullish(),
|
|
10891
10951
|
reward: ae.FdoBillReward.nullish(),
|
|
10892
10952
|
membership: H.FdoBillMember.nullish(),
|
|
@@ -10919,7 +10979,7 @@ function Jg() {
|
|
|
10919
10979
|
calculatorVersion: t.z.number().nullish(),
|
|
10920
10980
|
machineId: t.z.string().nullish(),
|
|
10921
10981
|
minPriceMode: d.F_MIN_PRICE_MODE.nullish(),
|
|
10922
|
-
fullTaxInvoice:
|
|
10982
|
+
fullTaxInvoice: B.FdoBillFullTaxInvoice.nullish(),
|
|
10923
10983
|
auditLogs: t.z.array(S.FdoBillItemAuditLogItem).nullish(),
|
|
10924
10984
|
taxWaivers: t.z.array(f.FdoBillTaxWaiver).nullish(),
|
|
10925
10985
|
deposits: t.z.array(v.FdoBillDeposit).nullish(),
|
|
@@ -10932,7 +10992,7 @@ function Jg() {
|
|
|
10932
10992
|
}).describe(n.ZodMeta.couch().repo("bill").build());
|
|
10933
10993
|
}(mo)), mo;
|
|
10934
10994
|
}
|
|
10935
|
-
var
|
|
10995
|
+
var Mo = {}, Bo = {}, Oo = {}, eu;
|
|
10936
10996
|
function Rr() {
|
|
10937
10997
|
return eu || (eu = 1, function(e) {
|
|
10938
10998
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoCreditBalance = e.FdoFreeCreditTransaction = void 0;
|
|
@@ -10945,44 +11005,44 @@ function Rr() {
|
|
|
10945
11005
|
normal: t.z.number(),
|
|
10946
11006
|
free: t.z.array(e.FdoFreeCreditTransaction)
|
|
10947
11007
|
});
|
|
10948
|
-
}(
|
|
11008
|
+
}(Oo)), Oo;
|
|
10949
11009
|
}
|
|
10950
|
-
var wo = {},
|
|
11010
|
+
var wo = {}, Bt = {}, tu;
|
|
10951
11011
|
function Sr() {
|
|
10952
|
-
if (tu) return
|
|
10953
|
-
tu = 1, Object.defineProperty(
|
|
11012
|
+
if (tu) return Bt;
|
|
11013
|
+
tu = 1, Object.defineProperty(Bt, "__esModule", { value: !0 }), Bt.FdoFreeCreditOption = Bt.FdoFrontendInfo = void 0;
|
|
10954
11014
|
const e = h();
|
|
10955
|
-
return
|
|
11015
|
+
return Bt.FdoFrontendInfo = e.z.object({
|
|
10956
11016
|
hide: e.z.boolean(),
|
|
10957
11017
|
disable: e.z.boolean(),
|
|
10958
11018
|
reason: e.z.string()
|
|
10959
|
-
}),
|
|
11019
|
+
}), Bt.FdoFreeCreditOption = e.z.object({
|
|
10960
11020
|
day: e.z.number(),
|
|
10961
11021
|
amount: e.z.number(),
|
|
10962
11022
|
remark: e.z.string().nullish()
|
|
10963
|
-
}),
|
|
11023
|
+
}), Bt;
|
|
10964
11024
|
}
|
|
10965
|
-
var
|
|
11025
|
+
var Me = {}, nu;
|
|
10966
11026
|
function xg() {
|
|
10967
|
-
if (nu) return
|
|
10968
|
-
nu = 1, Object.defineProperty(
|
|
11027
|
+
if (nu) return Me;
|
|
11028
|
+
nu = 1, Object.defineProperty(Me, "__esModule", { value: !0 }), Me.F_BENEFIT_TRIGGERER_BIRTHDAY_TYPE = Me.F_BENEFIT_TRIGGERER_TIME_UNIT = Me.F_BENEFIT_TRIGGERER_TYPE = Me.F_BENEFIT_TYPE = void 0;
|
|
10969
11029
|
const e = h();
|
|
10970
|
-
return
|
|
11030
|
+
return Me.F_BENEFIT_TYPE = e.z.enum([
|
|
10971
11031
|
"BASIC",
|
|
10972
11032
|
"VOUCHER"
|
|
10973
|
-
]),
|
|
11033
|
+
]), Me.F_BENEFIT_TRIGGERER_TYPE = e.z.enum([
|
|
10974
11034
|
"CRON",
|
|
10975
11035
|
"BIRTHDAY"
|
|
10976
|
-
]),
|
|
11036
|
+
]), Me.F_BENEFIT_TRIGGERER_TIME_UNIT = e.z.enum([
|
|
10977
11037
|
"WEEK",
|
|
10978
11038
|
"MONTH"
|
|
10979
|
-
]),
|
|
11039
|
+
]), Me.F_BENEFIT_TRIGGERER_BIRTHDAY_TYPE = e.z.enum([
|
|
10980
11040
|
"START_OF",
|
|
10981
11041
|
"BEFORE"
|
|
10982
|
-
]),
|
|
11042
|
+
]), Me;
|
|
10983
11043
|
}
|
|
10984
11044
|
var iu;
|
|
10985
|
-
function
|
|
11045
|
+
function Mr() {
|
|
10986
11046
|
return iu || (iu = 1, function(e) {
|
|
10987
11047
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBenefit = e.FdoBenefitScheduleOption = e.FdoBenefitBasicOption = e.FdoBenefitScheduler = e.FdoBenefitDuration = e.FdoBenefitBaseOption = e.FdoBenefitBirthdayTriggerer = e.FdoBenefitBirthdayBeforeOption = e.FdoBenefitBirthdayStartOfOption = e.FdoBenefitBaseBirthdayOption = e.FdoBenefitCronTriggerer = e.FdoBenefitBaseTriggerer = void 0;
|
|
10988
11048
|
const n = T(), t = h(), i = Sr(), r = xg(), o = Xi();
|
|
@@ -11058,15 +11118,15 @@ function Br() {
|
|
|
11058
11118
|
});
|
|
11059
11119
|
}(wo)), wo;
|
|
11060
11120
|
}
|
|
11061
|
-
var No = {}, jo = {}, ko = {}, Vo = {},
|
|
11121
|
+
var No = {}, jo = {}, ko = {}, Vo = {}, Ot = {}, ru;
|
|
11062
11122
|
function _g() {
|
|
11063
|
-
if (ru) return
|
|
11064
|
-
ru = 1, Object.defineProperty(
|
|
11123
|
+
if (ru) return Ot;
|
|
11124
|
+
ru = 1, Object.defineProperty(Ot, "__esModule", { value: !0 }), Ot.F_USER_IMPORT_SOURCE = Ot.F_USER_GENDER = void 0;
|
|
11065
11125
|
const e = h();
|
|
11066
|
-
return
|
|
11126
|
+
return Ot.F_USER_GENDER = e.z.enum([
|
|
11067
11127
|
"MALE",
|
|
11068
11128
|
"FEMALE"
|
|
11069
|
-
]),
|
|
11129
|
+
]), Ot.F_USER_IMPORT_SOURCE = e.z.enum([
|
|
11070
11130
|
"FEEDME",
|
|
11071
11131
|
"CITY_POS",
|
|
11072
11132
|
"STOREHUB",
|
|
@@ -11080,7 +11140,7 @@ function _g() {
|
|
|
11080
11140
|
"XILNET",
|
|
11081
11141
|
"GENIUSPOS",
|
|
11082
11142
|
"YHOFOODIE"
|
|
11083
|
-
]),
|
|
11143
|
+
]), Ot;
|
|
11084
11144
|
}
|
|
11085
11145
|
var ou;
|
|
11086
11146
|
function Ns() {
|
|
@@ -11111,7 +11171,7 @@ var au;
|
|
|
11111
11171
|
function $g() {
|
|
11112
11172
|
return au || (au = 1, function(e) {
|
|
11113
11173
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoAgent = e.FdoAgentMember = void 0;
|
|
11114
|
-
const n = T(), t = h(), i = Ns(), r =
|
|
11174
|
+
const n = T(), t = h(), i = Ns(), r = Mg();
|
|
11115
11175
|
e.FdoAgentMember = t.z.object({
|
|
11116
11176
|
userId: t.z.string(),
|
|
11117
11177
|
pf_user: i.FdoUser.nullish().describe(n.ZodMeta.mongo().populate({ fromCollection: "Users", localField: "userId" }).build()),
|
|
@@ -11266,7 +11326,7 @@ function Jt() {
|
|
|
11266
11326
|
}), qn;
|
|
11267
11327
|
}
|
|
11268
11328
|
var lu;
|
|
11269
|
-
function
|
|
11329
|
+
function Br() {
|
|
11270
11330
|
return lu || (lu = 1, function(e) {
|
|
11271
11331
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBillingPaymentTransaction = e.FdoBillingPaymentMethod = e.FdoBillingPaymentSource = e.FdoBillingInfo = e.FdoBank = void 0;
|
|
11272
11332
|
const n = T(), t = h(), i = eh(), r = Jt(), o = X(), a = lt();
|
|
@@ -11338,7 +11398,7 @@ var mu;
|
|
|
11338
11398
|
function Ct() {
|
|
11339
11399
|
return mu || (mu = 1, function(e) {
|
|
11340
11400
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBusiness = e.FdoCustomAttribute = e.FdoCustomAttributeEntity = e.FdoCustomAttributeType = e.FdoBusinessCustomerDisplayImage = e.FdoBusinessMenuConfig = void 0;
|
|
11341
|
-
const n = T(), t = h(), i = $g(), r =
|
|
11401
|
+
const n = T(), t = h(), i = $g(), r = Br(), o = js(), a = th();
|
|
11342
11402
|
e.FdoBusinessMenuConfig = t.z.object({
|
|
11343
11403
|
mode: a.F_MENU_MODE
|
|
11344
11404
|
}), e.FdoBusinessCustomerDisplayImage = t.z.object({
|
|
@@ -11424,7 +11484,7 @@ function Ki() {
|
|
|
11424
11484
|
}(No)), No;
|
|
11425
11485
|
}
|
|
11426
11486
|
var qo = {}, Go = {}, Yn = {}, Lo = {}, hu;
|
|
11427
|
-
function
|
|
11487
|
+
function Or() {
|
|
11428
11488
|
return hu || (hu = 1, function(e) {
|
|
11429
11489
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoOperatingHours = e.FdoOperatingHour = e.FdoOperatingDuration = void 0;
|
|
11430
11490
|
const n = h();
|
|
@@ -11449,7 +11509,7 @@ var fu;
|
|
|
11449
11509
|
function ks() {
|
|
11450
11510
|
if (fu) return Yn;
|
|
11451
11511
|
fu = 1, Object.defineProperty(Yn, "__esModule", { value: !0 }), Yn.FdoProfile = void 0;
|
|
11452
|
-
const e = T(), n = h(), t = Jt(), i =
|
|
11512
|
+
const e = T(), n = h(), t = Jt(), i = Or();
|
|
11453
11513
|
return Yn.FdoProfile = n.z.object({
|
|
11454
11514
|
_id: n.z.string().nullish(),
|
|
11455
11515
|
code: n.z.string().nullish(),
|
|
@@ -11486,7 +11546,7 @@ var Yo = {}, pu;
|
|
|
11486
11546
|
function Us() {
|
|
11487
11547
|
return pu || (pu = 1, function(e) {
|
|
11488
11548
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoRestaurantFeedmeDelivery = e.FdoRestaurantInHouseDelivery = e.FdoDeliveryTaxSetting = e.FdoDeliveryTime = e.FdoDeliveryArea = void 0;
|
|
11489
|
-
const n = h(), t =
|
|
11549
|
+
const n = h(), t = Or(), i = Ts(), r = X(), o = Qi(), a = we();
|
|
11490
11550
|
e.FdoDeliveryArea = n.z.object({
|
|
11491
11551
|
polygon: n.z.array(n.z.array(n.z.number())),
|
|
11492
11552
|
deliveryFee: r.FdoDinero,
|
|
@@ -11759,7 +11819,7 @@ var Du;
|
|
|
11759
11819
|
function rh() {
|
|
11760
11820
|
return Du || (Du = 1, function(e) {
|
|
11761
11821
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoBindMemberCardReq = e.FdtoJoinMemberReq = e.FdtoGetCustomerRes = e.FdtoGetCustomerReq = e.FdtoCustomer = e.FdtoCustomerMember = e.FdtoMemberTierInfo = e.FdtoCustomerMemberTitle = void 0;
|
|
11762
|
-
const n = T(), t = h(), i = Rr(), r =
|
|
11822
|
+
const n = T(), t = h(), i = Rr(), r = Mr(), o = Ki(), a = cn(), d = ih();
|
|
11763
11823
|
e.FdtoCustomerMemberTitle = t.z.object({
|
|
11764
11824
|
_id: t.z.string(),
|
|
11765
11825
|
name: t.z.string(),
|
|
@@ -11812,7 +11872,7 @@ function rh() {
|
|
|
11812
11872
|
memberId: t.z.string(),
|
|
11813
11873
|
cardNo: t.z.string()
|
|
11814
11874
|
});
|
|
11815
|
-
}(
|
|
11875
|
+
}(Bo)), Bo;
|
|
11816
11876
|
}
|
|
11817
11877
|
var Ho = {}, Jn = {}, Pu;
|
|
11818
11878
|
function oh() {
|
|
@@ -11934,9 +11994,9 @@ function sh() {
|
|
|
11934
11994
|
"ATOME"
|
|
11935
11995
|
]), Qe;
|
|
11936
11996
|
}
|
|
11937
|
-
var
|
|
11997
|
+
var Mu;
|
|
11938
11998
|
function dh() {
|
|
11939
|
-
return
|
|
11999
|
+
return Mu || (Mu = 1, function(e) {
|
|
11940
12000
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoPaymentDateRange = e.FdtoPaymentRefund = e.FdtoPerformRefundReq = e.FdtoPerformRefundByTransactionReq = e.FdtoPerformRefetchReq = e.FdtoCreditRefundReq = e.FdtoValidateOrderReq = e.FdtoFreeCreditPaymentCheckoutReq = e.FdtoCreditPaymentCheckoutReq = e.FdtoPerformScanPayReq = e.FdtoOnlinePaymentCheckoutRes = e.FdtoPaymentOnlineChannel = e.FdtoOnlinePaymentCheckoutReq = e.FdtoCreatePayment = void 0;
|
|
11941
12001
|
const n = T(), t = h(), i = Wi(), r = X(), o = le(), a = zt(), d = we(), c = sh();
|
|
11942
12002
|
e.FdtoCreatePayment = t.z.object({
|
|
@@ -12011,10 +12071,10 @@ function dh() {
|
|
|
12011
12071
|
});
|
|
12012
12072
|
}(Wo)), Wo;
|
|
12013
12073
|
}
|
|
12014
|
-
var Qo = {}, Xo = {}, xn = {},
|
|
12074
|
+
var Qo = {}, Xo = {}, xn = {}, Bu;
|
|
12015
12075
|
function lh() {
|
|
12016
|
-
if (
|
|
12017
|
-
|
|
12076
|
+
if (Bu) return xn;
|
|
12077
|
+
Bu = 1, Object.defineProperty(xn, "__esModule", { value: !0 }), xn.F_SERVICE_CHARGE_ORDER_TYPE = void 0;
|
|
12018
12078
|
const e = h();
|
|
12019
12079
|
return xn.F_SERVICE_CHARGE_ORDER_TYPE = e.z.enum([
|
|
12020
12080
|
"DINE_IN",
|
|
@@ -12024,9 +12084,9 @@ function lh() {
|
|
|
12024
12084
|
"PICKUP"
|
|
12025
12085
|
]), xn;
|
|
12026
12086
|
}
|
|
12027
|
-
var
|
|
12087
|
+
var Ou;
|
|
12028
12088
|
function Hs() {
|
|
12029
|
-
return
|
|
12089
|
+
return Ou || (Ou = 1, function(e) {
|
|
12030
12090
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoServiceChargeSetting = e.FdoServiceChargeRule = e.FdoServiceChargeCondition = void 0;
|
|
12031
12091
|
const n = h(), t = oe(), i = lh();
|
|
12032
12092
|
e.FdoServiceChargeCondition = n.z.object({
|
|
@@ -12062,10 +12122,10 @@ function uh() {
|
|
|
12062
12122
|
}(Qo)), Qo;
|
|
12063
12123
|
}
|
|
12064
12124
|
var Nu;
|
|
12065
|
-
function
|
|
12125
|
+
function Bp() {
|
|
12066
12126
|
return Nu || (Nu = 1, function(e) {
|
|
12067
12127
|
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;
|
|
12068
|
-
const n = T(), t = h(), i = lt(), r = Wi(), o = rh(), a = oe(), d = X(), c = le(), g = wr(), v = ah(), F = Hi(), D = we(), R = dh(),
|
|
12128
|
+
const n = T(), t = h(), i = lt(), r = Wi(), o = rh(), a = oe(), d = X(), c = le(), g = wr(), v = ah(), F = Hi(), D = we(), R = dh(), M = ks(), B = uh(), S = Jg(), Z = Cr(), W = Ss(), H = Bs(), V = Zi(), x = ws(), ae = ln();
|
|
12069
12129
|
e.FdtoRefundReq = t.z.object({
|
|
12070
12130
|
bill: S.FdoBill,
|
|
12071
12131
|
refundRecord: t.z.array(S.FdoBill),
|
|
@@ -12105,14 +12165,14 @@ function Op() {
|
|
|
12105
12165
|
}), e.FdtoCreateOrUpdateItemsReq = t.z.object({
|
|
12106
12166
|
items: t.z.record(V.FdoBillItem),
|
|
12107
12167
|
stock: F.FdoStockBalance.nullish(),
|
|
12108
|
-
taxAndChargeSetting:
|
|
12168
|
+
taxAndChargeSetting: B.FdtoTaxAndChargeSetting
|
|
12109
12169
|
}), e.FdtoCreateTaxWaiverReq = t.z.object({
|
|
12110
12170
|
taxCode: t.z.string(),
|
|
12111
12171
|
taxSystemCode: t.z.string(),
|
|
12112
12172
|
overrideAmount: a.FdoDecimal.nullish(),
|
|
12113
12173
|
reason: t.z.string().nullish(),
|
|
12114
12174
|
waivedBy: c.FdoEmployeeRef,
|
|
12115
|
-
taxAndChargeSetting:
|
|
12175
|
+
taxAndChargeSetting: B.FdtoTaxAndChargeSetting
|
|
12116
12176
|
}), e.FdtoRemoveTaxWaiverReq = t.z.object({
|
|
12117
12177
|
id: t.z.string()
|
|
12118
12178
|
}), e.FdtoStockItem = t.z.object({
|
|
@@ -12273,7 +12333,7 @@ function Op() {
|
|
|
12273
12333
|
}), e.FdtoUpdateVersionReq = t.z.object({
|
|
12274
12334
|
version: t.z.string()
|
|
12275
12335
|
}), e.FdtoDemoRestaurantRes = t.z.object({
|
|
12276
|
-
profile:
|
|
12336
|
+
profile: M.FdoProfile,
|
|
12277
12337
|
menu: t.z.any()
|
|
12278
12338
|
}), e.FdtoAcceptOrderReq = t.z.object({
|
|
12279
12339
|
billId: t.z.string()
|
|
@@ -12367,10 +12427,10 @@ function Op() {
|
|
|
12367
12427
|
}), e.FdtoBill = S.FdoBill.extend({
|
|
12368
12428
|
billNo: t.z.string()
|
|
12369
12429
|
});
|
|
12370
|
-
}(
|
|
12430
|
+
}(Mo)), Mo;
|
|
12371
12431
|
}
|
|
12372
12432
|
var _n = {}, ju;
|
|
12373
|
-
function
|
|
12433
|
+
function Op() {
|
|
12374
12434
|
if (ju) return _n;
|
|
12375
12435
|
ju = 1, Object.defineProperty(_n, "__esModule", { value: !0 }), _n.FdoAffectedBillItem = void 0;
|
|
12376
12436
|
const e = h();
|
|
@@ -12797,27 +12857,27 @@ function jr() {
|
|
|
12797
12857
|
phoneNo: n.z.string().nullish()
|
|
12798
12858
|
}), jt;
|
|
12799
12859
|
}
|
|
12800
|
-
var na = {},
|
|
12860
|
+
var na = {}, Be = {}, $u;
|
|
12801
12861
|
function Qs() {
|
|
12802
|
-
if ($u) return
|
|
12803
|
-
$u = 1, Object.defineProperty(
|
|
12862
|
+
if ($u) return Be;
|
|
12863
|
+
$u = 1, Object.defineProperty(Be, "__esModule", { value: !0 }), Be.F_EINVOICE_TYPE = Be.F_E_INVOICE_DOC_TYPE = Be.F_EINVOICE_SUBMISSION_STATUS = Be.F_EINVOICE_STATUS = void 0;
|
|
12804
12864
|
const e = h();
|
|
12805
|
-
return
|
|
12865
|
+
return Be.F_EINVOICE_STATUS = e.z.enum([
|
|
12806
12866
|
"Submitted",
|
|
12807
12867
|
"Valid",
|
|
12808
12868
|
"Invalid",
|
|
12809
12869
|
"Cancelled"
|
|
12810
|
-
]),
|
|
12870
|
+
]), Be.F_EINVOICE_SUBMISSION_STATUS = e.z.enum([
|
|
12811
12871
|
"InProgress",
|
|
12812
12872
|
"Valid",
|
|
12813
12873
|
"PartiallyValid",
|
|
12814
12874
|
"Invalid"
|
|
12815
|
-
]),
|
|
12875
|
+
]), Be.F_E_INVOICE_DOC_TYPE = e.z.enum([
|
|
12816
12876
|
"Invoice",
|
|
12817
12877
|
"Credit Note",
|
|
12818
12878
|
"Debit Note",
|
|
12819
12879
|
"Refund Note"
|
|
12820
|
-
]),
|
|
12880
|
+
]), Be.F_EINVOICE_TYPE = e.z.enum(["Individual", "Consolidated"]), Be;
|
|
12821
12881
|
}
|
|
12822
12882
|
var ia = {}, ec;
|
|
12823
12883
|
function kr() {
|
|
@@ -13642,10 +13702,10 @@ function Ih() {
|
|
|
13642
13702
|
"REFUNDED"
|
|
13643
13703
|
]), fi;
|
|
13644
13704
|
}
|
|
13645
|
-
var Vt = {},
|
|
13705
|
+
var Vt = {}, Mc;
|
|
13646
13706
|
function zh() {
|
|
13647
|
-
if (
|
|
13648
|
-
|
|
13707
|
+
if (Mc) return Vt;
|
|
13708
|
+
Mc = 1, Object.defineProperty(Vt, "__esModule", { value: !0 }), Vt.FdoSmsCredit = Vt.FdoSmsCreditTransaction = void 0;
|
|
13649
13709
|
const e = T(), n = h(), t = X();
|
|
13650
13710
|
return Vt.FdoSmsCreditTransaction = n.z.object({
|
|
13651
13711
|
_id: n.z.string().superRefine(e.isObjectId),
|
|
@@ -13660,37 +13720,37 @@ function zh() {
|
|
|
13660
13720
|
balance: t.FdoDinero
|
|
13661
13721
|
}).describe(e.ZodMeta.mongo().repo("SmsCredits").build()), Vt;
|
|
13662
13722
|
}
|
|
13663
|
-
var Ai = {},
|
|
13723
|
+
var Ai = {}, Bc;
|
|
13664
13724
|
function Ch() {
|
|
13665
|
-
if (
|
|
13666
|
-
|
|
13725
|
+
if (Bc) return Ai;
|
|
13726
|
+
Bc = 1, Object.defineProperty(Ai, "__esModule", { value: !0 }), Ai.F_SMS_TOP_UP_SOURCE = void 0;
|
|
13667
13727
|
const e = h();
|
|
13668
13728
|
return Ai.F_SMS_TOP_UP_SOURCE = e.z.enum([
|
|
13669
13729
|
"LICENSE",
|
|
13670
13730
|
"MANUAL_ADJUSTMENT"
|
|
13671
13731
|
]), Ai;
|
|
13672
13732
|
}
|
|
13673
|
-
var
|
|
13733
|
+
var Oe = {}, Oc;
|
|
13674
13734
|
function Vr() {
|
|
13675
|
-
if (
|
|
13676
|
-
|
|
13735
|
+
if (Oc) return Oe;
|
|
13736
|
+
Oc = 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;
|
|
13677
13737
|
const e = h();
|
|
13678
|
-
return
|
|
13738
|
+
return Oe.F_PHONE_PROVIDER = e.z.enum([
|
|
13679
13739
|
"AWS",
|
|
13680
13740
|
"MOCEAN"
|
|
13681
|
-
]),
|
|
13741
|
+
]), Oe.F_EMAIL_PROVIDER = e.z.enum([
|
|
13682
13742
|
"DEFAULT"
|
|
13683
|
-
]),
|
|
13743
|
+
]), Oe.F_FCM_METHOD_TYPE = e.z.enum([
|
|
13684
13744
|
"DEVICE_GROUP",
|
|
13685
13745
|
"REGISTRATION_TOKEN",
|
|
13686
13746
|
"TOPIC"
|
|
13687
|
-
]),
|
|
13747
|
+
]), Oe.F_NOTIFICATION_TYPE = e.z.enum([
|
|
13688
13748
|
"PHONE",
|
|
13689
13749
|
"EMAIL",
|
|
13690
13750
|
"FCM",
|
|
13691
13751
|
"WEBSOCKET",
|
|
13692
13752
|
"POS_EVENT"
|
|
13693
|
-
]),
|
|
13753
|
+
]), Oe;
|
|
13694
13754
|
}
|
|
13695
13755
|
var pi = {}, wc;
|
|
13696
13756
|
function ry() {
|
|
@@ -14137,7 +14197,7 @@ function Sh() {
|
|
|
14137
14197
|
]), $e;
|
|
14138
14198
|
}
|
|
14139
14199
|
var _c;
|
|
14140
|
-
function
|
|
14200
|
+
function Mh() {
|
|
14141
14201
|
return _c || (_c = 1, function(e) {
|
|
14142
14202
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoAssets = e.FdoAssetGroup = e.FdoAsset = e.FdoAssetFile = e.FdoAssetFileResponsive = e.FdoAssetFileConfig = e.FdoAssetFileUseWhen = void 0;
|
|
14143
14203
|
const n = h(), t = Sh();
|
|
@@ -14174,7 +14234,7 @@ var Ia = {}, $c;
|
|
|
14174
14234
|
function hy() {
|
|
14175
14235
|
return $c || ($c = 1, function(e) {
|
|
14176
14236
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoPublicSetting = e.FdoSmsSetting = e.FdoDeliverySetting = e.FdoFeedMeDeliverySetting = e.FdoFeedMeDeliveryArea = void 0;
|
|
14177
|
-
const n = T(), t = h(), i =
|
|
14237
|
+
const n = T(), t = h(), i = Or(), r = Mh();
|
|
14178
14238
|
e.FdoFeedMeDeliveryArea = t.z.object({
|
|
14179
14239
|
polygon: t.z.array(t.z.array(t.z.number()))
|
|
14180
14240
|
}), e.FdoFeedMeDeliverySetting = t.z.object({
|
|
@@ -14231,7 +14291,7 @@ function Ay() {
|
|
|
14231
14291
|
}(Ca)), Ca;
|
|
14232
14292
|
}
|
|
14233
14293
|
var zi = {}, Da = {}, Ci = {}, nm;
|
|
14234
|
-
function
|
|
14294
|
+
function Bh() {
|
|
14235
14295
|
if (nm) return Ci;
|
|
14236
14296
|
nm = 1, Object.defineProperty(Ci, "__esModule", { value: !0 }), Ci.F_REMOTE_EVENT_TYPE = void 0;
|
|
14237
14297
|
const e = h();
|
|
@@ -14255,10 +14315,10 @@ function Oh() {
|
|
|
14255
14315
|
]), Ci;
|
|
14256
14316
|
}
|
|
14257
14317
|
var im;
|
|
14258
|
-
function
|
|
14318
|
+
function Oh() {
|
|
14259
14319
|
return im || (im = 1, function(e) {
|
|
14260
14320
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoRestaurantQueueUpdateEvent = e.FdoProcessPurchaseOrderRequestEvent = e.FdoUpdateDriverEvent = e.FdoCallWaiterEvent = e.FdoCreateOrUpdateGfSettingEvent = e.FdoCreateOrUpdateSfSettingEvent = e.FdoCreateOrUpdateFpSettingEvent = e.FdoGfOrderEditedEvent = e.FdoGfOrderRejectedEvent = e.FdoGfOrderCreatedEvent = e.FdoSfOrderRejectedEvent = e.FdoSfOrderCreatedEvent = e.FdoFpOrderRejectedEvent = e.FdoFpOrderCreatedEvent = e.FdoOrderDeclinedEvent = e.FdoOrderCreatedEvent = e.FdoRemoteEvent_ = e.FdoRemoteEvent = void 0;
|
|
14261
|
-
const n = T(), t = h(), i =
|
|
14321
|
+
const n = T(), t = h(), i = Bh();
|
|
14262
14322
|
e.FdoRemoteEvent = t.z.object({
|
|
14263
14323
|
_id: t.z.string().optional(),
|
|
14264
14324
|
type: i.F_REMOTE_EVENT_TYPE
|
|
@@ -14331,7 +14391,7 @@ var rm;
|
|
|
14331
14391
|
function py() {
|
|
14332
14392
|
if (rm) return zi;
|
|
14333
14393
|
rm = 1, Object.defineProperty(zi, "__esModule", { value: !0 }), zi.FdtoRemoteEvent = void 0;
|
|
14334
|
-
const e = T(), n = h(), t =
|
|
14394
|
+
const e = T(), n = h(), t = Oh();
|
|
14335
14395
|
return zi.FdtoRemoteEvent = n.z.object({
|
|
14336
14396
|
remoteEvent: n.z.discriminatedUnion("type", [
|
|
14337
14397
|
t.FdoOrderCreatedEvent,
|
|
@@ -14401,7 +14461,7 @@ var am;
|
|
|
14401
14461
|
function Nh() {
|
|
14402
14462
|
return am || (am = 1, function(e) {
|
|
14403
14463
|
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;
|
|
14404
|
-
const n = T(), t = h(), i = Rg(), r =
|
|
14464
|
+
const n = T(), t = h(), i = Rg(), r = Ms(), o = js(), a = oe(), d = Nr(), c = X(), g = Us(), v = qs(), F = Gs(), D = Ls(), R = Ys(), M = Hs(), B = Vs(), S = wh();
|
|
14405
14465
|
e.FdoAccountingSetting = t.z.object({
|
|
14406
14466
|
autoCount: i.FdoAutoCountExporterConfig
|
|
14407
14467
|
}), e.FdoPrinterSetting = t.z.object({
|
|
@@ -14488,7 +14548,7 @@ function Nh() {
|
|
|
14488
14548
|
roundToNearest: t.z.number().nullish(),
|
|
14489
14549
|
cashlessRoundToNearest: t.z.number().nullish(),
|
|
14490
14550
|
roundingType: c.FdoDineroRoundingType.nullish(),
|
|
14491
|
-
serviceChargeSetting:
|
|
14551
|
+
serviceChargeSetting: M.FdoServiceChargeSetting.nullish(),
|
|
14492
14552
|
adjustmentExcludedAddon: t.z.boolean().nullish(),
|
|
14493
14553
|
accountingSetting: e.FdoAccountingSetting.nullish(),
|
|
14494
14554
|
dynamicQrSetting: e.FdoDynamicQrSetting.nullish(),
|
|
@@ -14496,7 +14556,7 @@ function Nh() {
|
|
|
14496
14556
|
autoAcceptPaidOnly: t.z.boolean().nullish(),
|
|
14497
14557
|
realtimeStockCheck: t.z.boolean().nullish(),
|
|
14498
14558
|
printerServerSetting: e.FdoPrinterServerSetting.nullish(),
|
|
14499
|
-
tableMappingSetting:
|
|
14559
|
+
tableMappingSetting: B.FdoTableMappingSetting.nullish(),
|
|
14500
14560
|
customerDisplayImages: t.z.array(t.z.string()).nullish(),
|
|
14501
14561
|
customerDisplayImageSettings: t.z.array(e.FdoCustomerDisplayImageSetting).nullish(),
|
|
14502
14562
|
inventoryCountdownWithoutOptionalBOM: t.z.boolean().nullish(),
|
|
@@ -14678,7 +14738,7 @@ function kh() {
|
|
|
14678
14738
|
"PORTAL:UPDATE_QUEUE"
|
|
14679
14739
|
]), Gt;
|
|
14680
14740
|
}
|
|
14681
|
-
var
|
|
14741
|
+
var Ma = {}, Ri = {}, Am;
|
|
14682
14742
|
function Vh() {
|
|
14683
14743
|
if (Am) return Ri;
|
|
14684
14744
|
Am = 1, Object.defineProperty(Ri, "__esModule", { value: !0 }), Ri.F_WEIGHING_CONNECTION = void 0;
|
|
@@ -14712,13 +14772,13 @@ function Iy() {
|
|
|
14712
14772
|
machineId: t.z.string().nullish(),
|
|
14713
14773
|
forceInput: t.z.boolean().nullish()
|
|
14714
14774
|
}).describe(n.ZodMeta.couch().repo("weighingMachine").build());
|
|
14715
|
-
}(
|
|
14775
|
+
}(Ma)), Ma;
|
|
14716
14776
|
}
|
|
14717
14777
|
var tt = {}, ym;
|
|
14718
14778
|
function zy() {
|
|
14719
14779
|
if (ym) return tt;
|
|
14720
14780
|
ym = 1, Object.defineProperty(tt, "__esModule", { value: !0 }), tt.FdtoBillingPaymentResponse = tt.FdtoBillingPaymentCheckoutBody = tt.FdtoPerformBillingPaymentReq = void 0;
|
|
14721
|
-
const e = h(), n =
|
|
14781
|
+
const e = h(), n = Br();
|
|
14722
14782
|
return tt.FdtoPerformBillingPaymentReq = e.z.object({
|
|
14723
14783
|
method: n.FdoBillingPaymentMethod,
|
|
14724
14784
|
source: n.FdoBillingPaymentSource,
|
|
@@ -14779,31 +14839,31 @@ function Cy() {
|
|
|
14779
14839
|
counter: i.FdoCounterRef.nullish()
|
|
14780
14840
|
}).describe(e.ZodMeta.couch().repo("drawer").build()), Si;
|
|
14781
14841
|
}
|
|
14782
|
-
var
|
|
14842
|
+
var Mi = {}, vm;
|
|
14783
14843
|
function Dy() {
|
|
14784
|
-
if (vm) return
|
|
14785
|
-
vm = 1, Object.defineProperty(
|
|
14844
|
+
if (vm) return Mi;
|
|
14845
|
+
vm = 1, Object.defineProperty(Mi, "__esModule", { value: !0 }), Mi.FdoTimesheet = void 0;
|
|
14786
14846
|
const e = T(), n = h(), t = le();
|
|
14787
|
-
return
|
|
14847
|
+
return Mi.FdoTimesheet = n.z.object({
|
|
14788
14848
|
_id: n.z.string(),
|
|
14789
14849
|
user: t.FdoEmployeeRef,
|
|
14790
14850
|
startedAt: n.z.string(),
|
|
14791
14851
|
endedAt: n.z.string().nullish()
|
|
14792
|
-
}).describe(e.ZodMeta.couch().repo("timesheet").build()),
|
|
14852
|
+
}).describe(e.ZodMeta.couch().repo("timesheet").build()), Mi;
|
|
14793
14853
|
}
|
|
14794
|
-
var
|
|
14854
|
+
var Bi = {}, Fm;
|
|
14795
14855
|
function Py() {
|
|
14796
|
-
if (Fm) return
|
|
14797
|
-
Fm = 1, Object.defineProperty(
|
|
14856
|
+
if (Fm) return Bi;
|
|
14857
|
+
Fm = 1, Object.defineProperty(Bi, "__esModule", { value: !0 }), Bi.FdoInventoryBinding = void 0;
|
|
14798
14858
|
const e = h(), n = Ah(), t = oe(), i = Yi();
|
|
14799
|
-
return
|
|
14859
|
+
return Bi.FdoInventoryBinding = e.z.object({
|
|
14800
14860
|
type: n.F_INVENTORY_BINDING_TYPE,
|
|
14801
14861
|
id: e.z.string(),
|
|
14802
14862
|
amount: t.FdoDecimal,
|
|
14803
14863
|
measurement: i.FdoUnitMeasurement.nullish()
|
|
14804
|
-
}),
|
|
14864
|
+
}), Bi;
|
|
14805
14865
|
}
|
|
14806
|
-
var Lt = {},
|
|
14866
|
+
var Lt = {}, Ba = {}, Oa = {}, Em;
|
|
14807
14867
|
function Uh() {
|
|
14808
14868
|
return Em || (Em = 1, function(e) {
|
|
14809
14869
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoInventorySupplier = e.FdoInventorySupplierAddress = void 0;
|
|
@@ -14826,7 +14886,7 @@ function Uh() {
|
|
|
14826
14886
|
address: e.FdoInventorySupplierAddress,
|
|
14827
14887
|
supplyItems: n.z.array(n.z.object({})).nullish()
|
|
14828
14888
|
}).describe(t.ZodMeta.couch().repo("supplier").build());
|
|
14829
|
-
}(
|
|
14889
|
+
}(Oa)), Oa;
|
|
14830
14890
|
}
|
|
14831
14891
|
var Im;
|
|
14832
14892
|
function nd() {
|
|
@@ -14867,7 +14927,7 @@ function nd() {
|
|
|
14867
14927
|
request: e.FdoPurchaseOrderRequestRef.nullish(),
|
|
14868
14928
|
deliveryOrder: n.z.array(e.FdoDeliveryConfirmation)
|
|
14869
14929
|
}).describe(t.ZodMeta.couch().repo("purchaseOrder").build());
|
|
14870
|
-
}(
|
|
14930
|
+
}(Ba)), Ba;
|
|
14871
14931
|
}
|
|
14872
14932
|
var zm;
|
|
14873
14933
|
function Ty() {
|
|
@@ -14888,7 +14948,7 @@ var wa = {}, Cm;
|
|
|
14888
14948
|
function Ry() {
|
|
14889
14949
|
return Cm || (Cm = 1, function(e) {
|
|
14890
14950
|
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;
|
|
14891
|
-
const n = T(), t = h(), i = Ct(), r = X(), o = Js(), a = lt(), d = ed(), c =
|
|
14951
|
+
const n = T(), t = h(), i = Ct(), r = X(), o = Js(), a = lt(), d = ed(), c = Br();
|
|
14892
14952
|
e.FdoLicenseProductPlan = t.z.object({
|
|
14893
14953
|
id: t.z.string(),
|
|
14894
14954
|
name: t.z.string(),
|
|
@@ -15014,12 +15074,12 @@ function Sy() {
|
|
|
15014
15074
|
});
|
|
15015
15075
|
}(Na)), Na;
|
|
15016
15076
|
}
|
|
15017
|
-
var
|
|
15077
|
+
var Oi = {}, Pm;
|
|
15018
15078
|
function id() {
|
|
15019
|
-
if (Pm) return
|
|
15020
|
-
Pm = 1, Object.defineProperty(
|
|
15079
|
+
if (Pm) return Oi;
|
|
15080
|
+
Pm = 1, Object.defineProperty(Oi, "__esModule", { value: !0 }), Oi.FdoCreditTransaction = void 0;
|
|
15021
15081
|
const e = h(), n = un(), t = Ct(), i = Ki(), r = bh(), o = T(), a = Rr();
|
|
15022
|
-
return
|
|
15082
|
+
return Oi.FdoCreditTransaction = e.z.object({
|
|
15023
15083
|
_id: e.z.string().superRefine(o.isObjectId),
|
|
15024
15084
|
business: e.z.string().superRefine(o.isObjectId),
|
|
15025
15085
|
pf_business: e.z.lazy(() => t.FdoBusiness).nullish().describe(o.ZodMeta.mongo().populate({ fromCollection: "Businesses", localField: "business" }).build()),
|
|
@@ -15037,10 +15097,10 @@ function id() {
|
|
|
15037
15097
|
pf_restaurant: e.z.lazy(() => n.FdoRestaurant).nullish().describe(o.ZodMeta.mongo().populate({ fromCollection: "Restaurants", localField: "restaurant" }).build()),
|
|
15038
15098
|
refunded: e.z.boolean(),
|
|
15039
15099
|
refundedFrom: e.z.string().nullish()
|
|
15040
|
-
}).describe(o.ZodMeta.mongo().repo("CreditTransactions").build()),
|
|
15100
|
+
}).describe(o.ZodMeta.mongo().repo("CreditTransactions").build()), Oi;
|
|
15041
15101
|
}
|
|
15042
15102
|
var ja = {}, Tm;
|
|
15043
|
-
function
|
|
15103
|
+
function My() {
|
|
15044
15104
|
return Tm || (Tm = 1, function(e) {
|
|
15045
15105
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoSmsCreditBalanceRes = e.FdtoSmsCreditBalance = e.FdtoSendSmsRes = e.FdtoSendSms = e.FdtoSmsGetQuoteRes = e.FdtoSmsGetQuote = e.FdtoTopUpSmsCreditRes = e.FdtoTopUpSmsCredit = e.FdtoTopUpSmsCreditManual = e.FdtoTopUpSmsCreditLicense = e.FdtoTopUpSmsCreditBase = void 0;
|
|
15046
15106
|
const n = T(), t = h(), i = Ch(), r = X(), o = Js(), a = zh();
|
|
@@ -15091,7 +15151,7 @@ function By() {
|
|
|
15091
15151
|
}(ja)), ja;
|
|
15092
15152
|
}
|
|
15093
15153
|
var ka = {}, Rm;
|
|
15094
|
-
function
|
|
15154
|
+
function By() {
|
|
15095
15155
|
return Rm || (Rm = 1, function(e) {
|
|
15096
15156
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoPhoneNotificationOption = e.FdtoBaseNotificationOption = e.FdtoNotificationResponse = void 0;
|
|
15097
15157
|
const n = h(), t = Vr();
|
|
@@ -15107,7 +15167,7 @@ function Oy() {
|
|
|
15107
15167
|
}(ka)), ka;
|
|
15108
15168
|
}
|
|
15109
15169
|
var Va = {}, Sm;
|
|
15110
|
-
function
|
|
15170
|
+
function Oy() {
|
|
15111
15171
|
return Sm || (Sm = 1, function(e) {
|
|
15112
15172
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoSettlement = e.FdoSettlementBeneficiaryBank = void 0;
|
|
15113
15173
|
const n = h(), t = T(), i = X(), r = un();
|
|
@@ -15129,10 +15189,10 @@ function My() {
|
|
|
15129
15189
|
}).describe(t.ZodMeta.mongo().repo("Settlement").build());
|
|
15130
15190
|
}(Va)), Va;
|
|
15131
15191
|
}
|
|
15132
|
-
var wi = {},
|
|
15192
|
+
var wi = {}, Mm;
|
|
15133
15193
|
function wy() {
|
|
15134
|
-
if (
|
|
15135
|
-
|
|
15194
|
+
if (Mm) return wi;
|
|
15195
|
+
Mm = 1, Object.defineProperty(wi, "__esModule", { value: !0 }), wi.FdtoPosRestaurantRes = void 0;
|
|
15136
15196
|
const e = h();
|
|
15137
15197
|
return wi.FdtoPosRestaurantRes = e.z.object({
|
|
15138
15198
|
features: e.z.array(e.z.string()),
|
|
@@ -15145,9 +15205,9 @@ function wy() {
|
|
|
15145
15205
|
expiredAt: e.z.string()
|
|
15146
15206
|
}), wi;
|
|
15147
15207
|
}
|
|
15148
|
-
var Ua = {},
|
|
15208
|
+
var Ua = {}, Bm;
|
|
15149
15209
|
function Ny() {
|
|
15150
|
-
return
|
|
15210
|
+
return Bm || (Bm = 1, function(e) {
|
|
15151
15211
|
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;
|
|
15152
15212
|
const n = T(), t = h(), i = Vr(), r = td();
|
|
15153
15213
|
e.FdoBaseVerifierOption = t.z.object({
|
|
@@ -15220,9 +15280,9 @@ function Ny() {
|
|
|
15220
15280
|
}).describe(n.ZodMeta.mongo().repo("Verifiers").build());
|
|
15221
15281
|
}(Ua)), Ua;
|
|
15222
15282
|
}
|
|
15223
|
-
var qa = {},
|
|
15283
|
+
var qa = {}, Om;
|
|
15224
15284
|
function jy() {
|
|
15225
|
-
return
|
|
15285
|
+
return Om || (Om = 1, function(e) {
|
|
15226
15286
|
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;
|
|
15227
15287
|
const n = h(), t = Vr(), i = td();
|
|
15228
15288
|
e.FdtoBaseVerifierVerify = n.z.object({
|
|
@@ -15332,7 +15392,7 @@ var La = {}, jm;
|
|
|
15332
15392
|
function Uy() {
|
|
15333
15393
|
return jm || (jm = 1, function(e) {
|
|
15334
15394
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.EberUser = e.EberCustomerOverview = e.EberCustomer = e.EberGetCustomerInfoDto = e.EberIssuePointDto = e.EberGetUserInfo = e.EberBaseDto = void 0;
|
|
15335
|
-
const n = T(), t = h(), i = Ki(), r = cn(), o =
|
|
15395
|
+
const n = T(), t = h(), i = Ki(), r = cn(), o = Mr();
|
|
15336
15396
|
e.EberBaseDto = t.z.object({
|
|
15337
15397
|
restaurantId: t.z.string().superRefine(n.isObjectId)
|
|
15338
15398
|
}), e.EberGetUserInfo = e.EberBaseDto.extend({
|
|
@@ -15520,7 +15580,7 @@ var Za = {}, Um;
|
|
|
15520
15580
|
function Gy() {
|
|
15521
15581
|
return Um || (Um = 1, function(e) {
|
|
15522
15582
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMemberStorePurchase = e.FdtoGetMemberStorePurchaseRes = e.FdtoGetMemberStorePurchaseResCredit = e.FdtoGetMemberStorePurchaseResClaim = e.FdoStoreTransactionRefundInfoRes = e.FdoMemberStorePurchaseMember = e.FdoMemberStorePurchasePayment = void 0;
|
|
15523
|
-
const n = T(), t = h(), i =
|
|
15583
|
+
const n = T(), t = h(), i = Os(), r = Zs(), o = le(), a = id(), d = rd(), c = xs(), g = cn(), v = we(), F = Ih();
|
|
15524
15584
|
e.FdoMemberStorePurchasePayment = v.FdoPayment.extend({
|
|
15525
15585
|
createdAt: t.z.string()
|
|
15526
15586
|
}), e.FdoMemberStorePurchaseMember = t.z.object({
|
|
@@ -15576,7 +15636,7 @@ var Wa = {}, qm;
|
|
|
15576
15636
|
function Ly() {
|
|
15577
15637
|
return qm || (qm = 1, function(e) {
|
|
15578
15638
|
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;
|
|
15579
|
-
const n = T(), t = h(), i = un(), r = cn(), o = Fh(), a = Eh(), d =
|
|
15639
|
+
const n = T(), t = h(), i = un(), r = cn(), o = Fh(), a = Eh(), d = Mr(), c = rd();
|
|
15580
15640
|
e.FdoExperienceRange = t.z.object({
|
|
15581
15641
|
minLevel: t.z.number(),
|
|
15582
15642
|
expToLevelUp: t.z.number()
|
|
@@ -15665,7 +15725,7 @@ function Yy() {
|
|
|
15665
15725
|
}), t = Q && Q.__exportStar || function(i, r) {
|
|
15666
15726
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && n(r, i, o);
|
|
15667
15727
|
};
|
|
15668
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), t(Rg(), e), t(Sg(), e), t(
|
|
15728
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), t(Rg(), e), t(Sg(), e), t(Mg(), e), t(Mp(), e), t(Jg(), e), t(Bp(), e), t(Rs(), e), t(kg(), e), t(zr(), e), t(Bg(), e), t(Ds(), e), t(Og(), e), t(Cr(), e), t(Ss(), e), t(Vg(), e), t(Ug(), e), t(qg(), e), t(Ms(), e), t(Bs(), e), t(Op(), e), t(Os(), e), t(Zi(), e), t(wg(), e), t(Zg(), e), t(ws(), e), t(Wg(), e), t(Qg(), e), t(Hg(), e), t(Kg(), e), t(ln(), e), t(wp(), e), t(eh(), e), t(Ct(), e), t(th(), e), t(Np(), e), t(ch(), e), t(jp(), e), t(Jt(), e), t(Or(), e), t(Ts(), e), t(Zs(), e), t(Wi(), e), t(Ng(), e), t(jg(), e), t(Ps(), e), t(js(), e), t(rh(), e), t(ih(), e), t(oe(), e), t(kp(), e), t(Vp(), e), t(Up(), e), t(mh(), e), t(Nr(), e), t(qp(), e), t(Ws(), e), t(Gp(), e), t(Lp(), e), t(X(), e), t(jr(), e), t(Dt(), e), t(Yp(), e), t(Qs(), e), t(kr(), e), t(gh(), e), t(Hp(), e), t(Xs(), e), t(Zp(), e), t(Wp(), e), t(Ks(), e), t(hh(), e), t(fh(), e), t(Qp(), e), t(Xi(), e), t(dn(), e), t(Tr(), e), t(Gg(), e), t(zs(), e), t(Yg(), e), t(Ir(), e), t(le(), e), t(Xp(), e), t(Kp(), e), t(Jp(), e), t(xp(), e), t(_p(), e), t(Ah(), e), t(Yi(), e), t(Cs(), e), t(ph(), e), t(Hi(), e), t(yh(), e), t($p(), e), t(Js(), e), t(ey(), e), t(ty(), e), t(Rr(), e), t(bh(), e), t(vh(), e), t(ny(), e), t(nh(), e), t(Sr(), e), t(xg(), e), t(Ki(), e), t(Fh(), e), t(Eh(), e), t(iy(), e), t(xs(), e), t(Ih(), e), t(zh(), e), t(Ch(), e), t(Vr(), e), t(ry(), e), t(oy(), e), t(Qi(), e), t(Ur(), e), t(Dh(), e), t(Ph(), e), t(Th(), e), t(ay(), e), t(sy(), e), t(dy(), e), t(zt(), e), t(we(), e), t(dh(), e), t(sh(), e), t(ly(), e), t(uy(), e), t(cy(), e), t(Rh(), e), t(_s(), e), t(my(), e), t(Pr(), e), t(ks(), e), t(gy(), e), t(Mh(), e), t(hy(), e), t(Sh(), e), t(fy(), e), t(Ay(), e), t(py(), e), t(Bh(), e), t(Nh(), e), t(yy(), e), t(wh(), e), t(Us(), e), t(qs(), e), t(Gs(), e), t(Ls(), e), t(Ys(), e), t(un(), e), t(ed(), e), t(by(), e), t(lh(), e), t(Vs(), e), t(vy(), e), t(Fy(), e), t(jh(), e), t(Ey(), e), t(_g(), e), t(td(), e), t(kh(), e), t(Iy(), e), t(lt(), e), t(Xg(), e), t(Br(), e), t(zy(), e), t(Cy(), e), t(Lg(), e), t(Dy(), e), t(oh(), e), t(wr(), e), t(Py(), e), t(ah(), e), t(Ty(), e), t(Uh(), e), t(Ry(), e), t(Sy(), e), t(id(), e), t(Mr(), e), t(My(), e), t(By(), e), t(Oy(), e), t($s(), e), t(Oh(), e), t(wy(), e), t(Hs(), e), t(Dr(), e), t(uh(), e), t(Ns(), e), t(Ny(), e), t(jy(), e), t(ky(), e), t($g(), e), t(nd(), e), t(cn(), e), t(Vy(), e), t(Uy(), e), t(qy(), e), t(rd(), e), t(Gy(), e), t(Ly(), e), t(Vh(), e);
|
|
15669
15729
|
}(Wr)), Wr;
|
|
15670
15730
|
}
|
|
15671
15731
|
var Hy = Yy();
|
|
@@ -15934,8 +15994,8 @@ const Gh = function(e) {
|
|
|
15934
15994
|
if (i.push(D), g !== 64) {
|
|
15935
15995
|
const R = d << 4 & 240 | g >> 2;
|
|
15936
15996
|
if (i.push(R), F !== 64) {
|
|
15937
|
-
const
|
|
15938
|
-
i.push(
|
|
15997
|
+
const M = g << 6 & 192 | F;
|
|
15998
|
+
i.push(M);
|
|
15939
15999
|
}
|
|
15940
16000
|
}
|
|
15941
16001
|
}
|
|
@@ -16844,10 +16904,10 @@ let ss = {
|
|
|
16844
16904
|
return e instanceof IDBTransaction && (n === "done" || n === "store") ? !0 : n in e;
|
|
16845
16905
|
}
|
|
16846
16906
|
};
|
|
16847
|
-
function
|
|
16907
|
+
function Mb(e) {
|
|
16848
16908
|
ss = e(ss);
|
|
16849
16909
|
}
|
|
16850
|
-
function
|
|
16910
|
+
function Bb(e) {
|
|
16851
16911
|
return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(n, ...t) {
|
|
16852
16912
|
const i = e.call(Ka(this), n, ...t);
|
|
16853
16913
|
return Kh.set(i, n.sort ? n.sort() : [n]), vt(i);
|
|
@@ -16857,15 +16917,15 @@ function Ob(e) {
|
|
|
16857
16917
|
return vt(e.apply(Ka(this), n));
|
|
16858
16918
|
};
|
|
16859
16919
|
}
|
|
16860
|
-
function
|
|
16861
|
-
return typeof e == "function" ?
|
|
16920
|
+
function Ob(e) {
|
|
16921
|
+
return typeof e == "function" ? Bb(e) : (e instanceof IDBTransaction && Sb(e), Db(e, Pb()) ? new Proxy(e, ss) : e);
|
|
16862
16922
|
}
|
|
16863
16923
|
function vt(e) {
|
|
16864
16924
|
if (e instanceof IDBRequest)
|
|
16865
16925
|
return Rb(e);
|
|
16866
16926
|
if (Xa.has(e))
|
|
16867
16927
|
return Xa.get(e);
|
|
16868
|
-
const n =
|
|
16928
|
+
const n = Ob(e);
|
|
16869
16929
|
return n !== e && (Xa.set(e, n), ad.set(n, e)), n;
|
|
16870
16930
|
}
|
|
16871
16931
|
const Ka = (e) => ad.get(e);
|
|
@@ -16905,7 +16965,7 @@ function Qm(e, n) {
|
|
|
16905
16965
|
};
|
|
16906
16966
|
return Ja.set(n, o), o;
|
|
16907
16967
|
}
|
|
16908
|
-
|
|
16968
|
+
Mb((e) => ({
|
|
16909
16969
|
...e,
|
|
16910
16970
|
get: (n, t, i) => Qm(n, t) || e.get(n, t, i),
|
|
16911
16971
|
has: (n, t) => !!Qm(n, t) || e.has(n, t)
|
|
@@ -17599,7 +17659,7 @@ function $m() {
|
|
|
17599
17659
|
* See the License for the specific language governing permissions and
|
|
17600
17660
|
* limitations under the License.
|
|
17601
17661
|
*/
|
|
17602
|
-
function
|
|
17662
|
+
function Mv() {
|
|
17603
17663
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
|
17604
17664
|
// This is especially true for Cordova apps which have unreliable
|
|
17605
17665
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
|
@@ -17607,7 +17667,7 @@ function Bv() {
|
|
|
17607
17667
|
// defines navigator.connection.
|
|
17608
17668
|
(Sv() || ab() || "connection" in navigator) ? navigator.onLine : !0;
|
|
17609
17669
|
}
|
|
17610
|
-
function
|
|
17670
|
+
function Bv() {
|
|
17611
17671
|
if (typeof navigator > "u")
|
|
17612
17672
|
return null;
|
|
17613
17673
|
const e = navigator;
|
|
@@ -17640,7 +17700,7 @@ class _i {
|
|
|
17640
17700
|
this.shortDelay = n, this.longDelay = t, dt(t > n, "Short delay should be less than long delay!"), this.isMobile = rb() || sb();
|
|
17641
17701
|
}
|
|
17642
17702
|
get() {
|
|
17643
|
-
return
|
|
17703
|
+
return Mv() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
|
17644
17704
|
}
|
|
17645
17705
|
}
|
|
17646
17706
|
/**
|
|
@@ -17734,7 +17794,7 @@ class nf {
|
|
|
17734
17794
|
* See the License for the specific language governing permissions and
|
|
17735
17795
|
* limitations under the License.
|
|
17736
17796
|
*/
|
|
17737
|
-
const
|
|
17797
|
+
const Ov = {
|
|
17738
17798
|
// Custom token errors.
|
|
17739
17799
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
|
17740
17800
|
// This can only happen if the SDK sends a bad request.
|
|
@@ -17852,7 +17912,7 @@ async function gn(e, n, t, i, r = {}) {
|
|
|
17852
17912
|
}
|
|
17853
17913
|
async function rf(e, n, t) {
|
|
17854
17914
|
e._canInitEmulator = !1;
|
|
17855
|
-
const i = Object.assign(Object.assign({},
|
|
17915
|
+
const i = Object.assign(Object.assign({}, Ov), n);
|
|
17856
17916
|
try {
|
|
17857
17917
|
const r = new Nv(e), o = await Promise.race([
|
|
17858
17918
|
t(),
|
|
@@ -18433,7 +18493,7 @@ class rt {
|
|
|
18433
18493
|
}
|
|
18434
18494
|
static _fromJSON(n, t) {
|
|
18435
18495
|
var i, r, o, a, d, c, g, v;
|
|
18436
|
-
const F = (i = t.displayName) !== null && i !== void 0 ? i : void 0, D = (r = t.email) !== null && r !== void 0 ? r : void 0, R = (o = t.phoneNumber) !== null && o !== void 0 ? o : void 0,
|
|
18496
|
+
const F = (i = t.displayName) !== null && i !== void 0 ? i : void 0, D = (r = t.email) !== null && r !== void 0 ? r : void 0, R = (o = t.phoneNumber) !== null && o !== void 0 ? o : void 0, M = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, B = (d = t.tenantId) !== null && d !== void 0 ? d : void 0, S = (c = t._redirectEventId) !== null && c !== void 0 ? c : void 0, Z = (g = t.createdAt) !== null && g !== void 0 ? g : void 0, W = (v = t.lastLoginAt) !== null && v !== void 0 ? v : void 0, { uid: H, emailVerified: V, isAnonymous: x, providerData: ae, stsTokenManager: ge } = t;
|
|
18437
18497
|
U(
|
|
18438
18498
|
H && ge,
|
|
18439
18499
|
n,
|
|
@@ -18456,7 +18516,7 @@ class rt {
|
|
|
18456
18516
|
n,
|
|
18457
18517
|
"internal-error"
|
|
18458
18518
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
18459
|
-
), gt(R, n.name), gt(
|
|
18519
|
+
), gt(R, n.name), gt(M, n.name), gt(B, n.name), gt(S, n.name), gt(Z, n.name), gt(W, n.name);
|
|
18460
18520
|
const f = new rt({
|
|
18461
18521
|
uid: H,
|
|
18462
18522
|
auth: n,
|
|
@@ -18464,9 +18524,9 @@ class rt {
|
|
|
18464
18524
|
emailVerified: V,
|
|
18465
18525
|
displayName: F,
|
|
18466
18526
|
isAnonymous: x,
|
|
18467
|
-
photoURL:
|
|
18527
|
+
photoURL: M,
|
|
18468
18528
|
phoneNumber: R,
|
|
18469
|
-
tenantId:
|
|
18529
|
+
tenantId: B,
|
|
18470
18530
|
stsTokenManager: ne,
|
|
18471
18531
|
createdAt: Z,
|
|
18472
18532
|
lastLoginAt: W
|
|
@@ -19050,7 +19110,7 @@ class Jv {
|
|
|
19050
19110
|
return this.directlySetCurrentUser(n);
|
|
19051
19111
|
}
|
|
19052
19112
|
useDeviceLanguage() {
|
|
19053
|
-
this.languageCode =
|
|
19113
|
+
this.languageCode = Bv();
|
|
19054
19114
|
}
|
|
19055
19115
|
async _delete() {
|
|
19056
19116
|
this._deleted = !0;
|
|
@@ -20919,7 +20979,7 @@ function SF(e) {
|
|
|
20919
20979
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
20920
20980
|
), dF(t, new Ad(e), e.bypassAuthState);
|
|
20921
20981
|
}
|
|
20922
|
-
async function
|
|
20982
|
+
async function MF(e) {
|
|
20923
20983
|
const { auth: n, user: t } = e;
|
|
20924
20984
|
return U(
|
|
20925
20985
|
t,
|
|
@@ -20944,7 +21004,7 @@ async function BF(e) {
|
|
|
20944
21004
|
* See the License for the specific language governing permissions and
|
|
20945
21005
|
* limitations under the License.
|
|
20946
21006
|
*/
|
|
20947
|
-
class
|
|
21007
|
+
class Mf {
|
|
20948
21008
|
constructor(n, t, i, r, o = !1) {
|
|
20949
21009
|
this.auth = n, this.resolver = i, this.user = r, this.bypassAuthState = o, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
|
20950
21010
|
}
|
|
@@ -20989,7 +21049,7 @@ class Bf {
|
|
|
20989
21049
|
return RF;
|
|
20990
21050
|
case "linkViaPopup":
|
|
20991
21051
|
case "linkViaRedirect":
|
|
20992
|
-
return
|
|
21052
|
+
return MF;
|
|
20993
21053
|
case "reauthViaPopup":
|
|
20994
21054
|
case "reauthViaRedirect":
|
|
20995
21055
|
return SF;
|
|
@@ -21027,8 +21087,8 @@ class Bf {
|
|
|
21027
21087
|
* See the License for the specific language governing permissions and
|
|
21028
21088
|
* limitations under the License.
|
|
21029
21089
|
*/
|
|
21030
|
-
const
|
|
21031
|
-
class nn extends
|
|
21090
|
+
const BF = new _i(2e3, 1e4);
|
|
21091
|
+
class nn extends Mf {
|
|
21032
21092
|
constructor(n, t, i, r, o) {
|
|
21033
21093
|
super(n, t, r, o), this.provider = i, this.authWindow = null, this.pollId = null, nn.currentPopupAction && nn.currentPopupAction.cancel(), nn.currentPopupAction = this;
|
|
21034
21094
|
}
|
|
@@ -21091,7 +21151,7 @@ class nn extends Bf {
|
|
|
21091
21151
|
);
|
|
21092
21152
|
return;
|
|
21093
21153
|
}
|
|
21094
|
-
this.pollId = window.setTimeout(n,
|
|
21154
|
+
this.pollId = window.setTimeout(n, BF.get());
|
|
21095
21155
|
};
|
|
21096
21156
|
n();
|
|
21097
21157
|
}
|
|
@@ -21113,8 +21173,8 @@ nn.currentPopupAction = null;
|
|
|
21113
21173
|
* See the License for the specific language governing permissions and
|
|
21114
21174
|
* limitations under the License.
|
|
21115
21175
|
*/
|
|
21116
|
-
const
|
|
21117
|
-
class wF extends
|
|
21176
|
+
const OF = "pendingRedirect", lr = /* @__PURE__ */ new Map();
|
|
21177
|
+
class wF extends Mf {
|
|
21118
21178
|
constructor(n, t, i = !1) {
|
|
21119
21179
|
super(n, [
|
|
21120
21180
|
"signInViaRedirect",
|
|
@@ -21174,7 +21234,7 @@ function kF(e) {
|
|
|
21174
21234
|
return ot(e._redirectPersistence);
|
|
21175
21235
|
}
|
|
21176
21236
|
function VF(e) {
|
|
21177
|
-
return dr(
|
|
21237
|
+
return dr(OF, e.config.apiKey, e.name);
|
|
21178
21238
|
}
|
|
21179
21239
|
async function UF(e, n, t = !1) {
|
|
21180
21240
|
if (nt(e.app))
|
|
@@ -21219,7 +21279,7 @@ class GF {
|
|
|
21219
21279
|
}
|
|
21220
21280
|
sendToConsumer(n, t) {
|
|
21221
21281
|
var i;
|
|
21222
|
-
if (n.error && !
|
|
21282
|
+
if (n.error && !Bf(n)) {
|
|
21223
21283
|
const r = ((i = n.error.code) === null || i === void 0 ? void 0 : i.split("auth/")[1]) || "internal-error";
|
|
21224
21284
|
t.onError(qe(this.auth, r));
|
|
21225
21285
|
} else
|
|
@@ -21239,7 +21299,7 @@ class GF {
|
|
|
21239
21299
|
function lg(e) {
|
|
21240
21300
|
return [e.type, e.eventId, e.sessionId, e.tenantId].filter((n) => n).join("-");
|
|
21241
21301
|
}
|
|
21242
|
-
function
|
|
21302
|
+
function Bf({ type: e, error: n }) {
|
|
21243
21303
|
return e === "unknown" && (n == null ? void 0 : n.code) === "auth/no-auth-event";
|
|
21244
21304
|
}
|
|
21245
21305
|
function LF(e) {
|
|
@@ -21249,7 +21309,7 @@ function LF(e) {
|
|
|
21249
21309
|
case "reauthViaRedirect":
|
|
21250
21310
|
return !0;
|
|
21251
21311
|
case "unknown":
|
|
21252
|
-
return
|
|
21312
|
+
return Bf(e);
|
|
21253
21313
|
default:
|
|
21254
21314
|
return !1;
|
|
21255
21315
|
}
|
|
@@ -21510,7 +21570,7 @@ function lE(e, n, t, i = oE, r = aE) {
|
|
|
21510
21570
|
left: a
|
|
21511
21571
|
}), g = Ae().toLowerCase();
|
|
21512
21572
|
t && (d = mf(g) ? sE : t), uf(g) && (n = n || dE, c.scrollbars = "yes");
|
|
21513
|
-
const v = Object.entries(c).reduce((D, [R,
|
|
21573
|
+
const v = Object.entries(c).reduce((D, [R, M]) => `${D}${R}=${M},`, "");
|
|
21514
21574
|
if (Hv(g) && d !== "_self")
|
|
21515
21575
|
return uE(n || "", d), new cg(null);
|
|
21516
21576
|
const F = window.open(n || "", d, v);
|
|
@@ -21886,7 +21946,7 @@ bE(
|
|
|
21886
21946
|
* See the License for the specific language governing permissions and
|
|
21887
21947
|
* limitations under the License.
|
|
21888
21948
|
*/
|
|
21889
|
-
const
|
|
21949
|
+
const Of = "firebasestorage.googleapis.com", wf = "storageBucket", CE = 2 * 60 * 1e3, DE = 10 * 60 * 1e3;
|
|
21890
21950
|
/**
|
|
21891
21951
|
* @license
|
|
21892
21952
|
* Copyright 2017 Google LLC
|
|
@@ -21960,13 +22020,13 @@ function RE() {
|
|
|
21960
22020
|
function SE(e) {
|
|
21961
22021
|
return new ue(de.UNAUTHORIZED, "User does not have permission to access '" + e + "'.");
|
|
21962
22022
|
}
|
|
21963
|
-
function
|
|
22023
|
+
function ME() {
|
|
21964
22024
|
return new ue(de.RETRY_LIMIT_EXCEEDED, "Max retry time for operation exceeded, please try again.");
|
|
21965
22025
|
}
|
|
21966
|
-
function
|
|
22026
|
+
function BE() {
|
|
21967
22027
|
return new ue(de.CANCELED, "User canceled the upload/download.");
|
|
21968
22028
|
}
|
|
21969
|
-
function
|
|
22029
|
+
function OE(e) {
|
|
21970
22030
|
return new ue(de.INVALID_URL, "Invalid URL '" + e + "'.");
|
|
21971
22031
|
}
|
|
21972
22032
|
function wE(e) {
|
|
@@ -22050,11 +22110,11 @@ class ze {
|
|
|
22050
22110
|
function g(V) {
|
|
22051
22111
|
V.path_ = decodeURIComponent(V.path);
|
|
22052
22112
|
}
|
|
22053
|
-
const v = "v[A-Za-z0-9_]+", F = t.replace(/[.]/g, "\\."), D = "(/([^?#]*).*)?$", R = new RegExp(`^https?://${F}/${v}/b/${r}/o${D}`, "i"),
|
|
22113
|
+
const v = "v[A-Za-z0-9_]+", F = t.replace(/[.]/g, "\\."), D = "(/([^?#]*).*)?$", R = new RegExp(`^https?://${F}/${v}/b/${r}/o${D}`, "i"), M = { bucket: 1, path: 3 }, B = t === Of ? "(?:storage.googleapis.com|storage.cloud.google.com)" : t, S = "([^?#]*)", Z = new RegExp(`^https?://${B}/${r}/${S}`, "i"), H = [
|
|
22054
22114
|
{ regex: d, indices: c, postModify: o },
|
|
22055
22115
|
{
|
|
22056
22116
|
regex: R,
|
|
22057
|
-
indices:
|
|
22117
|
+
indices: M,
|
|
22058
22118
|
postModify: g
|
|
22059
22119
|
},
|
|
22060
22120
|
{
|
|
@@ -22073,7 +22133,7 @@ class ze {
|
|
|
22073
22133
|
}
|
|
22074
22134
|
}
|
|
22075
22135
|
if (i == null)
|
|
22076
|
-
throw
|
|
22136
|
+
throw OE(n);
|
|
22077
22137
|
return i;
|
|
22078
22138
|
}
|
|
22079
22139
|
}
|
|
@@ -22139,13 +22199,13 @@ function qE(e, n, t) {
|
|
|
22139
22199
|
let H;
|
|
22140
22200
|
d === 1 ? (d = 2, H = 0) : H = (i + Math.random()) * 1e3, F(H);
|
|
22141
22201
|
}
|
|
22142
|
-
let
|
|
22143
|
-
function
|
|
22144
|
-
|
|
22202
|
+
let M = !1;
|
|
22203
|
+
function B(S) {
|
|
22204
|
+
M || (M = !0, D(), !g && (r !== null ? (S || (d = 2), clearTimeout(r), F(0)) : S || (d = 1)));
|
|
22145
22205
|
}
|
|
22146
22206
|
return F(0), o = setTimeout(() => {
|
|
22147
|
-
a = !0,
|
|
22148
|
-
}, t),
|
|
22207
|
+
a = !0, B(!0);
|
|
22208
|
+
}, t), B;
|
|
22149
22209
|
}
|
|
22150
22210
|
function GE(e) {
|
|
22151
22211
|
e(!1);
|
|
@@ -22264,8 +22324,8 @@ function WE(e, n) {
|
|
|
22264
22324
|
*/
|
|
22265
22325
|
class QE {
|
|
22266
22326
|
constructor(n, t, i, r, o, a, d, c, g, v, F, D = !0) {
|
|
22267
|
-
this.url_ = n, this.method_ = t, this.headers_ = i, this.body_ = r, this.successCodes_ = o, this.additionalRetryCodes_ = a, this.callback_ = d, this.errorCallback_ = c, this.timeout_ = g, this.progressCallback_ = v, this.connectionFactory_ = F, this.retry = D, this.pendingConnection_ = null, this.backoffId_ = null, this.canceled_ = !1, this.appDelete_ = !1, this.promise_ = new Promise((R,
|
|
22268
|
-
this.resolve_ = R, this.reject_ =
|
|
22327
|
+
this.url_ = n, this.method_ = t, this.headers_ = i, this.body_ = r, this.successCodes_ = o, this.additionalRetryCodes_ = a, this.callback_ = d, this.errorCallback_ = c, this.timeout_ = g, this.progressCallback_ = v, this.connectionFactory_ = F, this.retry = D, this.pendingConnection_ = null, this.backoffId_ = null, this.canceled_ = !1, this.appDelete_ = !1, this.promise_ = new Promise((R, M) => {
|
|
22328
|
+
this.resolve_ = R, this.reject_ = M, this.start_();
|
|
22269
22329
|
});
|
|
22270
22330
|
}
|
|
22271
22331
|
/**
|
|
@@ -22307,10 +22367,10 @@ class QE {
|
|
|
22307
22367
|
const c = pd();
|
|
22308
22368
|
c.serverResponse = d.getErrorText(), this.errorCallback_ ? a(this.errorCallback_(d, c)) : a(c);
|
|
22309
22369
|
} else if (r.canceled) {
|
|
22310
|
-
const c = this.appDelete_ ? Nf() :
|
|
22370
|
+
const c = this.appDelete_ ? Nf() : BE();
|
|
22311
22371
|
a(c);
|
|
22312
22372
|
} else {
|
|
22313
|
-
const c =
|
|
22373
|
+
const c = ME();
|
|
22314
22374
|
a(c);
|
|
22315
22375
|
}
|
|
22316
22376
|
};
|
|
@@ -22800,8 +22860,8 @@ Content-Type: ` + g.contentType + `\r
|
|
|
22800
22860
|
--` + c + "--", R = bt.getBlob(F, i, D);
|
|
22801
22861
|
if (R === null)
|
|
22802
22862
|
throw jE();
|
|
22803
|
-
const
|
|
22804
|
-
return W.urlParams =
|
|
22863
|
+
const M = { name: g.fullPath }, B = HE(o, e.host, e._protocol), S = "POST", Z = e.maxUploadRetryTime, W = new yI(B, S, vI(e, t), Z);
|
|
22864
|
+
return W.urlParams = M, W.headers = a, W.body = R.uploadData(), W.errorHandler = FI(n), W;
|
|
22805
22865
|
}
|
|
22806
22866
|
class CI {
|
|
22807
22867
|
constructor() {
|
|
@@ -22982,7 +23042,7 @@ function RI(e, n) {
|
|
|
22982
23042
|
function SI(e) {
|
|
22983
23043
|
return /^[A-Za-z]+:\/\//.test(e);
|
|
22984
23044
|
}
|
|
22985
|
-
function
|
|
23045
|
+
function MI(e, n) {
|
|
22986
23046
|
return new Kt(e, n);
|
|
22987
23047
|
}
|
|
22988
23048
|
function Gf(e, n) {
|
|
@@ -22995,10 +23055,10 @@ function Gf(e, n) {
|
|
|
22995
23055
|
} else
|
|
22996
23056
|
return n !== void 0 ? RI(e, n) : e;
|
|
22997
23057
|
}
|
|
22998
|
-
function
|
|
23058
|
+
function BI(e, n) {
|
|
22999
23059
|
if (n && SI(n)) {
|
|
23000
23060
|
if (e instanceof bd)
|
|
23001
|
-
return
|
|
23061
|
+
return MI(e, n);
|
|
23002
23062
|
throw hs("To use ref(service, url), the first argument must be a Storage instance.");
|
|
23003
23063
|
} else
|
|
23004
23064
|
return Gf(e, n);
|
|
@@ -23007,14 +23067,14 @@ function yg(e, n) {
|
|
|
23007
23067
|
const t = n == null ? void 0 : n[wf];
|
|
23008
23068
|
return t == null ? null : ze.makeFromBucketSpec(t, e);
|
|
23009
23069
|
}
|
|
23010
|
-
function
|
|
23070
|
+
function OI(e, n, t, i = {}) {
|
|
23011
23071
|
e.host = `${n}:${t}`, e._protocol = "http";
|
|
23012
23072
|
const { mockUserToken: r } = i;
|
|
23013
23073
|
r && (e._overrideAuthToken = typeof r == "string" ? r : ib(r, e.app.options.projectId));
|
|
23014
23074
|
}
|
|
23015
23075
|
class bd {
|
|
23016
23076
|
constructor(n, t, i, r, o) {
|
|
23017
|
-
this.app = n, this._authProvider = t, this._appCheckProvider = i, this._url = r, this._firebaseVersion = o, this._bucket = null, this._host =
|
|
23077
|
+
this.app = n, this._authProvider = t, this._appCheckProvider = i, this._url = r, this._firebaseVersion = o, this._bucket = null, this._host = Of, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = CE, this._maxUploadRetryTime = DE, this._requests = /* @__PURE__ */ new Set(), r != null ? this._bucket = ze.makeFromBucketSpec(r, this._host) : this._bucket = yg(this._host, this.app.options);
|
|
23018
23078
|
}
|
|
23019
23079
|
/**
|
|
23020
23080
|
* The host string for this service, in the form of `host` or
|
|
@@ -23129,7 +23189,7 @@ function GC(e, n, t) {
|
|
|
23129
23189
|
return e = Le(e), TI(e, n, t);
|
|
23130
23190
|
}
|
|
23131
23191
|
function LC(e, n) {
|
|
23132
|
-
return e = Le(e),
|
|
23192
|
+
return e = Le(e), BI(e, n);
|
|
23133
23193
|
}
|
|
23134
23194
|
function wI(e = dd(), n) {
|
|
23135
23195
|
e = Le(e);
|
|
@@ -23139,7 +23199,7 @@ function wI(e = dd(), n) {
|
|
|
23139
23199
|
return r && NI(i, ...r), i;
|
|
23140
23200
|
}
|
|
23141
23201
|
function NI(e, n, t, i = {}) {
|
|
23142
|
-
|
|
23202
|
+
OI(e, n, t, i);
|
|
23143
23203
|
}
|
|
23144
23204
|
function jI(e, { instanceIdentifier: n }) {
|
|
23145
23205
|
const t = e.getProvider("app").getImmediate(), i = e.getProvider("auth-internal"), r = e.getProvider("app-check-internal");
|
|
@@ -24326,7 +24386,7 @@ function Cz() {
|
|
|
24326
24386
|
function F(f) {
|
|
24327
24387
|
return function(E, C) {
|
|
24328
24388
|
if (!d(C) || !C.length) return f(E, C);
|
|
24329
|
-
for (var z = 0,
|
|
24389
|
+
for (var z = 0, O = C.length; z < O; z++)
|
|
24330
24390
|
if (f(E, v(C, z))) return !0;
|
|
24331
24391
|
return !1;
|
|
24332
24392
|
};
|
|
@@ -24334,7 +24394,7 @@ function Cz() {
|
|
|
24334
24394
|
function D(f) {
|
|
24335
24395
|
return function(E, C) {
|
|
24336
24396
|
if (!d(C) || !C.length) return f(E, C);
|
|
24337
|
-
for (var z = 0,
|
|
24397
|
+
for (var z = 0, O = C.length; z < O; z++)
|
|
24338
24398
|
if (!f(E, v(C, z))) return !1;
|
|
24339
24399
|
return !0;
|
|
24340
24400
|
};
|
|
@@ -24342,7 +24402,7 @@ function Cz() {
|
|
|
24342
24402
|
function R(f, E, C, z) {
|
|
24343
24403
|
return f.validate(f.options, E, C, z);
|
|
24344
24404
|
}
|
|
24345
|
-
var
|
|
24405
|
+
var M = {
|
|
24346
24406
|
$eq: F(function(f, E) {
|
|
24347
24407
|
return f(E);
|
|
24348
24408
|
}),
|
|
@@ -24377,22 +24437,22 @@ function Cz() {
|
|
|
24377
24437
|
return f(E);
|
|
24378
24438
|
},
|
|
24379
24439
|
$all: function(f, E, C, z) {
|
|
24380
|
-
return
|
|
24440
|
+
return M.$and(f, E, C, z);
|
|
24381
24441
|
},
|
|
24382
24442
|
$size: function(f, E) {
|
|
24383
24443
|
return !!E && f === E.length;
|
|
24384
24444
|
},
|
|
24385
24445
|
$or: function(f, E, C, z) {
|
|
24386
|
-
for (var
|
|
24387
|
-
if (R(v(f,
|
|
24446
|
+
for (var O = 0, N = f.length; O < N; O++)
|
|
24447
|
+
if (R(v(f, O), E, C, z)) return !0;
|
|
24388
24448
|
return !1;
|
|
24389
24449
|
},
|
|
24390
24450
|
$nor: function(f, E, C, z) {
|
|
24391
|
-
return !
|
|
24451
|
+
return !M.$or(f, E, C, z);
|
|
24392
24452
|
},
|
|
24393
24453
|
$and: function(f, E, C, z) {
|
|
24394
|
-
for (var
|
|
24395
|
-
if (!R(v(f,
|
|
24454
|
+
for (var O = 0, N = f.length; O < N; O++)
|
|
24455
|
+
if (!R(v(f, O), E, C, z)) return !1;
|
|
24396
24456
|
return !0;
|
|
24397
24457
|
},
|
|
24398
24458
|
$regex: F(function(f, E) {
|
|
@@ -24402,18 +24462,18 @@ function Cz() {
|
|
|
24402
24462
|
return f.call(E, E, C, z);
|
|
24403
24463
|
},
|
|
24404
24464
|
$elemMatch: function(f, E, C, z) {
|
|
24405
|
-
return d(E) ? !!~function(
|
|
24406
|
-
for (var q = 0; q <
|
|
24407
|
-
if (v(
|
|
24465
|
+
return d(E) ? !!~function(O, N) {
|
|
24466
|
+
for (var q = 0; q < O.length; q++)
|
|
24467
|
+
if (v(O, q), R(N, v(O, q))) return q;
|
|
24408
24468
|
return -1;
|
|
24409
24469
|
}(E, f) : R(f, E, C, z);
|
|
24410
24470
|
},
|
|
24411
24471
|
$exists: function(f, E, C, z) {
|
|
24412
24472
|
return z.hasOwnProperty(C) === f;
|
|
24413
24473
|
}
|
|
24414
|
-
},
|
|
24474
|
+
}, B = {
|
|
24415
24475
|
$eq: function(f, E, C) {
|
|
24416
|
-
var z = C.comparable,
|
|
24476
|
+
var z = C.comparable, O = C.compare;
|
|
24417
24477
|
return f instanceof RegExp ? F(function(N) {
|
|
24418
24478
|
return typeof N == "string" && f.test(N);
|
|
24419
24479
|
}) : f instanceof Function ? F(f) : d(f) && !f.length ? F(function(N) {
|
|
@@ -24422,42 +24482,42 @@ function Cz() {
|
|
|
24422
24482
|
f === null ? function(N) {
|
|
24423
24483
|
return N == null;
|
|
24424
24484
|
} : function(N) {
|
|
24425
|
-
return
|
|
24485
|
+
return O(z(N), z(f)) === 0;
|
|
24426
24486
|
}
|
|
24427
24487
|
);
|
|
24428
24488
|
},
|
|
24429
24489
|
$gt: function(f, E, C) {
|
|
24430
|
-
var z = C.comparable,
|
|
24490
|
+
var z = C.comparable, O = C.compare;
|
|
24431
24491
|
return function(N) {
|
|
24432
|
-
return
|
|
24492
|
+
return O(z(N), z(f)) > 0;
|
|
24433
24493
|
};
|
|
24434
24494
|
},
|
|
24435
24495
|
$gte: function(f, E, C) {
|
|
24436
|
-
var z = C.comparable,
|
|
24496
|
+
var z = C.comparable, O = C.compare;
|
|
24437
24497
|
return function(N) {
|
|
24438
|
-
return
|
|
24498
|
+
return O(z(N), z(f)) >= 0;
|
|
24439
24499
|
};
|
|
24440
24500
|
},
|
|
24441
24501
|
$lt: function(f, E, C) {
|
|
24442
|
-
var z = C.comparable,
|
|
24502
|
+
var z = C.comparable, O = C.compare;
|
|
24443
24503
|
return function(N) {
|
|
24444
|
-
return
|
|
24504
|
+
return O(z(N), z(f)) < 0;
|
|
24445
24505
|
};
|
|
24446
24506
|
},
|
|
24447
24507
|
$lte: function(f, E, C) {
|
|
24448
|
-
var z = C.comparable,
|
|
24508
|
+
var z = C.comparable, O = C.compare;
|
|
24449
24509
|
return function(N) {
|
|
24450
|
-
return
|
|
24510
|
+
return O(z(N), z(f)) <= 0;
|
|
24451
24511
|
};
|
|
24452
24512
|
},
|
|
24453
24513
|
$in: function(f, E, C) {
|
|
24454
24514
|
var z = C.comparable;
|
|
24455
|
-
return function(
|
|
24456
|
-
if (!(
|
|
24457
|
-
var N = z(
|
|
24458
|
-
if (N ===
|
|
24515
|
+
return function(O) {
|
|
24516
|
+
if (!(O instanceof Array)) {
|
|
24517
|
+
var N = z(O);
|
|
24518
|
+
if (N === O && o(O) === "object") {
|
|
24459
24519
|
for (G = f.length; G--; )
|
|
24460
|
-
if (String(f[G]) === String(
|
|
24520
|
+
if (String(f[G]) === String(O) && String(O) !== "[object Object]")
|
|
24461
24521
|
return !0;
|
|
24462
24522
|
}
|
|
24463
24523
|
if (N === void 0) {
|
|
@@ -24470,15 +24530,15 @@ function Cz() {
|
|
|
24470
24530
|
}
|
|
24471
24531
|
return !!~f.indexOf(N);
|
|
24472
24532
|
}
|
|
24473
|
-
for (var G =
|
|
24474
|
-
if (~f.indexOf(z(v(
|
|
24533
|
+
for (var G = O.length; G--; )
|
|
24534
|
+
if (~f.indexOf(z(v(O, G)))) return !0;
|
|
24475
24535
|
return !1;
|
|
24476
24536
|
};
|
|
24477
24537
|
},
|
|
24478
24538
|
$nin: function(f, E, C) {
|
|
24479
|
-
var z =
|
|
24480
|
-
return function(
|
|
24481
|
-
return !z(
|
|
24539
|
+
var z = B.$in(f, E, C);
|
|
24540
|
+
return function(O, N, q, G) {
|
|
24541
|
+
return !z(O, N, q, G);
|
|
24482
24542
|
};
|
|
24483
24543
|
},
|
|
24484
24544
|
$mod: function(f) {
|
|
@@ -24487,16 +24547,16 @@ function Cz() {
|
|
|
24487
24547
|
};
|
|
24488
24548
|
},
|
|
24489
24549
|
$ne: function(f, E, C) {
|
|
24490
|
-
var z =
|
|
24491
|
-
return D(function(
|
|
24492
|
-
return !z(
|
|
24550
|
+
var z = B.$eq(f, E, C);
|
|
24551
|
+
return D(function(O, N, q, G) {
|
|
24552
|
+
return !z(O, N, q, G);
|
|
24493
24553
|
});
|
|
24494
24554
|
},
|
|
24495
24555
|
$and: function(f, E, C) {
|
|
24496
24556
|
return f.map(H(C));
|
|
24497
24557
|
},
|
|
24498
24558
|
$all: function(f, E, C) {
|
|
24499
|
-
return
|
|
24559
|
+
return B.$and(f, E, C);
|
|
24500
24560
|
},
|
|
24501
24561
|
$or: function(f, E, C) {
|
|
24502
24562
|
return f.map(H(C));
|
|
@@ -24506,8 +24566,8 @@ function Cz() {
|
|
|
24506
24566
|
},
|
|
24507
24567
|
$not: function(f, E, C) {
|
|
24508
24568
|
var z = H(C)(f);
|
|
24509
|
-
return function(
|
|
24510
|
-
return !R(z,
|
|
24569
|
+
return function(O, N, q) {
|
|
24570
|
+
return !R(z, O, N, q);
|
|
24511
24571
|
};
|
|
24512
24572
|
},
|
|
24513
24573
|
$type: function(f) {
|
|
@@ -24535,7 +24595,7 @@ function Cz() {
|
|
|
24535
24595
|
return { options: f, validate: E };
|
|
24536
24596
|
}
|
|
24537
24597
|
function Z(f, E) {
|
|
24538
|
-
var C = f.keyPath, z = f.child,
|
|
24598
|
+
var C = f.keyPath, z = f.child, O = f.query, N = [];
|
|
24539
24599
|
if (function Ne(Fe, je, ct, xt, mt) {
|
|
24540
24600
|
if (ct === je.length || Fe == null)
|
|
24541
24601
|
return void mt.push([Fe, je[ct - 1], xt]);
|
|
@@ -24547,7 +24607,7 @@ function Cz() {
|
|
|
24547
24607
|
var q = N[0];
|
|
24548
24608
|
return R(z, q[0], q[1], q[2]);
|
|
24549
24609
|
}
|
|
24550
|
-
for (var G =
|
|
24610
|
+
for (var G = O && O.$ne !== void 0, K = G, se = 0; se < N.length; se++) {
|
|
24551
24611
|
var ye = N[se], Ce = R(z, ye[0], ye[1], ye[2]);
|
|
24552
24612
|
G ? K &= Ce : K |= Ce;
|
|
24553
24613
|
}
|
|
@@ -24560,14 +24620,14 @@ function Cz() {
|
|
|
24560
24620
|
var E = f.comparable, C = f.expressions, z = function(q) {
|
|
24561
24621
|
var G;
|
|
24562
24622
|
return (!q || !(G = q) || G.constructor !== Object && G.constructor !== Array && G.constructor.toString() !== "function Object() { [native code] }" && G.constructor.toString() !== "function Array() { [native code] }" || G.toJSON) && (q = { $eq: q }), q;
|
|
24563
|
-
},
|
|
24623
|
+
}, O = function(q) {
|
|
24564
24624
|
q = E(q);
|
|
24565
24625
|
var G = [];
|
|
24566
24626
|
for (var K in q) {
|
|
24567
24627
|
var se = q[K];
|
|
24568
24628
|
if (K !== "$options") {
|
|
24569
|
-
var ye =
|
|
24570
|
-
if (ye)
|
|
24629
|
+
var ye = M[K] || f && C && C[K];
|
|
24630
|
+
if (ye) B[K] && (se = B[K](se, q, f)), G.push(S(E(se), ye));
|
|
24571
24631
|
else {
|
|
24572
24632
|
if (K.charCodeAt(0) === 36)
|
|
24573
24633
|
throw new Error("Unknown operation " + K);
|
|
@@ -24576,16 +24636,16 @@ function Cz() {
|
|
|
24576
24636
|
}
|
|
24577
24637
|
}
|
|
24578
24638
|
}
|
|
24579
|
-
return G.length === 1 ? G[0] : S(G,
|
|
24639
|
+
return G.length === 1 ? G[0] : S(G, M.$and);
|
|
24580
24640
|
}, N = function(q) {
|
|
24581
24641
|
return q = z(q), function G(K, se) {
|
|
24582
24642
|
if (!c(K)) return se;
|
|
24583
24643
|
for (var ye in K) se.push(ye), G(K[ye], se);
|
|
24584
24644
|
return se;
|
|
24585
|
-
}(q, []).join(",").search(/[$.]/) === -1 ? S(q, V) :
|
|
24645
|
+
}(q, []).join(",").search(/[$.]/) === -1 ? S(q, V) : O(q);
|
|
24586
24646
|
};
|
|
24587
24647
|
return function(q) {
|
|
24588
|
-
return
|
|
24648
|
+
return O(z(q));
|
|
24589
24649
|
};
|
|
24590
24650
|
}
|
|
24591
24651
|
function V(f, E) {
|
|
@@ -24598,7 +24658,7 @@ function Cz() {
|
|
|
24598
24658
|
}
|
|
24599
24659
|
if (d(f)) {
|
|
24600
24660
|
if (f.length !== E.length) return !1;
|
|
24601
|
-
for (var z = 0,
|
|
24661
|
+
for (var z = 0, O = f.length; z < O; z++)
|
|
24602
24662
|
if (!V(f[z], E[z])) return !1;
|
|
24603
24663
|
return !0;
|
|
24604
24664
|
}
|
|
@@ -24608,15 +24668,15 @@ function Cz() {
|
|
|
24608
24668
|
var C = H(E)(f);
|
|
24609
24669
|
return E && E.select && (C = {
|
|
24610
24670
|
options: C,
|
|
24611
|
-
validate: function(z,
|
|
24612
|
-
return R(z,
|
|
24671
|
+
validate: function(z, O, N, q) {
|
|
24672
|
+
return R(z, O && E.select(O), N, q);
|
|
24613
24673
|
}
|
|
24614
24674
|
}), C;
|
|
24615
24675
|
}
|
|
24616
24676
|
function ae(f, E) {
|
|
24617
24677
|
var C = x(f, E = Object.assign({ compare: ge, comparable: ne }, E));
|
|
24618
|
-
return function(z,
|
|
24619
|
-
return R(C, z,
|
|
24678
|
+
return function(z, O, N) {
|
|
24679
|
+
return R(C, z, O, N);
|
|
24620
24680
|
};
|
|
24621
24681
|
}
|
|
24622
24682
|
function ge(f, E) {
|
|
@@ -24658,7 +24718,7 @@ function vr(e, n) {
|
|
|
24658
24718
|
return i.__proto__ = r, i;
|
|
24659
24719
|
}, vr(e, n);
|
|
24660
24720
|
}
|
|
24661
|
-
function
|
|
24721
|
+
function Mz() {
|
|
24662
24722
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
24663
24723
|
if (typeof Proxy == "function") return !0;
|
|
24664
24724
|
try {
|
|
@@ -24669,20 +24729,20 @@ function Bz() {
|
|
|
24669
24729
|
}
|
|
24670
24730
|
}
|
|
24671
24731
|
function cr(e, n, t) {
|
|
24672
|
-
return
|
|
24732
|
+
return Mz() ? cr = Reflect.construct : cr = function(r, o, a) {
|
|
24673
24733
|
var d = [null];
|
|
24674
24734
|
d.push.apply(d, o);
|
|
24675
24735
|
var c = Function.bind.apply(r, d), g = new c();
|
|
24676
24736
|
return a && vr(g, a.prototype), g;
|
|
24677
24737
|
}, cr.apply(null, arguments);
|
|
24678
24738
|
}
|
|
24679
|
-
function
|
|
24739
|
+
function Bz(e) {
|
|
24680
24740
|
return Function.toString.call(e).indexOf("[native code]") !== -1;
|
|
24681
24741
|
}
|
|
24682
24742
|
function As(e) {
|
|
24683
24743
|
var n = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
24684
24744
|
return As = function(i) {
|
|
24685
|
-
if (i === null || !
|
|
24745
|
+
if (i === null || !Bz(i)) return i;
|
|
24686
24746
|
if (typeof i != "function")
|
|
24687
24747
|
throw new TypeError("Super expression must either be null or a function");
|
|
24688
24748
|
if (typeof n < "u") {
|
|
@@ -24709,7 +24769,7 @@ function Ig(e) {
|
|
|
24709
24769
|
}
|
|
24710
24770
|
var AA = function(n) {
|
|
24711
24771
|
return 'Cannot execute "' + n.action + '" on "' + n.subjectName + '"';
|
|
24712
|
-
}, ar = AA,
|
|
24772
|
+
}, ar = AA, Oz = /* @__PURE__ */ function(e) {
|
|
24713
24773
|
Sz(n, e), n.setDefaultMessage = function(r) {
|
|
24714
24774
|
r === null ? ar = AA : ar = typeof r == "string" ? function() {
|
|
24715
24775
|
return r;
|
|
@@ -24831,11 +24891,11 @@ var Hz = /* @__PURE__ */ function() {
|
|
|
24831
24891
|
var g = new o(i[c]), v = this.expandActions(g.actions), F = ps(g.subject), D = i.length - c - 1;
|
|
24832
24892
|
a = !!(a && g.inverted), !d && g.fields && (d = !0);
|
|
24833
24893
|
for (var R = 0; R < F.length; R++) {
|
|
24834
|
-
var
|
|
24835
|
-
r[
|
|
24836
|
-
for (var
|
|
24837
|
-
var S = v[
|
|
24838
|
-
r[
|
|
24894
|
+
var M = F[R];
|
|
24895
|
+
r[M] = r[M] || /* @__PURE__ */ Object.create(null);
|
|
24896
|
+
for (var B = 0; B < v.length; B++) {
|
|
24897
|
+
var S = v[B];
|
|
24898
|
+
r[M][S] = r[M][S] || /* @__PURE__ */ Object.create(null), r[M][S][D] = g;
|
|
24839
24899
|
}
|
|
24840
24900
|
}
|
|
24841
24901
|
}
|
|
@@ -24881,7 +24941,7 @@ var Hz = /* @__PURE__ */ function() {
|
|
|
24881
24941
|
console.warn(`
|
|
24882
24942
|
Ability.throwUnlessCan is deprecated and will be removed in 4.x version.
|
|
24883
24943
|
Please use "ForbiddenError.from(ability).throwUnlessCan(...)" instead.
|
|
24884
|
-
`.trim()), (i =
|
|
24944
|
+
`.trim()), (i = Oz.from(this)).throwUnlessCan.apply(i, arguments);
|
|
24885
24945
|
}, n.on = function(i, r) {
|
|
24886
24946
|
var o = this[Ie].events, a = !0;
|
|
24887
24947
|
return o[i] || (o[i] = []), o[i].push(r), function() {
|
|
@@ -24957,14 +25017,14 @@ function Kz(e, n, t) {
|
|
|
24957
25017
|
o.value = !0;
|
|
24958
25018
|
});
|
|
24959
25019
|
try {
|
|
24960
|
-
const
|
|
25020
|
+
const M = await e((B) => {
|
|
24961
25021
|
F(() => {
|
|
24962
|
-
o && (o.value = !1), R ||
|
|
25022
|
+
o && (o.value = !1), R || B();
|
|
24963
25023
|
});
|
|
24964
25024
|
});
|
|
24965
|
-
D === v && (g.value =
|
|
24966
|
-
} catch (
|
|
24967
|
-
d(
|
|
25025
|
+
D === v && (g.value = M);
|
|
25026
|
+
} catch (M) {
|
|
25027
|
+
d(M);
|
|
24968
25028
|
} finally {
|
|
24969
25029
|
o && D === v && (o.value = !1), R = !0;
|
|
24970
25030
|
}
|
|
@@ -25150,14 +25210,14 @@ const yC = "/kiosk", bC = "/kiosk/device", vC = "/kiosk/order-setting", FC = "/o
|
|
|
25150
25210
|
// allow access via either subject (coverSubject = OR fallback).
|
|
25151
25211
|
path: Ve.KioskRoute,
|
|
25152
25212
|
name: "Kiosk",
|
|
25153
|
-
component: en(ke(() => import("./KioskView-
|
|
25213
|
+
component: en(ke(() => import("./KioskView-CdRnNSU0.js"))),
|
|
25154
25214
|
meta: tn([{ ...Pg, coverSubject: TC.subject }])
|
|
25155
25215
|
},
|
|
25156
25216
|
{
|
|
25157
25217
|
path: Ve.KioskDeviceRoute,
|
|
25158
25218
|
name: "Kiosk Device",
|
|
25159
25219
|
component: en(
|
|
25160
|
-
ke(() => import("./KioskDevicesView-
|
|
25220
|
+
ke(() => import("./KioskDevicesView-DsXy1LWl.js"))
|
|
25161
25221
|
),
|
|
25162
25222
|
meta: tn([Pg])
|
|
25163
25223
|
},
|
|
@@ -25167,7 +25227,7 @@ const yC = "/kiosk", bC = "/kiosk/device", vC = "/kiosk/order-setting", FC = "/o
|
|
|
25167
25227
|
path: Ve.KioskOrderSettingRoute,
|
|
25168
25228
|
name: "Kiosk Order Setting",
|
|
25169
25229
|
component: en(
|
|
25170
|
-
ke(() => import("./KioskSettingView-
|
|
25230
|
+
ke(() => import("./KioskSettingView-DqUpOq_Y.js"))
|
|
25171
25231
|
),
|
|
25172
25232
|
meta: tn([is])
|
|
25173
25233
|
},
|
|
@@ -25175,7 +25235,7 @@ const yC = "/kiosk", bC = "/kiosk/device", vC = "/kiosk/order-setting", FC = "/o
|
|
|
25175
25235
|
path: Ve.OrderSettingView,
|
|
25176
25236
|
name: "Order Setting View",
|
|
25177
25237
|
component: en(
|
|
25178
|
-
ke(() => import("./OrderSettingsView-
|
|
25238
|
+
ke(() => import("./OrderSettingsView-CjXph68w.js"))
|
|
25179
25239
|
),
|
|
25180
25240
|
meta: tn([is])
|
|
25181
25241
|
},
|
|
@@ -25183,7 +25243,7 @@ const yC = "/kiosk", bC = "/kiosk/device", vC = "/kiosk/order-setting", FC = "/o
|
|
|
25183
25243
|
path: Ve.DisplaySystemView,
|
|
25184
25244
|
name: "Display System View",
|
|
25185
25245
|
component: en(
|
|
25186
|
-
ke(() => import("./DisplaySystemView-
|
|
25246
|
+
ke(() => import("./DisplaySystemView-Brrexhuz.js"))
|
|
25187
25247
|
),
|
|
25188
25248
|
meta: tn([{ ...is, coverSubject: Pe.Subject.Business.miniProgram_brandkit }])
|
|
25189
25249
|
},
|
|
@@ -25194,7 +25254,7 @@ const yC = "/kiosk", bC = "/kiosk/device", vC = "/kiosk/order-setting", FC = "/o
|
|
|
25194
25254
|
path: Ve.FoodCourtOrderSettingView,
|
|
25195
25255
|
name: "Food Court Order Setting View",
|
|
25196
25256
|
component: ke(
|
|
25197
|
-
() => import("./FoodCourtOrderSettingsView-
|
|
25257
|
+
() => import("./FoodCourtOrderSettingsView-CNZs4q-x.js")
|
|
25198
25258
|
)
|
|
25199
25259
|
},
|
|
25200
25260
|
{
|
|
@@ -25202,13 +25262,13 @@ const yC = "/kiosk", bC = "/kiosk/device", vC = "/kiosk/order-setting", FC = "/o
|
|
|
25202
25262
|
// members. Owner-only on the backend, as Order Setting above.
|
|
25203
25263
|
path: Ve.FoodCourtStallsView,
|
|
25204
25264
|
name: "Food Court Stalls View",
|
|
25205
|
-
component: ke(() => import("./FoodCourtStallsView-
|
|
25265
|
+
component: ke(() => import("./FoodCourtStallsView-B3egjtKo.js"))
|
|
25206
25266
|
},
|
|
25207
25267
|
{
|
|
25208
25268
|
// Food Court Operations › Food Court: the court's Active / Inactive status (KDI-4915).
|
|
25209
25269
|
path: Ve.FoodCourtStatusView,
|
|
25210
25270
|
name: "Food Court Status View",
|
|
25211
|
-
component: ke(() => import("./FoodCourtStatusView-
|
|
25271
|
+
component: ke(() => import("./FoodCourtStatusView-YdiL94wn.js"))
|
|
25212
25272
|
},
|
|
25213
25273
|
{
|
|
25214
25274
|
// Food Court Operations › Orders (KDI-4941): the court's orders. Owner-only on
|
|
@@ -25217,7 +25277,7 @@ const yC = "/kiosk", bC = "/kiosk/device", vC = "/kiosk/order-setting", FC = "/o
|
|
|
25217
25277
|
// and a link to one order opens the list with it.
|
|
25218
25278
|
path: Ve.FoodCourtOrdersView,
|
|
25219
25279
|
name: "Food Court Orders View",
|
|
25220
|
-
component: ke(() => import("./FoodCourtOrdersView-
|
|
25280
|
+
component: ke(() => import("./FoodCourtOrdersView-DMvZ_Z_C.js")),
|
|
25221
25281
|
children: [
|
|
25222
25282
|
{
|
|
25223
25283
|
path: ":orderId",
|
|
@@ -25233,7 +25293,7 @@ const yC = "/kiosk", bC = "/kiosk/device", vC = "/kiosk/order-setting", FC = "/o
|
|
|
25233
25293
|
path: Ve.FoodCourtInvitationsView,
|
|
25234
25294
|
name: "Food Court Invitations View",
|
|
25235
25295
|
component: en(
|
|
25236
|
-
ke(() => import("./FoodCourtInvitationsView-
|
|
25296
|
+
ke(() => import("./FoodCourtInvitationsView-wmZ1J7dm.js"))
|
|
25237
25297
|
),
|
|
25238
25298
|
meta: tn([RC])
|
|
25239
25299
|
}
|
|
@@ -25256,7 +25316,7 @@ export {
|
|
|
25256
25316
|
GC as f,
|
|
25257
25317
|
vp as g,
|
|
25258
25318
|
qC as h,
|
|
25259
|
-
|
|
25319
|
+
OC as i,
|
|
25260
25320
|
Yy as j,
|
|
25261
25321
|
h as k,
|
|
25262
25322
|
qh as l,
|