@feedmepos/mf-order-setting 0.0.88 → 0.0.89
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-BiKFL6UY.js → DisplaySystemView-BA-5JObJ.js} +1 -1
- package/dist/{KioskDevicesView-DQPue13D.js → KioskDevicesView-CgdnW9N9.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BAe1eQvx.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-C9X9ziUm.js} +3 -3
- package/dist/KioskSettingView-CVck01e7.js +860 -0
- package/dist/{KioskView-BfTNsmN1.js → KioskView-DKY2QEh5.js} +54 -48
- package/dist/{OrderSettingsView-CowX8_oN.js → OrderSettingsView-CEPIZmHA.js} +774 -768
- package/dist/{app-DgZSoUgk.js → app-C9nnuR9O.js} +206 -190
- package/dist/app.js +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +16 -0
- package/dist/frontend/mf-order/src/main.d.ts +16 -0
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +2 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +6 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-CGJIcLNE.js → index-BaC_Douy.js} +2 -2
- package/dist/{index-CWm0u6lo.js → index-DGAU5Dhc.js} +1 -1
- package/dist/{index-DzmXxFJu.js → index-Gk7389CW.js} +1 -1
- package/dist/{order.dto-DQWf-RVV.js → order.dto-CfCfBJYu.js} +43 -6
- package/dist/package/entity/food-court/food-court.dto.d.ts +51 -121
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +10 -0
- package/dist/package/entity/kiosk/kiosk.do.d.ts +16 -16
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +19 -19
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +20 -0
- package/dist/package/entity/order/order.do.d.ts +19 -3
- package/dist/package/entity/order/order.dto.d.ts +107 -91
- package/dist/package/entity/order/order.enum.d.ts +1 -1
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +3 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +6 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +13 -0
- package/dist/package/entity/queue/queue.dto.d.ts +23 -36
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +10 -15
- package/dist/package/entity/websocket/websocket.dto.d.ts +12 -0
- package/package.json +1 -1
- package/src/locales/en-US.json +4 -0
- package/src/locales/ja-JP.json +4 -0
- package/src/locales/th-TH.json +4 -0
- package/src/locales/zh-CN.json +4 -0
- package/src/modules/order-setting/kiosk/interface.ts +10 -0
- package/src/stores/order-setting/mapper.spec.ts +21 -0
- package/src/stores/order-setting/mapper.ts +8 -2
- package/src/views/kiosk/settings/KioskSettingView.vue +37 -0
- package/src/views/order-settings/delivery/delivery.spec.ts +23 -3
- package/src/views/order-settings/delivery/delivery.ts +4 -0
- package/dist/KioskSettingView-M3pBFSwt.js +0 -839
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as es, defineComponent as fs, onMounted as qA, resolveComponent as GA, openBlock as As, createElementBlock as bg, createVNode as YA, isRef as LA, shallowRef as HA, watchEffect as ZA, computed as ur, h as Id, unref as Yt, createBlock as
|
|
1
|
+
import { ref as es, defineComponent as fs, onMounted as qA, resolveComponent as GA, openBlock as As, createElementBlock as bg, createVNode as YA, isRef as LA, shallowRef as HA, watchEffect as ZA, computed as ur, h as Id, unref as Yt, createBlock as WA, renderSlot as QA, createCommentVNode as XA, createElementVNode as xt, toDisplayString as zd, defineAsyncComponent as un } from "vue";
|
|
2
2
|
import { useCoreStore as vr, useI18n as KA } from "@feedmepos/mf-common";
|
|
3
3
|
import { useRoute as JA } from "vue-router";
|
|
4
4
|
const xA = {
|
|
@@ -386,6 +386,10 @@ const xA = {
|
|
|
386
386
|
osVersion: "OS Version",
|
|
387
387
|
otaChannel: "OTA channel",
|
|
388
388
|
otaChannelHint: "Optional. Leave blank to use the default OTA feed.",
|
|
389
|
+
minWeighGrams: "Minimum weight",
|
|
390
|
+
minWeighGramsLabel: "Minimum weight (g)",
|
|
391
|
+
minWeighGramsPlaceholder: "No minimum",
|
|
392
|
+
minWeighGramsHint: "For items sold by weight. The kiosk will not sell a lighter portion. Leave empty for no minimum (any weight above 0 g, like POS).",
|
|
389
393
|
other: "Other",
|
|
390
394
|
onlinePaxDialog: "Pax Dialog (Online Ordering)",
|
|
391
395
|
onlinePaxDialogSublabel: "Ask customers for the number of people when they order online. POS keeps its own pax dialog setting.",
|
|
@@ -1226,6 +1230,10 @@ const xA = {
|
|
|
1226
1230
|
deviceDetails: "设备详情",
|
|
1227
1231
|
otaChannel: "OTA 渠道",
|
|
1228
1232
|
otaChannelHint: "可选。留空将使用默认的 OTA 源。",
|
|
1233
|
+
minWeighGrams: "最低重量",
|
|
1234
|
+
minWeighGramsLabel: "最低重量(克)",
|
|
1235
|
+
minWeighGramsPlaceholder: "不设最低",
|
|
1236
|
+
minWeighGramsHint: "适用于按重量出售的商品。自助点餐机不会出售低于此重量的份量。留空则不设最低(与 POS 相同,只要大于 0 克即可)。",
|
|
1229
1237
|
dineIn: "堂食",
|
|
1230
1238
|
dineInCanTakeaway: "允许外带",
|
|
1231
1239
|
driveThru: "得来速",
|
|
@@ -2172,6 +2180,10 @@ const xA = {
|
|
|
2172
2180
|
deviceDetails: "รายละเอียดอุปกรณ์",
|
|
2173
2181
|
otaChannel: "ช่อง OTA",
|
|
2174
2182
|
otaChannelHint: "ไม่บังคับ เว้นว่างเพื่อใช้ฟีด OTA เริ่มต้น",
|
|
2183
|
+
minWeighGrams: "น้ำหนักขั้นต่ำ",
|
|
2184
|
+
minWeighGramsLabel: "น้ำหนักขั้นต่ำ (กรัม)",
|
|
2185
|
+
minWeighGramsPlaceholder: "ไม่มีขั้นต่ำ",
|
|
2186
|
+
minWeighGramsHint: "สำหรับสินค้าที่ขายตามน้ำหนัก ตู้คีออสก์จะไม่ขายปริมาณที่เบากว่านี้ เว้นว่างไว้หากไม่ต้องการกำหนดขั้นต่ำ (มากกว่า 0 กรัม เหมือน POS)",
|
|
2175
2187
|
dineIn: "ทานที่ร้าน",
|
|
2176
2188
|
dineInCanTakeaway: "อนุญาตให้สั่งกลับบ้าน",
|
|
2177
2189
|
dineInRemarkEnabled: "หมายเหตุการสั่งอาหาร",
|
|
@@ -2866,6 +2878,10 @@ const xA = {
|
|
|
2866
2878
|
deviceDetails: "デバイス詳細",
|
|
2867
2879
|
otaChannel: "OTAチャネル",
|
|
2868
2880
|
otaChannelHint: "任意。空欄の場合はデフォルトのOTAフィードを使用します。",
|
|
2881
|
+
minWeighGrams: "最低重量",
|
|
2882
|
+
minWeighGramsLabel: "最低重量(g)",
|
|
2883
|
+
minWeighGramsPlaceholder: "最低なし",
|
|
2884
|
+
minWeighGramsHint: "重量販売の商品が対象です。キオスクはこれより軽い量を販売しません。空欄の場合は最低なし(POS と同じく 0 g より重ければ可)。",
|
|
2869
2885
|
dineIn: "店内飲食",
|
|
2870
2886
|
dineInCanTakeaway: "テイクアウト許可",
|
|
2871
2887
|
driveThru: "ドライブスルー",
|
|
@@ -4894,7 +4910,7 @@ const xA = {
|
|
|
4894
4910
|
}, op = {
|
|
4895
4911
|
order: ip,
|
|
4896
4912
|
menu: rp
|
|
4897
|
-
}, ap = "0.0.
|
|
4913
|
+
}, ap = "0.0.89", sp = "fmmf";
|
|
4898
4914
|
let Cd = !1;
|
|
4899
4915
|
function dp() {
|
|
4900
4916
|
Cd || (Cd = !0, console.log(
|
|
@@ -4904,7 +4920,7 @@ function dp() {
|
|
|
4904
4920
|
"background:#374151;color:#fff;border-radius:0 3px 3px 0;padding:2px 4px"
|
|
4905
4921
|
));
|
|
4906
4922
|
}
|
|
4907
|
-
var
|
|
4923
|
+
var Q = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4908
4924
|
function lp(e) {
|
|
4909
4925
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4910
4926
|
}
|
|
@@ -4927,7 +4943,7 @@ function fC(e) {
|
|
|
4927
4943
|
});
|
|
4928
4944
|
}), t;
|
|
4929
4945
|
}
|
|
4930
|
-
var Zr = {}, cn = {},
|
|
4946
|
+
var Zr = {}, cn = {}, Wr = {}, Qr = {}, Xr = {}, Kr = {}, Jr = {}, Pd;
|
|
4931
4947
|
function ps() {
|
|
4932
4948
|
return Pd || (Pd = 1, function(e) {
|
|
4933
4949
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
|
|
@@ -5061,10 +5077,10 @@ function ys() {
|
|
|
5061
5077
|
else if (S.path.length === 0)
|
|
5062
5078
|
P._errors.push(E(S));
|
|
5063
5079
|
else {
|
|
5064
|
-
let D = P,
|
|
5065
|
-
for (;
|
|
5066
|
-
const Z = S.path[
|
|
5067
|
-
|
|
5080
|
+
let D = P, W = 0;
|
|
5081
|
+
for (; W < S.path.length; ) {
|
|
5082
|
+
const Z = S.path[W];
|
|
5083
|
+
W === S.path.length - 1 ? (D[Z] = D[Z] || { _errors: [] }, D[Z]._errors.push(E(S))) : D[Z] = D[Z] || { _errors: [] }, D = D[Z], W++;
|
|
5068
5084
|
}
|
|
5069
5085
|
}
|
|
5070
5086
|
};
|
|
@@ -5160,9 +5176,9 @@ function bs() {
|
|
|
5160
5176
|
return Rd || (Rd = 1, function(e) {
|
|
5161
5177
|
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;
|
|
5162
5178
|
const n = ys(), t = (P) => {
|
|
5163
|
-
const { data: R, path: O, errorMaps: S, issueData: D } = P,
|
|
5179
|
+
const { data: R, path: O, errorMaps: S, issueData: D } = P, W = [...O, ...D.path || []], Z = {
|
|
5164
5180
|
...D,
|
|
5165
|
-
path:
|
|
5181
|
+
path: W
|
|
5166
5182
|
};
|
|
5167
5183
|
let H = "";
|
|
5168
5184
|
const V = S.filter((K) => !!K).slice().reverse();
|
|
@@ -5170,7 +5186,7 @@ function bs() {
|
|
|
5170
5186
|
H = K(Z, { data: R, defaultError: H }).message;
|
|
5171
5187
|
return {
|
|
5172
5188
|
...D,
|
|
5173
|
-
path:
|
|
5189
|
+
path: W,
|
|
5174
5190
|
message: D.message || H
|
|
5175
5191
|
};
|
|
5176
5192
|
};
|
|
@@ -5221,10 +5237,10 @@ function bs() {
|
|
|
5221
5237
|
static mergeObjectSync(R, O) {
|
|
5222
5238
|
const S = {};
|
|
5223
5239
|
for (const D of O) {
|
|
5224
|
-
const { key:
|
|
5225
|
-
if (
|
|
5240
|
+
const { key: W, value: Z } = D;
|
|
5241
|
+
if (W.status === "aborted" || Z.status === "aborted")
|
|
5226
5242
|
return e.INVALID;
|
|
5227
|
-
|
|
5243
|
+
W.status === "dirty" && R.dirty(), Z.status === "dirty" && R.dirty(), (typeof Z.value < "u" || D.alwaysSet) && (S[W.value] = Z.value);
|
|
5228
5244
|
}
|
|
5229
5245
|
return { status: R.value, value: S };
|
|
5230
5246
|
}
|
|
@@ -5794,7 +5810,7 @@ function mp() {
|
|
|
5794
5810
|
typeName: Y.ZodBoolean,
|
|
5795
5811
|
...d(A)
|
|
5796
5812
|
});
|
|
5797
|
-
class
|
|
5813
|
+
class W extends c {
|
|
5798
5814
|
_parse(s) {
|
|
5799
5815
|
if (this._getType(s) !== i.ZodParsedType.date) {
|
|
5800
5816
|
const b = this._getOrReturnCtx(s);
|
|
@@ -5832,7 +5848,7 @@ function mp() {
|
|
|
5832
5848
|
};
|
|
5833
5849
|
}
|
|
5834
5850
|
_addCheck(s) {
|
|
5835
|
-
return new
|
|
5851
|
+
return new W({
|
|
5836
5852
|
...this._def,
|
|
5837
5853
|
checks: [...this._def.checks, s]
|
|
5838
5854
|
});
|
|
@@ -5864,7 +5880,7 @@ function mp() {
|
|
|
5864
5880
|
return s != null ? new Date(s) : null;
|
|
5865
5881
|
}
|
|
5866
5882
|
}
|
|
5867
|
-
e.ZodDate =
|
|
5883
|
+
e.ZodDate = W, W.create = (A) => new W({
|
|
5868
5884
|
checks: [],
|
|
5869
5885
|
typeName: Y.ZodDate,
|
|
5870
5886
|
...d(A)
|
|
@@ -7020,7 +7036,7 @@ function mp() {
|
|
|
7020
7036
|
e.bigint = uA;
|
|
7021
7037
|
const Ed = D.create;
|
|
7022
7038
|
e.boolean = Ed;
|
|
7023
|
-
const cA =
|
|
7039
|
+
const cA = W.create;
|
|
7024
7040
|
e.date = cA;
|
|
7025
7041
|
const mA = Z.create;
|
|
7026
7042
|
e.undefined = mA;
|
|
@@ -7085,13 +7101,13 @@ function mp() {
|
|
|
7085
7101
|
var Md;
|
|
7086
7102
|
function Od() {
|
|
7087
7103
|
return Md || (Md = 1, function(e) {
|
|
7088
|
-
var n =
|
|
7104
|
+
var n = Q && Q.__createBinding || (Object.create ? function(r, o, a, d) {
|
|
7089
7105
|
d === void 0 && (d = a), Object.defineProperty(r, d, { enumerable: !0, get: function() {
|
|
7090
7106
|
return o[a];
|
|
7091
7107
|
} });
|
|
7092
7108
|
} : function(r, o, a, d) {
|
|
7093
7109
|
d === void 0 && (d = a), r[d] = o[a];
|
|
7094
|
-
}), t =
|
|
7110
|
+
}), t = Q && Q.__exportStar || function(r, o) {
|
|
7095
7111
|
for (var a in r) a !== "default" && !Object.prototype.hasOwnProperty.call(o, a) && n(o, r, a);
|
|
7096
7112
|
};
|
|
7097
7113
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ZodParsedType = e.getParsedType = void 0, t(bs(), e), t(up(), e);
|
|
@@ -7101,33 +7117,33 @@ function Od() {
|
|
|
7101
7117
|
} }), Object.defineProperty(e, "ZodParsedType", { enumerable: !0, get: function() {
|
|
7102
7118
|
return i.ZodParsedType;
|
|
7103
7119
|
} }), t(mp(), e), t(ys(), e);
|
|
7104
|
-
}(
|
|
7120
|
+
}(Qr)), Qr;
|
|
7105
7121
|
}
|
|
7106
7122
|
var wd;
|
|
7107
7123
|
function h() {
|
|
7108
7124
|
return wd || (wd = 1, function(e) {
|
|
7109
|
-
var n =
|
|
7125
|
+
var n = Q && Q.__createBinding || (Object.create ? function(a, d, c, g) {
|
|
7110
7126
|
g === void 0 && (g = c), Object.defineProperty(a, g, { enumerable: !0, get: function() {
|
|
7111
7127
|
return d[c];
|
|
7112
7128
|
} });
|
|
7113
7129
|
} : function(a, d, c, g) {
|
|
7114
7130
|
g === void 0 && (g = c), a[g] = d[c];
|
|
7115
|
-
}), t =
|
|
7131
|
+
}), t = Q && Q.__setModuleDefault || (Object.create ? function(a, d) {
|
|
7116
7132
|
Object.defineProperty(a, "default", { enumerable: !0, value: d });
|
|
7117
7133
|
} : function(a, d) {
|
|
7118
7134
|
a.default = d;
|
|
7119
|
-
}), i =
|
|
7135
|
+
}), i = Q && Q.__importStar || function(a) {
|
|
7120
7136
|
if (a && a.__esModule) return a;
|
|
7121
7137
|
var d = {};
|
|
7122
7138
|
if (a != null) for (var c in a) c !== "default" && Object.prototype.hasOwnProperty.call(a, c) && n(d, a, c);
|
|
7123
7139
|
return t(d, a), d;
|
|
7124
|
-
}, r =
|
|
7140
|
+
}, r = Q && Q.__exportStar || function(a, d) {
|
|
7125
7141
|
for (var c in a) c !== "default" && !Object.prototype.hasOwnProperty.call(d, c) && n(d, a, c);
|
|
7126
7142
|
};
|
|
7127
7143
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.z = void 0;
|
|
7128
7144
|
const o = i(Od());
|
|
7129
7145
|
e.z = o, r(Od(), e), e.default = o;
|
|
7130
|
-
}(
|
|
7146
|
+
}(Wr)), Wr;
|
|
7131
7147
|
}
|
|
7132
7148
|
var Nd;
|
|
7133
7149
|
function vg() {
|
|
@@ -7374,7 +7390,7 @@ function fp() {
|
|
|
7374
7390
|
var Yd;
|
|
7375
7391
|
function Ap() {
|
|
7376
7392
|
return Yd || (Yd = 1, function(e) {
|
|
7377
|
-
var n =
|
|
7393
|
+
var n = Q && Q.__createBinding || (Object.create ? function(i, r, o, a) {
|
|
7378
7394
|
a === void 0 && (a = o);
|
|
7379
7395
|
var d = Object.getOwnPropertyDescriptor(r, o);
|
|
7380
7396
|
(!d || ("get" in d ? !r.__esModule : d.writable || d.configurable)) && (d = { enumerable: !0, get: function() {
|
|
@@ -7382,7 +7398,7 @@ function Ap() {
|
|
|
7382
7398
|
} }), Object.defineProperty(i, a, d);
|
|
7383
7399
|
} : function(i, r, o, a) {
|
|
7384
7400
|
a === void 0 && (a = o), i[a] = r[o];
|
|
7385
|
-
}), t =
|
|
7401
|
+
}), t = Q && Q.__exportStar || function(i, r) {
|
|
7386
7402
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && n(r, i, o);
|
|
7387
7403
|
};
|
|
7388
7404
|
Object.defineProperty(e, "__esModule", { value: !0 }), t(gp(), e), t(hp(), e), t(fp(), e);
|
|
@@ -7416,7 +7432,7 @@ function Hd() {
|
|
|
7416
7432
|
return hn.ZodCouchMeta = e, hn;
|
|
7417
7433
|
}
|
|
7418
7434
|
var Ct = {}, Zd;
|
|
7419
|
-
function
|
|
7435
|
+
function Wd() {
|
|
7420
7436
|
if (Zd) return Ct;
|
|
7421
7437
|
Zd = 1, Object.defineProperty(Ct, "__esModule", { value: !0 }), Ct.extractMeta = Ct.ZodDartMeta = void 0;
|
|
7422
7438
|
class e {
|
|
@@ -7446,10 +7462,10 @@ function Qd() {
|
|
|
7446
7462
|
}
|
|
7447
7463
|
return Ct.extractMeta = n, Ct;
|
|
7448
7464
|
}
|
|
7449
|
-
var fn = {},
|
|
7465
|
+
var fn = {}, Qd;
|
|
7450
7466
|
function Xd() {
|
|
7451
|
-
if (
|
|
7452
|
-
|
|
7467
|
+
if (Qd) return fn;
|
|
7468
|
+
Qd = 1, Object.defineProperty(fn, "__esModule", { value: !0 }), fn.ZodMongoMeta = void 0;
|
|
7453
7469
|
class e {
|
|
7454
7470
|
repo(t) {
|
|
7455
7471
|
return this.collectionName = t, this;
|
|
@@ -7485,7 +7501,7 @@ function Xd() {
|
|
|
7485
7501
|
var Kd;
|
|
7486
7502
|
function pp() {
|
|
7487
7503
|
return Kd || (Kd = 1, function(e) {
|
|
7488
|
-
var n =
|
|
7504
|
+
var n = Q && Q.__createBinding || (Object.create ? function(d, c, g, v) {
|
|
7489
7505
|
v === void 0 && (v = g);
|
|
7490
7506
|
var E = Object.getOwnPropertyDescriptor(c, g);
|
|
7491
7507
|
(!E || ("get" in E ? !c.__esModule : E.writable || E.configurable)) && (E = { enumerable: !0, get: function() {
|
|
@@ -7493,12 +7509,12 @@ function pp() {
|
|
|
7493
7509
|
} }), Object.defineProperty(d, v, E);
|
|
7494
7510
|
} : function(d, c, g, v) {
|
|
7495
7511
|
v === void 0 && (v = g), d[v] = c[g];
|
|
7496
|
-
}), t =
|
|
7512
|
+
}), t = Q && Q.__exportStar || function(d, c) {
|
|
7497
7513
|
for (var g in d) g !== "default" && !Object.prototype.hasOwnProperty.call(c, g) && n(c, d, g);
|
|
7498
7514
|
};
|
|
7499
7515
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ZodMeta = void 0;
|
|
7500
|
-
const i = Hd(), r =
|
|
7501
|
-
t(Hd(), e), t(
|
|
7516
|
+
const i = Hd(), r = Wd(), o = Xd();
|
|
7517
|
+
t(Hd(), e), t(Wd(), e), t(Xd(), e);
|
|
7502
7518
|
class a {
|
|
7503
7519
|
static mongo() {
|
|
7504
7520
|
return new o.ZodMongoMeta();
|
|
@@ -7539,7 +7555,7 @@ function yp() {
|
|
|
7539
7555
|
var xd;
|
|
7540
7556
|
function bp() {
|
|
7541
7557
|
return xd || (xd = 1, function(e) {
|
|
7542
|
-
var n =
|
|
7558
|
+
var n = Q && Q.__createBinding || (Object.create ? function(i, r, o, a) {
|
|
7543
7559
|
a === void 0 && (a = o);
|
|
7544
7560
|
var d = Object.getOwnPropertyDescriptor(r, o);
|
|
7545
7561
|
(!d || ("get" in d ? !r.__esModule : d.writable || d.configurable)) && (d = { enumerable: !0, get: function() {
|
|
@@ -7547,7 +7563,7 @@ function bp() {
|
|
|
7547
7563
|
} }), Object.defineProperty(i, a, d);
|
|
7548
7564
|
} : function(i, r, o, a) {
|
|
7549
7565
|
a === void 0 && (a = o), i[a] = r[o];
|
|
7550
|
-
}), t =
|
|
7566
|
+
}), t = Q && Q.__exportStar || function(i, r) {
|
|
7551
7567
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && n(r, i, o);
|
|
7552
7568
|
};
|
|
7553
7569
|
Object.defineProperty(e, "__esModule", { value: !0 }), t(yp(), e);
|
|
@@ -7556,7 +7572,7 @@ function bp() {
|
|
|
7556
7572
|
var _d;
|
|
7557
7573
|
function B() {
|
|
7558
7574
|
return _d || (_d = 1, function(e) {
|
|
7559
|
-
var n =
|
|
7575
|
+
var n = Q && Q.__createBinding || (Object.create ? function(i, r, o, a) {
|
|
7560
7576
|
a === void 0 && (a = o);
|
|
7561
7577
|
var d = Object.getOwnPropertyDescriptor(r, o);
|
|
7562
7578
|
(!d || ("get" in d ? !r.__esModule : d.writable || d.configurable)) && (d = { enumerable: !0, get: function() {
|
|
@@ -7564,7 +7580,7 @@ function B() {
|
|
|
7564
7580
|
} }), Object.defineProperty(i, a, d);
|
|
7565
7581
|
} : function(i, r, o, a) {
|
|
7566
7582
|
a === void 0 && (a = o), i[a] = r[o];
|
|
7567
|
-
}), t =
|
|
7583
|
+
}), t = Q && Q.__exportStar || function(i, r) {
|
|
7568
7584
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && n(r, i, o);
|
|
7569
7585
|
};
|
|
7570
7586
|
Object.defineProperty(e, "__esModule", { value: !0 }), t(Ap(), e), t(pp(), e), t(bp(), e);
|
|
@@ -8942,7 +8958,7 @@ function wg() {
|
|
|
8942
8958
|
}), Mn;
|
|
8943
8959
|
}
|
|
8944
8960
|
var Vl;
|
|
8945
|
-
function
|
|
8961
|
+
function Wi() {
|
|
8946
8962
|
if (Vl) return Sn;
|
|
8947
8963
|
Vl = 1, Object.defineProperty(Sn, "__esModule", { value: !0 }), Sn.FdoRawEffect = void 0;
|
|
8948
8964
|
const e = B(), n = h(), t = at(), i = Zi(), r = Mg(), o = Og(), a = wg(), d = Er();
|
|
@@ -8962,7 +8978,7 @@ var Ul;
|
|
|
8962
8978
|
function Rs() {
|
|
8963
8979
|
return Ul || (Ul = 1, function(e) {
|
|
8964
8980
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoFinalBillEffect = e.FdoEffectUsedItem = void 0;
|
|
8965
|
-
const n = h(), t =
|
|
8981
|
+
const n = h(), t = Wi(), i = Fr(), r = Ir();
|
|
8966
8982
|
e.FdoEffectUsedItem = n.z.object({
|
|
8967
8983
|
id: n.z.string(),
|
|
8968
8984
|
quantity: n.z.number()
|
|
@@ -9097,11 +9113,11 @@ function Vg() {
|
|
|
9097
9113
|
reason: e.z.string().nullish()
|
|
9098
9114
|
}), Nn;
|
|
9099
9115
|
}
|
|
9100
|
-
var
|
|
9116
|
+
var Wl;
|
|
9101
9117
|
function Ug() {
|
|
9102
|
-
return
|
|
9118
|
+
return Wl || (Wl = 1, function(e) {
|
|
9103
9119
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBill = e.FdoBillStatutoryCharge = e.FdoBillPersonMeta = e.FdoBillPersonBreakdown = e.FdoBillQueueInfo = e.FdoBillIs = e.FdoBillInHouseDelivery = e.FdoExternalPickup = e.FdoBillQrOrder = e.FdoBillRefund = void 0;
|
|
9104
|
-
const n = B(), t = h(), i = X(), r = ue(), o = Ve(), a = Pr(), d = Cs(), c = Rg(), g = Ps(), v = Dg(), E = Bg(), P = Sg(), R = Ts(), O = Rs(), S = Ds(), D = Fs(),
|
|
9120
|
+
const n = B(), t = h(), i = X(), r = ue(), o = Ve(), a = Pr(), d = Cs(), c = Rg(), g = Ps(), v = Dg(), E = Bg(), P = Sg(), R = Ts(), O = Rs(), S = Ds(), D = Fs(), W = zr(), Z = Ng(), H = Bs(), V = jg(), K = on(), te = kg(), pe = Vg();
|
|
9105
9121
|
e.FdoBillRefund = t.z.object({
|
|
9106
9122
|
by: r.FdoEmployeeRef.nullish(),
|
|
9107
9123
|
approvedBy: r.FdoEmployeeRef.nullish(),
|
|
@@ -9152,7 +9168,7 @@ function Ug() {
|
|
|
9152
9168
|
seqNumber: t.z.string().nullish(),
|
|
9153
9169
|
status: d.F_BILL_STATUS,
|
|
9154
9170
|
slot: t.z.string(),
|
|
9155
|
-
items: t.z.record(
|
|
9171
|
+
items: t.z.record(W.FdoBillItem),
|
|
9156
9172
|
adjustments: t.z.record(c.FdoBillAdjustment),
|
|
9157
9173
|
person: t.z.union([t.z.string(), t.z.number()]),
|
|
9158
9174
|
personMeta: e.FdoBillPersonMeta.nullish(),
|
|
@@ -9203,9 +9219,9 @@ function Ug() {
|
|
|
9203
9219
|
}).describe(n.ZodMeta.couch().repo("bill").build());
|
|
9204
9220
|
}(co)), co;
|
|
9205
9221
|
}
|
|
9206
|
-
var Do = {}, Bo = {}, So = {},
|
|
9222
|
+
var Do = {}, Bo = {}, So = {}, Ql;
|
|
9207
9223
|
function Rr() {
|
|
9208
|
-
return
|
|
9224
|
+
return Ql || (Ql = 1, function(e) {
|
|
9209
9225
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoCreditBalance = e.FdoFreeCreditTransaction = void 0;
|
|
9210
9226
|
const n = B(), t = h();
|
|
9211
9227
|
e.FdoFreeCreditTransaction = t.z.object({
|
|
@@ -9256,7 +9272,7 @@ var Jl;
|
|
|
9256
9272
|
function Br() {
|
|
9257
9273
|
return Jl || (Jl = 1, function(e) {
|
|
9258
9274
|
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;
|
|
9259
|
-
const n = B(), t = h(), i = Dr(), r = qg(), o =
|
|
9275
|
+
const n = B(), t = h(), i = Dr(), r = qg(), o = Wi();
|
|
9260
9276
|
e.FdoBenefitBaseTriggerer = t.z.object({
|
|
9261
9277
|
type: r.F_BENEFIT_TRIGGERER_TYPE
|
|
9262
9278
|
}).describe(n.ZodMeta.dart().baseUnion({
|
|
@@ -9656,7 +9672,7 @@ function Ft() {
|
|
|
9656
9672
|
}(wo)), wo;
|
|
9657
9673
|
}
|
|
9658
9674
|
var au;
|
|
9659
|
-
function
|
|
9675
|
+
function Qi() {
|
|
9660
9676
|
return au || (au = 1, function(e) {
|
|
9661
9677
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMemberOutput = e.FdoMember = e.FdoMemberTitleInfo = e.FdoMemberStat = e.FdoMemberProductCount = void 0;
|
|
9662
9678
|
const n = B(), t = h(), i = Ft(), r = Rr();
|
|
@@ -9918,7 +9934,7 @@ var pu;
|
|
|
9918
9934
|
function sn() {
|
|
9919
9935
|
return pu || (pu = 1, function(e) {
|
|
9920
9936
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoVoucherClaim = e.FdoTransferHistory = e.FdoVoucherClaimHistory = e.FdoVoucherRef = e.FdoMemberRewardOption = e.FdoFeedbackRewardOption = e.FdoSimpleClaimOption = e.FdoMultipleUseVoucherOption = e.FdoAfterSalesClaimOption = e.FdoBaseVoucherOption = void 0;
|
|
9921
|
-
const n = B(), t = h(), i = Ft(), r = an(), o = Ss(), a = Zg(), d = Dr(), c = oe(), g =
|
|
9937
|
+
const n = B(), t = h(), i = Ft(), r = an(), o = Ss(), a = Zg(), d = Dr(), c = oe(), g = Wi();
|
|
9922
9938
|
e.FdoBaseVoucherOption = t.z.object({
|
|
9923
9939
|
type: a.F_VOUCHER_TYPE
|
|
9924
9940
|
}).describe(n.ZodMeta.dart().baseUnion({
|
|
@@ -10015,7 +10031,7 @@ function sn() {
|
|
|
10015
10031
|
}(Vo)), Vo;
|
|
10016
10032
|
}
|
|
10017
10033
|
var Zn = {}, yu;
|
|
10018
|
-
function
|
|
10034
|
+
function Wg() {
|
|
10019
10035
|
if (yu) return Zn;
|
|
10020
10036
|
yu = 1, Object.defineProperty(Zn, "__esModule", { value: !0 }), Zn.F_GET_CUSTOMER_METHOD = void 0;
|
|
10021
10037
|
const e = h();
|
|
@@ -10026,10 +10042,10 @@ function Qg() {
|
|
|
10026
10042
|
]), Zn;
|
|
10027
10043
|
}
|
|
10028
10044
|
var bu;
|
|
10029
|
-
function
|
|
10045
|
+
function Qg() {
|
|
10030
10046
|
return bu || (bu = 1, function(e) {
|
|
10031
10047
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoBindMemberCardReq = e.FdtoJoinMemberReq = e.FdtoGetCustomerRes = e.FdtoGetCustomerReq = e.FdtoCustomer = e.FdtoCustomerMember = e.FdtoMemberTierInfo = e.FdtoCustomerMemberTitle = void 0;
|
|
10032
|
-
const n = B(), t = h(), i = Rr(), r = Br(), o =
|
|
10048
|
+
const n = B(), t = h(), i = Rr(), r = Br(), o = Qi(), a = sn(), d = Wg();
|
|
10033
10049
|
e.FdtoCustomerMemberTitle = t.z.object({
|
|
10034
10050
|
_id: t.z.string(),
|
|
10035
10051
|
name: t.z.string(),
|
|
@@ -10084,17 +10100,17 @@ function Wg() {
|
|
|
10084
10100
|
});
|
|
10085
10101
|
}(Bo)), Bo;
|
|
10086
10102
|
}
|
|
10087
|
-
var Yo = {},
|
|
10103
|
+
var Yo = {}, Wn = {}, vu;
|
|
10088
10104
|
function Xg() {
|
|
10089
|
-
if (vu) return
|
|
10090
|
-
vu = 1, Object.defineProperty(
|
|
10105
|
+
if (vu) return Wn;
|
|
10106
|
+
vu = 1, Object.defineProperty(Wn, "__esModule", { value: !0 }), Wn.FdoSkuAdjustmentAmount = void 0;
|
|
10091
10107
|
const e = h(), n = oe(), t = Es(), i = Yi();
|
|
10092
|
-
return
|
|
10108
|
+
return Wn.FdoSkuAdjustmentAmount = e.z.object({
|
|
10093
10109
|
type: t.F_SKU_ADJUSTMENT_TYPE,
|
|
10094
10110
|
remark: e.z.string().nullish(),
|
|
10095
10111
|
amount: n.FdoDecimal,
|
|
10096
10112
|
measurement: i.FdoUnitMeasurement.nullish()
|
|
10097
|
-
}),
|
|
10113
|
+
}), Wn;
|
|
10098
10114
|
}
|
|
10099
10115
|
var Eu;
|
|
10100
10116
|
function Or() {
|
|
@@ -10280,18 +10296,18 @@ function xg() {
|
|
|
10280
10296
|
});
|
|
10281
10297
|
}(Ho)), Ho;
|
|
10282
10298
|
}
|
|
10283
|
-
var Zo = {},
|
|
10299
|
+
var Zo = {}, Wo = {}, Qn = {}, Cu;
|
|
10284
10300
|
function _g() {
|
|
10285
|
-
if (Cu) return
|
|
10286
|
-
Cu = 1, Object.defineProperty(
|
|
10301
|
+
if (Cu) return Qn;
|
|
10302
|
+
Cu = 1, Object.defineProperty(Qn, "__esModule", { value: !0 }), Qn.F_SERVICE_CHARGE_ORDER_TYPE = void 0;
|
|
10287
10303
|
const e = h();
|
|
10288
|
-
return
|
|
10304
|
+
return Qn.F_SERVICE_CHARGE_ORDER_TYPE = e.z.enum([
|
|
10289
10305
|
"DINE_IN",
|
|
10290
10306
|
"TAKEAWAY",
|
|
10291
10307
|
"IN_HOUSE_DELIVERY",
|
|
10292
10308
|
"DELIVERY_COMPANY",
|
|
10293
10309
|
"PICKUP"
|
|
10294
|
-
]),
|
|
10310
|
+
]), Qn;
|
|
10295
10311
|
}
|
|
10296
10312
|
var Pu;
|
|
10297
10313
|
function qs() {
|
|
@@ -10314,7 +10330,7 @@ function qs() {
|
|
|
10314
10330
|
beforeDiscount: n.z.boolean().nullish(),
|
|
10315
10331
|
discretionary: n.z.boolean().nullish()
|
|
10316
10332
|
});
|
|
10317
|
-
}(
|
|
10333
|
+
}(Wo)), Wo;
|
|
10318
10334
|
}
|
|
10319
10335
|
var Tu;
|
|
10320
10336
|
function $g() {
|
|
@@ -10334,7 +10350,7 @@ var Ru;
|
|
|
10334
10350
|
function Ep() {
|
|
10335
10351
|
return Ru || (Ru = 1, function(e) {
|
|
10336
10352
|
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;
|
|
10337
|
-
const n = B(), t = h(), i = at(), r = Hi(), o =
|
|
10353
|
+
const n = B(), t = h(), i = at(), r = Hi(), o = Qg(), a = oe(), d = X(), c = ue(), g = Or(), v = Kg(), E = Li(), P = Ve(), R = xg(), O = Os(), S = $g(), D = Ug(), W = Ir(), Z = Ps(), H = Rs(), V = zr(), K = Bs(), te = on();
|
|
10338
10354
|
e.FdtoRefundReq = t.z.object({
|
|
10339
10355
|
bill: D.FdoBill,
|
|
10340
10356
|
refundRecord: t.z.array(D.FdoBill),
|
|
@@ -10609,7 +10625,7 @@ function Ep() {
|
|
|
10609
10625
|
quantity: t.z.number(),
|
|
10610
10626
|
remark: t.z.string().nullish(),
|
|
10611
10627
|
createdBy: c.FdoEmployeeRef,
|
|
10612
|
-
customer:
|
|
10628
|
+
customer: W.FdoBillCustomerRef.nullish(),
|
|
10613
10629
|
stockChange: E.FdoStockChange.nullish(),
|
|
10614
10630
|
parent: V.FdoBillItem.nullish()
|
|
10615
10631
|
}), e.FdtoUpdateItemsInventoryReq = t.z.object({
|
|
@@ -10658,7 +10674,7 @@ function Ip() {
|
|
|
10658
10674
|
"OTHER_CHARGE"
|
|
10659
10675
|
]), Ot;
|
|
10660
10676
|
}
|
|
10661
|
-
var
|
|
10677
|
+
var Qo = {}, Kn = {}, Su;
|
|
10662
10678
|
function eh() {
|
|
10663
10679
|
if (Su) return Kn;
|
|
10664
10680
|
Su = 1, Object.defineProperty(Kn, "__esModule", { value: !0 }), Kn.F_CALCULATOR_ADJUSTMENT_TYPE = void 0;
|
|
@@ -10701,7 +10717,7 @@ function zp() {
|
|
|
10701
10717
|
rounding: t.FdoDinero,
|
|
10702
10718
|
totalAmount: t.FdoDinero
|
|
10703
10719
|
});
|
|
10704
|
-
}(
|
|
10720
|
+
}(Qo)), Qo;
|
|
10705
10721
|
}
|
|
10706
10722
|
var Xo = {}, Ou;
|
|
10707
10723
|
function Cp() {
|
|
@@ -11087,9 +11103,9 @@ function jr() {
|
|
|
11087
11103
|
]);
|
|
11088
11104
|
}($o)), $o;
|
|
11089
11105
|
}
|
|
11090
|
-
var ea = {},
|
|
11106
|
+
var ea = {}, Wu;
|
|
11091
11107
|
function Ls() {
|
|
11092
|
-
return
|
|
11108
|
+
return Wu || (Wu = 1, function(e) {
|
|
11093
11109
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoThEInvoiceMerchantProfileSchema = e.FdoThEInvoiceMerchantProfileDoc = e.FdoThEInvoiceMerchantProfile = e.FdoThEInvoiceMarketingProfile = e.FdoThEInvoiceRestaurantProfile = e.FdoThEInvoiceMerchantBaseProfile = e.FdoThEInvoiceCustomerProfileSchema = e.FdoThEInvoiceCustomerProfileDoc = e.FdoThEInvoiceCustomerProfile = e.FdoThEInvoiceCompanyProfile = e.FdoThEInvoiceIndividualProfile = e.FdoThEInvoiceCustomerBaseProfile = void 0;
|
|
11094
11110
|
const n = B(), t = h(), i = Nr(), r = It();
|
|
11095
11111
|
e.FdoThEInvoiceCustomerBaseProfile = i.FdoEInvoiceCustomerBaseProfile.extend({
|
|
@@ -11136,9 +11152,9 @@ function Ls() {
|
|
|
11136
11152
|
]);
|
|
11137
11153
|
}(ea)), ea;
|
|
11138
11154
|
}
|
|
11139
|
-
var ta = {},
|
|
11155
|
+
var ta = {}, Qu;
|
|
11140
11156
|
function Hs() {
|
|
11141
|
-
return
|
|
11157
|
+
return Qu || (Qu = 1, function(e) {
|
|
11142
11158
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoVnEInvoiceMerchantProfileSchema = e.FdoVnEInvoiceMerchantProfileDoc = e.FdoVnEInvoiceMerchantProfile = e.FdoVnEInvoiceMarketingProfile = e.FdoVnEInvoiceRestaurantProfile = e.FdoVnEInvoiceMerchantBaseProfile = e.FdoVnEInvoiceSubmissionSchedule = e.FdoVnEInvoiceSetting = e.FdoVnEInvoiceItemInfo = e.FdoVnEInvoiceCustomerProfileSchema = e.FdoVnEInvoiceCustomerProfileDoc = e.FdoVnEInvoiceCustomerProfile = e.FdoVnEInvoiceCompanyProfile = e.FdoVnEInvoiceIndividualProfile = e.FdoVnEInvoiceCustomerBaseProfile = void 0;
|
|
11143
11159
|
const n = B(), t = h(), i = Nr(), r = It();
|
|
11144
11160
|
e.FdoVnEInvoiceCustomerBaseProfile = i.FdoEInvoiceCustomerBaseProfile.extend({
|
|
@@ -11427,12 +11443,12 @@ function rh() {
|
|
|
11427
11443
|
}).describe(n.ZodMeta.mongo().repo("VNEInvoiceSubmissions").build());
|
|
11428
11444
|
}(oa)), oa;
|
|
11429
11445
|
}
|
|
11430
|
-
var
|
|
11446
|
+
var We = {}, tc;
|
|
11431
11447
|
function Np() {
|
|
11432
|
-
if (tc) return
|
|
11433
|
-
tc = 1, Object.defineProperty(
|
|
11448
|
+
if (tc) return We;
|
|
11449
|
+
tc = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.FdtoBillCompletedEvent = We.FdtoVnSubmitEInvoice = We.FdtoVnPubSubMessage = void 0;
|
|
11434
11450
|
const e = h(), n = It(), t = rh();
|
|
11435
|
-
return
|
|
11451
|
+
return We.FdtoVnPubSubMessage = e.z.object({
|
|
11436
11452
|
key: e.z.string(),
|
|
11437
11453
|
topic: e.z.string(),
|
|
11438
11454
|
bill_id: e.z.string(),
|
|
@@ -11443,13 +11459,13 @@ function Np() {
|
|
|
11443
11459
|
completedAt: e.z.string(),
|
|
11444
11460
|
dataflowPublishedAt: e.z.string(),
|
|
11445
11461
|
pubsubPublishedAt: e.z.string()
|
|
11446
|
-
}),
|
|
11462
|
+
}), We.FdtoVnSubmitEInvoice = e.z.object({
|
|
11447
11463
|
billId: e.z.string(),
|
|
11448
11464
|
restaurantId: e.z.string().nullish(),
|
|
11449
11465
|
businessId: e.z.string().nullish(),
|
|
11450
11466
|
type: n.F_E_INVOICE_MERCHANT_TYPE.nullish(),
|
|
11451
11467
|
customer: t.FdoVnEInvoiceSubmissionCustomer.nullish()
|
|
11452
|
-
}),
|
|
11468
|
+
}), We.FdtoBillCompletedEvent = e.z.object({
|
|
11453
11469
|
key: e.z.string(),
|
|
11454
11470
|
topic: e.z.string(),
|
|
11455
11471
|
billId: e.z.string(),
|
|
@@ -11460,7 +11476,7 @@ function Np() {
|
|
|
11460
11476
|
completedAt: e.z.string(),
|
|
11461
11477
|
dataflowPublishedAt: e.z.string(),
|
|
11462
11478
|
pubsubPublishedAt: e.z.string()
|
|
11463
|
-
}),
|
|
11479
|
+
}), We;
|
|
11464
11480
|
}
|
|
11465
11481
|
var aa = {}, nc;
|
|
11466
11482
|
function jp() {
|
|
@@ -11795,12 +11811,12 @@ function ch() {
|
|
|
11795
11811
|
internal: n.z.boolean()
|
|
11796
11812
|
}), ui;
|
|
11797
11813
|
}
|
|
11798
|
-
var
|
|
11814
|
+
var Qe = {}, bc;
|
|
11799
11815
|
function Zp() {
|
|
11800
|
-
if (bc) return
|
|
11801
|
-
bc = 1, Object.defineProperty(
|
|
11816
|
+
if (bc) return Qe;
|
|
11817
|
+
bc = 1, Object.defineProperty(Qe, "__esModule", { value: !0 }), Qe.F_REWARD_JOB_OPTION = Qe.F_REWARD_JOB_STATUS = Qe.F_REWARD_JOB_SOURCE_TYPE = void 0;
|
|
11802
11818
|
const e = h();
|
|
11803
|
-
return
|
|
11819
|
+
return Qe.F_REWARD_JOB_SOURCE_TYPE = e.z.enum([
|
|
11804
11820
|
"MEMBERSHIP_SCHEDULED_BENEFIT",
|
|
11805
11821
|
"MEMBERSHIP_JOIN_BENEFIT",
|
|
11806
11822
|
"MEMBERSHIP_JOIN_REWARD",
|
|
@@ -11809,20 +11825,20 @@ function Zp() {
|
|
|
11809
11825
|
"BILL_FEEDBACK_VOUCHER",
|
|
11810
11826
|
"PORTAL_SEND_MEMBER",
|
|
11811
11827
|
"BILL_CASHBACK"
|
|
11812
|
-
]),
|
|
11828
|
+
]), Qe.F_REWARD_JOB_STATUS = e.z.enum([
|
|
11813
11829
|
"NEW",
|
|
11814
11830
|
"SUCCESS",
|
|
11815
11831
|
"FAILED",
|
|
11816
11832
|
"IN_PROGRESS",
|
|
11817
11833
|
"ROLLING_BACK"
|
|
11818
|
-
]),
|
|
11834
|
+
]), Qe.F_REWARD_JOB_OPTION = e.z.enum([
|
|
11819
11835
|
"CREDIT",
|
|
11820
11836
|
"VOUCHER",
|
|
11821
11837
|
"EXPERIENCE"
|
|
11822
|
-
]),
|
|
11838
|
+
]), Qe;
|
|
11823
11839
|
}
|
|
11824
11840
|
var Nt = {}, vc;
|
|
11825
|
-
function
|
|
11841
|
+
function Ws() {
|
|
11826
11842
|
if (vc) return Nt;
|
|
11827
11843
|
vc = 1, Object.defineProperty(Nt, "__esModule", { value: !0 }), Nt.F_BUNDLE_CONDITION_TYPE = Nt.F_STORE_REF_SOURCE = void 0;
|
|
11828
11844
|
const e = h();
|
|
@@ -11895,7 +11911,7 @@ function kr() {
|
|
|
11895
11911
|
]), Me;
|
|
11896
11912
|
}
|
|
11897
11913
|
var gi = {}, Cc;
|
|
11898
|
-
function
|
|
11914
|
+
function Wp() {
|
|
11899
11915
|
if (Cc) return gi;
|
|
11900
11916
|
Cc = 1, Object.defineProperty(gi, "__esModule", { value: !0 }), gi.FdoOrderNumber = void 0;
|
|
11901
11917
|
const e = B(), n = h();
|
|
@@ -11908,7 +11924,7 @@ function Qp() {
|
|
|
11908
11924
|
}).describe(e.ZodMeta.couch().repo("orderNumber").build()), gi;
|
|
11909
11925
|
}
|
|
11910
11926
|
var hi = {}, Pc;
|
|
11911
|
-
function
|
|
11927
|
+
function Qp() {
|
|
11912
11928
|
if (Pc) return hi;
|
|
11913
11929
|
Pc = 1, Object.defineProperty(hi, "__esModule", { value: !0 }), hi.F_ORDER_NUMBER_PREFIX = void 0;
|
|
11914
11930
|
const e = h();
|
|
@@ -12148,7 +12164,7 @@ function $p() {
|
|
|
12148
12164
|
]), bi;
|
|
12149
12165
|
}
|
|
12150
12166
|
var Xe = {}, re = {}, kc;
|
|
12151
|
-
function
|
|
12167
|
+
function Qs() {
|
|
12152
12168
|
if (kc) return re;
|
|
12153
12169
|
kc = 1, Object.defineProperty(re, "__esModule", { value: !0 }), re.F_RULE_REPORT_TYPE = re.F_RULE_ORDER_OPERATION = re.F_RULE_SUBJECT = re.F_RULE_ACTION = re.F_PERMISSION_RESTAURANT = re.F_PERMISSION_BUSINESS = re.F_PERMISSION_BUSINESS_FIELD = re.F_PERMISSION_SUBJECT = re.F_PERMISSION_ACTION = re.F_PERMISSION_LEVEL = void 0;
|
|
12154
12170
|
const e = h();
|
|
@@ -12250,7 +12266,7 @@ var Vc;
|
|
|
12250
12266
|
function yh() {
|
|
12251
12267
|
if (Vc) return Xe;
|
|
12252
12268
|
Vc = 1, Object.defineProperty(Xe, "__esModule", { value: !0 }), Xe.FdtoPermissionHasReq = Xe.FdtoPermissionAccessRes = Xe.FdtoPermissionAccessReq = void 0;
|
|
12253
|
-
const e = h(), n =
|
|
12269
|
+
const e = h(), n = Qs();
|
|
12254
12270
|
return Xe.FdtoPermissionAccessReq = e.z.object({
|
|
12255
12271
|
subject: e.z.string(),
|
|
12256
12272
|
action: n.F_RULE_ACTION,
|
|
@@ -12269,7 +12285,7 @@ var fa = {}, Aa = {}, Uc;
|
|
|
12269
12285
|
function Xs() {
|
|
12270
12286
|
return Uc || (Uc = 1, function(e) {
|
|
12271
12287
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoPermissionUser = e.FdoPermissionRule = void 0;
|
|
12272
|
-
const n = B(), t = h(), i =
|
|
12288
|
+
const n = B(), t = h(), i = Qs();
|
|
12273
12289
|
e.FdoPermissionRule = t.z.object({
|
|
12274
12290
|
label: t.z.string(),
|
|
12275
12291
|
subject: t.z.string(),
|
|
@@ -12308,7 +12324,7 @@ var pa = {}, Gc;
|
|
|
12308
12324
|
function ty() {
|
|
12309
12325
|
return Gc || (Gc = 1, function(e) {
|
|
12310
12326
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoPromotion = e.FdoPromotionGameConfig = void 0;
|
|
12311
|
-
const n = B(), t = h(), i =
|
|
12327
|
+
const n = B(), t = h(), i = Wi();
|
|
12312
12328
|
e.FdoPromotionGameConfig = t.z.object({
|
|
12313
12329
|
gameType: t.z.string()
|
|
12314
12330
|
}), e.FdoPromotion = t.z.object({
|
|
@@ -12418,9 +12434,9 @@ function iy() {
|
|
|
12418
12434
|
}).describe(n.ZodMeta.couch().repo("qrOrdering").build());
|
|
12419
12435
|
}(va)), va;
|
|
12420
12436
|
}
|
|
12421
|
-
var Ea = {},
|
|
12437
|
+
var Ea = {}, Wc;
|
|
12422
12438
|
function ry() {
|
|
12423
|
-
return
|
|
12439
|
+
return Wc || (Wc = 1, function(e) {
|
|
12424
12440
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoRemark = e.FdoRemarkData = void 0;
|
|
12425
12441
|
const n = B(), t = h();
|
|
12426
12442
|
e.FdoRemarkData = t.z.object({
|
|
@@ -12432,10 +12448,10 @@ function ry() {
|
|
|
12432
12448
|
}).describe(n.ZodMeta.couch().repo("remark").build());
|
|
12433
12449
|
}(Ea)), Ea;
|
|
12434
12450
|
}
|
|
12435
|
-
var vi = {}, Fa = {}, Ei = {},
|
|
12451
|
+
var vi = {}, Fa = {}, Ei = {}, Qc;
|
|
12436
12452
|
function Eh() {
|
|
12437
|
-
if (
|
|
12438
|
-
|
|
12453
|
+
if (Qc) return Ei;
|
|
12454
|
+
Qc = 1, Object.defineProperty(Ei, "__esModule", { value: !0 }), Ei.F_REMOTE_EVENT_TYPE = void 0;
|
|
12439
12455
|
const e = h();
|
|
12440
12456
|
return Ei.F_REMOTE_EVENT_TYPE = e.z.enum([
|
|
12441
12457
|
"orderCreated",
|
|
@@ -13218,7 +13234,7 @@ var Di = {}, ym;
|
|
|
13218
13234
|
function _s() {
|
|
13219
13235
|
if (ym) return Di;
|
|
13220
13236
|
ym = 1, Object.defineProperty(Di, "__esModule", { value: !0 }), Di.FdoCreditTransaction = void 0;
|
|
13221
|
-
const e = h(), n = an(), t = Ft(), i =
|
|
13237
|
+
const e = h(), n = an(), t = Ft(), i = Qi(), r = dh(), o = B(), a = Rr();
|
|
13222
13238
|
return Di.FdoCreditTransaction = e.z.object({
|
|
13223
13239
|
_id: e.z.string().superRefine(o.isObjectId),
|
|
13224
13240
|
business: e.z.string().superRefine(o.isObjectId),
|
|
@@ -13532,7 +13548,7 @@ var Va = {}, Tm;
|
|
|
13532
13548
|
function Ty() {
|
|
13533
13549
|
return Tm || (Tm = 1, function(e) {
|
|
13534
13550
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.EberUser = e.EberCustomerOverview = e.EberCustomer = e.EberGetCustomerInfoDto = e.EberIssuePointDto = e.EberGetUserInfo = e.EberBaseDto = void 0;
|
|
13535
|
-
const n = B(), t = h(), i =
|
|
13551
|
+
const n = B(), t = h(), i = Qi(), r = sn(), o = Br();
|
|
13536
13552
|
e.EberBaseDto = t.z.object({
|
|
13537
13553
|
restaurantId: t.z.string().superRefine(n.isObjectId)
|
|
13538
13554
|
}), e.EberGetUserInfo = e.EberBaseDto.extend({
|
|
@@ -13639,7 +13655,7 @@ var qa = {}, Dm;
|
|
|
13639
13655
|
function $s() {
|
|
13640
13656
|
return Dm || (Dm = 1, function(e) {
|
|
13641
13657
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoStoreTransaction = e.FdoStoreTransactionRefundInfo = e.FdoTitleAcquired = e.FdoStoreOption = e.FdoBundleCategory = e.FdoStoreBundle = e.FdoStoreBundleClient = e.FdoBundleTaxTotal = e.FdoStoreBundleTaxSetting = e.FdoTopupCountCondition = e.FdoBaseStoreCondition = e.FdoCreditItem = e.FdoTitleItem = void 0;
|
|
13642
|
-
const n = B(), t = h(), i = Dr(), r = Ft(), o = an(), a =
|
|
13658
|
+
const n = B(), t = h(), i = Dr(), r = Ft(), o = an(), a = Qi(), d = sn(), c = Ws(), g = oe(), v = X(), E = Cr(), P = _s(), R = Gs();
|
|
13643
13659
|
e.FdoTitleItem = t.z.object({
|
|
13644
13660
|
id: t.z.string(),
|
|
13645
13661
|
dayToExpire: t.z.number()
|
|
@@ -13720,7 +13736,7 @@ var Ga = {}, Bm;
|
|
|
13720
13736
|
function Dy() {
|
|
13721
13737
|
return Bm || (Bm = 1, function(e) {
|
|
13722
13738
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMemberStorePurchase = e.FdtoGetMemberStorePurchaseRes = e.FdtoGetMemberStorePurchaseResCredit = e.FdtoGetMemberStorePurchaseResClaim = e.FdoStoreTransactionRefundInfoRes = e.FdoMemberStorePurchaseMember = e.FdoMemberStorePurchasePayment = void 0;
|
|
13723
|
-
const n = B(), t = h(), i = Ds(), r = Gs(), o = ue(), a = _s(), d = $s(), c =
|
|
13739
|
+
const n = B(), t = h(), i = Ds(), r = Gs(), o = ue(), a = _s(), d = $s(), c = Ws(), g = sn(), v = Ve(), E = mh();
|
|
13724
13740
|
e.FdoMemberStorePurchasePayment = v.FdoPayment.extend({
|
|
13725
13741
|
createdAt: t.z.string()
|
|
13726
13742
|
}), e.FdoMemberStorePurchaseMember = t.z.object({
|
|
@@ -13854,7 +13870,7 @@ function By() {
|
|
|
13854
13870
|
var Mm;
|
|
13855
13871
|
function Sy() {
|
|
13856
13872
|
return Mm || (Mm = 1, function(e) {
|
|
13857
|
-
var n =
|
|
13873
|
+
var n = Q && Q.__createBinding || (Object.create ? function(i, r, o, a) {
|
|
13858
13874
|
a === void 0 && (a = o);
|
|
13859
13875
|
var d = Object.getOwnPropertyDescriptor(r, o);
|
|
13860
13876
|
(!d || ("get" in d ? !r.__esModule : d.writable || d.configurable)) && (d = { enumerable: !0, get: function() {
|
|
@@ -13862,10 +13878,10 @@ function Sy() {
|
|
|
13862
13878
|
} }), Object.defineProperty(i, a, d);
|
|
13863
13879
|
} : function(i, r, o, a) {
|
|
13864
13880
|
a === void 0 && (a = o), i[a] = r[o];
|
|
13865
|
-
}), t =
|
|
13881
|
+
}), t = Q && Q.__exportStar || function(i, r) {
|
|
13866
13882
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && n(r, i, o);
|
|
13867
13883
|
};
|
|
13868
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), t(vg(), e), t(Eg(), e), t(Fg(), e), t(vp(), e), t(Ug(), e), t(Ep(), e), t(Cs(), e), t(Rg(), e), t(Fr(), e), t(Ig(), e), t(Fs(), e), t(zg(), e), t(Ir(), e), t(Ps(), e), t(Dg(), e), t(Bg(), e), t(Sg(), e), t(Ts(), e), t(Rs(), e), t(Fp(), e), t(Ds(), e), t(zr(), e), t(Cg(), e), t(Ng(), e), t(Bs(), e), t(jg(), e), t(Vg(), e), t(on(), e), t(Ip(), e), t(Lg(), e), t(Ft(), e), t(Hg(), e), t(zp(), e), t(eh(), e), t(Cp(), e), t(Xt(), e), t(Mr(), e), t(zs(), e), t(Gs(), e), t(Hi(), e), t(Pg(), e), t(Tg(), e), t(Is(), e), t(Ms(), e), t(
|
|
13884
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), t(vg(), e), t(Eg(), e), t(Fg(), e), t(vp(), e), t(Ug(), e), t(Ep(), e), t(Cs(), e), t(Rg(), e), t(Fr(), e), t(Ig(), e), t(Fs(), e), t(zg(), e), t(Ir(), e), t(Ps(), e), t(Dg(), e), t(Bg(), e), t(Sg(), e), t(Ts(), e), t(Rs(), e), t(Fp(), e), t(Ds(), e), t(zr(), e), t(Cg(), e), t(Ng(), e), t(Bs(), e), t(jg(), e), t(Vg(), e), t(on(), e), t(Ip(), e), t(Lg(), e), t(Ft(), e), t(Hg(), e), t(zp(), e), t(eh(), e), t(Cp(), e), t(Xt(), e), t(Mr(), e), t(zs(), e), t(Gs(), e), t(Hi(), e), t(Pg(), e), t(Tg(), e), t(Is(), e), t(Ms(), e), t(Qg(), e), t(Wg(), e), t(oe(), e), t(Pp(), e), t(Tp(), e), t(wr(), e), t(Rp(), e), t(th(), e), t(Dp(), e), t(Bp(), e), t(X(), e), t(Nr(), e), t(It(), e), t(Sp(), e), t(Ys(), e), t(jr(), e), t(nh(), e), t(Mp(), e), t(Ls(), e), t(Op(), e), t(wp(), e), t(Hs(), e), t(ih(), e), t(rh(), e), t(Np(), e), t(Wi(), e), t(rn(), e), t(Tr(), e), t(Mg(), e), t(vs(), e), t(wg(), e), t(Er(), e), t(ue(), e), t(jp(), e), t(kp(), e), t(Vp(), e), t(Up(), e), t(qp(), e), t(oh(), e), t(Yi(), e), t(Es(), e), t(ah(), e), t(Li(), e), t(sh(), e), t(Gp(), e), t(Zs(), e), t(Yp(), e), t(Lp(), e), t(Rr(), e), t(dh(), e), t(lh(), e), t(Hp(), e), t(Zg(), e), t(Dr(), e), t(qg(), e), t(Qi(), e), t(uh(), e), t(ch(), e), t(Zp(), e), t(Ws(), e), t(mh(), e), t(gh(), e), t(hh(), e), t(kr(), e), t(Wp(), e), t(Qp(), e), t(Zi(), e), t(Vr(), e), t(fh(), e), t(Ah(), e), t(ph(), e), t(Xp(), e), t(Kp(), e), t(Jp(), e), t(Et(), e), t(Ve(), e), t(xg(), e), t(Jg(), e), t(xp(), e), t(_p(), e), t($p(), e), t(yh(), e), t(Qs(), e), t(ey(), e), t(Pr(), e), t(Os(), e), t(ty(), e), t(vh(), e), t(ny(), e), t(bh(), e), t(iy(), e), t(ry(), e), t(oy(), e), t(Eh(), e), t(zh(), e), t(ay(), e), t(Ih(), e), t(Ns(), e), t(js(), e), t(ks(), e), t(Vs(), e), t(Us(), e), t(an(), e), t(Ks(), e), t(sy(), e), t(_g(), e), t(ws(), e), t(dy(), e), t(ly(), e), t(Ch(), e), t(uy(), e), t(Gg(), e), t(Js(), e), t(Ph(), e), t(cy(), e), t(at(), e), t(kg(), e), t(Sr(), e), t(my(), e), t(gy(), e), t(Og(), e), t(hy(), e), t(Xg(), e), t(Or(), e), t(fy(), e), t(Kg(), e), t(Ay(), e), t(Rh(), e), t(py(), e), t(yy(), e), t(_s(), e), t(Br(), e), t(by(), e), t(vy(), e), t(Ey(), e), t(Xs(), e), t(Fh(), e), t(Fy(), e), t(qs(), e), t(Cr(), e), t($g(), e), t(Ss(), e), t(Iy(), e), t(zy(), e), t(Cy(), e), t(Yg(), e), t(xs(), e), t(sn(), e), t(Py(), e), t(Ty(), e), t(Ry(), e), t($s(), e), t(Dy(), e), t(By(), e), t(Th(), e);
|
|
13869
13885
|
}(Zr)), Zr;
|
|
13870
13886
|
}
|
|
13871
13887
|
var My = Sy();
|
|
@@ -14356,12 +14372,12 @@ function Zy(e, n) {
|
|
|
14356
14372
|
function fe() {
|
|
14357
14373
|
return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
|
|
14358
14374
|
}
|
|
14359
|
-
function
|
|
14375
|
+
function Wy() {
|
|
14360
14376
|
return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
|
|
14361
14377
|
// just to deal with this case would probably be a bad idea.
|
|
14362
14378
|
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(fe());
|
|
14363
14379
|
}
|
|
14364
|
-
function
|
|
14380
|
+
function Qy() {
|
|
14365
14381
|
return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
|
|
14366
14382
|
}
|
|
14367
14383
|
function Xy() {
|
|
@@ -15083,12 +15099,12 @@ function Fb(e, n, { blocked: t, upgrade: i, blocking: r, terminated: o } = {}) {
|
|
|
15083
15099
|
}).catch(() => {
|
|
15084
15100
|
}), d;
|
|
15085
15101
|
}
|
|
15086
|
-
const Ib = ["get", "getKey", "getAll", "getAllKeys", "count"], zb = ["put", "add", "delete", "clear"],
|
|
15102
|
+
const Ib = ["get", "getKey", "getAll", "getAllKeys", "count"], zb = ["put", "add", "delete", "clear"], Wa = /* @__PURE__ */ new Map();
|
|
15087
15103
|
function Vm(e, n) {
|
|
15088
15104
|
if (!(e instanceof IDBDatabase && !(n in e) && typeof n == "string"))
|
|
15089
15105
|
return;
|
|
15090
|
-
if (
|
|
15091
|
-
return
|
|
15106
|
+
if (Wa.get(n))
|
|
15107
|
+
return Wa.get(n);
|
|
15092
15108
|
const t = n.replace(/FromIndex$/, ""), i = n !== t, r = zb.includes(t);
|
|
15093
15109
|
if (
|
|
15094
15110
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
@@ -15103,7 +15119,7 @@ function Vm(e, n) {
|
|
|
15103
15119
|
r && c.done
|
|
15104
15120
|
]))[0];
|
|
15105
15121
|
};
|
|
15106
|
-
return
|
|
15122
|
+
return Wa.set(n, o), o;
|
|
15107
15123
|
}
|
|
15108
15124
|
bb((e) => ({
|
|
15109
15125
|
...e,
|
|
@@ -15163,7 +15179,7 @@ const rs = "@firebase/app", Um = "0.10.13";
|
|
|
15163
15179
|
* See the License for the specific language governing permissions and
|
|
15164
15180
|
* limitations under the License.
|
|
15165
15181
|
*/
|
|
15166
|
-
const nt = new jh("@firebase/app"), Tb = "@firebase/app-compat", Rb = "@firebase/analytics-compat", Db = "@firebase/analytics", Bb = "@firebase/app-check-compat", Sb = "@firebase/app-check", Mb = "@firebase/auth", Ob = "@firebase/auth-compat", wb = "@firebase/database", Nb = "@firebase/data-connect", jb = "@firebase/database-compat", kb = "@firebase/functions", Vb = "@firebase/functions-compat", Ub = "@firebase/installations", qb = "@firebase/installations-compat", Gb = "@firebase/messaging", Yb = "@firebase/messaging-compat", Lb = "@firebase/performance", Hb = "@firebase/performance-compat", Zb = "@firebase/remote-config",
|
|
15182
|
+
const nt = new jh("@firebase/app"), Tb = "@firebase/app-compat", Rb = "@firebase/analytics-compat", Db = "@firebase/analytics", Bb = "@firebase/app-check-compat", Sb = "@firebase/app-check", Mb = "@firebase/auth", Ob = "@firebase/auth-compat", wb = "@firebase/database", Nb = "@firebase/data-connect", jb = "@firebase/database-compat", kb = "@firebase/functions", Vb = "@firebase/functions-compat", Ub = "@firebase/installations", qb = "@firebase/installations-compat", Gb = "@firebase/messaging", Yb = "@firebase/messaging-compat", Lb = "@firebase/performance", Hb = "@firebase/performance-compat", Zb = "@firebase/remote-config", Wb = "@firebase/remote-config-compat", Qb = "@firebase/storage", Xb = "@firebase/storage-compat", Kb = "@firebase/firestore", Jb = "@firebase/vertexai-preview", xb = "@firebase/firestore-compat", _b = "firebase", $b = "10.14.1";
|
|
15167
15183
|
/**
|
|
15168
15184
|
* @license
|
|
15169
15185
|
* Copyright 2019 Google LLC
|
|
@@ -15201,8 +15217,8 @@ const os = "[DEFAULT]", ev = {
|
|
|
15201
15217
|
[Lb]: "fire-perf",
|
|
15202
15218
|
[Hb]: "fire-perf-compat",
|
|
15203
15219
|
[Zb]: "fire-rc",
|
|
15204
|
-
[
|
|
15205
|
-
[
|
|
15220
|
+
[Wb]: "fire-rc-compat",
|
|
15221
|
+
[Qb]: "fire-gcs",
|
|
15206
15222
|
[Xb]: "fire-gcs-compat",
|
|
15207
15223
|
[Kb]: "fire-fst",
|
|
15208
15224
|
[xb]: "fire-fst-compat",
|
|
@@ -15431,9 +15447,9 @@ function bt(e, n, t) {
|
|
|
15431
15447
|
* limitations under the License.
|
|
15432
15448
|
*/
|
|
15433
15449
|
const ov = "firebase-heartbeat-database", av = 1, qi = "firebase-heartbeat-store";
|
|
15434
|
-
let
|
|
15450
|
+
let Qa = null;
|
|
15435
15451
|
function qh() {
|
|
15436
|
-
return
|
|
15452
|
+
return Qa || (Qa = Fb(ov, av, {
|
|
15437
15453
|
upgrade: (e, n) => {
|
|
15438
15454
|
switch (n) {
|
|
15439
15455
|
case 0:
|
|
@@ -15448,7 +15464,7 @@ function qh() {
|
|
|
15448
15464
|
throw yt.create("idb-open", {
|
|
15449
15465
|
originalErrorMessage: e.message
|
|
15450
15466
|
});
|
|
15451
|
-
})),
|
|
15467
|
+
})), Qa;
|
|
15452
15468
|
}
|
|
15453
15469
|
async function sv(e) {
|
|
15454
15470
|
try {
|
|
@@ -15837,7 +15853,7 @@ function vv() {
|
|
|
15837
15853
|
*/
|
|
15838
15854
|
class Ji {
|
|
15839
15855
|
constructor(n, t) {
|
|
15840
|
-
this.shortDelay = n, this.longDelay = t, rt(t > n, "Short delay should be less than long delay!"), this.isMobile =
|
|
15856
|
+
this.shortDelay = n, this.longDelay = t, rt(t > n, "Short delay should be less than long delay!"), this.isMobile = Wy() || Ky();
|
|
15841
15857
|
}
|
|
15842
15858
|
get() {
|
|
15843
15859
|
return bv() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
|
@@ -16030,7 +16046,7 @@ function Ur(e, n) {
|
|
|
16030
16046
|
return e.tenantId && !n.tenantId ? Object.assign(Object.assign({}, n), { tenantId: e.tenantId }) : n;
|
|
16031
16047
|
}
|
|
16032
16048
|
async function ln(e, n, t, i, r = {}) {
|
|
16033
|
-
return
|
|
16049
|
+
return Wh(e, r, async () => {
|
|
16034
16050
|
let o = {}, a = {};
|
|
16035
16051
|
i && (n === "GET" ? a = i : o = {
|
|
16036
16052
|
body: JSON.stringify(i)
|
|
@@ -16047,10 +16063,10 @@ async function ln(e, n, t, i, r = {}) {
|
|
|
16047
16063
|
method: n,
|
|
16048
16064
|
headers: c
|
|
16049
16065
|
}, o);
|
|
16050
|
-
return
|
|
16066
|
+
return Qy() || (g.referrerPolicy = "no-referrer"), Zh.fetch()(Xh(e, e.config.apiHost, t, d), g);
|
|
16051
16067
|
});
|
|
16052
16068
|
}
|
|
16053
|
-
async function
|
|
16069
|
+
async function Wh(e, n, t) {
|
|
16054
16070
|
e._canInitEmulator = !1;
|
|
16055
16071
|
const i = Object.assign(Object.assign({}, Ev), n);
|
|
16056
16072
|
try {
|
|
@@ -16083,7 +16099,7 @@ async function Qh(e, n, t) {
|
|
|
16083
16099
|
it(e, "network-request-failed", { message: String(r) });
|
|
16084
16100
|
}
|
|
16085
16101
|
}
|
|
16086
|
-
async function
|
|
16102
|
+
async function Qh(e, n, t, i, r = {}) {
|
|
16087
16103
|
const o = await ln(e, n, t, i, r);
|
|
16088
16104
|
return "mfaPendingCredential" in o && it(e, "multi-factor-auth-required", {
|
|
16089
16105
|
_serverResponse: o
|
|
@@ -16412,7 +16428,7 @@ function Jh(e) {
|
|
|
16412
16428
|
* limitations under the License.
|
|
16413
16429
|
*/
|
|
16414
16430
|
async function Bv(e, n) {
|
|
16415
|
-
const t = await
|
|
16431
|
+
const t = await Wh(e, {}, async () => {
|
|
16416
16432
|
const i = Ki({
|
|
16417
16433
|
grant_type: "refresh_token",
|
|
16418
16434
|
refresh_token: n
|
|
@@ -16633,7 +16649,7 @@ class et {
|
|
|
16633
16649
|
}
|
|
16634
16650
|
static _fromJSON(n, t) {
|
|
16635
16651
|
var i, r, o, a, d, c, g, v;
|
|
16636
|
-
const E = (i = t.displayName) !== null && i !== void 0 ? i : void 0, P = (r = t.email) !== null && r !== void 0 ? r : void 0, R = (o = t.phoneNumber) !== null && o !== void 0 ? o : void 0, O = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, S = (d = t.tenantId) !== null && d !== void 0 ? d : void 0, D = (c = t._redirectEventId) !== null && c !== void 0 ? c : void 0,
|
|
16652
|
+
const E = (i = t.displayName) !== null && i !== void 0 ? i : void 0, P = (r = t.email) !== null && r !== void 0 ? r : void 0, R = (o = t.phoneNumber) !== null && o !== void 0 ? o : void 0, O = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, S = (d = t.tenantId) !== null && d !== void 0 ? d : void 0, D = (c = t._redirectEventId) !== null && c !== void 0 ? c : 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: K, providerData: te, stsTokenManager: pe } = t;
|
|
16637
16653
|
U(
|
|
16638
16654
|
H && pe,
|
|
16639
16655
|
n,
|
|
@@ -16656,7 +16672,7 @@ class et {
|
|
|
16656
16672
|
n,
|
|
16657
16673
|
"internal-error"
|
|
16658
16674
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
16659
|
-
), ut(R, n.name), ut(O, n.name), ut(S, n.name), ut(D, n.name), ut(
|
|
16675
|
+
), ut(R, n.name), ut(O, n.name), ut(S, n.name), ut(D, n.name), ut(W, n.name), ut(Z, n.name);
|
|
16660
16676
|
const p = new et({
|
|
16661
16677
|
uid: H,
|
|
16662
16678
|
auth: n,
|
|
@@ -16668,7 +16684,7 @@ class et {
|
|
|
16668
16684
|
phoneNumber: R,
|
|
16669
16685
|
tenantId: S,
|
|
16670
16686
|
stsTokenManager: ae,
|
|
16671
|
-
createdAt:
|
|
16687
|
+
createdAt: W,
|
|
16672
16688
|
lastLoginAt: Z
|
|
16673
16689
|
});
|
|
16674
16690
|
return te && Array.isArray(te) && (p.providerData = te.map((F) => Object.assign({}, F))), D && (p._redirectEventId = D), p;
|
|
@@ -16739,11 +16755,11 @@ class et {
|
|
|
16739
16755
|
* See the License for the specific language governing permissions and
|
|
16740
16756
|
* limitations under the License.
|
|
16741
16757
|
*/
|
|
16742
|
-
const
|
|
16758
|
+
const Wm = /* @__PURE__ */ new Map();
|
|
16743
16759
|
function tt(e) {
|
|
16744
16760
|
rt(e instanceof Function, "Expected a class definition");
|
|
16745
|
-
let n =
|
|
16746
|
-
return n ? (rt(n instanceof e, "Instance stored in cache mismatched with class"), n) : (n = new e(),
|
|
16761
|
+
let n = Wm.get(e);
|
|
16762
|
+
return n ? (rt(n instanceof e, "Instance stored in cache mismatched with class"), n) : (n = new e(), Wm.set(e, n), n);
|
|
16747
16763
|
}
|
|
16748
16764
|
/**
|
|
16749
16765
|
* @license
|
|
@@ -16784,7 +16800,7 @@ class xh {
|
|
|
16784
16800
|
}
|
|
16785
16801
|
}
|
|
16786
16802
|
xh.type = "NONE";
|
|
16787
|
-
const
|
|
16803
|
+
const Qm = xh;
|
|
16788
16804
|
/**
|
|
16789
16805
|
* @license
|
|
16790
16806
|
* Copyright 2019 Google LLC
|
|
@@ -16835,12 +16851,12 @@ class en {
|
|
|
16835
16851
|
}
|
|
16836
16852
|
static async create(n, t, i = "authUser") {
|
|
16837
16853
|
if (!t.length)
|
|
16838
|
-
return new en(tt(
|
|
16854
|
+
return new en(tt(Qm), n, i);
|
|
16839
16855
|
const r = (await Promise.all(t.map(async (g) => {
|
|
16840
16856
|
if (await g._isAvailable())
|
|
16841
16857
|
return g;
|
|
16842
16858
|
}))).filter((g) => g);
|
|
16843
|
-
let o = r[0] || tt(
|
|
16859
|
+
let o = r[0] || tt(Qm);
|
|
16844
16860
|
const a = ar(i, n.config.apiKey, n.name);
|
|
16845
16861
|
let d = null;
|
|
16846
16862
|
for (const g of t)
|
|
@@ -17586,19 +17602,19 @@ function Zv(e, n, t) {
|
|
|
17586
17602
|
"invalid-emulator-scheme"
|
|
17587
17603
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
|
17588
17604
|
);
|
|
17589
|
-
const r = !1, o = df(n), { host: a, port: d } =
|
|
17605
|
+
const r = !1, o = df(n), { host: a, port: d } = Wv(n), c = d === null ? "" : `:${d}`;
|
|
17590
17606
|
i.config.emulator = { url: `${o}//${a}${c}/` }, i.settings.appVerificationDisabledForTesting = !0, i.emulatorConfig = Object.freeze({
|
|
17591
17607
|
host: a,
|
|
17592
17608
|
port: d,
|
|
17593
17609
|
protocol: o.replace(":", ""),
|
|
17594
17610
|
options: Object.freeze({ disableWarnings: r })
|
|
17595
|
-
}),
|
|
17611
|
+
}), Qv();
|
|
17596
17612
|
}
|
|
17597
17613
|
function df(e) {
|
|
17598
17614
|
const n = e.indexOf(":");
|
|
17599
17615
|
return n < 0 ? "" : e.substr(0, n + 1);
|
|
17600
17616
|
}
|
|
17601
|
-
function
|
|
17617
|
+
function Wv(e) {
|
|
17602
17618
|
const n = df(e), t = /(\/\/)?([^?#/]+)/.exec(e.substr(n.length));
|
|
17603
17619
|
if (!t)
|
|
17604
17620
|
return { host: "", port: null };
|
|
@@ -17617,7 +17633,7 @@ function Jm(e) {
|
|
|
17617
17633
|
const n = Number(e);
|
|
17618
17634
|
return isNaN(n) ? null : n;
|
|
17619
17635
|
}
|
|
17620
|
-
function
|
|
17636
|
+
function Qv() {
|
|
17621
17637
|
function e() {
|
|
17622
17638
|
const n = document.createElement("p"), t = n.style;
|
|
17623
17639
|
n.innerText = "Running in emulator mode. Do not use with production credentials.", t.position = "fixed", t.width = "100%", t.backgroundColor = "#ffffff", t.border = ".1em solid #000000", t.color = "#b50000", t.bottom = "0px", t.left = "0px", t.margin = "0px", t.zIndex = "10000", t.textAlign = "center", n.classList.add("firebase-emulator-warning"), document.body.appendChild(n);
|
|
@@ -17683,7 +17699,7 @@ class lf {
|
|
|
17683
17699
|
* limitations under the License.
|
|
17684
17700
|
*/
|
|
17685
17701
|
async function tn(e, n) {
|
|
17686
|
-
return
|
|
17702
|
+
return Qh(e, "POST", "/v1/accounts:signInWithIdp", Ur(e, n));
|
|
17687
17703
|
}
|
|
17688
17704
|
/**
|
|
17689
17705
|
* @license
|
|
@@ -18155,13 +18171,13 @@ ft.PROVIDER_ID = "twitter.com";
|
|
|
18155
18171
|
* See the License for the specific language governing permissions and
|
|
18156
18172
|
* limitations under the License.
|
|
18157
18173
|
*/
|
|
18158
|
-
class
|
|
18174
|
+
class Wt {
|
|
18159
18175
|
constructor(n) {
|
|
18160
18176
|
this.user = n.user, this.providerId = n.providerId, this._tokenResponse = n._tokenResponse, this.operationType = n.operationType;
|
|
18161
18177
|
}
|
|
18162
18178
|
static async _fromIdTokenResponse(n, t, i, r = !1) {
|
|
18163
18179
|
const o = await et._fromIdTokenResponse(n, i, r), a = xm(i);
|
|
18164
|
-
return new
|
|
18180
|
+
return new Wt({
|
|
18165
18181
|
user: o,
|
|
18166
18182
|
providerId: a,
|
|
18167
18183
|
_tokenResponse: i,
|
|
@@ -18175,7 +18191,7 @@ class Qt {
|
|
|
18175
18191
|
!0
|
|
18176
18192
|
);
|
|
18177
18193
|
const r = xm(i);
|
|
18178
|
-
return new
|
|
18194
|
+
return new Wt({
|
|
18179
18195
|
user: n,
|
|
18180
18196
|
providerId: r,
|
|
18181
18197
|
_tokenResponse: i,
|
|
@@ -18223,7 +18239,7 @@ function cf(e, n, t, i) {
|
|
|
18223
18239
|
}
|
|
18224
18240
|
async function Kv(e, n, t = !1) {
|
|
18225
18241
|
const i = await Gi(e, n._linkToIdToken(e.auth, await e.getIdToken()), t);
|
|
18226
|
-
return
|
|
18242
|
+
return Wt._forOperation(e, "link", i);
|
|
18227
18243
|
}
|
|
18228
18244
|
/**
|
|
18229
18245
|
* @license
|
|
@@ -18267,7 +18283,7 @@ async function Jv(e, n, t = !1) {
|
|
|
18267
18283
|
i,
|
|
18268
18284
|
"user-mismatch"
|
|
18269
18285
|
/* AuthErrorCode.USER_MISMATCH */
|
|
18270
|
-
),
|
|
18286
|
+
), Wt._forOperation(e, r, o);
|
|
18271
18287
|
} catch (o) {
|
|
18272
18288
|
throw (o == null ? void 0 : o.code) === "auth/user-not-found" && it(
|
|
18273
18289
|
i,
|
|
@@ -18295,7 +18311,7 @@ async function Jv(e, n, t = !1) {
|
|
|
18295
18311
|
async function xv(e, n, t = !1) {
|
|
18296
18312
|
if (_e(e.app))
|
|
18297
18313
|
return Promise.reject(vt(e));
|
|
18298
|
-
const i = "signIn", r = await cf(e, i, n), o = await
|
|
18314
|
+
const i = "signIn", r = await cf(e, i, n), o = await Wt._fromIdTokenResponse(e, i, r);
|
|
18299
18315
|
return t || await e._updateCurrentUser(o.user), o;
|
|
18300
18316
|
}
|
|
18301
18317
|
/**
|
|
@@ -18315,7 +18331,7 @@ async function xv(e, n, t = !1) {
|
|
|
18315
18331
|
* limitations under the License.
|
|
18316
18332
|
*/
|
|
18317
18333
|
async function _v(e, n) {
|
|
18318
|
-
return
|
|
18334
|
+
return Qh(e, "POST", "/v1/accounts:signInWithCustomToken", Ur(e, n));
|
|
18319
18335
|
}
|
|
18320
18336
|
/**
|
|
18321
18337
|
* @license
|
|
@@ -18339,7 +18355,7 @@ async function EC(e, n) {
|
|
|
18339
18355
|
const t = qr(e), i = await _v(t, {
|
|
18340
18356
|
token: n,
|
|
18341
18357
|
returnSecureToken: !0
|
|
18342
|
-
}), r = await
|
|
18358
|
+
}), r = await Wt._fromIdTokenResponse(t, "signIn", i);
|
|
18343
18359
|
return await t._updateCurrentUser(r.user), r;
|
|
18344
18360
|
}
|
|
18345
18361
|
function $v(e, n, t, i) {
|
|
@@ -19682,12 +19698,12 @@ async function ZE(e) {
|
|
|
19682
19698
|
* See the License for the specific language governing permissions and
|
|
19683
19699
|
* limitations under the License.
|
|
19684
19700
|
*/
|
|
19685
|
-
const
|
|
19701
|
+
const WE = {
|
|
19686
19702
|
location: "yes",
|
|
19687
19703
|
resizable: "yes",
|
|
19688
19704
|
statusbar: "yes",
|
|
19689
19705
|
toolbar: "no"
|
|
19690
|
-
},
|
|
19706
|
+
}, QE = 500, XE = 600, KE = "_blank", JE = "http://localhost";
|
|
19691
19707
|
class ng {
|
|
19692
19708
|
constructor(n) {
|
|
19693
19709
|
this.window = n, this.associatedEvent = null;
|
|
@@ -19700,10 +19716,10 @@ class ng {
|
|
|
19700
19716
|
}
|
|
19701
19717
|
}
|
|
19702
19718
|
}
|
|
19703
|
-
function xE(e, n, t, i =
|
|
19719
|
+
function xE(e, n, t, i = QE, r = XE) {
|
|
19704
19720
|
const o = Math.max((window.screen.availHeight - r) / 2, 0).toString(), a = Math.max((window.screen.availWidth - i) / 2, 0).toString();
|
|
19705
19721
|
let d = "";
|
|
19706
|
-
const c = Object.assign(Object.assign({},
|
|
19722
|
+
const c = Object.assign(Object.assign({}, WE), {
|
|
19707
19723
|
width: i.toString(),
|
|
19708
19724
|
height: r.toString(),
|
|
19709
19725
|
top: o,
|
|
@@ -20250,7 +20266,7 @@ class ze {
|
|
|
20250
20266
|
function g(V) {
|
|
20251
20267
|
V.path_ = decodeURIComponent(V.path);
|
|
20252
20268
|
}
|
|
20253
|
-
const v = "v[A-Za-z0-9_]+", E = t.replace(/[.]/g, "\\."), P = "(/([^?#]*).*)?$", R = new RegExp(`^https?://${E}/${v}/b/${r}/o${P}`, "i"), O = { bucket: 1, path: 3 }, S = t === Ff ? "(?:storage.googleapis.com|storage.cloud.google.com)" : t, D = "([^?#]*)",
|
|
20269
|
+
const v = "v[A-Za-z0-9_]+", E = t.replace(/[.]/g, "\\."), P = "(/([^?#]*).*)?$", R = new RegExp(`^https?://${E}/${v}/b/${r}/o${P}`, "i"), O = { bucket: 1, path: 3 }, S = t === Ff ? "(?:storage.googleapis.com|storage.cloud.google.com)" : t, D = "([^?#]*)", W = new RegExp(`^https?://${S}/${r}/${D}`, "i"), H = [
|
|
20254
20270
|
{ regex: d, indices: c, postModify: o },
|
|
20255
20271
|
{
|
|
20256
20272
|
regex: R,
|
|
@@ -20258,7 +20274,7 @@ class ze {
|
|
|
20258
20274
|
postModify: g
|
|
20259
20275
|
},
|
|
20260
20276
|
{
|
|
20261
|
-
regex:
|
|
20277
|
+
regex: W,
|
|
20262
20278
|
indices: { bucket: 1, path: 2 },
|
|
20263
20279
|
postModify: g
|
|
20264
20280
|
}
|
|
@@ -20322,17 +20338,17 @@ function RF(e, n, t) {
|
|
|
20322
20338
|
function P() {
|
|
20323
20339
|
o && clearTimeout(o);
|
|
20324
20340
|
}
|
|
20325
|
-
function R(D, ...
|
|
20341
|
+
function R(D, ...W) {
|
|
20326
20342
|
if (g) {
|
|
20327
20343
|
P();
|
|
20328
20344
|
return;
|
|
20329
20345
|
}
|
|
20330
20346
|
if (D) {
|
|
20331
|
-
P(), v.call(null, D, ...
|
|
20347
|
+
P(), v.call(null, D, ...W);
|
|
20332
20348
|
return;
|
|
20333
20349
|
}
|
|
20334
20350
|
if (c() || a) {
|
|
20335
|
-
P(), v.call(null, D, ...
|
|
20351
|
+
P(), v.call(null, D, ...W);
|
|
20336
20352
|
return;
|
|
20337
20353
|
}
|
|
20338
20354
|
i < 64 && (i *= 2);
|
|
@@ -20665,7 +20681,7 @@ function ZF(e, n) {
|
|
|
20665
20681
|
case Ne.BASE64URL:
|
|
20666
20682
|
return new xa(Tf(e, n));
|
|
20667
20683
|
case Ne.DATA_URL:
|
|
20668
|
-
return new xa(
|
|
20684
|
+
return new xa(QF(n), XF(n));
|
|
20669
20685
|
}
|
|
20670
20686
|
throw md();
|
|
20671
20687
|
}
|
|
@@ -20689,7 +20705,7 @@ function Pf(e) {
|
|
|
20689
20705
|
}
|
|
20690
20706
|
return new Uint8Array(n);
|
|
20691
20707
|
}
|
|
20692
|
-
function
|
|
20708
|
+
function WF(e) {
|
|
20693
20709
|
let n;
|
|
20694
20710
|
try {
|
|
20695
20711
|
n = decodeURIComponent(e);
|
|
@@ -20735,9 +20751,9 @@ class Rf {
|
|
|
20735
20751
|
i != null && (this.base64 = KF(i, ";base64"), this.contentType = this.base64 ? i.substring(0, i.length - 7) : i), this.rest = n.substring(n.indexOf(",") + 1);
|
|
20736
20752
|
}
|
|
20737
20753
|
}
|
|
20738
|
-
function
|
|
20754
|
+
function QF(e) {
|
|
20739
20755
|
const n = new Rf(e);
|
|
20740
|
-
return n.base64 ? Tf(Ne.BASE64, n.rest) :
|
|
20756
|
+
return n.base64 ? Tf(Ne.BASE64, n.rest) : WF(n.rest);
|
|
20741
20757
|
}
|
|
20742
20758
|
function XF(e) {
|
|
20743
20759
|
return new Rf(e).contentType;
|
|
@@ -21000,7 +21016,7 @@ Content-Type: ` + g.contentType + `\r
|
|
|
21000
21016
|
--` + c + "--", R = At.getBlob(E, i, P);
|
|
21001
21017
|
if (R === null)
|
|
21002
21018
|
throw zF();
|
|
21003
|
-
const O = { name: g.fullPath }, S = MF(o, e.host, e._protocol), D = "POST",
|
|
21019
|
+
const O = { name: g.fullPath }, S = MF(o, e.host, e._protocol), D = "POST", W = e.maxUploadRetryTime, Z = new aI(S, D, dI(e, t), W);
|
|
21004
21020
|
return Z.urlParams = O, Z.headers = a, Z.body = R.uploadData(), Z.errorHandler = lI(n), Z;
|
|
21005
21021
|
}
|
|
21006
21022
|
class gI {
|
|
@@ -21085,7 +21101,7 @@ function fI() {
|
|
|
21085
21101
|
* See the License for the specific language governing permissions and
|
|
21086
21102
|
* limitations under the License.
|
|
21087
21103
|
*/
|
|
21088
|
-
class
|
|
21104
|
+
class Qt {
|
|
21089
21105
|
constructor(n, t) {
|
|
21090
21106
|
this._service = n, t instanceof ze ? this._location = t : this._location = ze.makeFromUrl(t, n.host);
|
|
21091
21107
|
}
|
|
@@ -21098,7 +21114,7 @@ class Wt {
|
|
|
21098
21114
|
return "gs://" + this._location.bucket + "/" + this._location.path;
|
|
21099
21115
|
}
|
|
21100
21116
|
_newRef(n, t) {
|
|
21101
|
-
return new
|
|
21117
|
+
return new Qt(n, t);
|
|
21102
21118
|
}
|
|
21103
21119
|
/**
|
|
21104
21120
|
* A reference to the root of this object's bucket.
|
|
@@ -21141,7 +21157,7 @@ class Wt {
|
|
|
21141
21157
|
if (n === null)
|
|
21142
21158
|
return null;
|
|
21143
21159
|
const t = new ze(this._location.bucket, n);
|
|
21144
|
-
return new
|
|
21160
|
+
return new Qt(this._service, t);
|
|
21145
21161
|
}
|
|
21146
21162
|
/**
|
|
21147
21163
|
* Utility function to throw an error in methods that do not accept a root reference.
|
|
@@ -21161,7 +21177,7 @@ function AI(e, n, t) {
|
|
|
21161
21177
|
}
|
|
21162
21178
|
function pI(e, n) {
|
|
21163
21179
|
const t = _F(e._location.path, n), i = new ze(e._location.bucket, t);
|
|
21164
|
-
return new
|
|
21180
|
+
return new Qt(e.storage, i);
|
|
21165
21181
|
}
|
|
21166
21182
|
/**
|
|
21167
21183
|
* @license
|
|
@@ -21183,14 +21199,14 @@ function yI(e) {
|
|
|
21183
21199
|
return /^[A-Za-z]+:\/\//.test(e);
|
|
21184
21200
|
}
|
|
21185
21201
|
function bI(e, n) {
|
|
21186
|
-
return new
|
|
21202
|
+
return new Qt(e, n);
|
|
21187
21203
|
}
|
|
21188
21204
|
function Bf(e, n) {
|
|
21189
21205
|
if (e instanceof hd) {
|
|
21190
21206
|
const t = e;
|
|
21191
21207
|
if (t._bucket == null)
|
|
21192
21208
|
throw IF();
|
|
21193
|
-
const i = new
|
|
21209
|
+
const i = new Qt(t, t._bucket);
|
|
21194
21210
|
return n != null ? Bf(i, n) : i;
|
|
21195
21211
|
} else
|
|
21196
21212
|
return n !== void 0 ? pI(e, n) : e;
|
|
@@ -21285,7 +21301,7 @@ class hd {
|
|
|
21285
21301
|
* at the given Location.
|
|
21286
21302
|
*/
|
|
21287
21303
|
_makeStorageReference(n) {
|
|
21288
|
-
return new
|
|
21304
|
+
return new Qt(this, n);
|
|
21289
21305
|
}
|
|
21290
21306
|
/**
|
|
21291
21307
|
* @param requestInfo - HTTP RequestInfo object
|
|
@@ -21716,10 +21732,10 @@ const ee = [
|
|
|
21716
21732
|
), Zf = ve(
|
|
21717
21733
|
Te,
|
|
21718
21734
|
qI
|
|
21719
|
-
),
|
|
21735
|
+
), Wf = ve(
|
|
21720
21736
|
Te,
|
|
21721
21737
|
GI
|
|
21722
|
-
),
|
|
21738
|
+
), Qf = ve(
|
|
21723
21739
|
Te,
|
|
21724
21740
|
YI
|
|
21725
21741
|
), Xf = ve(
|
|
@@ -21743,7 +21759,7 @@ const ee = [
|
|
|
21743
21759
|
l.delete
|
|
21744
21760
|
]
|
|
21745
21761
|
}
|
|
21746
|
-
],
|
|
21762
|
+
], WI = [
|
|
21747
21763
|
...ee,
|
|
21748
21764
|
{
|
|
21749
21765
|
label: "Membership",
|
|
@@ -21755,7 +21771,7 @@ const ee = [
|
|
|
21755
21771
|
l.delete
|
|
21756
21772
|
]
|
|
21757
21773
|
}
|
|
21758
|
-
],
|
|
21774
|
+
], QI = ve(
|
|
21759
21775
|
BI,
|
|
21760
21776
|
SI,
|
|
21761
21777
|
Mf,
|
|
@@ -21770,8 +21786,8 @@ const ee = [
|
|
|
21770
21786
|
Lf,
|
|
21771
21787
|
Hf,
|
|
21772
21788
|
Zf,
|
|
21773
|
-
Qf,
|
|
21774
21789
|
Wf,
|
|
21790
|
+
Qf,
|
|
21775
21791
|
Xf,
|
|
21776
21792
|
kf,
|
|
21777
21793
|
Vf,
|
|
@@ -21784,11 +21800,11 @@ const ee = [
|
|
|
21784
21800
|
), KI = ve(
|
|
21785
21801
|
Te,
|
|
21786
21802
|
ZI
|
|
21787
|
-
), JI = ve(
|
|
21803
|
+
), JI = ve(WI), xI = {
|
|
21788
21804
|
[`set_${f.crm}`]: {
|
|
21789
21805
|
key: "sys:crm:access",
|
|
21790
21806
|
name: "CRM Access",
|
|
21791
|
-
permissions:
|
|
21807
|
+
permissions: QI
|
|
21792
21808
|
},
|
|
21793
21809
|
[`set_${f.crm_promotion}`]: {
|
|
21794
21810
|
key: "sys:crm:promotion",
|
|
@@ -21838,12 +21854,12 @@ const ee = [
|
|
|
21838
21854
|
[`set_${f.crm_experience}`]: {
|
|
21839
21855
|
key: "sys:crm:experience",
|
|
21840
21856
|
name: "CRM Experience",
|
|
21841
|
-
permissions:
|
|
21857
|
+
permissions: Wf
|
|
21842
21858
|
},
|
|
21843
21859
|
[`set_${f.crm_game}`]: {
|
|
21844
21860
|
key: "sys:crm:game",
|
|
21845
21861
|
name: "CRM Game",
|
|
21846
|
-
permissions:
|
|
21862
|
+
permissions: Qf
|
|
21847
21863
|
},
|
|
21848
21864
|
[`set_${f.crm_mission}`]: {
|
|
21849
21865
|
key: "sys:crm:mission",
|
|
@@ -22459,7 +22475,7 @@ function gz() {
|
|
|
22459
22475
|
return gg || (gg = 1, function(e, n) {
|
|
22460
22476
|
(function(t, i) {
|
|
22461
22477
|
e.exports = i();
|
|
22462
|
-
})(
|
|
22478
|
+
})(Q, function() {
|
|
22463
22479
|
return function(t) {
|
|
22464
22480
|
var i = {};
|
|
22465
22481
|
function r(o) {
|
|
@@ -22734,7 +22750,7 @@ function gz() {
|
|
|
22734
22750
|
function D(p, F) {
|
|
22735
22751
|
return { options: p, validate: F };
|
|
22736
22752
|
}
|
|
22737
|
-
function
|
|
22753
|
+
function W(p, F) {
|
|
22738
22754
|
var C = p.keyPath, z = p.child, M = p.query, N = [];
|
|
22739
22755
|
if (function Oe(Ee, we, dt, Kt, lt) {
|
|
22740
22756
|
if (dt === we.length || Ee == null)
|
|
@@ -22754,7 +22770,7 @@ function gz() {
|
|
|
22754
22770
|
return J;
|
|
22755
22771
|
}
|
|
22756
22772
|
function Z(p, F, C) {
|
|
22757
|
-
return D({ keyPath: p, child: F, query: C },
|
|
22773
|
+
return D({ keyPath: p, child: F, query: C }, W);
|
|
22758
22774
|
}
|
|
22759
22775
|
function H(p) {
|
|
22760
22776
|
var F = p.comparable, C = p.expressions, z = function(q) {
|
|
@@ -23243,11 +23259,11 @@ const Gz = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
23243
23259
|
subtitle: "哎呀!您没有权限访问此页面。"
|
|
23244
23260
|
}, Zz = {
|
|
23245
23261
|
noPermission: Hz
|
|
23246
|
-
},
|
|
23262
|
+
}, Wz = {
|
|
23247
23263
|
title: "存取被拒絕",
|
|
23248
23264
|
subtitle: "哎呀!您沒有權限存取此頁面。"
|
|
23249
|
-
},
|
|
23250
|
-
noPermission:
|
|
23265
|
+
}, Qz = {
|
|
23266
|
+
noPermission: Wz
|
|
23251
23267
|
}, Xz = {
|
|
23252
23268
|
title: "การเข้าถึงถูกปฏิเสธ",
|
|
23253
23269
|
subtitle: "โอ้! คุณไม่มีสิทธิ์เข้าถึงหน้านี้"
|
|
@@ -23260,7 +23276,7 @@ const Gz = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
23260
23276
|
messages: {
|
|
23261
23277
|
"en-US": Lz,
|
|
23262
23278
|
"zh-CN": Zz,
|
|
23263
|
-
"zh-Hant":
|
|
23279
|
+
"zh-Hant": Qz,
|
|
23264
23280
|
"th-TH": Kz
|
|
23265
23281
|
}
|
|
23266
23282
|
});
|
|
@@ -23283,7 +23299,7 @@ const Gz = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
23283
23299
|
__name: "PermissionWrapper",
|
|
23284
23300
|
setup(e) {
|
|
23285
23301
|
const n = qz();
|
|
23286
|
-
return (t, i) => Yt(n) === Yt(hs).Denied ? (As(),
|
|
23302
|
+
return (t, i) => Yt(n) === Yt(hs).Denied ? (As(), WA(nC, { key: 0 })) : Yt(n) === Yt(hs).Allowed ? QA(t.$slots, "default", { key: 1 }) : XA("", !0);
|
|
23287
23303
|
}
|
|
23288
23304
|
});
|
|
23289
23305
|
function Oi(e) {
|
|
@@ -23342,14 +23358,14 @@ const aC = "/kiosk", sC = "/kiosk/device", dC = "/kiosk/order-setting", lC = "/o
|
|
|
23342
23358
|
// allow access via either subject (coverSubject = OR fallback).
|
|
23343
23359
|
path: wi.KioskRoute,
|
|
23344
23360
|
name: "Kiosk",
|
|
23345
|
-
component: Oi(un(() => import("./KioskView-
|
|
23361
|
+
component: Oi(un(() => import("./KioskView-DKY2QEh5.js"))),
|
|
23346
23362
|
meta: Ni([{ ...yg, coverSubject: cC.subject }])
|
|
23347
23363
|
},
|
|
23348
23364
|
{
|
|
23349
23365
|
path: wi.KioskDeviceRoute,
|
|
23350
23366
|
name: "Kiosk Device",
|
|
23351
23367
|
component: Oi(
|
|
23352
|
-
un(() => import("./KioskDevicesView-
|
|
23368
|
+
un(() => import("./KioskDevicesView-CgdnW9N9.js"))
|
|
23353
23369
|
),
|
|
23354
23370
|
meta: Ni([yg])
|
|
23355
23371
|
},
|
|
@@ -23359,7 +23375,7 @@ const aC = "/kiosk", sC = "/kiosk/device", dC = "/kiosk/order-setting", lC = "/o
|
|
|
23359
23375
|
path: wi.KioskOrderSettingRoute,
|
|
23360
23376
|
name: "Kiosk Order Setting",
|
|
23361
23377
|
component: Oi(
|
|
23362
|
-
un(() => import("./KioskSettingView-
|
|
23378
|
+
un(() => import("./KioskSettingView-CVck01e7.js"))
|
|
23363
23379
|
),
|
|
23364
23380
|
meta: Ni([$a])
|
|
23365
23381
|
},
|
|
@@ -23367,7 +23383,7 @@ const aC = "/kiosk", sC = "/kiosk/device", dC = "/kiosk/order-setting", lC = "/o
|
|
|
23367
23383
|
path: wi.OrderSettingView,
|
|
23368
23384
|
name: "Order Setting View",
|
|
23369
23385
|
component: Oi(
|
|
23370
|
-
un(() => import("./OrderSettingsView-
|
|
23386
|
+
un(() => import("./OrderSettingsView-CEPIZmHA.js"))
|
|
23371
23387
|
),
|
|
23372
23388
|
meta: Ni([$a])
|
|
23373
23389
|
},
|
|
@@ -23375,7 +23391,7 @@ const aC = "/kiosk", sC = "/kiosk/device", dC = "/kiosk/order-setting", lC = "/o
|
|
|
23375
23391
|
path: wi.DisplaySystemView,
|
|
23376
23392
|
name: "Display System View",
|
|
23377
23393
|
component: Oi(
|
|
23378
|
-
un(() => import("./DisplaySystemView-
|
|
23394
|
+
un(() => import("./DisplaySystemView-BA-5JObJ.js"))
|
|
23379
23395
|
),
|
|
23380
23396
|
meta: Ni([$a])
|
|
23381
23397
|
}
|
|
@@ -23391,7 +23407,7 @@ export {
|
|
|
23391
23407
|
TC as _,
|
|
23392
23408
|
RC as a,
|
|
23393
23409
|
CC as b,
|
|
23394
|
-
|
|
23410
|
+
Q as c,
|
|
23395
23411
|
PC as d,
|
|
23396
23412
|
My as e,
|
|
23397
23413
|
IC as f,
|