@feedmepos/mf-order-setting 0.0.93 → 0.0.94
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-BMRCs7o8.js → DisplaySystemView-Doh1JUoe.js} +3 -3
- package/dist/{KioskDevicesView-BCZOqou3.js → KioskDevicesView-DvUq9eFa.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-4wFO9co5.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Ce-CHsOK.js} +3 -3
- package/dist/{KioskSettingView-DIvpRwFV.js → KioskSettingView-Ba1sLolg.js} +3 -3
- package/dist/{KioskView-w4txC9m2.js → KioskView-CeKSWYbI.js} +5 -5
- package/dist/{OrderSettingsView-BPuBA2QC.js → OrderSettingsView-CdxkPS_V.js} +17715 -17601
- package/dist/{app-xZAaURng.js → app-BQ0W0_dt.js} +289 -241
- package/dist/app.js +1 -1
- package/dist/{featureFlag-Cbj0uMaM.js → featureFlag-C4gAe_F4.js} +1 -1
- package/dist/frontend/mf-order/src/api/native-app/index.d.ts +2 -0
- package/dist/frontend/mf-order/src/app.d.ts +48 -0
- package/dist/frontend/mf-order/src/main.d.ts +48 -0
- package/dist/frontend/mf-order/src/views/order-settings/components/push-availability.d.ts +13 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BAFwfvqv.js → index-BFJ4YEfL.js} +2 -2
- package/dist/{index-BxQKdXyN.js → index-CGiJXVU3.js} +1 -1
- package/dist/{index-Cipbdi6i.js → index-DSB009Br.js} +1 -1
- package/dist/{order.dto-yLICIGDQ.js → order.dto-CUp8zhQC.js} +18 -18
- package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +74 -74
- package/package.json +1 -1
- package/src/api/native-app/index.ts +26 -0
- package/src/api/native-app/native-app.spec.ts +42 -0
- package/src/locales/en-US.json +12 -0
- package/src/locales/ja-JP.json +12 -0
- package/src/locales/th-TH.json +12 -0
- package/src/locales/zh-CN.json +12 -0
- package/src/views/order-settings/components/NotifyChannelEditor.spec.ts +184 -0
- package/src/views/order-settings/components/NotifyChannelEditor.vue +84 -5
- package/src/views/order-settings/components/push-availability.spec.ts +59 -0
- package/src/views/order-settings/components/push-availability.ts +78 -0
- package/src/views/order-settings/queue/QueueSetting.vue +7 -0
- package/src/views/order-settings/sms/SmsSetting.vue +11 -0
|
@@ -505,6 +505,18 @@ const op = {
|
|
|
505
505
|
hint: "Tried in order. The next channel is used only if the one before it cannot reach the customer.",
|
|
506
506
|
add: "Add channel",
|
|
507
507
|
pushNote: "Push only reaches customers who have the app installed with notifications allowed. Otherwise the next channel is tried.",
|
|
508
|
+
pushInRoute: "{channel} ({status})",
|
|
509
|
+
pushAvailability: {
|
|
510
|
+
checking: "Checking availability",
|
|
511
|
+
requiresNativeApp: "Requires a native app",
|
|
512
|
+
unavailable: "Unable to check availability",
|
|
513
|
+
contactSales: "Contact sales",
|
|
514
|
+
dialogMessage: "Push notifications require a native app. Please contact your FeedMe sales representative to enable one.",
|
|
515
|
+
retry: "Retry",
|
|
516
|
+
removePush: "Remove Push",
|
|
517
|
+
removeBeforeSave: "Confirm native-app availability or remove Push before saving.",
|
|
518
|
+
close: "Close"
|
|
519
|
+
},
|
|
508
520
|
alongside: "{channel} is always sent, plus {route}",
|
|
509
521
|
everyone: "All customers: {route}",
|
|
510
522
|
member: "Signed-in customers: {route}",
|
|
@@ -1667,6 +1679,18 @@ const op = {
|
|
|
1667
1679
|
hint: "按顺序尝试。只有前一个渠道无法送达顾客时,才会使用下一个。",
|
|
1668
1680
|
add: "添加渠道",
|
|
1669
1681
|
pushNote: "推送通知只能送达已安装应用并允许通知的顾客,否则会尝试下一个渠道。",
|
|
1682
|
+
pushInRoute: "{channel}({status})",
|
|
1683
|
+
pushAvailability: {
|
|
1684
|
+
checking: "正在检查可用性",
|
|
1685
|
+
requiresNativeApp: "需要原生应用",
|
|
1686
|
+
unavailable: "无法检查可用性",
|
|
1687
|
+
contactSales: "联系销售",
|
|
1688
|
+
dialogMessage: "推送通知需要原生应用。请联系您的 FeedMe 销售代表以启用原生应用。",
|
|
1689
|
+
retry: "重试",
|
|
1690
|
+
removePush: "移除推送",
|
|
1691
|
+
removeBeforeSave: "请确认原生应用可用,或移除推送后再保存。",
|
|
1692
|
+
close: "关闭"
|
|
1693
|
+
},
|
|
1670
1694
|
alongside: "始终发送{channel},另外:{route}",
|
|
1671
1695
|
everyone: "所有顾客:{route}",
|
|
1672
1696
|
member: "已登录顾客:{route}",
|
|
@@ -2807,6 +2831,18 @@ const op = {
|
|
|
2807
2831
|
hint: "ลองตามลำดับ ช่องทางถัดไปจะใช้เมื่อช่องทางก่อนหน้าส่งถึงลูกค้าไม่ได้เท่านั้น",
|
|
2808
2832
|
add: "เพิ่มช่องทาง",
|
|
2809
2833
|
pushNote: "การแจ้งเตือนแบบพุชจะส่งถึงเฉพาะลูกค้าที่ติดตั้งแอปและอนุญาตการแจ้งเตือน มิฉะนั้นจะลองช่องทางถัดไป",
|
|
2834
|
+
pushInRoute: "{channel} ({status})",
|
|
2835
|
+
pushAvailability: {
|
|
2836
|
+
checking: "กำลังตรวจสอบความพร้อมใช้งาน",
|
|
2837
|
+
requiresNativeApp: "ต้องมีแอปเนทีฟ",
|
|
2838
|
+
unavailable: "ไม่สามารถตรวจสอบความพร้อมใช้งานได้",
|
|
2839
|
+
contactSales: "ติดต่อฝ่ายขาย",
|
|
2840
|
+
dialogMessage: "การแจ้งเตือนแบบพุชต้องมีแอปเนทีฟ โปรดติดต่อเจ้าหน้าที่ฝ่ายขาย FeedMe ของคุณเพื่อเปิดใช้งาน",
|
|
2841
|
+
retry: "ลองอีกครั้ง",
|
|
2842
|
+
removePush: "นำพุชออก",
|
|
2843
|
+
removeBeforeSave: "ยืนยันความพร้อมใช้งานของแอปเนทีฟหรือนำพุชออกก่อนบันทึก",
|
|
2844
|
+
close: "ปิด"
|
|
2845
|
+
},
|
|
2810
2846
|
alongside: "ส่ง{channel}เสมอ และ {route}",
|
|
2811
2847
|
everyone: "ลูกค้าทุกคน: {route}",
|
|
2812
2848
|
member: "ลูกค้าที่เข้าสู่ระบบ: {route}",
|
|
@@ -3690,6 +3726,18 @@ const op = {
|
|
|
3690
3726
|
hint: "上から順に試します。前のチャネルでお客様に届かない場合のみ、次のチャネルを使います。",
|
|
3691
3727
|
add: "チャネルを追加",
|
|
3692
3728
|
pushNote: "プッシュ通知は、アプリをインストールし通知を許可しているお客様にのみ届きます。届かない場合は次のチャネルを試します。",
|
|
3729
|
+
pushInRoute: "{channel}({status})",
|
|
3730
|
+
pushAvailability: {
|
|
3731
|
+
checking: "利用可否を確認中",
|
|
3732
|
+
requiresNativeApp: "ネイティブアプリが必要です",
|
|
3733
|
+
unavailable: "利用可否を確認できませんでした",
|
|
3734
|
+
contactSales: "営業担当に連絡",
|
|
3735
|
+
dialogMessage: "プッシュ通知にはネイティブアプリが必要です。有効にするには FeedMe の営業担当者にお問い合わせください。",
|
|
3736
|
+
retry: "再試行",
|
|
3737
|
+
removePush: "プッシュを削除",
|
|
3738
|
+
removeBeforeSave: "保存する前にネイティブアプリの利用可否を確認するか、プッシュを削除してください。",
|
|
3739
|
+
close: "閉じる"
|
|
3740
|
+
},
|
|
3693
3741
|
alongside: "{channel}は常に送信、加えて {route}",
|
|
3694
3742
|
everyone: "すべてのお客様:{route}",
|
|
3695
3743
|
member: "ログイン済みのお客様:{route}",
|
|
@@ -5674,7 +5722,7 @@ const op = {
|
|
|
5674
5722
|
}, gp = {
|
|
5675
5723
|
order: up,
|
|
5676
5724
|
menu: mp
|
|
5677
|
-
}, hp = "0.0.
|
|
5725
|
+
}, hp = "0.0.94", fp = "fmmf";
|
|
5678
5726
|
let Rd = !1;
|
|
5679
5727
|
function Ap() {
|
|
5680
5728
|
Rd || (Rd = !0, console.log(
|
|
@@ -5831,20 +5879,20 @@ function Fs() {
|
|
|
5831
5879
|
const F = v || function(B) {
|
|
5832
5880
|
return B.message;
|
|
5833
5881
|
}, D = { _errors: [] }, R = (B) => {
|
|
5834
|
-
for (const
|
|
5835
|
-
if (
|
|
5836
|
-
|
|
5837
|
-
else if (
|
|
5838
|
-
R(
|
|
5839
|
-
else if (
|
|
5840
|
-
R(
|
|
5841
|
-
else if (
|
|
5842
|
-
D._errors.push(F(
|
|
5882
|
+
for (const M of B.issues)
|
|
5883
|
+
if (M.code === "invalid_union")
|
|
5884
|
+
M.unionErrors.map(R);
|
|
5885
|
+
else if (M.code === "invalid_return_type")
|
|
5886
|
+
R(M.returnTypeError);
|
|
5887
|
+
else if (M.code === "invalid_arguments")
|
|
5888
|
+
R(M.argumentsError);
|
|
5889
|
+
else if (M.path.length === 0)
|
|
5890
|
+
D._errors.push(F(M));
|
|
5843
5891
|
else {
|
|
5844
5892
|
let S = D, W = 0;
|
|
5845
|
-
for (; W <
|
|
5846
|
-
const Z =
|
|
5847
|
-
W ===
|
|
5893
|
+
for (; W < M.path.length; ) {
|
|
5894
|
+
const Z = M.path[W];
|
|
5895
|
+
W === M.path.length - 1 ? (S[Z] = S[Z] || { _errors: [] }, S[Z]._errors.push(F(M))) : S[Z] = S[Z] || { _errors: [] }, S = S[Z], W++;
|
|
5848
5896
|
}
|
|
5849
5897
|
}
|
|
5850
5898
|
};
|
|
@@ -5935,17 +5983,17 @@ function Fs() {
|
|
|
5935
5983
|
e.getErrorMap = u;
|
|
5936
5984
|
}(Jr)), Jr;
|
|
5937
5985
|
}
|
|
5938
|
-
var
|
|
5986
|
+
var Md;
|
|
5939
5987
|
function Es() {
|
|
5940
|
-
return
|
|
5988
|
+
return Md || (Md = 1, function(e) {
|
|
5941
5989
|
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;
|
|
5942
5990
|
const n = Fs(), t = (D) => {
|
|
5943
|
-
const { data: R, path: B, errorMaps:
|
|
5991
|
+
const { data: R, path: B, errorMaps: M, issueData: S } = D, W = [...B, ...S.path || []], Z = {
|
|
5944
5992
|
...S,
|
|
5945
5993
|
path: W
|
|
5946
5994
|
};
|
|
5947
5995
|
let H = "";
|
|
5948
|
-
const V =
|
|
5996
|
+
const V = M.filter((x) => !!x).slice().reverse();
|
|
5949
5997
|
for (const x of V)
|
|
5950
5998
|
H = x(Z, { data: R, defaultError: H }).message;
|
|
5951
5999
|
return {
|
|
@@ -5965,7 +6013,7 @@ function Es() {
|
|
|
5965
6013
|
D.schemaErrorMap,
|
|
5966
6014
|
n.getErrorMap(),
|
|
5967
6015
|
n.defaultErrorMap
|
|
5968
|
-
].filter((
|
|
6016
|
+
].filter((M) => !!M)
|
|
5969
6017
|
});
|
|
5970
6018
|
D.common.issues.push(B);
|
|
5971
6019
|
}
|
|
@@ -5981,32 +6029,32 @@ function Es() {
|
|
|
5981
6029
|
this.value !== "aborted" && (this.value = "aborted");
|
|
5982
6030
|
}
|
|
5983
6031
|
static mergeArray(R, B) {
|
|
5984
|
-
const
|
|
6032
|
+
const M = [];
|
|
5985
6033
|
for (const S of B) {
|
|
5986
6034
|
if (S.status === "aborted")
|
|
5987
6035
|
return e.INVALID;
|
|
5988
|
-
S.status === "dirty" && R.dirty(),
|
|
6036
|
+
S.status === "dirty" && R.dirty(), M.push(S.value);
|
|
5989
6037
|
}
|
|
5990
|
-
return { status: R.value, value:
|
|
6038
|
+
return { status: R.value, value: M };
|
|
5991
6039
|
}
|
|
5992
6040
|
static async mergeObjectAsync(R, B) {
|
|
5993
|
-
const
|
|
6041
|
+
const M = [];
|
|
5994
6042
|
for (const S of B)
|
|
5995
|
-
|
|
6043
|
+
M.push({
|
|
5996
6044
|
key: await S.key,
|
|
5997
6045
|
value: await S.value
|
|
5998
6046
|
});
|
|
5999
|
-
return r.mergeObjectSync(R,
|
|
6047
|
+
return r.mergeObjectSync(R, M);
|
|
6000
6048
|
}
|
|
6001
6049
|
static mergeObjectSync(R, B) {
|
|
6002
|
-
const
|
|
6050
|
+
const M = {};
|
|
6003
6051
|
for (const S of B) {
|
|
6004
6052
|
const { key: W, value: Z } = S;
|
|
6005
6053
|
if (W.status === "aborted" || Z.status === "aborted")
|
|
6006
6054
|
return e.INVALID;
|
|
6007
|
-
W.status === "dirty" && R.dirty(), Z.status === "dirty" && R.dirty(), (typeof Z.value < "u" || S.alwaysSet) && (
|
|
6055
|
+
W.status === "dirty" && R.dirty(), Z.status === "dirty" && R.dirty(), (typeof Z.value < "u" || S.alwaysSet) && (M[W.value] = Z.value);
|
|
6008
6056
|
}
|
|
6009
|
-
return { status: R.value, value:
|
|
6057
|
+
return { status: R.value, value: M };
|
|
6010
6058
|
}
|
|
6011
6059
|
}
|
|
6012
6060
|
e.ParseStatus = r, e.INVALID = Object.freeze({
|
|
@@ -6028,9 +6076,9 @@ function Es() {
|
|
|
6028
6076
|
e.jsonStringifyReplacer = F;
|
|
6029
6077
|
}(Kr)), Kr;
|
|
6030
6078
|
}
|
|
6031
|
-
var _r = {},
|
|
6079
|
+
var _r = {}, Od;
|
|
6032
6080
|
function yp() {
|
|
6033
|
-
return
|
|
6081
|
+
return Od || (Od = 1, Object.defineProperty(_r, "__esModule", { value: !0 })), _r;
|
|
6034
6082
|
}
|
|
6035
6083
|
var $r = {}, eo = {}, wd;
|
|
6036
6084
|
function bp() {
|
|
@@ -6190,7 +6238,7 @@ function vp() {
|
|
|
6190
6238
|
return Ge.create(this);
|
|
6191
6239
|
}
|
|
6192
6240
|
or(s) {
|
|
6193
|
-
return
|
|
6241
|
+
return O.create([this, s]);
|
|
6194
6242
|
}
|
|
6195
6243
|
and(s) {
|
|
6196
6244
|
return G.create(this, s);
|
|
@@ -6540,7 +6588,7 @@ function vp() {
|
|
|
6540
6588
|
typeName: L.ZodNumber,
|
|
6541
6589
|
...d(A)
|
|
6542
6590
|
});
|
|
6543
|
-
class
|
|
6591
|
+
class M extends u {
|
|
6544
6592
|
_parse(s) {
|
|
6545
6593
|
if (this._getType(s) !== i.ZodParsedType.bigint) {
|
|
6546
6594
|
const m = this._getOrReturnCtx(s);
|
|
@@ -6553,7 +6601,7 @@ function vp() {
|
|
|
6553
6601
|
return t.OK(s.data);
|
|
6554
6602
|
}
|
|
6555
6603
|
}
|
|
6556
|
-
e.ZodBigInt =
|
|
6604
|
+
e.ZodBigInt = M, M.create = (A) => new M({
|
|
6557
6605
|
typeName: L.ZodBigInt,
|
|
6558
6606
|
...d(A)
|
|
6559
6607
|
});
|
|
@@ -7021,7 +7069,7 @@ function vp() {
|
|
|
7021
7069
|
typeName: L.ZodObject,
|
|
7022
7070
|
...d(s)
|
|
7023
7071
|
});
|
|
7024
|
-
class
|
|
7072
|
+
class O extends u {
|
|
7025
7073
|
_parse(s) {
|
|
7026
7074
|
const { ctx: c } = this._processInputParams(s), m = this._def.options;
|
|
7027
7075
|
function y(b) {
|
|
@@ -7089,7 +7137,7 @@ function vp() {
|
|
|
7089
7137
|
return this._def.options;
|
|
7090
7138
|
}
|
|
7091
7139
|
}
|
|
7092
|
-
e.ZodUnion =
|
|
7140
|
+
e.ZodUnion = O, O.create = (A, s) => new O({
|
|
7093
7141
|
options: A,
|
|
7094
7142
|
typeName: L.ZodUnion,
|
|
7095
7143
|
...d(s)
|
|
@@ -7796,7 +7844,7 @@ function vp() {
|
|
|
7796
7844
|
e.number = zd;
|
|
7797
7845
|
const pA = er.create;
|
|
7798
7846
|
e.nan = pA;
|
|
7799
|
-
const yA =
|
|
7847
|
+
const yA = M.create;
|
|
7800
7848
|
e.bigint = yA;
|
|
7801
7849
|
const Cd = S.create;
|
|
7802
7850
|
e.boolean = Cd;
|
|
@@ -7820,16 +7868,16 @@ function vp() {
|
|
|
7820
7868
|
e.object = PA;
|
|
7821
7869
|
const TA = z.strictCreate;
|
|
7822
7870
|
e.strictObject = TA;
|
|
7823
|
-
const RA =
|
|
7871
|
+
const RA = O.create;
|
|
7824
7872
|
e.union = RA;
|
|
7825
7873
|
const SA = N.create;
|
|
7826
7874
|
e.discriminatedUnion = SA;
|
|
7827
7875
|
const BA = G.create;
|
|
7828
7876
|
e.intersection = BA;
|
|
7829
|
-
const
|
|
7830
|
-
e.tuple =
|
|
7831
|
-
const
|
|
7832
|
-
e.record =
|
|
7877
|
+
const MA = K.create;
|
|
7878
|
+
e.tuple = MA;
|
|
7879
|
+
const OA = se.create;
|
|
7880
|
+
e.record = OA;
|
|
7833
7881
|
const wA = ye.create;
|
|
7834
7882
|
e.map = wA;
|
|
7835
7883
|
const NA = Ce.create;
|
|
@@ -8736,7 +8784,7 @@ function zr() {
|
|
|
8736
8784
|
}), In;
|
|
8737
8785
|
}
|
|
8738
8786
|
var Pt = {}, yl;
|
|
8739
|
-
function
|
|
8787
|
+
function Mg() {
|
|
8740
8788
|
if (yl) return Pt;
|
|
8741
8789
|
yl = 1, Object.defineProperty(Pt, "__esModule", { value: !0 }), Pt.BillItemCreatedByType = Pt.F_BILL_ITEM_STATUS = void 0;
|
|
8742
8790
|
const e = h();
|
|
@@ -8788,7 +8836,7 @@ var vl;
|
|
|
8788
8836
|
function Cr() {
|
|
8789
8837
|
return vl || (vl = 1, function(e) {
|
|
8790
8838
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoArrayedBillItem = e.FdoBillItem = e.FdoBillItemPortionBreakdown = e.FdoBillItemPortion = e.FdoBillItemStatutoryCharge = e.FdoBillItemPrintChecklistRecord = e.FdoBillItemMove = e.FdoBillSubItemRef = e.FdoBillItemVariantSelected = e.FdoItemAdjustment = e.FdoSubItemAdjustmentAllocation = e.FdoPrintBy = e.FdoKitchenStation = e.FdoBillItemIs = e.FdoBillItemRef = e.FdoBillItemStatutoryChargeRef = e.FdoBillItemTaxRef = void 0;
|
|
8791
|
-
const n = h(), t = at(), i = oe(), r = X(), o = Is(), a = Er(), d = le(), u = Hi(), g = Ir(), v = Cs(), F = zr(), D =
|
|
8839
|
+
const n = h(), t = at(), i = oe(), r = X(), o = Is(), a = Er(), d = le(), u = Hi(), g = Ir(), v = Cs(), F = zr(), D = Mg(), R = on();
|
|
8792
8840
|
e.FdoBillItemTaxRef = n.z.object({
|
|
8793
8841
|
systemCode: n.z.string(),
|
|
8794
8842
|
taxCode: n.z.string(),
|
|
@@ -8966,7 +9014,7 @@ function Cr() {
|
|
|
8966
9014
|
}(ho)), ho;
|
|
8967
9015
|
}
|
|
8968
9016
|
var yo = {}, Tt = {}, Fl;
|
|
8969
|
-
function
|
|
9017
|
+
function Og() {
|
|
8970
9018
|
if (Fl) return Tt;
|
|
8971
9019
|
Fl = 1, Object.defineProperty(Tt, "__esModule", { value: !0 }), Tt.F_LED_DISPLAY_MODE = Tt.F_COUNTER_TYPE = void 0;
|
|
8972
9020
|
const e = h();
|
|
@@ -8983,7 +9031,7 @@ var El;
|
|
|
8983
9031
|
function Zi() {
|
|
8984
9032
|
return El || (El = 1, function(e) {
|
|
8985
9033
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoCounterRecord = e.FdoCounterRef = e.FdoCounter = e.FdoCounterNotificationSettings = e.FdoNotificationConfig = e.FdoCounterDisplaySettings = e.FdoKitchenDisplaySettings = e.FdoLedDisplaySettings = e.FdoCustomerDisplaySettings = void 0;
|
|
8986
|
-
const n = T(), t = h(), i = X(), r = le(), o =
|
|
9034
|
+
const n = T(), t = h(), i = X(), r = le(), o = Og();
|
|
8987
9035
|
e.FdoCustomerDisplaySettings = t.z.object({
|
|
8988
9036
|
active: t.z.boolean(),
|
|
8989
9037
|
images: t.z.array(t.z.string())
|
|
@@ -9398,7 +9446,7 @@ function wg() {
|
|
|
9398
9446
|
}(bo)), bo;
|
|
9399
9447
|
}
|
|
9400
9448
|
var Pl;
|
|
9401
|
-
function
|
|
9449
|
+
function Oe() {
|
|
9402
9450
|
return Pl || (Pl = 1, function(e) {
|
|
9403
9451
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoPaymentType = e.FdoTerminalPayment = e.FdoTerminalPaymentReconcileConfig = e.FdoOfflinePaymentMethod = e.FdoPayment = e.FdoPaymentOverride = e.FdoPaymentOverrideRoundToNearest = e.FdoChangePaymentActivity = e.FdoPaymentGatewayInfo = e.FdoPaymentRef = void 0;
|
|
9404
9452
|
const n = T(), t = h(), i = Cr(), r = Zi(), o = X(), a = le(), d = Ft(), u = wg();
|
|
@@ -9522,9 +9570,9 @@ function Ng() {
|
|
|
9522
9570
|
ignoreMinPrice: e.z.boolean().nullish()
|
|
9523
9571
|
}), Pn;
|
|
9524
9572
|
}
|
|
9525
|
-
var Eo = {},
|
|
9573
|
+
var Eo = {}, Ml;
|
|
9526
9574
|
function Rs() {
|
|
9527
|
-
return
|
|
9575
|
+
return Ml || (Ml = 1, function(e) {
|
|
9528
9576
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBillDelivery = e.FdoDeliveryCustomer = e.FdoDeliveryDriver = e.FdoDeliveryProviderVehicle = void 0;
|
|
9529
9577
|
const n = h(), t = X(), i = on();
|
|
9530
9578
|
e.FdoDeliveryProviderVehicle = n.z.object({
|
|
@@ -9565,10 +9613,10 @@ function Rs() {
|
|
|
9565
9613
|
});
|
|
9566
9614
|
}(Eo)), Eo;
|
|
9567
9615
|
}
|
|
9568
|
-
var Tn = {},
|
|
9616
|
+
var Tn = {}, Ol;
|
|
9569
9617
|
function jg() {
|
|
9570
|
-
if (
|
|
9571
|
-
|
|
9618
|
+
if (Ol) return Tn;
|
|
9619
|
+
Ol = 1, Object.defineProperty(Tn, "__esModule", { value: !0 }), Tn.FdoBillDeposit = void 0;
|
|
9572
9620
|
const e = T(), n = h();
|
|
9573
9621
|
return Tn.FdoBillDeposit = n.z.object({
|
|
9574
9622
|
depositId: n.z.string().superRefine(e.isObjectId),
|
|
@@ -9735,14 +9783,14 @@ function qg() {
|
|
|
9735
9783
|
});
|
|
9736
9784
|
}(Do)), Do;
|
|
9737
9785
|
}
|
|
9738
|
-
var
|
|
9786
|
+
var Mn = {}, Gl;
|
|
9739
9787
|
function Gg() {
|
|
9740
|
-
if (Gl) return
|
|
9741
|
-
Gl = 1, Object.defineProperty(
|
|
9788
|
+
if (Gl) return Mn;
|
|
9789
|
+
Gl = 1, Object.defineProperty(Mn, "__esModule", { value: !0 }), Mn.FdoPaymentEffect = void 0;
|
|
9742
9790
|
const e = h(), n = rn(), t = Tr();
|
|
9743
|
-
return
|
|
9791
|
+
return Mn.FdoPaymentEffect = t.FdoBaseEffect.extend({
|
|
9744
9792
|
target: e.z.literal(n.F_EFFECT_TARGET.enum.PAYMENT)
|
|
9745
|
-
}),
|
|
9793
|
+
}), Mn;
|
|
9746
9794
|
}
|
|
9747
9795
|
var Ll;
|
|
9748
9796
|
function Qi() {
|
|
@@ -9787,7 +9835,7 @@ function Bs() {
|
|
|
9787
9835
|
}(zo)), zo;
|
|
9788
9836
|
}
|
|
9789
9837
|
var Po = {}, Hl;
|
|
9790
|
-
function
|
|
9838
|
+
function Ms() {
|
|
9791
9839
|
return Hl || (Hl = 1, function(e) {
|
|
9792
9840
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBillFullTaxInvoice = e.FdoBillFullTaxInvoicePrintMeta = void 0;
|
|
9793
9841
|
const n = h();
|
|
@@ -9828,12 +9876,12 @@ function Lg() {
|
|
|
9828
9876
|
});
|
|
9829
9877
|
}(To)), To;
|
|
9830
9878
|
}
|
|
9831
|
-
var
|
|
9832
|
-
function
|
|
9833
|
-
if (Wl) return
|
|
9834
|
-
Wl = 1, Object.defineProperty(
|
|
9879
|
+
var On = {}, Wl;
|
|
9880
|
+
function Os() {
|
|
9881
|
+
if (Wl) return On;
|
|
9882
|
+
Wl = 1, Object.defineProperty(On, "__esModule", { value: !0 }), On.FdoBillPickup = void 0;
|
|
9835
9883
|
const e = h(), n = X(), t = Pr(), i = on();
|
|
9836
|
-
return
|
|
9884
|
+
return On.FdoBillPickup = e.z.object({
|
|
9837
9885
|
platform: e.z.string().nullish(),
|
|
9838
9886
|
orderId: e.z.string().nullish(),
|
|
9839
9887
|
name: e.z.string(),
|
|
@@ -9847,7 +9895,7 @@ function Ms() {
|
|
|
9847
9895
|
status: e.z.string().nullish(),
|
|
9848
9896
|
program: e.z.string().nullish(),
|
|
9849
9897
|
metadata: e.z.record(e.z.any()).nullish()
|
|
9850
|
-
}),
|
|
9898
|
+
}), On;
|
|
9851
9899
|
}
|
|
9852
9900
|
var wn = {}, Ql;
|
|
9853
9901
|
function Yg() {
|
|
@@ -9913,7 +9961,7 @@ var xl;
|
|
|
9913
9961
|
function Qg() {
|
|
9914
9962
|
return xl || (xl = 1, function(e) {
|
|
9915
9963
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBill = e.FdoBillPortionSummary = e.FdoBillStatutoryCharge = e.FdoBillPersonMeta = e.FdoBillPersonBreakdown = e.FdoBillPaxHolder = e.FdoBillQueueInfo = e.FdoBillIs = e.FdoBillInHouseDelivery = e.FdoExternalPickup = e.FdoBillQrOrder = e.FdoBillRefund = void 0;
|
|
9916
|
-
const n = T(), t = h(), i = X(), r = le(), o =
|
|
9964
|
+
const n = T(), t = h(), i = X(), r = le(), o = Oe(), a = Pr(), d = Ts(), u = Ng(), g = Rs(), v = jg(), F = kg(), D = Vg(), R = Ss(), B = Bs(), M = Ms(), S = Cs(), W = Cr(), Z = Lg(), H = Os(), V = Yg(), x = Hg(), te = on(), ge = Zg(), ae = Wg();
|
|
9917
9965
|
e.FdoBillRefund = t.z.object({
|
|
9918
9966
|
by: r.FdoEmployeeRef.nullish(),
|
|
9919
9967
|
approvedBy: r.FdoEmployeeRef.nullish(),
|
|
@@ -10023,7 +10071,7 @@ function Qg() {
|
|
|
10023
10071
|
calculatorVersion: t.z.number().nullish(),
|
|
10024
10072
|
machineId: t.z.string().nullish(),
|
|
10025
10073
|
minPriceMode: d.F_MIN_PRICE_MODE.nullish(),
|
|
10026
|
-
fullTaxInvoice:
|
|
10074
|
+
fullTaxInvoice: M.FdoBillFullTaxInvoice.nullish(),
|
|
10027
10075
|
auditLogs: t.z.array(S.FdoBillItemAuditLogItem).nullish(),
|
|
10028
10076
|
taxWaivers: t.z.array(ae.FdoBillTaxWaiver).nullish(),
|
|
10029
10077
|
deposits: t.z.array(v.FdoBillDeposit).nullish(),
|
|
@@ -10034,7 +10082,7 @@ function Qg() {
|
|
|
10034
10082
|
}).describe(n.ZodMeta.couch().repo("bill").build());
|
|
10035
10083
|
}(mo)), mo;
|
|
10036
10084
|
}
|
|
10037
|
-
var So = {}, Bo = {},
|
|
10085
|
+
var So = {}, Bo = {}, Mo = {}, _l;
|
|
10038
10086
|
function Rr() {
|
|
10039
10087
|
return _l || (_l = 1, function(e) {
|
|
10040
10088
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoCreditBalance = e.FdoFreeCreditTransaction = void 0;
|
|
@@ -10047,9 +10095,9 @@ function Rr() {
|
|
|
10047
10095
|
normal: t.z.number(),
|
|
10048
10096
|
free: t.z.array(e.FdoFreeCreditTransaction)
|
|
10049
10097
|
});
|
|
10050
|
-
}(
|
|
10098
|
+
}(Mo)), Mo;
|
|
10051
10099
|
}
|
|
10052
|
-
var
|
|
10100
|
+
var Oo = {}, St = {}, $l;
|
|
10053
10101
|
function Sr() {
|
|
10054
10102
|
if ($l) return St;
|
|
10055
10103
|
$l = 1, Object.defineProperty(St, "__esModule", { value: !0 }), St.FdoFreeCreditOption = St.FdoFrontendInfo = void 0;
|
|
@@ -10158,7 +10206,7 @@ function Br() {
|
|
|
10158
10206
|
requiredTitle: t.z.string().nullish(),
|
|
10159
10207
|
frontend: i.FdoFrontendInfo.nullish()
|
|
10160
10208
|
});
|
|
10161
|
-
}(
|
|
10209
|
+
}(Oo)), Oo;
|
|
10162
10210
|
}
|
|
10163
10211
|
var wo = {}, No = {}, jo = {}, ko = {}, Bt = {}, nc;
|
|
10164
10212
|
function Kg() {
|
|
@@ -10368,7 +10416,7 @@ function Xt() {
|
|
|
10368
10416
|
}), kn;
|
|
10369
10417
|
}
|
|
10370
10418
|
var sc;
|
|
10371
|
-
function
|
|
10419
|
+
function Mr() {
|
|
10372
10420
|
return sc || (sc = 1, function(e) {
|
|
10373
10421
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBillingPaymentTransaction = e.FdoBillingPaymentMethod = e.FdoBillingPaymentSource = e.FdoBillingInfo = e.FdoBank = void 0;
|
|
10374
10422
|
const n = T(), t = h(), i = xg(), r = Xt(), o = X(), a = at();
|
|
@@ -10440,7 +10488,7 @@ var cc;
|
|
|
10440
10488
|
function Et() {
|
|
10441
10489
|
return cc || (cc = 1, function(e) {
|
|
10442
10490
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBusiness = e.FdoCustomAttribute = e.FdoCustomAttributeEntity = e.FdoCustomAttributeType = e.FdoBusinessCustomerDisplayImage = e.FdoBusinessMenuConfig = void 0;
|
|
10443
|
-
const n = T(), t = h(), i = Jg(), r =
|
|
10491
|
+
const n = T(), t = h(), i = Jg(), r = Mr(), o = Ns(), a = _g();
|
|
10444
10492
|
e.FdoBusinessMenuConfig = t.z.object({
|
|
10445
10493
|
mode: a.F_MENU_MODE
|
|
10446
10494
|
}), e.FdoBusinessCustomerDisplayImage = t.z.object({
|
|
@@ -10526,7 +10574,7 @@ function Xi() {
|
|
|
10526
10574
|
}(wo)), wo;
|
|
10527
10575
|
}
|
|
10528
10576
|
var Uo = {}, qo = {}, qn = {}, Go = {}, mc;
|
|
10529
|
-
function
|
|
10577
|
+
function Or() {
|
|
10530
10578
|
return mc || (mc = 1, function(e) {
|
|
10531
10579
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoOperatingHours = e.FdoOperatingHour = e.FdoOperatingDuration = void 0;
|
|
10532
10580
|
const n = h();
|
|
@@ -10551,7 +10599,7 @@ var gc;
|
|
|
10551
10599
|
function js() {
|
|
10552
10600
|
if (gc) return qn;
|
|
10553
10601
|
gc = 1, Object.defineProperty(qn, "__esModule", { value: !0 }), qn.FdoProfile = void 0;
|
|
10554
|
-
const e = T(), n = h(), t = Xt(), i =
|
|
10602
|
+
const e = T(), n = h(), t = Xt(), i = Or();
|
|
10555
10603
|
return qn.FdoProfile = n.z.object({
|
|
10556
10604
|
_id: n.z.string().nullish(),
|
|
10557
10605
|
code: n.z.string().nullish(),
|
|
@@ -10588,7 +10636,7 @@ var Lo = {}, fc;
|
|
|
10588
10636
|
function Vs() {
|
|
10589
10637
|
return fc || (fc = 1, function(e) {
|
|
10590
10638
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoRestaurantFeedmeDelivery = e.FdoRestaurantInHouseDelivery = e.FdoDeliveryTaxSetting = e.FdoDeliveryTime = e.FdoDeliveryArea = void 0;
|
|
10591
|
-
const n = h(), t =
|
|
10639
|
+
const n = h(), t = Or(), i = Ps(), r = X(), o = Wi(), a = Oe();
|
|
10592
10640
|
e.FdoDeliveryArea = n.z.object({
|
|
10593
10641
|
polygon: n.z.array(n.z.array(n.z.number())),
|
|
10594
10642
|
deliveryFee: r.FdoDinero,
|
|
@@ -10628,7 +10676,7 @@ var Ln = {}, Ac;
|
|
|
10628
10676
|
function Us() {
|
|
10629
10677
|
if (Ac) return Ln;
|
|
10630
10678
|
Ac = 1, Object.defineProperty(Ln, "__esModule", { value: !0 }), Ln.FdoRestaurantDineIn = void 0;
|
|
10631
|
-
const e = h(), n = Wi(), t =
|
|
10679
|
+
const e = h(), n = Wi(), t = Oe();
|
|
10632
10680
|
return Ln.FdoRestaurantDineIn = e.z.object({
|
|
10633
10681
|
anonymousOrder: e.z.boolean(),
|
|
10634
10682
|
staticQr: e.z.boolean().nullish(),
|
|
@@ -10654,7 +10702,7 @@ var Hn = {}, yc;
|
|
|
10654
10702
|
function Gs() {
|
|
10655
10703
|
if (yc) return Hn;
|
|
10656
10704
|
yc = 1, Object.defineProperty(Hn, "__esModule", { value: !0 }), Hn.FdoRestaurantPickup = void 0;
|
|
10657
|
-
const e = h(), n = Wi(), t =
|
|
10705
|
+
const e = h(), n = Wi(), t = Oe(), i = Pr();
|
|
10658
10706
|
return Hn.FdoRestaurantPickup = e.z.object({
|
|
10659
10707
|
pickupTime: i.FdoPickupTime.nullish(),
|
|
10660
10708
|
pickupPointConfig: i.FdoPickupPoints.nullish(),
|
|
@@ -10731,20 +10779,20 @@ function an() {
|
|
|
10731
10779
|
}).describe(n.ZodMeta.mongo().repo("Restaurants").build());
|
|
10732
10780
|
}(qo)), qo;
|
|
10733
10781
|
}
|
|
10734
|
-
var
|
|
10782
|
+
var Mt = {}, Fc;
|
|
10735
10783
|
function $g() {
|
|
10736
|
-
if (Fc) return
|
|
10737
|
-
Fc = 1, Object.defineProperty(
|
|
10784
|
+
if (Fc) return Mt;
|
|
10785
|
+
Fc = 1, Object.defineProperty(Mt, "__esModule", { value: !0 }), Mt.F_TARGET = Mt.F_VOUCHER_TYPE = void 0;
|
|
10738
10786
|
const e = h();
|
|
10739
|
-
return
|
|
10787
|
+
return Mt.F_VOUCHER_TYPE = e.z.enum([
|
|
10740
10788
|
"AFTER_SALES",
|
|
10741
10789
|
"SIMPLE_CLAIM",
|
|
10742
10790
|
"MEMBER_REWARD",
|
|
10743
10791
|
"FEEDBACK_REWARD"
|
|
10744
|
-
]),
|
|
10792
|
+
]), Mt.F_TARGET = e.z.enum([
|
|
10745
10793
|
"BILL",
|
|
10746
10794
|
"ITEM"
|
|
10747
|
-
]),
|
|
10795
|
+
]), Mt;
|
|
10748
10796
|
}
|
|
10749
10797
|
var Ec;
|
|
10750
10798
|
function sn() {
|
|
@@ -11040,7 +11088,7 @@ var Rc;
|
|
|
11040
11088
|
function oh() {
|
|
11041
11089
|
return Rc || (Rc = 1, function(e) {
|
|
11042
11090
|
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;
|
|
11043
|
-
const n = T(), t = h(), i = Zi(), r = X(), o = le(), a = Ft(), d =
|
|
11091
|
+
const n = T(), t = h(), i = Zi(), r = X(), o = le(), a = Ft(), d = Oe(), u = rh();
|
|
11044
11092
|
e.FdtoCreatePayment = t.z.object({
|
|
11045
11093
|
counter: i.FdoCounterRef,
|
|
11046
11094
|
payment: d.FdoPaymentRef,
|
|
@@ -11148,9 +11196,9 @@ function Ys() {
|
|
|
11148
11196
|
});
|
|
11149
11197
|
}(Qo)), Qo;
|
|
11150
11198
|
}
|
|
11151
|
-
var
|
|
11199
|
+
var Mc;
|
|
11152
11200
|
function sh() {
|
|
11153
|
-
return
|
|
11201
|
+
return Mc || (Mc = 1, function(e) {
|
|
11154
11202
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoTaxAndChargeSetting = e.FdtoTaxV4Setting = void 0;
|
|
11155
11203
|
const n = h(), t = Dr(), i = Ys();
|
|
11156
11204
|
e.FdtoTaxV4Setting = n.z.object({
|
|
@@ -11162,11 +11210,11 @@ function sh() {
|
|
|
11162
11210
|
});
|
|
11163
11211
|
}(Wo)), Wo;
|
|
11164
11212
|
}
|
|
11165
|
-
var
|
|
11213
|
+
var Oc;
|
|
11166
11214
|
function Rp() {
|
|
11167
|
-
return
|
|
11215
|
+
return Oc || (Oc = 1, function(e) {
|
|
11168
11216
|
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;
|
|
11169
|
-
const n = T(), t = h(), i = at(), r = Zi(), o = th(), a = oe(), d = X(), u = le(), g = wr(), v = ih(), F = Hi(), D =
|
|
11217
|
+
const n = T(), t = h(), i = at(), r = Zi(), o = th(), a = oe(), d = X(), u = le(), g = wr(), v = ih(), F = Hi(), D = Oe(), R = oh(), B = js(), M = sh(), S = Qg(), W = zr(), Z = Rs(), H = Bs(), V = Cr(), x = Os(), te = on();
|
|
11170
11218
|
e.FdtoRefundReq = t.z.object({
|
|
11171
11219
|
bill: S.FdoBill,
|
|
11172
11220
|
refundRecord: t.z.array(S.FdoBill),
|
|
@@ -11205,14 +11253,14 @@ function Rp() {
|
|
|
11205
11253
|
}), e.FdtoCreateOrUpdateItemsReq = t.z.object({
|
|
11206
11254
|
items: t.z.record(V.FdoBillItem),
|
|
11207
11255
|
stock: F.FdoStockBalance.nullish(),
|
|
11208
|
-
taxAndChargeSetting:
|
|
11256
|
+
taxAndChargeSetting: M.FdtoTaxAndChargeSetting
|
|
11209
11257
|
}), e.FdtoCreateTaxWaiverReq = t.z.object({
|
|
11210
11258
|
taxCode: t.z.string(),
|
|
11211
11259
|
taxSystemCode: t.z.string(),
|
|
11212
11260
|
overrideAmount: a.FdoDecimal.nullish(),
|
|
11213
11261
|
reason: t.z.string().nullish(),
|
|
11214
11262
|
waivedBy: u.FdoEmployeeRef,
|
|
11215
|
-
taxAndChargeSetting:
|
|
11263
|
+
taxAndChargeSetting: M.FdtoTaxAndChargeSetting
|
|
11216
11264
|
}), e.FdtoRemoveTaxWaiverReq = t.z.object({
|
|
11217
11265
|
id: t.z.string()
|
|
11218
11266
|
}), e.FdtoStockItem = t.z.object({
|
|
@@ -11479,20 +11527,20 @@ function Sp() {
|
|
|
11479
11527
|
quantity: e.z.number()
|
|
11480
11528
|
}), Kn;
|
|
11481
11529
|
}
|
|
11482
|
-
var
|
|
11530
|
+
var Ot = {}, Nc;
|
|
11483
11531
|
function Bp() {
|
|
11484
|
-
if (Nc) return
|
|
11485
|
-
Nc = 1, Object.defineProperty(
|
|
11532
|
+
if (Nc) return Ot;
|
|
11533
|
+
Nc = 1, Object.defineProperty(Ot, "__esModule", { value: !0 }), Ot.F_BILL_ITEM_EXTRA_TAX_CODE = Ot.F_BILL_ITEM_TAX_CODE = void 0;
|
|
11486
11534
|
const e = h();
|
|
11487
|
-
return
|
|
11535
|
+
return Ot.F_BILL_ITEM_TAX_CODE = e.z.enum([
|
|
11488
11536
|
"SST",
|
|
11489
11537
|
"GST",
|
|
11490
11538
|
"VAT",
|
|
11491
11539
|
"PB1",
|
|
11492
11540
|
"SERVICE_CHARGE"
|
|
11493
|
-
]),
|
|
11541
|
+
]), Ot.F_BILL_ITEM_EXTRA_TAX_CODE = e.z.enum([
|
|
11494
11542
|
"OTHER_CHARGE"
|
|
11495
|
-
]),
|
|
11543
|
+
]), Ot;
|
|
11496
11544
|
}
|
|
11497
11545
|
var Xo = {}, Jn = {}, jc;
|
|
11498
11546
|
function dh() {
|
|
@@ -11507,7 +11555,7 @@ function dh() {
|
|
|
11507
11555
|
]), Jn;
|
|
11508
11556
|
}
|
|
11509
11557
|
var kc;
|
|
11510
|
-
function
|
|
11558
|
+
function Mp() {
|
|
11511
11559
|
return kc || (kc = 1, function(e) {
|
|
11512
11560
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoCalculatorRes = e.FdtoCalculatorItemRes = e.FdtoCalculatorItemTaxRes = e.FdtoCalculatorItem = e.FdtoCalculatorItemTax = e.FdtoCalculatorAdjustment = e.FdtoAdjustmentType = void 0;
|
|
11513
11561
|
const n = h(), t = X(), i = dh();
|
|
@@ -11540,7 +11588,7 @@ function Op() {
|
|
|
11540
11588
|
}(Xo)), Xo;
|
|
11541
11589
|
}
|
|
11542
11590
|
var Ko = {}, Vc;
|
|
11543
|
-
function
|
|
11591
|
+
function Op() {
|
|
11544
11592
|
return Vc || (Vc = 1, function(e) {
|
|
11545
11593
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoClickUpCreateTask = e.FdtoClickUpUploadAttachment = e.FdtoClickUpTaskBody = void 0;
|
|
11546
11594
|
const n = h();
|
|
@@ -11643,7 +11691,7 @@ var Yc;
|
|
|
11643
11691
|
function Zs() {
|
|
11644
11692
|
return Yc || (Yc = 1, function(e) {
|
|
11645
11693
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoDeposit = e.FdoDepositAuditLog = e.FdoDepositForfeit = e.FdoDepositRefund = e.FdoDepositRefundPolicyApplied = e.FdoDepositApplication = e.FdoDepositAppliedTo = e.FdoDepositCustomer = e.FdoDepositSettingSnapshot = void 0;
|
|
11646
|
-
const n = T(), t = h(), i = oe(), r = X(), o = le(), a =
|
|
11694
|
+
const n = T(), t = h(), i = oe(), r = X(), o = le(), a = Oe(), d = Nr();
|
|
11647
11695
|
e.FdoDepositSettingSnapshot = t.z.object({
|
|
11648
11696
|
capturedAt: t.z.string().superRefine(n.isISODateString),
|
|
11649
11697
|
forfeitPolicy: d.FdoDepositForfeitPolicy,
|
|
@@ -11714,7 +11762,7 @@ var Hc;
|
|
|
11714
11762
|
function lh() {
|
|
11715
11763
|
return Hc || (Hc = 1, function(e) {
|
|
11716
11764
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoDepositRecord = e.FdoDepositRecordRefund = void 0;
|
|
11717
|
-
const n = T(), t = h(), i = X(), r = le(), o =
|
|
11765
|
+
const n = T(), t = h(), i = X(), r = le(), o = Oe(), a = Zs();
|
|
11718
11766
|
e.FdoDepositRecordRefund = t.z.object({
|
|
11719
11767
|
refundedFrom: t.z.string().nullish(),
|
|
11720
11768
|
refundedAt: t.z.string().superRefine(n.isISODateString),
|
|
@@ -11775,7 +11823,7 @@ var ie = {}, Qc;
|
|
|
11775
11823
|
function Vp() {
|
|
11776
11824
|
if (Qc) return ie;
|
|
11777
11825
|
Qc = 1, Object.defineProperty(ie, "__esModule", { value: !0 }), ie.FdtoRefundDepositReq = ie.FdtoForfeitDepositReq = ie.FdtoUnapplyDepositReq = ie.FdtoApplyDepositReq = ie.FdtoUpdateDepositReq = ie.FdtoPayDepositReq = ie.FdtoCreateDepositReq = ie.FdtoSearchDepositsRes = ie.FdtoSearchDepositsReq = ie.FdtoDepositAuditActionLog = void 0;
|
|
11778
|
-
const e = T(), n = h(), t = X(), i = le(), r =
|
|
11826
|
+
const e = T(), n = h(), t = X(), i = le(), r = Oe(), o = Zs();
|
|
11779
11827
|
return ie.FdtoDepositAuditActionLog = n.z.object({
|
|
11780
11828
|
action: n.z.string(),
|
|
11781
11829
|
performedBy: i.FdoEmployeeRef,
|
|
@@ -12757,32 +12805,32 @@ function Eh() {
|
|
|
12757
12805
|
"MANUAL_ADJUSTMENT"
|
|
12758
12806
|
]), gi;
|
|
12759
12807
|
}
|
|
12760
|
-
var
|
|
12808
|
+
var Me = {}, Bu;
|
|
12761
12809
|
function Vr() {
|
|
12762
|
-
if (Bu) return
|
|
12763
|
-
Bu = 1, Object.defineProperty(
|
|
12810
|
+
if (Bu) return Me;
|
|
12811
|
+
Bu = 1, Object.defineProperty(Me, "__esModule", { value: !0 }), Me.F_NOTIFICATION_TYPE = Me.F_FCM_METHOD_TYPE = Me.F_EMAIL_PROVIDER = Me.F_PHONE_PROVIDER = void 0;
|
|
12764
12812
|
const e = h();
|
|
12765
|
-
return
|
|
12813
|
+
return Me.F_PHONE_PROVIDER = e.z.enum([
|
|
12766
12814
|
"AWS",
|
|
12767
12815
|
"MOCEAN"
|
|
12768
|
-
]),
|
|
12816
|
+
]), Me.F_EMAIL_PROVIDER = e.z.enum([
|
|
12769
12817
|
"DEFAULT"
|
|
12770
|
-
]),
|
|
12818
|
+
]), Me.F_FCM_METHOD_TYPE = e.z.enum([
|
|
12771
12819
|
"DEVICE_GROUP",
|
|
12772
12820
|
"REGISTRATION_TOKEN",
|
|
12773
12821
|
"TOPIC"
|
|
12774
|
-
]),
|
|
12822
|
+
]), Me.F_NOTIFICATION_TYPE = e.z.enum([
|
|
12775
12823
|
"PHONE",
|
|
12776
12824
|
"EMAIL",
|
|
12777
12825
|
"FCM",
|
|
12778
12826
|
"WEBSOCKET",
|
|
12779
12827
|
"POS_EVENT"
|
|
12780
|
-
]),
|
|
12828
|
+
]), Me;
|
|
12781
12829
|
}
|
|
12782
|
-
var hi = {},
|
|
12830
|
+
var hi = {}, Mu;
|
|
12783
12831
|
function ty() {
|
|
12784
|
-
if (
|
|
12785
|
-
|
|
12832
|
+
if (Mu) return hi;
|
|
12833
|
+
Mu = 1, Object.defineProperty(hi, "__esModule", { value: !0 }), hi.FdoOrderNumber = void 0;
|
|
12786
12834
|
const e = T(), n = h();
|
|
12787
12835
|
return hi.FdoOrderNumber = n.z.object({
|
|
12788
12836
|
_id: n.z.string().optional(),
|
|
@@ -12792,10 +12840,10 @@ function ty() {
|
|
|
12792
12840
|
digit: n.z.number()
|
|
12793
12841
|
}).describe(e.ZodMeta.couch().repo("orderNumber").build()), hi;
|
|
12794
12842
|
}
|
|
12795
|
-
var fi = {},
|
|
12843
|
+
var fi = {}, Ou;
|
|
12796
12844
|
function ny() {
|
|
12797
|
-
if (
|
|
12798
|
-
|
|
12845
|
+
if (Ou) return fi;
|
|
12846
|
+
Ou = 1, Object.defineProperty(fi, "__esModule", { value: !0 }), fi.F_ORDER_NUMBER_PREFIX = void 0;
|
|
12799
12847
|
const e = h();
|
|
12800
12848
|
return fi.F_ORDER_NUMBER_PREFIX = e.z.enum([
|
|
12801
12849
|
"C",
|
|
@@ -13261,7 +13309,7 @@ var Ea = {}, xu;
|
|
|
13261
13309
|
function uy() {
|
|
13262
13310
|
return xu || (xu = 1, function(e) {
|
|
13263
13311
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoPublicSetting = e.FdoSmsSetting = e.FdoDeliverySetting = e.FdoFeedMeDeliverySetting = e.FdoFeedMeDeliveryArea = void 0;
|
|
13264
|
-
const n = T(), t = h(), i =
|
|
13312
|
+
const n = T(), t = h(), i = Or(), r = Th();
|
|
13265
13313
|
e.FdoFeedMeDeliveryArea = t.z.object({
|
|
13266
13314
|
polygon: t.z.array(t.z.array(t.z.number()))
|
|
13267
13315
|
}), e.FdoFeedMeDeliverySetting = t.z.object({
|
|
@@ -13485,10 +13533,10 @@ function Bh() {
|
|
|
13485
13533
|
]), me;
|
|
13486
13534
|
}
|
|
13487
13535
|
var rm;
|
|
13488
|
-
function
|
|
13536
|
+
function Mh() {
|
|
13489
13537
|
return rm || (rm = 1, function(e) {
|
|
13490
13538
|
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;
|
|
13491
|
-
const n = T(), t = h(), i = Pg(), r = Ss(), o = Ns(), a = oe(), d = Nr(), u = X(), g = Vs(), v = Us(), F = qs(), D = Gs(), R = Ls(), B = Ys(),
|
|
13539
|
+
const n = T(), t = h(), i = Pg(), r = Ss(), o = Ns(), a = oe(), d = Nr(), u = X(), g = Vs(), v = Us(), F = qs(), D = Gs(), R = Ls(), B = Ys(), M = ks(), S = Bh();
|
|
13492
13540
|
e.FdoAccountingSetting = t.z.object({
|
|
13493
13541
|
autoCount: i.FdoAutoCountExporterConfig
|
|
13494
13542
|
}), e.FdoPrinterSetting = t.z.object({
|
|
@@ -13583,7 +13631,7 @@ function Oh() {
|
|
|
13583
13631
|
autoAcceptPaidOnly: t.z.boolean().nullish(),
|
|
13584
13632
|
realtimeStockCheck: t.z.boolean().nullish(),
|
|
13585
13633
|
printerServerSetting: e.FdoPrinterServerSetting.nullish(),
|
|
13586
|
-
tableMappingSetting:
|
|
13634
|
+
tableMappingSetting: M.FdoTableMappingSetting.nullish(),
|
|
13587
13635
|
customerDisplayImages: t.z.array(t.z.string()).nullish(),
|
|
13588
13636
|
customerDisplayImageSettings: t.z.array(e.FdoCustomerDisplayImageSetting).nullish(),
|
|
13589
13637
|
inventoryCountdownWithoutOptionalBOM: t.z.boolean().nullish(),
|
|
@@ -13615,7 +13663,7 @@ var Pa = {}, om;
|
|
|
13615
13663
|
function fy() {
|
|
13616
13664
|
return om || (om = 1, function(e) {
|
|
13617
13665
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoUpdateDiscountRuleReq = e.FdtoDiscountRuleRes = e.FdtoDiscountRuleRestaurant = void 0;
|
|
13618
|
-
const n = h(), t =
|
|
13666
|
+
const n = h(), t = Mh();
|
|
13619
13667
|
e.FdtoDiscountRuleRestaurant = n.z.object({
|
|
13620
13668
|
id: n.z.string(),
|
|
13621
13669
|
name: n.z.string(),
|
|
@@ -13682,7 +13730,7 @@ function py() {
|
|
|
13682
13730
|
}(Ta)), Ta;
|
|
13683
13731
|
}
|
|
13684
13732
|
var Ra = {}, zi = {}, lm;
|
|
13685
|
-
function
|
|
13733
|
+
function Oh() {
|
|
13686
13734
|
if (lm) return zi;
|
|
13687
13735
|
lm = 1, Object.defineProperty(zi, "__esModule", { value: !0 }), zi.F_TABLE_STATUS = void 0;
|
|
13688
13736
|
const e = h();
|
|
@@ -13696,7 +13744,7 @@ var cm;
|
|
|
13696
13744
|
function yy() {
|
|
13697
13745
|
return cm || (cm = 1, function(e) {
|
|
13698
13746
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoTable = e.FdoTableInteractiveInfo = e.FdoTableSeat = void 0;
|
|
13699
|
-
const n = T(), t = h(), i =
|
|
13747
|
+
const n = T(), t = h(), i = Oh();
|
|
13700
13748
|
e.FdoTableSeat = t.z.object({
|
|
13701
13749
|
leftSideSeats: t.z.number(),
|
|
13702
13750
|
rightSideSeats: t.z.number(),
|
|
@@ -13805,7 +13853,7 @@ var _e = {}, Am;
|
|
|
13805
13853
|
function Fy() {
|
|
13806
13854
|
if (Am) return _e;
|
|
13807
13855
|
Am = 1, Object.defineProperty(_e, "__esModule", { value: !0 }), _e.FdtoBillingPaymentResponse = _e.FdtoBillingPaymentCheckoutBody = _e.FdtoPerformBillingPaymentReq = void 0;
|
|
13808
|
-
const e = h(), n =
|
|
13856
|
+
const e = h(), n = Mr();
|
|
13809
13857
|
return _e.FdtoPerformBillingPaymentReq = e.z.object({
|
|
13810
13858
|
method: n.FdoBillingPaymentMethod,
|
|
13811
13859
|
source: n.FdoBillingPaymentSource,
|
|
@@ -13890,7 +13938,7 @@ function zy() {
|
|
|
13890
13938
|
measurement: i.FdoUnitMeasurement.nullish()
|
|
13891
13939
|
}), Ri;
|
|
13892
13940
|
}
|
|
13893
|
-
var qt = {}, Ba = {},
|
|
13941
|
+
var qt = {}, Ba = {}, Ma = {}, vm;
|
|
13894
13942
|
function jh() {
|
|
13895
13943
|
return vm || (vm = 1, function(e) {
|
|
13896
13944
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoInventorySupplier = e.FdoInventorySupplierAddress = void 0;
|
|
@@ -13913,7 +13961,7 @@ function jh() {
|
|
|
13913
13961
|
address: e.FdoInventorySupplierAddress,
|
|
13914
13962
|
supplyItems: n.z.array(n.z.object({})).nullish()
|
|
13915
13963
|
}).describe(t.ZodMeta.couch().repo("supplier").build());
|
|
13916
|
-
}(
|
|
13964
|
+
}(Ma)), Ma;
|
|
13917
13965
|
}
|
|
13918
13966
|
var Fm;
|
|
13919
13967
|
function td() {
|
|
@@ -13971,11 +14019,11 @@ function Cy() {
|
|
|
13971
14019
|
adjustment: i.FdoInventoryAdjustment
|
|
13972
14020
|
}), qt;
|
|
13973
14021
|
}
|
|
13974
|
-
var
|
|
14022
|
+
var Oa = {}, Im;
|
|
13975
14023
|
function Dy() {
|
|
13976
14024
|
return Im || (Im = 1, function(e) {
|
|
13977
14025
|
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;
|
|
13978
|
-
const n = T(), t = h(), i = Et(), r = X(), o = Ks(), a = at(), d = $s(), u =
|
|
14026
|
+
const n = T(), t = h(), i = Et(), r = X(), o = Ks(), a = at(), d = $s(), u = Mr();
|
|
13979
14027
|
e.FdoLicenseProductPlan = t.z.object({
|
|
13980
14028
|
id: t.z.string(),
|
|
13981
14029
|
name: t.z.string(),
|
|
@@ -14074,7 +14122,7 @@ function Dy() {
|
|
|
14074
14122
|
product: e.FdoLicenseProduct,
|
|
14075
14123
|
addon: t.z.array(t.z.lazy(() => e.FdoLicenseCatalog))
|
|
14076
14124
|
});
|
|
14077
|
-
}(
|
|
14125
|
+
}(Oa)), Oa;
|
|
14078
14126
|
}
|
|
14079
14127
|
var wa = {}, zm;
|
|
14080
14128
|
function Py() {
|
|
@@ -14233,7 +14281,7 @@ function By() {
|
|
|
14233
14281
|
}), Bi;
|
|
14234
14282
|
}
|
|
14235
14283
|
var Va = {}, Sm;
|
|
14236
|
-
function
|
|
14284
|
+
function My() {
|
|
14237
14285
|
return Sm || (Sm = 1, function(e) {
|
|
14238
14286
|
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;
|
|
14239
14287
|
const n = T(), t = h(), i = Vr(), r = ed();
|
|
@@ -14308,7 +14356,7 @@ function Oy() {
|
|
|
14308
14356
|
}(Va)), Va;
|
|
14309
14357
|
}
|
|
14310
14358
|
var Ua = {}, Bm;
|
|
14311
|
-
function
|
|
14359
|
+
function Oy() {
|
|
14312
14360
|
return Bm || (Bm = 1, function(e) {
|
|
14313
14361
|
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;
|
|
14314
14362
|
const n = h(), t = Vr(), i = ed();
|
|
@@ -14376,9 +14424,9 @@ function My() {
|
|
|
14376
14424
|
});
|
|
14377
14425
|
}(Ua)), Ua;
|
|
14378
14426
|
}
|
|
14379
|
-
var qa = {},
|
|
14427
|
+
var qa = {}, Mm;
|
|
14380
14428
|
function wy() {
|
|
14381
|
-
return
|
|
14429
|
+
return Mm || (Mm = 1, function(e) {
|
|
14382
14430
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoCustomerEvent = e.FdtoCustomerNewRewardEvent = e.FdtoCustomerUpdateOrderEvent = e.FdtoCustomerUpdateOrderData = e.FdtoCustomerNewMessageEvent = e.FdtoCustomerNewMessageData = e.FdtoBaseEvent = void 0;
|
|
14383
14431
|
const n = h(), t = wh();
|
|
14384
14432
|
e.FdtoBaseEvent = n.z.object({
|
|
@@ -14403,17 +14451,17 @@ function wy() {
|
|
|
14403
14451
|
]);
|
|
14404
14452
|
}(qa)), qa;
|
|
14405
14453
|
}
|
|
14406
|
-
var
|
|
14454
|
+
var Mi = {}, Om;
|
|
14407
14455
|
function Ny() {
|
|
14408
|
-
if (
|
|
14409
|
-
|
|
14456
|
+
if (Om) return Mi;
|
|
14457
|
+
Om = 1, Object.defineProperty(Mi, "__esModule", { value: !0 }), Mi.FdoPermissionSet = void 0;
|
|
14410
14458
|
const e = T(), n = h(), t = _s();
|
|
14411
|
-
return
|
|
14459
|
+
return Mi.FdoPermissionSet = n.z.object({
|
|
14412
14460
|
_id: n.z.string().superRefine(e.isObjectId),
|
|
14413
14461
|
permissions: n.z.array(t.FdoPermissionRule),
|
|
14414
14462
|
businessId: n.z.string(),
|
|
14415
14463
|
name: n.z.string()
|
|
14416
|
-
}).describe(e.ZodMeta.mongo().repo("PermissionSets").build()),
|
|
14464
|
+
}).describe(e.ZodMeta.mongo().repo("PermissionSets").build()), Mi;
|
|
14417
14465
|
}
|
|
14418
14466
|
var Ga = {}, wm;
|
|
14419
14467
|
function jy() {
|
|
@@ -14607,7 +14655,7 @@ var Ha = {}, km;
|
|
|
14607
14655
|
function Vy() {
|
|
14608
14656
|
return km || (km = 1, function(e) {
|
|
14609
14657
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMemberStorePurchase = e.FdtoGetMemberStorePurchaseRes = e.FdtoGetMemberStorePurchaseResCredit = e.FdtoGetMemberStorePurchaseResClaim = e.FdoStoreTransactionRefundInfoRes = e.FdoMemberStorePurchaseMember = e.FdoMemberStorePurchasePayment = void 0;
|
|
14610
|
-
const n = T(), t = h(), i =
|
|
14658
|
+
const n = T(), t = h(), i = Ms(), r = Hs(), o = le(), a = nd(), d = id(), u = Js(), g = sn(), v = Oe(), F = vh();
|
|
14611
14659
|
e.FdoMemberStorePurchasePayment = v.FdoPayment.extend({
|
|
14612
14660
|
createdAt: t.z.string()
|
|
14613
14661
|
}), e.FdoMemberStorePurchaseMember = t.z.object({
|
|
@@ -14752,7 +14800,7 @@ function qy() {
|
|
|
14752
14800
|
}), t = Q && Q.__exportStar || function(i, r) {
|
|
14753
14801
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && n(r, i, o);
|
|
14754
14802
|
};
|
|
14755
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), t(Pg(), e), t(Tg(), e), t(Rg(), e), t(Tp(), e), t(Qg(), e), t(Rp(), e), t(Ts(), e), t(Ng(), e), t(Ir(), e), t(Sg(), e), t(Cs(), e), t(Bg(), e), t(zr(), e), t(Rs(), e), t(jg(), e), t(kg(), e), t(Vg(), e), t(Ss(), e), t(Bs(), e), t(Sp(), e), t(
|
|
14803
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), t(Pg(), e), t(Tg(), e), t(Rg(), e), t(Tp(), e), t(Qg(), e), t(Rp(), e), t(Ts(), e), t(Ng(), e), t(Ir(), e), t(Sg(), e), t(Cs(), e), t(Bg(), e), t(zr(), e), t(Rs(), e), t(jg(), e), t(kg(), e), t(Vg(), e), t(Ss(), e), t(Bs(), e), t(Sp(), e), t(Ms(), e), t(Cr(), e), t(Mg(), e), t(Lg(), e), t(Os(), e), t(Yg(), e), t(Hg(), e), t(Wg(), e), t(on(), e), t(Bp(), e), t(xg(), e), t(Et(), e), t(_g(), e), t(Mp(), e), t(dh(), e), t(Op(), e), t(Xt(), e), t(Or(), e), t(Ps(), e), t(Hs(), e), t(Zi(), e), t(Og(), e), t(wg(), e), t(Ds(), e), t(Ns(), e), t(th(), e), t(eh(), e), t(oe(), e), t(wp(), e), t(Np(), e), t(jp(), e), t(lh(), e), t(Nr(), e), t(kp(), e), t(Zs(), e), t(Vp(), e), t(Up(), e), t(X(), e), t(jr(), e), t(It(), e), t(qp(), e), t(Ws(), e), t(kr(), e), t(ch(), e), t(Gp(), e), t(Qs(), e), t(Lp(), e), t(Yp(), e), t(Xs(), e), t(uh(), e), t(mh(), e), t(Hp(), e), t(Qi(), e), t(rn(), e), t(Tr(), e), t(Ug(), e), t(Is(), e), t(Gg(), e), t(Er(), e), t(le(), e), t(Zp(), e), t(Wp(), e), t(Qp(), e), t(Xp(), e), t(Kp(), e), t(gh(), e), t(Yi(), e), t(zs(), e), t(hh(), e), t(Hi(), e), t(fh(), e), t(Jp(), e), t(Ks(), e), t(xp(), e), t(_p(), e), t(Rr(), e), t(Ah(), e), t(ph(), e), t($p(), e), t($g(), e), t(Sr(), e), t(Xg(), e), t(Xi(), e), t(yh(), e), t(bh(), e), t(ey(), e), t(Js(), e), t(vh(), e), t(Fh(), e), t(Eh(), e), t(Vr(), e), t(ty(), e), t(ny(), e), t(Wi(), e), t(Ur(), e), t(Ih(), e), t(zh(), e), t(Ch(), e), t(iy(), e), t(ry(), e), t(oy(), e), t(Ft(), e), t(Oe(), e), t(oh(), e), t(rh(), e), t(ay(), e), t(sy(), e), t(dy(), e), t(Dh(), e), t(xs(), e), t(ly(), e), t(Pr(), e), t(js(), e), t(cy(), e), t(Th(), e), t(uy(), e), t(Ph(), e), t(my(), e), t(gy(), e), t(hy(), e), t(Rh(), e), t(Mh(), e), t(fy(), e), t(Bh(), e), t(Vs(), e), t(Us(), e), t(qs(), e), t(Gs(), e), t(Ls(), e), t(an(), e), t($s(), e), t(Ay(), e), t(ah(), e), t(ks(), e), t(py(), e), t(yy(), e), t(Oh(), e), t(by(), e), t(Kg(), e), t(ed(), e), t(wh(), e), t(vy(), e), t(at(), e), t(Zg(), e), t(Mr(), e), t(Fy(), e), t(Ey(), e), t(qg(), e), t(Iy(), e), t(nh(), e), t(wr(), e), t(zy(), e), t(ih(), e), t(Cy(), e), t(jh(), e), t(Dy(), e), t(Py(), e), t(nd(), e), t(Br(), e), t(Ty(), e), t(Ry(), e), t(Sy(), e), t(_s(), e), t(Sh(), e), t(By(), e), t(Ys(), e), t(Dr(), e), t(sh(), e), t(ws(), e), t(My(), e), t(Oy(), e), t(wy(), e), t(Jg(), e), t(td(), e), t(sn(), e), t(Ny(), e), t(jy(), e), t(ky(), e), t(id(), e), t(Vy(), e), t(Uy(), e), t(Nh(), e);
|
|
14756
14804
|
}(Wr)), Wr;
|
|
14757
14805
|
}
|
|
14758
14806
|
var Gy = qy();
|
|
@@ -15970,16 +16018,16 @@ function Bb(e, n, { blocked: t, upgrade: i, blocking: r, terminated: o } = {}) {
|
|
|
15970
16018
|
}).catch(() => {
|
|
15971
16019
|
}), d;
|
|
15972
16020
|
}
|
|
15973
|
-
const
|
|
16021
|
+
const Mb = ["get", "getKey", "getAll", "getAllKeys", "count"], Ob = ["put", "add", "delete", "clear"], Ka = /* @__PURE__ */ new Map();
|
|
15974
16022
|
function Zm(e, n) {
|
|
15975
16023
|
if (!(e instanceof IDBDatabase && !(n in e) && typeof n == "string"))
|
|
15976
16024
|
return;
|
|
15977
16025
|
if (Ka.get(n))
|
|
15978
16026
|
return Ka.get(n);
|
|
15979
|
-
const t = n.replace(/FromIndex$/, ""), i = n !== t, r =
|
|
16027
|
+
const t = n.replace(/FromIndex$/, ""), i = n !== t, r = Ob.includes(t);
|
|
15980
16028
|
if (
|
|
15981
16029
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
15982
|
-
!(t in (i ? IDBIndex : IDBObjectStore).prototype) || !(r ||
|
|
16030
|
+
!(t in (i ? IDBIndex : IDBObjectStore).prototype) || !(r || Mb.includes(t))
|
|
15983
16031
|
)
|
|
15984
16032
|
return;
|
|
15985
16033
|
const o = async function(a, ...d) {
|
|
@@ -16941,7 +16989,7 @@ async function ef(e, n, t) {
|
|
|
16941
16989
|
e._canInitEmulator = !1;
|
|
16942
16990
|
const i = Object.assign(Object.assign({}, Sv), n);
|
|
16943
16991
|
try {
|
|
16944
|
-
const r = new
|
|
16992
|
+
const r = new Mv(e), o = await Promise.race([
|
|
16945
16993
|
t(),
|
|
16946
16994
|
r.promise
|
|
16947
16995
|
]);
|
|
@@ -16980,7 +17028,7 @@ function nf(e, n, t, i) {
|
|
|
16980
17028
|
const r = `${n}${t}?${i}`;
|
|
16981
17029
|
return e.config.emulator ? cd(e.config, r) : `${e.config.apiScheme}://${r}`;
|
|
16982
17030
|
}
|
|
16983
|
-
class
|
|
17031
|
+
class Mv {
|
|
16984
17032
|
constructor(n) {
|
|
16985
17033
|
this.auth = n, this.timer = null, this.promise = new Promise((t, i) => {
|
|
16986
17034
|
this.timer = setTimeout(() => i(ke(
|
|
@@ -17018,7 +17066,7 @@ function tr(e, n, t) {
|
|
|
17018
17066
|
* See the License for the specific language governing permissions and
|
|
17019
17067
|
* limitations under the License.
|
|
17020
17068
|
*/
|
|
17021
|
-
async function
|
|
17069
|
+
async function Ov(e, n) {
|
|
17022
17070
|
return ln(e, "POST", "/v1/accounts:delete", n);
|
|
17023
17071
|
}
|
|
17024
17072
|
async function rf(e, n) {
|
|
@@ -17492,7 +17540,7 @@ class tt {
|
|
|
17492
17540
|
if ($e(this.auth.app))
|
|
17493
17541
|
return Promise.reject(vt(this.auth));
|
|
17494
17542
|
const n = await this.getIdToken();
|
|
17495
|
-
return await Li(this,
|
|
17543
|
+
return await Li(this, Ov(this.auth, { idToken: n })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
|
17496
17544
|
}
|
|
17497
17545
|
toJSON() {
|
|
17498
17546
|
return Object.assign(Object.assign({
|
|
@@ -17520,7 +17568,7 @@ class tt {
|
|
|
17520
17568
|
}
|
|
17521
17569
|
static _fromJSON(n, t) {
|
|
17522
17570
|
var i, r, o, a, d, u, g, v;
|
|
17523
|
-
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, B = (a = t.photoURL) !== null && a !== void 0 ? a : void 0,
|
|
17571
|
+
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, B = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, M = (d = t.tenantId) !== null && d !== void 0 ? d : void 0, S = (u = t._redirectEventId) !== null && u !== void 0 ? u : void 0, W = (g = t.createdAt) !== null && g !== void 0 ? g : void 0, Z = (v = t.lastLoginAt) !== null && v !== void 0 ? v : void 0, { uid: H, emailVerified: V, isAnonymous: x, providerData: te, stsTokenManager: ge } = t;
|
|
17524
17572
|
U(
|
|
17525
17573
|
H && ge,
|
|
17526
17574
|
n,
|
|
@@ -17543,7 +17591,7 @@ class tt {
|
|
|
17543
17591
|
n,
|
|
17544
17592
|
"internal-error"
|
|
17545
17593
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
17546
|
-
), ct(R, n.name), ct(B, n.name), ct(
|
|
17594
|
+
), ct(R, n.name), ct(B, n.name), ct(M, n.name), ct(S, n.name), ct(W, n.name), ct(Z, n.name);
|
|
17547
17595
|
const p = new tt({
|
|
17548
17596
|
uid: H,
|
|
17549
17597
|
auth: n,
|
|
@@ -17553,7 +17601,7 @@ class tt {
|
|
|
17553
17601
|
isAnonymous: x,
|
|
17554
17602
|
photoURL: B,
|
|
17555
17603
|
phoneNumber: R,
|
|
17556
|
-
tenantId:
|
|
17604
|
+
tenantId: M,
|
|
17557
17605
|
stsTokenManager: ae,
|
|
17558
17606
|
createdAt: W,
|
|
17559
17607
|
lastLoginAt: Z
|
|
@@ -20219,7 +20267,7 @@ class BF extends Tf {
|
|
|
20219
20267
|
let n = dr.get(this.auth._key());
|
|
20220
20268
|
if (!n) {
|
|
20221
20269
|
try {
|
|
20222
|
-
const i = await
|
|
20270
|
+
const i = await MF(this.resolver, this.auth) ? await super.execute() : null;
|
|
20223
20271
|
n = () => Promise.resolve(i);
|
|
20224
20272
|
} catch (t) {
|
|
20225
20273
|
n = () => Promise.reject(t);
|
|
@@ -20247,14 +20295,14 @@ class BF extends Tf {
|
|
|
20247
20295
|
cleanUp() {
|
|
20248
20296
|
}
|
|
20249
20297
|
}
|
|
20250
|
-
async function
|
|
20298
|
+
async function MF(e, n) {
|
|
20251
20299
|
const t = NF(n), i = wF(e);
|
|
20252
20300
|
if (!await i._isAvailable())
|
|
20253
20301
|
return !1;
|
|
20254
20302
|
const r = await i._get(t) === "true";
|
|
20255
20303
|
return await i._remove(t), r;
|
|
20256
20304
|
}
|
|
20257
|
-
function
|
|
20305
|
+
function OF(e, n) {
|
|
20258
20306
|
dr.set(e._key(), n);
|
|
20259
20307
|
}
|
|
20260
20308
|
function wF(e) {
|
|
@@ -20694,7 +20742,7 @@ function uE({ config: e }) {
|
|
|
20694
20742
|
const _a = "webStorageSupport";
|
|
20695
20743
|
class mE {
|
|
20696
20744
|
constructor() {
|
|
20697
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = If, this._completeRedirectFn = jF, this._overrideRedirectResult =
|
|
20745
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = If, this._completeRedirectFn = jF, this._overrideRedirectResult = OF;
|
|
20698
20746
|
}
|
|
20699
20747
|
// Wrapping in async even though we don't await anywhere in order
|
|
20700
20748
|
// to make sure errors are raised as promise rejections
|
|
@@ -21059,10 +21107,10 @@ function SE(e) {
|
|
|
21059
21107
|
function BE(e) {
|
|
21060
21108
|
return new ce(de.INVALID_DEFAULT_BUCKET, "Invalid default bucket '" + e + "'.");
|
|
21061
21109
|
}
|
|
21062
|
-
function
|
|
21110
|
+
function ME() {
|
|
21063
21111
|
return new ce(de.NO_DEFAULT_BUCKET, "No default bucket found. Did you set the '" + Bf + "' property when initializing the app?");
|
|
21064
21112
|
}
|
|
21065
|
-
function
|
|
21113
|
+
function OE() {
|
|
21066
21114
|
return new ce(de.CANNOT_SLICE_BLOB, "Cannot slice blob for upload. Please retry the upload.");
|
|
21067
21115
|
}
|
|
21068
21116
|
function wE(e) {
|
|
@@ -21071,7 +21119,7 @@ function wE(e) {
|
|
|
21071
21119
|
function gs(e) {
|
|
21072
21120
|
return new ce(de.INVALID_ARGUMENT, e);
|
|
21073
21121
|
}
|
|
21074
|
-
function
|
|
21122
|
+
function Mf() {
|
|
21075
21123
|
return new ce(de.APP_DELETED, "The Firebase app was deleted.");
|
|
21076
21124
|
}
|
|
21077
21125
|
function NE(e) {
|
|
@@ -21080,7 +21128,7 @@ function NE(e) {
|
|
|
21080
21128
|
function Vi(e, n) {
|
|
21081
21129
|
return new ce(de.INVALID_FORMAT, "String does not match format '" + e + "': " + n);
|
|
21082
21130
|
}
|
|
21083
|
-
function
|
|
21131
|
+
function Oi(e) {
|
|
21084
21132
|
throw new ce(de.INTERNAL_ERROR, "Internal error: " + e);
|
|
21085
21133
|
}
|
|
21086
21134
|
/**
|
|
@@ -21137,7 +21185,7 @@ class ze {
|
|
|
21137
21185
|
function g(V) {
|
|
21138
21186
|
V.path_ = decodeURIComponent(V.path);
|
|
21139
21187
|
}
|
|
21140
|
-
const v = "v[A-Za-z0-9_]+", F = t.replace(/[.]/g, "\\."), D = "(/([^?#]*).*)?$", R = new RegExp(`^https?://${F}/${v}/b/${r}/o${D}`, "i"), B = { bucket: 1, path: 3 },
|
|
21188
|
+
const v = "v[A-Za-z0-9_]+", F = t.replace(/[.]/g, "\\."), D = "(/([^?#]*).*)?$", R = new RegExp(`^https?://${F}/${v}/b/${r}/o${D}`, "i"), B = { bucket: 1, path: 3 }, M = t === Sf ? "(?:storage.googleapis.com|storage.cloud.google.com)" : t, S = "([^?#]*)", W = new RegExp(`^https?://${M}/${r}/${S}`, "i"), H = [
|
|
21141
21189
|
{ regex: d, indices: u, postModify: o },
|
|
21142
21190
|
{
|
|
21143
21191
|
regex: R,
|
|
@@ -21227,12 +21275,12 @@ function kE(e, n, t) {
|
|
|
21227
21275
|
d === 1 ? (d = 2, H = 0) : H = (i + Math.random()) * 1e3, F(H);
|
|
21228
21276
|
}
|
|
21229
21277
|
let B = !1;
|
|
21230
|
-
function
|
|
21278
|
+
function M(S) {
|
|
21231
21279
|
B || (B = !0, D(), !g && (r !== null ? (S || (d = 2), clearTimeout(r), F(0)) : S || (d = 1)));
|
|
21232
21280
|
}
|
|
21233
21281
|
return F(0), o = setTimeout(() => {
|
|
21234
|
-
a = !0,
|
|
21235
|
-
}, t),
|
|
21282
|
+
a = !0, M(!0);
|
|
21283
|
+
}, t), M;
|
|
21236
21284
|
}
|
|
21237
21285
|
function VE(e) {
|
|
21238
21286
|
e(!1);
|
|
@@ -21259,7 +21307,7 @@ function UE(e) {
|
|
|
21259
21307
|
function qE(e) {
|
|
21260
21308
|
return typeof e == "object" && !Array.isArray(e);
|
|
21261
21309
|
}
|
|
21262
|
-
function
|
|
21310
|
+
function Of(e) {
|
|
21263
21311
|
return typeof e == "string" || e instanceof String;
|
|
21264
21312
|
}
|
|
21265
21313
|
function hg(e) {
|
|
@@ -21394,7 +21442,7 @@ class HE {
|
|
|
21394
21442
|
const u = Ad();
|
|
21395
21443
|
u.serverResponse = d.getErrorText(), this.errorCallback_ ? a(this.errorCallback_(d, u)) : a(u);
|
|
21396
21444
|
} else if (r.canceled) {
|
|
21397
|
-
const u = this.appDelete_ ?
|
|
21445
|
+
const u = this.appDelete_ ? Mf() : RE();
|
|
21398
21446
|
a(u);
|
|
21399
21447
|
} else {
|
|
21400
21448
|
const u = TE();
|
|
@@ -21673,7 +21721,7 @@ class At {
|
|
|
21673
21721
|
const t = n.map((i) => i instanceof At ? i.data_ : i);
|
|
21674
21722
|
return new At(xE.apply(null, t));
|
|
21675
21723
|
} else {
|
|
21676
|
-
const t = n.map((a) =>
|
|
21724
|
+
const t = n.map((a) => Of(a) ? eI(je.RAW, a).data : a.data_);
|
|
21677
21725
|
let i = 0;
|
|
21678
21726
|
t.forEach((a) => {
|
|
21679
21727
|
i += a.byteLength;
|
|
@@ -21771,7 +21819,7 @@ class fe {
|
|
|
21771
21819
|
}
|
|
21772
21820
|
let ir = null;
|
|
21773
21821
|
function lI(e) {
|
|
21774
|
-
return !
|
|
21822
|
+
return !Of(e) || e.length < 2 ? e : kf(e);
|
|
21775
21823
|
}
|
|
21776
21824
|
function cI() {
|
|
21777
21825
|
if (ir)
|
|
@@ -21886,8 +21934,8 @@ Content-Type: ` + g.contentType + `\r
|
|
|
21886
21934
|
`, D = `\r
|
|
21887
21935
|
--` + u + "--", R = At.getBlob(F, i, D);
|
|
21888
21936
|
if (R === null)
|
|
21889
|
-
throw
|
|
21890
|
-
const B = { name: g.fullPath },
|
|
21937
|
+
throw OE();
|
|
21938
|
+
const B = { name: g.fullPath }, M = GE(o, e.host, e._protocol), S = "POST", W = e.maxUploadRetryTime, Z = new fI(M, S, pI(e, t), W);
|
|
21891
21939
|
return Z.urlParams = B, Z.headers = a, Z.body = R.uploadData(), Z.errorHandler = yI(n), Z;
|
|
21892
21940
|
}
|
|
21893
21941
|
class EI {
|
|
@@ -21904,7 +21952,7 @@ class EI {
|
|
|
21904
21952
|
}
|
|
21905
21953
|
send(n, t, i, r) {
|
|
21906
21954
|
if (this.sent_)
|
|
21907
|
-
throw
|
|
21955
|
+
throw Oi("cannot .send() more than once");
|
|
21908
21956
|
if (this.sent_ = !0, this.xhr_.open(t, n, !0), r !== void 0)
|
|
21909
21957
|
for (const o in r)
|
|
21910
21958
|
r.hasOwnProperty(o) && this.xhr_.setRequestHeader(o, r[o].toString());
|
|
@@ -21912,12 +21960,12 @@ class EI {
|
|
|
21912
21960
|
}
|
|
21913
21961
|
getErrorCode() {
|
|
21914
21962
|
if (!this.sent_)
|
|
21915
|
-
throw
|
|
21963
|
+
throw Oi("cannot .getErrorCode() before sending");
|
|
21916
21964
|
return this.errorCode_;
|
|
21917
21965
|
}
|
|
21918
21966
|
getStatus() {
|
|
21919
21967
|
if (!this.sent_)
|
|
21920
|
-
throw
|
|
21968
|
+
throw Oi("cannot .getStatus() before sending");
|
|
21921
21969
|
try {
|
|
21922
21970
|
return this.xhr_.status;
|
|
21923
21971
|
} catch {
|
|
@@ -21926,12 +21974,12 @@ class EI {
|
|
|
21926
21974
|
}
|
|
21927
21975
|
getResponse() {
|
|
21928
21976
|
if (!this.sent_)
|
|
21929
|
-
throw
|
|
21977
|
+
throw Oi("cannot .getResponse() before sending");
|
|
21930
21978
|
return this.xhr_.response;
|
|
21931
21979
|
}
|
|
21932
21980
|
getErrorText() {
|
|
21933
21981
|
if (!this.sent_)
|
|
21934
|
-
throw
|
|
21982
|
+
throw Oi("cannot .getErrorText() before sending");
|
|
21935
21983
|
return this.xhr_.statusText;
|
|
21936
21984
|
}
|
|
21937
21985
|
/** Aborts the request. */
|
|
@@ -22076,7 +22124,7 @@ function Vf(e, n) {
|
|
|
22076
22124
|
if (e instanceof yd) {
|
|
22077
22125
|
const t = e;
|
|
22078
22126
|
if (t._bucket == null)
|
|
22079
|
-
throw
|
|
22127
|
+
throw ME();
|
|
22080
22128
|
const i = new Qt(t, t._bucket);
|
|
22081
22129
|
return n != null ? Vf(i, n) : i;
|
|
22082
22130
|
} else
|
|
@@ -22180,7 +22228,7 @@ class yd {
|
|
|
22180
22228
|
*/
|
|
22181
22229
|
_makeRequest(n, t, i, r, o = !0) {
|
|
22182
22230
|
if (this._deleted)
|
|
22183
|
-
return new jE(
|
|
22231
|
+
return new jE(Mf());
|
|
22184
22232
|
{
|
|
22185
22233
|
const a = KE(n, this._appId, i, r, t, this._firebaseVersion, o);
|
|
22186
22234
|
return this._requests.add(a), a.getPromise().then(() => this._requests.delete(a), () => this._requests.delete(a)), a;
|
|
@@ -22212,10 +22260,10 @@ const pg = "@firebase/storage", yg = "0.13.2";
|
|
|
22212
22260
|
* limitations under the License.
|
|
22213
22261
|
*/
|
|
22214
22262
|
const Uf = "storage";
|
|
22215
|
-
function
|
|
22263
|
+
function MC(e, n, t) {
|
|
22216
22264
|
return e = qe(e), CI(e, n, t);
|
|
22217
22265
|
}
|
|
22218
|
-
function
|
|
22266
|
+
function OC(e, n) {
|
|
22219
22267
|
return e = qe(e), RI(e, n);
|
|
22220
22268
|
}
|
|
22221
22269
|
function BI(e = sd(), n) {
|
|
@@ -22223,19 +22271,19 @@ function BI(e = sd(), n) {
|
|
|
22223
22271
|
const i = ad(e, Uf).getImmediate({
|
|
22224
22272
|
identifier: n
|
|
22225
22273
|
}), r = _y("storage");
|
|
22226
|
-
return r &&
|
|
22274
|
+
return r && MI(i, ...r), i;
|
|
22227
22275
|
}
|
|
22228
|
-
function
|
|
22276
|
+
function MI(e, n, t, i = {}) {
|
|
22229
22277
|
SI(e, n, t, i);
|
|
22230
22278
|
}
|
|
22231
|
-
function
|
|
22279
|
+
function OI(e, { instanceIdentifier: n }) {
|
|
22232
22280
|
const t = e.getProvider("app").getImmediate(), i = e.getProvider("auth-internal"), r = e.getProvider("app-check-internal");
|
|
22233
22281
|
return new yd(t, i, r, n, dn);
|
|
22234
22282
|
}
|
|
22235
22283
|
function wI() {
|
|
22236
22284
|
nn(new Ht(
|
|
22237
22285
|
Uf,
|
|
22238
|
-
|
|
22286
|
+
OI,
|
|
22239
22287
|
"PUBLIC"
|
|
22240
22288
|
/* ComponentType.PUBLIC */
|
|
22241
22289
|
).setMultipleInstances(!0)), bt(pg, yg, ""), bt(pg, yg, "esm2017");
|
|
@@ -23413,7 +23461,7 @@ function Ez() {
|
|
|
23413
23461
|
function F(p) {
|
|
23414
23462
|
return function(E, C) {
|
|
23415
23463
|
if (!d(C) || !C.length) return p(E, C);
|
|
23416
|
-
for (var z = 0,
|
|
23464
|
+
for (var z = 0, O = C.length; z < O; z++)
|
|
23417
23465
|
if (p(E, v(C, z))) return !0;
|
|
23418
23466
|
return !1;
|
|
23419
23467
|
};
|
|
@@ -23421,7 +23469,7 @@ function Ez() {
|
|
|
23421
23469
|
function D(p) {
|
|
23422
23470
|
return function(E, C) {
|
|
23423
23471
|
if (!d(C) || !C.length) return p(E, C);
|
|
23424
|
-
for (var z = 0,
|
|
23472
|
+
for (var z = 0, O = C.length; z < O; z++)
|
|
23425
23473
|
if (!p(E, v(C, z))) return !1;
|
|
23426
23474
|
return !0;
|
|
23427
23475
|
};
|
|
@@ -23470,16 +23518,16 @@ function Ez() {
|
|
|
23470
23518
|
return !!E && p === E.length;
|
|
23471
23519
|
},
|
|
23472
23520
|
$or: function(p, E, C, z) {
|
|
23473
|
-
for (var
|
|
23474
|
-
if (R(v(p,
|
|
23521
|
+
for (var O = 0, N = p.length; O < N; O++)
|
|
23522
|
+
if (R(v(p, O), E, C, z)) return !0;
|
|
23475
23523
|
return !1;
|
|
23476
23524
|
},
|
|
23477
23525
|
$nor: function(p, E, C, z) {
|
|
23478
23526
|
return !B.$or(p, E, C, z);
|
|
23479
23527
|
},
|
|
23480
23528
|
$and: function(p, E, C, z) {
|
|
23481
|
-
for (var
|
|
23482
|
-
if (!R(v(p,
|
|
23529
|
+
for (var O = 0, N = p.length; O < N; O++)
|
|
23530
|
+
if (!R(v(p, O), E, C, z)) return !1;
|
|
23483
23531
|
return !0;
|
|
23484
23532
|
},
|
|
23485
23533
|
$regex: F(function(p, E) {
|
|
@@ -23489,18 +23537,18 @@ function Ez() {
|
|
|
23489
23537
|
return p.call(E, E, C, z);
|
|
23490
23538
|
},
|
|
23491
23539
|
$elemMatch: function(p, E, C, z) {
|
|
23492
|
-
return d(E) ? !!~function(
|
|
23493
|
-
for (var q = 0; q <
|
|
23494
|
-
if (v(
|
|
23540
|
+
return d(E) ? !!~function(O, N) {
|
|
23541
|
+
for (var q = 0; q < O.length; q++)
|
|
23542
|
+
if (v(O, q), R(N, v(O, q))) return q;
|
|
23495
23543
|
return -1;
|
|
23496
23544
|
}(E, p) : R(p, E, C, z);
|
|
23497
23545
|
},
|
|
23498
23546
|
$exists: function(p, E, C, z) {
|
|
23499
23547
|
return z.hasOwnProperty(C) === p;
|
|
23500
23548
|
}
|
|
23501
|
-
},
|
|
23549
|
+
}, M = {
|
|
23502
23550
|
$eq: function(p, E, C) {
|
|
23503
|
-
var z = C.comparable,
|
|
23551
|
+
var z = C.comparable, O = C.compare;
|
|
23504
23552
|
return p instanceof RegExp ? F(function(N) {
|
|
23505
23553
|
return typeof N == "string" && p.test(N);
|
|
23506
23554
|
}) : p instanceof Function ? F(p) : d(p) && !p.length ? F(function(N) {
|
|
@@ -23509,42 +23557,42 @@ function Ez() {
|
|
|
23509
23557
|
p === null ? function(N) {
|
|
23510
23558
|
return N == null;
|
|
23511
23559
|
} : function(N) {
|
|
23512
|
-
return
|
|
23560
|
+
return O(z(N), z(p)) === 0;
|
|
23513
23561
|
}
|
|
23514
23562
|
);
|
|
23515
23563
|
},
|
|
23516
23564
|
$gt: function(p, E, C) {
|
|
23517
|
-
var z = C.comparable,
|
|
23565
|
+
var z = C.comparable, O = C.compare;
|
|
23518
23566
|
return function(N) {
|
|
23519
|
-
return
|
|
23567
|
+
return O(z(N), z(p)) > 0;
|
|
23520
23568
|
};
|
|
23521
23569
|
},
|
|
23522
23570
|
$gte: function(p, E, C) {
|
|
23523
|
-
var z = C.comparable,
|
|
23571
|
+
var z = C.comparable, O = C.compare;
|
|
23524
23572
|
return function(N) {
|
|
23525
|
-
return
|
|
23573
|
+
return O(z(N), z(p)) >= 0;
|
|
23526
23574
|
};
|
|
23527
23575
|
},
|
|
23528
23576
|
$lt: function(p, E, C) {
|
|
23529
|
-
var z = C.comparable,
|
|
23577
|
+
var z = C.comparable, O = C.compare;
|
|
23530
23578
|
return function(N) {
|
|
23531
|
-
return
|
|
23579
|
+
return O(z(N), z(p)) < 0;
|
|
23532
23580
|
};
|
|
23533
23581
|
},
|
|
23534
23582
|
$lte: function(p, E, C) {
|
|
23535
|
-
var z = C.comparable,
|
|
23583
|
+
var z = C.comparable, O = C.compare;
|
|
23536
23584
|
return function(N) {
|
|
23537
|
-
return
|
|
23585
|
+
return O(z(N), z(p)) <= 0;
|
|
23538
23586
|
};
|
|
23539
23587
|
},
|
|
23540
23588
|
$in: function(p, E, C) {
|
|
23541
23589
|
var z = C.comparable;
|
|
23542
|
-
return function(
|
|
23543
|
-
if (!(
|
|
23544
|
-
var N = z(
|
|
23545
|
-
if (N ===
|
|
23590
|
+
return function(O) {
|
|
23591
|
+
if (!(O instanceof Array)) {
|
|
23592
|
+
var N = z(O);
|
|
23593
|
+
if (N === O && o(O) === "object") {
|
|
23546
23594
|
for (G = p.length; G--; )
|
|
23547
|
-
if (String(p[G]) === String(
|
|
23595
|
+
if (String(p[G]) === String(O) && String(O) !== "[object Object]")
|
|
23548
23596
|
return !0;
|
|
23549
23597
|
}
|
|
23550
23598
|
if (N === void 0) {
|
|
@@ -23557,15 +23605,15 @@ function Ez() {
|
|
|
23557
23605
|
}
|
|
23558
23606
|
return !!~p.indexOf(N);
|
|
23559
23607
|
}
|
|
23560
|
-
for (var G =
|
|
23561
|
-
if (~p.indexOf(z(v(
|
|
23608
|
+
for (var G = O.length; G--; )
|
|
23609
|
+
if (~p.indexOf(z(v(O, G)))) return !0;
|
|
23562
23610
|
return !1;
|
|
23563
23611
|
};
|
|
23564
23612
|
},
|
|
23565
23613
|
$nin: function(p, E, C) {
|
|
23566
|
-
var z =
|
|
23567
|
-
return function(
|
|
23568
|
-
return !z(
|
|
23614
|
+
var z = M.$in(p, E, C);
|
|
23615
|
+
return function(O, N, q, G) {
|
|
23616
|
+
return !z(O, N, q, G);
|
|
23569
23617
|
};
|
|
23570
23618
|
},
|
|
23571
23619
|
$mod: function(p) {
|
|
@@ -23574,16 +23622,16 @@ function Ez() {
|
|
|
23574
23622
|
};
|
|
23575
23623
|
},
|
|
23576
23624
|
$ne: function(p, E, C) {
|
|
23577
|
-
var z =
|
|
23578
|
-
return D(function(
|
|
23579
|
-
return !z(
|
|
23625
|
+
var z = M.$eq(p, E, C);
|
|
23626
|
+
return D(function(O, N, q, G) {
|
|
23627
|
+
return !z(O, N, q, G);
|
|
23580
23628
|
});
|
|
23581
23629
|
},
|
|
23582
23630
|
$and: function(p, E, C) {
|
|
23583
23631
|
return p.map(H(C));
|
|
23584
23632
|
},
|
|
23585
23633
|
$all: function(p, E, C) {
|
|
23586
|
-
return
|
|
23634
|
+
return M.$and(p, E, C);
|
|
23587
23635
|
},
|
|
23588
23636
|
$or: function(p, E, C) {
|
|
23589
23637
|
return p.map(H(C));
|
|
@@ -23593,8 +23641,8 @@ function Ez() {
|
|
|
23593
23641
|
},
|
|
23594
23642
|
$not: function(p, E, C) {
|
|
23595
23643
|
var z = H(C)(p);
|
|
23596
|
-
return function(
|
|
23597
|
-
return !R(z,
|
|
23644
|
+
return function(O, N, q) {
|
|
23645
|
+
return !R(z, O, N, q);
|
|
23598
23646
|
};
|
|
23599
23647
|
},
|
|
23600
23648
|
$type: function(p) {
|
|
@@ -23622,7 +23670,7 @@ function Ez() {
|
|
|
23622
23670
|
return { options: p, validate: E };
|
|
23623
23671
|
}
|
|
23624
23672
|
function W(p, E) {
|
|
23625
|
-
var C = p.keyPath, z = p.child,
|
|
23673
|
+
var C = p.keyPath, z = p.child, O = p.query, N = [];
|
|
23626
23674
|
if (function we(Fe, Ne, dt, Kt, lt) {
|
|
23627
23675
|
if (dt === Ne.length || Fe == null)
|
|
23628
23676
|
return void lt.push([Fe, Ne[dt - 1], Kt]);
|
|
@@ -23634,7 +23682,7 @@ function Ez() {
|
|
|
23634
23682
|
var q = N[0];
|
|
23635
23683
|
return R(z, q[0], q[1], q[2]);
|
|
23636
23684
|
}
|
|
23637
|
-
for (var G =
|
|
23685
|
+
for (var G = O && O.$ne !== void 0, K = G, se = 0; se < N.length; se++) {
|
|
23638
23686
|
var ye = N[se], Ce = R(z, ye[0], ye[1], ye[2]);
|
|
23639
23687
|
G ? K &= Ce : K |= Ce;
|
|
23640
23688
|
}
|
|
@@ -23647,14 +23695,14 @@ function Ez() {
|
|
|
23647
23695
|
var E = p.comparable, C = p.expressions, z = function(q) {
|
|
23648
23696
|
var G;
|
|
23649
23697
|
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;
|
|
23650
|
-
},
|
|
23698
|
+
}, O = function(q) {
|
|
23651
23699
|
q = E(q);
|
|
23652
23700
|
var G = [];
|
|
23653
23701
|
for (var K in q) {
|
|
23654
23702
|
var se = q[K];
|
|
23655
23703
|
if (K !== "$options") {
|
|
23656
23704
|
var ye = B[K] || p && C && C[K];
|
|
23657
|
-
if (ye)
|
|
23705
|
+
if (ye) M[K] && (se = M[K](se, q, p)), G.push(S(E(se), ye));
|
|
23658
23706
|
else {
|
|
23659
23707
|
if (K.charCodeAt(0) === 36)
|
|
23660
23708
|
throw new Error("Unknown operation " + K);
|
|
@@ -23669,10 +23717,10 @@ function Ez() {
|
|
|
23669
23717
|
if (!u(K)) return se;
|
|
23670
23718
|
for (var ye in K) se.push(ye), G(K[ye], se);
|
|
23671
23719
|
return se;
|
|
23672
|
-
}(q, []).join(",").search(/[$.]/) === -1 ? S(q, V) :
|
|
23720
|
+
}(q, []).join(",").search(/[$.]/) === -1 ? S(q, V) : O(q);
|
|
23673
23721
|
};
|
|
23674
23722
|
return function(q) {
|
|
23675
|
-
return
|
|
23723
|
+
return O(z(q));
|
|
23676
23724
|
};
|
|
23677
23725
|
}
|
|
23678
23726
|
function V(p, E) {
|
|
@@ -23685,7 +23733,7 @@ function Ez() {
|
|
|
23685
23733
|
}
|
|
23686
23734
|
if (d(p)) {
|
|
23687
23735
|
if (p.length !== E.length) return !1;
|
|
23688
|
-
for (var z = 0,
|
|
23736
|
+
for (var z = 0, O = p.length; z < O; z++)
|
|
23689
23737
|
if (!V(p[z], E[z])) return !1;
|
|
23690
23738
|
return !0;
|
|
23691
23739
|
}
|
|
@@ -23695,15 +23743,15 @@ function Ez() {
|
|
|
23695
23743
|
var C = H(E)(p);
|
|
23696
23744
|
return E && E.select && (C = {
|
|
23697
23745
|
options: C,
|
|
23698
|
-
validate: function(z,
|
|
23699
|
-
return R(z,
|
|
23746
|
+
validate: function(z, O, N, q) {
|
|
23747
|
+
return R(z, O && E.select(O), N, q);
|
|
23700
23748
|
}
|
|
23701
23749
|
}), C;
|
|
23702
23750
|
}
|
|
23703
23751
|
function te(p, E) {
|
|
23704
23752
|
var C = x(p, E = Object.assign({ compare: ge, comparable: ae }, E));
|
|
23705
|
-
return function(z,
|
|
23706
|
-
return R(C, z,
|
|
23753
|
+
return function(z, O, N) {
|
|
23754
|
+
return R(C, z, O, N);
|
|
23707
23755
|
};
|
|
23708
23756
|
}
|
|
23709
23757
|
function ge(p, E) {
|
|
@@ -23841,10 +23889,10 @@ function Bz(e) {
|
|
|
23841
23889
|
var n = typeof e == "object" ? e.constructor : e;
|
|
23842
23890
|
return n.modelName || n.name;
|
|
23843
23891
|
}
|
|
23844
|
-
function
|
|
23892
|
+
function Mz(e) {
|
|
23845
23893
|
return JSON.parse(JSON.stringify(e));
|
|
23846
23894
|
}
|
|
23847
|
-
var
|
|
23895
|
+
var Oz = /[-/\\^$+?.()|[\]{}]/g, wz = /\.?\*+\.?/g, Nz = /\*+/, jz = /\./g;
|
|
23848
23896
|
function kz(e, n, t) {
|
|
23849
23897
|
var i = t[0] === "*" || e[0] === "." && e[e.length - 1] === "." ? "+" : "*", r = e.indexOf("**") === -1 ? "[^.]" : ".", o = e.replace(jz, "\\$&").replace(Nz, r + i);
|
|
23850
23898
|
return n + e.length === t.length ? "(?:" + o + ")?" : o;
|
|
@@ -23854,7 +23902,7 @@ function Vz(e, n, t) {
|
|
|
23854
23902
|
}
|
|
23855
23903
|
function Uz(e) {
|
|
23856
23904
|
var n = e.map(function(i) {
|
|
23857
|
-
return i.replace(
|
|
23905
|
+
return i.replace(Oz, Vz).replace(wz, kz);
|
|
23858
23906
|
}), t = n.length > 1 ? "(?:" + n.join("|") + ")" : n[0];
|
|
23859
23907
|
return new RegExp("^" + t + "$");
|
|
23860
23908
|
}
|
|
@@ -23899,7 +23947,7 @@ var Gz = /* @__PURE__ */ function() {
|
|
|
23899
23947
|
indexedRules: /* @__PURE__ */ Object.create(null),
|
|
23900
23948
|
mergedRules: /* @__PURE__ */ Object.create(null),
|
|
23901
23949
|
events: {},
|
|
23902
|
-
aliases:
|
|
23950
|
+
aliases: Mz(Eg)
|
|
23903
23951
|
}, this.update(t);
|
|
23904
23952
|
}
|
|
23905
23953
|
var n = e.prototype;
|
|
@@ -23920,8 +23968,8 @@ var Gz = /* @__PURE__ */ function() {
|
|
|
23920
23968
|
for (var R = 0; R < F.length; R++) {
|
|
23921
23969
|
var B = F[R];
|
|
23922
23970
|
r[B] = r[B] || /* @__PURE__ */ Object.create(null);
|
|
23923
|
-
for (var
|
|
23924
|
-
var S = v[
|
|
23971
|
+
for (var M = 0; M < v.length; M++) {
|
|
23972
|
+
var S = v[M];
|
|
23925
23973
|
r[B][S] = r[B][S] || /* @__PURE__ */ Object.create(null), r[B][S][D] = g;
|
|
23926
23974
|
}
|
|
23927
23975
|
}
|
|
@@ -24044,9 +24092,9 @@ function Wz(e, n, t) {
|
|
|
24044
24092
|
o.value = !0;
|
|
24045
24093
|
});
|
|
24046
24094
|
try {
|
|
24047
|
-
const B = await e((
|
|
24095
|
+
const B = await e((M) => {
|
|
24048
24096
|
F(() => {
|
|
24049
|
-
o && (o.value = !1), R ||
|
|
24097
|
+
o && (o.value = !1), R || M();
|
|
24050
24098
|
});
|
|
24051
24099
|
});
|
|
24052
24100
|
D === v && (g.value = B);
|
|
@@ -24229,14 +24277,14 @@ const fC = "/kiosk", AC = "/kiosk/device", pC = "/kiosk/order-setting", yC = "/o
|
|
|
24229
24277
|
// allow access via either subject (coverSubject = OR fallback).
|
|
24230
24278
|
path: Ni.KioskRoute,
|
|
24231
24279
|
name: "Kiosk",
|
|
24232
|
-
component: wi(cn(() => import("./KioskView-
|
|
24280
|
+
component: wi(cn(() => import("./KioskView-CeKSWYbI.js"))),
|
|
24233
24281
|
meta: ji([{ ...Cg, coverSubject: vC.subject }])
|
|
24234
24282
|
},
|
|
24235
24283
|
{
|
|
24236
24284
|
path: Ni.KioskDeviceRoute,
|
|
24237
24285
|
name: "Kiosk Device",
|
|
24238
24286
|
component: wi(
|
|
24239
|
-
cn(() => import("./KioskDevicesView-
|
|
24287
|
+
cn(() => import("./KioskDevicesView-DvUq9eFa.js"))
|
|
24240
24288
|
),
|
|
24241
24289
|
meta: ji([Cg])
|
|
24242
24290
|
},
|
|
@@ -24246,7 +24294,7 @@ const fC = "/kiosk", AC = "/kiosk/device", pC = "/kiosk/order-setting", yC = "/o
|
|
|
24246
24294
|
path: Ni.KioskOrderSettingRoute,
|
|
24247
24295
|
name: "Kiosk Order Setting",
|
|
24248
24296
|
component: wi(
|
|
24249
|
-
cn(() => import("./KioskSettingView-
|
|
24297
|
+
cn(() => import("./KioskSettingView-Ba1sLolg.js"))
|
|
24250
24298
|
),
|
|
24251
24299
|
meta: ji([ns])
|
|
24252
24300
|
},
|
|
@@ -24254,7 +24302,7 @@ const fC = "/kiosk", AC = "/kiosk/device", pC = "/kiosk/order-setting", yC = "/o
|
|
|
24254
24302
|
path: Ni.OrderSettingView,
|
|
24255
24303
|
name: "Order Setting View",
|
|
24256
24304
|
component: wi(
|
|
24257
|
-
cn(() => import("./OrderSettingsView-
|
|
24305
|
+
cn(() => import("./OrderSettingsView-CdxkPS_V.js"))
|
|
24258
24306
|
),
|
|
24259
24307
|
meta: ji([ns])
|
|
24260
24308
|
},
|
|
@@ -24262,7 +24310,7 @@ const fC = "/kiosk", AC = "/kiosk/device", pC = "/kiosk/order-setting", yC = "/o
|
|
|
24262
24310
|
path: Ni.DisplaySystemView,
|
|
24263
24311
|
name: "Display System View",
|
|
24264
24312
|
component: wi(
|
|
24265
|
-
cn(() => import("./DisplaySystemView-
|
|
24313
|
+
cn(() => import("./DisplaySystemView-Doh1JUoe.js"))
|
|
24266
24314
|
),
|
|
24267
24315
|
meta: ji([{ ...ns, coverSubject: Ue.Subject.Business.miniProgram_brandkit }])
|
|
24268
24316
|
}
|
|
@@ -24282,7 +24330,7 @@ export {
|
|
|
24282
24330
|
Q as c,
|
|
24283
24331
|
NC as d,
|
|
24284
24332
|
Gy as e,
|
|
24285
|
-
|
|
24333
|
+
MC as f,
|
|
24286
24334
|
pp as g,
|
|
24287
24335
|
BC as h,
|
|
24288
24336
|
zC as i,
|
|
@@ -24294,7 +24342,7 @@ export {
|
|
|
24294
24342
|
qm as o,
|
|
24295
24343
|
PC as p,
|
|
24296
24344
|
DC as q,
|
|
24297
|
-
|
|
24345
|
+
OC as r,
|
|
24298
24346
|
SC as s,
|
|
24299
24347
|
TC as t,
|
|
24300
24348
|
VC as u,
|