@feedmepos/mf-hrm-portal 2.0.24-dev.13 → 2.0.24-dev.14
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-CtneTBoV.js +1145 -0
- package/dist/{EmployeeList-DSotV-7r.js → EmployeeList-C7dIO8gr.js} +78 -78
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js → FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js} +1 -1
- package/dist/{Main-DiqWFbg6.js → Main-3gbHRwy4.js} +6 -6
- package/dist/{Main-pf8KD_ew.js → Main-CU92m_i1.js} +9 -9
- package/dist/{Main-Du7lPAnd.js → Main-D5PmpNiB.js} +6 -6
- package/dist/{PermissionSetList-BkP_yWYv.js → PermissionSetList-Dej3hhUp.js} +6 -6
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9fM3DpC.js +3457 -0
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-CwHZrP4X.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-DiCE_AYD.js} +1 -1
- package/dist/{RoleList-i0HAJQ9A.js → RoleList-B98ExzJE.js} +7 -7
- package/dist/SelectFilter-C61IZSID.js +269 -0
- package/dist/{TeamMemberList-BUCacyhN.js → TeamMemberList-YTHgBCoO.js} +12 -12
- package/dist/{TimesheetList-BASAcu4x.js → TimesheetList-2HclOof1.js} +10 -10
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-BcXV31j3.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-BBHwVX-k.js} +2 -2
- package/dist/{app-BFiZ8ZXX.js → app-CoIsLUsi.js} +222 -203
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-UHgMNuVS.js → dayjs.min-JqoERYFc.js} +1 -1
- package/dist/{employee-CzYb5bvh.js → employee-D_oJJt4e.js} +3 -3
- package/dist/{iteration-BjUlb3UE.js → iteration-CmwYwOHJ.js} +1 -1
- package/dist/{lodash-B-oxtG88.js → lodash-DISd2c6W.js} +1 -1
- package/dist/{rule-C0LG2tV9.js → rule-B4b6tRUV.js} +2 -2
- package/dist/src/api/audit-log/index.d.ts +17 -0
- package/dist/src/components/form/SelectFilter.vue.d.ts +3 -0
- package/dist/src/stores/team.d.ts +4 -1
- package/dist/src/views/audit-log/locales/index.d.ts +24 -16
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-C59yWeEW.js → useAppStore-m4x4qFHC.js} +1 -1
- package/dist/{useLoading-CTdlaX4S.js → useLoading-BcujhoYe.js} +1 -1
- package/dist/{useReportPermissions-BZcS5o0u.js → useReportPermissions-bHlIA-k-.js} +3 -3
- package/package.json +2 -2
- package/dist/AuditLogList-_jMTq9y8.js +0 -1037
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BURg3zZO.js +0 -3457
- package/dist/SelectFilter-DUj7GBtT.js +0 -251
|
@@ -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,13 +21,16 @@ const Lt = {
|
|
|
21
21
|
dateRange: {
|
|
22
22
|
placeholder: "Select date range"
|
|
23
23
|
},
|
|
24
|
+
user: {
|
|
25
|
+
feedmeAdmin: "FeedMe Admin"
|
|
26
|
+
},
|
|
24
27
|
filter: {
|
|
25
28
|
user_placeholder: "User",
|
|
26
29
|
selected_user_prefix: "User: ",
|
|
27
30
|
subject_placeholder: "Subject",
|
|
28
31
|
selected_subject_prefix: "Subject: ",
|
|
29
|
-
action_placeholder: "Action",
|
|
30
|
-
selected_action_prefix: "Action: ",
|
|
32
|
+
action_placeholder: "Action Type",
|
|
33
|
+
selected_action_prefix: "Action Type: ",
|
|
31
34
|
status_placeholder: "Status",
|
|
32
35
|
selected_status_prefix: "Status: ",
|
|
33
36
|
outcome_placeholder: "Status",
|
|
@@ -48,14 +51,14 @@ const Lt = {
|
|
|
48
51
|
payment: "Payment",
|
|
49
52
|
menu: "Menu",
|
|
50
53
|
crm: "CRM",
|
|
54
|
+
other: "Other",
|
|
51
55
|
more: "More"
|
|
52
56
|
},
|
|
53
57
|
columns: {
|
|
54
58
|
timestamp: "Date",
|
|
55
59
|
user: "User",
|
|
56
|
-
role: "Role",
|
|
57
60
|
subject: "Subject",
|
|
58
|
-
action: "Action",
|
|
61
|
+
action: "Action Description",
|
|
59
62
|
operation: "Operation",
|
|
60
63
|
outcome: "Status"
|
|
61
64
|
},
|
|
@@ -87,8 +90,8 @@ const Lt = {
|
|
|
87
90
|
timestamp: "Date",
|
|
88
91
|
userName: "User Name",
|
|
89
92
|
userPhone: "Phone",
|
|
90
|
-
subject: "
|
|
91
|
-
action: "Action",
|
|
93
|
+
subject: "Subject",
|
|
94
|
+
action: "Action Description",
|
|
92
95
|
operation: "Operation",
|
|
93
96
|
outcome: "Status",
|
|
94
97
|
businessId: "Business ID",
|
|
@@ -106,14 +109,13 @@ const Lt = {
|
|
|
106
109
|
email: "E-mail",
|
|
107
110
|
action: "Action",
|
|
108
111
|
operation: "Operation",
|
|
109
|
-
role: "Role",
|
|
110
112
|
subject: "Subject",
|
|
111
113
|
field: "Field",
|
|
112
114
|
outcome: "Outcome",
|
|
113
115
|
business: "Business",
|
|
114
116
|
restaurant: "Restaurant",
|
|
115
|
-
|
|
116
|
-
|
|
117
|
+
eventDetails: "Event Details",
|
|
118
|
+
actionDescription: "Action Description",
|
|
117
119
|
metadata: "Metadata",
|
|
118
120
|
reason: "Reason",
|
|
119
121
|
resolvedFrom: "Resolved From",
|
|
@@ -134,14 +136,14 @@ const Lt = {
|
|
|
134
136
|
requestPath: "Request Path",
|
|
135
137
|
requestBody: "Request Body"
|
|
136
138
|
}
|
|
137
|
-
},
|
|
139
|
+
}, dn = {
|
|
138
140
|
date: Lt,
|
|
139
141
|
auditLog: Jt
|
|
140
|
-
},
|
|
142
|
+
}, pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
141
143
|
__proto__: null,
|
|
142
144
|
auditLog: Jt,
|
|
143
145
|
date: Lt,
|
|
144
|
-
default:
|
|
146
|
+
default: dn
|
|
145
147
|
}, Symbol.toStringTag, { value: "Module" })), _t = {
|
|
146
148
|
predefinedRanges: {
|
|
147
149
|
today: "วันนี้",
|
|
@@ -158,6 +160,9 @@ const Lt = {
|
|
|
158
160
|
dateRange: {
|
|
159
161
|
placeholder: "เลือกช่วงวันที่"
|
|
160
162
|
},
|
|
163
|
+
user: {
|
|
164
|
+
feedmeAdmin: "ผู้ดูแล FeedMe"
|
|
165
|
+
},
|
|
161
166
|
filter: {
|
|
162
167
|
user_placeholder: "ผู้ใช้",
|
|
163
168
|
selected_user_prefix: "ผู้ใช้: ",
|
|
@@ -185,12 +190,12 @@ const Lt = {
|
|
|
185
190
|
payment: "การชำระเงิน",
|
|
186
191
|
menu: "เมนู",
|
|
187
192
|
crm: "CRM",
|
|
193
|
+
other: "อื่นๆ",
|
|
188
194
|
more: "เพิ่มเติม"
|
|
189
195
|
},
|
|
190
196
|
columns: {
|
|
191
197
|
timestamp: "วันที่",
|
|
192
198
|
user: "ผู้ใช้",
|
|
193
|
-
role: "ตำแหน่ง",
|
|
194
199
|
subject: "หัวข้อ",
|
|
195
200
|
action: "การดำเนินการ",
|
|
196
201
|
operation: "รายละเอียดการดำเนินการ",
|
|
@@ -243,14 +248,13 @@ const Lt = {
|
|
|
243
248
|
email: "อีเมล",
|
|
244
249
|
action: "การดำเนินการ",
|
|
245
250
|
operation: "รายละเอียดการดำเนินการ",
|
|
246
|
-
role: "ตำแหน่ง",
|
|
247
251
|
subject: "หัวข้อ",
|
|
248
252
|
field: "ฟิลด์",
|
|
249
253
|
outcome: "ผลลัพธ์",
|
|
250
254
|
business: "ธุรกิจ",
|
|
251
255
|
restaurant: "ร้านอาหาร",
|
|
252
|
-
|
|
253
|
-
|
|
256
|
+
eventDetails: "รายละเอียดเหตุการณ์",
|
|
257
|
+
actionDescription: "คำอธิบายการกระทำ",
|
|
254
258
|
metadata: "ข้อมูลเพิ่มเติม",
|
|
255
259
|
reason: "เหตุผล",
|
|
256
260
|
resolvedFrom: "แก้ไขจาก",
|
|
@@ -272,14 +276,14 @@ const Lt = {
|
|
|
272
276
|
requestPath: "URL ที่เข้าถึง",
|
|
273
277
|
requestBody: "เนื้อหาคำขอ"
|
|
274
278
|
}
|
|
275
|
-
},
|
|
279
|
+
}, bn = {
|
|
276
280
|
date: _t,
|
|
277
281
|
auditLog: $t
|
|
278
|
-
},
|
|
282
|
+
}, fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
279
283
|
__proto__: null,
|
|
280
284
|
auditLog: $t,
|
|
281
285
|
date: _t,
|
|
282
|
-
default:
|
|
286
|
+
default: bn
|
|
283
287
|
}, Symbol.toStringTag, { value: "Module" })), es = {
|
|
284
288
|
predefinedRanges: {
|
|
285
289
|
today: "今天",
|
|
@@ -296,13 +300,16 @@ const Lt = {
|
|
|
296
300
|
dateRange: {
|
|
297
301
|
placeholder: "选择日期范围"
|
|
298
302
|
},
|
|
303
|
+
user: {
|
|
304
|
+
feedmeAdmin: "FeedMe 管理员"
|
|
305
|
+
},
|
|
299
306
|
filter: {
|
|
300
307
|
user_placeholder: "用户",
|
|
301
308
|
selected_user_prefix: "用户: ",
|
|
302
309
|
subject_placeholder: "主题",
|
|
303
310
|
selected_subject_prefix: "主题: ",
|
|
304
|
-
action_placeholder: "
|
|
305
|
-
selected_action_prefix: "
|
|
311
|
+
action_placeholder: "操作类型",
|
|
312
|
+
selected_action_prefix: "操作类型: ",
|
|
306
313
|
status_placeholder: "状态",
|
|
307
314
|
selected_status_prefix: "状态: ",
|
|
308
315
|
outcome_placeholder: "状态",
|
|
@@ -323,14 +330,14 @@ const Lt = {
|
|
|
323
330
|
payment: "支付",
|
|
324
331
|
menu: "菜单",
|
|
325
332
|
crm: "CRM",
|
|
333
|
+
other: "其他",
|
|
326
334
|
more: "更多"
|
|
327
335
|
},
|
|
328
336
|
columns: {
|
|
329
337
|
timestamp: "日期",
|
|
330
338
|
user: "用户",
|
|
331
|
-
role: "角色",
|
|
332
339
|
subject: "主题",
|
|
333
|
-
action: "
|
|
340
|
+
action: "操作说明",
|
|
334
341
|
operation: "操作说明",
|
|
335
342
|
outcome: "状态"
|
|
336
343
|
},
|
|
@@ -362,8 +369,8 @@ const Lt = {
|
|
|
362
369
|
timestamp: "日期",
|
|
363
370
|
userName: "用户名",
|
|
364
371
|
userPhone: "手机号",
|
|
365
|
-
subject: "
|
|
366
|
-
action: "
|
|
372
|
+
subject: "主题",
|
|
373
|
+
action: "操作说明",
|
|
367
374
|
operation: "操作说明",
|
|
368
375
|
outcome: "状态",
|
|
369
376
|
businessId: "商家 ID",
|
|
@@ -381,14 +388,13 @@ const Lt = {
|
|
|
381
388
|
email: "邮箱",
|
|
382
389
|
action: "操作",
|
|
383
390
|
operation: "操作说明",
|
|
384
|
-
role: "角色",
|
|
385
391
|
subject: "主题",
|
|
386
392
|
field: "字段",
|
|
387
393
|
outcome: "结果",
|
|
388
394
|
business: "商家",
|
|
389
395
|
restaurant: "餐厅",
|
|
390
|
-
|
|
391
|
-
|
|
396
|
+
eventDetails: "事件详情",
|
|
397
|
+
actionDescription: "操作说明",
|
|
392
398
|
metadata: "元数据",
|
|
393
399
|
reason: "原因",
|
|
394
400
|
resolvedFrom: "解析来源",
|
|
@@ -410,14 +416,14 @@ const Lt = {
|
|
|
410
416
|
requestPath: "请求路径",
|
|
411
417
|
requestBody: "请求内容"
|
|
412
418
|
}
|
|
413
|
-
},
|
|
419
|
+
}, yn = {
|
|
414
420
|
date: es,
|
|
415
421
|
auditLog: ts
|
|
416
|
-
},
|
|
422
|
+
}, vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
417
423
|
__proto__: null,
|
|
418
424
|
auditLog: ts,
|
|
419
425
|
date: es,
|
|
420
|
-
default:
|
|
426
|
+
default: yn
|
|
421
427
|
}, Symbol.toStringTag, { value: "Module" })), ss = {
|
|
422
428
|
predefinedRanges: {
|
|
423
429
|
today: "今天",
|
|
@@ -434,13 +440,16 @@ const Lt = {
|
|
|
434
440
|
dateRange: {
|
|
435
441
|
placeholder: "選擇日期範圍"
|
|
436
442
|
},
|
|
443
|
+
user: {
|
|
444
|
+
feedmeAdmin: "FeedMe 管理員"
|
|
445
|
+
},
|
|
437
446
|
filter: {
|
|
438
447
|
user_placeholder: "用戶",
|
|
439
448
|
selected_user_prefix: "用戶: ",
|
|
440
449
|
subject_placeholder: "主題",
|
|
441
450
|
selected_subject_prefix: "主題: ",
|
|
442
|
-
action_placeholder: "
|
|
443
|
-
selected_action_prefix: "
|
|
451
|
+
action_placeholder: "操作類型",
|
|
452
|
+
selected_action_prefix: "操作類型: ",
|
|
444
453
|
status_placeholder: "狀態",
|
|
445
454
|
selected_status_prefix: "狀態: ",
|
|
446
455
|
outcome_placeholder: "狀態",
|
|
@@ -461,14 +470,14 @@ const Lt = {
|
|
|
461
470
|
payment: "支付",
|
|
462
471
|
menu: "菜單",
|
|
463
472
|
crm: "CRM",
|
|
473
|
+
other: "其他",
|
|
464
474
|
more: "更多"
|
|
465
475
|
},
|
|
466
476
|
columns: {
|
|
467
477
|
timestamp: "日期",
|
|
468
478
|
user: "用戶",
|
|
469
|
-
role: "角色",
|
|
470
479
|
subject: "主題",
|
|
471
|
-
action: "
|
|
480
|
+
action: "操作說明",
|
|
472
481
|
operation: "操作說明",
|
|
473
482
|
outcome: "狀態"
|
|
474
483
|
},
|
|
@@ -500,8 +509,8 @@ const Lt = {
|
|
|
500
509
|
timestamp: "日期",
|
|
501
510
|
userName: "用戶名稱",
|
|
502
511
|
userPhone: "手機號碼",
|
|
503
|
-
subject: "
|
|
504
|
-
action: "
|
|
512
|
+
subject: "主題",
|
|
513
|
+
action: "操作說明",
|
|
505
514
|
operation: "操作說明",
|
|
506
515
|
outcome: "狀態",
|
|
507
516
|
businessId: "商家 ID",
|
|
@@ -519,14 +528,13 @@ const Lt = {
|
|
|
519
528
|
email: "電子郵件",
|
|
520
529
|
action: "操作",
|
|
521
530
|
operation: "操作說明",
|
|
522
|
-
role: "角色",
|
|
523
531
|
subject: "主題",
|
|
524
532
|
field: "字段",
|
|
525
533
|
outcome: "結果",
|
|
526
534
|
business: "商家",
|
|
527
535
|
restaurant: "餐廳",
|
|
528
|
-
|
|
529
|
-
|
|
536
|
+
eventDetails: "事件詳情",
|
|
537
|
+
actionDescription: "操作說明",
|
|
530
538
|
metadata: "元數據",
|
|
531
539
|
reason: "原因",
|
|
532
540
|
resolvedFrom: "解析來源",
|
|
@@ -548,19 +556,19 @@ const Lt = {
|
|
|
548
556
|
requestPath: "請求路徑",
|
|
549
557
|
requestBody: "請求內容"
|
|
550
558
|
}
|
|
551
|
-
},
|
|
559
|
+
}, hn = {
|
|
552
560
|
date: ss,
|
|
553
561
|
auditLog: ns
|
|
554
|
-
},
|
|
562
|
+
}, Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
555
563
|
__proto__: null,
|
|
556
564
|
auditLog: ns,
|
|
557
565
|
date: ss,
|
|
558
|
-
default:
|
|
559
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
560
|
-
"en-US":
|
|
561
|
-
"zh-CN":
|
|
562
|
-
"th-TH":
|
|
563
|
-
"zh-Hant":
|
|
566
|
+
default: hn
|
|
567
|
+
}, Symbol.toStringTag, { value: "Module" })), wn = {
|
|
568
|
+
"en-US": pn,
|
|
569
|
+
"zh-CN": vn,
|
|
570
|
+
"th-TH": fn,
|
|
571
|
+
"zh-Hant": Bn
|
|
564
572
|
}, rs = {
|
|
565
573
|
employee: {
|
|
566
574
|
title: "Employee",
|
|
@@ -761,11 +769,11 @@ const Lt = {
|
|
|
761
769
|
placeholder: "Search restaurant"
|
|
762
770
|
}
|
|
763
771
|
}
|
|
764
|
-
},
|
|
772
|
+
}, Mn = {
|
|
765
773
|
hr: rs
|
|
766
|
-
},
|
|
774
|
+
}, Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
767
775
|
__proto__: null,
|
|
768
|
-
default:
|
|
776
|
+
default: Mn,
|
|
769
777
|
hr: rs
|
|
770
778
|
}, Symbol.toStringTag, { value: "Module" })), as = {
|
|
771
779
|
employee: {
|
|
@@ -966,11 +974,11 @@ const Lt = {
|
|
|
966
974
|
placeholder: "ค้นหาร้านอาหาร"
|
|
967
975
|
}
|
|
968
976
|
}
|
|
969
|
-
},
|
|
977
|
+
}, Dn = {
|
|
970
978
|
hr: as
|
|
971
|
-
},
|
|
979
|
+
}, jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
972
980
|
__proto__: null,
|
|
973
|
-
default:
|
|
981
|
+
default: Dn,
|
|
974
982
|
hr: as
|
|
975
983
|
}, Symbol.toStringTag, { value: "Module" })), os = {
|
|
976
984
|
employee: {
|
|
@@ -1172,11 +1180,11 @@ const Lt = {
|
|
|
1172
1180
|
placeholder: "搜索餐厅"
|
|
1173
1181
|
}
|
|
1174
1182
|
}
|
|
1175
|
-
},
|
|
1183
|
+
}, Gn = {
|
|
1176
1184
|
hr: os
|
|
1177
|
-
},
|
|
1185
|
+
}, Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1178
1186
|
__proto__: null,
|
|
1179
|
-
default:
|
|
1187
|
+
default: Gn,
|
|
1180
1188
|
hr: os
|
|
1181
1189
|
}, Symbol.toStringTag, { value: "Module" })), is = {
|
|
1182
1190
|
employee: {
|
|
@@ -1373,17 +1381,17 @@ const Lt = {
|
|
|
1373
1381
|
subtitle: ""
|
|
1374
1382
|
}
|
|
1375
1383
|
}
|
|
1376
|
-
},
|
|
1384
|
+
}, En = {
|
|
1377
1385
|
hr: is
|
|
1378
|
-
},
|
|
1386
|
+
}, xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1379
1387
|
__proto__: null,
|
|
1380
|
-
default:
|
|
1388
|
+
default: En,
|
|
1381
1389
|
hr: is
|
|
1382
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1383
|
-
"en-US":
|
|
1384
|
-
"zh-CN":
|
|
1385
|
-
"th-TH":
|
|
1386
|
-
"zh-Hant":
|
|
1390
|
+
}, Symbol.toStringTag, { value: "Module" })), Vn = {
|
|
1391
|
+
"en-US": Cn,
|
|
1392
|
+
"zh-CN": Yn,
|
|
1393
|
+
"th-TH": jn,
|
|
1394
|
+
"zh-Hant": xn
|
|
1387
1395
|
}, ls = {
|
|
1388
1396
|
title: "Team members",
|
|
1389
1397
|
actions: {
|
|
@@ -1610,12 +1618,12 @@ const Lt = {
|
|
|
1610
1618
|
permissions: "Permissions"
|
|
1611
1619
|
}
|
|
1612
1620
|
}
|
|
1613
|
-
},
|
|
1621
|
+
}, Pn = {
|
|
1614
1622
|
team: ls,
|
|
1615
1623
|
permissionSet: cs
|
|
1616
|
-
},
|
|
1624
|
+
}, Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1617
1625
|
__proto__: null,
|
|
1618
|
-
default:
|
|
1626
|
+
default: Pn,
|
|
1619
1627
|
permissionSet: cs,
|
|
1620
1628
|
team: ls
|
|
1621
1629
|
}, Symbol.toStringTag, { value: "Module" })), As = {
|
|
@@ -1844,12 +1852,12 @@ const Lt = {
|
|
|
1844
1852
|
permissions: "สิทธิ์"
|
|
1845
1853
|
}
|
|
1846
1854
|
}
|
|
1847
|
-
},
|
|
1855
|
+
}, On = {
|
|
1848
1856
|
team: As,
|
|
1849
1857
|
permissionSet: us
|
|
1850
|
-
},
|
|
1858
|
+
}, qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1851
1859
|
__proto__: null,
|
|
1852
|
-
default:
|
|
1860
|
+
default: On,
|
|
1853
1861
|
permissionSet: us,
|
|
1854
1862
|
team: As
|
|
1855
1863
|
}, Symbol.toStringTag, { value: "Module" })), ms = {
|
|
@@ -2078,12 +2086,12 @@ const Lt = {
|
|
|
2078
2086
|
permissions: "权限"
|
|
2079
2087
|
}
|
|
2080
2088
|
}
|
|
2081
|
-
},
|
|
2089
|
+
}, Hn = {
|
|
2082
2090
|
team: ms,
|
|
2083
2091
|
permissionSet: gs
|
|
2084
|
-
},
|
|
2092
|
+
}, Xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2085
2093
|
__proto__: null,
|
|
2086
|
-
default:
|
|
2094
|
+
default: Hn,
|
|
2087
2095
|
permissionSet: gs,
|
|
2088
2096
|
team: ms
|
|
2089
2097
|
}, Symbol.toStringTag, { value: "Module" })), ds = {
|
|
@@ -2319,19 +2327,19 @@ const Lt = {
|
|
|
2319
2327
|
permissions: "權限"
|
|
2320
2328
|
}
|
|
2321
2329
|
}
|
|
2322
|
-
},
|
|
2330
|
+
}, Qn = {
|
|
2323
2331
|
team: ds,
|
|
2324
2332
|
permissionSet: ps
|
|
2325
|
-
},
|
|
2333
|
+
}, In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2326
2334
|
__proto__: null,
|
|
2327
|
-
default:
|
|
2335
|
+
default: Qn,
|
|
2328
2336
|
permissionSet: ps,
|
|
2329
2337
|
team: ds
|
|
2330
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2331
|
-
"en-US":
|
|
2332
|
-
"zh-CN":
|
|
2333
|
-
"th-TH":
|
|
2334
|
-
"zh-Hant":
|
|
2338
|
+
}, Symbol.toStringTag, { value: "Module" })), Rn = {
|
|
2339
|
+
"en-US": Fn,
|
|
2340
|
+
"zh-CN": Xn,
|
|
2341
|
+
"th-TH": qn,
|
|
2342
|
+
"zh-Hant": In
|
|
2335
2343
|
}, bs = {
|
|
2336
2344
|
title: "POS Grant",
|
|
2337
2345
|
actions: {
|
|
@@ -2386,11 +2394,11 @@ const Lt = {
|
|
|
2386
2394
|
passcode: {
|
|
2387
2395
|
copied: "Passcode copied"
|
|
2388
2396
|
}
|
|
2389
|
-
},
|
|
2397
|
+
}, Nn = {
|
|
2390
2398
|
grantUser: bs
|
|
2391
|
-
},
|
|
2399
|
+
}, Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2392
2400
|
__proto__: null,
|
|
2393
|
-
default:
|
|
2401
|
+
default: Nn,
|
|
2394
2402
|
grantUser: bs
|
|
2395
2403
|
}, Symbol.toStringTag, { value: "Module" })), fs = {
|
|
2396
2404
|
title: "POS Grant",
|
|
@@ -2446,11 +2454,11 @@ const Lt = {
|
|
|
2446
2454
|
passcode: {
|
|
2447
2455
|
copied: "คัดลอกรหัสผ่านแล้ว"
|
|
2448
2456
|
}
|
|
2449
|
-
},
|
|
2457
|
+
}, zn = {
|
|
2450
2458
|
grantUser: fs
|
|
2451
|
-
},
|
|
2459
|
+
}, Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2452
2460
|
__proto__: null,
|
|
2453
|
-
default:
|
|
2461
|
+
default: zn,
|
|
2454
2462
|
grantUser: fs
|
|
2455
2463
|
}, Symbol.toStringTag, { value: "Module" })), ys = {
|
|
2456
2464
|
title: "POS 授予",
|
|
@@ -2506,11 +2514,11 @@ const Lt = {
|
|
|
2506
2514
|
passcode: {
|
|
2507
2515
|
copied: "密码已复制"
|
|
2508
2516
|
}
|
|
2509
|
-
},
|
|
2517
|
+
}, Wn = {
|
|
2510
2518
|
grantUser: ys
|
|
2511
|
-
},
|
|
2519
|
+
}, Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2512
2520
|
__proto__: null,
|
|
2513
|
-
default:
|
|
2521
|
+
default: Wn,
|
|
2514
2522
|
grantUser: ys
|
|
2515
2523
|
}, Symbol.toStringTag, { value: "Module" })), vs = {
|
|
2516
2524
|
title: "POS 授予",
|
|
@@ -2566,19 +2574,19 @@ const Lt = {
|
|
|
2566
2574
|
passcode: {
|
|
2567
2575
|
copied: "密碼已複製"
|
|
2568
2576
|
}
|
|
2569
|
-
},
|
|
2577
|
+
}, Sn = {
|
|
2570
2578
|
grantUser: vs
|
|
2571
|
-
},
|
|
2579
|
+
}, kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2572
2580
|
__proto__: null,
|
|
2573
|
-
default:
|
|
2581
|
+
default: Sn,
|
|
2574
2582
|
grantUser: vs
|
|
2575
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2576
|
-
"en-US":
|
|
2577
|
-
"zh-CN":
|
|
2578
|
-
"th-TH":
|
|
2579
|
-
"zh-Hant":
|
|
2583
|
+
}, Symbol.toStringTag, { value: "Module" })), Kn = {
|
|
2584
|
+
"en-US": Zn,
|
|
2585
|
+
"zh-CN": Tn,
|
|
2586
|
+
"th-TH": Un,
|
|
2587
|
+
"zh-Hant": kn
|
|
2580
2588
|
};
|
|
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.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 || {});
|
|
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.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 || {});
|
|
2582
2590
|
const b = {
|
|
2583
2591
|
general: "General",
|
|
2584
2592
|
inventory: "Inventory",
|
|
@@ -2592,7 +2600,7 @@ const b = {
|
|
|
2592
2600
|
reports: "Default Report",
|
|
2593
2601
|
customReports: "Custom Report",
|
|
2594
2602
|
miniProgram: "Mini Program"
|
|
2595
|
-
},
|
|
2603
|
+
}, Ln = "access-denied", We = {
|
|
2596
2604
|
Action: t,
|
|
2597
2605
|
Subject: {
|
|
2598
2606
|
Business: o,
|
|
@@ -2988,6 +2996,12 @@ const b = {
|
|
|
2988
2996
|
actions: [t.manage],
|
|
2989
2997
|
category: b.crm
|
|
2990
2998
|
},
|
|
2999
|
+
crmMarketingMaterial: {
|
|
3000
|
+
label: "Marketing Material Management",
|
|
3001
|
+
subject: o.crm_marketingMaterial,
|
|
3002
|
+
actions: [t.manage],
|
|
3003
|
+
category: b.crm
|
|
3004
|
+
},
|
|
2991
3005
|
// Payment
|
|
2992
3006
|
paymentPayoutAccount: {
|
|
2993
3007
|
label: "Payout Account Management",
|
|
@@ -3250,7 +3264,7 @@ const R = [
|
|
|
3250
3264
|
subject: q.crm,
|
|
3251
3265
|
actions: [t.read]
|
|
3252
3266
|
}
|
|
3253
|
-
], $ = (...e) => e.flat(),
|
|
3267
|
+
], $ = (...e) => e.flat(), Jn = [
|
|
3254
3268
|
...R,
|
|
3255
3269
|
{
|
|
3256
3270
|
label: "User",
|
|
@@ -3262,7 +3276,7 @@ const R = [
|
|
|
3262
3276
|
t.delete
|
|
3263
3277
|
]
|
|
3264
3278
|
}
|
|
3265
|
-
],
|
|
3279
|
+
], _n = [
|
|
3266
3280
|
...R,
|
|
3267
3281
|
{
|
|
3268
3282
|
label: "Segmentation",
|
|
@@ -3298,7 +3312,7 @@ const R = [
|
|
|
3298
3312
|
t.delete
|
|
3299
3313
|
]
|
|
3300
3314
|
}
|
|
3301
|
-
],
|
|
3315
|
+
], $n = [
|
|
3302
3316
|
...R,
|
|
3303
3317
|
{
|
|
3304
3318
|
label: "Location",
|
|
@@ -3310,7 +3324,7 @@ const R = [
|
|
|
3310
3324
|
t.delete
|
|
3311
3325
|
]
|
|
3312
3326
|
}
|
|
3313
|
-
],
|
|
3327
|
+
], er = [
|
|
3314
3328
|
...R,
|
|
3315
3329
|
{
|
|
3316
3330
|
label: "Effect",
|
|
@@ -3322,14 +3336,14 @@ const R = [
|
|
|
3322
3336
|
t.delete
|
|
3323
3337
|
]
|
|
3324
3338
|
}
|
|
3325
|
-
],
|
|
3339
|
+
], tr = [
|
|
3326
3340
|
...R,
|
|
3327
3341
|
{
|
|
3328
3342
|
label: "Setting",
|
|
3329
3343
|
subject: q.crm_setting,
|
|
3330
3344
|
actions: [t.read, t.update]
|
|
3331
3345
|
}
|
|
3332
|
-
],
|
|
3346
|
+
], sr = [
|
|
3333
3347
|
...R,
|
|
3334
3348
|
{
|
|
3335
3349
|
label: "Reward",
|
|
@@ -3365,7 +3379,7 @@ const R = [
|
|
|
3365
3379
|
t.delete
|
|
3366
3380
|
]
|
|
3367
3381
|
}
|
|
3368
|
-
],
|
|
3382
|
+
], Ds = [
|
|
3369
3383
|
...R,
|
|
3370
3384
|
{
|
|
3371
3385
|
label: "Marketing Material",
|
|
@@ -3377,7 +3391,7 @@ const R = [
|
|
|
3377
3391
|
t.delete
|
|
3378
3392
|
]
|
|
3379
3393
|
}
|
|
3380
|
-
],
|
|
3394
|
+
], js = [
|
|
3381
3395
|
...R,
|
|
3382
3396
|
{
|
|
3383
3397
|
label: "Analytic",
|
|
@@ -3480,7 +3494,7 @@ const R = [
|
|
|
3480
3494
|
t.delete
|
|
3481
3495
|
]
|
|
3482
3496
|
}
|
|
3483
|
-
],
|
|
3497
|
+
], Gs = [
|
|
3484
3498
|
...R,
|
|
3485
3499
|
{
|
|
3486
3500
|
label: "Loyalty Member",
|
|
@@ -3492,7 +3506,7 @@ const R = [
|
|
|
3492
3506
|
t.delete
|
|
3493
3507
|
]
|
|
3494
3508
|
}
|
|
3495
|
-
],
|
|
3509
|
+
], Ys = [
|
|
3496
3510
|
...R,
|
|
3497
3511
|
{
|
|
3498
3512
|
label: "Loyalty Segment",
|
|
@@ -3504,7 +3518,7 @@ const R = [
|
|
|
3504
3518
|
t.delete
|
|
3505
3519
|
]
|
|
3506
3520
|
}
|
|
3507
|
-
],
|
|
3521
|
+
], Es = [
|
|
3508
3522
|
...R,
|
|
3509
3523
|
{
|
|
3510
3524
|
label: "Loyalty Card",
|
|
@@ -3516,43 +3530,43 @@ const R = [
|
|
|
3516
3530
|
t.delete
|
|
3517
3531
|
]
|
|
3518
3532
|
}
|
|
3519
|
-
],
|
|
3533
|
+
], xs = [
|
|
3520
3534
|
...R,
|
|
3521
3535
|
{
|
|
3522
3536
|
label: "Bin",
|
|
3523
3537
|
subject: q.crm_bin,
|
|
3524
3538
|
actions: [t.read, t.update, t.delete]
|
|
3525
3539
|
}
|
|
3526
|
-
],
|
|
3540
|
+
], Vs = $(
|
|
3527
3541
|
oe,
|
|
3528
3542
|
nr
|
|
3529
|
-
),
|
|
3543
|
+
), Ps = $(
|
|
3530
3544
|
oe,
|
|
3531
3545
|
rr
|
|
3532
|
-
),
|
|
3546
|
+
), Fs = $(
|
|
3533
3547
|
oe,
|
|
3534
3548
|
ar
|
|
3535
|
-
),
|
|
3549
|
+
), Os = $(
|
|
3536
3550
|
oe,
|
|
3537
3551
|
or
|
|
3538
|
-
),
|
|
3552
|
+
), qs = $(
|
|
3539
3553
|
oe,
|
|
3540
3554
|
ir
|
|
3541
|
-
),
|
|
3555
|
+
), Hs = $(
|
|
3542
3556
|
oe,
|
|
3543
3557
|
lr
|
|
3544
|
-
),
|
|
3558
|
+
), Xs = $(
|
|
3545
3559
|
oe,
|
|
3546
3560
|
cr
|
|
3547
|
-
),
|
|
3561
|
+
), Qs = $(
|
|
3548
3562
|
oe,
|
|
3549
3563
|
Ar
|
|
3550
3564
|
), ur = $(
|
|
3551
3565
|
oe,
|
|
3552
3566
|
Cs
|
|
3553
|
-
),
|
|
3567
|
+
), Is = $(
|
|
3554
3568
|
oe,
|
|
3555
|
-
|
|
3569
|
+
tr
|
|
3556
3570
|
), mr = [
|
|
3557
3571
|
...R,
|
|
3558
3572
|
{
|
|
@@ -3578,16 +3592,15 @@ const R = [
|
|
|
3578
3592
|
]
|
|
3579
3593
|
}
|
|
3580
3594
|
], dr = $(
|
|
3581
|
-
Ln,
|
|
3582
3595
|
Jn,
|
|
3596
|
+
_n,
|
|
3583
3597
|
ws,
|
|
3584
3598
|
Ms,
|
|
3585
|
-
_n,
|
|
3586
3599
|
$n,
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3600
|
+
er,
|
|
3601
|
+
Is,
|
|
3602
|
+
sr,
|
|
3603
|
+
js,
|
|
3591
3604
|
Vs,
|
|
3592
3605
|
Ps,
|
|
3593
3606
|
Fs,
|
|
@@ -3595,14 +3608,15 @@ const R = [
|
|
|
3595
3608
|
qs,
|
|
3596
3609
|
Hs,
|
|
3597
3610
|
Xs,
|
|
3598
|
-
|
|
3611
|
+
Qs,
|
|
3599
3612
|
Gs,
|
|
3600
3613
|
Ys,
|
|
3601
|
-
Es
|
|
3614
|
+
Es,
|
|
3615
|
+
xs
|
|
3602
3616
|
), pr = $(
|
|
3603
3617
|
oe,
|
|
3604
3618
|
Cs,
|
|
3605
|
-
|
|
3619
|
+
Ds
|
|
3606
3620
|
), br = $(
|
|
3607
3621
|
oe,
|
|
3608
3622
|
mr
|
|
@@ -3630,62 +3644,62 @@ const R = [
|
|
|
3630
3644
|
[`set_${o.crm_analytic}`]: {
|
|
3631
3645
|
key: "sys:crm:analytic",
|
|
3632
3646
|
name: "CRM Analytic",
|
|
3633
|
-
permissions:
|
|
3647
|
+
permissions: js
|
|
3634
3648
|
},
|
|
3635
3649
|
[`set_${o.crm_tier}`]: {
|
|
3636
3650
|
key: "sys:crm:tier",
|
|
3637
3651
|
name: "CRM Tier",
|
|
3638
|
-
permissions:
|
|
3652
|
+
permissions: Vs
|
|
3639
3653
|
},
|
|
3640
3654
|
[`set_${o.crm_title}`]: {
|
|
3641
3655
|
key: "sys:crm:title",
|
|
3642
3656
|
name: "CRM Title",
|
|
3643
|
-
permissions:
|
|
3657
|
+
permissions: Ps
|
|
3644
3658
|
},
|
|
3645
3659
|
[`set_${o.crm_broadcast}`]: {
|
|
3646
3660
|
key: "sys:crm:broadcast",
|
|
3647
3661
|
name: "CRM Broadcast",
|
|
3648
|
-
permissions:
|
|
3662
|
+
permissions: Fs
|
|
3649
3663
|
},
|
|
3650
3664
|
[`set_${o.crm_point}`]: {
|
|
3651
3665
|
key: "sys:crm:point",
|
|
3652
3666
|
name: "CRM Point",
|
|
3653
|
-
permissions:
|
|
3667
|
+
permissions: Os
|
|
3654
3668
|
},
|
|
3655
3669
|
[`set_${o.crm_credit}`]: {
|
|
3656
3670
|
key: "sys:crm:credit",
|
|
3657
3671
|
name: "CRM Credit",
|
|
3658
|
-
permissions:
|
|
3672
|
+
permissions: qs
|
|
3659
3673
|
},
|
|
3660
3674
|
[`set_${o.crm_experience}`]: {
|
|
3661
3675
|
key: "sys:crm:experience",
|
|
3662
3676
|
name: "CRM Experience",
|
|
3663
|
-
permissions:
|
|
3677
|
+
permissions: Hs
|
|
3664
3678
|
},
|
|
3665
3679
|
[`set_${o.crm_game}`]: {
|
|
3666
3680
|
key: "sys:crm:game",
|
|
3667
3681
|
name: "CRM Game",
|
|
3668
|
-
permissions:
|
|
3682
|
+
permissions: Xs
|
|
3669
3683
|
},
|
|
3670
3684
|
[`set_${o.crm_mission}`]: {
|
|
3671
3685
|
key: "sys:crm:mission",
|
|
3672
3686
|
name: "CRM Mission",
|
|
3673
|
-
permissions:
|
|
3687
|
+
permissions: Qs
|
|
3674
3688
|
},
|
|
3675
3689
|
[`set_${o.crm_loyaltyMember}`]: {
|
|
3676
3690
|
key: "sys:crm:loyaltyMember",
|
|
3677
3691
|
name: "CRM Loyalty Member",
|
|
3678
|
-
permissions:
|
|
3692
|
+
permissions: Gs
|
|
3679
3693
|
},
|
|
3680
3694
|
[`set_${o.crm_loyaltySegment}`]: {
|
|
3681
3695
|
key: "sys:crm:loyaltySegment",
|
|
3682
3696
|
name: "CRM Loyalty Segment",
|
|
3683
|
-
permissions:
|
|
3697
|
+
permissions: Ys
|
|
3684
3698
|
},
|
|
3685
3699
|
[`set_${o.crm_loyaltyCard}`]: {
|
|
3686
3700
|
key: "sys:crm:loyaltyCard",
|
|
3687
3701
|
name: "CRM Loyalty Card",
|
|
3688
|
-
permissions:
|
|
3702
|
+
permissions: Es
|
|
3689
3703
|
},
|
|
3690
3704
|
[`set_${o.crm_referral}`]: {
|
|
3691
3705
|
key: "sys:crm:referral",
|
|
@@ -3705,12 +3719,17 @@ const R = [
|
|
|
3705
3719
|
[`set_${o.crm_setting}`]: {
|
|
3706
3720
|
key: "sys:crm:setting",
|
|
3707
3721
|
name: "CRM Setting",
|
|
3708
|
-
permissions:
|
|
3722
|
+
permissions: Is
|
|
3709
3723
|
},
|
|
3710
3724
|
[`set_${o.crm_bin}`]: {
|
|
3711
3725
|
key: "sys:crm:bin",
|
|
3712
3726
|
name: "CRM Bin",
|
|
3713
|
-
permissions:
|
|
3727
|
+
permissions: xs
|
|
3728
|
+
},
|
|
3729
|
+
[`set_${o.crm_marketingMaterial}`]: {
|
|
3730
|
+
key: "sys:crm:marketingMaterial",
|
|
3731
|
+
name: "CRM Marketing Material",
|
|
3732
|
+
permissions: Ds
|
|
3714
3733
|
}
|
|
3715
3734
|
};
|
|
3716
3735
|
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 || {});
|
|
@@ -3749,14 +3768,14 @@ const K = [
|
|
|
3749
3768
|
subject: G.inventory_stockAdjustment,
|
|
3750
3769
|
actions: [t.update]
|
|
3751
3770
|
}
|
|
3752
|
-
],
|
|
3771
|
+
], Rs = [
|
|
3753
3772
|
...K,
|
|
3754
3773
|
{
|
|
3755
3774
|
label: "Unit Cost History",
|
|
3756
3775
|
subject: G.inventory_unitCostHistory,
|
|
3757
3776
|
actions: [t.read, t.update]
|
|
3758
3777
|
}
|
|
3759
|
-
],
|
|
3778
|
+
], Ns = [
|
|
3760
3779
|
...K,
|
|
3761
3780
|
{
|
|
3762
3781
|
label: "Wastage Template",
|
|
@@ -3771,8 +3790,8 @@ const K = [
|
|
|
3771
3790
|
];
|
|
3772
3791
|
[
|
|
3773
3792
|
...Et,
|
|
3774
|
-
...
|
|
3775
|
-
...
|
|
3793
|
+
...Rs,
|
|
3794
|
+
...Ns
|
|
3776
3795
|
];
|
|
3777
3796
|
const xt = [
|
|
3778
3797
|
...K,
|
|
@@ -3791,7 +3810,7 @@ const xt = [
|
|
|
3791
3810
|
subject: G.inventory_closingDraft,
|
|
3792
3811
|
actions: [t.read]
|
|
3793
3812
|
}
|
|
3794
|
-
],
|
|
3813
|
+
], Zs = [
|
|
3795
3814
|
...K,
|
|
3796
3815
|
{
|
|
3797
3816
|
label: "Closing Draft",
|
|
@@ -3818,7 +3837,7 @@ const xt = [
|
|
|
3818
3837
|
subject: G.inventory_stockAdjustment,
|
|
3819
3838
|
actions: [t.read]
|
|
3820
3839
|
}
|
|
3821
|
-
],
|
|
3840
|
+
], zs = [
|
|
3822
3841
|
...K,
|
|
3823
3842
|
{
|
|
3824
3843
|
label: "Closing Template",
|
|
@@ -3838,8 +3857,8 @@ const xt = [
|
|
|
3838
3857
|
];
|
|
3839
3858
|
[
|
|
3840
3859
|
...xt,
|
|
3841
|
-
...
|
|
3842
|
-
...
|
|
3860
|
+
...Zs,
|
|
3861
|
+
...zs
|
|
3843
3862
|
];
|
|
3844
3863
|
const hr = [
|
|
3845
3864
|
{
|
|
@@ -3880,7 +3899,7 @@ const hr = [
|
|
|
3880
3899
|
subject: G.inventory,
|
|
3881
3900
|
actions: [t.read, t.update]
|
|
3882
3901
|
}
|
|
3883
|
-
],
|
|
3902
|
+
], Us = [
|
|
3884
3903
|
{
|
|
3885
3904
|
label: "Purchase Order",
|
|
3886
3905
|
subject: G.inventory_purchaseOrder,
|
|
@@ -3921,7 +3940,7 @@ const hr = [
|
|
|
3921
3940
|
subject: G.inventory_shipment,
|
|
3922
3941
|
actions: [t.read, t.update]
|
|
3923
3942
|
}
|
|
3924
|
-
],
|
|
3943
|
+
], Ws = [
|
|
3925
3944
|
{
|
|
3926
3945
|
label: "Purchase Order",
|
|
3927
3946
|
subject: G.inventory_purchaseOrder,
|
|
@@ -3942,7 +3961,7 @@ const hr = [
|
|
|
3942
3961
|
subject: G.inventory_shipment,
|
|
3943
3962
|
actions: [t.read, t.update]
|
|
3944
3963
|
}
|
|
3945
|
-
],
|
|
3964
|
+
], Ts = [
|
|
3946
3965
|
...K,
|
|
3947
3966
|
{
|
|
3948
3967
|
label: "Surcharge",
|
|
@@ -3959,7 +3978,7 @@ const hr = [
|
|
|
3959
3978
|
subject: G.inventory_supplier,
|
|
3960
3979
|
actions: [t.read]
|
|
3961
3980
|
}
|
|
3962
|
-
],
|
|
3981
|
+
], Ss = [
|
|
3963
3982
|
...K,
|
|
3964
3983
|
{
|
|
3965
3984
|
label: "Order Template",
|
|
@@ -3990,10 +4009,10 @@ const hr = [
|
|
|
3990
4009
|
}
|
|
3991
4010
|
];
|
|
3992
4011
|
[
|
|
3993
|
-
...zs,
|
|
3994
4012
|
...Us,
|
|
3995
4013
|
...Ws,
|
|
3996
|
-
...Ts
|
|
4014
|
+
...Ts,
|
|
4015
|
+
...Ss
|
|
3997
4016
|
];
|
|
3998
4017
|
const Dr = [
|
|
3999
4018
|
...K,
|
|
@@ -4064,12 +4083,12 @@ const xr = {
|
|
|
4064
4083
|
[`set_${o.inventory_unitCostHistory}`]: {
|
|
4065
4084
|
key: "sys:inventory:unit_cost_history",
|
|
4066
4085
|
name: "Unit Cost History",
|
|
4067
|
-
permissions:
|
|
4086
|
+
permissions: Rs
|
|
4068
4087
|
},
|
|
4069
4088
|
[`set_${o.inventory_wastageTemplate}`]: {
|
|
4070
4089
|
key: "sys:inventory:wastage_template",
|
|
4071
4090
|
name: "Wastage Template",
|
|
4072
|
-
permissions:
|
|
4091
|
+
permissions: Ns
|
|
4073
4092
|
},
|
|
4074
4093
|
[`set_${o.inventory_closingHistory}`]: {
|
|
4075
4094
|
key: "sys:inventory:closing_history",
|
|
@@ -4079,12 +4098,12 @@ const xr = {
|
|
|
4079
4098
|
[`set_${o.inventory_closingTemplate}`]: {
|
|
4080
4099
|
key: "sys:inventory:closing_template",
|
|
4081
4100
|
name: "Closing Template",
|
|
4082
|
-
permissions:
|
|
4101
|
+
permissions: zs
|
|
4083
4102
|
},
|
|
4084
4103
|
[`set_${o.inventory_closingDraft}`]: {
|
|
4085
4104
|
key: "sys:inventory:closing_draft",
|
|
4086
4105
|
name: "Closing Draft",
|
|
4087
|
-
permissions:
|
|
4106
|
+
permissions: Zs
|
|
4088
4107
|
},
|
|
4089
4108
|
[`set_${o.inventory_ingredient}`]: {
|
|
4090
4109
|
key: "sys:inventory:ingredient",
|
|
@@ -4109,7 +4128,7 @@ const xr = {
|
|
|
4109
4128
|
[`set_${o.inventory_purchaseTransfer}`]: {
|
|
4110
4129
|
key: "sys:inventory:purchase_transfer",
|
|
4111
4130
|
name: "Purchase Transfer",
|
|
4112
|
-
permissions:
|
|
4131
|
+
permissions: Us
|
|
4113
4132
|
},
|
|
4114
4133
|
[`set_${o.inventory_orderDraftApproval}`]: {
|
|
4115
4134
|
key: "sys:inventory:order_draft_approval",
|
|
@@ -4119,17 +4138,17 @@ const xr = {
|
|
|
4119
4138
|
[`set_${o.inventory_transferOut}`]: {
|
|
4120
4139
|
key: "sys:inventory:transfer_out",
|
|
4121
4140
|
name: "Transfer Out",
|
|
4122
|
-
permissions:
|
|
4141
|
+
permissions: Ws
|
|
4123
4142
|
},
|
|
4124
4143
|
[`set_${o.inventory_surcharge}`]: {
|
|
4125
4144
|
key: "sys:inventory:surcharge",
|
|
4126
4145
|
name: "Surcharge",
|
|
4127
|
-
permissions:
|
|
4146
|
+
permissions: Ts
|
|
4128
4147
|
},
|
|
4129
4148
|
[`set_${o.inventory_orderTemplate}`]: {
|
|
4130
4149
|
key: "sys:inventory:order_template",
|
|
4131
4150
|
name: "Order Template",
|
|
4132
|
-
permissions:
|
|
4151
|
+
permissions: Ss
|
|
4133
4152
|
},
|
|
4134
4153
|
[`set_${o.inventory_supplier}`]: {
|
|
4135
4154
|
key: "sys:inventory:supplier",
|
|
@@ -4228,7 +4247,7 @@ const Vr = {
|
|
|
4228
4247
|
]
|
|
4229
4248
|
}
|
|
4230
4249
|
};
|
|
4231
|
-
var
|
|
4250
|
+
var ks = /* @__PURE__ */ ((e) => (e.payment_terminals = "payment::terminals", e))(ks || {});
|
|
4232
4251
|
const Rt = [
|
|
4233
4252
|
{
|
|
4234
4253
|
label: "Payout Account",
|
|
@@ -4237,7 +4256,7 @@ const Rt = [
|
|
|
4237
4256
|
},
|
|
4238
4257
|
{
|
|
4239
4258
|
label: "Payment Terminals",
|
|
4240
|
-
subject:
|
|
4259
|
+
subject: ks.payment_terminals,
|
|
4241
4260
|
actions: [t.read]
|
|
4242
4261
|
}
|
|
4243
4262
|
], Pr = {
|
|
@@ -4269,7 +4288,7 @@ var Re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4269
4288
|
function Or(e) {
|
|
4270
4289
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4271
4290
|
}
|
|
4272
|
-
var
|
|
4291
|
+
var Ks = { exports: {} };
|
|
4273
4292
|
(function(e, A) {
|
|
4274
4293
|
(function(m, c) {
|
|
4275
4294
|
e.exports = c();
|
|
@@ -4646,8 +4665,8 @@ var ks = { exports: {} };
|
|
|
4646
4665
|
}
|
|
4647
4666
|
]);
|
|
4648
4667
|
});
|
|
4649
|
-
})(
|
|
4650
|
-
var qr =
|
|
4668
|
+
})(Ks);
|
|
4669
|
+
var qr = Ks.exports;
|
|
4651
4670
|
const Hr = /* @__PURE__ */ Or(qr);
|
|
4652
4671
|
function Xr(e, A) {
|
|
4653
4672
|
for (var m = 0; m < A.length; m++) {
|
|
@@ -4720,11 +4739,11 @@ function Nt(e) {
|
|
|
4720
4739
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4721
4740
|
return e;
|
|
4722
4741
|
}
|
|
4723
|
-
var
|
|
4742
|
+
var Ls = function(A) {
|
|
4724
4743
|
return 'Cannot execute "' + A.action + '" on "' + A.subjectName + '"';
|
|
4725
|
-
}, ze =
|
|
4744
|
+
}, ze = Ls, Zr = /* @__PURE__ */ function(e) {
|
|
4726
4745
|
Ir(A, e), A.setDefaultMessage = function(n) {
|
|
4727
|
-
n === null ? ze =
|
|
4746
|
+
n === null ? ze = Ls : ze = typeof n == "string" ? function() {
|
|
4728
4747
|
return n;
|
|
4729
4748
|
} : n;
|
|
4730
4749
|
}, A.from = function(n) {
|
|
@@ -4954,7 +4973,7 @@ const ra = () => {
|
|
|
4954
4973
|
};
|
|
4955
4974
|
function aa(e, A, m) {
|
|
4956
4975
|
let c;
|
|
4957
|
-
|
|
4976
|
+
en(m) ? c = {
|
|
4958
4977
|
evaluating: m
|
|
4959
4978
|
} : c = {};
|
|
4960
4979
|
const {
|
|
@@ -4962,7 +4981,7 @@ function aa(e, A, m) {
|
|
|
4962
4981
|
evaluating: u = void 0,
|
|
4963
4982
|
shallow: y = !0,
|
|
4964
4983
|
onError: h = ra
|
|
4965
|
-
} = c, E = ve(!n), Y = y ?
|
|
4984
|
+
} = c, E = ve(!n), Y = y ? tn(A) : ve(A);
|
|
4966
4985
|
let w = 0;
|
|
4967
4986
|
return Wt(async (P) => {
|
|
4968
4987
|
if (!E.value)
|
|
@@ -5022,7 +5041,7 @@ async function ia(e, A) {
|
|
|
5022
5041
|
return {
|
|
5023
5042
|
canAccess: !1,
|
|
5024
5043
|
message: c.message,
|
|
5025
|
-
redirectTo:
|
|
5044
|
+
redirectTo: Ln
|
|
5026
5045
|
};
|
|
5027
5046
|
}
|
|
5028
5047
|
return {
|
|
@@ -5031,7 +5050,7 @@ async function ia(e, A) {
|
|
|
5031
5050
|
}
|
|
5032
5051
|
var Ct = /* @__PURE__ */ ((e) => (e.Loading = "loading", e.Allowed = "allowed", e.Denied = "denied", e))(Ct || {});
|
|
5033
5052
|
function la() {
|
|
5034
|
-
const e =
|
|
5053
|
+
const e = mn(), { sessionUser: A } = Yt();
|
|
5035
5054
|
return aa(
|
|
5036
5055
|
async () => {
|
|
5037
5056
|
e.matched;
|
|
@@ -5100,7 +5119,7 @@ const ca = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
5100
5119
|
__name: "PermissionWrapper",
|
|
5101
5120
|
setup(e) {
|
|
5102
5121
|
const A = la();
|
|
5103
|
-
return (m, c) => Me(A) === Me(Ct).Denied ? (Ve(), ke(Ca, { key: 0 })) : Me(A) === Me(Ct).Allowed ? Tt(m.$slots, "default", { key: 1 }) :
|
|
5122
|
+
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);
|
|
5104
5123
|
}
|
|
5105
5124
|
});
|
|
5106
5125
|
function Ke(e) {
|
|
@@ -5125,18 +5144,18 @@ function ja(e, A) {
|
|
|
5125
5144
|
}
|
|
5126
5145
|
}
|
|
5127
5146
|
let n = null;
|
|
5128
|
-
return
|
|
5129
|
-
u && (await
|
|
5147
|
+
return nn(e, async (u) => {
|
|
5148
|
+
u && (await rn(), c());
|
|
5130
5149
|
}), kt(() => {
|
|
5131
5150
|
window.addEventListener("resize", c), n = new ResizeObserver(c), n.observe(document.body);
|
|
5132
|
-
}),
|
|
5151
|
+
}), an(() => {
|
|
5133
5152
|
window.removeEventListener("resize", c), n == null || n.disconnect(), n = null;
|
|
5134
5153
|
}), m;
|
|
5135
5154
|
}
|
|
5136
5155
|
const Ga = /* @__PURE__ */ xe({
|
|
5137
5156
|
__name: "FullWrapper",
|
|
5138
5157
|
setup(e) {
|
|
5139
|
-
const A =
|
|
5158
|
+
const A = un(), m = ve(null), c = ja(m), n = jt(() => {
|
|
5140
5159
|
var h;
|
|
5141
5160
|
const y = A.isAtMost("sm") ? 56 : 0;
|
|
5142
5161
|
return {
|
|
@@ -5146,7 +5165,7 @@ const Ga = /* @__PURE__ */ xe({
|
|
|
5146
5165
|
return (u, y) => (Ve(), St("div", {
|
|
5147
5166
|
ref_key: "wrapper",
|
|
5148
5167
|
ref: m,
|
|
5149
|
-
style:
|
|
5168
|
+
style: on(n.value)
|
|
5150
5169
|
}, [
|
|
5151
5170
|
Tt(u.$slots, "default")
|
|
5152
5171
|
], 4));
|
|
@@ -5157,16 +5176,16 @@ const Ga = /* @__PURE__ */ xe({
|
|
|
5157
5176
|
return (A, m) => {
|
|
5158
5177
|
const c = Gt("FmCircularProgress");
|
|
5159
5178
|
return Ve(), ke(Ga, null, {
|
|
5160
|
-
default:
|
|
5179
|
+
default: ln(() => [
|
|
5161
5180
|
we("div", Ya, [
|
|
5162
|
-
|
|
5181
|
+
cn(c, { size: "xl" })
|
|
5163
5182
|
])
|
|
5164
5183
|
]),
|
|
5165
5184
|
_: 1
|
|
5166
5185
|
});
|
|
5167
5186
|
};
|
|
5168
5187
|
}
|
|
5169
|
-
}), be = (e) =>
|
|
5188
|
+
}), be = (e) => An({
|
|
5170
5189
|
loader: e,
|
|
5171
5190
|
loadingComponent: Ea
|
|
5172
5191
|
});
|
|
@@ -5180,10 +5199,10 @@ const ht = (e) => ({
|
|
|
5180
5199
|
}
|
|
5181
5200
|
]
|
|
5182
5201
|
}
|
|
5183
|
-
}), xa = Ke(be(() => import("./Main-
|
|
5184
|
-
be(() => import("./AuditLogList-
|
|
5185
|
-
), Fa = Ke(be(() => import("./Main-
|
|
5186
|
-
() => import("./PermissionSetList-
|
|
5202
|
+
}), xa = Ke(be(() => import("./Main-CU92m_i1.js"))), Va = Ke(be(() => import("./Main-3gbHRwy4.js"))), Pa = Ke(
|
|
5203
|
+
be(() => import("./AuditLogList-CtneTBoV.js"))
|
|
5204
|
+
), Fa = Ke(be(() => import("./Main-D5PmpNiB.js"))), Oa = be(() => import("./EmployeeList-C7dIO8gr.js")), qa = be(() => import("./RoleList-B98ExzJE.js")), Ha = be(() => import("./TimesheetList-2HclOof1.js")), Xa = be(() => import("./TeamMemberList-YTHgBCoO.js")), Qa = be(
|
|
5205
|
+
() => import("./PermissionSetList-Dej3hhUp.js")
|
|
5187
5206
|
), eo = [
|
|
5188
5207
|
{
|
|
5189
5208
|
path: "/",
|
|
@@ -5249,7 +5268,7 @@ const ht = (e) => ({
|
|
|
5249
5268
|
__name: "Navigator",
|
|
5250
5269
|
emits: ["close-navigation"],
|
|
5251
5270
|
setup(e, { emit: A }) {
|
|
5252
|
-
const m = A, { t: c } = Kt(), n =
|
|
5271
|
+
const m = A, { t: c } = Kt(), n = gn(), { sessionUser: u } = Yt(), y = jt(() => {
|
|
5253
5272
|
var Y;
|
|
5254
5273
|
const E = [];
|
|
5255
5274
|
return E.push({
|
|
@@ -5704,9 +5723,9 @@ var Dt = { exports: {} };
|
|
|
5704
5723
|
if (!me) return [3, 7];
|
|
5705
5724
|
ge = null, fe = null, ye.label = 1;
|
|
5706
5725
|
case 1:
|
|
5707
|
-
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(
|
|
5726
|
+
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) {
|
|
5708
5727
|
var yt;
|
|
5709
|
-
(yt = Xt.onError) === null || yt === void 0 || yt.call(Xt,
|
|
5728
|
+
(yt = Xt.onError) === null || yt === void 0 || yt.call(Xt, Js);
|
|
5710
5729
|
}), [3, 4]) : [3, 2];
|
|
5711
5730
|
case 2:
|
|
5712
5731
|
return ne ? [3, 4] : [4, this.getFlags()];
|
|
@@ -6156,7 +6175,7 @@ const to = /* @__PURE__ */ xe({
|
|
|
6156
6175
|
};
|
|
6157
6176
|
}
|
|
6158
6177
|
}), so = () => {
|
|
6159
|
-
const e = [
|
|
6178
|
+
const e = [Rn, Vn, wn, Kn], A = new Set(e.flatMap((m) => Object.keys(m)));
|
|
6160
6179
|
return Array.from(A).reduce(
|
|
6161
6180
|
(m, c) => {
|
|
6162
6181
|
const n = c;
|