@feedmepos/mf-order-setting 0.0.16-alpha.1 → 0.0.17
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-DkDKK-o-.js +4 -0
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-uz5kCfDz.js +206 -0
- package/dist/KioskSettingView-6Q0qwSTl.js +345 -0
- package/dist/KioskView-dXsAOdRK.js +289 -0
- package/dist/OrderSettingsView-mw8PFd0W.js +70943 -0
- package/dist/app-BsFGRC2y.js +620 -0
- package/dist/app.js +1 -1
- package/dist/dayjs.min-vPr9KJUN.js +123632 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/index-B9mJLWE5.js +70 -0
- package/dist/index-CpFXjGaf.js +86 -0
- package/package.json +1 -1
- package/src/router/routes.ts +4 -8
- package/dist/KioskSettingView-CAHOimYR.js +0 -4
- package/dist/app-Bk_7VAuN.js +0 -196112
|
@@ -0,0 +1,620 @@
|
|
|
1
|
+
import { ref as g, resolveComponent as S, openBlock as h, createElementBlock as f, createVNode as b } from "vue";
|
|
2
|
+
import "vue-router";
|
|
3
|
+
const m = g(null), v = () => m.value;
|
|
4
|
+
function P(t) {
|
|
5
|
+
m.value || (m.value = t);
|
|
6
|
+
}
|
|
7
|
+
const V = Object.freeze({
|
|
8
|
+
jb: {
|
|
9
|
+
lat: 1.492659,
|
|
10
|
+
lng: 103.7413591
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
function U(t) {
|
|
14
|
+
return [t.lng, t.lat];
|
|
15
|
+
}
|
|
16
|
+
function y(t) {
|
|
17
|
+
if (t.length !== 2) throw Error("Invalid coordinate array");
|
|
18
|
+
return {
|
|
19
|
+
lat: t[1],
|
|
20
|
+
lng: t[0]
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function W({
|
|
24
|
+
center: t,
|
|
25
|
+
radius: a
|
|
26
|
+
}) {
|
|
27
|
+
const e = [], i = a / 6371 * (180 / Math.PI), r = i / Math.cos(t.lat * (Math.PI / 180));
|
|
28
|
+
for (let o = 0; o < 361; o += 45) {
|
|
29
|
+
const c = o * (Math.PI / 180), n = t.lng + r * Math.cos(c), p = t.lat + i * Math.sin(c), s = v(), l = new s.maps.LatLng(p, n, !0);
|
|
30
|
+
e.push(l);
|
|
31
|
+
}
|
|
32
|
+
return e.map((o) => ({ lat: o.lat(), lng: o.lng() }));
|
|
33
|
+
}
|
|
34
|
+
function H(t) {
|
|
35
|
+
if (!t.length) return;
|
|
36
|
+
const { lat: a, lng: e } = y(t[0]), { maxLng: i, minLng: r, maxLat: o, minLat: c } = t.reduce((n, p) => {
|
|
37
|
+
const { lng: s, lat: l } = y(p);
|
|
38
|
+
return s > n.maxLng && (n.maxLng = s), s < n.minLng && (n.minLng = s), l > n.maxLat && (n.maxLat = l), l < n.minLat && (n.minLat = l), n;
|
|
39
|
+
}, {
|
|
40
|
+
maxLng: e,
|
|
41
|
+
minLng: e,
|
|
42
|
+
maxLat: a,
|
|
43
|
+
minLat: a
|
|
44
|
+
});
|
|
45
|
+
return {
|
|
46
|
+
lng: r + (i - r) / 2,
|
|
47
|
+
lat: c + (o - c) / 2
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
const k = {
|
|
51
|
+
integratedDeliveryCompany: "Integrated delivery company",
|
|
52
|
+
delivery: "Delivery",
|
|
53
|
+
pickup: "Pickup",
|
|
54
|
+
dineIn: "Dine In",
|
|
55
|
+
serviceCharge: "Service Charge",
|
|
56
|
+
sms: "SMS",
|
|
57
|
+
deliveryDescription: "We integrated with these deliveries with your POS system. You can deliver meal to your customers in faster and more secure way.",
|
|
58
|
+
search: "Search",
|
|
59
|
+
searchRestaurant: "Search restaurants",
|
|
60
|
+
noRestaurantSelected: "No Restaurant Selected",
|
|
61
|
+
company: "Company",
|
|
62
|
+
catalog: "Catalog",
|
|
63
|
+
paymentType: "Payment Type",
|
|
64
|
+
status: "Status",
|
|
65
|
+
manual: "Manual",
|
|
66
|
+
auto: "Auto",
|
|
67
|
+
active: "Active",
|
|
68
|
+
inactive: "Inactive",
|
|
69
|
+
deliveryTitle: "{company} delivery",
|
|
70
|
+
inHouseDelivery: "In house delivery",
|
|
71
|
+
feedMeExpress: "FeedMe express",
|
|
72
|
+
localDeliveryCompany: "Local delivery company",
|
|
73
|
+
localDeliveryDescription: "Activate the delivery companise to create new order at POS system.",
|
|
74
|
+
activateDeliveryCompany: "Activate {company} Delivery",
|
|
75
|
+
inhouseSwitchSublabel: "Accept In house Delivery with POS",
|
|
76
|
+
generalSetting: "General setting",
|
|
77
|
+
ignoreStock: "Ignore stock",
|
|
78
|
+
ignoreStockSublabel: "Customer can order even product out of stocks",
|
|
79
|
+
deliveryTerm: "Delivery term",
|
|
80
|
+
taxSetting: "Tax settings",
|
|
81
|
+
taxSettingTerm: "(Tax setting only applicable for POS after {validatePosVersion})",
|
|
82
|
+
manageDelivery: "Manage {company} delivery",
|
|
83
|
+
feedmeExpressTitle: "Update FeedMe express",
|
|
84
|
+
inhouseDeliveryTitle: "Manage in-house delivery",
|
|
85
|
+
inhouseDeliveryTaxLabel: "Delivery fee charge tax",
|
|
86
|
+
inhouseDeliveryTaxSublabel: "Accecpt In house Delivery with POS",
|
|
87
|
+
inhouseDeliveryInputLabel: "(applicable if restaurant profile SST is set)",
|
|
88
|
+
inhouseDeliveryTaxCalculation: "Tax calculation",
|
|
89
|
+
taxInclusive: "Inclusive",
|
|
90
|
+
taxExclusive: "Exclusive",
|
|
91
|
+
acceptedPayment: "Accepted Payment",
|
|
92
|
+
offlinePayment: "Offline Payment",
|
|
93
|
+
ePayment: "E-Payment",
|
|
94
|
+
cash: "Cash",
|
|
95
|
+
all: "All",
|
|
96
|
+
customOfflinePayment: "Custom Offline Payment",
|
|
97
|
+
customOfflinePaymentHeader: "Custom offline payments",
|
|
98
|
+
addOfflinePayment: "Add offline payment",
|
|
99
|
+
addCustomPayment: "Add custom payment",
|
|
100
|
+
editOfflinePayment: "Edit offline payment",
|
|
101
|
+
enterPaymentName: "Enter payment name",
|
|
102
|
+
enterPaymentInstruction: "Enter payment instruction",
|
|
103
|
+
general: "General",
|
|
104
|
+
instruction: "Instruction",
|
|
105
|
+
offlinePaymentName: "Offline Payment Name",
|
|
106
|
+
fieldCannotBeEmpty: "Field cannot be empty",
|
|
107
|
+
orderType: "Order Type",
|
|
108
|
+
orderFrom: "Order from",
|
|
109
|
+
daysTo: "days to",
|
|
110
|
+
days: "days",
|
|
111
|
+
preOrderHint: "Order on {today}, Customer can order between {start} and {end}. Max 7 days.",
|
|
112
|
+
asap: "ASAP",
|
|
113
|
+
preOrder: "Pre-order",
|
|
114
|
+
deliveryTime: "Delivery Time",
|
|
115
|
+
deliveryOrder: "Delivery order",
|
|
116
|
+
operatingHour: "Operating hour",
|
|
117
|
+
fixedTime: "Fixed time",
|
|
118
|
+
customTime: "Custom time",
|
|
119
|
+
timeSlot: "Time Slots",
|
|
120
|
+
addTimeSlot: "Add Time Slot",
|
|
121
|
+
monday: "Monday",
|
|
122
|
+
tuesday: "Tuesday",
|
|
123
|
+
wednesday: "Wednesday",
|
|
124
|
+
thursday: "Thursday",
|
|
125
|
+
friday: "Friday",
|
|
126
|
+
saturday: "Saturday",
|
|
127
|
+
sunday: "Sunday",
|
|
128
|
+
addDeliveryZone: "Add Delivery Zone",
|
|
129
|
+
save: "Save",
|
|
130
|
+
cancel: "Cancel",
|
|
131
|
+
deliveryFee: "Delivery Fee",
|
|
132
|
+
minPurchase: "Min Purchase",
|
|
133
|
+
minSpendForFreeDelivery: "Min spend for free Delivery",
|
|
134
|
+
deliveryZone: "Delivery Zone",
|
|
135
|
+
actiavteFeedmeExpress: "Activate FeedMe Express",
|
|
136
|
+
activateFeedmeExpressSublabel: "Customer can select FeedMe express to delivery their meal",
|
|
137
|
+
generalInfo: "General Info",
|
|
138
|
+
term: "Term",
|
|
139
|
+
deliveryInstruction: "Delivery Instruction",
|
|
140
|
+
activateIntegration: "Activate {integrationType} Integration",
|
|
141
|
+
integrationDescription: "POS system can add delivery order with {name} company",
|
|
142
|
+
default: "Default",
|
|
143
|
+
orderSetting: "Order Setting",
|
|
144
|
+
billRounding: "Bill Rounding",
|
|
145
|
+
remoteId: "Remote ID",
|
|
146
|
+
allowedAutoCloseBill: "Allowed auto closed bill",
|
|
147
|
+
allowedAutoAcceptOrder: "Allowed auto accept order",
|
|
148
|
+
ignoreDiscount: "Ignore Discount",
|
|
149
|
+
sstInclusive: "SST Inclusive",
|
|
150
|
+
commission: "Commission",
|
|
151
|
+
syncMenu: "Sync Menu",
|
|
152
|
+
selectItem: "Select item",
|
|
153
|
+
processing: "PROCESSING",
|
|
154
|
+
success: "SUCCESS",
|
|
155
|
+
failed: "FAILED",
|
|
156
|
+
updatedAt: "Updated at",
|
|
157
|
+
lastSync: "Last synchronize",
|
|
158
|
+
createTestOrder: "Create Test Order",
|
|
159
|
+
create: "Create",
|
|
160
|
+
updateDeliveryCompany: "Update Delivery Company",
|
|
161
|
+
updatePickupSetting: "Update Pickup Setting",
|
|
162
|
+
restaurant: "Restaurant",
|
|
163
|
+
paymentMethod: "Payment Method",
|
|
164
|
+
online: "Online",
|
|
165
|
+
pickupPoint: "Pickup point",
|
|
166
|
+
activated: "Activated",
|
|
167
|
+
deactivated: "Deactivated",
|
|
168
|
+
day: "Day",
|
|
169
|
+
to: "to",
|
|
170
|
+
multiplePickupPoint: "Multiple Pickup Point",
|
|
171
|
+
allowMultiplePickupSublabel: "Allow customer pickup at multiple address instead of restaurant only",
|
|
172
|
+
restaurantAsPickupPoint: "Restaurant as pickup point",
|
|
173
|
+
addPickupPoint: "Add pickup Point",
|
|
174
|
+
editPickupPoint: "Edit pickup Point",
|
|
175
|
+
name: "Name",
|
|
176
|
+
address: "Address",
|
|
177
|
+
enterName: "Enter Name",
|
|
178
|
+
enterAddress: "Enter Address",
|
|
179
|
+
add: "Add",
|
|
180
|
+
apply: "Apply",
|
|
181
|
+
anonymousOrder: "Anonymous Order",
|
|
182
|
+
anonymousOrderSublabel: "Customer can order without login",
|
|
183
|
+
staticQRcode: "Static QR code",
|
|
184
|
+
staticQRcodeSublabel: "Customer can order with static QR code",
|
|
185
|
+
customerItemRemark: "Customer item remark",
|
|
186
|
+
customerItemRemarkSublabel: "Customer can attach remark to item",
|
|
187
|
+
acceptQueue: "Accept queue",
|
|
188
|
+
acceptQueueSublabel: "Customer can use queue in FeedMe app",
|
|
189
|
+
saveSetting: "Save Setting",
|
|
190
|
+
enableServiceCharge: "Enable Service Charge",
|
|
191
|
+
serviceChargeSublabel: "Make your own rules to omit change based on different conditions such as restaurant, dining option, items, slot, etc.",
|
|
192
|
+
serviceChargeRule: "* Service Charge required POS version 4.0.0 or higher",
|
|
193
|
+
chargeWhen: "Charge When",
|
|
194
|
+
beforeBillDiscount: "Before bill discount",
|
|
195
|
+
afterBillDiscount: "After bill discount",
|
|
196
|
+
rate: "Rate",
|
|
197
|
+
selectServiceChargeType: "Select service charge type",
|
|
198
|
+
inclusive: "Inclusive",
|
|
199
|
+
exclusive: "Exclulsive",
|
|
200
|
+
customServiceCharge: "Custom Servive Charge",
|
|
201
|
+
delete: "delete",
|
|
202
|
+
loadingMenu: "Loading Menu",
|
|
203
|
+
noAvailableItem: "No available item",
|
|
204
|
+
table: "Table",
|
|
205
|
+
item: "Item",
|
|
206
|
+
loadingTable: "Loading table",
|
|
207
|
+
noAvailableTable: "No available table",
|
|
208
|
+
productSelected: "product(s) selected",
|
|
209
|
+
confirm: "Confirm",
|
|
210
|
+
selectTable: "Select table",
|
|
211
|
+
tableSelected: "table(s) selected",
|
|
212
|
+
applyFor: "Apply for",
|
|
213
|
+
takeaway: "Takeaway",
|
|
214
|
+
deliveryCompany: "Delivery Company",
|
|
215
|
+
addServiceCharge: "Add service charge",
|
|
216
|
+
credit: "Credit",
|
|
217
|
+
balance: "Balance",
|
|
218
|
+
pricePerMessage: "Price per message",
|
|
219
|
+
setting: "Setting",
|
|
220
|
+
serve: "serve",
|
|
221
|
+
accept: "accept",
|
|
222
|
+
edit: "Edit",
|
|
223
|
+
feedmeExpressPosVersionIssue: "Min POS version {minVersion} required for FeedMe Express",
|
|
224
|
+
feedmeExpressPayoutAccIssue: "Payout account is required to enable FeedMe Express",
|
|
225
|
+
feedmeExpressNotApproved: "Your payout account is under review. Please contact our staff for further assistant.",
|
|
226
|
+
invalidRestaurant: "Invalid restaurant",
|
|
227
|
+
contact: "contact",
|
|
228
|
+
pleaseCompleteProfile: "please complete your restaurant profile to enable FeedMe Express",
|
|
229
|
+
discountCampaign: "Discount Campaign",
|
|
230
|
+
addNewCampaign: "Add new campaign",
|
|
231
|
+
addCampaign: "Add campaign",
|
|
232
|
+
vendorBearPercentage: "Vendor bear percentage",
|
|
233
|
+
enterANumber: "Enter a number",
|
|
234
|
+
kiosk: "Kiosk",
|
|
235
|
+
deviceBinding: "Device Binding",
|
|
236
|
+
bindDevice: "Bind device",
|
|
237
|
+
settings: "Settings",
|
|
238
|
+
activateLocation: "Activate location",
|
|
239
|
+
selectRestaurant: "Select Restaurant",
|
|
240
|
+
kioskDisplay: "Kiosk Display",
|
|
241
|
+
kioskDisplayDescription: 'Click "Bind device" to receive a special code for device binding.',
|
|
242
|
+
activatedDate: "Activated date",
|
|
243
|
+
deviceDetails: "Device Details",
|
|
244
|
+
unbind: "Unbind",
|
|
245
|
+
unbindKioskDevice: "Unbind Kiosk Device",
|
|
246
|
+
unbindKioskDeviceWarning: "Are you sure want to unbind device? If yes, please enter {machineId} inside the textfield",
|
|
247
|
+
unbindSuccess: "Kiosk display successfully unbinded.",
|
|
248
|
+
unbindWarning: "Please enter the machine ID to confirm unbind.",
|
|
249
|
+
bindDeviceMessage: "Enter this code to your kiosk device to bind.",
|
|
250
|
+
kioskSummary: "Kiosk Summary",
|
|
251
|
+
dineInType: "Dine In Type",
|
|
252
|
+
tableService: "Table Service",
|
|
253
|
+
pickAtCounter: "Pick at counter",
|
|
254
|
+
unknown: "Unknown",
|
|
255
|
+
kioskSettingSuccess: "Kiosk order setting updated",
|
|
256
|
+
kioskSettingFailed: "Failed to update kiosk order setting",
|
|
257
|
+
displayStand: "Display Stand",
|
|
258
|
+
tableServiceSetting: "Table service setting",
|
|
259
|
+
prefix: "Prefix",
|
|
260
|
+
start: "Start",
|
|
261
|
+
end: "End",
|
|
262
|
+
nonNegativeRule: "Value should be positive value",
|
|
263
|
+
greaterThanMinRule: "Max should be exceed to Min",
|
|
264
|
+
padDigit: "Pad Digit",
|
|
265
|
+
takeawayTitle: "Take Away",
|
|
266
|
+
updateSetting: "Update setting",
|
|
267
|
+
pleaseSelectRestaurant: "Please select a restaurant.",
|
|
268
|
+
failedToUpdateSetting: "Failed to update setting",
|
|
269
|
+
updatePayoutAccount: "Update payout account",
|
|
270
|
+
updateNow: "Update now",
|
|
271
|
+
autoIntegration: "Auto Integration",
|
|
272
|
+
autoIntegrationWarning: "Auto delivery integration not available, contact our staff for more information. Reason: {reason}",
|
|
273
|
+
restaurantHaveNotPurchase: "Restaurant have not purchase {featureKey} feature",
|
|
274
|
+
invalidPosVersion: "Invalid POS version",
|
|
275
|
+
notAllowed: "Not allowed",
|
|
276
|
+
autoSendKitchen: "Auto Send Kitchen",
|
|
277
|
+
promptAnonymousLoginDialog: "Prompt Login Dialog For Anonymous Order",
|
|
278
|
+
autoSendKitchenSublabel: "Required POS version 7 or above",
|
|
279
|
+
payoutAccountIsRequired: "Payout account is required",
|
|
280
|
+
payoutAccountUnderReview: "Payout account under review",
|
|
281
|
+
payoutPosVersion: "For POS {version} or above"
|
|
282
|
+
}, D = {
|
|
283
|
+
order: k
|
|
284
|
+
}, A = {
|
|
285
|
+
integratedDeliveryCompany: "已对接配送平台",
|
|
286
|
+
delivery: "配送",
|
|
287
|
+
pickup: "自取",
|
|
288
|
+
dineIn: "堂食",
|
|
289
|
+
serviceCharge: "服务费",
|
|
290
|
+
sms: "短信",
|
|
291
|
+
deliveryDescription: "我们将以下配送服务与您的POS系统进行结合,让您能够更加快速且安全地将餐点送到客户手中。",
|
|
292
|
+
search: "搜索",
|
|
293
|
+
searchRestaurant: "搜索餐厅",
|
|
294
|
+
noRestaurantSelected: "未选择餐厅",
|
|
295
|
+
company: "平台",
|
|
296
|
+
catalog: "目录",
|
|
297
|
+
paymentType: "交易类型",
|
|
298
|
+
status: "状态",
|
|
299
|
+
manual: "手动",
|
|
300
|
+
auto: "自动",
|
|
301
|
+
active: "激活",
|
|
302
|
+
inactive: "未激活",
|
|
303
|
+
deliveryTitle: "{company} 配送",
|
|
304
|
+
inHouseDelivery: "In house 配送",
|
|
305
|
+
feedMeExpress: "FeedMe 外卖快递",
|
|
306
|
+
localDeliveryCompany: "本地配送平台",
|
|
307
|
+
localDeliveryDescription: "激活配送平台以在POS系统中创建新的订单。",
|
|
308
|
+
activateDeliveryCompany: "激活{company}配送",
|
|
309
|
+
inhouseSwitchSublabel: "通过POS系统接受In house配送",
|
|
310
|
+
generalSetting: "通用设置",
|
|
311
|
+
ignoreStock: "忽略库存",
|
|
312
|
+
ignoreStockSublabel: "客户依然可以下单,即使商品缺货",
|
|
313
|
+
deliveryTerm: "配送条款",
|
|
314
|
+
taxSetting: "税务设置",
|
|
315
|
+
taxSettingTerm: "(税务设置仅适用于{validatePosVersion}版本后的POS系统)",
|
|
316
|
+
manageDelivery: "管理 {company} 配送",
|
|
317
|
+
feedmeExpressTitle: "更新 Feedme 外卖快递",
|
|
318
|
+
inhouseDeliveryTitle: "管理 in house 配送",
|
|
319
|
+
inhouseDeliveryTaxLabel: "配送费附加税",
|
|
320
|
+
inhouseDeliveryTaxSublabel: "通过POS系统接受In house配送",
|
|
321
|
+
inhouseDeliveryInputLabel: "(仅在餐厅档案已设置SST时方可适用)",
|
|
322
|
+
inhouseDeliveryTaxCalculation: "税务计算",
|
|
323
|
+
taxInclusive: "含税",
|
|
324
|
+
taxExclusive: "不含税",
|
|
325
|
+
acceptedPayment: "可接受付款方式",
|
|
326
|
+
offlinePayment: "线下支付",
|
|
327
|
+
ePayment: "电子支付",
|
|
328
|
+
cash: "现金",
|
|
329
|
+
all: "所有",
|
|
330
|
+
customOfflinePayment: "自定义线下付款方式",
|
|
331
|
+
customOfflinePaymentHeader: "自定义线下付款方式",
|
|
332
|
+
addOfflinePayment: "添加线下付款方式",
|
|
333
|
+
addCustomPayment: "添加自定义付款方式",
|
|
334
|
+
editOfflinePayment: "编辑线下支付方式",
|
|
335
|
+
enterPaymentName: "输入付款名称",
|
|
336
|
+
enterPaymentInstruction: "输入付款说明",
|
|
337
|
+
general: "通用",
|
|
338
|
+
instruction: "付款说明",
|
|
339
|
+
offlinePaymentName: "付款名称",
|
|
340
|
+
fieldCannotBeEmpty: "字段不可为空",
|
|
341
|
+
orderType: "订单类型",
|
|
342
|
+
orderFrom: "预订从",
|
|
343
|
+
daysTo: "天到",
|
|
344
|
+
days: "天",
|
|
345
|
+
preOrderHint: "于今日 {today} 下单,客户可以在 {start} 和 {end} 之间预订。最多 7 天。",
|
|
346
|
+
asap: "尽快配送",
|
|
347
|
+
preOrder: "预订",
|
|
348
|
+
deliveryTime: "配送时间",
|
|
349
|
+
deliveryOrder: "配送订单",
|
|
350
|
+
operatingHour: "营业时间",
|
|
351
|
+
fixedTime: "固定时间",
|
|
352
|
+
customTime: "自定义时间",
|
|
353
|
+
timeSlot: "时间段",
|
|
354
|
+
addTimeSlot: "添加时间段",
|
|
355
|
+
monday: "星期一",
|
|
356
|
+
tuesday: "星期二",
|
|
357
|
+
wednesday: "星期三",
|
|
358
|
+
thursday: "星期四",
|
|
359
|
+
friday: "星期五",
|
|
360
|
+
saturday: "星期六",
|
|
361
|
+
sunday: "星期日",
|
|
362
|
+
addDeliveryZone: "添加配送区域",
|
|
363
|
+
save: "保存",
|
|
364
|
+
cancel: "取消",
|
|
365
|
+
deliveryFee: "配送费",
|
|
366
|
+
minPurchase: "最低购买金额",
|
|
367
|
+
minSpendForFreeDelivery: "免费配送的最低消费金额",
|
|
368
|
+
deliveryZone: "配送区域",
|
|
369
|
+
actiavteFeedmeExpress: "激活FeedMe外卖配送",
|
|
370
|
+
activateFeedmeExpressSublabel: "客户可以选择FeedMe外卖快递来配送他们的餐点",
|
|
371
|
+
generalInfo: "通用信息",
|
|
372
|
+
term: "条款",
|
|
373
|
+
deliveryInstruction: "配送说明",
|
|
374
|
+
activateIntegration: "激活{integrationType}对接",
|
|
375
|
+
integrationDescription: "POS系统可以添加与{name}公司合作的配送订单",
|
|
376
|
+
default: "默认",
|
|
377
|
+
orderSetting: "订单设置",
|
|
378
|
+
billRounding: "账单四舍五入",
|
|
379
|
+
remoteId: "平台注册ID",
|
|
380
|
+
allowedAutoCloseBill: "允许自动结算账单",
|
|
381
|
+
allowedAutoAcceptOrder: "允许自动接受订单",
|
|
382
|
+
ignoreDiscount: "不适用折扣",
|
|
383
|
+
sstInclusive: "包含SST",
|
|
384
|
+
commission: "佣金",
|
|
385
|
+
syncMenu: "同步菜单",
|
|
386
|
+
selectItem: "请选择",
|
|
387
|
+
processing: "处理中",
|
|
388
|
+
success: "成功",
|
|
389
|
+
failed: "失败",
|
|
390
|
+
updatedAt: "更新于",
|
|
391
|
+
lastSync: "上次同步",
|
|
392
|
+
createTestOrder: "创建测试订单",
|
|
393
|
+
create: "创建",
|
|
394
|
+
updateDeliveryCompany: "更新配送公司",
|
|
395
|
+
updatePickupSetting: "更新自取设置",
|
|
396
|
+
restaurant: "餐厅",
|
|
397
|
+
paymentMethod: "付款方式",
|
|
398
|
+
online: "在线",
|
|
399
|
+
pickupPoint: "自取地点",
|
|
400
|
+
activated: "已激活",
|
|
401
|
+
deactivated: "已停用",
|
|
402
|
+
day: "天",
|
|
403
|
+
to: "至",
|
|
404
|
+
multiplePickupPoint: "多个取货地点",
|
|
405
|
+
allowMultiplePickupSublabel: "允许客户在不同的取货地点自取,不限于餐厅",
|
|
406
|
+
restaurantAsPickupPoint: "餐厅为取货地点",
|
|
407
|
+
addPickupPoint: "添加取货地点",
|
|
408
|
+
editPickupPoint: "编辑取货地点",
|
|
409
|
+
name: "名称",
|
|
410
|
+
address: "地址",
|
|
411
|
+
enterName: "输入名称",
|
|
412
|
+
enterAddress: "输入地址",
|
|
413
|
+
add: "添加",
|
|
414
|
+
apply: "应用",
|
|
415
|
+
anonymousOrder: "匿名订单",
|
|
416
|
+
anonymousOrderSublabel: "客户无需登录即可下单",
|
|
417
|
+
staticQRcode: "静态二维码",
|
|
418
|
+
staticQRcodeSublabel: "客户可以通过静态二维码下单",
|
|
419
|
+
customerItemRemark: "客户商品备注",
|
|
420
|
+
customerItemRemarkSublabel: "客户可以为商品添加备注",
|
|
421
|
+
acceptQueue: "接受队列",
|
|
422
|
+
acceptQueueSublabel: "客户可以在FeedMe应用中使用排队功能",
|
|
423
|
+
saveSetting: "保存设置",
|
|
424
|
+
enableServiceCharge: "启用服务费",
|
|
425
|
+
serviceChargeSublabel: "根据不同的情况,如餐厅,就餐选项,商品,时间段等,自定义规则。",
|
|
426
|
+
serviceChargeRule: "* 服务费功能仅适用于POS版本4.0.0或更高版本。",
|
|
427
|
+
chargeWhen: "满足条件时收费",
|
|
428
|
+
beforeBillDiscount: "账单折扣前",
|
|
429
|
+
afterBillDiscount: "账单折扣后",
|
|
430
|
+
rate: "费率",
|
|
431
|
+
selectServiceChargeType: "选择服务费类型",
|
|
432
|
+
inclusive: "包括",
|
|
433
|
+
exclusive: "不包括",
|
|
434
|
+
customServiceCharge: "自定义服务收费",
|
|
435
|
+
delete: "删除",
|
|
436
|
+
loadingMenu: "加载菜单",
|
|
437
|
+
noAvailableItem: "无可用商品",
|
|
438
|
+
table: "餐桌",
|
|
439
|
+
item: "商品",
|
|
440
|
+
loadingTable: "加载餐桌",
|
|
441
|
+
noAvailableTable: "无可用餐桌",
|
|
442
|
+
productSelected: "已选择商品",
|
|
443
|
+
confirm: "确认",
|
|
444
|
+
selectTable: "选择餐桌",
|
|
445
|
+
tableSelected: "已选择餐桌",
|
|
446
|
+
applyFor: "应用于",
|
|
447
|
+
takeaway: "外带",
|
|
448
|
+
deliveryCompany: "配送公司",
|
|
449
|
+
addServiceCharge: "添加服务费",
|
|
450
|
+
credit: "可用余额",
|
|
451
|
+
balance: "余额",
|
|
452
|
+
pricePerMessage: "每条短信的价格",
|
|
453
|
+
setting: "设置",
|
|
454
|
+
serve: "服务",
|
|
455
|
+
accept: "接受",
|
|
456
|
+
edit: "编辑",
|
|
457
|
+
feedmeExpressPosVersionIssue: "需要最低{minVersion}版本的POS系统才能使用FeedMe外卖快递",
|
|
458
|
+
feedmeExpressPayoutAccIssue: "需要设置支付账户才能启用FeedMe外卖快递",
|
|
459
|
+
feedmeExpressNotApproved: "您的支付账户正在审核中,请联系我们的工作人员获取进一步的帮助。",
|
|
460
|
+
invalidRestaurant: "无效的餐厅",
|
|
461
|
+
contact: "联络",
|
|
462
|
+
pleaseCompleteProfile: "请完善您的餐厅资料以启用FeedMe外卖快递",
|
|
463
|
+
discountCampaign: "促销活动",
|
|
464
|
+
addNewCampaign: "添加新的促销活动",
|
|
465
|
+
addCampaign: "添加促销活动",
|
|
466
|
+
vendorBearPercentage: "供应商承担百分比",
|
|
467
|
+
enterANumber: "输入一个号码",
|
|
468
|
+
kiosk: "自助点餐设备",
|
|
469
|
+
deviceBinding: "设备绑定",
|
|
470
|
+
bindDevice: "绑定设备",
|
|
471
|
+
settings: "设置",
|
|
472
|
+
activateLocation: "启用定位",
|
|
473
|
+
selectRestaurant: "选择餐厅",
|
|
474
|
+
kioskDisplay: "自助点餐设备显示",
|
|
475
|
+
kioskDisplayDescription: "点击“绑定设备”以获取绑定设备的专用代码",
|
|
476
|
+
activatedDate: "激活日期",
|
|
477
|
+
deviceDetails: "设备详情",
|
|
478
|
+
unbind: "解除绑定",
|
|
479
|
+
unbindKioskDevice: "解除自助点餐设备绑定",
|
|
480
|
+
unbindKioskDeviceWarning: "你确定要解除绑定设备吗?如果是,请在文本框中输入{machineId}",
|
|
481
|
+
unbindSuccess: "自助点餐设备成功解除绑定",
|
|
482
|
+
unbindWarning: "请输入设备ID以确认解除绑定",
|
|
483
|
+
bindDeviceMessage: "请输入此代码到您的自助点餐设备以进行绑定",
|
|
484
|
+
kioskSummary: "自助点餐设备概览",
|
|
485
|
+
dineInType: "堂食类型",
|
|
486
|
+
tableService: "餐桌服务",
|
|
487
|
+
pickAtCounter: "在柜台取餐",
|
|
488
|
+
unknown: "未知",
|
|
489
|
+
kioskSettingSuccess: "自助点餐设备订单设置更新成功",
|
|
490
|
+
kioskSettingFailed: "自助点餐设备订单设置更新失败",
|
|
491
|
+
displayStand: "桌牌",
|
|
492
|
+
tableServiceSetting: "餐桌服务设置",
|
|
493
|
+
prefix: "前缀",
|
|
494
|
+
start: "开始",
|
|
495
|
+
end: "结束",
|
|
496
|
+
nonNegativeRule: "该值必须为正数",
|
|
497
|
+
greaterThanMinRule: "最大值应大于等于最小值",
|
|
498
|
+
padDigit: "位数",
|
|
499
|
+
takeawayTitle: "外带",
|
|
500
|
+
updateSetting: "更新设置",
|
|
501
|
+
pleaseSelectRestaurant: "请选择一个餐厅",
|
|
502
|
+
failedToUpdateSetting: "设置更新失败",
|
|
503
|
+
updatePayoutAccount: "更新支付账户",
|
|
504
|
+
updateNow: "立即更新",
|
|
505
|
+
autoIntegration: "自动对接",
|
|
506
|
+
autoIntegrationWarning: "自动配送对接不可用, 请联络我们的工作人员了解更多信息。 原因: {reason}",
|
|
507
|
+
restaurantHaveNotPurchase: "餐厅尚未购买{featureKey}功能",
|
|
508
|
+
invalidPosVersion: "POS版本不适用",
|
|
509
|
+
notAllowed: "没有权限",
|
|
510
|
+
autoSendKitchen: "自动发送至厨房",
|
|
511
|
+
promptAnonymousLoginDialog: "为匿名用户弹出登入对话框",
|
|
512
|
+
autoSendKitchenSublabel: "需要POS版本7或以上",
|
|
513
|
+
payoutAccountIsRequired: "需要支付账户",
|
|
514
|
+
c: "支付账户正在审查中",
|
|
515
|
+
payoutPosVersion: "需要POS{version}或以上 "
|
|
516
|
+
}, C = {
|
|
517
|
+
order: A
|
|
518
|
+
};
|
|
519
|
+
class d {
|
|
520
|
+
constructor(a = null, e = {}) {
|
|
521
|
+
if (this.apiKey = a, this.options = e, typeof window > "u")
|
|
522
|
+
throw new Error("google-maps is supported only in browser environment");
|
|
523
|
+
}
|
|
524
|
+
load() {
|
|
525
|
+
return typeof this.api < "u" ? Promise.resolve(this.api) : typeof this.loader < "u" ? this.loader : (window[d.CALLBACK_NAME] = () => {
|
|
526
|
+
if (this.api = window.google, typeof this.resolve > "u")
|
|
527
|
+
throw new Error("Should not happen");
|
|
528
|
+
this.resolve(this.api);
|
|
529
|
+
}, window.gm_authFailure = () => {
|
|
530
|
+
if (typeof this.reject > "u")
|
|
531
|
+
throw new Error("Should not happen");
|
|
532
|
+
this.reject(new Error("google-maps: authentication error"));
|
|
533
|
+
}, this.loader = new Promise((a, e) => {
|
|
534
|
+
this.resolve = a, this.reject = e;
|
|
535
|
+
const i = document.createElement("script");
|
|
536
|
+
i.src = this.createUrl(), i.async = !0, i.onerror = (r) => e(r), document.head.appendChild(i);
|
|
537
|
+
}));
|
|
538
|
+
}
|
|
539
|
+
createUrl() {
|
|
540
|
+
const a = [
|
|
541
|
+
`callback=${d.CALLBACK_NAME}`
|
|
542
|
+
];
|
|
543
|
+
this.apiKey && a.push(`key=${this.apiKey}`);
|
|
544
|
+
for (let e in this.options)
|
|
545
|
+
if (this.options.hasOwnProperty(e)) {
|
|
546
|
+
let i = this.options[e];
|
|
547
|
+
e === "version" && (e = "v"), e === "libraries" && (i = i.join(",")), a.push(`${e}=${i}`);
|
|
548
|
+
}
|
|
549
|
+
return `https://maps.googleapis.com/maps/api/js?${a.join("&")}`;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
d.CALLBACK_NAME = "_dk_google_maps_loader_cb";
|
|
553
|
+
const w = (t, a) => {
|
|
554
|
+
const e = t.__vccOpts || t;
|
|
555
|
+
for (const [i, r] of a)
|
|
556
|
+
e[i] = r;
|
|
557
|
+
return e;
|
|
558
|
+
}, I = {}, T = { class: "flex-1 overflow-auto" };
|
|
559
|
+
function x(t, a) {
|
|
560
|
+
const e = S("RouterView");
|
|
561
|
+
return h(), f("div", T, [
|
|
562
|
+
b(e)
|
|
563
|
+
]);
|
|
564
|
+
}
|
|
565
|
+
const Q = /* @__PURE__ */ w(I, [["render", x]]), O = "/kiosk", M = "/kiosk/device", R = "/kiosk/order-setting", E = "/order-settings", F = "/delivery-settings", L = "/orders", u = {
|
|
566
|
+
KioskRoute: O,
|
|
567
|
+
KioskDeviceRoute: M,
|
|
568
|
+
KioskOrderSettingRoute: R,
|
|
569
|
+
OrderSettingView: E,
|
|
570
|
+
FeedMeExpressView: F,
|
|
571
|
+
AllOrdersView: L
|
|
572
|
+
}, q = [
|
|
573
|
+
{
|
|
574
|
+
path: u.KioskRoute,
|
|
575
|
+
name: "Kiosk",
|
|
576
|
+
component: () => import("./KioskView-dXsAOdRK.js")
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
path: u.KioskDeviceRoute,
|
|
580
|
+
name: "Kiosk Device",
|
|
581
|
+
component: () => import("./KioskDevicesView-DkDKK-o-.js")
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
path: u.KioskOrderSettingRoute,
|
|
585
|
+
name: "Kiosk Order Setting",
|
|
586
|
+
component: () => import("./KioskSettingView-6Q0qwSTl.js")
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
path: u.OrderSettingView,
|
|
590
|
+
name: "Order Setting View",
|
|
591
|
+
component: () => import("./OrderSettingsView-mw8PFd0W.js")
|
|
592
|
+
}
|
|
593
|
+
];
|
|
594
|
+
var N = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: {}, gtm: { debug: !1 }, r2: null };
|
|
595
|
+
const j = {
|
|
596
|
+
"en-US": D,
|
|
597
|
+
"zh-CN": C
|
|
598
|
+
};
|
|
599
|
+
async function K() {
|
|
600
|
+
if (v()) return;
|
|
601
|
+
const a = await new d(N.googleMap, {
|
|
602
|
+
libraries: ["places"]
|
|
603
|
+
}).load();
|
|
604
|
+
P(a);
|
|
605
|
+
}
|
|
606
|
+
async function G() {
|
|
607
|
+
console.log("@feedmepos/mf-order-setting : 0.0.16-alpha.1"), await K();
|
|
608
|
+
}
|
|
609
|
+
export {
|
|
610
|
+
Q as A,
|
|
611
|
+
y as a,
|
|
612
|
+
W as b,
|
|
613
|
+
V as c,
|
|
614
|
+
U as d,
|
|
615
|
+
H as e,
|
|
616
|
+
G as f,
|
|
617
|
+
v as g,
|
|
618
|
+
j as i,
|
|
619
|
+
q as r
|
|
620
|
+
};
|
package/dist/app.js
CHANGED