@feedmepos/mf-hrm-portal 2.0.24-dev.9 → 2.0.24
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/AuditLogList-DiVmHoNT.js +1037 -0
- package/dist/{EmployeeList-CYOUXmdo.js → EmployeeList-DCjDgFLf.js} +78 -78
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js → FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js} +1 -1
- package/dist/{Main-DR0uJn8p.js → Main-B-4Hty-_.js} +9 -9
- package/dist/{Main-DHNuxBWB.js → Main-D1Pazgt0.js} +6 -6
- package/dist/{Main-9hhLn78R.js → Main-DWXAa4Zw.js} +6 -6
- package/dist/{PermissionSetList-CPzhnAsF.js → PermissionSetList-DE1vPSOS.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DwVt6Zov.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DWqxG7LZ.js} +888 -888
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-B3wDoRUf.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Duq1Ltmf.js} +1 -1
- package/dist/{RoleList-DQEogUW9.js → RoleList-CDZ0CwPn.js} +51 -49
- package/dist/SelectFilter-DUj7GBtT.js +251 -0
- package/dist/{TeamMemberList-BjZhJqoO.js → TeamMemberList-CGN9PqHo.js} +60 -60
- package/dist/{TimesheetList-FsSNYSN_.js → TimesheetList-CENyYssG.js} +10 -10
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-DcyltQoo.js → TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-B1bqLX3y.js} +2 -2
- package/dist/{app-D9NotBhb.js → app-CpPiF3az.js} +330 -305
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DtwtoL_z.js → dayjs.min-DROzhzjn.js} +1 -1
- package/dist/{employee-F_qzDON_.js → employee-hCtzhfBQ.js} +3 -3
- package/dist/{iteration-BQBKoufN.js → iteration-CHhRGYug.js} +3 -3
- package/dist/{lodash-gOdQI_3W.js → lodash-BHaHINha.js} +1 -1
- package/dist/{rule-BR05-rZt.js → rule-CKp_xSn-.js} +25 -25
- package/dist/src/components/form/SelectFilter.vue.d.ts +0 -3
- package/dist/src/stores/team.d.ts +1 -4
- package/dist/src/views/audit-log/locales/index.d.ts +16 -24
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CAmajyh0.js → useAppStore-DT1XvZDd.js} +1 -1
- package/dist/{useLoading-D7Nr5flX.js → useLoading-CPT4hekh.js} +1 -1
- package/dist/{useReportPermissions-DRSVPDf-.js → useReportPermissions-DeR0m-om.js} +3 -3
- package/package.json +2 -2
- package/dist/AuditLogList-Cc0vtZTU.js +0 -1054
- package/dist/SelectFilter-C61IZSID.js +0 -269
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ze = (e, A, m) =>
|
|
4
|
-
import { isRef as
|
|
5
|
-
import { useBreakpoints as
|
|
6
|
-
import { useRoute as
|
|
1
|
+
var _s = Object.defineProperty;
|
|
2
|
+
var $s = (e, A, m) => A in e ? _s(e, A, { enumerable: !0, configurable: !0, writable: !0, value: m }) : e[A] = m;
|
|
3
|
+
var Ze = (e, A, m) => $s(e, typeof A != "symbol" ? A + "" : A, m);
|
|
4
|
+
import { isRef as en, ref as ve, shallowRef as tn, watchEffect as Wt, computed as jt, h as Qt, defineComponent as xe, createBlock as ke, renderSlot as Tt, createCommentVNode as sn, unref as Me, openBlock as Ve, createElementBlock as St, createElementVNode as we, toDisplayString as It, watch as nn, nextTick as rn, onMounted as kt, onBeforeUnmount as an, normalizeStyle as on, resolveComponent as Gt, withCtx as ln, createVNode as cn, defineAsyncComponent as An, readonly as vt } from "vue";
|
|
5
|
+
import { useBreakpoints as un } from "@feedmepos/ui-library";
|
|
6
|
+
import { useRoute as mn, useRouter as gn } from "vue-router";
|
|
7
7
|
import { useCoreStore as Yt, useI18n as Kt } from "@feedmepos/mf-common";
|
|
8
8
|
const Lt = {
|
|
9
9
|
predefinedRanges: {
|
|
@@ -21,16 +21,13 @@ const Lt = {
|
|
|
21
21
|
dateRange: {
|
|
22
22
|
placeholder: "Select date range"
|
|
23
23
|
},
|
|
24
|
-
user: {
|
|
25
|
-
feedmeAdmin: "FeedMe Admin"
|
|
26
|
-
},
|
|
27
24
|
filter: {
|
|
28
25
|
user_placeholder: "User",
|
|
29
26
|
selected_user_prefix: "User: ",
|
|
30
27
|
subject_placeholder: "Subject",
|
|
31
28
|
selected_subject_prefix: "Subject: ",
|
|
32
|
-
action_placeholder: "Action
|
|
33
|
-
selected_action_prefix: "Action
|
|
29
|
+
action_placeholder: "Action",
|
|
30
|
+
selected_action_prefix: "Action: ",
|
|
34
31
|
status_placeholder: "Status",
|
|
35
32
|
selected_status_prefix: "Status: ",
|
|
36
33
|
outcome_placeholder: "Status",
|
|
@@ -51,14 +48,14 @@ const Lt = {
|
|
|
51
48
|
payment: "Payment",
|
|
52
49
|
menu: "Menu",
|
|
53
50
|
crm: "CRM",
|
|
54
|
-
other: "Other",
|
|
55
51
|
more: "More"
|
|
56
52
|
},
|
|
57
53
|
columns: {
|
|
58
54
|
timestamp: "Date",
|
|
59
55
|
user: "User",
|
|
56
|
+
role: "Role",
|
|
60
57
|
subject: "Subject",
|
|
61
|
-
action: "Action
|
|
58
|
+
action: "Action",
|
|
62
59
|
operation: "Operation",
|
|
63
60
|
outcome: "Status"
|
|
64
61
|
},
|
|
@@ -90,8 +87,8 @@ const Lt = {
|
|
|
90
87
|
timestamp: "Date",
|
|
91
88
|
userName: "User Name",
|
|
92
89
|
userPhone: "Phone",
|
|
93
|
-
subject: "
|
|
94
|
-
action: "Action
|
|
90
|
+
subject: "Role",
|
|
91
|
+
action: "Action",
|
|
95
92
|
operation: "Operation",
|
|
96
93
|
outcome: "Status",
|
|
97
94
|
businessId: "Business ID",
|
|
@@ -109,13 +106,14 @@ const Lt = {
|
|
|
109
106
|
email: "E-mail",
|
|
110
107
|
action: "Action",
|
|
111
108
|
operation: "Operation",
|
|
109
|
+
role: "Role",
|
|
112
110
|
subject: "Subject",
|
|
113
111
|
field: "Field",
|
|
114
112
|
outcome: "Outcome",
|
|
115
113
|
business: "Business",
|
|
116
114
|
restaurant: "Restaurant",
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
changeDetails: "Change Details",
|
|
116
|
+
eventType: "Event Type",
|
|
119
117
|
metadata: "Metadata",
|
|
120
118
|
reason: "Reason",
|
|
121
119
|
resolvedFrom: "Resolved From",
|
|
@@ -136,14 +134,14 @@ const Lt = {
|
|
|
136
134
|
requestPath: "Request Path",
|
|
137
135
|
requestBody: "Request Body"
|
|
138
136
|
}
|
|
139
|
-
},
|
|
137
|
+
}, dn = {
|
|
140
138
|
date: Lt,
|
|
141
139
|
auditLog: Jt
|
|
142
|
-
},
|
|
140
|
+
}, pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
143
141
|
__proto__: null,
|
|
144
142
|
auditLog: Jt,
|
|
145
143
|
date: Lt,
|
|
146
|
-
default:
|
|
144
|
+
default: dn
|
|
147
145
|
}, Symbol.toStringTag, { value: "Module" })), _t = {
|
|
148
146
|
predefinedRanges: {
|
|
149
147
|
today: "วันนี้",
|
|
@@ -155,21 +153,18 @@ const Lt = {
|
|
|
155
153
|
lastMonth: "เดือนที่แล้ว"
|
|
156
154
|
}
|
|
157
155
|
}, $t = {
|
|
158
|
-
title: "
|
|
156
|
+
title: "ประวัติการใช้งาน",
|
|
159
157
|
export: "ส่งออก",
|
|
160
158
|
dateRange: {
|
|
161
159
|
placeholder: "เลือกช่วงวันที่"
|
|
162
160
|
},
|
|
163
|
-
user: {
|
|
164
|
-
feedmeAdmin: "ผู้ดูแล FeedMe"
|
|
165
|
-
},
|
|
166
161
|
filter: {
|
|
167
162
|
user_placeholder: "ผู้ใช้",
|
|
168
163
|
selected_user_prefix: "ผู้ใช้: ",
|
|
169
164
|
subject_placeholder: "หัวข้อ",
|
|
170
165
|
selected_subject_prefix: "หัวข้อ: ",
|
|
171
|
-
action_placeholder: "
|
|
172
|
-
selected_action_prefix: "
|
|
166
|
+
action_placeholder: "การดำเนินการ",
|
|
167
|
+
selected_action_prefix: "การดำเนินการ: ",
|
|
173
168
|
status_placeholder: "สถานะ",
|
|
174
169
|
selected_status_prefix: "สถานะ: ",
|
|
175
170
|
outcome_placeholder: "สถานะ",
|
|
@@ -190,14 +185,14 @@ const Lt = {
|
|
|
190
185
|
payment: "การชำระเงิน",
|
|
191
186
|
menu: "เมนู",
|
|
192
187
|
crm: "CRM",
|
|
193
|
-
other: "อื่นๆ",
|
|
194
188
|
more: "เพิ่มเติม"
|
|
195
189
|
},
|
|
196
190
|
columns: {
|
|
197
191
|
timestamp: "วันที่",
|
|
198
192
|
user: "ผู้ใช้",
|
|
193
|
+
role: "ตำแหน่ง",
|
|
199
194
|
subject: "หัวข้อ",
|
|
200
|
-
action: "
|
|
195
|
+
action: "การดำเนินการ",
|
|
201
196
|
operation: "รายละเอียดการดำเนินการ",
|
|
202
197
|
outcome: "สถานะ"
|
|
203
198
|
},
|
|
@@ -209,8 +204,8 @@ const Lt = {
|
|
|
209
204
|
skipped: "ข้ามไป"
|
|
210
205
|
},
|
|
211
206
|
noData: {
|
|
212
|
-
title: "
|
|
213
|
-
subtitle: "
|
|
207
|
+
title: "ไม่มีประวัติการใช้งาน",
|
|
208
|
+
subtitle: "ประวัติการใช้งานสิทธิ์จะแสดงขึ้นที่นี่เมื่อมีกิจกรรมถูกบันทึก"
|
|
214
209
|
},
|
|
215
210
|
pagination: {
|
|
216
211
|
page: "หน้า {page}",
|
|
@@ -229,61 +224,62 @@ const Lt = {
|
|
|
229
224
|
timestamp: "วันที่",
|
|
230
225
|
userName: "ชื่อผู้ใช้",
|
|
231
226
|
userPhone: "เบอร์โทรศัพท์",
|
|
232
|
-
subject: "
|
|
233
|
-
action: "
|
|
227
|
+
subject: "ตำแหน่ง",
|
|
228
|
+
action: "การดำเนินการ",
|
|
234
229
|
operation: "รายละเอียดการดำเนินการ",
|
|
235
230
|
outcome: "สถานะ",
|
|
236
231
|
businessId: "รหัสธุรกิจ",
|
|
237
232
|
restaurantId: "รหัสร้านอาหาร",
|
|
238
233
|
country: "ประเทศ",
|
|
239
234
|
resolvedFrom: "แก้ไขจาก",
|
|
240
|
-
requestMethod: "
|
|
241
|
-
requestPath: "
|
|
235
|
+
requestMethod: "วิธีการเข้าถึง",
|
|
236
|
+
requestPath: "URL ที่เข้าถึง"
|
|
242
237
|
},
|
|
243
238
|
detail: {
|
|
244
|
-
header: "
|
|
239
|
+
header: "รายละเอียดประวัติการใช้งาน",
|
|
245
240
|
date: "วันที่",
|
|
246
241
|
timestamp: "เวลา",
|
|
247
242
|
user: "ผู้ใช้",
|
|
248
243
|
email: "อีเมล",
|
|
249
|
-
action: "
|
|
244
|
+
action: "การดำเนินการ",
|
|
250
245
|
operation: "รายละเอียดการดำเนินการ",
|
|
246
|
+
role: "ตำแหน่ง",
|
|
251
247
|
subject: "หัวข้อ",
|
|
252
248
|
field: "ฟิลด์",
|
|
253
249
|
outcome: "ผลลัพธ์",
|
|
254
250
|
business: "ธุรกิจ",
|
|
255
251
|
restaurant: "ร้านอาหาร",
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
metadata: "
|
|
252
|
+
changeDetails: "รายละเอียดการเปลี่ยนแปลง",
|
|
253
|
+
eventType: "การดำเนินการ",
|
|
254
|
+
metadata: "ข้อมูลเพิ่มเติม",
|
|
259
255
|
reason: "เหตุผล",
|
|
260
256
|
resolvedFrom: "แก้ไขจาก",
|
|
261
257
|
resolvedFromValue: {
|
|
262
258
|
admin: "ผู้ดูแลระบบ",
|
|
263
259
|
staff: "พนักงาน",
|
|
264
|
-
permissionSet: "
|
|
265
|
-
systemPermissionSet: "
|
|
260
|
+
permissionSet: "กลุ่มสิทธิ์",
|
|
261
|
+
systemPermissionSet: "กลุ่มสิทธิ์ระบบ",
|
|
266
262
|
custom: "กำหนดเอง",
|
|
267
263
|
noMatch: "ไม่พบรายการที่ตรงกัน",
|
|
268
264
|
unknown: "ไม่ทราบ"
|
|
269
265
|
},
|
|
270
|
-
permissionSet: "
|
|
266
|
+
permissionSet: "กลุ่มสิทธิ์",
|
|
271
267
|
permissionTrace: "เส้นทางสิทธิ์",
|
|
272
268
|
decisivePermission: "กฎที่จำเป็น",
|
|
273
269
|
decisiveRule: "กฎที่เด็ดขาด",
|
|
274
270
|
request: "คำขอ",
|
|
275
|
-
requestMethod: "
|
|
276
|
-
requestPath: "
|
|
271
|
+
requestMethod: "วิธีการเข้าถึง",
|
|
272
|
+
requestPath: "URL ที่เข้าถึง",
|
|
277
273
|
requestBody: "เนื้อหาคำขอ"
|
|
278
274
|
}
|
|
279
|
-
},
|
|
275
|
+
}, bn = {
|
|
280
276
|
date: _t,
|
|
281
277
|
auditLog: $t
|
|
282
|
-
},
|
|
278
|
+
}, fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
283
279
|
__proto__: null,
|
|
284
280
|
auditLog: $t,
|
|
285
281
|
date: _t,
|
|
286
|
-
default:
|
|
282
|
+
default: bn
|
|
287
283
|
}, Symbol.toStringTag, { value: "Module" })), es = {
|
|
288
284
|
predefinedRanges: {
|
|
289
285
|
today: "今天",
|
|
@@ -300,16 +296,13 @@ const Lt = {
|
|
|
300
296
|
dateRange: {
|
|
301
297
|
placeholder: "选择日期范围"
|
|
302
298
|
},
|
|
303
|
-
user: {
|
|
304
|
-
feedmeAdmin: "FeedMe 管理员"
|
|
305
|
-
},
|
|
306
299
|
filter: {
|
|
307
300
|
user_placeholder: "用户",
|
|
308
301
|
selected_user_prefix: "用户: ",
|
|
309
302
|
subject_placeholder: "主题",
|
|
310
303
|
selected_subject_prefix: "主题: ",
|
|
311
|
-
action_placeholder: "
|
|
312
|
-
selected_action_prefix: "
|
|
304
|
+
action_placeholder: "操作",
|
|
305
|
+
selected_action_prefix: "操作: ",
|
|
313
306
|
status_placeholder: "状态",
|
|
314
307
|
selected_status_prefix: "状态: ",
|
|
315
308
|
outcome_placeholder: "状态",
|
|
@@ -330,14 +323,14 @@ const Lt = {
|
|
|
330
323
|
payment: "支付",
|
|
331
324
|
menu: "菜单",
|
|
332
325
|
crm: "CRM",
|
|
333
|
-
other: "其他",
|
|
334
326
|
more: "更多"
|
|
335
327
|
},
|
|
336
328
|
columns: {
|
|
337
329
|
timestamp: "日期",
|
|
338
330
|
user: "用户",
|
|
331
|
+
role: "角色",
|
|
339
332
|
subject: "主题",
|
|
340
|
-
action: "
|
|
333
|
+
action: "操作",
|
|
341
334
|
operation: "操作说明",
|
|
342
335
|
outcome: "状态"
|
|
343
336
|
},
|
|
@@ -369,8 +362,8 @@ const Lt = {
|
|
|
369
362
|
timestamp: "日期",
|
|
370
363
|
userName: "用户名",
|
|
371
364
|
userPhone: "手机号",
|
|
372
|
-
subject: "
|
|
373
|
-
action: "
|
|
365
|
+
subject: "角色",
|
|
366
|
+
action: "操作",
|
|
374
367
|
operation: "操作说明",
|
|
375
368
|
outcome: "状态",
|
|
376
369
|
businessId: "商家 ID",
|
|
@@ -388,13 +381,14 @@ const Lt = {
|
|
|
388
381
|
email: "邮箱",
|
|
389
382
|
action: "操作",
|
|
390
383
|
operation: "操作说明",
|
|
384
|
+
role: "角色",
|
|
391
385
|
subject: "主题",
|
|
392
386
|
field: "字段",
|
|
393
387
|
outcome: "结果",
|
|
394
388
|
business: "商家",
|
|
395
389
|
restaurant: "餐厅",
|
|
396
|
-
|
|
397
|
-
|
|
390
|
+
changeDetails: "变更详情",
|
|
391
|
+
eventType: "事件类型",
|
|
398
392
|
metadata: "元数据",
|
|
399
393
|
reason: "原因",
|
|
400
394
|
resolvedFrom: "解析来源",
|
|
@@ -416,14 +410,14 @@ const Lt = {
|
|
|
416
410
|
requestPath: "请求路径",
|
|
417
411
|
requestBody: "请求内容"
|
|
418
412
|
}
|
|
419
|
-
},
|
|
413
|
+
}, yn = {
|
|
420
414
|
date: es,
|
|
421
415
|
auditLog: ts
|
|
422
|
-
},
|
|
416
|
+
}, vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
423
417
|
__proto__: null,
|
|
424
418
|
auditLog: ts,
|
|
425
419
|
date: es,
|
|
426
|
-
default:
|
|
420
|
+
default: yn
|
|
427
421
|
}, Symbol.toStringTag, { value: "Module" })), ss = {
|
|
428
422
|
predefinedRanges: {
|
|
429
423
|
today: "今天",
|
|
@@ -440,16 +434,13 @@ const Lt = {
|
|
|
440
434
|
dateRange: {
|
|
441
435
|
placeholder: "選擇日期範圍"
|
|
442
436
|
},
|
|
443
|
-
user: {
|
|
444
|
-
feedmeAdmin: "FeedMe 管理員"
|
|
445
|
-
},
|
|
446
437
|
filter: {
|
|
447
438
|
user_placeholder: "用戶",
|
|
448
439
|
selected_user_prefix: "用戶: ",
|
|
449
440
|
subject_placeholder: "主題",
|
|
450
441
|
selected_subject_prefix: "主題: ",
|
|
451
|
-
action_placeholder: "
|
|
452
|
-
selected_action_prefix: "
|
|
442
|
+
action_placeholder: "操作",
|
|
443
|
+
selected_action_prefix: "操作: ",
|
|
453
444
|
status_placeholder: "狀態",
|
|
454
445
|
selected_status_prefix: "狀態: ",
|
|
455
446
|
outcome_placeholder: "狀態",
|
|
@@ -470,14 +461,14 @@ const Lt = {
|
|
|
470
461
|
payment: "支付",
|
|
471
462
|
menu: "菜單",
|
|
472
463
|
crm: "CRM",
|
|
473
|
-
other: "其他",
|
|
474
464
|
more: "更多"
|
|
475
465
|
},
|
|
476
466
|
columns: {
|
|
477
467
|
timestamp: "日期",
|
|
478
468
|
user: "用戶",
|
|
469
|
+
role: "角色",
|
|
479
470
|
subject: "主題",
|
|
480
|
-
action: "
|
|
471
|
+
action: "操作",
|
|
481
472
|
operation: "操作說明",
|
|
482
473
|
outcome: "狀態"
|
|
483
474
|
},
|
|
@@ -509,8 +500,8 @@ const Lt = {
|
|
|
509
500
|
timestamp: "日期",
|
|
510
501
|
userName: "用戶名稱",
|
|
511
502
|
userPhone: "手機號碼",
|
|
512
|
-
subject: "
|
|
513
|
-
action: "
|
|
503
|
+
subject: "角色",
|
|
504
|
+
action: "操作",
|
|
514
505
|
operation: "操作說明",
|
|
515
506
|
outcome: "狀態",
|
|
516
507
|
businessId: "商家 ID",
|
|
@@ -528,13 +519,14 @@ const Lt = {
|
|
|
528
519
|
email: "電子郵件",
|
|
529
520
|
action: "操作",
|
|
530
521
|
operation: "操作說明",
|
|
522
|
+
role: "角色",
|
|
531
523
|
subject: "主題",
|
|
532
524
|
field: "字段",
|
|
533
525
|
outcome: "結果",
|
|
534
526
|
business: "商家",
|
|
535
527
|
restaurant: "餐廳",
|
|
536
|
-
|
|
537
|
-
|
|
528
|
+
changeDetails: "變更詳情",
|
|
529
|
+
eventType: "事件類型",
|
|
538
530
|
metadata: "元數據",
|
|
539
531
|
reason: "原因",
|
|
540
532
|
resolvedFrom: "解析來源",
|
|
@@ -556,19 +548,19 @@ const Lt = {
|
|
|
556
548
|
requestPath: "請求路徑",
|
|
557
549
|
requestBody: "請求內容"
|
|
558
550
|
}
|
|
559
|
-
},
|
|
551
|
+
}, hn = {
|
|
560
552
|
date: ss,
|
|
561
553
|
auditLog: ns
|
|
562
|
-
},
|
|
554
|
+
}, Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
563
555
|
__proto__: null,
|
|
564
556
|
auditLog: ns,
|
|
565
557
|
date: ss,
|
|
566
|
-
default:
|
|
567
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
568
|
-
"en-US":
|
|
569
|
-
"zh-CN":
|
|
570
|
-
"th-TH":
|
|
571
|
-
"zh-Hant":
|
|
558
|
+
default: hn
|
|
559
|
+
}, Symbol.toStringTag, { value: "Module" })), wn = {
|
|
560
|
+
"en-US": pn,
|
|
561
|
+
"zh-CN": vn,
|
|
562
|
+
"th-TH": fn,
|
|
563
|
+
"zh-Hant": Bn
|
|
572
564
|
}, rs = {
|
|
573
565
|
employee: {
|
|
574
566
|
title: "Employee",
|
|
@@ -769,11 +761,11 @@ const Lt = {
|
|
|
769
761
|
placeholder: "Search restaurant"
|
|
770
762
|
}
|
|
771
763
|
}
|
|
772
|
-
},
|
|
764
|
+
}, Mn = {
|
|
773
765
|
hr: rs
|
|
774
|
-
},
|
|
766
|
+
}, Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
775
767
|
__proto__: null,
|
|
776
|
-
default:
|
|
768
|
+
default: Mn,
|
|
777
769
|
hr: rs
|
|
778
770
|
}, Symbol.toStringTag, { value: "Module" })), as = {
|
|
779
771
|
employee: {
|
|
@@ -784,14 +776,14 @@ const Lt = {
|
|
|
784
776
|
code: "รหัส",
|
|
785
777
|
name: "ชื่อ",
|
|
786
778
|
restaurants: "ร้านอาหาร",
|
|
787
|
-
assignedRole: "
|
|
779
|
+
assignedRole: "ตำแหน่งที่ได้รับมอบหมาย",
|
|
788
780
|
since: "เข้าร่วมตั้งแต่"
|
|
789
781
|
},
|
|
790
782
|
form: {
|
|
791
783
|
add: "สร้างพนักงาน",
|
|
792
784
|
update: "อัพเดทพนักงาน",
|
|
793
785
|
employeeSetting: "ตั้งค่าพนักงาน",
|
|
794
|
-
assignmentSection: "
|
|
786
|
+
assignmentSection: "การกำหนดสาขาและตำแหน่ง",
|
|
795
787
|
addAnother: "เพิ่มอีกหนึ่งรายการ",
|
|
796
788
|
masterUserConfig: "ตั้งค่าผู้ใช้หลัก",
|
|
797
789
|
code: "รหัส",
|
|
@@ -802,9 +794,9 @@ const Lt = {
|
|
|
802
794
|
passcodeRequired: "รหัสผ่านต้องเป็นตัวเลข 4 หลัก",
|
|
803
795
|
passcodeGenerate: "สร้างรหัส",
|
|
804
796
|
atLeastOneRestaurant: "เลือกร้านอาหารอย่างน้อยหนึ่งสาขา",
|
|
805
|
-
roleRequired: "
|
|
797
|
+
roleRequired: "กรุณาเลือกตำแหน่งให้ทุกร้านอาหาร",
|
|
806
798
|
all: "ทั้งหมด",
|
|
807
|
-
role: "
|
|
799
|
+
role: "ตำแหน่ง",
|
|
808
800
|
name: "ชื่อ"
|
|
809
801
|
},
|
|
810
802
|
create: {
|
|
@@ -823,8 +815,8 @@ const Lt = {
|
|
|
823
815
|
placeholder: "ค้นหาพนักงาน"
|
|
824
816
|
},
|
|
825
817
|
filter: {
|
|
826
|
-
role_placeholder: "
|
|
827
|
-
selected_role_prefix: "
|
|
818
|
+
role_placeholder: "กรองตามตำแหน่ง",
|
|
819
|
+
selected_role_prefix: "ตำแหน่งที่เลือก: "
|
|
828
820
|
},
|
|
829
821
|
restaurants: "ร้านอาหาร: {restaurants}",
|
|
830
822
|
noData: {
|
|
@@ -839,8 +831,8 @@ const Lt = {
|
|
|
839
831
|
}
|
|
840
832
|
},
|
|
841
833
|
role: {
|
|
842
|
-
title: "
|
|
843
|
-
createButtonLabel: "
|
|
834
|
+
title: "ตำแหน่ง",
|
|
835
|
+
createButtonLabel: "สร้างตำแหน่ง",
|
|
844
836
|
columns: {
|
|
845
837
|
name: "ชื่อ",
|
|
846
838
|
operation: "การดำเนินการ",
|
|
@@ -864,20 +856,20 @@ const Lt = {
|
|
|
864
856
|
successMessage: "{name} อัปเดตสำเร็จ"
|
|
865
857
|
},
|
|
866
858
|
remove: {
|
|
867
|
-
title: "
|
|
868
|
-
message: "
|
|
859
|
+
title: "ลบตำแหน่ง",
|
|
860
|
+
message: "คุณต้องการลบตำแหน่ง {name} ใช่หรือไม่?",
|
|
869
861
|
successMessage: "ลบ {name} สำเร็จ"
|
|
870
862
|
},
|
|
871
863
|
search: {
|
|
872
|
-
placeholder: "
|
|
864
|
+
placeholder: "ค้นหาตำแหน่ง"
|
|
873
865
|
},
|
|
874
866
|
form: {
|
|
875
|
-
add: "
|
|
876
|
-
update: "
|
|
867
|
+
add: "สร้างตำแหน่ง",
|
|
868
|
+
update: "อัปเดตตำแหน่ง",
|
|
877
869
|
name: "ชื่อ",
|
|
878
870
|
required: "โปรดระบุข้อมูล",
|
|
879
871
|
all: "ทั้งหมด",
|
|
880
|
-
roleDetail: "
|
|
872
|
+
roleDetail: "รายละเอียดตำแหน่ง",
|
|
881
873
|
atLeastOneRestaurant: "เลือกร้านอาหารอย่างน้อยหนึ่งสาขา",
|
|
882
874
|
permissions: "สิทธิ์",
|
|
883
875
|
maxDiscountPercentage: "เปอร์เซ็นต์ส่วนลดสูงสุด",
|
|
@@ -886,14 +878,14 @@ const Lt = {
|
|
|
886
878
|
minValueIs: "ค่าต่ำสุดคือ {min}",
|
|
887
879
|
restaurant: "ร้านอาหาร",
|
|
888
880
|
permissionLabels: {
|
|
889
|
-
"order:discount": "
|
|
881
|
+
"order:discount": "ใช้ส่วนลด",
|
|
890
882
|
"order:changePrice": "เปลี่ยนราคา",
|
|
891
|
-
"order:void": "
|
|
892
|
-
"order:payment": "
|
|
893
|
-
"order:claimDeposit": "
|
|
894
|
-
"order:resend": "
|
|
895
|
-
"order:changePaymentType": "
|
|
896
|
-
refund: "
|
|
883
|
+
"order:void": "ยกเลิกออเดอร์",
|
|
884
|
+
"order:payment": "ชำระเงิน",
|
|
885
|
+
"order:claimDeposit": "ขอคืนมัดจำ",
|
|
886
|
+
"order:resend": "ส่งออเดอร์ซ้ำ",
|
|
887
|
+
"order:changePaymentType": "เปลี่ยนวิธีการชำระเงิน",
|
|
888
|
+
refund: "ขอคืนเงิน",
|
|
897
889
|
counter: "เคาน์เตอร์",
|
|
898
890
|
mallIntegration: "การเชื่อมต่อกับห้างสรรพสินค้า",
|
|
899
891
|
drawer: "ลิ้นชัก",
|
|
@@ -930,8 +922,8 @@ const Lt = {
|
|
|
930
922
|
}
|
|
931
923
|
},
|
|
932
924
|
noData: {
|
|
933
|
-
title: "
|
|
934
|
-
subtitle: "
|
|
925
|
+
title: "ไม่พบตำแหน่ง",
|
|
926
|
+
subtitle: "คุณไม่มีตำแหน่งที่จะแสดงในขณะนี้"
|
|
935
927
|
},
|
|
936
928
|
tooltip: {
|
|
937
929
|
labels: {
|
|
@@ -974,11 +966,11 @@ const Lt = {
|
|
|
974
966
|
placeholder: "ค้นหาร้านอาหาร"
|
|
975
967
|
}
|
|
976
968
|
}
|
|
977
|
-
},
|
|
969
|
+
}, Dn = {
|
|
978
970
|
hr: as
|
|
979
|
-
},
|
|
971
|
+
}, jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
980
972
|
__proto__: null,
|
|
981
|
-
default:
|
|
973
|
+
default: Dn,
|
|
982
974
|
hr: as
|
|
983
975
|
}, Symbol.toStringTag, { value: "Module" })), os = {
|
|
984
976
|
employee: {
|
|
@@ -1180,11 +1172,11 @@ const Lt = {
|
|
|
1180
1172
|
placeholder: "搜索餐厅"
|
|
1181
1173
|
}
|
|
1182
1174
|
}
|
|
1183
|
-
},
|
|
1175
|
+
}, Gn = {
|
|
1184
1176
|
hr: os
|
|
1185
|
-
},
|
|
1177
|
+
}, Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1186
1178
|
__proto__: null,
|
|
1187
|
-
default:
|
|
1179
|
+
default: Gn,
|
|
1188
1180
|
hr: os
|
|
1189
1181
|
}, Symbol.toStringTag, { value: "Module" })), is = {
|
|
1190
1182
|
employee: {
|
|
@@ -1381,17 +1373,17 @@ const Lt = {
|
|
|
1381
1373
|
subtitle: ""
|
|
1382
1374
|
}
|
|
1383
1375
|
}
|
|
1384
|
-
},
|
|
1376
|
+
}, En = {
|
|
1385
1377
|
hr: is
|
|
1386
|
-
},
|
|
1378
|
+
}, xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1387
1379
|
__proto__: null,
|
|
1388
|
-
default:
|
|
1380
|
+
default: En,
|
|
1389
1381
|
hr: is
|
|
1390
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1391
|
-
"en-US":
|
|
1392
|
-
"zh-CN":
|
|
1393
|
-
"th-TH":
|
|
1394
|
-
"zh-Hant":
|
|
1382
|
+
}, Symbol.toStringTag, { value: "Module" })), Vn = {
|
|
1383
|
+
"en-US": Cn,
|
|
1384
|
+
"zh-CN": Yn,
|
|
1385
|
+
"th-TH": jn,
|
|
1386
|
+
"zh-Hant": xn
|
|
1395
1387
|
}, ls = {
|
|
1396
1388
|
title: "Team members",
|
|
1397
1389
|
actions: {
|
|
@@ -1618,64 +1610,64 @@ const Lt = {
|
|
|
1618
1610
|
permissions: "Permissions"
|
|
1619
1611
|
}
|
|
1620
1612
|
}
|
|
1621
|
-
},
|
|
1613
|
+
}, Pn = {
|
|
1622
1614
|
team: ls,
|
|
1623
1615
|
permissionSet: cs
|
|
1624
|
-
},
|
|
1616
|
+
}, Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1625
1617
|
__proto__: null,
|
|
1626
|
-
default:
|
|
1618
|
+
default: Pn,
|
|
1627
1619
|
permissionSet: cs,
|
|
1628
1620
|
team: ls
|
|
1629
1621
|
}, Symbol.toStringTag, { value: "Module" })), As = {
|
|
1630
|
-
title: "
|
|
1622
|
+
title: "ผู้ดูแลระบบ",
|
|
1631
1623
|
actions: {
|
|
1632
|
-
addMember: "
|
|
1633
|
-
updateMember: "
|
|
1634
|
-
removeMember: "
|
|
1624
|
+
addMember: "เพิ่มผู้ดูแลระบบ",
|
|
1625
|
+
updateMember: "อัปเดตผู้ดูแลระบบ",
|
|
1626
|
+
removeMember: "ลบผู้ดูแลระบบ"
|
|
1635
1627
|
},
|
|
1636
1628
|
table: {
|
|
1637
1629
|
columns: {
|
|
1638
1630
|
name: "ชื่อ",
|
|
1639
1631
|
phoneNumber: "ผู้ติดต่อ",
|
|
1640
1632
|
restaurant: "ร้านอาหาร",
|
|
1641
|
-
permission: "
|
|
1642
|
-
assignedRoles: "
|
|
1633
|
+
permission: "สิทธิ์",
|
|
1634
|
+
assignedRoles: "ตำแหน่งที่กำหนด"
|
|
1643
1635
|
}
|
|
1644
1636
|
},
|
|
1645
1637
|
labels: {
|
|
1646
1638
|
all: "ทั้งหมด",
|
|
1647
1639
|
businessOwner: "เจ้าของธุรกิจ",
|
|
1648
|
-
permission: "
|
|
1649
|
-
permissions: "
|
|
1640
|
+
permission: "สิทธิ์",
|
|
1641
|
+
permissions: "สิทธิ์",
|
|
1650
1642
|
allowed: "{ count } สิทธิ์ที่อนุญาต",
|
|
1651
1643
|
restaurant: "ร้านอาหาร",
|
|
1652
1644
|
warehouse: "คลังสินค้า"
|
|
1653
1645
|
},
|
|
1654
1646
|
removeMember: {
|
|
1655
|
-
title: "
|
|
1656
|
-
confirmationMessage: "
|
|
1647
|
+
title: "ลบผู้ดูแลระบบ",
|
|
1648
|
+
confirmationMessage: "คุณต้องการที่จะลบ {memberName} จริงหรือไม่?",
|
|
1657
1649
|
successMessage: "{memberName} ถูกลบออก"
|
|
1658
1650
|
},
|
|
1659
1651
|
addMember: {
|
|
1660
|
-
title: "
|
|
1652
|
+
title: "เพิ่มผู้ดูแลระบบ",
|
|
1661
1653
|
successMessage: "เพิ่ม {memberName} แล้ว"
|
|
1662
1654
|
},
|
|
1663
1655
|
updateMember: {
|
|
1664
|
-
title: "
|
|
1656
|
+
title: "อัปเดตผู้ดูแลระบบ",
|
|
1665
1657
|
successMessage: "อัปเดต {memberName} แล้ว"
|
|
1666
1658
|
},
|
|
1667
1659
|
search: {
|
|
1668
|
-
placeholder: "
|
|
1660
|
+
placeholder: "ค้นหาผู้ดูแลระบบ"
|
|
1669
1661
|
},
|
|
1670
1662
|
filter: {
|
|
1671
|
-
permission_placeholder: "
|
|
1663
|
+
permission_placeholder: "กรองตามสิทธิ์",
|
|
1672
1664
|
selected_permission_prefix: "สิทธิ์ที่เลือก: ",
|
|
1673
|
-
assigned_role_placeholder: "
|
|
1674
|
-
selected_assigned_role_prefix: "
|
|
1665
|
+
assigned_role_placeholder: "ตำแหน่งที่กำหนด",
|
|
1666
|
+
selected_assigned_role_prefix: "ตำแหน่งที่เลือก: "
|
|
1675
1667
|
},
|
|
1676
1668
|
emptyState: {
|
|
1677
|
-
title: "
|
|
1678
|
-
description: "
|
|
1669
|
+
title: "ไม่พบผู้ดูแลระบบ",
|
|
1670
|
+
description: "คุณไม่มีผู้ดูแลระบบที่จะแสดงในขณะนี้"
|
|
1679
1671
|
},
|
|
1680
1672
|
memberForm: {
|
|
1681
1673
|
searchUser: {
|
|
@@ -1693,7 +1685,7 @@ const Lt = {
|
|
|
1693
1685
|
emailAddress: "ที่อยู่อีเมล"
|
|
1694
1686
|
},
|
|
1695
1687
|
permissions: {
|
|
1696
|
-
title: "
|
|
1688
|
+
title: "สิทธิ์",
|
|
1697
1689
|
manageable: "จัดการได้ {context}",
|
|
1698
1690
|
search: "ค้นหา {context}",
|
|
1699
1691
|
general: "สิทธิ์ทั่วไป",
|
|
@@ -1701,8 +1693,8 @@ const Lt = {
|
|
|
1701
1693
|
hrm: "สิทธิ์ HRM",
|
|
1702
1694
|
crm: "สิทธิ์ CRM",
|
|
1703
1695
|
includedFuture: "รวม {context} ในอนาคต",
|
|
1704
|
-
includedNewRole: "
|
|
1705
|
-
roles: "
|
|
1696
|
+
includedNewRole: "รวมตำแหน่งใหม่ที่เพิ่มเข้ามา",
|
|
1697
|
+
roles: "ตำแหน่ง POS ที่สามารถใช้ได้",
|
|
1706
1698
|
inherited: "สิทธิ์ที่ได้รับการสืบทอดจาก:",
|
|
1707
1699
|
allowedCount: "{count} สิทธิ์ที่อนุญาต",
|
|
1708
1700
|
columnName: "ชื่อ",
|
|
@@ -1713,54 +1705,54 @@ const Lt = {
|
|
|
1713
1705
|
passcode: "รหัสผ่านผู้ใช้หลัก",
|
|
1714
1706
|
passcodeRequired: "รหัสผ่านต้องเป็นตัวเลข 4 หลัก",
|
|
1715
1707
|
sublabel: "ผู้ใช้หลักสามารถเข้าถึงระบบ POS ของร้านอาหารได้",
|
|
1716
|
-
assignmentSection: "
|
|
1708
|
+
assignmentSection: "การกำหนดสาขาและตำแหน่ง",
|
|
1717
1709
|
addAnother: "เพิ่มอีก",
|
|
1718
1710
|
code: "รหัส",
|
|
1719
1711
|
name: "ชื่อ",
|
|
1720
|
-
role: "
|
|
1712
|
+
role: "ตำแหน่ง",
|
|
1721
1713
|
nameEmptyError: "กรุณาป้อนชื่อ",
|
|
1722
1714
|
restaurantRequired: "กรุณาเลือกร้านอาหารอย่างน้อย 1 แห่ง",
|
|
1723
|
-
roleRequired: "
|
|
1715
|
+
roleRequired: "กรุณากำหนดตำแหน่งให้กับร้านอาหารที่เลือกทุกแห่ง"
|
|
1724
1716
|
},
|
|
1725
1717
|
posRole: {
|
|
1726
|
-
placeholder: "
|
|
1718
|
+
placeholder: "ค้นหาตำแหน่ง POS"
|
|
1727
1719
|
},
|
|
1728
1720
|
permissionSet: {
|
|
1729
|
-
title: "
|
|
1730
|
-
selectPlaceholder: "
|
|
1721
|
+
title: "ตำแหน่งสิทธิ์",
|
|
1722
|
+
selectPlaceholder: "เลือกตำแหน่งสิทธิ์"
|
|
1731
1723
|
}
|
|
1732
1724
|
}
|
|
1733
1725
|
}, us = {
|
|
1734
|
-
title: "
|
|
1735
|
-
createButtonLabel: "
|
|
1726
|
+
title: "กลุ่มสิทธิ์",
|
|
1727
|
+
createButtonLabel: "สร้างกลุ่มสิทธิ์",
|
|
1736
1728
|
search: {
|
|
1737
|
-
placeholder: "
|
|
1729
|
+
placeholder: "ค้นหากลุ่มสิทธิ์"
|
|
1738
1730
|
},
|
|
1739
1731
|
noData: {
|
|
1740
|
-
title: "
|
|
1741
|
-
subtitle: "
|
|
1732
|
+
title: "ไม่พบกลุ่มสิทธิ์",
|
|
1733
|
+
subtitle: "คุณไม่มีกลุ่มสิทธิ์ที่จะแสดงในขณะนี้"
|
|
1742
1734
|
},
|
|
1743
1735
|
form: {
|
|
1744
1736
|
create: {
|
|
1745
|
-
title: "
|
|
1737
|
+
title: "สร้างกลุ่มสิทธิ์",
|
|
1746
1738
|
confirmButtonLabel: "สร้าง"
|
|
1747
1739
|
},
|
|
1748
1740
|
update: {
|
|
1749
|
-
title: "
|
|
1741
|
+
title: "อัปเดตกลุ่มสิทธิ์",
|
|
1750
1742
|
confirmButtonLabel: "อัปเดต"
|
|
1751
1743
|
},
|
|
1752
1744
|
delete: {
|
|
1753
|
-
title: "
|
|
1754
|
-
confirmationMessage: "
|
|
1755
|
-
successMessage: "
|
|
1756
|
-
conflictError: '
|
|
1757
|
-
setReferencedConflictError: '
|
|
1745
|
+
title: "ลบกลุ่มสิทธิ์",
|
|
1746
|
+
confirmationMessage: "คุณต้องการลบกลุ่มสิทธิ์ {permissionSetName} จริงหรือไม่?",
|
|
1747
|
+
successMessage: "ลบกลุ่มสิทธิ์ {permissionSetName} แล้ว",
|
|
1748
|
+
conflictError: 'ไม่สามารถลบกลุ่มสิทธิ์ "{permissionSetName}" ได้ เนื่องจากยังมีผู้ใช้งานที่ได้รับการกำหนดกลุ่มสิทธิ์นี้อยู่ กรุณายกเลิกการกำหนดทั้งหมดก่อน',
|
|
1749
|
+
setReferencedConflictError: 'ไม่สามารถลบกลุ่มสิทธิ์ "{permissionSetName}" ได้ เนื่องจากถูกอ้างอิงโดยกลุ่มสิทธิ์อื่น กรุณาลบการอ้างอิงเหล่านั้นก่อน'
|
|
1758
1750
|
},
|
|
1759
|
-
name: "
|
|
1760
|
-
namePlaceholder: "
|
|
1761
|
-
nameRequired: "
|
|
1762
|
-
includedSets: "
|
|
1763
|
-
includedSetsPlaceholder: "
|
|
1751
|
+
name: "ชื่อกลุ่มสิทธิ์",
|
|
1752
|
+
namePlaceholder: "ป้อนชื่อกลุ่มสิทธิ์",
|
|
1753
|
+
nameRequired: "โปรดระบุชื่อกลุ่มสิทธิ์",
|
|
1754
|
+
includedSets: "กลุ่มสิทธิ์ที่รวมอยู่",
|
|
1755
|
+
includedSetsPlaceholder: "เลือกกลุ่มสิทธิ์ที่จะรวม"
|
|
1764
1756
|
},
|
|
1765
1757
|
categoryLabels: {
|
|
1766
1758
|
General: "ทั่วไป",
|
|
@@ -1835,9 +1827,9 @@ const Lt = {
|
|
|
1835
1827
|
"business::payment::paymentOnboarding": "จัดการการลงทะเบียนชำระเงิน",
|
|
1836
1828
|
"business::payment::transactions": "จัดการธุรกรรมการชำระเงิน",
|
|
1837
1829
|
"business::payment::settlements": "จัดการการชำระบัญชี",
|
|
1838
|
-
"business::hrm::teamMember": "
|
|
1830
|
+
"business::hrm::teamMember": "จัดการผู้ดูแลระบบ",
|
|
1839
1831
|
"business::hrm::employee": "จัดการพนักงาน",
|
|
1840
|
-
"business::hrm::auditLog": "
|
|
1832
|
+
"business::hrm::auditLog": "จัดการประวัติการใช้งาน",
|
|
1841
1833
|
"business::report::createReport": "สร้างรายงาน",
|
|
1842
1834
|
"business::report::accessOverview": "เข้าถึงหน้าภาพรวม",
|
|
1843
1835
|
"business::report::accessInsight": "เข้าถึงหน้าข้อมูลเชิงลึก",
|
|
@@ -1849,15 +1841,15 @@ const Lt = {
|
|
|
1849
1841
|
table: {
|
|
1850
1842
|
columns: {
|
|
1851
1843
|
name: "ชื่อ",
|
|
1852
|
-
permissions: "
|
|
1844
|
+
permissions: "สิทธิ์"
|
|
1853
1845
|
}
|
|
1854
1846
|
}
|
|
1855
|
-
},
|
|
1847
|
+
}, On = {
|
|
1856
1848
|
team: As,
|
|
1857
1849
|
permissionSet: us
|
|
1858
|
-
},
|
|
1850
|
+
}, qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1859
1851
|
__proto__: null,
|
|
1860
|
-
default:
|
|
1852
|
+
default: On,
|
|
1861
1853
|
permissionSet: us,
|
|
1862
1854
|
team: As
|
|
1863
1855
|
}, Symbol.toStringTag, { value: "Module" })), ms = {
|
|
@@ -2086,12 +2078,12 @@ const Lt = {
|
|
|
2086
2078
|
permissions: "权限"
|
|
2087
2079
|
}
|
|
2088
2080
|
}
|
|
2089
|
-
},
|
|
2081
|
+
}, Hn = {
|
|
2090
2082
|
team: ms,
|
|
2091
2083
|
permissionSet: gs
|
|
2092
|
-
},
|
|
2084
|
+
}, Xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2093
2085
|
__proto__: null,
|
|
2094
|
-
default:
|
|
2086
|
+
default: Hn,
|
|
2095
2087
|
permissionSet: gs,
|
|
2096
2088
|
team: ms
|
|
2097
2089
|
}, Symbol.toStringTag, { value: "Module" })), ds = {
|
|
@@ -2327,19 +2319,19 @@ const Lt = {
|
|
|
2327
2319
|
permissions: "權限"
|
|
2328
2320
|
}
|
|
2329
2321
|
}
|
|
2330
|
-
},
|
|
2322
|
+
}, Qn = {
|
|
2331
2323
|
team: ds,
|
|
2332
2324
|
permissionSet: ps
|
|
2333
|
-
},
|
|
2325
|
+
}, In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2334
2326
|
__proto__: null,
|
|
2335
|
-
default:
|
|
2327
|
+
default: Qn,
|
|
2336
2328
|
permissionSet: ps,
|
|
2337
2329
|
team: ds
|
|
2338
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2339
|
-
"en-US":
|
|
2340
|
-
"zh-CN":
|
|
2341
|
-
"th-TH":
|
|
2342
|
-
"zh-Hant":
|
|
2330
|
+
}, Symbol.toStringTag, { value: "Module" })), Rn = {
|
|
2331
|
+
"en-US": Fn,
|
|
2332
|
+
"zh-CN": Xn,
|
|
2333
|
+
"th-TH": qn,
|
|
2334
|
+
"zh-Hant": In
|
|
2343
2335
|
}, bs = {
|
|
2344
2336
|
title: "POS Grant",
|
|
2345
2337
|
actions: {
|
|
@@ -2394,11 +2386,11 @@ const Lt = {
|
|
|
2394
2386
|
passcode: {
|
|
2395
2387
|
copied: "Passcode copied"
|
|
2396
2388
|
}
|
|
2397
|
-
},
|
|
2389
|
+
}, Nn = {
|
|
2398
2390
|
grantUser: bs
|
|
2399
|
-
},
|
|
2391
|
+
}, Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2400
2392
|
__proto__: null,
|
|
2401
|
-
default:
|
|
2393
|
+
default: Nn,
|
|
2402
2394
|
grantUser: bs
|
|
2403
2395
|
}, Symbol.toStringTag, { value: "Module" })), fs = {
|
|
2404
2396
|
title: "POS Grant",
|
|
@@ -2414,15 +2406,15 @@ const Lt = {
|
|
|
2414
2406
|
restaurant: "ร้านอาหาร",
|
|
2415
2407
|
selectRestaurant: "เลือกร้านอาหาร",
|
|
2416
2408
|
restaurantRequired: "ต้องเลือกร้านอาหาร",
|
|
2417
|
-
role: "
|
|
2418
|
-
selectRole: "
|
|
2419
|
-
roleRequired: "
|
|
2409
|
+
role: "ตำแหน่ง",
|
|
2410
|
+
selectRole: "เลือกตำแหน่ง",
|
|
2411
|
+
roleRequired: "ต้องเลือกตำแหน่ง"
|
|
2420
2412
|
},
|
|
2421
2413
|
columns: {
|
|
2422
2414
|
passcode: "รหัสผ่าน",
|
|
2423
2415
|
name: "ชื่อ",
|
|
2424
2416
|
restaurant: "ร้านอาหาร",
|
|
2425
|
-
role: "
|
|
2417
|
+
role: "ตำแหน่ง",
|
|
2426
2418
|
status: "สถานะ",
|
|
2427
2419
|
grantedBy: "ให้สิทธิ์โดย",
|
|
2428
2420
|
createdAt: "สร้างเมื่อ"
|
|
@@ -2454,11 +2446,11 @@ const Lt = {
|
|
|
2454
2446
|
passcode: {
|
|
2455
2447
|
copied: "คัดลอกรหัสผ่านแล้ว"
|
|
2456
2448
|
}
|
|
2457
|
-
},
|
|
2449
|
+
}, zn = {
|
|
2458
2450
|
grantUser: fs
|
|
2459
|
-
},
|
|
2451
|
+
}, Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2460
2452
|
__proto__: null,
|
|
2461
|
-
default:
|
|
2453
|
+
default: zn,
|
|
2462
2454
|
grantUser: fs
|
|
2463
2455
|
}, Symbol.toStringTag, { value: "Module" })), ys = {
|
|
2464
2456
|
title: "POS 授予",
|
|
@@ -2514,11 +2506,11 @@ const Lt = {
|
|
|
2514
2506
|
passcode: {
|
|
2515
2507
|
copied: "密码已复制"
|
|
2516
2508
|
}
|
|
2517
|
-
},
|
|
2509
|
+
}, Wn = {
|
|
2518
2510
|
grantUser: ys
|
|
2519
|
-
},
|
|
2511
|
+
}, Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2520
2512
|
__proto__: null,
|
|
2521
|
-
default:
|
|
2513
|
+
default: Wn,
|
|
2522
2514
|
grantUser: ys
|
|
2523
2515
|
}, Symbol.toStringTag, { value: "Module" })), vs = {
|
|
2524
2516
|
title: "POS 授予",
|
|
@@ -2574,19 +2566,19 @@ const Lt = {
|
|
|
2574
2566
|
passcode: {
|
|
2575
2567
|
copied: "密碼已複製"
|
|
2576
2568
|
}
|
|
2577
|
-
},
|
|
2569
|
+
}, Sn = {
|
|
2578
2570
|
grantUser: vs
|
|
2579
|
-
},
|
|
2571
|
+
}, kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2580
2572
|
__proto__: null,
|
|
2581
|
-
default:
|
|
2573
|
+
default: Sn,
|
|
2582
2574
|
grantUser: vs
|
|
2583
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2584
|
-
"en-US":
|
|
2585
|
-
"zh-CN":
|
|
2586
|
-
"th-TH":
|
|
2587
|
-
"zh-Hant":
|
|
2575
|
+
}, Symbol.toStringTag, { value: "Module" })), Kn = {
|
|
2576
|
+
"en-US": Zn,
|
|
2577
|
+
"zh-CN": Tn,
|
|
2578
|
+
"th-TH": Un,
|
|
2579
|
+
"zh-Hant": kn
|
|
2588
2580
|
};
|
|
2589
|
-
var t = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(t || {}), o = /* @__PURE__ */ ((e) => (e.miniProgram_profile = "business::miniProgram::profile", e.miniProgram_brandkit = "business::miniProgram::brandkit", e.miniProgram_template = "business::miniProgram::template", e.miniProgram_publish = "business::miniProgram::publish", e.miniProgram_assets = "business::miniProgram::assets", e.miniProgram_nativeCredentials = "business::miniProgram::nativeCredentials", e.crm = "business::crm", e.crm_promotion = "business::crm::promotion", e.crm_voucher = "business::crm::voucher", e.crm_membership = "business::crm::membership", e.crm_analytic = "business::crm::analytic", e.crm_tier = "business::crm::tier", e.crm_title = "business::crm::title", e.crm_broadcast = "business::crm::broadcast", e.crm_point = "business::crm::point", e.crm_credit = "business::crm::credit", e.crm_experience = "business::crm::experience", e.crm_game = "business::crm::game", e.crm_mission = "business::crm::mission", e.crm_loyaltyMember = "business::crm::loyaltyMember", e.crm_loyaltySegment = "business::crm::loyaltySegment", e.crm_loyaltyCard = "business::crm::loyaltyCard", e.crm_referral = "business::crm::referral", e.crm_store = "business::crm::store", e.crm_transaction = "business::crm::transaction", e.crm_setting = "business::crm::setting", e.crm_bin = "business::crm::bin", e.payment = "business::payment", e.payment_payoutAccount = "business::payment::payoutAccount", e.payment_paymentOnboarding = "business::payment::paymentOnboarding", e.payment_transactions = "business::payment::transactions", e.payment_settlements = "business::payment::settlements", e.inventory_stock = "business::inventory::stock", e.inventory_stockBalance = "business::inventory::stockBalance", e.inventory_stockAdjustment = "business::inventory::stockAdjustment", e.inventory_unitCostHistory = "business::inventory::unitCostHistory", e.inventory_wastageTemplate = "business::inventory::wastageTemplate", e.inventory_closingHistory = "business::inventory::closingHistory", e.inventory_closingTemplate = "business::inventory::closingTemplate", e.inventory_closingDraft = "business::inventory::closingDraft", e.inventory_ingredient = "business::inventory::ingredient", e.inventory_ingredientGroup = "business::inventory::ingredientGroup", e.inventory_recipe = "business::inventory::recipe", e.inventory_unit = "business::inventory::unit", e.inventory_purchaseTransfer = "business::inventory::purchaseTransfer", e.inventory_orderDraftApproval = "business::inventory::orderDraftApproval", e.inventory_transferOut = "business::inventory::transferOut", e.inventory_surcharge = "business::inventory::surcharge", e.inventory_orderTemplate = "business::inventory::orderTemplate", e.inventory_supplier = "business::inventory::supplier", e.inventory_warehouse = "business::inventory::warehouse", e.inventory_publish = "business::inventory::publish", e.inventory_import = "business::inventory::import", e.inventory_integration = "business::inventory::integration", e.hrm = "business::hrm", e.hrm_employee = "business::hrm::employee", e.hrm_teamMember = "business::hrm::teamMember", e.hrm_auditLog = "business::hrm::auditLog", e.menu = "business::menu", e.menu_item = "business::menu::item", e.menu_catalog = "business::menu::catalog", e.menu_category = "business::menu::category", e.menu_subCategory = "business::menu::subCategory", e.menu_group = "business::menu::group", e.menu_takeaway = "business::menu::takeaway", e.menu_scheduler = "business::menu::scheduler", e.menu_variant = "business::menu::variant", e.menu_cookingGuide = "business::menu::cookingGuide", e.menu_printRoute = "business::menu::printRoute", e.menu_servingSequence = "business::menu::servingSequence", e.menu_settings = "business::menu::settings", e.menu_publish = "business::menu::publish", e.menu_menuManagement = "business::menu::menuManagement", e.menu_importExport = "business::menu::importExport", e.menu_unit = "business::menu::unit", e.menu_ingredient = "business::menu::ingredient", e.menu_recipe = "business::menu::recipe", e.restaurant = "business::restaurant", e.role = "business::role", e.mdm_deviceManagement = "business::mdm::deviceManagement", e.mdm_createDevice = "business::mdm::createDevice", e.mdm_deviceBinding = "business::mdm::deviceBinding", e.mdm_customerDisplay = "business::mdm::customerDisplay", e.eInvoice_management = "business::eInvoice::management", e.eInvoice_integration = "business::eInvoice::integration", e.profile = "business::profile", e.report_createReport = "business::report::createReport", e.report_accessInsight = "business::report::accessInsight", e.report_accessSetting = "business::report::accessSetting", e.report_accessIntegration = "business::report::accessIntegration", e.report_accessOverview = "business::report::accessOverview", e.report_reports_allDefaultReports = "business::report::allDefaultReports", e.report_reports_allCustomReports = "business::report::allCustomReports", e.operation_receipt = "business::operation::receipt", e.operation_tableManagement = "business::operation::tableManagement", e.operation_offlinePayment = "business::operation::offlinePayment", e.operation_reasonTemplate = "business::operation::reasonTemplate", e.operation_discountRule = "business::operation::discountRule", e.operation_serviceCharge = "business::operation::serviceCharge", e.operation_kitchenPrintTemplate = "business::operation::kitchenPrintTemplate", e))(o || {}), U = /* @__PURE__ */ ((e) => (e.profile = "business::profile", e.restaurant = "business::restaurant", e.menu = "business::menu", e.promotion = "business::promotion", e.voucher = "business::voucher", e.membership = "business::membership", e.stock = "business::stock", e.permission = "business::permission", e.role = "business::role", e.wastageTemplate = "business::wastageTemplate", e.closingTemplate = "business::closingTemplate", e.orderTemplate = "business::orderTemplate", e.ingredient = "business::ingredient", e.recipe = "business::recipe", e.unit = "business::unit", e.supplier = "business::supplier", e.warehouse = "business::warehouse", e.publish = "business::publish", e.integration = "business::integration", e.orderDraft = "business::orderDraft", e.unitCostHistory = "business::unitCostHistory", e))(U || {}), hs = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(hs || {});
|
|
2581
|
+
var t = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(t || {}), o = /* @__PURE__ */ ((e) => (e.miniProgram_profile = "business::miniProgram::profile", e.miniProgram_brandkit = "business::miniProgram::brandkit", e.miniProgram_template = "business::miniProgram::template", e.miniProgram_publish = "business::miniProgram::publish", e.miniProgram_assets = "business::miniProgram::assets", e.miniProgram_nativeCredentials = "business::miniProgram::nativeCredentials", e.crm = "business::crm", e.crm_promotion = "business::crm::promotion", e.crm_voucher = "business::crm::voucher", e.crm_membership = "business::crm::membership", e.crm_analytic = "business::crm::analytic", e.crm_tier = "business::crm::tier", e.crm_title = "business::crm::title", e.crm_broadcast = "business::crm::broadcast", e.crm_point = "business::crm::point", e.crm_credit = "business::crm::credit", e.crm_experience = "business::crm::experience", e.crm_game = "business::crm::game", e.crm_mission = "business::crm::mission", e.crm_loyaltyMember = "business::crm::loyaltyMember", e.crm_loyaltySegment = "business::crm::loyaltySegment", e.crm_loyaltyCard = "business::crm::loyaltyCard", e.crm_referral = "business::crm::referral", e.crm_store = "business::crm::store", e.crm_transaction = "business::crm::transaction", e.crm_setting = "business::crm::setting", e.crm_bin = "business::crm::bin", e.crm_marketingMaterial = "business::crm::marketingMaterial", e.payment = "business::payment", e.payment_payoutAccount = "business::payment::payoutAccount", e.payment_paymentOnboarding = "business::payment::paymentOnboarding", e.payment_transactions = "business::payment::transactions", e.payment_settlements = "business::payment::settlements", e.inventory_stock = "business::inventory::stock", e.inventory_stockBalance = "business::inventory::stockBalance", e.inventory_stockAdjustment = "business::inventory::stockAdjustment", e.inventory_unitCostHistory = "business::inventory::unitCostHistory", e.inventory_wastageTemplate = "business::inventory::wastageTemplate", e.inventory_closingHistory = "business::inventory::closingHistory", e.inventory_closingTemplate = "business::inventory::closingTemplate", e.inventory_closingDraft = "business::inventory::closingDraft", e.inventory_ingredient = "business::inventory::ingredient", e.inventory_ingredientGroup = "business::inventory::ingredientGroup", e.inventory_recipe = "business::inventory::recipe", e.inventory_unit = "business::inventory::unit", e.inventory_purchaseTransfer = "business::inventory::purchaseTransfer", e.inventory_orderDraftApproval = "business::inventory::orderDraftApproval", e.inventory_transferOut = "business::inventory::transferOut", e.inventory_surcharge = "business::inventory::surcharge", e.inventory_orderTemplate = "business::inventory::orderTemplate", e.inventory_supplier = "business::inventory::supplier", e.inventory_warehouse = "business::inventory::warehouse", e.inventory_publish = "business::inventory::publish", e.inventory_import = "business::inventory::import", e.inventory_integration = "business::inventory::integration", e.hrm = "business::hrm", e.hrm_employee = "business::hrm::employee", e.hrm_teamMember = "business::hrm::teamMember", e.hrm_auditLog = "business::hrm::auditLog", e.menu = "business::menu", e.menu_item = "business::menu::item", e.menu_catalog = "business::menu::catalog", e.menu_category = "business::menu::category", e.menu_subCategory = "business::menu::subCategory", e.menu_group = "business::menu::group", e.menu_takeaway = "business::menu::takeaway", e.menu_scheduler = "business::menu::scheduler", e.menu_variant = "business::menu::variant", e.menu_cookingGuide = "business::menu::cookingGuide", e.menu_printRoute = "business::menu::printRoute", e.menu_servingSequence = "business::menu::servingSequence", e.menu_settings = "business::menu::settings", e.menu_publish = "business::menu::publish", e.menu_menuManagement = "business::menu::menuManagement", e.menu_importExport = "business::menu::importExport", e.menu_unit = "business::menu::unit", e.menu_ingredient = "business::menu::ingredient", e.menu_recipe = "business::menu::recipe", e.restaurant = "business::restaurant", e.role = "business::role", e.mdm_deviceManagement = "business::mdm::deviceManagement", e.mdm_createDevice = "business::mdm::createDevice", e.mdm_deviceBinding = "business::mdm::deviceBinding", e.mdm_customerDisplay = "business::mdm::customerDisplay", e.kiosk_deviceManagement = "business::kiosk::deviceManagement", e.kiosk_deviceBinding = "business::kiosk::deviceBinding", e.eInvoice_management = "business::eInvoice::management", e.eInvoice_integration = "business::eInvoice::integration", e.profile = "business::profile", e.report_createReport = "business::report::createReport", e.report_accessInsight = "business::report::accessInsight", e.report_accessSetting = "business::report::accessSetting", e.report_accessIntegration = "business::report::accessIntegration", e.report_accessOverview = "business::report::accessOverview", e.report_reports_allDefaultReports = "business::report::allDefaultReports", e.report_reports_allCustomReports = "business::report::allCustomReports", e.operation_receipt = "business::operation::receipt", e.operation_tableManagement = "business::operation::tableManagement", e.operation_offlinePayment = "business::operation::offlinePayment", e.operation_reasonTemplate = "business::operation::reasonTemplate", e.operation_discountRule = "business::operation::discountRule", e.operation_serviceCharge = "business::operation::serviceCharge", e.operation_kitchenPrintTemplate = "business::operation::kitchenPrintTemplate", e.operation_orderSetting = "business::operation::orderSetting", e))(o || {}), U = /* @__PURE__ */ ((e) => (e.profile = "business::profile", e.restaurant = "business::restaurant", e.menu = "business::menu", e.promotion = "business::promotion", e.voucher = "business::voucher", e.membership = "business::membership", e.stock = "business::stock", e.permission = "business::permission", e.role = "business::role", e.wastageTemplate = "business::wastageTemplate", e.closingTemplate = "business::closingTemplate", e.orderTemplate = "business::orderTemplate", e.ingredient = "business::ingredient", e.recipe = "business::recipe", e.unit = "business::unit", e.supplier = "business::supplier", e.warehouse = "business::warehouse", e.publish = "business::publish", e.integration = "business::integration", e.orderDraft = "business::orderDraft", e.unitCostHistory = "business::unitCostHistory", e))(U || {}), hs = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(hs || {});
|
|
2590
2582
|
const b = {
|
|
2591
2583
|
general: "General",
|
|
2592
2584
|
inventory: "Inventory",
|
|
@@ -2600,7 +2592,7 @@ const b = {
|
|
|
2600
2592
|
reports: "Default Report",
|
|
2601
2593
|
customReports: "Custom Report",
|
|
2602
2594
|
miniProgram: "Mini Program"
|
|
2603
|
-
},
|
|
2595
|
+
}, Ln = "access-denied", We = {
|
|
2604
2596
|
Action: t,
|
|
2605
2597
|
Subject: {
|
|
2606
2598
|
Business: o,
|
|
@@ -2996,6 +2988,12 @@ const b = {
|
|
|
2996
2988
|
actions: [t.manage],
|
|
2997
2989
|
category: b.crm
|
|
2998
2990
|
},
|
|
2991
|
+
crmMarketingMaterial: {
|
|
2992
|
+
label: "Marketing Material Management",
|
|
2993
|
+
subject: o.crm_marketingMaterial,
|
|
2994
|
+
actions: [t.manage],
|
|
2995
|
+
category: b.crm
|
|
2996
|
+
},
|
|
2999
2997
|
// Payment
|
|
3000
2998
|
paymentPayoutAccount: {
|
|
3001
2999
|
label: "Payout Account Management",
|
|
@@ -3120,6 +3118,21 @@ const b = {
|
|
|
3120
3118
|
category: b.settings,
|
|
3121
3119
|
showByFeatureFlag: "hrm_enable_mdm_permission"
|
|
3122
3120
|
},
|
|
3121
|
+
// Kiosk
|
|
3122
|
+
kioskDeviceManagement: {
|
|
3123
|
+
label: "Kiosk Device Management",
|
|
3124
|
+
subject: o.kiosk_deviceManagement,
|
|
3125
|
+
actions: [t.manage],
|
|
3126
|
+
category: b.settings,
|
|
3127
|
+
showByFeatureFlag: "hrm_enable_kiosk_permission"
|
|
3128
|
+
},
|
|
3129
|
+
kioskDeviceBinding: {
|
|
3130
|
+
label: "Kiosk Device Binding",
|
|
3131
|
+
subject: o.kiosk_deviceBinding,
|
|
3132
|
+
actions: [t.manage],
|
|
3133
|
+
category: b.settings,
|
|
3134
|
+
showByFeatureFlag: "hrm_enable_kiosk_permission"
|
|
3135
|
+
},
|
|
3123
3136
|
// E-invoice
|
|
3124
3137
|
eInvoiceManagement: {
|
|
3125
3138
|
label: "E-invoice Management",
|
|
@@ -3185,6 +3198,13 @@ const b = {
|
|
|
3185
3198
|
category: b.operation,
|
|
3186
3199
|
showByFeatureFlag: "hrm_enable_operation_permission"
|
|
3187
3200
|
},
|
|
3201
|
+
operationOrderSetting: {
|
|
3202
|
+
label: "Order Settings",
|
|
3203
|
+
subject: o.operation_orderSetting,
|
|
3204
|
+
actions: [t.manage],
|
|
3205
|
+
category: b.operation,
|
|
3206
|
+
showByFeatureFlag: "hrm_enable_operation_permission"
|
|
3207
|
+
},
|
|
3188
3208
|
// Mini Program
|
|
3189
3209
|
miniProgramProfile: {
|
|
3190
3210
|
label: "Business Profile Management",
|
|
@@ -3236,7 +3256,7 @@ const R = [
|
|
|
3236
3256
|
subject: q.crm,
|
|
3237
3257
|
actions: [t.read]
|
|
3238
3258
|
}
|
|
3239
|
-
], $ = (...e) => e.flat(),
|
|
3259
|
+
], $ = (...e) => e.flat(), Jn = [
|
|
3240
3260
|
...R,
|
|
3241
3261
|
{
|
|
3242
3262
|
label: "User",
|
|
@@ -3248,7 +3268,7 @@ const R = [
|
|
|
3248
3268
|
t.delete
|
|
3249
3269
|
]
|
|
3250
3270
|
}
|
|
3251
|
-
],
|
|
3271
|
+
], _n = [
|
|
3252
3272
|
...R,
|
|
3253
3273
|
{
|
|
3254
3274
|
label: "Segmentation",
|
|
@@ -3284,7 +3304,7 @@ const R = [
|
|
|
3284
3304
|
t.delete
|
|
3285
3305
|
]
|
|
3286
3306
|
}
|
|
3287
|
-
],
|
|
3307
|
+
], $n = [
|
|
3288
3308
|
...R,
|
|
3289
3309
|
{
|
|
3290
3310
|
label: "Location",
|
|
@@ -3296,7 +3316,7 @@ const R = [
|
|
|
3296
3316
|
t.delete
|
|
3297
3317
|
]
|
|
3298
3318
|
}
|
|
3299
|
-
],
|
|
3319
|
+
], er = [
|
|
3300
3320
|
...R,
|
|
3301
3321
|
{
|
|
3302
3322
|
label: "Effect",
|
|
@@ -3308,14 +3328,14 @@ const R = [
|
|
|
3308
3328
|
t.delete
|
|
3309
3329
|
]
|
|
3310
3330
|
}
|
|
3311
|
-
],
|
|
3331
|
+
], tr = [
|
|
3312
3332
|
...R,
|
|
3313
3333
|
{
|
|
3314
3334
|
label: "Setting",
|
|
3315
3335
|
subject: q.crm_setting,
|
|
3316
3336
|
actions: [t.read, t.update]
|
|
3317
3337
|
}
|
|
3318
|
-
],
|
|
3338
|
+
], sr = [
|
|
3319
3339
|
...R,
|
|
3320
3340
|
{
|
|
3321
3341
|
label: "Reward",
|
|
@@ -3351,7 +3371,7 @@ const R = [
|
|
|
3351
3371
|
t.delete
|
|
3352
3372
|
]
|
|
3353
3373
|
}
|
|
3354
|
-
],
|
|
3374
|
+
], Ds = [
|
|
3355
3375
|
...R,
|
|
3356
3376
|
{
|
|
3357
3377
|
label: "Marketing Material",
|
|
@@ -3363,7 +3383,7 @@ const R = [
|
|
|
3363
3383
|
t.delete
|
|
3364
3384
|
]
|
|
3365
3385
|
}
|
|
3366
|
-
],
|
|
3386
|
+
], js = [
|
|
3367
3387
|
...R,
|
|
3368
3388
|
{
|
|
3369
3389
|
label: "Analytic",
|
|
@@ -3466,7 +3486,7 @@ const R = [
|
|
|
3466
3486
|
t.delete
|
|
3467
3487
|
]
|
|
3468
3488
|
}
|
|
3469
|
-
],
|
|
3489
|
+
], Gs = [
|
|
3470
3490
|
...R,
|
|
3471
3491
|
{
|
|
3472
3492
|
label: "Loyalty Member",
|
|
@@ -3478,7 +3498,7 @@ const R = [
|
|
|
3478
3498
|
t.delete
|
|
3479
3499
|
]
|
|
3480
3500
|
}
|
|
3481
|
-
],
|
|
3501
|
+
], Ys = [
|
|
3482
3502
|
...R,
|
|
3483
3503
|
{
|
|
3484
3504
|
label: "Loyalty Segment",
|
|
@@ -3490,7 +3510,7 @@ const R = [
|
|
|
3490
3510
|
t.delete
|
|
3491
3511
|
]
|
|
3492
3512
|
}
|
|
3493
|
-
],
|
|
3513
|
+
], Es = [
|
|
3494
3514
|
...R,
|
|
3495
3515
|
{
|
|
3496
3516
|
label: "Loyalty Card",
|
|
@@ -3502,43 +3522,43 @@ const R = [
|
|
|
3502
3522
|
t.delete
|
|
3503
3523
|
]
|
|
3504
3524
|
}
|
|
3505
|
-
],
|
|
3525
|
+
], xs = [
|
|
3506
3526
|
...R,
|
|
3507
3527
|
{
|
|
3508
3528
|
label: "Bin",
|
|
3509
3529
|
subject: q.crm_bin,
|
|
3510
3530
|
actions: [t.read, t.update, t.delete]
|
|
3511
3531
|
}
|
|
3512
|
-
],
|
|
3532
|
+
], Vs = $(
|
|
3513
3533
|
oe,
|
|
3514
3534
|
nr
|
|
3515
|
-
),
|
|
3535
|
+
), Ps = $(
|
|
3516
3536
|
oe,
|
|
3517
3537
|
rr
|
|
3518
|
-
),
|
|
3538
|
+
), Fs = $(
|
|
3519
3539
|
oe,
|
|
3520
3540
|
ar
|
|
3521
|
-
),
|
|
3541
|
+
), Os = $(
|
|
3522
3542
|
oe,
|
|
3523
3543
|
or
|
|
3524
|
-
),
|
|
3544
|
+
), qs = $(
|
|
3525
3545
|
oe,
|
|
3526
3546
|
ir
|
|
3527
|
-
),
|
|
3547
|
+
), Hs = $(
|
|
3528
3548
|
oe,
|
|
3529
3549
|
lr
|
|
3530
|
-
),
|
|
3550
|
+
), Xs = $(
|
|
3531
3551
|
oe,
|
|
3532
3552
|
cr
|
|
3533
|
-
),
|
|
3553
|
+
), Qs = $(
|
|
3534
3554
|
oe,
|
|
3535
3555
|
Ar
|
|
3536
3556
|
), ur = $(
|
|
3537
3557
|
oe,
|
|
3538
3558
|
Cs
|
|
3539
|
-
),
|
|
3559
|
+
), Is = $(
|
|
3540
3560
|
oe,
|
|
3541
|
-
|
|
3561
|
+
tr
|
|
3542
3562
|
), mr = [
|
|
3543
3563
|
...R,
|
|
3544
3564
|
{
|
|
@@ -3564,16 +3584,15 @@ const R = [
|
|
|
3564
3584
|
]
|
|
3565
3585
|
}
|
|
3566
3586
|
], dr = $(
|
|
3567
|
-
Ln,
|
|
3568
3587
|
Jn,
|
|
3588
|
+
_n,
|
|
3569
3589
|
ws,
|
|
3570
3590
|
Ms,
|
|
3571
|
-
_n,
|
|
3572
3591
|
$n,
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3592
|
+
er,
|
|
3593
|
+
Is,
|
|
3594
|
+
sr,
|
|
3595
|
+
js,
|
|
3577
3596
|
Vs,
|
|
3578
3597
|
Ps,
|
|
3579
3598
|
Fs,
|
|
@@ -3581,14 +3600,15 @@ const R = [
|
|
|
3581
3600
|
qs,
|
|
3582
3601
|
Hs,
|
|
3583
3602
|
Xs,
|
|
3584
|
-
|
|
3603
|
+
Qs,
|
|
3585
3604
|
Gs,
|
|
3586
3605
|
Ys,
|
|
3587
|
-
Es
|
|
3606
|
+
Es,
|
|
3607
|
+
xs
|
|
3588
3608
|
), pr = $(
|
|
3589
3609
|
oe,
|
|
3590
3610
|
Cs,
|
|
3591
|
-
|
|
3611
|
+
Ds
|
|
3592
3612
|
), br = $(
|
|
3593
3613
|
oe,
|
|
3594
3614
|
mr
|
|
@@ -3616,62 +3636,62 @@ const R = [
|
|
|
3616
3636
|
[`set_${o.crm_analytic}`]: {
|
|
3617
3637
|
key: "sys:crm:analytic",
|
|
3618
3638
|
name: "CRM Analytic",
|
|
3619
|
-
permissions:
|
|
3639
|
+
permissions: js
|
|
3620
3640
|
},
|
|
3621
3641
|
[`set_${o.crm_tier}`]: {
|
|
3622
3642
|
key: "sys:crm:tier",
|
|
3623
3643
|
name: "CRM Tier",
|
|
3624
|
-
permissions:
|
|
3644
|
+
permissions: Vs
|
|
3625
3645
|
},
|
|
3626
3646
|
[`set_${o.crm_title}`]: {
|
|
3627
3647
|
key: "sys:crm:title",
|
|
3628
3648
|
name: "CRM Title",
|
|
3629
|
-
permissions:
|
|
3649
|
+
permissions: Ps
|
|
3630
3650
|
},
|
|
3631
3651
|
[`set_${o.crm_broadcast}`]: {
|
|
3632
3652
|
key: "sys:crm:broadcast",
|
|
3633
3653
|
name: "CRM Broadcast",
|
|
3634
|
-
permissions:
|
|
3654
|
+
permissions: Fs
|
|
3635
3655
|
},
|
|
3636
3656
|
[`set_${o.crm_point}`]: {
|
|
3637
3657
|
key: "sys:crm:point",
|
|
3638
3658
|
name: "CRM Point",
|
|
3639
|
-
permissions:
|
|
3659
|
+
permissions: Os
|
|
3640
3660
|
},
|
|
3641
3661
|
[`set_${o.crm_credit}`]: {
|
|
3642
3662
|
key: "sys:crm:credit",
|
|
3643
3663
|
name: "CRM Credit",
|
|
3644
|
-
permissions:
|
|
3664
|
+
permissions: qs
|
|
3645
3665
|
},
|
|
3646
3666
|
[`set_${o.crm_experience}`]: {
|
|
3647
3667
|
key: "sys:crm:experience",
|
|
3648
3668
|
name: "CRM Experience",
|
|
3649
|
-
permissions:
|
|
3669
|
+
permissions: Hs
|
|
3650
3670
|
},
|
|
3651
3671
|
[`set_${o.crm_game}`]: {
|
|
3652
3672
|
key: "sys:crm:game",
|
|
3653
3673
|
name: "CRM Game",
|
|
3654
|
-
permissions:
|
|
3674
|
+
permissions: Xs
|
|
3655
3675
|
},
|
|
3656
3676
|
[`set_${o.crm_mission}`]: {
|
|
3657
3677
|
key: "sys:crm:mission",
|
|
3658
3678
|
name: "CRM Mission",
|
|
3659
|
-
permissions:
|
|
3679
|
+
permissions: Qs
|
|
3660
3680
|
},
|
|
3661
3681
|
[`set_${o.crm_loyaltyMember}`]: {
|
|
3662
3682
|
key: "sys:crm:loyaltyMember",
|
|
3663
3683
|
name: "CRM Loyalty Member",
|
|
3664
|
-
permissions:
|
|
3684
|
+
permissions: Gs
|
|
3665
3685
|
},
|
|
3666
3686
|
[`set_${o.crm_loyaltySegment}`]: {
|
|
3667
3687
|
key: "sys:crm:loyaltySegment",
|
|
3668
3688
|
name: "CRM Loyalty Segment",
|
|
3669
|
-
permissions:
|
|
3689
|
+
permissions: Ys
|
|
3670
3690
|
},
|
|
3671
3691
|
[`set_${o.crm_loyaltyCard}`]: {
|
|
3672
3692
|
key: "sys:crm:loyaltyCard",
|
|
3673
3693
|
name: "CRM Loyalty Card",
|
|
3674
|
-
permissions:
|
|
3694
|
+
permissions: Es
|
|
3675
3695
|
},
|
|
3676
3696
|
[`set_${o.crm_referral}`]: {
|
|
3677
3697
|
key: "sys:crm:referral",
|
|
@@ -3691,12 +3711,17 @@ const R = [
|
|
|
3691
3711
|
[`set_${o.crm_setting}`]: {
|
|
3692
3712
|
key: "sys:crm:setting",
|
|
3693
3713
|
name: "CRM Setting",
|
|
3694
|
-
permissions:
|
|
3714
|
+
permissions: Is
|
|
3695
3715
|
},
|
|
3696
3716
|
[`set_${o.crm_bin}`]: {
|
|
3697
3717
|
key: "sys:crm:bin",
|
|
3698
3718
|
name: "CRM Bin",
|
|
3699
|
-
permissions:
|
|
3719
|
+
permissions: xs
|
|
3720
|
+
},
|
|
3721
|
+
[`set_${o.crm_marketingMaterial}`]: {
|
|
3722
|
+
key: "sys:crm:marketingMaterial",
|
|
3723
|
+
name: "CRM Marketing Material",
|
|
3724
|
+
permissions: Ds
|
|
3700
3725
|
}
|
|
3701
3726
|
};
|
|
3702
3727
|
var G = /* @__PURE__ */ ((e) => (e.inventory = "inventory", e.inventory_stock = "inventory::stock", e.inventory_stockAdjustment = "inventory::stockAdjustment", e.inventory_stockRecalculation = "inventory::stockRecalculation", e.inventory_unitCostHistory = "inventory::unitCostHistory", e.inventory_wastageTemplate = "inventory::wastageTemplate", e.inventory_closing = "inventory::closing", e.inventory_closingDraft = "inventory::closingDraft", e.inventory_closingTemplate = "inventory::closingTemplate", e.inventory_ingredient = "inventory::ingredient", e.inventory_ingredientGroup = "inventory::ingredientGroup", e.inventory_recipe = "inventory::recipe", e.inventory_unit = "inventory::unit", e.inventory_orderTemplate = "inventory::orderTemplate", e.inventory_orderDraft = "inventory::orderDraft", e.inventory_printTemplate = "inventory::printTemplate", e.inventory_purchaseOrder = "inventory::purchaseOrder", e.inventory_transferOutApproval = "inventory::transferOutApproval", e.inventory_adjustmentTemplate = "inventory::adjustmentTemplate", e.inventory_surcharge = "inventory::surcharge", e.inventory_supplier = "inventory::supplier", e.inventory_warehouse = "inventory::warehouse", e.inventory_publish = "inventory::publish", e.inventory_integration = "inventory::integration", e.inventory_deliveryOrder = "inventory::deliveryOrder", e.inventory_shipment = "inventory::shipment", e.inventory_orderDraftApproval = "inventory::orderDraftApproval", e))(G || {});
|
|
@@ -3735,14 +3760,14 @@ const K = [
|
|
|
3735
3760
|
subject: G.inventory_stockAdjustment,
|
|
3736
3761
|
actions: [t.update]
|
|
3737
3762
|
}
|
|
3738
|
-
],
|
|
3763
|
+
], Rs = [
|
|
3739
3764
|
...K,
|
|
3740
3765
|
{
|
|
3741
3766
|
label: "Unit Cost History",
|
|
3742
3767
|
subject: G.inventory_unitCostHistory,
|
|
3743
3768
|
actions: [t.read, t.update]
|
|
3744
3769
|
}
|
|
3745
|
-
],
|
|
3770
|
+
], Ns = [
|
|
3746
3771
|
...K,
|
|
3747
3772
|
{
|
|
3748
3773
|
label: "Wastage Template",
|
|
@@ -3757,8 +3782,8 @@ const K = [
|
|
|
3757
3782
|
];
|
|
3758
3783
|
[
|
|
3759
3784
|
...Et,
|
|
3760
|
-
...
|
|
3761
|
-
...
|
|
3785
|
+
...Rs,
|
|
3786
|
+
...Ns
|
|
3762
3787
|
];
|
|
3763
3788
|
const xt = [
|
|
3764
3789
|
...K,
|
|
@@ -3777,7 +3802,7 @@ const xt = [
|
|
|
3777
3802
|
subject: G.inventory_closingDraft,
|
|
3778
3803
|
actions: [t.read]
|
|
3779
3804
|
}
|
|
3780
|
-
],
|
|
3805
|
+
], Zs = [
|
|
3781
3806
|
...K,
|
|
3782
3807
|
{
|
|
3783
3808
|
label: "Closing Draft",
|
|
@@ -3804,7 +3829,7 @@ const xt = [
|
|
|
3804
3829
|
subject: G.inventory_stockAdjustment,
|
|
3805
3830
|
actions: [t.read]
|
|
3806
3831
|
}
|
|
3807
|
-
],
|
|
3832
|
+
], zs = [
|
|
3808
3833
|
...K,
|
|
3809
3834
|
{
|
|
3810
3835
|
label: "Closing Template",
|
|
@@ -3824,8 +3849,8 @@ const xt = [
|
|
|
3824
3849
|
];
|
|
3825
3850
|
[
|
|
3826
3851
|
...xt,
|
|
3827
|
-
...
|
|
3828
|
-
...
|
|
3852
|
+
...Zs,
|
|
3853
|
+
...zs
|
|
3829
3854
|
];
|
|
3830
3855
|
const hr = [
|
|
3831
3856
|
{
|
|
@@ -3866,7 +3891,7 @@ const hr = [
|
|
|
3866
3891
|
subject: G.inventory,
|
|
3867
3892
|
actions: [t.read, t.update]
|
|
3868
3893
|
}
|
|
3869
|
-
],
|
|
3894
|
+
], Us = [
|
|
3870
3895
|
{
|
|
3871
3896
|
label: "Purchase Order",
|
|
3872
3897
|
subject: G.inventory_purchaseOrder,
|
|
@@ -3907,7 +3932,7 @@ const hr = [
|
|
|
3907
3932
|
subject: G.inventory_shipment,
|
|
3908
3933
|
actions: [t.read, t.update]
|
|
3909
3934
|
}
|
|
3910
|
-
],
|
|
3935
|
+
], Ws = [
|
|
3911
3936
|
{
|
|
3912
3937
|
label: "Purchase Order",
|
|
3913
3938
|
subject: G.inventory_purchaseOrder,
|
|
@@ -3928,7 +3953,7 @@ const hr = [
|
|
|
3928
3953
|
subject: G.inventory_shipment,
|
|
3929
3954
|
actions: [t.read, t.update]
|
|
3930
3955
|
}
|
|
3931
|
-
],
|
|
3956
|
+
], Ts = [
|
|
3932
3957
|
...K,
|
|
3933
3958
|
{
|
|
3934
3959
|
label: "Surcharge",
|
|
@@ -3945,7 +3970,7 @@ const hr = [
|
|
|
3945
3970
|
subject: G.inventory_supplier,
|
|
3946
3971
|
actions: [t.read]
|
|
3947
3972
|
}
|
|
3948
|
-
],
|
|
3973
|
+
], Ss = [
|
|
3949
3974
|
...K,
|
|
3950
3975
|
{
|
|
3951
3976
|
label: "Order Template",
|
|
@@ -3976,10 +4001,10 @@ const hr = [
|
|
|
3976
4001
|
}
|
|
3977
4002
|
];
|
|
3978
4003
|
[
|
|
3979
|
-
...zs,
|
|
3980
4004
|
...Us,
|
|
3981
4005
|
...Ws,
|
|
3982
|
-
...Ts
|
|
4006
|
+
...Ts,
|
|
4007
|
+
...Ss
|
|
3983
4008
|
];
|
|
3984
4009
|
const Dr = [
|
|
3985
4010
|
...K,
|
|
@@ -4050,12 +4075,12 @@ const xr = {
|
|
|
4050
4075
|
[`set_${o.inventory_unitCostHistory}`]: {
|
|
4051
4076
|
key: "sys:inventory:unit_cost_history",
|
|
4052
4077
|
name: "Unit Cost History",
|
|
4053
|
-
permissions:
|
|
4078
|
+
permissions: Rs
|
|
4054
4079
|
},
|
|
4055
4080
|
[`set_${o.inventory_wastageTemplate}`]: {
|
|
4056
4081
|
key: "sys:inventory:wastage_template",
|
|
4057
4082
|
name: "Wastage Template",
|
|
4058
|
-
permissions:
|
|
4083
|
+
permissions: Ns
|
|
4059
4084
|
},
|
|
4060
4085
|
[`set_${o.inventory_closingHistory}`]: {
|
|
4061
4086
|
key: "sys:inventory:closing_history",
|
|
@@ -4065,12 +4090,12 @@ const xr = {
|
|
|
4065
4090
|
[`set_${o.inventory_closingTemplate}`]: {
|
|
4066
4091
|
key: "sys:inventory:closing_template",
|
|
4067
4092
|
name: "Closing Template",
|
|
4068
|
-
permissions:
|
|
4093
|
+
permissions: zs
|
|
4069
4094
|
},
|
|
4070
4095
|
[`set_${o.inventory_closingDraft}`]: {
|
|
4071
4096
|
key: "sys:inventory:closing_draft",
|
|
4072
4097
|
name: "Closing Draft",
|
|
4073
|
-
permissions:
|
|
4098
|
+
permissions: Zs
|
|
4074
4099
|
},
|
|
4075
4100
|
[`set_${o.inventory_ingredient}`]: {
|
|
4076
4101
|
key: "sys:inventory:ingredient",
|
|
@@ -4095,7 +4120,7 @@ const xr = {
|
|
|
4095
4120
|
[`set_${o.inventory_purchaseTransfer}`]: {
|
|
4096
4121
|
key: "sys:inventory:purchase_transfer",
|
|
4097
4122
|
name: "Purchase Transfer",
|
|
4098
|
-
permissions:
|
|
4123
|
+
permissions: Us
|
|
4099
4124
|
},
|
|
4100
4125
|
[`set_${o.inventory_orderDraftApproval}`]: {
|
|
4101
4126
|
key: "sys:inventory:order_draft_approval",
|
|
@@ -4105,17 +4130,17 @@ const xr = {
|
|
|
4105
4130
|
[`set_${o.inventory_transferOut}`]: {
|
|
4106
4131
|
key: "sys:inventory:transfer_out",
|
|
4107
4132
|
name: "Transfer Out",
|
|
4108
|
-
permissions:
|
|
4133
|
+
permissions: Ws
|
|
4109
4134
|
},
|
|
4110
4135
|
[`set_${o.inventory_surcharge}`]: {
|
|
4111
4136
|
key: "sys:inventory:surcharge",
|
|
4112
4137
|
name: "Surcharge",
|
|
4113
|
-
permissions:
|
|
4138
|
+
permissions: Ts
|
|
4114
4139
|
},
|
|
4115
4140
|
[`set_${o.inventory_orderTemplate}`]: {
|
|
4116
4141
|
key: "sys:inventory:order_template",
|
|
4117
4142
|
name: "Order Template",
|
|
4118
|
-
permissions:
|
|
4143
|
+
permissions: Ss
|
|
4119
4144
|
},
|
|
4120
4145
|
[`set_${o.inventory_supplier}`]: {
|
|
4121
4146
|
key: "sys:inventory:supplier",
|
|
@@ -4214,7 +4239,7 @@ const Vr = {
|
|
|
4214
4239
|
]
|
|
4215
4240
|
}
|
|
4216
4241
|
};
|
|
4217
|
-
var
|
|
4242
|
+
var ks = /* @__PURE__ */ ((e) => (e.payment_terminals = "payment::terminals", e))(ks || {});
|
|
4218
4243
|
const Rt = [
|
|
4219
4244
|
{
|
|
4220
4245
|
label: "Payout Account",
|
|
@@ -4223,7 +4248,7 @@ const Rt = [
|
|
|
4223
4248
|
},
|
|
4224
4249
|
{
|
|
4225
4250
|
label: "Payment Terminals",
|
|
4226
|
-
subject:
|
|
4251
|
+
subject: ks.payment_terminals,
|
|
4227
4252
|
actions: [t.read]
|
|
4228
4253
|
}
|
|
4229
4254
|
], Pr = {
|
|
@@ -4255,7 +4280,7 @@ var Re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4255
4280
|
function Or(e) {
|
|
4256
4281
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4257
4282
|
}
|
|
4258
|
-
var
|
|
4283
|
+
var Ks = { exports: {} };
|
|
4259
4284
|
(function(e, A) {
|
|
4260
4285
|
(function(m, c) {
|
|
4261
4286
|
e.exports = c();
|
|
@@ -4632,8 +4657,8 @@ var ks = { exports: {} };
|
|
|
4632
4657
|
}
|
|
4633
4658
|
]);
|
|
4634
4659
|
});
|
|
4635
|
-
})(
|
|
4636
|
-
var qr =
|
|
4660
|
+
})(Ks);
|
|
4661
|
+
var qr = Ks.exports;
|
|
4637
4662
|
const Hr = /* @__PURE__ */ Or(qr);
|
|
4638
4663
|
function Xr(e, A) {
|
|
4639
4664
|
for (var m = 0; m < A.length; m++) {
|
|
@@ -4706,11 +4731,11 @@ function Nt(e) {
|
|
|
4706
4731
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4707
4732
|
return e;
|
|
4708
4733
|
}
|
|
4709
|
-
var
|
|
4734
|
+
var Ls = function(A) {
|
|
4710
4735
|
return 'Cannot execute "' + A.action + '" on "' + A.subjectName + '"';
|
|
4711
|
-
}, ze =
|
|
4736
|
+
}, ze = Ls, Zr = /* @__PURE__ */ function(e) {
|
|
4712
4737
|
Ir(A, e), A.setDefaultMessage = function(n) {
|
|
4713
|
-
n === null ? ze =
|
|
4738
|
+
n === null ? ze = Ls : ze = typeof n == "string" ? function() {
|
|
4714
4739
|
return n;
|
|
4715
4740
|
} : n;
|
|
4716
4741
|
}, A.from = function(n) {
|
|
@@ -4940,7 +4965,7 @@ const ra = () => {
|
|
|
4940
4965
|
};
|
|
4941
4966
|
function aa(e, A, m) {
|
|
4942
4967
|
let c;
|
|
4943
|
-
|
|
4968
|
+
en(m) ? c = {
|
|
4944
4969
|
evaluating: m
|
|
4945
4970
|
} : c = {};
|
|
4946
4971
|
const {
|
|
@@ -4948,7 +4973,7 @@ function aa(e, A, m) {
|
|
|
4948
4973
|
evaluating: u = void 0,
|
|
4949
4974
|
shallow: y = !0,
|
|
4950
4975
|
onError: h = ra
|
|
4951
|
-
} = c, E = ve(!n), Y = y ?
|
|
4976
|
+
} = c, E = ve(!n), Y = y ? tn(A) : ve(A);
|
|
4952
4977
|
let w = 0;
|
|
4953
4978
|
return Wt(async (P) => {
|
|
4954
4979
|
if (!E.value)
|
|
@@ -5008,7 +5033,7 @@ async function ia(e, A) {
|
|
|
5008
5033
|
return {
|
|
5009
5034
|
canAccess: !1,
|
|
5010
5035
|
message: c.message,
|
|
5011
|
-
redirectTo:
|
|
5036
|
+
redirectTo: Ln
|
|
5012
5037
|
};
|
|
5013
5038
|
}
|
|
5014
5039
|
return {
|
|
@@ -5017,7 +5042,7 @@ async function ia(e, A) {
|
|
|
5017
5042
|
}
|
|
5018
5043
|
var Ct = /* @__PURE__ */ ((e) => (e.Loading = "loading", e.Allowed = "allowed", e.Denied = "denied", e))(Ct || {});
|
|
5019
5044
|
function la() {
|
|
5020
|
-
const e =
|
|
5045
|
+
const e = mn(), { sessionUser: A } = Yt();
|
|
5021
5046
|
return aa(
|
|
5022
5047
|
async () => {
|
|
5023
5048
|
e.matched;
|
|
@@ -5086,7 +5111,7 @@ const ca = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
5086
5111
|
__name: "PermissionWrapper",
|
|
5087
5112
|
setup(e) {
|
|
5088
5113
|
const A = la();
|
|
5089
|
-
return (m, c) => Me(A) === Me(Ct).Denied ? (Ve(), ke(Ca, { key: 0 })) : Me(A) === Me(Ct).Allowed ? Tt(m.$slots, "default", { key: 1 }) :
|
|
5114
|
+
return (m, c) => Me(A) === Me(Ct).Denied ? (Ve(), ke(Ca, { key: 0 })) : Me(A) === Me(Ct).Allowed ? Tt(m.$slots, "default", { key: 1 }) : sn("", !0);
|
|
5090
5115
|
}
|
|
5091
5116
|
});
|
|
5092
5117
|
function Ke(e) {
|
|
@@ -5111,18 +5136,18 @@ function ja(e, A) {
|
|
|
5111
5136
|
}
|
|
5112
5137
|
}
|
|
5113
5138
|
let n = null;
|
|
5114
|
-
return
|
|
5115
|
-
u && (await
|
|
5139
|
+
return nn(e, async (u) => {
|
|
5140
|
+
u && (await rn(), c());
|
|
5116
5141
|
}), kt(() => {
|
|
5117
5142
|
window.addEventListener("resize", c), n = new ResizeObserver(c), n.observe(document.body);
|
|
5118
|
-
}),
|
|
5143
|
+
}), an(() => {
|
|
5119
5144
|
window.removeEventListener("resize", c), n == null || n.disconnect(), n = null;
|
|
5120
5145
|
}), m;
|
|
5121
5146
|
}
|
|
5122
5147
|
const Ga = /* @__PURE__ */ xe({
|
|
5123
5148
|
__name: "FullWrapper",
|
|
5124
5149
|
setup(e) {
|
|
5125
|
-
const A =
|
|
5150
|
+
const A = un(), m = ve(null), c = ja(m), n = jt(() => {
|
|
5126
5151
|
var h;
|
|
5127
5152
|
const y = A.isAtMost("sm") ? 56 : 0;
|
|
5128
5153
|
return {
|
|
@@ -5132,7 +5157,7 @@ const Ga = /* @__PURE__ */ xe({
|
|
|
5132
5157
|
return (u, y) => (Ve(), St("div", {
|
|
5133
5158
|
ref_key: "wrapper",
|
|
5134
5159
|
ref: m,
|
|
5135
|
-
style:
|
|
5160
|
+
style: on(n.value)
|
|
5136
5161
|
}, [
|
|
5137
5162
|
Tt(u.$slots, "default")
|
|
5138
5163
|
], 4));
|
|
@@ -5143,16 +5168,16 @@ const Ga = /* @__PURE__ */ xe({
|
|
|
5143
5168
|
return (A, m) => {
|
|
5144
5169
|
const c = Gt("FmCircularProgress");
|
|
5145
5170
|
return Ve(), ke(Ga, null, {
|
|
5146
|
-
default:
|
|
5171
|
+
default: ln(() => [
|
|
5147
5172
|
we("div", Ya, [
|
|
5148
|
-
|
|
5173
|
+
cn(c, { size: "xl" })
|
|
5149
5174
|
])
|
|
5150
5175
|
]),
|
|
5151
5176
|
_: 1
|
|
5152
5177
|
});
|
|
5153
5178
|
};
|
|
5154
5179
|
}
|
|
5155
|
-
}), be = (e) =>
|
|
5180
|
+
}), be = (e) => An({
|
|
5156
5181
|
loader: e,
|
|
5157
5182
|
loadingComponent: Ea
|
|
5158
5183
|
});
|
|
@@ -5166,10 +5191,10 @@ const ht = (e) => ({
|
|
|
5166
5191
|
}
|
|
5167
5192
|
]
|
|
5168
5193
|
}
|
|
5169
|
-
}), xa = Ke(be(() => import("./Main-
|
|
5170
|
-
be(() => import("./AuditLogList-
|
|
5171
|
-
), Fa = Ke(be(() => import("./Main-
|
|
5172
|
-
() => import("./PermissionSetList-
|
|
5194
|
+
}), xa = Ke(be(() => import("./Main-B-4Hty-_.js"))), Va = Ke(be(() => import("./Main-D1Pazgt0.js"))), Pa = Ke(
|
|
5195
|
+
be(() => import("./AuditLogList-DiVmHoNT.js"))
|
|
5196
|
+
), Fa = Ke(be(() => import("./Main-DWXAa4Zw.js"))), Oa = be(() => import("./EmployeeList-DCjDgFLf.js")), qa = be(() => import("./RoleList-CDZ0CwPn.js")), Ha = be(() => import("./TimesheetList-CENyYssG.js")), Xa = be(() => import("./TeamMemberList-CGN9PqHo.js")), Qa = be(
|
|
5197
|
+
() => import("./PermissionSetList-DE1vPSOS.js")
|
|
5173
5198
|
), eo = [
|
|
5174
5199
|
{
|
|
5175
5200
|
path: "/",
|
|
@@ -5235,7 +5260,7 @@ const ht = (e) => ({
|
|
|
5235
5260
|
__name: "Navigator",
|
|
5236
5261
|
emits: ["close-navigation"],
|
|
5237
5262
|
setup(e, { emit: A }) {
|
|
5238
|
-
const m = A, { t: c } = Kt(), n =
|
|
5263
|
+
const m = A, { t: c } = Kt(), n = gn(), { sessionUser: u } = Yt(), y = jt(() => {
|
|
5239
5264
|
var Y;
|
|
5240
5265
|
const E = [];
|
|
5241
5266
|
return E.push({
|
|
@@ -5690,9 +5715,9 @@ var Dt = { exports: {} };
|
|
|
5690
5715
|
if (!me) return [3, 7];
|
|
5691
5716
|
ge = null, fe = null, ye.label = 1;
|
|
5692
5717
|
case 1:
|
|
5693
|
-
return ye.trys.push([1, 5, , 6]), N = JSON.parse(me), Ge = !1, Be = !1, N && N.api === this.api && ((nt = (st = N.evaluationContext) === null || st === void 0 ? void 0 : st.environment) === null || nt === void 0 ? void 0 : nt.apiKey) === ((rt = this.evaluationContext.environment) === null || rt === void 0 ? void 0 : rt.apiKey) && (pe = !0, this.evaluationContext.identity && ((ot = (at = N.evaluationContext) === null || at === void 0 ? void 0 : at.identity) === null || ot === void 0 ? void 0 : ot.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((lt = (it = N.evaluationContext) === null || it === void 0 ? void 0 : it.identity) === null || lt === void 0 ? void 0 : lt.identifier) + " to " + this.evaluationContext.identity.identifier), pe = !1), this.cacheOptions.ttl && (!N.ts || (/* @__PURE__ */ new Date()).valueOf() - N.ts > this.cacheOptions.ttl) && (N.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + N.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - N.ts) + "ms"), pe = !1) : N.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + N.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - N.ts) + "ms"), Be = !0, pe = !0)), pe && (Ge = !0, fe = Y((ct = this.evaluationContext.identity) === null || ct === void 0 ? void 0 : ct.traits, (ut = (At = N.evaluationContext) === null || At === void 0 ? void 0 : At.identity) === null || ut === void 0 ? void 0 : ut.traits), ge = Y(this.flags, N.flags), this.setState(n(n({}, N), { evaluationContext: S(n(n({}, N.evaluationContext), { identity: !((mt = N.evaluationContext) === null || mt === void 0) && mt.identity ? n(n({}, (gt = N.evaluationContext) === null || gt === void 0 ? void 0 : gt.identity), { traits: n(n({}, ((pt = (dt = N.evaluationContext) === null || dt === void 0 ? void 0 : dt.identity) === null || pt === void 0 ? void 0 : pt.traits) || {}), Xe || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", N))), Ge ? (tt = !ne && (!this.cacheOptions.skipAPI || Be), this._onChange(null, { isFromServer: !1, flagsChanged: ge, traitsChanged: fe }, this._loadedState(null, w.CACHE, tt)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && Ge && !Be && this.log("Skipping API, using cache"), tt && this.getFlags().catch(function(
|
|
5718
|
+
return ye.trys.push([1, 5, , 6]), N = JSON.parse(me), Ge = !1, Be = !1, N && N.api === this.api && ((nt = (st = N.evaluationContext) === null || st === void 0 ? void 0 : st.environment) === null || nt === void 0 ? void 0 : nt.apiKey) === ((rt = this.evaluationContext.environment) === null || rt === void 0 ? void 0 : rt.apiKey) && (pe = !0, this.evaluationContext.identity && ((ot = (at = N.evaluationContext) === null || at === void 0 ? void 0 : at.identity) === null || ot === void 0 ? void 0 : ot.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((lt = (it = N.evaluationContext) === null || it === void 0 ? void 0 : it.identity) === null || lt === void 0 ? void 0 : lt.identifier) + " to " + this.evaluationContext.identity.identifier), pe = !1), this.cacheOptions.ttl && (!N.ts || (/* @__PURE__ */ new Date()).valueOf() - N.ts > this.cacheOptions.ttl) && (N.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + N.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - N.ts) + "ms"), pe = !1) : N.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + N.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - N.ts) + "ms"), Be = !0, pe = !0)), pe && (Ge = !0, fe = Y((ct = this.evaluationContext.identity) === null || ct === void 0 ? void 0 : ct.traits, (ut = (At = N.evaluationContext) === null || At === void 0 ? void 0 : At.identity) === null || ut === void 0 ? void 0 : ut.traits), ge = Y(this.flags, N.flags), this.setState(n(n({}, N), { evaluationContext: S(n(n({}, N.evaluationContext), { identity: !((mt = N.evaluationContext) === null || mt === void 0) && mt.identity ? n(n({}, (gt = N.evaluationContext) === null || gt === void 0 ? void 0 : gt.identity), { traits: n(n({}, ((pt = (dt = N.evaluationContext) === null || dt === void 0 ? void 0 : dt.identity) === null || pt === void 0 ? void 0 : pt.traits) || {}), Xe || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", N))), Ge ? (tt = !ne && (!this.cacheOptions.skipAPI || Be), this._onChange(null, { isFromServer: !1, flagsChanged: ge, traitsChanged: fe }, this._loadedState(null, w.CACHE, tt)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && Ge && !Be && this.log("Skipping API, using cache"), tt && this.getFlags().catch(function(Js) {
|
|
5694
5719
|
var yt;
|
|
5695
|
-
(yt = Xt.onError) === null || yt === void 0 || yt.call(Xt,
|
|
5720
|
+
(yt = Xt.onError) === null || yt === void 0 || yt.call(Xt, Js);
|
|
5696
5721
|
}), [3, 4]) : [3, 2];
|
|
5697
5722
|
case 2:
|
|
5698
5723
|
return ne ? [3, 4] : [4, this.getFlags()];
|
|
@@ -6142,7 +6167,7 @@ const to = /* @__PURE__ */ xe({
|
|
|
6142
6167
|
};
|
|
6143
6168
|
}
|
|
6144
6169
|
}), so = () => {
|
|
6145
|
-
const e = [
|
|
6170
|
+
const e = [Rn, Vn, wn, Kn], A = new Set(e.flatMap((m) => Object.keys(m)));
|
|
6146
6171
|
return Array.from(A).reduce(
|
|
6147
6172
|
(m, c) => {
|
|
6148
6173
|
const n = c;
|
|
@@ -6155,8 +6180,8 @@ const to = /* @__PURE__ */ xe({
|
|
|
6155
6180
|
);
|
|
6156
6181
|
};
|
|
6157
6182
|
export {
|
|
6158
|
-
Ja as C,
|
|
6159
6183
|
_a as G,
|
|
6184
|
+
Fr as P,
|
|
6160
6185
|
T as R,
|
|
6161
6186
|
Ga as _,
|
|
6162
6187
|
Ea as a,
|
|
@@ -6166,8 +6191,8 @@ export {
|
|
|
6166
6191
|
ea as e,
|
|
6167
6192
|
to as f,
|
|
6168
6193
|
Or as g,
|
|
6169
|
-
Fr as h,
|
|
6170
6194
|
so as i,
|
|
6195
|
+
Ja as k,
|
|
6171
6196
|
t as l,
|
|
6172
6197
|
$a as m,
|
|
6173
6198
|
eo as r,
|