@feedmepos/mf-order-setting 0.0.70-dev → 0.0.70-prod
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/{KioskDevicesView-cQ4tX3kR.js → KioskDevicesView-6ADPwAez.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-HPDEK0wi.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BBoONzyB.js} +3 -3
- package/dist/{KioskSettingView-BDt8UR2a.js → KioskSettingView-BhqV4Y53.js} +4 -4
- package/dist/{KioskView-BDNsuv-u.js → KioskView-D7BdhS6J.js} +4 -4
- package/dist/{OrderSettingsView-D5EsIz2E.js → OrderSettingsView-DVWn3z4D.js} +5 -5
- package/dist/{app-DO2DfkeG.js → app-CMmf-Znb.js} +213 -213
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-B1r5Y2MK.js → dayjs.min-C7u6rs7Y.js} +1 -1
- package/dist/{index-cpbwl_X3.js → index-BXju8gUv.js} +1 -1
- package/dist/{index-Dq_G4mBb.js → index-DJHJUdYS.js} +2 -2
- package/dist/{queue-transfer.dto-CuWcQwuY.js → queue-transfer.dto-DTfr17-h.js} +1 -1
- package/package.json +1 -1
|
@@ -415,7 +415,7 @@ const Ic = {
|
|
|
415
415
|
}
|
|
416
416
|
}, Tc = {
|
|
417
417
|
order: Ic
|
|
418
|
-
},
|
|
418
|
+
}, Rc = {
|
|
419
419
|
accept: "接受",
|
|
420
420
|
acceptedPayment: "可接受付款方式",
|
|
421
421
|
acceptQueue: "接受队列",
|
|
@@ -823,8 +823,8 @@ const Ic = {
|
|
|
823
823
|
promotion: "促销",
|
|
824
824
|
voucher: "代金券"
|
|
825
825
|
}
|
|
826
|
-
},
|
|
827
|
-
order:
|
|
826
|
+
}, Sc = {
|
|
827
|
+
order: Rc
|
|
828
828
|
}, Pc = {
|
|
829
829
|
accept: "ยอมรับ",
|
|
830
830
|
acceptedPayment: "ยอมรับการชำระเงิน",
|
|
@@ -3200,10 +3200,10 @@ function Lo() {
|
|
|
3200
3200
|
else if (P.path.length === 0)
|
|
3201
3201
|
z._errors.push(y(P));
|
|
3202
3202
|
else {
|
|
3203
|
-
let
|
|
3203
|
+
let S = z, N = 0;
|
|
3204
3204
|
for (; N < P.path.length; ) {
|
|
3205
3205
|
const O = P.path[N];
|
|
3206
|
-
N === P.path.length - 1 ? (
|
|
3206
|
+
N === P.path.length - 1 ? (S[O] = S[O] || { _errors: [] }, S[O]._errors.push(y(P))) : S[O] = S[O] || { _errors: [] }, S = S[O], N++;
|
|
3207
3207
|
}
|
|
3208
3208
|
}
|
|
3209
3209
|
};
|
|
@@ -3299,8 +3299,8 @@ function Vo() {
|
|
|
3299
3299
|
return Ua || (Ua = 1, function(e) {
|
|
3300
3300
|
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;
|
|
3301
3301
|
const t = Lo(), n = (z) => {
|
|
3302
|
-
const { data: I, path: E, errorMaps: P, issueData:
|
|
3303
|
-
...
|
|
3302
|
+
const { data: I, path: E, errorMaps: P, issueData: S } = z, N = [...E, ...S.path || []], O = {
|
|
3303
|
+
...S,
|
|
3304
3304
|
path: N
|
|
3305
3305
|
};
|
|
3306
3306
|
let w = "";
|
|
@@ -3308,9 +3308,9 @@ function Vo() {
|
|
|
3308
3308
|
for (const Y of B)
|
|
3309
3309
|
w = Y(O, { data: I, defaultError: w }).message;
|
|
3310
3310
|
return {
|
|
3311
|
-
...
|
|
3311
|
+
...S,
|
|
3312
3312
|
path: N,
|
|
3313
|
-
message:
|
|
3313
|
+
message: S.message || w
|
|
3314
3314
|
};
|
|
3315
3315
|
};
|
|
3316
3316
|
e.makeIssue = n, e.EMPTY_PATH = [];
|
|
@@ -3341,29 +3341,29 @@ function Vo() {
|
|
|
3341
3341
|
}
|
|
3342
3342
|
static mergeArray(I, E) {
|
|
3343
3343
|
const P = [];
|
|
3344
|
-
for (const
|
|
3345
|
-
if (
|
|
3344
|
+
for (const S of E) {
|
|
3345
|
+
if (S.status === "aborted")
|
|
3346
3346
|
return e.INVALID;
|
|
3347
|
-
|
|
3347
|
+
S.status === "dirty" && I.dirty(), P.push(S.value);
|
|
3348
3348
|
}
|
|
3349
3349
|
return { status: I.value, value: P };
|
|
3350
3350
|
}
|
|
3351
3351
|
static async mergeObjectAsync(I, E) {
|
|
3352
3352
|
const P = [];
|
|
3353
|
-
for (const
|
|
3353
|
+
for (const S of E)
|
|
3354
3354
|
P.push({
|
|
3355
|
-
key: await
|
|
3356
|
-
value: await
|
|
3355
|
+
key: await S.key,
|
|
3356
|
+
value: await S.value
|
|
3357
3357
|
});
|
|
3358
3358
|
return r.mergeObjectSync(I, P);
|
|
3359
3359
|
}
|
|
3360
3360
|
static mergeObjectSync(I, E) {
|
|
3361
3361
|
const P = {};
|
|
3362
|
-
for (const
|
|
3363
|
-
const { key: N, value: O } =
|
|
3362
|
+
for (const S of E) {
|
|
3363
|
+
const { key: N, value: O } = S;
|
|
3364
3364
|
if (N.status === "aborted" || O.status === "aborted")
|
|
3365
3365
|
return e.INVALID;
|
|
3366
|
-
N.status === "dirty" && I.dirty(), O.status === "dirty" && I.dirty(), (typeof O.value < "u" ||
|
|
3366
|
+
N.status === "dirty" && I.dirty(), O.status === "dirty" && I.dirty(), (typeof O.value < "u" || S.alwaysSet) && (P[N.value] = O.value);
|
|
3367
3367
|
}
|
|
3368
3368
|
return { status: I.value, value: P };
|
|
3369
3369
|
}
|
|
@@ -3910,7 +3910,7 @@ var As = {}, Ms = {};
|
|
|
3910
3910
|
typeName: A.ZodBigInt,
|
|
3911
3911
|
...l(_)
|
|
3912
3912
|
});
|
|
3913
|
-
class
|
|
3913
|
+
class S extends c {
|
|
3914
3914
|
_parse(a) {
|
|
3915
3915
|
if (this._getType(a) !== i.ZodParsedType.boolean) {
|
|
3916
3916
|
const u = this._getOrReturnCtx(a);
|
|
@@ -3923,7 +3923,7 @@ var As = {}, Ms = {};
|
|
|
3923
3923
|
return n.OK(a.data);
|
|
3924
3924
|
}
|
|
3925
3925
|
}
|
|
3926
|
-
e.ZodBoolean =
|
|
3926
|
+
e.ZodBoolean = S, S.create = (_) => new S({
|
|
3927
3927
|
typeName: A.ZodBoolean,
|
|
3928
3928
|
...l(_)
|
|
3929
3929
|
});
|
|
@@ -4185,46 +4185,46 @@ var As = {}, Ms = {};
|
|
|
4185
4185
|
}
|
|
4186
4186
|
_parse(a) {
|
|
4187
4187
|
if (this._getType(a) !== i.ZodParsedType.object) {
|
|
4188
|
-
const
|
|
4189
|
-
return n.addIssueToContext(
|
|
4188
|
+
const R = this._getOrReturnCtx(a);
|
|
4189
|
+
return n.addIssueToContext(R, {
|
|
4190
4190
|
code: r.ZodIssueCode.invalid_type,
|
|
4191
4191
|
expected: i.ZodParsedType.object,
|
|
4192
|
-
received:
|
|
4192
|
+
received: R.parsedType
|
|
4193
4193
|
}), n.INVALID;
|
|
4194
4194
|
}
|
|
4195
4195
|
const { status: u, ctx: f } = this._processInputParams(a), { shape: g, keys: v } = this._getCached(), p = [];
|
|
4196
|
-
for (const
|
|
4197
|
-
v.includes(
|
|
4196
|
+
for (const R in f.data)
|
|
4197
|
+
v.includes(R) || p.push(R);
|
|
4198
4198
|
const T = [];
|
|
4199
|
-
for (const
|
|
4200
|
-
const D = g[
|
|
4199
|
+
for (const R of v) {
|
|
4200
|
+
const D = g[R], Wt = f.data[R];
|
|
4201
4201
|
T.push({
|
|
4202
|
-
key: { status: "valid", value:
|
|
4203
|
-
value: D._parse(new o(f, Wt, f.path,
|
|
4204
|
-
alwaysSet:
|
|
4202
|
+
key: { status: "valid", value: R },
|
|
4203
|
+
value: D._parse(new o(f, Wt, f.path, R)),
|
|
4204
|
+
alwaysSet: R in f.data
|
|
4205
4205
|
});
|
|
4206
4206
|
}
|
|
4207
4207
|
if (this._def.catchall instanceof J) {
|
|
4208
|
-
const
|
|
4209
|
-
if (
|
|
4208
|
+
const R = this._def.unknownKeys;
|
|
4209
|
+
if (R === "passthrough")
|
|
4210
4210
|
for (const D of p)
|
|
4211
4211
|
T.push({
|
|
4212
4212
|
key: { status: "valid", value: D },
|
|
4213
4213
|
value: { status: "valid", value: f.data[D] }
|
|
4214
4214
|
});
|
|
4215
|
-
else if (
|
|
4215
|
+
else if (R === "strict")
|
|
4216
4216
|
p.length > 0 && (n.addIssueToContext(f, {
|
|
4217
4217
|
code: r.ZodIssueCode.unrecognized_keys,
|
|
4218
4218
|
keys: p
|
|
4219
4219
|
}), u.dirty());
|
|
4220
|
-
else if (
|
|
4220
|
+
else if (R !== "strip") throw new Error("Internal ZodObject error: invalid unknownKeys value.");
|
|
4221
4221
|
} else {
|
|
4222
|
-
const
|
|
4222
|
+
const R = this._def.catchall;
|
|
4223
4223
|
for (const D of p) {
|
|
4224
4224
|
const Wt = f.data[D];
|
|
4225
4225
|
T.push({
|
|
4226
4226
|
key: { status: "valid", value: D },
|
|
4227
|
-
value:
|
|
4227
|
+
value: R._parse(
|
|
4228
4228
|
new o(f, Wt, f.path, D)
|
|
4229
4229
|
//, ctx.child(key), value, getParsedType(value)
|
|
4230
4230
|
),
|
|
@@ -4233,17 +4233,17 @@ var As = {}, Ms = {};
|
|
|
4233
4233
|
}
|
|
4234
4234
|
}
|
|
4235
4235
|
return f.common.async ? Promise.resolve().then(async () => {
|
|
4236
|
-
const
|
|
4236
|
+
const R = [];
|
|
4237
4237
|
for (const D of T) {
|
|
4238
4238
|
const Wt = await D.key;
|
|
4239
|
-
|
|
4239
|
+
R.push({
|
|
4240
4240
|
key: Wt,
|
|
4241
4241
|
value: await D.value,
|
|
4242
4242
|
alwaysSet: D.alwaysSet
|
|
4243
4243
|
});
|
|
4244
4244
|
}
|
|
4245
|
-
return
|
|
4246
|
-
}).then((
|
|
4245
|
+
return R;
|
|
4246
|
+
}).then((R) => n.ParseStatus.mergeObjectSync(u, R)) : n.ParseStatus.mergeObjectSync(u, T);
|
|
4247
4247
|
}
|
|
4248
4248
|
get shape() {
|
|
4249
4249
|
return this._def.shape();
|
|
@@ -4413,7 +4413,7 @@ var As = {}, Ms = {};
|
|
|
4413
4413
|
let g;
|
|
4414
4414
|
const v = [];
|
|
4415
4415
|
for (const T of u) {
|
|
4416
|
-
const
|
|
4416
|
+
const R = {
|
|
4417
4417
|
...d,
|
|
4418
4418
|
common: {
|
|
4419
4419
|
...d.common,
|
|
@@ -4423,11 +4423,11 @@ var As = {}, Ms = {};
|
|
|
4423
4423
|
}, D = T._parseSync({
|
|
4424
4424
|
data: d.data,
|
|
4425
4425
|
path: d.path,
|
|
4426
|
-
parent:
|
|
4426
|
+
parent: R
|
|
4427
4427
|
});
|
|
4428
4428
|
if (D.status === "valid")
|
|
4429
4429
|
return D;
|
|
4430
|
-
D.status === "dirty" && !g && (g = { result: D, ctx:
|
|
4430
|
+
D.status === "dirty" && !g && (g = { result: D, ctx: R }), R.common.issues.length && v.push(R.common.issues);
|
|
4431
4431
|
}
|
|
4432
4432
|
if (g)
|
|
4433
4433
|
return d.common.issues.push(...g.ctx.common.issues), g.result;
|
|
@@ -4667,28 +4667,28 @@ var As = {}, Ms = {};
|
|
|
4667
4667
|
expected: i.ZodParsedType.map,
|
|
4668
4668
|
received: u.parsedType
|
|
4669
4669
|
}), n.INVALID;
|
|
4670
|
-
const f = this._def.keyType, g = this._def.valueType, v = [...u.data.entries()].map(([p, T],
|
|
4671
|
-
key: f._parse(new o(u, p, u.path, [
|
|
4672
|
-
value: g._parse(new o(u, T, u.path, [
|
|
4670
|
+
const f = this._def.keyType, g = this._def.valueType, v = [...u.data.entries()].map(([p, T], R) => ({
|
|
4671
|
+
key: f._parse(new o(u, p, u.path, [R, "key"])),
|
|
4672
|
+
value: g._parse(new o(u, T, u.path, [R, "value"]))
|
|
4673
4673
|
}));
|
|
4674
4674
|
if (u.common.async) {
|
|
4675
4675
|
const p = /* @__PURE__ */ new Map();
|
|
4676
4676
|
return Promise.resolve().then(async () => {
|
|
4677
4677
|
for (const T of v) {
|
|
4678
|
-
const
|
|
4679
|
-
if (
|
|
4678
|
+
const R = await T.key, D = await T.value;
|
|
4679
|
+
if (R.status === "aborted" || D.status === "aborted")
|
|
4680
4680
|
return n.INVALID;
|
|
4681
|
-
(
|
|
4681
|
+
(R.status === "dirty" || D.status === "dirty") && d.dirty(), p.set(R.value, D.value);
|
|
4682
4682
|
}
|
|
4683
4683
|
return { status: d.value, value: p };
|
|
4684
4684
|
});
|
|
4685
4685
|
} else {
|
|
4686
4686
|
const p = /* @__PURE__ */ new Map();
|
|
4687
4687
|
for (const T of v) {
|
|
4688
|
-
const
|
|
4689
|
-
if (
|
|
4688
|
+
const R = T.key, D = T.value;
|
|
4689
|
+
if (R.status === "aborted" || D.status === "aborted")
|
|
4690
4690
|
return n.INVALID;
|
|
4691
|
-
(
|
|
4691
|
+
(R.status === "dirty" || D.status === "dirty") && d.dirty(), p.set(R.value, D.value);
|
|
4692
4692
|
}
|
|
4693
4693
|
return { status: d.value, value: p };
|
|
4694
4694
|
}
|
|
@@ -4725,15 +4725,15 @@ var As = {}, Ms = {};
|
|
|
4725
4725
|
}), d.dirty());
|
|
4726
4726
|
const g = this._def.valueType;
|
|
4727
4727
|
function v(T) {
|
|
4728
|
-
const
|
|
4728
|
+
const R = /* @__PURE__ */ new Set();
|
|
4729
4729
|
for (const D of T) {
|
|
4730
4730
|
if (D.status === "aborted")
|
|
4731
4731
|
return n.INVALID;
|
|
4732
|
-
D.status === "dirty" && d.dirty(),
|
|
4732
|
+
D.status === "dirty" && d.dirty(), R.add(D.value);
|
|
4733
4733
|
}
|
|
4734
|
-
return { status: d.value, value:
|
|
4734
|
+
return { status: d.value, value: R };
|
|
4735
4735
|
}
|
|
4736
|
-
const p = [...u.data.values()].map((T,
|
|
4736
|
+
const p = [...u.data.values()].map((T, R) => g._parse(new o(u, T, u.path, R)));
|
|
4737
4737
|
return u.common.async ? Promise.all(p).then((T) => v(T)) : v(p);
|
|
4738
4738
|
}
|
|
4739
4739
|
min(a, d) {
|
|
@@ -4783,7 +4783,7 @@ var As = {}, Ms = {};
|
|
|
4783
4783
|
d.schemaErrorMap,
|
|
4784
4784
|
r.getErrorMap(),
|
|
4785
4785
|
r.defaultErrorMap
|
|
4786
|
-
].filter((
|
|
4786
|
+
].filter((R) => !!R),
|
|
4787
4787
|
issueData: {
|
|
4788
4788
|
code: r.ZodIssueCode.invalid_arguments,
|
|
4789
4789
|
argumentsError: T
|
|
@@ -4799,7 +4799,7 @@ var As = {}, Ms = {};
|
|
|
4799
4799
|
d.schemaErrorMap,
|
|
4800
4800
|
r.getErrorMap(),
|
|
4801
4801
|
r.defaultErrorMap
|
|
4802
|
-
].filter((
|
|
4802
|
+
].filter((R) => !!R),
|
|
4803
4803
|
issueData: {
|
|
4804
4804
|
code: r.ZodIssueCode.invalid_return_type,
|
|
4805
4805
|
returnTypeError: T
|
|
@@ -4808,9 +4808,9 @@ var As = {}, Ms = {};
|
|
|
4808
4808
|
}
|
|
4809
4809
|
const g = { errorMap: d.common.contextualErrorMap }, v = d.data;
|
|
4810
4810
|
return this._def.returns instanceof qt ? n.OK(async (...p) => {
|
|
4811
|
-
const T = new r.ZodError([]),
|
|
4811
|
+
const T = new r.ZodError([]), R = await this._def.args.parseAsync(p, g).catch((io) => {
|
|
4812
4812
|
throw T.addIssue(u(p, io)), T;
|
|
4813
|
-
}), D = await v(...
|
|
4813
|
+
}), D = await v(...R);
|
|
4814
4814
|
return await this._def.returns._def.type.parseAsync(D, g).catch((io) => {
|
|
4815
4815
|
throw T.addIssue(f(D, io)), T;
|
|
4816
4816
|
});
|
|
@@ -4818,9 +4818,9 @@ var As = {}, Ms = {};
|
|
|
4818
4818
|
const T = this._def.args.safeParse(p, g);
|
|
4819
4819
|
if (!T.success)
|
|
4820
4820
|
throw new r.ZodError([u(p, T.error)]);
|
|
4821
|
-
const
|
|
4821
|
+
const R = v(...T.data), D = this._def.returns.safeParse(R, g);
|
|
4822
4822
|
if (!D.success)
|
|
4823
|
-
throw new r.ZodError([f(
|
|
4823
|
+
throw new r.ZodError([f(R, D.error)]);
|
|
4824
4824
|
return D.data;
|
|
4825
4825
|
});
|
|
4826
4826
|
}
|
|
@@ -5151,7 +5151,7 @@ var As = {}, Ms = {};
|
|
|
5151
5151
|
e.nan = Ul;
|
|
5152
5152
|
const Ll = P.create;
|
|
5153
5153
|
e.bigint = Ll;
|
|
5154
|
-
const Ba =
|
|
5154
|
+
const Ba = S.create;
|
|
5155
5155
|
e.boolean = Ba;
|
|
5156
5156
|
const Vl = N.create;
|
|
5157
5157
|
e.date = Vl;
|
|
@@ -5328,9 +5328,9 @@ class Bc {
|
|
|
5328
5328
|
}
|
|
5329
5329
|
}
|
|
5330
5330
|
Hn.ZodCouchMeta = Bc;
|
|
5331
|
-
var
|
|
5332
|
-
Object.defineProperty(
|
|
5333
|
-
|
|
5331
|
+
var Rt = {};
|
|
5332
|
+
Object.defineProperty(Rt, "__esModule", { value: !0 });
|
|
5333
|
+
Rt.extractMeta = Rt.ZodDartMeta = void 0;
|
|
5334
5334
|
class wc {
|
|
5335
5335
|
baseUnion(t) {
|
|
5336
5336
|
return this.isBaseUnion = t.isBaseUnion, this.baseType = t.baseType, this.unionKey = t.unionKey, this.fallbackUnion = t.fallbackUnion, this;
|
|
@@ -5349,14 +5349,14 @@ class wc {
|
|
|
5349
5349
|
return JSON.stringify(t, null, 2);
|
|
5350
5350
|
}
|
|
5351
5351
|
}
|
|
5352
|
-
|
|
5352
|
+
Rt.ZodDartMeta = wc;
|
|
5353
5353
|
function jc(e) {
|
|
5354
5354
|
if (!e)
|
|
5355
5355
|
return {};
|
|
5356
5356
|
const t = JSON.parse(e.description || "{}");
|
|
5357
5357
|
return Object.assign({}, t);
|
|
5358
5358
|
}
|
|
5359
|
-
|
|
5359
|
+
Rt.extractMeta = jc;
|
|
5360
5360
|
var Yn = {};
|
|
5361
5361
|
Object.defineProperty(Yn, "__esModule", { value: !0 });
|
|
5362
5362
|
Yn.ZodMongoMeta = void 0;
|
|
@@ -5404,8 +5404,8 @@ Yn.ZodMongoMeta = Uc;
|
|
|
5404
5404
|
for (var m in l) m !== "default" && !Object.prototype.hasOwnProperty.call(c, m) && t(c, l, m);
|
|
5405
5405
|
};
|
|
5406
5406
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ZodMeta = void 0;
|
|
5407
|
-
const i = Hn, r =
|
|
5408
|
-
n(Hn, e), n(
|
|
5407
|
+
const i = Hn, r = Rt, o = Yn;
|
|
5408
|
+
n(Hn, e), n(Rt, e), n(Yn, e);
|
|
5409
5409
|
class s {
|
|
5410
5410
|
static mongo() {
|
|
5411
5411
|
return new o.ZodMongoMeta();
|
|
@@ -5815,17 +5815,17 @@ Lt.FdoBillCustomerRef = lo.z.object({
|
|
|
5815
5815
|
id: lo.z.string(),
|
|
5816
5816
|
name: lo.z.string().nullish()
|
|
5817
5817
|
});
|
|
5818
|
-
var
|
|
5819
|
-
Object.defineProperty(
|
|
5820
|
-
|
|
5818
|
+
var St = {};
|
|
5819
|
+
Object.defineProperty(St, "__esModule", { value: !0 });
|
|
5820
|
+
St.BillItemCreatedByType = St.F_BILL_ITEM_STATUS = void 0;
|
|
5821
5821
|
const Us = h;
|
|
5822
|
-
|
|
5822
|
+
St.F_BILL_ITEM_STATUS = Us.z.enum([
|
|
5823
5823
|
"DRAFT",
|
|
5824
5824
|
"SENT",
|
|
5825
5825
|
"REFUNDED",
|
|
5826
5826
|
"VOIDED"
|
|
5827
5827
|
]);
|
|
5828
|
-
|
|
5828
|
+
St.BillItemCreatedByType = Us.z.enum([
|
|
5829
5829
|
"EMPLOYEE",
|
|
5830
5830
|
"CUSTOMER"
|
|
5831
5831
|
]);
|
|
@@ -5863,7 +5863,7 @@ var Vt = {};
|
|
|
5863
5863
|
})(Vt);
|
|
5864
5864
|
(function(e) {
|
|
5865
5865
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoArrayedBillItem = e.FdoBillItem = e.FdoBillItemPrintChecklistRecord = e.FdoBillItemMove = e.FdoBillSubItemRef = e.FdoBillItemVariantSelected = e.FdoItemAdjustment = e.FdoPrintBy = e.FdoKitchenStation = e.FdoBillItemIs = e.FdoBillItemRef = e.FdoBillItemTaxRef = void 0;
|
|
5866
|
-
const t = h, n = me, i = j, r = $n, o = ee, s = ln, l = Ut, c = un, m = Lt, b =
|
|
5866
|
+
const t = h, n = me, i = j, r = $n, o = ee, s = ln, l = Ut, c = un, m = Lt, b = St, y = Vt;
|
|
5867
5867
|
e.FdoBillItemTaxRef = t.z.object({
|
|
5868
5868
|
systemCode: t.z.string(),
|
|
5869
5869
|
taxCode: t.z.string(),
|
|
@@ -6497,7 +6497,7 @@ var Qo = {};
|
|
|
6497
6497
|
})(Qo);
|
|
6498
6498
|
(function(e) {
|
|
6499
6499
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoBill = e.FdoBillQueueInfo = e.FdoBillIs = e.FdoBillInHouseDelivery = e.FdoExternalPickup = e.FdoBillQrOrder = e.FdoBillRefund = void 0;
|
|
6500
|
-
const t = F, n = h, i = j, r = ee, o = We, s = ei, l = Ee, c = ti, m = gr, b = Go, y = ni, z = _n, I = yr, E = br, P = un,
|
|
6500
|
+
const t = F, n = h, i = j, r = ee, o = We, s = ei, l = Ee, c = ti, m = gr, b = Go, y = ni, z = _n, I = yr, E = br, P = un, S = xn, N = Wo, O = fn, w = oi, B = Vt, Y = Qo;
|
|
6501
6501
|
e.FdoBillRefund = n.z.object({
|
|
6502
6502
|
by: r.FdoEmployeeRef.nullish(),
|
|
6503
6503
|
approvedBy: r.FdoEmployeeRef.nullish(),
|
|
@@ -6534,7 +6534,7 @@ var Qo = {};
|
|
|
6534
6534
|
seqNumber: n.z.string().nullish(),
|
|
6535
6535
|
status: l.F_BILL_STATUS,
|
|
6536
6536
|
slot: n.z.string(),
|
|
6537
|
-
items: n.z.record(
|
|
6537
|
+
items: n.z.record(S.FdoBillItem),
|
|
6538
6538
|
adjustments: n.z.record(c.FdoBillAdjustment),
|
|
6539
6539
|
person: n.z.union([n.z.string(), n.z.number()]),
|
|
6540
6540
|
completedAt: n.z.string().nullish(),
|
|
@@ -7172,16 +7172,16 @@ const Ha = h;
|
|
|
7172
7172
|
En.FdoRestaurantTakeaway = Ha.z.object({
|
|
7173
7173
|
catalogId: Ha.z.string().nullish()
|
|
7174
7174
|
});
|
|
7175
|
-
var
|
|
7176
|
-
Object.defineProperty(
|
|
7177
|
-
|
|
7175
|
+
var Se = {};
|
|
7176
|
+
Object.defineProperty(Se, "__esModule", { value: !0 });
|
|
7177
|
+
Se.F_RESTAURANT_FEATURE = Se.F_RESTAURANT_CHANNEL = void 0;
|
|
7178
7178
|
const Gs = h;
|
|
7179
|
-
|
|
7179
|
+
Se.F_RESTAURANT_CHANNEL = Gs.z.enum([
|
|
7180
7180
|
"alpha",
|
|
7181
7181
|
"beta",
|
|
7182
7182
|
"latest"
|
|
7183
7183
|
]);
|
|
7184
|
-
|
|
7184
|
+
Se.F_RESTAURANT_FEATURE = Gs.z.nativeEnum({
|
|
7185
7185
|
stock: "stock",
|
|
7186
7186
|
discovery: "discovery",
|
|
7187
7187
|
pickup: "pickup",
|
|
@@ -7194,7 +7194,7 @@ Re.F_RESTAURANT_FEATURE = Gs.z.nativeEnum({
|
|
|
7194
7194
|
});
|
|
7195
7195
|
(function(e) {
|
|
7196
7196
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoRestaurant = e.FdoRestaurantQueueSettings = e.FdoRemoteSupport = void 0;
|
|
7197
|
-
const t = F, n = h, i = Qe, r = bn, o = pn, s = zr, l = vn, c = zn, m = Fn, b = En, y =
|
|
7197
|
+
const t = F, n = h, i = Qe, r = bn, o = pn, s = zr, l = vn, c = zn, m = Fn, b = En, y = Se;
|
|
7198
7198
|
e.FdoRemoteSupport = n.z.object({
|
|
7199
7199
|
deviceName: n.z.string(),
|
|
7200
7200
|
anydeskId: n.z.string().nullish(),
|
|
@@ -7423,12 +7423,12 @@ ci.F_GET_CUSTOMER_METHOD = Eu.z.enum([
|
|
|
7423
7423
|
var ui = {}, mi = {};
|
|
7424
7424
|
Object.defineProperty(mi, "__esModule", { value: !0 });
|
|
7425
7425
|
mi.FdoSkuAdjustmentAmount = void 0;
|
|
7426
|
-
const Ya = h, Iu = K, Tu = cn,
|
|
7426
|
+
const Ya = h, Iu = K, Tu = cn, Ru = gt;
|
|
7427
7427
|
mi.FdoSkuAdjustmentAmount = Ya.z.object({
|
|
7428
7428
|
type: Tu.F_SKU_ADJUSTMENT_TYPE,
|
|
7429
7429
|
remark: Ya.z.string().nullish(),
|
|
7430
7430
|
amount: Iu.FdoDecimal,
|
|
7431
|
-
measurement:
|
|
7431
|
+
measurement: Ru.FdoUnitMeasurement.nullish()
|
|
7432
7432
|
});
|
|
7433
7433
|
(function(e) {
|
|
7434
7434
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoInventoryAdjustment = e.FdoSkuAdjustment = void 0;
|
|
@@ -7649,8 +7649,8 @@ var ta = {}, hi = {};
|
|
|
7649
7649
|
var Fr = {}, _i = {};
|
|
7650
7650
|
Object.defineProperty(_i, "__esModule", { value: !0 });
|
|
7651
7651
|
_i.F_SERVICE_CHARGE_ORDER_TYPE = void 0;
|
|
7652
|
-
const
|
|
7653
|
-
_i.F_SERVICE_CHARGE_ORDER_TYPE =
|
|
7652
|
+
const Su = h;
|
|
7653
|
+
_i.F_SERVICE_CHARGE_ORDER_TYPE = Su.z.enum([
|
|
7654
7654
|
"DINE_IN",
|
|
7655
7655
|
"TAKEAWAY",
|
|
7656
7656
|
"IN_HOUSE_DELIVERY",
|
|
@@ -7689,7 +7689,7 @@ _i.F_SERVICE_CHARGE_ORDER_TYPE = Ru.z.enum([
|
|
|
7689
7689
|
})(ta);
|
|
7690
7690
|
(function(e) {
|
|
7691
7691
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoDemoRestaurantRes = e.FdtoUpdateVersionReq = e.FdtoPosCurrentTimeRes = 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.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.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 = void 0;
|
|
7692
|
-
const t = h, n = me, i = mn, r = Jo, o = j, s = ee, l = ui, c = xo, m = ln, b = We, y = $o, z = bn, I = ta, E = Zo, P = Lt,
|
|
7692
|
+
const t = h, n = me, i = mn, r = Jo, o = j, s = ee, l = ui, c = xo, m = ln, b = We, y = $o, z = bn, I = ta, E = Zo, P = Lt, S = gr, N = yr, O = xn, w = fn, B = Vt;
|
|
7693
7693
|
e.FdtoRefundReq = t.z.object({
|
|
7694
7694
|
bill: E.FdoBill,
|
|
7695
7695
|
refundRecord: t.z.array(E.FdoBill),
|
|
@@ -7951,7 +7951,7 @@ _i.F_SERVICE_CHARGE_ORDER_TYPE = Ru.z.enum([
|
|
|
7951
7951
|
slot: t.z.string(),
|
|
7952
7952
|
person: t.z.number(),
|
|
7953
7953
|
is: E.FdoBillIs,
|
|
7954
|
-
delivery:
|
|
7954
|
+
delivery: S.FdoBillDelivery.optional(),
|
|
7955
7955
|
inHouseDelivery: E.FdoBillInHouseDelivery.optional(),
|
|
7956
7956
|
pickup: w.FdoBillPickup.optional(),
|
|
7957
7957
|
qrOrder: E.FdoBillQrOrder.optional(),
|
|
@@ -8406,11 +8406,11 @@ Tr.FdoLinkedDelivery = ze.z.object({
|
|
|
8406
8406
|
useCustomOrderNumber: ze.z.boolean().nullish(),
|
|
8407
8407
|
requiredRemark: ze.z.boolean().nullish()
|
|
8408
8408
|
}).describe(Au.ZodMeta.couch().repo("fDeliveryCompany").build());
|
|
8409
|
-
var
|
|
8410
|
-
Object.defineProperty(
|
|
8411
|
-
|
|
8409
|
+
var Rr = {};
|
|
8410
|
+
Object.defineProperty(Rr, "__esModule", { value: !0 });
|
|
8411
|
+
Rr.F_DELIVERY_TYPE = void 0;
|
|
8412
8412
|
const Mu = h;
|
|
8413
|
-
|
|
8413
|
+
Rr.F_DELIVERY_TYPE = Mu.z.enum([
|
|
8414
8414
|
"IN_HOUSE",
|
|
8415
8415
|
"FEEDME"
|
|
8416
8416
|
]);
|
|
@@ -8449,26 +8449,26 @@ Ye.FdoEInvoiceMerchantBaseProfile = ae.z.object({
|
|
|
8449
8449
|
var _e = {};
|
|
8450
8450
|
Object.defineProperty(_e, "__esModule", { value: !0 });
|
|
8451
8451
|
_e.F_EINVOICE_TYPE = _e.F_E_INVOICE_DOC_TYPE = _e.F_EINVOICE_SUBMISSION_STATUS = _e.F_EINVOICE_STATUS = void 0;
|
|
8452
|
-
const
|
|
8453
|
-
_e.F_EINVOICE_STATUS =
|
|
8452
|
+
const Sr = h;
|
|
8453
|
+
_e.F_EINVOICE_STATUS = Sr.z.enum([
|
|
8454
8454
|
"Submitted",
|
|
8455
8455
|
"Valid",
|
|
8456
8456
|
"Invalid",
|
|
8457
8457
|
"Cancelled"
|
|
8458
8458
|
]);
|
|
8459
|
-
_e.F_EINVOICE_SUBMISSION_STATUS =
|
|
8459
|
+
_e.F_EINVOICE_SUBMISSION_STATUS = Sr.z.enum([
|
|
8460
8460
|
"InProgress",
|
|
8461
8461
|
"Valid",
|
|
8462
8462
|
"PartiallyValid",
|
|
8463
8463
|
"Invalid"
|
|
8464
8464
|
]);
|
|
8465
|
-
_e.F_E_INVOICE_DOC_TYPE =
|
|
8465
|
+
_e.F_E_INVOICE_DOC_TYPE = Sr.z.enum([
|
|
8466
8466
|
"Invoice",
|
|
8467
8467
|
"Credit Note",
|
|
8468
8468
|
"Debit Note",
|
|
8469
8469
|
"Refund Note"
|
|
8470
8470
|
]);
|
|
8471
|
-
_e.F_EINVOICE_TYPE =
|
|
8471
|
+
_e.F_EINVOICE_TYPE = Sr.z.enum(["Individual", "Consolidated"]);
|
|
8472
8472
|
var Pr = {};
|
|
8473
8473
|
(function(e) {
|
|
8474
8474
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMyEInvoiceMerchantProfileSchema = e.FdoMyEInvoiceMerchantProfileDoc = e.FdoMyEInvoiceMerchantProfile = e.FdoMyEInvoiceMarketingProfile = e.FdoMyEInvoiceRestaurantProfile = e.FdoMyEInvoiceMerchantBaseProfile = e.FdoMyEInvoiceSubmissionSchedule = e.FdoMyEInvoiceSetting = e.FdoMyEInvoiceItemInfo = e.FdoMyEInvoiceCustomerProfileSchema = e.FdoMyEInvoiceCustomerProfileDoc = e.FdoMyEInvoiceCustomerProfile = e.FdoMyEInvoiceCompanyProfile = e.FdoMyEInvoiceIndividualProfile = e.FdoEInvoiceIndividualIdentity = e.FdoMyEInvoiceCustomerBaseProfile = void 0;
|
|
@@ -9230,11 +9230,11 @@ Dt.FdoSmsCredit = It.z.object({
|
|
|
9230
9230
|
_id: It.z.string().superRefine(Un.isObjectId),
|
|
9231
9231
|
balance: nr.FdoDinero
|
|
9232
9232
|
}).describe(Un.ZodMeta.mongo().repo("SmsCredits").build());
|
|
9233
|
-
var
|
|
9234
|
-
Object.defineProperty(
|
|
9235
|
-
|
|
9233
|
+
var Ri = {};
|
|
9234
|
+
Object.defineProperty(Ri, "__esModule", { value: !0 });
|
|
9235
|
+
Ri.F_SMS_TOP_UP_SOURCE = void 0;
|
|
9236
9236
|
const Ju = h;
|
|
9237
|
-
|
|
9237
|
+
Ri.F_SMS_TOP_UP_SOURCE = Ju.z.enum([
|
|
9238
9238
|
"LICENSE",
|
|
9239
9239
|
"MANUAL_ADJUSTMENT"
|
|
9240
9240
|
]);
|
|
@@ -9764,11 +9764,11 @@ var fd = {};
|
|
|
9764
9764
|
remarks: n.z.array(e.FdoRemarkData)
|
|
9765
9765
|
}).describe(t.ZodMeta.couch().repo("remark").build());
|
|
9766
9766
|
})(fd);
|
|
9767
|
-
var Vr = {}, ha = {},
|
|
9768
|
-
Object.defineProperty(
|
|
9769
|
-
|
|
9767
|
+
var Vr = {}, ha = {}, Si = {};
|
|
9768
|
+
Object.defineProperty(Si, "__esModule", { value: !0 });
|
|
9769
|
+
Si.F_REMOTE_EVENT_TYPE = void 0;
|
|
9770
9770
|
const lm = h;
|
|
9771
|
-
|
|
9771
|
+
Si.F_REMOTE_EVENT_TYPE = lm.z.enum([
|
|
9772
9772
|
"orderCreated",
|
|
9773
9773
|
"callWaiter",
|
|
9774
9774
|
"updateDeliveryOrder",
|
|
@@ -9788,7 +9788,7 @@ Ri.F_REMOTE_EVENT_TYPE = lm.z.enum([
|
|
|
9788
9788
|
]);
|
|
9789
9789
|
(function(e) {
|
|
9790
9790
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoRestaurantQueueUpdateEvent = e.FdoProcessPurchaseOrderRequestEvent = e.FdoUpdateDriverEvent = e.FdoCallWaiterEvent = e.FdoCreateOrUpdateGfSettingEvent = e.FdoCreateOrUpdateSfSettingEvent = e.FdoCreateOrUpdateFpSettingEvent = e.FdoGfOrderEditedEvent = e.FdoGfOrderRejectedEvent = e.FdoGfOrderCreatedEvent = e.FdoSfOrderRejectedEvent = e.FdoSfOrderCreatedEvent = e.FdoFpOrderRejectedEvent = e.FdoFpOrderCreatedEvent = e.FdoOrderDeclinedEvent = e.FdoOrderCreatedEvent = e.FdoRemoteEvent_ = e.FdoRemoteEvent = void 0;
|
|
9791
|
-
const t = F, n = h, i =
|
|
9791
|
+
const t = F, n = h, i = Si;
|
|
9792
9792
|
e.FdoRemoteEvent = n.z.object({
|
|
9793
9793
|
_id: n.z.string().optional(),
|
|
9794
9794
|
type: i.F_REMOTE_EVENT_TYPE
|
|
@@ -9882,27 +9882,27 @@ Vr.FdtoRemoteEvent = Ka.z.object({
|
|
|
9882
9882
|
var _a = {}, ie = {};
|
|
9883
9883
|
Object.defineProperty(ie, "__esModule", { value: !0 });
|
|
9884
9884
|
ie.F_ORDER_QUICK_ACTION = ie.F_ITEM_THRESHOLD_BEHAVIOR = ie.F_DELETE_EMPTY_BILL_BEHAVIOR = ie.F_CLOSE_COUNTER_WITH_DRAFT_BEHAVIOR = ie.F_REASON_TEMPLATE_ACTION = ie.F_PAYMENT_MODE = void 0;
|
|
9885
|
-
const
|
|
9886
|
-
ie.F_PAYMENT_MODE =
|
|
9887
|
-
ie.F_REASON_TEMPLATE_ACTION =
|
|
9885
|
+
const Rn = h;
|
|
9886
|
+
ie.F_PAYMENT_MODE = Rn.z.enum(["PAY_FIRST", "PAY_LATER"]);
|
|
9887
|
+
ie.F_REASON_TEMPLATE_ACTION = Rn.z.enum([
|
|
9888
9888
|
"VOID",
|
|
9889
9889
|
"REFUND",
|
|
9890
9890
|
"REJECT_ORDER",
|
|
9891
9891
|
"DISCOUNT",
|
|
9892
9892
|
"OVERRIDE_MENU_AVAILABILITY"
|
|
9893
9893
|
]);
|
|
9894
|
-
ie.F_CLOSE_COUNTER_WITH_DRAFT_BEHAVIOR =
|
|
9894
|
+
ie.F_CLOSE_COUNTER_WITH_DRAFT_BEHAVIOR = Rn.z.enum([
|
|
9895
9895
|
"allow",
|
|
9896
9896
|
"prompt",
|
|
9897
9897
|
"never"
|
|
9898
9898
|
]);
|
|
9899
|
-
ie.F_DELETE_EMPTY_BILL_BEHAVIOR =
|
|
9899
|
+
ie.F_DELETE_EMPTY_BILL_BEHAVIOR = Rn.z.enum([
|
|
9900
9900
|
"always",
|
|
9901
9901
|
"prompt",
|
|
9902
9902
|
"never"
|
|
9903
9903
|
]);
|
|
9904
|
-
ie.F_ITEM_THRESHOLD_BEHAVIOR =
|
|
9905
|
-
ie.F_ORDER_QUICK_ACTION =
|
|
9904
|
+
ie.F_ITEM_THRESHOLD_BEHAVIOR = Rn.z.enum(["prompt", "auto_close"]);
|
|
9905
|
+
ie.F_ORDER_QUICK_ACTION = Rn.z.enum([
|
|
9906
9906
|
"SEND_KITCHEN",
|
|
9907
9907
|
"SEND_KITCHEN_WITH_URGENT",
|
|
9908
9908
|
"PRINT_CHECKLIST",
|
|
@@ -10346,7 +10346,7 @@ sn.FdtoReceiveStockResult = zd.z.object({
|
|
|
10346
10346
|
var Ed = {};
|
|
10347
10347
|
(function(e) {
|
|
10348
10348
|
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;
|
|
10349
|
-
const t = F, n = h, i = Qe, r = j, o = $, s = me, l =
|
|
10349
|
+
const t = F, n = h, i = Qe, r = j, o = $, s = me, l = Se, c = di;
|
|
10350
10350
|
e.FdoLicenseProductPlan = n.z.object({
|
|
10351
10351
|
id: n.z.string(),
|
|
10352
10352
|
name: n.z.string(),
|
|
@@ -10449,7 +10449,7 @@ var Ed = {};
|
|
|
10449
10449
|
var Id = {};
|
|
10450
10450
|
(function(e) {
|
|
10451
10451
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoPhoneNumberAndPassword = e.FdoBusinessExpiredDate = e.FdoRestaurantExpiredDate = e.FdtoLicenseUpdate = e.FdtoLicenseVerifySSO = e.FdtoLicenseSSOLogin = void 0;
|
|
10452
|
-
const t = h, n =
|
|
10452
|
+
const t = h, n = Se;
|
|
10453
10453
|
e.FdtoLicenseSSOLogin = t.z.object({
|
|
10454
10454
|
token: t.z.string(),
|
|
10455
10455
|
businessId: t.z.string()
|
|
@@ -10469,17 +10469,17 @@ var Id = {};
|
|
|
10469
10469
|
password: t.z.string()
|
|
10470
10470
|
});
|
|
10471
10471
|
})(Id);
|
|
10472
|
-
var
|
|
10473
|
-
Object.defineProperty(
|
|
10474
|
-
|
|
10475
|
-
const te = h, Im = Ht, Tm = Qe,
|
|
10476
|
-
|
|
10472
|
+
var Sn = {};
|
|
10473
|
+
Object.defineProperty(Sn, "__esModule", { value: !0 });
|
|
10474
|
+
Sn.FdoCreditTransaction = void 0;
|
|
10475
|
+
const te = h, Im = Ht, Tm = Qe, Rm = gn, Sm = zi, Ne = F, bo = ai;
|
|
10476
|
+
Sn.FdoCreditTransaction = te.z.object({
|
|
10477
10477
|
_id: te.z.string().superRefine(Ne.isObjectId),
|
|
10478
10478
|
business: te.z.string().superRefine(Ne.isObjectId),
|
|
10479
10479
|
pf_business: te.z.lazy(() => Tm.FdoBusiness).nullish().describe(Ne.ZodMeta.mongo().populate({ fromCollection: "Businesses", localField: "business" }).build()),
|
|
10480
10480
|
member: te.z.string().superRefine(Ne.isObjectId),
|
|
10481
|
-
pf_member: te.z.lazy(() =>
|
|
10482
|
-
source:
|
|
10481
|
+
pf_member: te.z.lazy(() => Rm.FdoMember).nullish().describe(Ne.ZodMeta.mongo().populate({ fromCollection: "Members", localField: "member" }).build()),
|
|
10482
|
+
source: Sm.F_CREDIT_REF_SOURCE,
|
|
10483
10483
|
ref: te.z.string(),
|
|
10484
10484
|
remark: te.z.string().nullish(),
|
|
10485
10485
|
from: bo.FdoCreditBalance,
|
|
@@ -10495,7 +10495,7 @@ Rn.FdoCreditTransaction = te.z.object({
|
|
|
10495
10495
|
var Td = {};
|
|
10496
10496
|
(function(e) {
|
|
10497
10497
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoSmsCreditBalanceRes = e.FdtoSmsCreditBalance = e.FdtoSendSmsRes = e.FdtoSendSms = e.FdtoSmsGetQuoteRes = e.FdtoSmsGetQuote = e.FdtoTopUpSmsCreditRes = e.FdtoTopUpSmsCredit = e.FdtoTopUpSmsCreditManual = e.FdtoTopUpSmsCreditLicense = e.FdtoTopUpSmsCreditBase = void 0;
|
|
10498
|
-
const t = F, n = h, i =
|
|
10498
|
+
const t = F, n = h, i = Ri, r = j, o = $, s = Dt;
|
|
10499
10499
|
e.FdtoTopUpSmsCreditBase = n.z.object({
|
|
10500
10500
|
businessId: n.z.string().superRefine(t.isObjectId),
|
|
10501
10501
|
amount: r.FdoDinero,
|
|
@@ -10541,7 +10541,7 @@ var Td = {};
|
|
|
10541
10541
|
quantityAvailable: n.z.number().nullable()
|
|
10542
10542
|
});
|
|
10543
10543
|
})(Td);
|
|
10544
|
-
var
|
|
10544
|
+
var Rd = {};
|
|
10545
10545
|
(function(e) {
|
|
10546
10546
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdtoPhoneNotificationOption = e.FdtoBaseNotificationOption = e.FdtoNotificationResponse = void 0;
|
|
10547
10547
|
const t = h, n = de;
|
|
@@ -10554,8 +10554,8 @@ var Sd = {};
|
|
|
10554
10554
|
type: t.z.literal(n.F_NOTIFICATION_TYPE.enum.PHONE),
|
|
10555
10555
|
provider: n.F_PHONE_PROVIDER
|
|
10556
10556
|
});
|
|
10557
|
-
})(
|
|
10558
|
-
var
|
|
10557
|
+
})(Rd);
|
|
10558
|
+
var Sd = {};
|
|
10559
10559
|
(function(e) {
|
|
10560
10560
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoSettlement = e.FdoSettlementBeneficiaryBank = void 0;
|
|
10561
10561
|
const t = h, n = F, i = j, r = Ht;
|
|
@@ -10575,11 +10575,11 @@ var Rd = {};
|
|
|
10575
10575
|
restaurant: t.z.string().superRefine(n.isObjectId),
|
|
10576
10576
|
pf_restaurant: t.z.lazy(() => r.FdoRestaurant).nullish().describe(n.ZodMeta.mongo().populate({ fromCollection: "Restaurants", localField: "restaurant" }).build())
|
|
10577
10577
|
}).describe(n.ZodMeta.mongo().repo("Settlement").build());
|
|
10578
|
-
})(
|
|
10578
|
+
})(Sd);
|
|
10579
10579
|
var Wr = {};
|
|
10580
10580
|
Object.defineProperty(Wr, "__esModule", { value: !0 });
|
|
10581
10581
|
Wr.FdtoPosRestaurantRes = void 0;
|
|
10582
|
-
const ke = h, Pm =
|
|
10582
|
+
const ke = h, Pm = Se;
|
|
10583
10583
|
Wr.FdtoPosRestaurantRes = ke.z.object({
|
|
10584
10584
|
features: ke.z.array(Pm.F_RESTAURANT_FEATURE),
|
|
10585
10585
|
id: ke.z.string(),
|
|
@@ -10871,7 +10871,7 @@ var Md = {};
|
|
|
10871
10871
|
var Jr = {};
|
|
10872
10872
|
(function(e) {
|
|
10873
10873
|
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;
|
|
10874
|
-
const t = F, n = h, i = He, r = Qe, o = Ht, s = gn, l = Zt, c = ft, m = K, b = j, y = hi, z =
|
|
10874
|
+
const t = F, n = h, i = He, r = Qe, o = Ht, s = gn, l = Zt, c = ft, m = K, b = j, y = hi, z = Sn, I = Ir;
|
|
10875
10875
|
e.FdoTitleItem = n.z.object({
|
|
10876
10876
|
id: n.z.string(),
|
|
10877
10877
|
dayToExpire: n.z.number()
|
|
@@ -10950,7 +10950,7 @@ var Jr = {};
|
|
|
10950
10950
|
var Dd = {};
|
|
10951
10951
|
(function(e) {
|
|
10952
10952
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FdoMemberStorePurchase = e.FdtoGetMemberStorePurchaseRes = e.FdtoGetMemberStorePurchaseResCredit = e.FdtoGetMemberStorePurchaseResClaim = e.FdoStoreTransactionRefundInfoRes = e.FdoMemberStorePurchaseMember = e.FdoMemberStorePurchasePayment = void 0;
|
|
10953
|
-
const t = F, n = h, i = br, r = Ir, o = ee, s =
|
|
10953
|
+
const t = F, n = h, i = br, r = Ir, o = ee, s = Sn, l = Jr, c = ft, m = Zt, b = We, y = Ti;
|
|
10954
10954
|
e.FdoMemberStorePurchasePayment = b.FdoPayment.extend({
|
|
10955
10955
|
createdAt: n.z.string()
|
|
10956
10956
|
}), e.FdoMemberStorePurchaseMember = n.z.object({
|
|
@@ -11090,7 +11090,7 @@ var Nd = {};
|
|
|
11090
11090
|
}), n = k && k.__exportStar || function(i, r) {
|
|
11091
11091
|
for (var o in i) o !== "default" && !Object.prototype.hasOwnProperty.call(r, o) && t(r, i, o);
|
|
11092
11092
|
};
|
|
11093
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), n(Qn, e), n(Jn, e), n(Xn, e), n(fr, e), n(Zo, e), n(Hs, e), n(Ee, e), n(ti, e), n(Ut, e), n(fi, e), n(un, e), n(qs, e), n(Lt, e), n(gr, e), n(Go, e), n(ni, e), n(_n, e), n(yr, e), n(Er, e), n(br, e), n(xn, e), n(
|
|
11093
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), n(Qn, e), n(Jn, e), n(Xn, e), n(fr, e), n(Zo, e), n(Hs, e), n(Ee, e), n(ti, e), n(Ut, e), n(fi, e), n(un, e), n(qs, e), n(Lt, e), n(gr, e), n(Go, e), n(ni, e), n(_n, e), n(yr, e), n(Er, e), n(br, e), n(xn, e), n(St, e), n(Wo, e), n(fn, e), n(oi, e), n(Vt, e), n(on, e), n(G, e), n(Qe, e), n(Qs, e), n(gi, e), n(Js, e), n(Ce, e), n(li, e), n(hn, e), n(Ir, e), n(mn, e), n(Pt, e), n(Xs, e), n(In, e), n(yn, e), n(Jo, e), n(ci, e), n(K, e), n(Tr, e), n(Rr, e), n(j, e), n(Ye, e), n(re, e), n(_e, e), n(Pr, e), n(ia, e), n(st, e), n(ra, e), n(td, e), n(nd, e), n(oa, e), n(yi, e), n(aa, e), n(dt, e), n(yt, e), n(ce, e), n(ii, e), n(Ct, e), n(Ot, e), n(ri, e), n($n, e), n(ee, e), n(id, e), n(Cr, e), n(rd, e), n(Or, e), n(od, e), n(bi, e), n(gt, e), n(cn, e), n(pi, e), n(ln, e), n(vi, e), n(ad, e), n($, e), n(sd, e), n(Ar, e), n(ai, e), n(zi, e), n(Fi, e), n(Mr, e), n(Mt, e), n(He, e), n(he, e), n(gn, e), n(Ei, e), n(Ii, e), n(lt, e), n(ft, e), n(Ti, e), n(Dt, e), n(Ri, e), n(de, e), n(Nr, e), n(kr, e), n(ue, e), n(Yt, e), n(da, e), n(la, e), n(ca, e), n(ld, e), n(Br, e), n(wr, e), n(ge, e), n(We, e), n($o, e), n(Le, e), n(jr, e), n(an, e), n(Ur, e), n(Ve, e), n(H, e), n(ud, e), n(ei, e), n(bn, e), n(md, e), n(ua, e), n(hd, e), n(Ze, e), n(_d, e), n(fd, e), n(Vr, e), n(Si, e), n(_a, e), n(gd, e), n(ie, e), n(zr, e), n(vn, e), n(zn, e), n(Fn, e), n(En, e), n(Ht, e), n(Se, e), n(Zr, e), n(_i, e), n(pn, e), n(yd, e), n(bd, e), n(Pi, e), n(Hr, e), n(At, e), n(Ie, e), n(Nt, e), n(vd, e), n(me, e), n(Qo, e), n(di, e), n(ct, e), n(Yr, e), n(qo, e), n(Gr, e), n(mi, e), n(ui, e), n(Kr, e), n(xo, e), n(sn, e), n(ga, e), n(Ed, e), n(Id, e), n(Sn, e), n(si, e), n(Td, e), n(Rd, e), n(Sd, e), n(Lr, e), n(ha, e), n(Wr, e), n(Fr, e), n(hi, e), n(ta, e), n(vr, e), n(Pd, e), n(Cd, e), n(Od, e), n(Xo, e), n(qr, e), n(Zt, e), n(Qr, e), n(Ad, e), n(Md, e), n(Jr, e), n(Dd, e), n(Nd, e), n(Ci, e);
|
|
11094
11094
|
})(Cs);
|
|
11095
11095
|
const Oo = gc(null), kd = () => Oo.value;
|
|
11096
11096
|
function Om(e) {
|
|
@@ -12379,7 +12379,7 @@ const Do = "@firebase/app", ns = "0.10.13";
|
|
|
12379
12379
|
* See the License for the specific language governing permissions and
|
|
12380
12380
|
* limitations under the License.
|
|
12381
12381
|
*/
|
|
12382
|
-
const Ge = new Zd("@firebase/app"), Ih = "@firebase/app-compat", Th = "@firebase/analytics-compat",
|
|
12382
|
+
const Ge = new Zd("@firebase/app"), Ih = "@firebase/app-compat", Th = "@firebase/analytics-compat", Rh = "@firebase/analytics", Sh = "@firebase/app-check-compat", Ph = "@firebase/app-check", Ch = "@firebase/auth", Oh = "@firebase/auth-compat", Ah = "@firebase/database", Mh = "@firebase/data-connect", Dh = "@firebase/database-compat", Nh = "@firebase/functions", kh = "@firebase/functions-compat", Bh = "@firebase/installations", wh = "@firebase/installations-compat", jh = "@firebase/messaging", Uh = "@firebase/messaging-compat", Lh = "@firebase/performance", Vh = "@firebase/performance-compat", Zh = "@firebase/remote-config", Hh = "@firebase/remote-config-compat", Yh = "@firebase/storage", Gh = "@firebase/storage-compat", Kh = "@firebase/firestore", qh = "@firebase/vertexai-preview", Wh = "@firebase/firestore-compat", Qh = "firebase", Jh = "10.14.1";
|
|
12383
12383
|
/**
|
|
12384
12384
|
* @license
|
|
12385
12385
|
* Copyright 2019 Google LLC
|
|
@@ -12399,10 +12399,10 @@ const Ge = new Zd("@firebase/app"), Ih = "@firebase/app-compat", Th = "@firebase
|
|
|
12399
12399
|
const No = "[DEFAULT]", Xh = {
|
|
12400
12400
|
[Do]: "fire-core",
|
|
12401
12401
|
[Ih]: "fire-core-compat",
|
|
12402
|
-
[
|
|
12402
|
+
[Rh]: "fire-analytics",
|
|
12403
12403
|
[Th]: "fire-analytics-compat",
|
|
12404
12404
|
[Ph]: "fire-app-check",
|
|
12405
|
-
[
|
|
12405
|
+
[Sh]: "fire-app-check-compat",
|
|
12406
12406
|
[Ch]: "fire-auth",
|
|
12407
12407
|
[Oh]: "fire-auth-compat",
|
|
12408
12408
|
[Ah]: "fire-rtdb",
|
|
@@ -13577,7 +13577,7 @@ async function cr(e) {
|
|
|
13577
13577
|
);
|
|
13578
13578
|
const o = r.users[0];
|
|
13579
13579
|
e._notifyReloadListener(o);
|
|
13580
|
-
const s = !((t = o.providerUserInfo) === null || t === void 0) && t.length ? nl(o.providerUserInfo) : [], l =
|
|
13580
|
+
const s = !((t = o.providerUserInfo) === null || t === void 0) && t.length ? nl(o.providerUserInfo) : [], l = R_(e.providerData, s), c = e.isAnonymous, m = !(e.email && o.passwordHash) && !(l != null && l.length), b = c ? m : !1, y = {
|
|
13581
13581
|
uid: o.localId,
|
|
13582
13582
|
displayName: o.displayName || null,
|
|
13583
13583
|
photoURL: o.photoUrl || null,
|
|
@@ -13595,7 +13595,7 @@ async function T_(e) {
|
|
|
13595
13595
|
const t = Ae(e);
|
|
13596
13596
|
await cr(t), await t.auth._persistUserIfCurrent(t), t.auth._notifyListenersIfCurrent(t);
|
|
13597
13597
|
}
|
|
13598
|
-
function
|
|
13598
|
+
function R_(e, t) {
|
|
13599
13599
|
return [...e.filter((i) => !t.some((r) => r.providerId === i.providerId)), ...t];
|
|
13600
13600
|
}
|
|
13601
13601
|
function nl(e) {
|
|
@@ -13627,7 +13627,7 @@ function nl(e) {
|
|
|
13627
13627
|
* See the License for the specific language governing permissions and
|
|
13628
13628
|
* limitations under the License.
|
|
13629
13629
|
*/
|
|
13630
|
-
async function
|
|
13630
|
+
async function S_(e, t) {
|
|
13631
13631
|
const n = await xd(e, {}, async () => {
|
|
13632
13632
|
const i = Ai({
|
|
13633
13633
|
grant_type: "refresh_token",
|
|
@@ -13712,7 +13712,7 @@ class en {
|
|
|
13712
13712
|
this.refreshToken = null;
|
|
13713
13713
|
}
|
|
13714
13714
|
async refresh(t, n) {
|
|
13715
|
-
const { accessToken: i, refreshToken: r, expiresIn: o } = await
|
|
13715
|
+
const { accessToken: i, refreshToken: r, expiresIn: o } = await S_(t, n);
|
|
13716
13716
|
this.updateTokensAndExpiration(i, r, Number(o));
|
|
13717
13717
|
}
|
|
13718
13718
|
updateTokensAndExpiration(t, n, i) {
|
|
@@ -13849,7 +13849,7 @@ class je {
|
|
|
13849
13849
|
}
|
|
13850
13850
|
static _fromJSON(t, n) {
|
|
13851
13851
|
var i, r, o, s, l, c, m, b;
|
|
13852
|
-
const y = (i = n.displayName) !== null && i !== void 0 ? i : void 0, z = (r = n.email) !== null && r !== void 0 ? r : void 0, I = (o = n.phoneNumber) !== null && o !== void 0 ? o : void 0, E = (s = n.photoURL) !== null && s !== void 0 ? s : void 0, P = (l = n.tenantId) !== null && l !== void 0 ? l : void 0,
|
|
13852
|
+
const y = (i = n.displayName) !== null && i !== void 0 ? i : void 0, z = (r = n.email) !== null && r !== void 0 ? r : void 0, I = (o = n.phoneNumber) !== null && o !== void 0 ? o : void 0, E = (s = n.photoURL) !== null && s !== void 0 ? s : void 0, P = (l = n.tenantId) !== null && l !== void 0 ? l : void 0, S = (c = n._redirectEventId) !== null && c !== void 0 ? c : void 0, N = (m = n.createdAt) !== null && m !== void 0 ? m : void 0, O = (b = n.lastLoginAt) !== null && b !== void 0 ? b : void 0, { uid: w, emailVerified: B, isAnonymous: Y, providerData: J, stsTokenManager: Me } = n;
|
|
13853
13853
|
C(
|
|
13854
13854
|
w && Me,
|
|
13855
13855
|
t,
|
|
@@ -13872,7 +13872,7 @@ class je {
|
|
|
13872
13872
|
t,
|
|
13873
13873
|
"internal-error"
|
|
13874
13874
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
13875
|
-
), et(I, t.name), et(E, t.name), et(P, t.name), et(
|
|
13875
|
+
), et(I, t.name), et(E, t.name), et(P, t.name), et(S, t.name), et(N, t.name), et(O, t.name);
|
|
13876
13876
|
const Gt = new je({
|
|
13877
13877
|
uid: w,
|
|
13878
13878
|
auth: t,
|
|
@@ -13887,7 +13887,7 @@ class je {
|
|
|
13887
13887
|
createdAt: N,
|
|
13888
13888
|
lastLoginAt: O
|
|
13889
13889
|
});
|
|
13890
|
-
return J && Array.isArray(J) && (Gt.providerData = J.map((ki) => Object.assign({}, ki))),
|
|
13890
|
+
return J && Array.isArray(J) && (Gt.providerData = J.map((ki) => Object.assign({}, ki))), S && (Gt._redirectEventId = S), Gt;
|
|
13891
13891
|
}
|
|
13892
13892
|
/**
|
|
13893
13893
|
* Initialize a User from an idToken server response
|
|
@@ -14735,7 +14735,7 @@ class ms {
|
|
|
14735
14735
|
* See the License for the specific language governing permissions and
|
|
14736
14736
|
* limitations under the License.
|
|
14737
14737
|
*/
|
|
14738
|
-
let
|
|
14738
|
+
let Ra = {
|
|
14739
14739
|
async loadJS() {
|
|
14740
14740
|
throw new Error("Unable to load external scripts");
|
|
14741
14741
|
},
|
|
@@ -14744,13 +14744,13 @@ let Sa = {
|
|
|
14744
14744
|
gapiScript: ""
|
|
14745
14745
|
};
|
|
14746
14746
|
function B_(e) {
|
|
14747
|
-
|
|
14747
|
+
Ra = e;
|
|
14748
14748
|
}
|
|
14749
14749
|
function w_(e) {
|
|
14750
|
-
return
|
|
14750
|
+
return Ra.loadJS(e);
|
|
14751
14751
|
}
|
|
14752
14752
|
function j_() {
|
|
14753
|
-
return
|
|
14753
|
+
return Ra.gapiScript;
|
|
14754
14754
|
}
|
|
14755
14755
|
function U_(e) {
|
|
14756
14756
|
return `__${e}${Math.floor(Math.random() * 1e6)}`;
|
|
@@ -15869,7 +15869,7 @@ $r.receivers = [];
|
|
|
15869
15869
|
* See the License for the specific language governing permissions and
|
|
15870
15870
|
* limitations under the License.
|
|
15871
15871
|
*/
|
|
15872
|
-
function
|
|
15872
|
+
function Sa(e = "", t = 10) {
|
|
15873
15873
|
let n = "";
|
|
15874
15874
|
for (let i = 0; i < t; i++)
|
|
15875
15875
|
n += Math.floor(Math.random() * 10);
|
|
@@ -15925,7 +15925,7 @@ class nf {
|
|
|
15925
15925
|
);
|
|
15926
15926
|
let o, s;
|
|
15927
15927
|
return new Promise((l, c) => {
|
|
15928
|
-
const m =
|
|
15928
|
+
const m = Sa("", 20);
|
|
15929
15929
|
r.port1.start();
|
|
15930
15930
|
const b = setTimeout(() => {
|
|
15931
15931
|
c(new Error(
|
|
@@ -15988,11 +15988,11 @@ class nf {
|
|
|
15988
15988
|
* See the License for the specific language governing permissions and
|
|
15989
15989
|
* limitations under the License.
|
|
15990
15990
|
*/
|
|
15991
|
-
function
|
|
15991
|
+
function Re() {
|
|
15992
15992
|
return window;
|
|
15993
15993
|
}
|
|
15994
15994
|
function rf(e) {
|
|
15995
|
-
|
|
15995
|
+
Re().location.href = e;
|
|
15996
15996
|
}
|
|
15997
15997
|
/**
|
|
15998
15998
|
* @license
|
|
@@ -16011,7 +16011,7 @@ function rf(e) {
|
|
|
16011
16011
|
* limitations under the License.
|
|
16012
16012
|
*/
|
|
16013
16013
|
function zl() {
|
|
16014
|
-
return typeof
|
|
16014
|
+
return typeof Re().WorkerGlobalScope < "u" && typeof Re().importScripts == "function";
|
|
16015
16015
|
}
|
|
16016
16016
|
async function of() {
|
|
16017
16017
|
if (!(navigator != null && navigator.serviceWorker))
|
|
@@ -16459,7 +16459,7 @@ class $t extends Tl {
|
|
|
16459
16459
|
}
|
|
16460
16460
|
async onExecution() {
|
|
16461
16461
|
qe(this.filter.length === 1, "Popup operations only handle one event");
|
|
16462
|
-
const t =
|
|
16462
|
+
const t = Sa();
|
|
16463
16463
|
this.authWindow = await this.resolver._openPopup(
|
|
16464
16464
|
this.auth,
|
|
16465
16465
|
this.provider,
|
|
@@ -16614,8 +16614,8 @@ async function Tf(e, t, n = !1) {
|
|
|
16614
16614
|
* See the License for the specific language governing permissions and
|
|
16615
16615
|
* limitations under the License.
|
|
16616
16616
|
*/
|
|
16617
|
-
const
|
|
16618
|
-
class
|
|
16617
|
+
const Rf = 10 * 60 * 1e3;
|
|
16618
|
+
class Sf {
|
|
16619
16619
|
constructor(t) {
|
|
16620
16620
|
this.auth = t, this.cachedEventUids = /* @__PURE__ */ new Set(), this.consumers = /* @__PURE__ */ new Set(), this.queuedRedirectEvent = null, this.hasHandledPotentialRedirect = !1, this.lastProcessedEventTime = Date.now();
|
|
16621
16621
|
}
|
|
@@ -16635,7 +16635,7 @@ class Rf {
|
|
|
16635
16635
|
}
|
|
16636
16636
|
sendToConsumer(t, n) {
|
|
16637
16637
|
var i;
|
|
16638
|
-
if (t.error && !
|
|
16638
|
+
if (t.error && !Rl(t)) {
|
|
16639
16639
|
const r = ((i = t.error.code) === null || i === void 0 ? void 0 : i.split("auth/")[1]) || "internal-error";
|
|
16640
16640
|
n.onError(Te(this.auth, r));
|
|
16641
16641
|
} else
|
|
@@ -16646,7 +16646,7 @@ class Rf {
|
|
|
16646
16646
|
return n.filter.includes(t.type) && i;
|
|
16647
16647
|
}
|
|
16648
16648
|
hasEventBeenHandled(t) {
|
|
16649
|
-
return Date.now() - this.lastProcessedEventTime >=
|
|
16649
|
+
return Date.now() - this.lastProcessedEventTime >= Rf && this.cachedEventUids.clear(), this.cachedEventUids.has(ys(t));
|
|
16650
16650
|
}
|
|
16651
16651
|
saveEventToCache(t) {
|
|
16652
16652
|
this.cachedEventUids.add(ys(t)), this.lastProcessedEventTime = Date.now();
|
|
@@ -16655,7 +16655,7 @@ class Rf {
|
|
|
16655
16655
|
function ys(e) {
|
|
16656
16656
|
return [e.type, e.eventId, e.sessionId, e.tenantId].filter((t) => t).join("-");
|
|
16657
16657
|
}
|
|
16658
|
-
function
|
|
16658
|
+
function Rl({ type: e, error: t }) {
|
|
16659
16659
|
return e === "unknown" && (t == null ? void 0 : t.code) === "auth/no-auth-event";
|
|
16660
16660
|
}
|
|
16661
16661
|
function Pf(e) {
|
|
@@ -16665,7 +16665,7 @@ function Pf(e) {
|
|
|
16665
16665
|
case "reauthViaRedirect":
|
|
16666
16666
|
return !0;
|
|
16667
16667
|
case "unknown":
|
|
16668
|
-
return
|
|
16668
|
+
return Rl(e);
|
|
16669
16669
|
default:
|
|
16670
16670
|
return !1;
|
|
16671
16671
|
}
|
|
@@ -16753,7 +16753,7 @@ function Df(e) {
|
|
|
16753
16753
|
*/
|
|
16754
16754
|
const Nf = new Mi(3e4, 6e4);
|
|
16755
16755
|
function bs() {
|
|
16756
|
-
const e =
|
|
16756
|
+
const e = Re().___jsl;
|
|
16757
16757
|
if (e != null && e.H) {
|
|
16758
16758
|
for (const t of Object.keys(e.H))
|
|
16759
16759
|
if (e.H[t].r = e.H[t].r || [], e.H[t].L = e.H[t].L || [], e.H[t].r = [...e.H[t].L], e.CP)
|
|
@@ -16779,13 +16779,13 @@ function kf(e) {
|
|
|
16779
16779
|
timeout: Nf.get()
|
|
16780
16780
|
});
|
|
16781
16781
|
}
|
|
16782
|
-
if (!((r = (i =
|
|
16782
|
+
if (!((r = (i = Re().gapi) === null || i === void 0 ? void 0 : i.iframes) === null || r === void 0) && r.Iframe)
|
|
16783
16783
|
t(gapi.iframes.getContext());
|
|
16784
|
-
else if (!((o =
|
|
16784
|
+
else if (!((o = Re().gapi) === null || o === void 0) && o.load)
|
|
16785
16785
|
s();
|
|
16786
16786
|
else {
|
|
16787
16787
|
const l = U_("iframefcb");
|
|
16788
|
-
return
|
|
16788
|
+
return Re()[l] = () => {
|
|
16789
16789
|
gapi.load ? s() : n(Te(
|
|
16790
16790
|
e,
|
|
16791
16791
|
"network-request-failed"
|
|
@@ -16850,7 +16850,7 @@ function Zf(e) {
|
|
|
16850
16850
|
return o.length && (i.fw = o.join(",")), `${n}?${Ai(i).slice(1)}`;
|
|
16851
16851
|
}
|
|
16852
16852
|
async function Hf(e) {
|
|
16853
|
-
const t = await Bf(e), n =
|
|
16853
|
+
const t = await Bf(e), n = Re().gapi;
|
|
16854
16854
|
return C(
|
|
16855
16855
|
n,
|
|
16856
16856
|
e,
|
|
@@ -16871,11 +16871,11 @@ async function Hf(e) {
|
|
|
16871
16871
|
e,
|
|
16872
16872
|
"network-request-failed"
|
|
16873
16873
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
|
16874
|
-
), l =
|
|
16874
|
+
), l = Re().setTimeout(() => {
|
|
16875
16875
|
o(s);
|
|
16876
16876
|
}, wf.get());
|
|
16877
16877
|
function c() {
|
|
16878
|
-
|
|
16878
|
+
Re().clearTimeout(l), r(i);
|
|
16879
16879
|
}
|
|
16880
16880
|
i.ping(c).then(c, () => {
|
|
16881
16881
|
o(s);
|
|
@@ -17031,7 +17031,7 @@ class tg {
|
|
|
17031
17031
|
var o;
|
|
17032
17032
|
qe((o = this.eventManagers[t._key()]) === null || o === void 0 ? void 0 : o.manager, "_initialize() not called before _openPopup()");
|
|
17033
17033
|
const s = await vs(t, n, i, Bo(), r);
|
|
17034
|
-
return Qf(t, s,
|
|
17034
|
+
return Qf(t, s, Sa());
|
|
17035
17035
|
}
|
|
17036
17036
|
async _openRedirect(t, n, i, r) {
|
|
17037
17037
|
await this._originValidation(t);
|
|
@@ -17051,7 +17051,7 @@ class tg {
|
|
|
17051
17051
|
}), i;
|
|
17052
17052
|
}
|
|
17053
17053
|
async initAndGetManager(t) {
|
|
17054
|
-
const n = await Hf(t), i = new
|
|
17054
|
+
const n = await Hf(t), i = new Sf(t);
|
|
17055
17055
|
return n.register("authEvent", (r) => (C(
|
|
17056
17056
|
r == null ? void 0 : r.authEvent,
|
|
17057
17057
|
t,
|
|
@@ -17302,7 +17302,7 @@ og(
|
|
|
17302
17302
|
* See the License for the specific language governing permissions and
|
|
17303
17303
|
* limitations under the License.
|
|
17304
17304
|
*/
|
|
17305
|
-
const
|
|
17305
|
+
const Sl = "firebasestorage.googleapis.com", Pl = "storageBucket", ug = 2 * 60 * 1e3, mg = 10 * 60 * 1e3;
|
|
17306
17306
|
/**
|
|
17307
17307
|
* @license
|
|
17308
17308
|
* Copyright 2017 Google LLC
|
|
@@ -17327,7 +17327,7 @@ class W extends Je {
|
|
|
17327
17327
|
* @param status_ - Corresponding HTTP Status Code
|
|
17328
17328
|
*/
|
|
17329
17329
|
constructor(t, n, i = 0) {
|
|
17330
|
-
super(
|
|
17330
|
+
super(Ro(t), `Firebase Storage: ${n} (${Ro(t)})`), this.status_ = i, this.customData = { serverResponse: null }, this._baseMessage = this.message, Object.setPrototypeOf(this, W.prototype);
|
|
17331
17331
|
}
|
|
17332
17332
|
get status() {
|
|
17333
17333
|
return this.status_;
|
|
@@ -17339,7 +17339,7 @@ class W extends Je {
|
|
|
17339
17339
|
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
|
17340
17340
|
*/
|
|
17341
17341
|
_codeEquals(t) {
|
|
17342
|
-
return
|
|
17342
|
+
return Ro(t) === this.code;
|
|
17343
17343
|
}
|
|
17344
17344
|
/**
|
|
17345
17345
|
* Optional response message that was added by the server.
|
|
@@ -17356,7 +17356,7 @@ var q;
|
|
|
17356
17356
|
(function(e) {
|
|
17357
17357
|
e.UNKNOWN = "unknown", e.OBJECT_NOT_FOUND = "object-not-found", e.BUCKET_NOT_FOUND = "bucket-not-found", e.PROJECT_NOT_FOUND = "project-not-found", e.QUOTA_EXCEEDED = "quota-exceeded", e.UNAUTHENTICATED = "unauthenticated", e.UNAUTHORIZED = "unauthorized", e.UNAUTHORIZED_APP = "unauthorized-app", e.RETRY_LIMIT_EXCEEDED = "retry-limit-exceeded", e.INVALID_CHECKSUM = "invalid-checksum", e.CANCELED = "canceled", e.INVALID_EVENT_NAME = "invalid-event-name", e.INVALID_URL = "invalid-url", e.INVALID_DEFAULT_BUCKET = "invalid-default-bucket", e.NO_DEFAULT_BUCKET = "no-default-bucket", e.CANNOT_SLICE_BLOB = "cannot-slice-blob", e.SERVER_FILE_WRONG_SIZE = "server-file-wrong-size", e.NO_DOWNLOAD_URL = "no-download-url", e.INVALID_ARGUMENT = "invalid-argument", e.INVALID_ARGUMENT_COUNT = "invalid-argument-count", e.APP_DELETED = "app-deleted", e.INVALID_ROOT_OPERATION = "invalid-root-operation", e.INVALID_FORMAT = "invalid-format", e.INTERNAL_ERROR = "internal-error", e.UNSUPPORTED_ENVIRONMENT = "unsupported-environment";
|
|
17358
17358
|
})(q || (q = {}));
|
|
17359
|
-
function
|
|
17359
|
+
function Ro(e) {
|
|
17360
17360
|
return "storage/" + e;
|
|
17361
17361
|
}
|
|
17362
17362
|
function Ca() {
|
|
@@ -17466,7 +17466,7 @@ class le {
|
|
|
17466
17466
|
function m(B) {
|
|
17467
17467
|
B.path_ = decodeURIComponent(B.path);
|
|
17468
17468
|
}
|
|
17469
|
-
const b = "v[A-Za-z0-9_]+", y = n.replace(/[.]/g, "\\."), z = "(/([^?#]*).*)?$", I = new RegExp(`^https?://${y}/${b}/b/${r}/o${z}`, "i"), E = { bucket: 1, path: 3 }, P = n ===
|
|
17469
|
+
const b = "v[A-Za-z0-9_]+", y = n.replace(/[.]/g, "\\."), z = "(/([^?#]*).*)?$", I = new RegExp(`^https?://${y}/${b}/b/${r}/o${z}`, "i"), E = { bucket: 1, path: 3 }, P = n === Sl ? "(?:storage.googleapis.com|storage.cloud.google.com)" : n, S = "([^?#]*)", N = new RegExp(`^https?://${P}/${r}/${S}`, "i"), w = [
|
|
17470
17470
|
{ regex: l, indices: c, postModify: o },
|
|
17471
17471
|
{
|
|
17472
17472
|
regex: I,
|
|
@@ -17521,34 +17521,34 @@ class Tg {
|
|
|
17521
17521
|
* See the License for the specific language governing permissions and
|
|
17522
17522
|
* limitations under the License.
|
|
17523
17523
|
*/
|
|
17524
|
-
function
|
|
17524
|
+
function Rg(e, t, n) {
|
|
17525
17525
|
let i = 1, r = null, o = null, s = !1, l = 0;
|
|
17526
17526
|
function c() {
|
|
17527
17527
|
return l === 2;
|
|
17528
17528
|
}
|
|
17529
17529
|
let m = !1;
|
|
17530
|
-
function b(...
|
|
17531
|
-
m || (m = !0, t.apply(null,
|
|
17530
|
+
function b(...S) {
|
|
17531
|
+
m || (m = !0, t.apply(null, S));
|
|
17532
17532
|
}
|
|
17533
|
-
function y(
|
|
17533
|
+
function y(S) {
|
|
17534
17534
|
r = setTimeout(() => {
|
|
17535
17535
|
r = null, e(I, c());
|
|
17536
|
-
},
|
|
17536
|
+
}, S);
|
|
17537
17537
|
}
|
|
17538
17538
|
function z() {
|
|
17539
17539
|
o && clearTimeout(o);
|
|
17540
17540
|
}
|
|
17541
|
-
function I(
|
|
17541
|
+
function I(S, ...N) {
|
|
17542
17542
|
if (m) {
|
|
17543
17543
|
z();
|
|
17544
17544
|
return;
|
|
17545
17545
|
}
|
|
17546
|
-
if (
|
|
17547
|
-
z(), b.call(null,
|
|
17546
|
+
if (S) {
|
|
17547
|
+
z(), b.call(null, S, ...N);
|
|
17548
17548
|
return;
|
|
17549
17549
|
}
|
|
17550
17550
|
if (c() || s) {
|
|
17551
|
-
z(), b.call(null,
|
|
17551
|
+
z(), b.call(null, S, ...N);
|
|
17552
17552
|
return;
|
|
17553
17553
|
}
|
|
17554
17554
|
i < 64 && (i *= 2);
|
|
@@ -17556,14 +17556,14 @@ function Sg(e, t, n) {
|
|
|
17556
17556
|
l === 1 ? (l = 2, w = 0) : w = (i + Math.random()) * 1e3, y(w);
|
|
17557
17557
|
}
|
|
17558
17558
|
let E = !1;
|
|
17559
|
-
function P(
|
|
17560
|
-
E || (E = !0, z(), !m && (r !== null ? (
|
|
17559
|
+
function P(S) {
|
|
17560
|
+
E || (E = !0, z(), !m && (r !== null ? (S || (l = 2), clearTimeout(r), y(0)) : S || (l = 1)));
|
|
17561
17561
|
}
|
|
17562
17562
|
return y(0), o = setTimeout(() => {
|
|
17563
17563
|
s = !0, P(!0);
|
|
17564
17564
|
}, n), P;
|
|
17565
17565
|
}
|
|
17566
|
-
function
|
|
17566
|
+
function Sg(e) {
|
|
17567
17567
|
e(!1);
|
|
17568
17568
|
}
|
|
17569
17569
|
/**
|
|
@@ -17730,7 +17730,7 @@ class Dg {
|
|
|
17730
17730
|
s(c);
|
|
17731
17731
|
}
|
|
17732
17732
|
};
|
|
17733
|
-
this.canceled_ ? n(!1, new Xi(!1, null, !0)) : this.backoffId_ =
|
|
17733
|
+
this.canceled_ ? n(!1, new Xi(!1, null, !0)) : this.backoffId_ = Rg(t, n, this.timeout_);
|
|
17734
17734
|
}
|
|
17735
17735
|
/** @inheritDoc */
|
|
17736
17736
|
getPromise() {
|
|
@@ -17738,7 +17738,7 @@ class Dg {
|
|
|
17738
17738
|
}
|
|
17739
17739
|
/** @inheritDoc */
|
|
17740
17740
|
cancel(t) {
|
|
17741
|
-
this.canceled_ = !0, this.appDelete_ = t || !1, this.backoffId_ !== null &&
|
|
17741
|
+
this.canceled_ = !0, this.appDelete_ = t || !1, this.backoffId_ !== null && Sg(this.backoffId_), this.pendingConnection_ !== null && this.pendingConnection_.abort();
|
|
17742
17742
|
}
|
|
17743
17743
|
}
|
|
17744
17744
|
class Xi {
|
|
@@ -17868,7 +17868,7 @@ const Fe = {
|
|
|
17868
17868
|
*/
|
|
17869
17869
|
DATA_URL: "data_url"
|
|
17870
17870
|
};
|
|
17871
|
-
class
|
|
17871
|
+
class So {
|
|
17872
17872
|
constructor(t, n) {
|
|
17873
17873
|
this.data = t, this.contentType = n || null;
|
|
17874
17874
|
}
|
|
@@ -17876,12 +17876,12 @@ class Ro {
|
|
|
17876
17876
|
function Hg(e, t) {
|
|
17877
17877
|
switch (e) {
|
|
17878
17878
|
case Fe.RAW:
|
|
17879
|
-
return new
|
|
17879
|
+
return new So(Al(t));
|
|
17880
17880
|
case Fe.BASE64:
|
|
17881
17881
|
case Fe.BASE64URL:
|
|
17882
|
-
return new
|
|
17882
|
+
return new So(Ml(e, t));
|
|
17883
17883
|
case Fe.DATA_URL:
|
|
17884
|
-
return new
|
|
17884
|
+
return new So(Gg(t), Kg(t));
|
|
17885
17885
|
}
|
|
17886
17886
|
throw Ca();
|
|
17887
17887
|
}
|
|
@@ -18216,7 +18216,7 @@ Content-Type: ` + m.contentType + `\r
|
|
|
18216
18216
|
--` + c + "--", I = ot.getBlob(y, i, z);
|
|
18217
18217
|
if (I === null)
|
|
18218
18218
|
throw Fg();
|
|
18219
|
-
const E = { name: m.fullPath }, P = Og(o, e.host, e._protocol),
|
|
18219
|
+
const E = { name: m.fullPath }, P = Og(o, e.host, e._protocol), S = "POST", N = e.maxUploadRetryTime, O = new ry(P, S, ay(e, n), N);
|
|
18220
18220
|
return O.urlParams = E, O.headers = s, O.body = I.uploadData(), O.errorHandler = sy(t), O;
|
|
18221
18221
|
}
|
|
18222
18222
|
class uy {
|
|
@@ -18419,7 +18419,7 @@ function by(e, t) {
|
|
|
18419
18419
|
} else
|
|
18420
18420
|
return kl(e, t);
|
|
18421
18421
|
}
|
|
18422
|
-
function
|
|
18422
|
+
function Rs(e, t) {
|
|
18423
18423
|
const n = t == null ? void 0 : t[Pl];
|
|
18424
18424
|
return n == null ? null : le.makeFromBucketSpec(n, e);
|
|
18425
18425
|
}
|
|
@@ -18430,7 +18430,7 @@ function py(e, t, n, i = {}) {
|
|
|
18430
18430
|
}
|
|
18431
18431
|
class Aa {
|
|
18432
18432
|
constructor(t, n, i, r, o) {
|
|
18433
|
-
this.app = t, this._authProvider = n, this._appCheckProvider = i, this._url = r, this._firebaseVersion = o, this._bucket = null, this._host =
|
|
18433
|
+
this.app = t, this._authProvider = n, this._appCheckProvider = i, this._url = r, this._firebaseVersion = o, this._bucket = null, this._host = Sl, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = ug, this._maxUploadRetryTime = mg, this._requests = /* @__PURE__ */ new Set(), r != null ? this._bucket = le.makeFromBucketSpec(r, this._host) : this._bucket = Rs(this._host, this.app.options);
|
|
18434
18434
|
}
|
|
18435
18435
|
/**
|
|
18436
18436
|
* The host string for this service, in the form of `host` or
|
|
@@ -18440,7 +18440,7 @@ class Aa {
|
|
|
18440
18440
|
return this._host;
|
|
18441
18441
|
}
|
|
18442
18442
|
set host(t) {
|
|
18443
|
-
this._host = t, this._url != null ? this._bucket = le.makeFromBucketSpec(this._url, t) : this._bucket =
|
|
18443
|
+
this._host = t, this._url != null ? this._bucket = le.makeFromBucketSpec(this._url, t) : this._bucket = Rs(t, this.app.options);
|
|
18444
18444
|
}
|
|
18445
18445
|
/**
|
|
18446
18446
|
* The maximum time to retry uploads in milliseconds.
|
|
@@ -18523,7 +18523,7 @@ class Aa {
|
|
|
18523
18523
|
return this._makeRequest(t, n, i, r).getPromise();
|
|
18524
18524
|
}
|
|
18525
18525
|
}
|
|
18526
|
-
const
|
|
18526
|
+
const Ss = "@firebase/storage", Ps = "0.13.2";
|
|
18527
18527
|
/**
|
|
18528
18528
|
* @license
|
|
18529
18529
|
* Copyright 2020 Google LLC
|
|
@@ -18567,20 +18567,20 @@ function Ey() {
|
|
|
18567
18567
|
Fy,
|
|
18568
18568
|
"PUBLIC"
|
|
18569
18569
|
/* ComponentType.PUBLIC */
|
|
18570
|
-
).setMultipleInstances(!0)), ht(
|
|
18570
|
+
).setMultipleInstances(!0)), ht(Ss, Ps, ""), ht(Ss, Ps, "esm2017");
|
|
18571
18571
|
}
|
|
18572
18572
|
Ey();
|
|
18573
18573
|
let $i = null;
|
|
18574
18574
|
function Ma() {
|
|
18575
18575
|
return $i || ($i = t_().length > 0 ? va() : Gd({
|
|
18576
|
-
apiKey: "
|
|
18577
|
-
authDomain: "feedme-
|
|
18578
|
-
projectId: "feedme-
|
|
18579
|
-
storageBucket: "image.
|
|
18580
|
-
messagingSenderId: "
|
|
18581
|
-
appId: "1:
|
|
18582
|
-
measurementId: "G-
|
|
18583
|
-
databaseURL: "https://feedme-
|
|
18576
|
+
apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4",
|
|
18577
|
+
authDomain: "feedme-253402.firebaseapp.com",
|
|
18578
|
+
projectId: "feedme-253402",
|
|
18579
|
+
storageBucket: "image.feedme.cc",
|
|
18580
|
+
messagingSenderId: "128512026847",
|
|
18581
|
+
appId: "1:128512026847:web:c2d7610ae1874f01dc616a",
|
|
18582
|
+
measurementId: "G-4D8B9X2THG",
|
|
18583
|
+
databaseURL: "https://feedme-253402.firebaseio.com"
|
|
18584
18584
|
}), $i);
|
|
18585
18585
|
}
|
|
18586
18586
|
function Hy() {
|
|
@@ -18610,35 +18610,35 @@ const Ty = { class: "flex-1 overflow-auto" }, Gy = /* @__PURE__ */ yc({
|
|
|
18610
18610
|
]);
|
|
18611
18611
|
};
|
|
18612
18612
|
}
|
|
18613
|
-
}),
|
|
18614
|
-
KioskRoute:
|
|
18615
|
-
KioskDeviceRoute:
|
|
18613
|
+
}), Ry = "/kiosk", Sy = "/kiosk/device", Py = "/kiosk/order-setting", Cy = "/order-settings", er = {
|
|
18614
|
+
KioskRoute: Ry,
|
|
18615
|
+
KioskDeviceRoute: Sy,
|
|
18616
18616
|
KioskOrderSettingRoute: Py,
|
|
18617
18617
|
OrderSettingView: Cy
|
|
18618
18618
|
}, Ky = [
|
|
18619
18619
|
{
|
|
18620
18620
|
path: er.KioskRoute,
|
|
18621
18621
|
name: "Kiosk",
|
|
18622
|
-
component: () => import("./KioskView-
|
|
18622
|
+
component: () => import("./KioskView-D7BdhS6J.js")
|
|
18623
18623
|
},
|
|
18624
18624
|
{
|
|
18625
18625
|
path: er.KioskDeviceRoute,
|
|
18626
18626
|
name: "Kiosk Device",
|
|
18627
|
-
component: () => import("./KioskDevicesView-
|
|
18627
|
+
component: () => import("./KioskDevicesView-6ADPwAez.js")
|
|
18628
18628
|
},
|
|
18629
18629
|
{
|
|
18630
18630
|
path: er.KioskOrderSettingRoute,
|
|
18631
18631
|
name: "Kiosk Order Setting",
|
|
18632
|
-
component: () => import("./KioskSettingView-
|
|
18632
|
+
component: () => import("./KioskSettingView-BhqV4Y53.js")
|
|
18633
18633
|
},
|
|
18634
18634
|
{
|
|
18635
18635
|
path: er.OrderSettingView,
|
|
18636
18636
|
name: "Order Setting View",
|
|
18637
|
-
component: () => import("./OrderSettingsView-
|
|
18637
|
+
component: () => import("./OrderSettingsView-DVWn3z4D.js")
|
|
18638
18638
|
}
|
|
18639
18639
|
], qy = {
|
|
18640
18640
|
"en-US": Tc,
|
|
18641
|
-
"zh-CN":
|
|
18641
|
+
"zh-CN": Sc,
|
|
18642
18642
|
"th-TH": Cc,
|
|
18643
18643
|
"ja-JP": Mc
|
|
18644
18644
|
};
|