@feedmepos/mf-order-setting 0.0.54 → 0.0.57-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-CMKNjgWx.js → KioskDevicesView-CVnUSyRk.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-B1sNvlUC.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-D-XcAx8n.js} +2 -2
- package/dist/KioskSettingView-69arsdyn.js +744 -0
- package/dist/{KioskView-U-Wg8oMC.js → KioskView-hndM6pEn.js} +60 -57
- package/dist/{OrderSettingsView-BWzaITT6.js → OrderSettingsView-BBOKp6kp.js} +4 -4
- package/dist/{app-CFfgPAd8.js → app-SgEu0Zl4.js} +77 -69
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CuRr-wlf.js → dayjs.min-puCJYept.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +8 -0
- package/dist/frontend/mf-order/src/main.d.ts +8 -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/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +4 -4
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-Bj0bCGTm.js → index-CtMw6yZU.js} +1 -1
- package/dist/{menu.dto-DAh1J2ES.js → menu.dto-Csu6ZBea.js} +2 -0
- package/dist/package/entity/food-court/order.do.d.ts +4 -24
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +1 -12341
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +22443 -3
- package/dist/package/entity/order/order.do.d.ts +1 -1
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +12 -12
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +32 -32
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +2 -2
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +2 -2
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +2 -2
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +3 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +3 -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 +10 -0
- package/dist/package/entity/queue/queue.do.d.ts +3 -8
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +5 -0
- package/dist/package/entity/websocket/websocket.dto.d.ts +12 -0
- package/package.json +1 -1
- package/src/locales/en-US.json +2 -0
- package/src/locales/ja-JP.json +11 -9
- package/src/locales/th-TH.json +2 -0
- package/src/locales/zh-CN.json +2 -0
- package/src/main.ts +5 -5
- package/src/modules/order-setting/kiosk/interface.ts +19 -17
- package/src/stores/order-setting/mapper.ts +66 -63
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +19 -1
- package/src/views/kiosk/settings/KioskSettingView.vue +56 -34
- package/src/views/order-settings/OrderSettingsView.vue +1 -1
- package/src/views/order-settings/drive-thru/DriveThruSetting.vue +4 -4
- package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +1 -5
- package/dist/KioskSettingView-BE_pMA-i.js +0 -720
|
@@ -96,6 +96,8 @@ const yi = {
|
|
|
96
96
|
deliveryZone: "Delivery Zone",
|
|
97
97
|
deviceBinding: "Device Binding",
|
|
98
98
|
deviceDetails: "Device Details",
|
|
99
|
+
otaChannel: "OTA channel",
|
|
100
|
+
otaChannelHint: "Optional. Leave blank to use the default OTA feed.",
|
|
99
101
|
dineIn: "Dine In",
|
|
100
102
|
dineInCanTakeaway: "Allow Takeaway",
|
|
101
103
|
driveThru: "Drive Thru",
|
|
@@ -468,6 +470,8 @@ const yi = {
|
|
|
468
470
|
deliveryZone: "配送区域",
|
|
469
471
|
deviceBinding: "设备绑定",
|
|
470
472
|
deviceDetails: "设备详情",
|
|
473
|
+
otaChannel: "OTA 渠道",
|
|
474
|
+
otaChannelHint: "可选。留空将使用默认的 OTA 源。",
|
|
471
475
|
dineIn: "堂食",
|
|
472
476
|
dineInCanTakeaway: "允许外带",
|
|
473
477
|
driveThru: "得来速",
|
|
@@ -841,6 +845,8 @@ const yi = {
|
|
|
841
845
|
deliveryZone: "โซนการจัดส่ง",
|
|
842
846
|
deviceBinding: "การผูกอุปกรณ์",
|
|
843
847
|
deviceDetails: "รายละเอียดอุปกรณ์",
|
|
848
|
+
otaChannel: "ช่อง OTA",
|
|
849
|
+
otaChannelHint: "ไม่บังคับ เว้นว่างเพื่อใช้ฟีด OTA เริ่มต้น",
|
|
844
850
|
dineIn: "รับประทานอาหารที่ร้าน",
|
|
845
851
|
dineInCanTakeaway: "อนุญาตให้นำกลับบ้าน",
|
|
846
852
|
driveThru: "ไดรฟ์ทรู",
|
|
@@ -1207,6 +1213,8 @@ const yi = {
|
|
|
1207
1213
|
deliveryZone: "配達エリア",
|
|
1208
1214
|
deviceBinding: "デバイス紐付け",
|
|
1209
1215
|
deviceDetails: "デバイス詳細",
|
|
1216
|
+
otaChannel: "OTAチャネル",
|
|
1217
|
+
otaChannelHint: "任意。空欄の場合はデフォルトのOTAフィードを使用します。",
|
|
1210
1218
|
dineIn: "店内飲食",
|
|
1211
1219
|
dineInCanTakeaway: "テイクアウト許可",
|
|
1212
1220
|
driveThru: "ドライブスルー",
|
|
@@ -1475,7 +1483,7 @@ const yi = {
|
|
|
1475
1483
|
promotion: "プロモーション",
|
|
1476
1484
|
voucher: "バウチャー"
|
|
1477
1485
|
}
|
|
1478
|
-
},
|
|
1486
|
+
}, Ti = {
|
|
1479
1487
|
title: "メニュー",
|
|
1480
1488
|
common: {
|
|
1481
1489
|
actions: {
|
|
@@ -2889,9 +2897,9 @@ const yi = {
|
|
|
2889
2897
|
tax_setting: {
|
|
2890
2898
|
title: "税金設定"
|
|
2891
2899
|
}
|
|
2892
|
-
},
|
|
2900
|
+
}, ki = {
|
|
2893
2901
|
order: wi,
|
|
2894
|
-
menu:
|
|
2902
|
+
menu: Ti
|
|
2895
2903
|
}, tt = ui(null), on = () => tt.value;
|
|
2896
2904
|
function Ei(t) {
|
|
2897
2905
|
tt.value || (tt.value = t);
|
|
@@ -4163,7 +4171,7 @@ const rt = "@firebase/app", Nt = "0.10.13";
|
|
|
4163
4171
|
* See the License for the specific language governing permissions and
|
|
4164
4172
|
* limitations under the License.
|
|
4165
4173
|
*/
|
|
4166
|
-
const L = new fn("@firebase/app"), vr = "@firebase/app-compat", _r = "@firebase/analytics-compat", br = "@firebase/analytics", Ir = "@firebase/app-check-compat", Sr = "@firebase/app-check", wr = "@firebase/auth",
|
|
4174
|
+
const L = new fn("@firebase/app"), vr = "@firebase/app-compat", _r = "@firebase/analytics-compat", br = "@firebase/analytics", Ir = "@firebase/app-check-compat", Sr = "@firebase/app-check", wr = "@firebase/auth", Tr = "@firebase/auth-compat", kr = "@firebase/database", Er = "@firebase/data-connect", Pr = "@firebase/database-compat", Ar = "@firebase/functions", Rr = "@firebase/functions-compat", Cr = "@firebase/installations", Dr = "@firebase/installations-compat", Or = "@firebase/messaging", Nr = "@firebase/messaging-compat", Mr = "@firebase/performance", xr = "@firebase/performance-compat", Lr = "@firebase/remote-config", Ur = "@firebase/remote-config-compat", Fr = "@firebase/storage", Br = "@firebase/storage-compat", Hr = "@firebase/firestore", Vr = "@firebase/vertexai-preview", $r = "@firebase/firestore-compat", jr = "firebase", Wr = "10.14.1";
|
|
4167
4175
|
/**
|
|
4168
4176
|
* @license
|
|
4169
4177
|
* Copyright 2019 Google LLC
|
|
@@ -4188,8 +4196,8 @@ const st = "[DEFAULT]", qr = {
|
|
|
4188
4196
|
[Sr]: "fire-app-check",
|
|
4189
4197
|
[Ir]: "fire-app-check-compat",
|
|
4190
4198
|
[wr]: "fire-auth",
|
|
4191
|
-
[
|
|
4192
|
-
[
|
|
4199
|
+
[Tr]: "fire-auth-compat",
|
|
4200
|
+
[kr]: "fire-rtdb",
|
|
4193
4201
|
[Er]: "fire-data-connect",
|
|
4194
4202
|
[Pr]: "fire-rtdb-compat",
|
|
4195
4203
|
[Ar]: "fire-fn",
|
|
@@ -5030,7 +5038,7 @@ function Ve(t, e) {
|
|
|
5030
5038
|
return t.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: t.tenantId }) : e;
|
|
5031
5039
|
}
|
|
5032
5040
|
async function ue(t, e, n, i, r = {}) {
|
|
5033
|
-
return
|
|
5041
|
+
return Tn(t, r, async () => {
|
|
5034
5042
|
let s = {}, a = {};
|
|
5035
5043
|
i && (e === "GET" ? a = i : s = {
|
|
5036
5044
|
body: JSON.stringify(i)
|
|
@@ -5050,7 +5058,7 @@ async function ue(t, e, n, i, r = {}) {
|
|
|
5050
5058
|
return Fi() || (l.referrerPolicy = "no-referrer"), wn.fetch()(En(t, t.config.apiHost, n, c), l);
|
|
5051
5059
|
});
|
|
5052
5060
|
}
|
|
5053
|
-
async function
|
|
5061
|
+
async function Tn(t, e, n) {
|
|
5054
5062
|
t._canInitEmulator = !1;
|
|
5055
5063
|
const i = Object.assign(Object.assign({}, hs), e);
|
|
5056
5064
|
try {
|
|
@@ -5061,17 +5069,17 @@ async function kn(t, e, n) {
|
|
|
5061
5069
|
r.clearNetworkTimeout();
|
|
5062
5070
|
const a = await s.json();
|
|
5063
5071
|
if ("needConfirmation" in a)
|
|
5064
|
-
throw
|
|
5072
|
+
throw ke(t, "account-exists-with-different-credential", a);
|
|
5065
5073
|
if (s.ok && !("errorMessage" in a))
|
|
5066
5074
|
return a;
|
|
5067
5075
|
{
|
|
5068
5076
|
const c = s.ok ? a.errorMessage : a.error.message, [o, l] = c.split(" : ");
|
|
5069
5077
|
if (o === "FEDERATED_USER_ID_ALREADY_LINKED")
|
|
5070
|
-
throw
|
|
5078
|
+
throw ke(t, "credential-already-in-use", a);
|
|
5071
5079
|
if (o === "EMAIL_EXISTS")
|
|
5072
|
-
throw
|
|
5080
|
+
throw ke(t, "email-already-in-use", a);
|
|
5073
5081
|
if (o === "USER_DISABLED")
|
|
5074
|
-
throw
|
|
5082
|
+
throw ke(t, "user-disabled", a);
|
|
5075
5083
|
const u = i[o] || o.toLowerCase().replace(/[_\s]+/g, "-");
|
|
5076
5084
|
if (l)
|
|
5077
5085
|
throw Sn(t, u, l);
|
|
@@ -5083,7 +5091,7 @@ async function kn(t, e, n) {
|
|
|
5083
5091
|
U(t, "network-request-failed", { message: String(r) });
|
|
5084
5092
|
}
|
|
5085
5093
|
}
|
|
5086
|
-
async function
|
|
5094
|
+
async function kn(t, e, n, i, r = {}) {
|
|
5087
5095
|
const s = await ue(t, e, n, i, r);
|
|
5088
5096
|
return "mfaPendingCredential" in s && U(t, "multi-factor-auth-required", {
|
|
5089
5097
|
_serverResponse: s
|
|
@@ -5107,7 +5115,7 @@ class fs {
|
|
|
5107
5115
|
clearTimeout(this.timer);
|
|
5108
5116
|
}
|
|
5109
5117
|
}
|
|
5110
|
-
function
|
|
5118
|
+
function ke(t, e, n) {
|
|
5111
5119
|
const i = {
|
|
5112
5120
|
appName: t.name
|
|
5113
5121
|
};
|
|
@@ -5412,7 +5420,7 @@ function An(t) {
|
|
|
5412
5420
|
* limitations under the License.
|
|
5413
5421
|
*/
|
|
5414
5422
|
async function Is(t, e) {
|
|
5415
|
-
const n = await
|
|
5423
|
+
const n = await Tn(t, {}, async () => {
|
|
5416
5424
|
const i = be({
|
|
5417
5425
|
grant_type: "refresh_token",
|
|
5418
5426
|
refresh_token: e
|
|
@@ -5633,14 +5641,14 @@ class M {
|
|
|
5633
5641
|
}
|
|
5634
5642
|
static _fromJSON(e, n) {
|
|
5635
5643
|
var i, r, s, a, c, o, l, u;
|
|
5636
|
-
const h = (i = n.displayName) !== null && i !== void 0 ? i : void 0, f = (r = n.email) !== null && r !== void 0 ? r : void 0, y = (s = n.phoneNumber) !== null && s !== void 0 ? s : void 0, b = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, C = (c = n.tenantId) !== null && c !== void 0 ? c : void 0, v = (o = n._redirectEventId) !== null && o !== void 0 ? o : void 0, D = (l = n.createdAt) !== null && l !== void 0 ? l : void 0,
|
|
5644
|
+
const h = (i = n.displayName) !== null && i !== void 0 ? i : void 0, f = (r = n.email) !== null && r !== void 0 ? r : void 0, y = (s = n.phoneNumber) !== null && s !== void 0 ? s : void 0, b = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, C = (c = n.tenantId) !== null && c !== void 0 ? c : void 0, v = (o = n._redirectEventId) !== null && o !== void 0 ? o : void 0, D = (l = n.createdAt) !== null && l !== void 0 ? l : void 0, k = (u = n.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: w, emailVerified: _, isAnonymous: J, providerData: X, stsTokenManager: Te } = n;
|
|
5637
5645
|
d(
|
|
5638
|
-
w &&
|
|
5646
|
+
w && Te,
|
|
5639
5647
|
e,
|
|
5640
5648
|
"internal-error"
|
|
5641
5649
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
5642
5650
|
);
|
|
5643
|
-
const de = se.fromJSON(this.name,
|
|
5651
|
+
const de = se.fromJSON(this.name, Te);
|
|
5644
5652
|
d(
|
|
5645
5653
|
typeof w == "string",
|
|
5646
5654
|
e,
|
|
@@ -5656,7 +5664,7 @@ class M {
|
|
|
5656
5664
|
e,
|
|
5657
5665
|
"internal-error"
|
|
5658
5666
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
5659
|
-
), H(y, e.name), H(b, e.name), H(C, e.name), H(v, e.name), H(D, e.name), H(
|
|
5667
|
+
), H(y, e.name), H(b, e.name), H(C, e.name), H(v, e.name), H(D, e.name), H(k, e.name);
|
|
5660
5668
|
const qe = new M({
|
|
5661
5669
|
uid: w,
|
|
5662
5670
|
auth: e,
|
|
@@ -5669,7 +5677,7 @@ class M {
|
|
|
5669
5677
|
tenantId: C,
|
|
5670
5678
|
stsTokenManager: de,
|
|
5671
5679
|
createdAt: D,
|
|
5672
|
-
lastLoginAt:
|
|
5680
|
+
lastLoginAt: k
|
|
5673
5681
|
});
|
|
5674
5682
|
return X && Array.isArray(X) && (qe.providerData = X.map((li) => Object.assign({}, li))), v && (qe._redirectEventId = v), qe;
|
|
5675
5683
|
}
|
|
@@ -5939,7 +5947,7 @@ function ws(t = S()) {
|
|
|
5939
5947
|
var e;
|
|
5940
5948
|
return _t(t) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
|
5941
5949
|
}
|
|
5942
|
-
function
|
|
5950
|
+
function Ts() {
|
|
5943
5951
|
return Vi() && document.documentMode === 10;
|
|
5944
5952
|
}
|
|
5945
5953
|
function Un(t = S()) {
|
|
@@ -5992,7 +6000,7 @@ function Fn(t, e = []) {
|
|
|
5992
6000
|
* See the License for the specific language governing permissions and
|
|
5993
6001
|
* limitations under the License.
|
|
5994
6002
|
*/
|
|
5995
|
-
class
|
|
6003
|
+
class ks {
|
|
5996
6004
|
constructor(e) {
|
|
5997
6005
|
this.auth = e, this.queue = [];
|
|
5998
6006
|
}
|
|
@@ -6156,7 +6164,7 @@ class As {
|
|
|
6156
6164
|
*/
|
|
6157
6165
|
class Rs {
|
|
6158
6166
|
constructor(e, n, i, r) {
|
|
6159
|
-
this.app = e, this.heartbeatServiceProvider = n, this.appCheckServiceProvider = i, this.config = r, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new jt(this), this.idTokenSubscription = new jt(this), this.beforeStateQueue = new
|
|
6167
|
+
this.app = e, this.heartbeatServiceProvider = n, this.appCheckServiceProvider = i, this.config = r, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new jt(this), this.idTokenSubscription = new jt(this), this.beforeStateQueue = new ks(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = In, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = r.sdkClientVersion;
|
|
6160
6168
|
}
|
|
6161
6169
|
_initializeWithPersistence(e, n) {
|
|
6162
6170
|
return n && (this._popupRedirectResolver = x(n)), this._initializationPromise = this.queue(async () => {
|
|
@@ -6683,7 +6691,7 @@ class Hn {
|
|
|
6683
6691
|
* limitations under the License.
|
|
6684
6692
|
*/
|
|
6685
6693
|
async function oe(t, e) {
|
|
6686
|
-
return
|
|
6694
|
+
return kn(t, "POST", "/v1/accounts:signInWithIdp", Ve(t, e));
|
|
6687
6695
|
}
|
|
6688
6696
|
/**
|
|
6689
6697
|
* @license
|
|
@@ -7315,7 +7323,7 @@ async function $s(t, e, n = !1) {
|
|
|
7315
7323
|
* limitations under the License.
|
|
7316
7324
|
*/
|
|
7317
7325
|
async function js(t, e) {
|
|
7318
|
-
return
|
|
7326
|
+
return kn(t, "POST", "/v1/accounts:signInWithCustomToken", Ve(t, e));
|
|
7319
7327
|
}
|
|
7320
7328
|
/**
|
|
7321
7329
|
* @license
|
|
@@ -7437,7 +7445,7 @@ class Wn extends jn {
|
|
|
7437
7445
|
const a = this.storage.getItem(i);
|
|
7438
7446
|
!n && this.localCache[i] === a || this.notifyListeners(i, a);
|
|
7439
7447
|
}, s = this.storage.getItem(i);
|
|
7440
|
-
|
|
7448
|
+
Ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(r, Ks) : r();
|
|
7441
7449
|
}
|
|
7442
7450
|
notifyListeners(e, n) {
|
|
7443
7451
|
this.localCache[e] = n;
|
|
@@ -8489,8 +8497,8 @@ async function Sa(t, e = {}) {
|
|
|
8489
8497
|
* See the License for the specific language governing permissions and
|
|
8490
8498
|
* limitations under the License.
|
|
8491
8499
|
*/
|
|
8492
|
-
const wa = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,
|
|
8493
|
-
async function
|
|
8500
|
+
const wa = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Ta = /^https?/;
|
|
8501
|
+
async function ka(t) {
|
|
8494
8502
|
if (t.config.emulator)
|
|
8495
8503
|
return;
|
|
8496
8504
|
const { authorizedDomains: e } = await Sa(t);
|
|
@@ -8512,7 +8520,7 @@ function Ea(t) {
|
|
|
8512
8520
|
const a = new URL(t);
|
|
8513
8521
|
return a.hostname === "" && i === "" ? n === "chrome-extension:" && t.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : n === "chrome-extension:" && a.hostname === i;
|
|
8514
8522
|
}
|
|
8515
|
-
if (!
|
|
8523
|
+
if (!Ta.test(n))
|
|
8516
8524
|
return !1;
|
|
8517
8525
|
if (wa.test(t))
|
|
8518
8526
|
return i === t;
|
|
@@ -8859,7 +8867,7 @@ class Ga {
|
|
|
8859
8867
|
}
|
|
8860
8868
|
_originValidation(e) {
|
|
8861
8869
|
const n = e._key();
|
|
8862
|
-
return this.originValidationPromises[n] || (this.originValidationPromises[n] =
|
|
8870
|
+
return this.originValidationPromises[n] || (this.originValidationPromises[n] = ka(e)), this.originValidationPromises[n];
|
|
8863
8871
|
}
|
|
8864
8872
|
get _shouldInitProactively() {
|
|
8865
8873
|
return Un() || Dn() || _t();
|
|
@@ -9212,7 +9220,7 @@ function he(t) {
|
|
|
9212
9220
|
* See the License for the specific language governing permissions and
|
|
9213
9221
|
* limitations under the License.
|
|
9214
9222
|
*/
|
|
9215
|
-
class
|
|
9223
|
+
class T {
|
|
9216
9224
|
constructor(e, n) {
|
|
9217
9225
|
this.bucket = e, this.path_ = n;
|
|
9218
9226
|
}
|
|
@@ -9232,9 +9240,9 @@ class k {
|
|
|
9232
9240
|
static makeFromBucketSpec(e, n) {
|
|
9233
9241
|
let i;
|
|
9234
9242
|
try {
|
|
9235
|
-
i =
|
|
9243
|
+
i = T.makeFromUrl(e, n);
|
|
9236
9244
|
} catch {
|
|
9237
|
-
return new
|
|
9245
|
+
return new T(e, "");
|
|
9238
9246
|
}
|
|
9239
9247
|
if (i.path === "")
|
|
9240
9248
|
return i;
|
|
@@ -9266,9 +9274,9 @@ class k {
|
|
|
9266
9274
|
for (let _ = 0; _ < w.length; _++) {
|
|
9267
9275
|
const J = w[_], X = J.regex.exec(e);
|
|
9268
9276
|
if (X) {
|
|
9269
|
-
const
|
|
9277
|
+
const Te = X[J.indices.bucket];
|
|
9270
9278
|
let de = X[J.indices.path];
|
|
9271
|
-
de || (de = ""), i = new
|
|
9279
|
+
de || (de = ""), i = new T(Te, de), J.postModify(i);
|
|
9272
9280
|
break;
|
|
9273
9281
|
}
|
|
9274
9282
|
}
|
|
@@ -9376,9 +9384,9 @@ function ni(t) {
|
|
|
9376
9384
|
return typeof t == "string" || t instanceof String;
|
|
9377
9385
|
}
|
|
9378
9386
|
function tn(t) {
|
|
9379
|
-
return
|
|
9387
|
+
return Tt() && t instanceof Blob;
|
|
9380
9388
|
}
|
|
9381
|
-
function
|
|
9389
|
+
function Tt() {
|
|
9382
9390
|
return typeof Blob < "u";
|
|
9383
9391
|
}
|
|
9384
9392
|
function nn(t, e, n, i) {
|
|
@@ -9403,11 +9411,11 @@ function nn(t, e, n, i) {
|
|
|
9403
9411
|
* See the License for the specific language governing permissions and
|
|
9404
9412
|
* limitations under the License.
|
|
9405
9413
|
*/
|
|
9406
|
-
function
|
|
9414
|
+
function To(t, e, n) {
|
|
9407
9415
|
let i = e;
|
|
9408
9416
|
return n == null && (i = `https://${e}`), `${n}://${i}/v0${t}`;
|
|
9409
9417
|
}
|
|
9410
|
-
function
|
|
9418
|
+
function ko(t) {
|
|
9411
9419
|
const e = encodeURIComponent;
|
|
9412
9420
|
let n = "?";
|
|
9413
9421
|
for (const i in t)
|
|
@@ -9543,7 +9551,7 @@ function Do(t, e) {
|
|
|
9543
9551
|
e !== null && (t["X-Firebase-AppCheck"] = e);
|
|
9544
9552
|
}
|
|
9545
9553
|
function Oo(t, e, n, i, r, s, a = !0) {
|
|
9546
|
-
const c =
|
|
9554
|
+
const c = ko(t.urlParams), o = t.url + c, l = Object.assign({}, t.headers);
|
|
9547
9555
|
return Co(l, e), Ao(l, n), Ro(l, s), Do(l, i), new Po(o, t.method, l, t.body, t.successCodes, t.additionalRetryCodes, t.handler, t.errorHandler, t.timeout, t.progressCallback, r, a);
|
|
9548
9556
|
}
|
|
9549
9557
|
/**
|
|
@@ -9573,7 +9581,7 @@ function Mo(...t) {
|
|
|
9573
9581
|
n.append(t[i]);
|
|
9574
9582
|
return n.getBlob();
|
|
9575
9583
|
} else {
|
|
9576
|
-
if (
|
|
9584
|
+
if (Tt())
|
|
9577
9585
|
return new Blob(t);
|
|
9578
9586
|
throw new g(m.UNSUPPORTED_ENVIRONMENT, "This browser doesn't seem to support creating Blobs");
|
|
9579
9587
|
}
|
|
@@ -9782,7 +9790,7 @@ class q {
|
|
|
9782
9790
|
}
|
|
9783
9791
|
}
|
|
9784
9792
|
static getBlob(...e) {
|
|
9785
|
-
if (
|
|
9793
|
+
if (Tt()) {
|
|
9786
9794
|
const n = e.map((i) => i instanceof q ? i.data_ : i);
|
|
9787
9795
|
return new q(Mo.apply(null, n));
|
|
9788
9796
|
} else {
|
|
@@ -9904,7 +9912,7 @@ function Ko() {
|
|
|
9904
9912
|
}
|
|
9905
9913
|
function Go(t, e) {
|
|
9906
9914
|
function n() {
|
|
9907
|
-
const i = t.bucket, r = t.fullPath, s = new
|
|
9915
|
+
const i = t.bucket, r = t.fullPath, s = new T(i, r);
|
|
9908
9916
|
return e._makeStorageReference(s);
|
|
9909
9917
|
}
|
|
9910
9918
|
Object.defineProperty(t, "ref", { get: n });
|
|
@@ -10000,8 +10008,8 @@ Content-Type: ` + l.contentType + `\r
|
|
|
10000
10008
|
--` + o + "--", y = q.getBlob(h, i, f);
|
|
10001
10009
|
if (y === null)
|
|
10002
10010
|
throw go();
|
|
10003
|
-
const b = { name: l.fullPath }, C =
|
|
10004
|
-
return
|
|
10011
|
+
const b = { name: l.fullPath }, C = To(s, t.host, t._protocol), v = "POST", D = t.maxUploadRetryTime, k = new Yo(C, v, ec(t, n), D);
|
|
10012
|
+
return k.urlParams = b, k.headers = a, k.body = y.uploadData(), k.errorHandler = tc(e), k;
|
|
10005
10013
|
}
|
|
10006
10014
|
class sc {
|
|
10007
10015
|
constructor() {
|
|
@@ -10087,7 +10095,7 @@ function oc() {
|
|
|
10087
10095
|
*/
|
|
10088
10096
|
class ie {
|
|
10089
10097
|
constructor(e, n) {
|
|
10090
|
-
this._service = e, n instanceof
|
|
10098
|
+
this._service = e, n instanceof T ? this._location = n : this._location = T.makeFromUrl(n, e.host);
|
|
10091
10099
|
}
|
|
10092
10100
|
/**
|
|
10093
10101
|
* Returns the URL for the bucket and path this object references,
|
|
@@ -10104,7 +10112,7 @@ class ie {
|
|
|
10104
10112
|
* A reference to the root of this object's bucket.
|
|
10105
10113
|
*/
|
|
10106
10114
|
get root() {
|
|
10107
|
-
const e = new
|
|
10115
|
+
const e = new T(this._location.bucket, "");
|
|
10108
10116
|
return this._newRef(this._service, e);
|
|
10109
10117
|
}
|
|
10110
10118
|
/**
|
|
@@ -10140,7 +10148,7 @@ class ie {
|
|
|
10140
10148
|
const e = jo(this._location.path);
|
|
10141
10149
|
if (e === null)
|
|
10142
10150
|
return null;
|
|
10143
|
-
const n = new
|
|
10151
|
+
const n = new T(this._location.bucket, e);
|
|
10144
10152
|
return new ie(this._service, n);
|
|
10145
10153
|
}
|
|
10146
10154
|
/**
|
|
@@ -10160,7 +10168,7 @@ function cc(t, e, n) {
|
|
|
10160
10168
|
}));
|
|
10161
10169
|
}
|
|
10162
10170
|
function lc(t, e) {
|
|
10163
|
-
const n = Wo(t._location.path, e), i = new
|
|
10171
|
+
const n = Wo(t._location.path, e), i = new T(t._location.bucket, n);
|
|
10164
10172
|
return new ie(t.storage, i);
|
|
10165
10173
|
}
|
|
10166
10174
|
/**
|
|
@@ -10186,7 +10194,7 @@ function dc(t, e) {
|
|
|
10186
10194
|
return new ie(t, e);
|
|
10187
10195
|
}
|
|
10188
10196
|
function oi(t, e) {
|
|
10189
|
-
if (t instanceof
|
|
10197
|
+
if (t instanceof kt) {
|
|
10190
10198
|
const n = t;
|
|
10191
10199
|
if (n._bucket == null)
|
|
10192
10200
|
throw mo();
|
|
@@ -10197,7 +10205,7 @@ function oi(t, e) {
|
|
|
10197
10205
|
}
|
|
10198
10206
|
function hc(t, e) {
|
|
10199
10207
|
if (e && uc(e)) {
|
|
10200
|
-
if (t instanceof
|
|
10208
|
+
if (t instanceof kt)
|
|
10201
10209
|
return dc(t, e);
|
|
10202
10210
|
throw ut("To use ref(service, url), the first argument must be a Storage instance.");
|
|
10203
10211
|
} else
|
|
@@ -10205,16 +10213,16 @@ function hc(t, e) {
|
|
|
10205
10213
|
}
|
|
10206
10214
|
function rn(t, e) {
|
|
10207
10215
|
const n = e == null ? void 0 : e[ei];
|
|
10208
|
-
return n == null ? null :
|
|
10216
|
+
return n == null ? null : T.makeFromBucketSpec(n, t);
|
|
10209
10217
|
}
|
|
10210
10218
|
function pc(t, e, n, i = {}) {
|
|
10211
10219
|
t.host = `${e}:${n}`, t._protocol = "http";
|
|
10212
10220
|
const { mockUserToken: r } = i;
|
|
10213
10221
|
r && (t._overrideAuthToken = typeof r == "string" ? r : Li(r, t.app.options.projectId));
|
|
10214
10222
|
}
|
|
10215
|
-
class
|
|
10223
|
+
class kt {
|
|
10216
10224
|
constructor(e, n, i, r, s) {
|
|
10217
|
-
this.app = e, this._authProvider = n, this._appCheckProvider = i, this._url = r, this._firebaseVersion = s, this._bucket = null, this._host = Zn, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = ro, this._maxUploadRetryTime = so, this._requests = /* @__PURE__ */ new Set(), r != null ? this._bucket =
|
|
10225
|
+
this.app = e, this._authProvider = n, this._appCheckProvider = i, this._url = r, this._firebaseVersion = s, this._bucket = null, this._host = Zn, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = ro, this._maxUploadRetryTime = so, this._requests = /* @__PURE__ */ new Set(), r != null ? this._bucket = T.makeFromBucketSpec(r, this._host) : this._bucket = rn(this._host, this.app.options);
|
|
10218
10226
|
}
|
|
10219
10227
|
/**
|
|
10220
10228
|
* The host string for this service, in the form of `host` or
|
|
@@ -10224,7 +10232,7 @@ class Tt {
|
|
|
10224
10232
|
return this._host;
|
|
10225
10233
|
}
|
|
10226
10234
|
set host(e) {
|
|
10227
|
-
this._host = e, this._url != null ? this._bucket =
|
|
10235
|
+
this._host = e, this._url != null ? this._bucket = T.makeFromBucketSpec(this._url, e) : this._bucket = rn(e, this.app.options);
|
|
10228
10236
|
}
|
|
10229
10237
|
/**
|
|
10230
10238
|
* The maximum time to retry uploads in milliseconds.
|
|
@@ -10343,7 +10351,7 @@ function mc(t, e, n, i = {}) {
|
|
|
10343
10351
|
}
|
|
10344
10352
|
function gc(t, { instanceIdentifier: e }) {
|
|
10345
10353
|
const n = t.getProvider("app").getImmediate(), i = t.getProvider("auth-internal"), r = t.getProvider("app-check-internal");
|
|
10346
|
-
return new
|
|
10354
|
+
return new kt(n, i, r, e, le);
|
|
10347
10355
|
}
|
|
10348
10356
|
function yc() {
|
|
10349
10357
|
ce(new ee(
|
|
@@ -10357,14 +10365,14 @@ yc();
|
|
|
10357
10365
|
let Ae = null;
|
|
10358
10366
|
function Et() {
|
|
10359
10367
|
return Ae || (Ae = Qr().length > 0 ? ft() : yn({
|
|
10360
|
-
apiKey: "
|
|
10361
|
-
authDomain: "feedme-
|
|
10362
|
-
projectId: "feedme-
|
|
10363
|
-
storageBucket: "image.
|
|
10364
|
-
messagingSenderId: "
|
|
10365
|
-
appId: "1:
|
|
10366
|
-
measurementId: "G-
|
|
10367
|
-
databaseURL: "https://feedme-
|
|
10368
|
+
apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4",
|
|
10369
|
+
authDomain: "feedme-253402.firebaseapp.com",
|
|
10370
|
+
projectId: "feedme-253402",
|
|
10371
|
+
storageBucket: "image.feedme.cc",
|
|
10372
|
+
messagingSenderId: "128512026847",
|
|
10373
|
+
appId: "1:128512026847:web:c2d7610ae1874f01dc616a",
|
|
10374
|
+
measurementId: "G-4D8B9X2THG",
|
|
10375
|
+
databaseURL: "https://feedme-253402.firebaseio.com"
|
|
10368
10376
|
}), Ae);
|
|
10369
10377
|
}
|
|
10370
10378
|
function Mc() {
|
|
@@ -10403,28 +10411,28 @@ const _c = { class: "flex-1 overflow-auto" }, Lc = /* @__PURE__ */ di({
|
|
|
10403
10411
|
{
|
|
10404
10412
|
path: Re.KioskRoute,
|
|
10405
10413
|
name: "Kiosk",
|
|
10406
|
-
component: () => import("./KioskView-
|
|
10414
|
+
component: () => import("./KioskView-hndM6pEn.js")
|
|
10407
10415
|
},
|
|
10408
10416
|
{
|
|
10409
10417
|
path: Re.KioskDeviceRoute,
|
|
10410
10418
|
name: "Kiosk Device",
|
|
10411
|
-
component: () => import("./KioskDevicesView-
|
|
10419
|
+
component: () => import("./KioskDevicesView-CVnUSyRk.js")
|
|
10412
10420
|
},
|
|
10413
10421
|
{
|
|
10414
10422
|
path: Re.KioskOrderSettingRoute,
|
|
10415
10423
|
name: "Kiosk Order Setting",
|
|
10416
|
-
component: () => import("./KioskSettingView-
|
|
10424
|
+
component: () => import("./KioskSettingView-69arsdyn.js")
|
|
10417
10425
|
},
|
|
10418
10426
|
{
|
|
10419
10427
|
path: Re.OrderSettingView,
|
|
10420
10428
|
name: "Order Setting View",
|
|
10421
|
-
component: () => import("./OrderSettingsView-
|
|
10429
|
+
component: () => import("./OrderSettingsView-BBOKp6kp.js")
|
|
10422
10430
|
}
|
|
10423
10431
|
], Fc = {
|
|
10424
10432
|
"en-US": vi,
|
|
10425
10433
|
"zh-CN": bi,
|
|
10426
10434
|
"th-TH": Si,
|
|
10427
|
-
"ja-JP":
|
|
10435
|
+
"ja-JP": ki
|
|
10428
10436
|
};
|
|
10429
10437
|
export {
|
|
10430
10438
|
Lc as _,
|
package/dist/app.js
CHANGED
|
@@ -98,6 +98,8 @@ export declare const i18nMessages: {
|
|
|
98
98
|
deliveryZone: string;
|
|
99
99
|
deviceBinding: string;
|
|
100
100
|
deviceDetails: string;
|
|
101
|
+
otaChannel: string;
|
|
102
|
+
otaChannelHint: string;
|
|
101
103
|
dineIn: string;
|
|
102
104
|
dineInCanTakeaway: string;
|
|
103
105
|
driveThru: string;
|
|
@@ -471,6 +473,8 @@ export declare const i18nMessages: {
|
|
|
471
473
|
deliveryZone: string;
|
|
472
474
|
deviceBinding: string;
|
|
473
475
|
deviceDetails: string;
|
|
476
|
+
otaChannel: string;
|
|
477
|
+
otaChannelHint: string;
|
|
474
478
|
dineIn: string;
|
|
475
479
|
dineInCanTakeaway: string;
|
|
476
480
|
driveThru: string;
|
|
@@ -845,6 +849,8 @@ export declare const i18nMessages: {
|
|
|
845
849
|
deliveryZone: string;
|
|
846
850
|
deviceBinding: string;
|
|
847
851
|
deviceDetails: string;
|
|
852
|
+
otaChannel: string;
|
|
853
|
+
otaChannelHint: string;
|
|
848
854
|
dineIn: string;
|
|
849
855
|
dineInCanTakeaway: string;
|
|
850
856
|
driveThru: string;
|
|
@@ -1212,6 +1218,8 @@ export declare const i18nMessages: {
|
|
|
1212
1218
|
deliveryZone: string;
|
|
1213
1219
|
deviceBinding: string;
|
|
1214
1220
|
deviceDetails: string;
|
|
1221
|
+
otaChannel: string;
|
|
1222
|
+
otaChannelHint: string;
|
|
1215
1223
|
dineIn: string;
|
|
1216
1224
|
dineInCanTakeaway: string;
|
|
1217
1225
|
driveThru: string;
|
|
@@ -97,6 +97,8 @@ export declare const i18nMessages: {
|
|
|
97
97
|
deliveryZone: string;
|
|
98
98
|
deviceBinding: string;
|
|
99
99
|
deviceDetails: string;
|
|
100
|
+
otaChannel: string;
|
|
101
|
+
otaChannelHint: string;
|
|
100
102
|
dineIn: string;
|
|
101
103
|
dineInCanTakeaway: string;
|
|
102
104
|
driveThru: string;
|
|
@@ -470,6 +472,8 @@ export declare const i18nMessages: {
|
|
|
470
472
|
deliveryZone: string;
|
|
471
473
|
deviceBinding: string;
|
|
472
474
|
deviceDetails: string;
|
|
475
|
+
otaChannel: string;
|
|
476
|
+
otaChannelHint: string;
|
|
473
477
|
dineIn: string;
|
|
474
478
|
dineInCanTakeaway: string;
|
|
475
479
|
driveThru: string;
|
|
@@ -844,6 +848,8 @@ export declare const i18nMessages: {
|
|
|
844
848
|
deliveryZone: string;
|
|
845
849
|
deviceBinding: string;
|
|
846
850
|
deviceDetails: string;
|
|
851
|
+
otaChannel: string;
|
|
852
|
+
otaChannelHint: string;
|
|
847
853
|
dineIn: string;
|
|
848
854
|
dineInCanTakeaway: string;
|
|
849
855
|
driveThru: string;
|
|
@@ -1211,6 +1217,8 @@ export declare const i18nMessages: {
|
|
|
1211
1217
|
deliveryZone: string;
|
|
1212
1218
|
deviceBinding: string;
|
|
1213
1219
|
deviceDetails: string;
|
|
1220
|
+
otaChannel: string;
|
|
1221
|
+
otaChannelHint: string;
|
|
1214
1222
|
dineIn: string;
|
|
1215
1223
|
dineInCanTakeaway: string;
|
|
1216
1224
|
driveThru: string;
|
|
@@ -65,6 +65,7 @@ export interface MfKioskOrderSetting {
|
|
|
65
65
|
takeaway: MfKioskTakeawaySetting;
|
|
66
66
|
paymentSetting: MfKioskPaymentSetting;
|
|
67
67
|
menuItem: MfKioskOrderSettingMenuItemForm;
|
|
68
|
+
otaChannel?: string | null;
|
|
68
69
|
coverImageLandscape: string | null;
|
|
69
70
|
coverImagePortrait: string | null;
|
|
70
71
|
}
|
|
@@ -76,6 +77,7 @@ export interface MfKioskOrderSettingForm {
|
|
|
76
77
|
takeaway: KioskTakeawaySettingForm;
|
|
77
78
|
paymentSetting: KioskPaymentSettingForm;
|
|
78
79
|
menuItem: KioskMenuItemSettingForm;
|
|
80
|
+
otaChannel?: string | null;
|
|
79
81
|
coverImageLandscape: string | null;
|
|
80
82
|
coverImagePortrait: string | null;
|
|
81
83
|
}
|
|
@@ -61,6 +61,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
61
61
|
menuItem: {
|
|
62
62
|
showAllOnly: boolean;
|
|
63
63
|
};
|
|
64
|
+
otaChannel?: string | null | undefined;
|
|
64
65
|
coverImageLandscape: string | null;
|
|
65
66
|
coverImagePortrait: string | null;
|
|
66
67
|
} | undefined;
|
|
@@ -152,6 +153,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
152
153
|
menuItem?: {
|
|
153
154
|
showAllOnly: boolean;
|
|
154
155
|
} | null | undefined;
|
|
156
|
+
otaChannel?: string | null | undefined;
|
|
155
157
|
coverImageLandscape?: string | null | undefined;
|
|
156
158
|
coverImagePortrait?: string | null | undefined;
|
|
157
159
|
} | null | undefined;
|
|
@@ -324,6 +326,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
324
326
|
menuItem: {
|
|
325
327
|
showAllOnly: boolean;
|
|
326
328
|
};
|
|
329
|
+
otaChannel?: string | null | undefined;
|
|
327
330
|
coverImageLandscape: string | null;
|
|
328
331
|
coverImagePortrait: string | null;
|
|
329
332
|
} | undefined;
|
|
@@ -415,6 +418,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
415
418
|
menuItem?: {
|
|
416
419
|
showAllOnly: boolean;
|
|
417
420
|
} | null | undefined;
|
|
421
|
+
otaChannel?: string | null | undefined;
|
|
418
422
|
coverImageLandscape?: string | null | undefined;
|
|
419
423
|
coverImagePortrait?: string | null | undefined;
|
|
420
424
|
} | null | undefined;
|
|
@@ -587,6 +591,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
587
591
|
menuItem: {
|
|
588
592
|
showAllOnly: boolean;
|
|
589
593
|
};
|
|
594
|
+
otaChannel?: string | null | undefined;
|
|
590
595
|
coverImageLandscape: string | null;
|
|
591
596
|
coverImagePortrait: string | null;
|
|
592
597
|
} | undefined;
|
|
@@ -678,6 +683,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
678
683
|
menuItem?: {
|
|
679
684
|
showAllOnly: boolean;
|
|
680
685
|
} | null | undefined;
|
|
686
|
+
otaChannel?: string | null | undefined;
|
|
681
687
|
coverImageLandscape?: string | null | undefined;
|
|
682
688
|
coverImagePortrait?: string | null | undefined;
|
|
683
689
|
} | null | undefined;
|