@feedmepos/mf-settings 0.0.48-beta.0-ex → 0.0.48-beta.1-ex
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/App-cddefb91.js +4351 -0
- package/dist/{Business-c2cc9ee7.js → Business-2da2ffc4.js} +237 -238
- package/dist/{CreateBusiness-e05859f6.js → CreateBusiness-fc4661b1.js} +11 -14
- package/dist/{FoodCourt-b9e42611.js → FoodCourt-17a5dadd.js} +4 -7
- package/dist/Tagging-0a2c6a6b.js +6694 -0
- package/dist/actionButton-6b6e9e60.js +88 -0
- package/dist/app.js +719 -14
- package/dist/apps/mf-settings/src/app.d.ts +1 -2
- package/dist/apps/mf-settings/src/components/business/RestaurantForm.vue.d.ts +1 -1
- package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +3 -3
- package/dist/apps/mf-settings/src/init.d.ts +1 -0
- package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +15 -15
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/business-8b22c801.js +31 -0
- package/dist/createForm-ad247a74.js +92 -0
- package/dist/index.esm2017-c60b1ce5.js +3147 -0
- package/dist/loading-eb019aa4.js +2385 -0
- package/package.json +3 -3
- package/dist/app-29117ada.js +0 -17441
package/dist/app.js
CHANGED
|
@@ -1,17 +1,722 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "@feedmepos/mf-
|
|
3
|
-
import "@feedmepos/mf-mdm";
|
|
4
|
-
import "vue";
|
|
1
|
+
import { defineAsyncComponent as a } from "vue";
|
|
2
|
+
import { FmApp as i, routers as n, i18nMessages as t } from "@feedmepos/mf-mdm";
|
|
5
3
|
import "vue-router";
|
|
6
|
-
import "@feedmepos/mf-e-invoice";
|
|
7
|
-
import "@feedmepos/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
import { FmApp as o, routers as s } from "@feedmepos/mf-e-invoice";
|
|
5
|
+
import { withPermission as r } from "@feedmepos/mf-common";
|
|
6
|
+
const l = {
|
|
7
|
+
title: "Settings",
|
|
8
|
+
eInvoice: {
|
|
9
|
+
title: "E-invoice"
|
|
10
|
+
},
|
|
11
|
+
licenseOrder: {
|
|
12
|
+
title: "License order"
|
|
13
|
+
},
|
|
14
|
+
templateBuilder: {
|
|
15
|
+
title: "Receipt builder"
|
|
16
|
+
},
|
|
17
|
+
device: {
|
|
18
|
+
title: "Device"
|
|
19
|
+
},
|
|
20
|
+
business: {
|
|
21
|
+
title: "My business",
|
|
22
|
+
url: "Business URL",
|
|
23
|
+
add_restaurant: "Add restaurant",
|
|
24
|
+
search_restaurants: "Search restaurants",
|
|
25
|
+
quota: {
|
|
26
|
+
limit_title: "Quota limit reached",
|
|
27
|
+
limit_message: "You have reach the quota limit allocated to your account. Contact your sales to perform quota update."
|
|
28
|
+
},
|
|
29
|
+
restaurant: {
|
|
30
|
+
code: "Code",
|
|
31
|
+
title: "Name",
|
|
32
|
+
address: "Address",
|
|
33
|
+
contact: "Contact",
|
|
34
|
+
email: "Email",
|
|
35
|
+
tax: {
|
|
36
|
+
title: "Tax No",
|
|
37
|
+
not_set: "Not set"
|
|
38
|
+
},
|
|
39
|
+
actions: {
|
|
40
|
+
discard: "Discard"
|
|
41
|
+
},
|
|
42
|
+
form: {
|
|
43
|
+
title: {
|
|
44
|
+
update: "Update restaurant",
|
|
45
|
+
add: "Add restaurant"
|
|
46
|
+
},
|
|
47
|
+
message: {
|
|
48
|
+
updated: "Restaurant updated",
|
|
49
|
+
created: "Restaurant created"
|
|
50
|
+
},
|
|
51
|
+
summary: {
|
|
52
|
+
title: "Restaurant summary",
|
|
53
|
+
name: "Restaurant name",
|
|
54
|
+
legal_name: "Legal name",
|
|
55
|
+
contact: "Contact no.",
|
|
56
|
+
address: "Address"
|
|
57
|
+
},
|
|
58
|
+
sections: {
|
|
59
|
+
basic_info: {
|
|
60
|
+
title: "Basic info",
|
|
61
|
+
code: {
|
|
62
|
+
label: "Code",
|
|
63
|
+
optional: "optional",
|
|
64
|
+
helper: "Code can only set once"
|
|
65
|
+
},
|
|
66
|
+
name: {
|
|
67
|
+
label: "Restaurant name",
|
|
68
|
+
required: "required"
|
|
69
|
+
},
|
|
70
|
+
legal_name: {
|
|
71
|
+
label: "Legal name",
|
|
72
|
+
required: "required"
|
|
73
|
+
},
|
|
74
|
+
reg_no: {
|
|
75
|
+
label: "Registration no.",
|
|
76
|
+
required: "required"
|
|
77
|
+
},
|
|
78
|
+
tax_no: {
|
|
79
|
+
label: "Tax No",
|
|
80
|
+
optional: "optional"
|
|
81
|
+
},
|
|
82
|
+
contact: {
|
|
83
|
+
label: "Contact no.",
|
|
84
|
+
optional: "optional"
|
|
85
|
+
},
|
|
86
|
+
email: {
|
|
87
|
+
label: "Email",
|
|
88
|
+
optional: "optional"
|
|
89
|
+
},
|
|
90
|
+
image: {
|
|
91
|
+
label: "Restaurant image",
|
|
92
|
+
optional: "(optional)"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
address: {
|
|
96
|
+
title: "Address"
|
|
97
|
+
},
|
|
98
|
+
operation_hours: {
|
|
99
|
+
title: "Operation hours",
|
|
100
|
+
copy_with: "Copy with",
|
|
101
|
+
invalid: "Invalid operating hour"
|
|
102
|
+
},
|
|
103
|
+
branding: {
|
|
104
|
+
title: "Branding",
|
|
105
|
+
description: "Restaurant descriptions",
|
|
106
|
+
url: {
|
|
107
|
+
label: "Restaurant URL",
|
|
108
|
+
errors: {
|
|
109
|
+
disabled: "Short URL temporary disabled for make sure unique URL for each restaurant",
|
|
110
|
+
invalid: "Invalid URL, should be more than 6 characters",
|
|
111
|
+
reserved: "Reserved URL"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
cover_photo: {
|
|
115
|
+
label: "Cover photo"
|
|
116
|
+
},
|
|
117
|
+
carousel_photos: {
|
|
118
|
+
label: "Carousel photos"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
form: {
|
|
125
|
+
title: "Update business",
|
|
126
|
+
cover_photo: {
|
|
127
|
+
label: "Cover photo",
|
|
128
|
+
optional: "(optional)"
|
|
129
|
+
},
|
|
130
|
+
name: "Name",
|
|
131
|
+
url: {
|
|
132
|
+
label: "URL",
|
|
133
|
+
errors: {
|
|
134
|
+
disabled: "Short URL temporary disabled for make sure unique URL for each restaurant",
|
|
135
|
+
format: "Min 6 characters, alphanumeric only",
|
|
136
|
+
reserved: "Business URL is reserved"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
create_business: {
|
|
142
|
+
welcome: "Welcome {name}",
|
|
143
|
+
subtitle: "before we start, let's tell us about your business.",
|
|
144
|
+
business_name: {
|
|
145
|
+
label: "What is your business name?",
|
|
146
|
+
required: "required"
|
|
147
|
+
},
|
|
148
|
+
agent: {
|
|
149
|
+
label: "Agent code",
|
|
150
|
+
invalid: "Invalid agent code"
|
|
151
|
+
},
|
|
152
|
+
country: {
|
|
153
|
+
title: "Select country",
|
|
154
|
+
exists: {
|
|
155
|
+
title: "Business already exists",
|
|
156
|
+
message: "A business: {name} has already been created in the selected country. Please choose a different country or update the existing business information."
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
submit: "Let's get start",
|
|
160
|
+
logout: "Logout"
|
|
161
|
+
},
|
|
162
|
+
coordinate_dialog: {
|
|
163
|
+
address: "Address",
|
|
164
|
+
latitude: "Latitude",
|
|
165
|
+
longitude: "Longitude"
|
|
166
|
+
},
|
|
167
|
+
coordinate_input: {
|
|
168
|
+
title: "Coordinate",
|
|
169
|
+
not_set: "Not set",
|
|
170
|
+
dialog: {
|
|
171
|
+
title: "Coordinate",
|
|
172
|
+
confirm: "Confirm",
|
|
173
|
+
delete: "Delete"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
address: {
|
|
177
|
+
line1: "Line 1",
|
|
178
|
+
line2: "Line 2",
|
|
179
|
+
city: "City",
|
|
180
|
+
postal_code: "Postal code",
|
|
181
|
+
state: "State",
|
|
182
|
+
country: "Country"
|
|
183
|
+
},
|
|
184
|
+
operation_hours: {
|
|
185
|
+
mon: "Monday",
|
|
186
|
+
tue: "Tuesday",
|
|
187
|
+
wed: "Wednesday",
|
|
188
|
+
thu: "Thursday",
|
|
189
|
+
fri: "Friday",
|
|
190
|
+
sat: "Saturday",
|
|
191
|
+
sun: "Sunday",
|
|
192
|
+
to: "to",
|
|
193
|
+
close: "Close",
|
|
194
|
+
cannot_remove_last: "Cannot remove last timeslot"
|
|
195
|
+
},
|
|
196
|
+
food_court: {
|
|
197
|
+
labels: {
|
|
198
|
+
owner: "Owner: {items}",
|
|
199
|
+
members: "{count} members",
|
|
200
|
+
status: "Status"
|
|
201
|
+
},
|
|
202
|
+
create: {
|
|
203
|
+
title: "Add food court",
|
|
204
|
+
name: {
|
|
205
|
+
label: "Food court name",
|
|
206
|
+
placeholder: "Enter name"
|
|
207
|
+
},
|
|
208
|
+
owner: "Food court owner",
|
|
209
|
+
success: "Food court created"
|
|
210
|
+
},
|
|
211
|
+
update: {
|
|
212
|
+
title: "Update food court",
|
|
213
|
+
name: {
|
|
214
|
+
label: "Food court name",
|
|
215
|
+
placeholder: "Enter name"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
edit: {
|
|
219
|
+
member_updated: "Food court member updated",
|
|
220
|
+
member_deleted: "Food court member deleted",
|
|
221
|
+
member_removed: "Food court member removed",
|
|
222
|
+
invite_success: "Invite restaurant successful",
|
|
223
|
+
no_restaurant: "No restaurant invited"
|
|
224
|
+
},
|
|
225
|
+
members: {
|
|
226
|
+
title: "Members",
|
|
227
|
+
name: "Name",
|
|
228
|
+
description: "Description",
|
|
229
|
+
status: "Status"
|
|
230
|
+
},
|
|
231
|
+
status: {
|
|
232
|
+
active: "Active",
|
|
233
|
+
inactive: "Inactive",
|
|
234
|
+
pending: "Pending accept",
|
|
235
|
+
declined: "Rejected"
|
|
236
|
+
},
|
|
237
|
+
actions: {
|
|
238
|
+
invite: "Invite",
|
|
239
|
+
deactivate: "Deactive",
|
|
240
|
+
reactivate: "Reactivate",
|
|
241
|
+
activate: "Activate",
|
|
242
|
+
leave: "Leave",
|
|
243
|
+
cancel_invitation: "Cancel invitation",
|
|
244
|
+
reject: "Reject",
|
|
245
|
+
revoke_invitation: "Revoke invitation",
|
|
246
|
+
remove_member: "Remove Member",
|
|
247
|
+
invite_member: "Invite member",
|
|
248
|
+
rename: "Rename"
|
|
249
|
+
},
|
|
250
|
+
invite_dialog: {
|
|
251
|
+
link_copied: "Invite link copied to clipboard",
|
|
252
|
+
search: {
|
|
253
|
+
placeholder: "Restaurant Id / Restaurant Name",
|
|
254
|
+
success: "Search done",
|
|
255
|
+
error: "Search failed with error"
|
|
256
|
+
},
|
|
257
|
+
to_invite: "To Invite ({count} selected)",
|
|
258
|
+
restaurant: {
|
|
259
|
+
name: "Restaurant name",
|
|
260
|
+
id: "Restaurant ID",
|
|
261
|
+
invited: "(Invited)"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
list: {
|
|
265
|
+
title: "Food Courts",
|
|
266
|
+
search: {
|
|
267
|
+
placeholder: "Search food courts"
|
|
268
|
+
},
|
|
269
|
+
columns: {
|
|
270
|
+
name: "Name",
|
|
271
|
+
owner: "Owner",
|
|
272
|
+
members: "{count} members",
|
|
273
|
+
status: "Status"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
messages: {
|
|
277
|
+
delete_confirm: {
|
|
278
|
+
title: "Delete food court",
|
|
279
|
+
message: "Are you sure you want to delete this food court?"
|
|
280
|
+
},
|
|
281
|
+
deleted: "Food court deleted",
|
|
282
|
+
updated: "Food court updated",
|
|
283
|
+
update_success: "Food court updated"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
tagging: {
|
|
287
|
+
title: "Tagging",
|
|
288
|
+
add_tag: "Add tagging",
|
|
289
|
+
edit_tag: "Edit tagging",
|
|
290
|
+
search: "Search tagging",
|
|
291
|
+
table: {
|
|
292
|
+
columns: {
|
|
293
|
+
title: "Tagging title",
|
|
294
|
+
type: "Type",
|
|
295
|
+
entity: "Entity"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
form: {
|
|
299
|
+
tagDetail: "Tag detail",
|
|
300
|
+
taggingTitle: "Tagging key",
|
|
301
|
+
titleRequired: "Tagging key is required",
|
|
302
|
+
titleUnique: "Tagging key is already exists",
|
|
303
|
+
titleRegex: "Tagging key is invalid, only alphanumeric characters, hyphens and underscores are allowed",
|
|
304
|
+
titlePlaceholder: 'Add key like "region" or "type"',
|
|
305
|
+
type: "Tagging type",
|
|
306
|
+
entity: "Tagging entity"
|
|
307
|
+
},
|
|
308
|
+
delete: {
|
|
309
|
+
title: "Delete tagging",
|
|
310
|
+
message: "Are you sure you want to delete tag {name}?",
|
|
311
|
+
success: "Tagging {name} deleted"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
restaurantTagging: {
|
|
315
|
+
title: "Tagging",
|
|
316
|
+
subtitle: "Group your restaurants by tags to streamline reporting and management"
|
|
317
|
+
}
|
|
318
|
+
}, d = {
|
|
319
|
+
settings: l
|
|
320
|
+
}, c = {
|
|
321
|
+
title: "设置",
|
|
322
|
+
eInvoice: {
|
|
323
|
+
title: "电子发票"
|
|
324
|
+
},
|
|
325
|
+
licenseOrder: {
|
|
326
|
+
title: "许可证订单"
|
|
327
|
+
},
|
|
328
|
+
templateBuilder: {
|
|
329
|
+
title: "模板生成器"
|
|
330
|
+
},
|
|
331
|
+
device: {
|
|
332
|
+
title: "设备"
|
|
333
|
+
},
|
|
334
|
+
business: {
|
|
335
|
+
title: "我的商户",
|
|
336
|
+
url: "商户 url",
|
|
337
|
+
add_restaurant: "添加餐厅",
|
|
338
|
+
search_restaurants: "搜索餐厅",
|
|
339
|
+
quota: {
|
|
340
|
+
limit_title: "配额限制",
|
|
341
|
+
limit_message: "您已达到配额限制。请联系您的销售代表进行配额更新。"
|
|
342
|
+
},
|
|
343
|
+
restaurant: {
|
|
344
|
+
code: "代码",
|
|
345
|
+
title: "名称",
|
|
346
|
+
address: "地址",
|
|
347
|
+
contact: "联系",
|
|
348
|
+
email: "电子邮件",
|
|
349
|
+
tax: {
|
|
350
|
+
title: "税号",
|
|
351
|
+
not_set: "未设置"
|
|
352
|
+
},
|
|
353
|
+
actions: {
|
|
354
|
+
discard: "丢弃"
|
|
355
|
+
},
|
|
356
|
+
form: {
|
|
357
|
+
title: {
|
|
358
|
+
update: "更新餐厅",
|
|
359
|
+
add: "添加餐厅"
|
|
360
|
+
},
|
|
361
|
+
message: {
|
|
362
|
+
updated: "餐厅已更新",
|
|
363
|
+
created: "餐厅已创建"
|
|
364
|
+
},
|
|
365
|
+
summary: {
|
|
366
|
+
title: "餐厅摘要",
|
|
367
|
+
name: "餐厅名称",
|
|
368
|
+
legal_name: "法人名称",
|
|
369
|
+
contact: "联系号码",
|
|
370
|
+
address: "地址"
|
|
371
|
+
},
|
|
372
|
+
sections: {
|
|
373
|
+
basic_info: {
|
|
374
|
+
title: "基本信息",
|
|
375
|
+
code: {
|
|
376
|
+
label: "代码",
|
|
377
|
+
optional: "可选",
|
|
378
|
+
helper: "代码只能设置一次"
|
|
379
|
+
},
|
|
380
|
+
name: {
|
|
381
|
+
label: "餐厅名称",
|
|
382
|
+
required: "必填"
|
|
383
|
+
},
|
|
384
|
+
legal_name: {
|
|
385
|
+
label: "法人名称",
|
|
386
|
+
required: "必填"
|
|
387
|
+
},
|
|
388
|
+
reg_no: {
|
|
389
|
+
label: "注册号码",
|
|
390
|
+
required: "必填"
|
|
391
|
+
},
|
|
392
|
+
tax_no: {
|
|
393
|
+
label: "税号",
|
|
394
|
+
optional: "可选"
|
|
395
|
+
},
|
|
396
|
+
contact: {
|
|
397
|
+
label: "联系电话",
|
|
398
|
+
optional: "可选"
|
|
399
|
+
},
|
|
400
|
+
email: {
|
|
401
|
+
label: "电子邮件",
|
|
402
|
+
optional: "可选"
|
|
403
|
+
},
|
|
404
|
+
image: {
|
|
405
|
+
label: "餐厅图片",
|
|
406
|
+
optional: "(可选)"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
address: {
|
|
410
|
+
title: "地址"
|
|
411
|
+
},
|
|
412
|
+
operation_hours: {
|
|
413
|
+
title: "营业时间",
|
|
414
|
+
copy_with: "复制",
|
|
415
|
+
invalid: "无效的营业时间"
|
|
416
|
+
},
|
|
417
|
+
branding: {
|
|
418
|
+
title: "品牌",
|
|
419
|
+
description: "餐厅描述",
|
|
420
|
+
url: {
|
|
421
|
+
label: "餐厅 URL",
|
|
422
|
+
errors: {
|
|
423
|
+
disabled: "短 URL 临时禁用,确保每个餐厅的唯一 URL",
|
|
424
|
+
invalid: "无效的 URL,应超过 6 个字符",
|
|
425
|
+
reserved: "保留的 URL"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
cover_photo: {
|
|
429
|
+
label: "封面图片"
|
|
430
|
+
},
|
|
431
|
+
carousel_photos: {
|
|
432
|
+
label: "轮播图片"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
form: {
|
|
439
|
+
title: "更新商户",
|
|
440
|
+
cover_photo: {
|
|
441
|
+
label: "封面图片",
|
|
442
|
+
optional: "(可选)"
|
|
443
|
+
},
|
|
444
|
+
name: "名称",
|
|
445
|
+
url: {
|
|
446
|
+
label: "URL",
|
|
447
|
+
errors: {
|
|
448
|
+
disabled: "短 URL 临时禁用,确保每个餐厅的 URL 唯一",
|
|
449
|
+
format: "至少 6 个字符,仅限字母数字",
|
|
450
|
+
reserved: "商户 URL 已保留"
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
create_business: {
|
|
456
|
+
welcome: "欢迎 {name}",
|
|
457
|
+
subtitle: "在我们开始之前,让我们了解您的业务。",
|
|
458
|
+
business_name: {
|
|
459
|
+
label: "您的业务名称是什么?",
|
|
460
|
+
required: "必填"
|
|
461
|
+
},
|
|
462
|
+
agent: {
|
|
463
|
+
label: "Agent 代码",
|
|
464
|
+
invalid: "无效的 Agent 代码"
|
|
465
|
+
},
|
|
466
|
+
country: {
|
|
467
|
+
title: "选择国家",
|
|
468
|
+
exists: {
|
|
469
|
+
title: "商户已存在",
|
|
470
|
+
message: "商户:{name} 已在所选国家创建。请选择其他国家或更新现有商户信息。"
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
submit: "让我们开始",
|
|
474
|
+
logout: "登出"
|
|
475
|
+
},
|
|
476
|
+
coordinate_dialog: {
|
|
477
|
+
address: "地址",
|
|
478
|
+
latitude: "纬度",
|
|
479
|
+
longitude: "经度"
|
|
480
|
+
},
|
|
481
|
+
coordinate_input: {
|
|
482
|
+
title: "坐标",
|
|
483
|
+
not_set: "未设置",
|
|
484
|
+
dialog: {
|
|
485
|
+
title: "坐标",
|
|
486
|
+
confirm: "确认",
|
|
487
|
+
delete: "删除"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
address: {
|
|
491
|
+
line1: "行 1",
|
|
492
|
+
line2: "行 2",
|
|
493
|
+
city: "城市",
|
|
494
|
+
postal_code: "邮政编码",
|
|
495
|
+
state: "州",
|
|
496
|
+
country: "国家"
|
|
497
|
+
},
|
|
498
|
+
operation_hours: {
|
|
499
|
+
mon: "周一",
|
|
500
|
+
tue: "周二",
|
|
501
|
+
wed: "周三",
|
|
502
|
+
thu: "周四",
|
|
503
|
+
fri: "周五",
|
|
504
|
+
sat: "周六",
|
|
505
|
+
sun: "周日",
|
|
506
|
+
to: "至",
|
|
507
|
+
close: "关闭",
|
|
508
|
+
cannot_remove_last: "无法删除最后一个时间槽"
|
|
509
|
+
},
|
|
510
|
+
food_court: {
|
|
511
|
+
labels: {
|
|
512
|
+
owner: "所有者: {items}",
|
|
513
|
+
members: "{count} 成员",
|
|
514
|
+
status: "状态"
|
|
515
|
+
},
|
|
516
|
+
create: {
|
|
517
|
+
title: "添加美食中心",
|
|
518
|
+
name: {
|
|
519
|
+
label: "美食中心名称",
|
|
520
|
+
placeholder: "输入名称"
|
|
521
|
+
},
|
|
522
|
+
owner: "美食中心所有者",
|
|
523
|
+
success: "美食中心已创建"
|
|
524
|
+
},
|
|
525
|
+
update: {
|
|
526
|
+
title: "更新美食中心",
|
|
527
|
+
name: {
|
|
528
|
+
label: "美食中心名称",
|
|
529
|
+
placeholder: "输入名称"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
edit: {
|
|
533
|
+
member_updated: "美食中心成员已更新",
|
|
534
|
+
member_deleted: "美食中心成员已删除",
|
|
535
|
+
member_removed: "美食中心成员已移除",
|
|
536
|
+
invite_success: "邀请餐厅成功",
|
|
537
|
+
no_restaurant: "没有邀请餐厅"
|
|
538
|
+
},
|
|
539
|
+
members: {
|
|
540
|
+
title: "成员",
|
|
541
|
+
name: "姓名",
|
|
542
|
+
description: "描述",
|
|
543
|
+
status: "状态"
|
|
544
|
+
},
|
|
545
|
+
status: {
|
|
546
|
+
active: "活跃",
|
|
547
|
+
inactive: "不活跃",
|
|
548
|
+
pending: "待接受",
|
|
549
|
+
declined: "已拒绝"
|
|
550
|
+
},
|
|
551
|
+
actions: {
|
|
552
|
+
invite: "邀请",
|
|
553
|
+
deactivate: "停用",
|
|
554
|
+
reactivate: "重新激活",
|
|
555
|
+
activate: "激活",
|
|
556
|
+
leave: "离开",
|
|
557
|
+
cancel_invitation: "取消邀请",
|
|
558
|
+
reject: "拒绝",
|
|
559
|
+
revoke_invitation: "撤销邀请",
|
|
560
|
+
remove_member: "移除成员",
|
|
561
|
+
invite_member: "邀请成员",
|
|
562
|
+
rename: "重命名"
|
|
563
|
+
},
|
|
564
|
+
invite_dialog: {
|
|
565
|
+
link_copied: "邀请链接已复制到剪贴板",
|
|
566
|
+
search: {
|
|
567
|
+
placeholder: "餐厅 ID / 餐厅名称",
|
|
568
|
+
success: "搜索完成",
|
|
569
|
+
error: "搜索失败"
|
|
570
|
+
},
|
|
571
|
+
to_invite: "邀请 ({count} 个)",
|
|
572
|
+
restaurant: {
|
|
573
|
+
name: "餐厅名称",
|
|
574
|
+
id: "餐厅 ID",
|
|
575
|
+
invited: "(已邀请)"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
list: {
|
|
579
|
+
title: "美食中心",
|
|
580
|
+
search: {
|
|
581
|
+
placeholder: "搜索美食中心"
|
|
582
|
+
},
|
|
583
|
+
columns: {
|
|
584
|
+
name: "名称",
|
|
585
|
+
owner: "所有者",
|
|
586
|
+
members: "{count} 成员",
|
|
587
|
+
status: "状态"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
messages: {
|
|
591
|
+
delete_confirm: {
|
|
592
|
+
title: "删除美食中心",
|
|
593
|
+
message: "确定要删除这个美食中心吗?"
|
|
594
|
+
},
|
|
595
|
+
deleted: "美食中心已删除",
|
|
596
|
+
updated: "美食中心已更新",
|
|
597
|
+
update_success: "美食中心已更新"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
tagging: {
|
|
601
|
+
title: "标签",
|
|
602
|
+
add_tag: "添加标签",
|
|
603
|
+
search: "搜索标签",
|
|
604
|
+
table: {
|
|
605
|
+
columns: {
|
|
606
|
+
title: "标签名称",
|
|
607
|
+
type: "类型",
|
|
608
|
+
entity: "实体"
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
form: {
|
|
612
|
+
tagDetail: "标签详情",
|
|
613
|
+
taggingTitle: "标签名称",
|
|
614
|
+
titleRequired: "标签名称是必填的",
|
|
615
|
+
titleUnique: "标签名称已存在",
|
|
616
|
+
titleRegex: "标签名称无效,只能包含字母、数字、下划线和连字符",
|
|
617
|
+
titlePlaceholder: '添加标签名称,如 "region" 或 "type"',
|
|
618
|
+
type: "标签类型",
|
|
619
|
+
entity: "标签实体"
|
|
620
|
+
},
|
|
621
|
+
delete: {
|
|
622
|
+
title: "删除标签",
|
|
623
|
+
message: "确定要删除标签 {name} 吗?",
|
|
624
|
+
success: "标签 {name} 已删除"
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
restaurantTagging: {
|
|
628
|
+
title: "标签",
|
|
629
|
+
subtitle: "通过标签对餐厅进行分组,以简化报表和管理"
|
|
630
|
+
}
|
|
631
|
+
}, u = {
|
|
632
|
+
settings: c
|
|
633
|
+
}, h = [
|
|
634
|
+
{
|
|
635
|
+
path: "/",
|
|
636
|
+
redirect: "$settings-my-business"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
path: "/business",
|
|
640
|
+
name: "$settings-my-business",
|
|
641
|
+
component: () => import("./Business-2da2ffc4.js"),
|
|
642
|
+
meta: {
|
|
643
|
+
i18nKey: "settings.business.title"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
path: "/create-business",
|
|
648
|
+
name: "$settings-create-business",
|
|
649
|
+
component: () => import("./CreateBusiness-fc4661b1.js"),
|
|
650
|
+
meta: {
|
|
651
|
+
hideNavigation: !0
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
path: "/foodcourt",
|
|
656
|
+
name: "$settings-food-court",
|
|
657
|
+
component: () => import("./FoodCourt-17a5dadd.js"),
|
|
658
|
+
meta: {
|
|
659
|
+
i18nKey: "settings.food_court.list.title"
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
path: "/devices",
|
|
664
|
+
name: "$settings-device",
|
|
665
|
+
component: i,
|
|
666
|
+
children: n.map((e) => ({ ...e, path: `/device${e.path}` })),
|
|
667
|
+
meta: {
|
|
668
|
+
i18nKey: "settings.device.title"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
path: "/template-builder",
|
|
673
|
+
name: "$settings-template-builder",
|
|
674
|
+
component: () => import("./TemplateBuilder-54a34178.js"),
|
|
675
|
+
meta: {
|
|
676
|
+
i18nKey: "settings.templateBuilder.title"
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
path: "/license-order",
|
|
681
|
+
name: "$settings-license-order",
|
|
682
|
+
component: () => import("./LicenseOrder-86aa7996.js"),
|
|
683
|
+
meta: {
|
|
684
|
+
i18nKey: "settings.licenseOrder.title"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
path: "/e-invoice",
|
|
689
|
+
name: "$settings-e-invoice",
|
|
690
|
+
component: o,
|
|
691
|
+
children: s.map((e) => ({ ...e, path: `/e-invoice${e.path}` })),
|
|
692
|
+
meta: {
|
|
693
|
+
i18nKey: "settings.eInvoice.title"
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
path: "/tagging",
|
|
698
|
+
name: "$settings-tagging",
|
|
699
|
+
component: r(a(() => import("./Tagging-0a2c6a6b.js"))),
|
|
700
|
+
meta: {
|
|
701
|
+
i18nKey: "settings.tagging.title",
|
|
702
|
+
validationManifest: {
|
|
703
|
+
requiredRoles: ["admin"]
|
|
704
|
+
},
|
|
705
|
+
hideNavigation: !0
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
], _ = a(() => import("./App-cddefb91.js")), y = {
|
|
709
|
+
"en-US": {
|
|
710
|
+
...d,
|
|
711
|
+
...t["en-US"]
|
|
712
|
+
},
|
|
713
|
+
"zh-CN": {
|
|
714
|
+
...u,
|
|
715
|
+
...t["zh-CN"]
|
|
716
|
+
}
|
|
717
|
+
};
|
|
12
718
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
y as routers
|
|
719
|
+
_ as FmApp,
|
|
720
|
+
y as i18nMessages,
|
|
721
|
+
h as routers
|
|
17
722
|
};
|