@feedmepos/mf-hrm-portal 2.0.20-dev.1 → 2.0.20-dev.3

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.
Files changed (31) hide show
  1. package/dist/{AuditLogList-Bsj-qg8n.js → AuditLogList-7E8iWQWx.js} +4 -4
  2. package/dist/EmployeeList-DyNW3cUo.js +851 -0
  3. package/dist/{Main-CSMAtoMj.js → Main-BLJyOcEv.js} +184 -176
  4. package/dist/{Main-BGc6kNaR.js → Main-BZjZxFHp.js} +2008 -2001
  5. package/dist/Main-C9lMH4EN.js +90 -0
  6. package/dist/PermissionSetList-BuCp14Os.js +355 -0
  7. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CdWgTjZw.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BQSDnH-Z.js} +675 -661
  8. package/dist/RoleList-L8L1xmJ2.js +564 -0
  9. package/dist/TeamMemberList-DEN9rHqb.js +1124 -0
  10. package/dist/{TimesheetList-tFjvFHqH.js → TimesheetList-D88u0GFn.js} +61 -53
  11. package/dist/{app-CL7rUfL3.js → app-g_SrJtfC.js} +191 -193
  12. package/dist/app.js +1 -1
  13. package/dist/{dayjs.min-ChdFPuFV.js → dayjs.min-BGHzwXCt.js} +1 -1
  14. package/dist/employee-Dep-q_aU.js +200 -0
  15. package/dist/{iteration-BbD0nOgO.js → iteration-Dc-Bz5bA.js} +173 -175
  16. package/dist/{lodash-CDf3aG6G.js → lodash-Cxw1GZ6L.js} +1 -1
  17. package/dist/{rule-BJ-y3Sp8.js → rule-ClRtpdqO.js} +27 -26
  18. package/dist/src/types/team.d.ts +1 -0
  19. package/dist/style.css +1 -1
  20. package/dist/{timesheet-BmV02Rkz.js → timesheet-CZoSvFYT.js} +2 -2
  21. package/dist/tsconfig.app.tsbuildinfo +1 -1
  22. package/dist/{useAppStore-D8QAGZ02.js → useAppStore-CTBRpqmO.js} +36 -38
  23. package/dist/{useLoading-KpcQw0p4.js → useLoading-XvrLj1VM.js} +1 -1
  24. package/dist/{useReportPermissions-CmGJAz_N.js → useReportPermissions-nivbQm9V.js} +3 -3
  25. package/package.json +1 -1
  26. package/dist/EmployeeList-Cy2ayCko.js +0 -824
  27. package/dist/Main-D7bV8EuC.js +0 -86
  28. package/dist/PermissionSetList-CuHhDqWl.js +0 -347
  29. package/dist/RoleList-e0WUqt4Y.js +0 -545
  30. package/dist/TeamMemberList-CpPa1KyV.js +0 -1097
  31. package/dist/employee-kKV7UnHU.js +0 -204
@@ -1,11 +1,11 @@
1
- var $s = Object.defineProperty;
2
- var en = (e, A, u) => A in e ? $s(e, A, { enumerable: !0, configurable: !0, writable: !0, value: u }) : e[A] = u;
3
- var Ze = (e, A, u) => en(e, typeof A != "symbol" ? A + "" : A, u);
4
- import { isRef as tn, ref as ve, shallowRef as sn, watchEffect as St, computed as jt, h as Qt, defineComponent as xe, createBlock as ke, renderSlot as kt, createCommentVNode as nn, unref as Me, openBlock as Ve, createElementBlock as Kt, createElementVNode as we, toDisplayString as It, watch as Rt, nextTick as Nt, onMounted as Lt, onBeforeUnmount as rn, normalizeStyle as an, resolveComponent as Gt, withCtx as on, createVNode as ln, defineAsyncComponent as cn, readonly as vt } from "vue";
1
+ var Js = Object.defineProperty;
2
+ var _s = (e, A, u) => A in e ? Js(e, A, { enumerable: !0, configurable: !0, writable: !0, value: u }) : e[A] = u;
3
+ var Ze = (e, A, u) => _s(e, typeof A != "symbol" ? A + "" : A, u);
4
+ import { isRef as $s, ref as ve, shallowRef as en, watchEffect as Wt, computed as jt, h as Qt, defineComponent as xe, createBlock as ke, renderSlot as Tt, createCommentVNode as tn, unref as Me, openBlock as Ve, createElementBlock as St, createElementVNode as we, toDisplayString as It, watch as sn, nextTick as nn, onMounted as kt, onBeforeUnmount as rn, normalizeStyle as an, resolveComponent as Gt, withCtx as on, createVNode as ln, defineAsyncComponent as cn, readonly as vt } from "vue";
5
5
  import { useBreakpoints as An } from "@feedmepos/ui-library";
6
6
  import { useRoute as un, useRouter as mn } from "vue-router";
7
- import { useCoreStore as Yt, useI18n as Jt } from "@feedmepos/mf-common";
8
- const _t = {
7
+ import { useCoreStore as Yt, useI18n as Kt } from "@feedmepos/mf-common";
8
+ const Lt = {
9
9
  predefinedRanges: {
10
10
  today: "Today",
11
11
  yesterday: "Yesterday",
@@ -15,7 +15,7 @@ const _t = {
15
15
  thisMonth: "This month",
16
16
  lastMonth: "Last month"
17
17
  }
18
- }, $t = {
18
+ }, Jt = {
19
19
  title: "Audit Log",
20
20
  export: "Export",
21
21
  dateRange: {
@@ -135,14 +135,14 @@ const _t = {
135
135
  requestBody: "Request Body"
136
136
  }
137
137
  }, gn = {
138
- date: _t,
139
- auditLog: $t
138
+ date: Lt,
139
+ auditLog: Jt
140
140
  }, dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
141
141
  __proto__: null,
142
- auditLog: $t,
143
- date: _t,
142
+ auditLog: Jt,
143
+ date: Lt,
144
144
  default: gn
145
- }, Symbol.toStringTag, { value: "Module" })), es = {
145
+ }, Symbol.toStringTag, { value: "Module" })), _t = {
146
146
  predefinedRanges: {
147
147
  today: "วันนี้",
148
148
  yesterday: "เมื่อวาน",
@@ -152,7 +152,7 @@ const _t = {
152
152
  thisMonth: "เดือนนี้",
153
153
  lastMonth: "เดือนที่แล้ว"
154
154
  }
155
- }, ts = {
155
+ }, $t = {
156
156
  title: "บันทึกการตรวจสอบ",
157
157
  export: "ส่งออก",
158
158
  dateRange: {
@@ -273,14 +273,14 @@ const _t = {
273
273
  requestBody: "เนื้อหาคำขอ"
274
274
  }
275
275
  }, pn = {
276
- date: es,
277
- auditLog: ts
276
+ date: _t,
277
+ auditLog: $t
278
278
  }, bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
279
279
  __proto__: null,
280
- auditLog: ts,
281
- date: es,
280
+ auditLog: $t,
281
+ date: _t,
282
282
  default: pn
283
- }, Symbol.toStringTag, { value: "Module" })), ss = {
283
+ }, Symbol.toStringTag, { value: "Module" })), es = {
284
284
  predefinedRanges: {
285
285
  today: "今天",
286
286
  yesterday: "昨天",
@@ -290,7 +290,7 @@ const _t = {
290
290
  thisMonth: "本月",
291
291
  lastMonth: "上月"
292
292
  }
293
- }, ns = {
293
+ }, ts = {
294
294
  title: "审计日志",
295
295
  export: "导出",
296
296
  dateRange: {
@@ -411,14 +411,14 @@ const _t = {
411
411
  requestBody: "请求内容"
412
412
  }
413
413
  }, fn = {
414
- date: ss,
415
- auditLog: ns
414
+ date: es,
415
+ auditLog: ts
416
416
  }, yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
417
417
  __proto__: null,
418
- auditLog: ns,
419
- date: ss,
418
+ auditLog: ts,
419
+ date: es,
420
420
  default: fn
421
- }, Symbol.toStringTag, { value: "Module" })), rs = {
421
+ }, Symbol.toStringTag, { value: "Module" })), ss = {
422
422
  predefinedRanges: {
423
423
  today: "今天",
424
424
  yesterday: "昨天",
@@ -428,7 +428,7 @@ const _t = {
428
428
  thisMonth: "本月",
429
429
  lastMonth: "上月"
430
430
  }
431
- }, as = {
431
+ }, ns = {
432
432
  title: "審計日誌",
433
433
  export: "匯出",
434
434
  dateRange: {
@@ -549,19 +549,19 @@ const _t = {
549
549
  requestBody: "請求內容"
550
550
  }
551
551
  }, vn = {
552
- date: rs,
553
- auditLog: as
552
+ date: ss,
553
+ auditLog: ns
554
554
  }, hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
555
555
  __proto__: null,
556
- auditLog: as,
557
- date: rs,
556
+ auditLog: ns,
557
+ date: ss,
558
558
  default: vn
559
559
  }, Symbol.toStringTag, { value: "Module" })), Bn = {
560
560
  "en-US": dn,
561
561
  "zh-CN": yn,
562
562
  "th-TH": bn,
563
563
  "zh-Hant": hn
564
- }, os = {
564
+ }, rs = {
565
565
  employee: {
566
566
  title: "Employee",
567
567
  exportButtonLabel: "Export",
@@ -762,12 +762,12 @@ const _t = {
762
762
  }
763
763
  }
764
764
  }, wn = {
765
- hr: os
765
+ hr: rs
766
766
  }, Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
767
767
  __proto__: null,
768
768
  default: wn,
769
- hr: os
770
- }, Symbol.toStringTag, { value: "Module" })), is = {
769
+ hr: rs
770
+ }, Symbol.toStringTag, { value: "Module" })), as = {
771
771
  employee: {
772
772
  title: "พนักงาน",
773
773
  exportButtonLabel: "ส่งออก",
@@ -967,12 +967,12 @@ const _t = {
967
967
  }
968
968
  }
969
969
  }, Cn = {
970
- hr: is
970
+ hr: as
971
971
  }, Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
972
972
  __proto__: null,
973
973
  default: Cn,
974
- hr: is
975
- }, Symbol.toStringTag, { value: "Module" })), ls = {
974
+ hr: as
975
+ }, Symbol.toStringTag, { value: "Module" })), os = {
976
976
  employee: {
977
977
  title: "员工",
978
978
  exportButtonLabel: "导出",
@@ -1173,12 +1173,12 @@ const _t = {
1173
1173
  }
1174
1174
  }
1175
1175
  }, jn = {
1176
- hr: ls
1176
+ hr: os
1177
1177
  }, Gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1178
1178
  __proto__: null,
1179
1179
  default: jn,
1180
- hr: ls
1181
- }, Symbol.toStringTag, { value: "Module" })), cs = {
1180
+ hr: os
1181
+ }, Symbol.toStringTag, { value: "Module" })), is = {
1182
1182
  employee: {
1183
1183
  title: "員工",
1184
1184
  exportButtonLabel: "導出",
@@ -1374,17 +1374,17 @@ const _t = {
1374
1374
  }
1375
1375
  }
1376
1376
  }, Yn = {
1377
- hr: cs
1377
+ hr: is
1378
1378
  }, En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1379
1379
  __proto__: null,
1380
1380
  default: Yn,
1381
- hr: cs
1381
+ hr: is
1382
1382
  }, Symbol.toStringTag, { value: "Module" })), xn = {
1383
1383
  "en-US": Mn,
1384
1384
  "zh-CN": Gn,
1385
1385
  "th-TH": Dn,
1386
1386
  "zh-Hant": En
1387
- }, As = {
1387
+ }, ls = {
1388
1388
  title: "Team members",
1389
1389
  actions: {
1390
1390
  addMember: "Add member",
@@ -1488,7 +1488,7 @@ const _t = {
1488
1488
  selectPlaceholder: "Select permission role"
1489
1489
  }
1490
1490
  }
1491
- }, us = {
1491
+ }, cs = {
1492
1492
  title: "Permission Set",
1493
1493
  createButtonLabel: "Create permission set",
1494
1494
  search: {
@@ -1611,14 +1611,14 @@ const _t = {
1611
1611
  }
1612
1612
  }
1613
1613
  }, Vn = {
1614
- team: As,
1615
- permissionSet: us
1614
+ team: ls,
1615
+ permissionSet: cs
1616
1616
  }, Pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1617
1617
  __proto__: null,
1618
1618
  default: Vn,
1619
- permissionSet: us,
1620
- team: As
1621
- }, Symbol.toStringTag, { value: "Module" })), ms = {
1619
+ permissionSet: cs,
1620
+ team: ls
1621
+ }, Symbol.toStringTag, { value: "Module" })), As = {
1622
1622
  title: "สมาชิกในทีม",
1623
1623
  actions: {
1624
1624
  addMember: "เพิ่มสมาชิก",
@@ -1722,7 +1722,7 @@ const _t = {
1722
1722
  selectPlaceholder: "เลือกบทบาทสิทธิ์"
1723
1723
  }
1724
1724
  }
1725
- }, gs = {
1725
+ }, us = {
1726
1726
  title: "ชุดสิทธิ์",
1727
1727
  createButtonLabel: "สร้างชุดสิทธิ์",
1728
1728
  search: {
@@ -1845,14 +1845,14 @@ const _t = {
1845
1845
  }
1846
1846
  }
1847
1847
  }, Fn = {
1848
- team: ms,
1849
- permissionSet: gs
1848
+ team: As,
1849
+ permissionSet: us
1850
1850
  }, On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1851
1851
  __proto__: null,
1852
1852
  default: Fn,
1853
- permissionSet: gs,
1854
- team: ms
1855
- }, Symbol.toStringTag, { value: "Module" })), ds = {
1853
+ permissionSet: us,
1854
+ team: As
1855
+ }, Symbol.toStringTag, { value: "Module" })), ms = {
1856
1856
  title: "团队成员",
1857
1857
  actions: {
1858
1858
  addMember: "添加成员",
@@ -1956,7 +1956,7 @@ const _t = {
1956
1956
  selectPlaceholder: "选择权限角色"
1957
1957
  }
1958
1958
  }
1959
- }, ps = {
1959
+ }, gs = {
1960
1960
  title: "权限集",
1961
1961
  createButtonLabel: "创建权限集",
1962
1962
  search: {
@@ -2079,14 +2079,14 @@ const _t = {
2079
2079
  }
2080
2080
  }
2081
2081
  }, qn = {
2082
- team: ds,
2083
- permissionSet: ps
2082
+ team: ms,
2083
+ permissionSet: gs
2084
2084
  }, Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2085
2085
  __proto__: null,
2086
2086
  default: qn,
2087
- permissionSet: ps,
2088
- team: ds
2089
- }, Symbol.toStringTag, { value: "Module" })), bs = {
2087
+ permissionSet: gs,
2088
+ team: ms
2089
+ }, Symbol.toStringTag, { value: "Module" })), ds = {
2090
2090
  title: "團隊成員",
2091
2091
  actions: {
2092
2092
  addMember: "添加成員",
@@ -2197,7 +2197,7 @@ const _t = {
2197
2197
  placeholder: "搜索角色"
2198
2198
  }
2199
2199
  }
2200
- }, fs = {
2200
+ }, ps = {
2201
2201
  title: "權限集",
2202
2202
  createButtonLabel: "創建權限集",
2203
2203
  search: {
@@ -2320,19 +2320,19 @@ const _t = {
2320
2320
  }
2321
2321
  }
2322
2322
  }, Xn = {
2323
- team: bs,
2324
- permissionSet: fs
2323
+ team: ds,
2324
+ permissionSet: ps
2325
2325
  }, Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2326
2326
  __proto__: null,
2327
2327
  default: Xn,
2328
- permissionSet: fs,
2329
- team: bs
2328
+ permissionSet: ps,
2329
+ team: ds
2330
2330
  }, Symbol.toStringTag, { value: "Module" })), In = {
2331
2331
  "en-US": Pn,
2332
2332
  "zh-CN": Hn,
2333
2333
  "th-TH": On,
2334
2334
  "zh-Hant": Qn
2335
- }, ys = {
2335
+ }, bs = {
2336
2336
  title: "POS Grant",
2337
2337
  actions: {
2338
2338
  create: "Create Passcode",
@@ -2387,12 +2387,12 @@ const _t = {
2387
2387
  copied: "Passcode copied"
2388
2388
  }
2389
2389
  }, Rn = {
2390
- grantUser: ys
2390
+ grantUser: bs
2391
2391
  }, Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2392
2392
  __proto__: null,
2393
2393
  default: Rn,
2394
- grantUser: ys
2395
- }, Symbol.toStringTag, { value: "Module" })), vs = {
2394
+ grantUser: bs
2395
+ }, Symbol.toStringTag, { value: "Module" })), fs = {
2396
2396
  title: "POS Grant",
2397
2397
  actions: {
2398
2398
  create: "สร้างรหัสผ่าน",
@@ -2447,12 +2447,12 @@ const _t = {
2447
2447
  copied: "คัดลอกรหัสผ่านแล้ว"
2448
2448
  }
2449
2449
  }, Zn = {
2450
- grantUser: vs
2450
+ grantUser: fs
2451
2451
  }, zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2452
2452
  __proto__: null,
2453
2453
  default: Zn,
2454
- grantUser: vs
2455
- }, Symbol.toStringTag, { value: "Module" })), hs = {
2454
+ grantUser: fs
2455
+ }, Symbol.toStringTag, { value: "Module" })), ys = {
2456
2456
  title: "POS 授予",
2457
2457
  actions: {
2458
2458
  create: "创建密码",
@@ -2507,12 +2507,12 @@ const _t = {
2507
2507
  copied: "密码已复制"
2508
2508
  }
2509
2509
  }, Un = {
2510
- grantUser: hs
2510
+ grantUser: ys
2511
2511
  }, Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2512
2512
  __proto__: null,
2513
2513
  default: Un,
2514
- grantUser: hs
2515
- }, Symbol.toStringTag, { value: "Module" })), Bs = {
2514
+ grantUser: ys
2515
+ }, Symbol.toStringTag, { value: "Module" })), vs = {
2516
2516
  title: "POS 授予",
2517
2517
  actions: {
2518
2518
  create: "创建密码",
@@ -2567,18 +2567,18 @@ const _t = {
2567
2567
  copied: "密碼已複製"
2568
2568
  }
2569
2569
  }, Tn = {
2570
- grantUser: Bs
2570
+ grantUser: vs
2571
2571
  }, Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2572
2572
  __proto__: null,
2573
2573
  default: Tn,
2574
- grantUser: Bs
2574
+ grantUser: vs
2575
2575
  }, Symbol.toStringTag, { value: "Module" })), kn = {
2576
2576
  "en-US": Nn,
2577
2577
  "zh-CN": Wn,
2578
2578
  "th-TH": zn,
2579
2579
  "zh-Hant": Sn
2580
2580
  };
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.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 || {}), ws = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(ws || {});
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.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 || {});
2582
2582
  const b = {
2583
2583
  general: "General",
2584
2584
  inventory: "Inventory",
@@ -2596,9 +2596,9 @@ const b = {
2596
2596
  Action: t,
2597
2597
  Subject: {
2598
2598
  Business: o,
2599
- Restaurant: ws
2599
+ Restaurant: hs
2600
2600
  }
2601
- }, Ms = {
2601
+ }, Bs = {
2602
2602
  [U.permission]: o.hrm_teamMember,
2603
2603
  [U.promotion]: o.crm_promotion,
2604
2604
  [U.voucher]: o.crm_voucher,
@@ -3252,7 +3252,7 @@ const R = [
3252
3252
  t.delete
3253
3253
  ]
3254
3254
  }
3255
- ], Cs = [
3255
+ ], ws = [
3256
3256
  ...R,
3257
3257
  {
3258
3258
  label: "Transaction",
@@ -3264,7 +3264,7 @@ const R = [
3264
3264
  t.delete
3265
3265
  ]
3266
3266
  }
3267
- ], Ds = [
3267
+ ], Ms = [
3268
3268
  ...R,
3269
3269
  {
3270
3270
  label: "Store",
@@ -3331,7 +3331,7 @@ const R = [
3331
3331
  t.delete
3332
3332
  ]
3333
3333
  }
3334
- ], js = [
3334
+ ], Cs = [
3335
3335
  ...R,
3336
3336
  {
3337
3337
  label: "Referral",
@@ -3355,7 +3355,7 @@ const R = [
3355
3355
  t.delete
3356
3356
  ]
3357
3357
  }
3358
- ], Gs = [
3358
+ ], Ds = [
3359
3359
  ...R,
3360
3360
  {
3361
3361
  label: "Analytic",
@@ -3458,7 +3458,7 @@ const R = [
3458
3458
  t.delete
3459
3459
  ]
3460
3460
  }
3461
- ], Ys = [
3461
+ ], js = [
3462
3462
  ...R,
3463
3463
  {
3464
3464
  label: "Loyalty Member",
@@ -3470,7 +3470,7 @@ const R = [
3470
3470
  t.delete
3471
3471
  ]
3472
3472
  }
3473
- ], Es = [
3473
+ ], Gs = [
3474
3474
  ...R,
3475
3475
  {
3476
3476
  label: "Loyalty Segment",
@@ -3482,7 +3482,7 @@ const R = [
3482
3482
  t.delete
3483
3483
  ]
3484
3484
  }
3485
- ], xs = [
3485
+ ], Ys = [
3486
3486
  ...R,
3487
3487
  {
3488
3488
  label: "Loyalty Card",
@@ -3494,41 +3494,41 @@ const R = [
3494
3494
  t.delete
3495
3495
  ]
3496
3496
  }
3497
- ], Vs = [
3497
+ ], Es = [
3498
3498
  ...R,
3499
3499
  {
3500
3500
  label: "Bin",
3501
3501
  subject: q.crm_bin,
3502
3502
  actions: [t.read, t.update, t.delete]
3503
3503
  }
3504
- ], Ps = $(
3504
+ ], xs = $(
3505
3505
  oe,
3506
3506
  nr
3507
- ), Fs = $(
3507
+ ), Vs = $(
3508
3508
  oe,
3509
3509
  rr
3510
- ), Os = $(
3510
+ ), Ps = $(
3511
3511
  oe,
3512
3512
  ar
3513
- ), qs = $(
3513
+ ), Fs = $(
3514
3514
  oe,
3515
3515
  or
3516
- ), Hs = $(
3516
+ ), Os = $(
3517
3517
  oe,
3518
3518
  ir
3519
- ), Xs = $(
3519
+ ), qs = $(
3520
3520
  oe,
3521
3521
  lr
3522
- ), Qs = $(
3522
+ ), Hs = $(
3523
3523
  oe,
3524
3524
  cr
3525
- ), Is = $(
3525
+ ), Xs = $(
3526
3526
  oe,
3527
3527
  Ar
3528
3528
  ), ur = $(
3529
3529
  oe,
3530
- js
3531
- ), Rs = $(
3530
+ Cs
3531
+ ), Qs = $(
3532
3532
  oe,
3533
3533
  er
3534
3534
  ), mr = [
@@ -3558,28 +3558,28 @@ const R = [
3558
3558
  ], dr = $(
3559
3559
  Ln,
3560
3560
  Jn,
3561
- Cs,
3562
- Ds,
3561
+ ws,
3562
+ Ms,
3563
3563
  _n,
3564
3564
  $n,
3565
- Rs,
3565
+ Qs,
3566
3566
  tr,
3567
- Gs,
3567
+ Ds,
3568
+ xs,
3569
+ Vs,
3568
3570
  Ps,
3569
3571
  Fs,
3570
3572
  Os,
3571
3573
  qs,
3572
3574
  Hs,
3573
3575
  Xs,
3574
- Qs,
3575
- Is,
3576
+ js,
3577
+ Gs,
3576
3578
  Ys,
3577
- Es,
3578
- xs,
3579
- Vs
3579
+ Es
3580
3580
  ), pr = $(
3581
3581
  oe,
3582
- js,
3582
+ Cs,
3583
3583
  sr
3584
3584
  ), br = $(
3585
3585
  oe,
@@ -3608,62 +3608,62 @@ const R = [
3608
3608
  [`set_${o.crm_analytic}`]: {
3609
3609
  key: "sys:crm:analytic",
3610
3610
  name: "CRM Analytic",
3611
- permissions: Gs
3611
+ permissions: Ds
3612
3612
  },
3613
3613
  [`set_${o.crm_tier}`]: {
3614
3614
  key: "sys:crm:tier",
3615
3615
  name: "CRM Tier",
3616
- permissions: Ps
3616
+ permissions: xs
3617
3617
  },
3618
3618
  [`set_${o.crm_title}`]: {
3619
3619
  key: "sys:crm:title",
3620
3620
  name: "CRM Title",
3621
- permissions: Fs
3621
+ permissions: Vs
3622
3622
  },
3623
3623
  [`set_${o.crm_broadcast}`]: {
3624
3624
  key: "sys:crm:broadcast",
3625
3625
  name: "CRM Broadcast",
3626
- permissions: Os
3626
+ permissions: Ps
3627
3627
  },
3628
3628
  [`set_${o.crm_point}`]: {
3629
3629
  key: "sys:crm:point",
3630
3630
  name: "CRM Point",
3631
- permissions: qs
3631
+ permissions: Fs
3632
3632
  },
3633
3633
  [`set_${o.crm_credit}`]: {
3634
3634
  key: "sys:crm:credit",
3635
3635
  name: "CRM Credit",
3636
- permissions: Hs
3636
+ permissions: Os
3637
3637
  },
3638
3638
  [`set_${o.crm_experience}`]: {
3639
3639
  key: "sys:crm:experience",
3640
3640
  name: "CRM Experience",
3641
- permissions: Xs
3641
+ permissions: qs
3642
3642
  },
3643
3643
  [`set_${o.crm_game}`]: {
3644
3644
  key: "sys:crm:game",
3645
3645
  name: "CRM Game",
3646
- permissions: Qs
3646
+ permissions: Hs
3647
3647
  },
3648
3648
  [`set_${o.crm_mission}`]: {
3649
3649
  key: "sys:crm:mission",
3650
3650
  name: "CRM Mission",
3651
- permissions: Is
3651
+ permissions: Xs
3652
3652
  },
3653
3653
  [`set_${o.crm_loyaltyMember}`]: {
3654
3654
  key: "sys:crm:loyaltyMember",
3655
3655
  name: "CRM Loyalty Member",
3656
- permissions: Ys
3656
+ permissions: js
3657
3657
  },
3658
3658
  [`set_${o.crm_loyaltySegment}`]: {
3659
3659
  key: "sys:crm:loyaltySegment",
3660
3660
  name: "CRM Loyalty Segment",
3661
- permissions: Es
3661
+ permissions: Gs
3662
3662
  },
3663
3663
  [`set_${o.crm_loyaltyCard}`]: {
3664
3664
  key: "sys:crm:loyaltyCard",
3665
3665
  name: "CRM Loyalty Card",
3666
- permissions: xs
3666
+ permissions: Ys
3667
3667
  },
3668
3668
  [`set_${o.crm_referral}`]: {
3669
3669
  key: "sys:crm:referral",
@@ -3673,22 +3673,22 @@ const R = [
3673
3673
  [`set_${o.crm_store}`]: {
3674
3674
  key: "sys:crm:store",
3675
3675
  name: "CRM Store",
3676
- permissions: Ds
3676
+ permissions: Ms
3677
3677
  },
3678
3678
  [`set_${o.crm_transaction}`]: {
3679
3679
  key: "sys:crm:transaction",
3680
3680
  name: "CRM Transaction",
3681
- permissions: Cs
3681
+ permissions: ws
3682
3682
  },
3683
3683
  [`set_${o.crm_setting}`]: {
3684
3684
  key: "sys:crm:setting",
3685
3685
  name: "CRM Setting",
3686
- permissions: Rs
3686
+ permissions: Qs
3687
3687
  },
3688
3688
  [`set_${o.crm_bin}`]: {
3689
3689
  key: "sys:crm:bin",
3690
3690
  name: "CRM Bin",
3691
- permissions: Vs
3691
+ permissions: Es
3692
3692
  }
3693
3693
  };
3694
3694
  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 || {});
@@ -3727,14 +3727,14 @@ const K = [
3727
3727
  subject: G.inventory_stockAdjustment,
3728
3728
  actions: [t.update]
3729
3729
  }
3730
- ], Ns = [
3730
+ ], Is = [
3731
3731
  ...K,
3732
3732
  {
3733
3733
  label: "Unit Cost History",
3734
3734
  subject: G.inventory_unitCostHistory,
3735
3735
  actions: [t.read, t.update]
3736
3736
  }
3737
- ], Zs = [
3737
+ ], Rs = [
3738
3738
  ...K,
3739
3739
  {
3740
3740
  label: "Wastage Template",
@@ -3749,8 +3749,8 @@ const K = [
3749
3749
  ];
3750
3750
  [
3751
3751
  ...Et,
3752
- ...Ns,
3753
- ...Zs
3752
+ ...Is,
3753
+ ...Rs
3754
3754
  ];
3755
3755
  const xt = [
3756
3756
  ...K,
@@ -3769,7 +3769,7 @@ const xt = [
3769
3769
  subject: G.inventory_closingDraft,
3770
3770
  actions: [t.read]
3771
3771
  }
3772
- ], zs = [
3772
+ ], Ns = [
3773
3773
  ...K,
3774
3774
  {
3775
3775
  label: "Closing Draft",
@@ -3796,7 +3796,7 @@ const xt = [
3796
3796
  subject: G.inventory_stockAdjustment,
3797
3797
  actions: [t.read]
3798
3798
  }
3799
- ], Us = [
3799
+ ], Zs = [
3800
3800
  ...K,
3801
3801
  {
3802
3802
  label: "Closing Template",
@@ -3816,8 +3816,8 @@ const xt = [
3816
3816
  ];
3817
3817
  [
3818
3818
  ...xt,
3819
- ...zs,
3820
- ...Us
3819
+ ...Ns,
3820
+ ...Zs
3821
3821
  ];
3822
3822
  const hr = [
3823
3823
  {
@@ -3858,7 +3858,7 @@ const hr = [
3858
3858
  subject: G.inventory,
3859
3859
  actions: [t.read, t.update]
3860
3860
  }
3861
- ], Ws = [
3861
+ ], zs = [
3862
3862
  {
3863
3863
  label: "Purchase Order",
3864
3864
  subject: G.inventory_purchaseOrder,
@@ -3899,7 +3899,7 @@ const hr = [
3899
3899
  subject: G.inventory_shipment,
3900
3900
  actions: [t.read, t.update]
3901
3901
  }
3902
- ], Ts = [
3902
+ ], Us = [
3903
3903
  {
3904
3904
  label: "Purchase Order",
3905
3905
  subject: G.inventory_purchaseOrder,
@@ -3920,7 +3920,7 @@ const hr = [
3920
3920
  subject: G.inventory_shipment,
3921
3921
  actions: [t.read, t.update]
3922
3922
  }
3923
- ], Ss = [
3923
+ ], Ws = [
3924
3924
  ...K,
3925
3925
  {
3926
3926
  label: "Surcharge",
@@ -3937,7 +3937,7 @@ const hr = [
3937
3937
  subject: G.inventory_supplier,
3938
3938
  actions: [t.read]
3939
3939
  }
3940
- ], ks = [
3940
+ ], Ts = [
3941
3941
  ...K,
3942
3942
  {
3943
3943
  label: "Order Template",
@@ -3968,10 +3968,10 @@ const hr = [
3968
3968
  }
3969
3969
  ];
3970
3970
  [
3971
+ ...zs,
3972
+ ...Us,
3971
3973
  ...Ws,
3972
- ...Ts,
3973
- ...Ss,
3974
- ...ks
3974
+ ...Ts
3975
3975
  ];
3976
3976
  const Dr = [
3977
3977
  ...K,
@@ -4042,12 +4042,12 @@ const xr = {
4042
4042
  [`set_${o.inventory_unitCostHistory}`]: {
4043
4043
  key: "sys:inventory:unit_cost_history",
4044
4044
  name: "Unit Cost History",
4045
- permissions: Ns
4045
+ permissions: Is
4046
4046
  },
4047
4047
  [`set_${o.inventory_wastageTemplate}`]: {
4048
4048
  key: "sys:inventory:wastage_template",
4049
4049
  name: "Wastage Template",
4050
- permissions: Zs
4050
+ permissions: Rs
4051
4051
  },
4052
4052
  [`set_${o.inventory_closingHistory}`]: {
4053
4053
  key: "sys:inventory:closing_history",
@@ -4057,12 +4057,12 @@ const xr = {
4057
4057
  [`set_${o.inventory_closingTemplate}`]: {
4058
4058
  key: "sys:inventory:closing_template",
4059
4059
  name: "Closing Template",
4060
- permissions: Us
4060
+ permissions: Zs
4061
4061
  },
4062
4062
  [`set_${o.inventory_closingDraft}`]: {
4063
4063
  key: "sys:inventory:closing_draft",
4064
4064
  name: "Closing Draft",
4065
- permissions: zs
4065
+ permissions: Ns
4066
4066
  },
4067
4067
  [`set_${o.inventory_ingredient}`]: {
4068
4068
  key: "sys:inventory:ingredient",
@@ -4087,7 +4087,7 @@ const xr = {
4087
4087
  [`set_${o.inventory_purchaseTransfer}`]: {
4088
4088
  key: "sys:inventory:purchase_transfer",
4089
4089
  name: "Purchase Transfer",
4090
- permissions: Ws
4090
+ permissions: zs
4091
4091
  },
4092
4092
  [`set_${o.inventory_orderDraftApproval}`]: {
4093
4093
  key: "sys:inventory:order_draft_approval",
@@ -4097,17 +4097,17 @@ const xr = {
4097
4097
  [`set_${o.inventory_transferOut}`]: {
4098
4098
  key: "sys:inventory:transfer_out",
4099
4099
  name: "Transfer Out",
4100
- permissions: Ts
4100
+ permissions: Us
4101
4101
  },
4102
4102
  [`set_${o.inventory_surcharge}`]: {
4103
4103
  key: "sys:inventory:surcharge",
4104
4104
  name: "Surcharge",
4105
- permissions: Ss
4105
+ permissions: Ws
4106
4106
  },
4107
4107
  [`set_${o.inventory_orderTemplate}`]: {
4108
4108
  key: "sys:inventory:order_template",
4109
4109
  name: "Order Template",
4110
- permissions: ks
4110
+ permissions: Ts
4111
4111
  },
4112
4112
  [`set_${o.inventory_supplier}`]: {
4113
4113
  key: "sys:inventory:supplier",
@@ -4206,8 +4206,8 @@ const Vr = {
4206
4206
  ]
4207
4207
  }
4208
4208
  };
4209
- var Ks = /* @__PURE__ */ ((e) => (e.payment_terminals = "payment::terminals", e))(Ks || {});
4210
- const Zt = [
4209
+ var Ss = /* @__PURE__ */ ((e) => (e.payment_terminals = "payment::terminals", e))(Ss || {});
4210
+ const Rt = [
4211
4211
  {
4212
4212
  label: "Payout Account",
4213
4213
  subject: o.payment_payoutAccount,
@@ -4215,19 +4215,19 @@ const Zt = [
4215
4215
  },
4216
4216
  {
4217
4217
  label: "Payment Terminals",
4218
- subject: Ks.payment_terminals,
4218
+ subject: Ss.payment_terminals,
4219
4219
  actions: [t.read]
4220
4220
  }
4221
4221
  ], Pr = {
4222
4222
  [`set_${o.payment_transactions}`]: {
4223
4223
  key: "sys:payment:transactions",
4224
4224
  name: "Payment Transactions Access",
4225
- permissions: Zt
4225
+ permissions: Rt
4226
4226
  },
4227
4227
  [`set_${o.payment_settlements}`]: {
4228
4228
  key: "sys:payment:settlements",
4229
4229
  name: "Payment Settlements Access",
4230
- permissions: Zt
4230
+ permissions: Rt
4231
4231
  }
4232
4232
  }, Fr = {
4233
4233
  ...yr,
@@ -4247,7 +4247,7 @@ var Re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4247
4247
  function Or(e) {
4248
4248
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4249
4249
  }
4250
- var Ls = { exports: {} };
4250
+ var ks = { exports: {} };
4251
4251
  (function(e, A) {
4252
4252
  (function(u, c) {
4253
4253
  e.exports = c();
@@ -4624,8 +4624,8 @@ var Ls = { exports: {} };
4624
4624
  }
4625
4625
  ]);
4626
4626
  });
4627
- })(Ls);
4628
- var qr = Ls.exports;
4627
+ })(ks);
4628
+ var qr = ks.exports;
4629
4629
  const Hr = /* @__PURE__ */ Or(qr);
4630
4630
  function Xr(e, A) {
4631
4631
  for (var u = 0; u < A.length; u++) {
@@ -4693,16 +4693,16 @@ function wt(e) {
4693
4693
  }), Se(n, c);
4694
4694
  }, wt(e);
4695
4695
  }
4696
- function zt(e) {
4696
+ function Nt(e) {
4697
4697
  if (e === void 0)
4698
4698
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4699
4699
  return e;
4700
4700
  }
4701
- var Js = function(A) {
4701
+ var Ks = function(A) {
4702
4702
  return 'Cannot execute "' + A.action + '" on "' + A.subjectName + '"';
4703
- }, ze = Js, Zr = /* @__PURE__ */ function(e) {
4703
+ }, ze = Ks, Zr = /* @__PURE__ */ function(e) {
4704
4704
  Ir(A, e), A.setDefaultMessage = function(n) {
4705
- n === null ? ze = Js : ze = typeof n == "string" ? function() {
4705
+ n === null ? ze = Ks : ze = typeof n == "string" ? function() {
4706
4706
  return n;
4707
4707
  } : n;
4708
4708
  }, A.from = function(n) {
@@ -4713,7 +4713,7 @@ var Js = function(A) {
4713
4713
  };
4714
4714
  function A(c, n) {
4715
4715
  var m;
4716
- return n === void 0 && (n = {}), m = e.call(this, c) || this, m._setMetadata(n), m.message = c || ze(zt(m)), m._customMessage = null, typeof Error.captureStackTrace == "function" && (m.name = m.constructor.name, Error.captureStackTrace(zt(m), m.constructor)), m;
4716
+ return n === void 0 && (n = {}), m = e.call(this, c) || this, m._setMetadata(n), m.message = c || ze(Nt(m)), m._customMessage = null, typeof Error.captureStackTrace == "function" && (m.name = m.constructor.name, Error.captureStackTrace(Nt(m), m.constructor)), m;
4717
4717
  }
4718
4718
  var u = A.prototype;
4719
4719
  return u.setMessage = function(n) {
@@ -4779,19 +4779,19 @@ var _r = /* @__PURE__ */ function() {
4779
4779
  }, A.matchesField = function(c) {
4780
4780
  return typeof this._fieldsPattern > "u" && (this._fieldsPattern = this.fields.join("").indexOf("*") === -1 ? null : Jr(this.fields)), this._fieldsPattern === null || c.indexOf("*") !== -1 ? this.fields.indexOf(c) !== -1 : this._fieldsPattern.test(c);
4781
4781
  }, e;
4782
- }(), ee = typeof Symbol < "u" ? Symbol("private") : "__" + Date.now(), Ut = {
4782
+ }(), ee = typeof Symbol < "u" ? Symbol("private") : "__" + Date.now(), Zt = {
4783
4783
  crud: ["create", "read", "update", "delete"]
4784
4784
  };
4785
- function Wt(e, A) {
4785
+ function zt(e, A) {
4786
4786
  return e === A || Array.isArray(A) && A.indexOf(e) !== -1;
4787
4787
  }
4788
4788
  var $r = /* @__PURE__ */ function() {
4789
4789
  e.addAlias = function(c, n) {
4790
- if (c === "manage" || Wt("manage", n))
4790
+ if (c === "manage" || zt("manage", n))
4791
4791
  throw new Error('Cannot add alias for "manage" action because it represents any action');
4792
- if (Wt(c, n))
4792
+ if (zt(c, n))
4793
4793
  throw new Error("Attempt to alias action to itself: " + c + " -> " + n.toString());
4794
- return Ut[c] = n, this;
4794
+ return Zt[c] = n, this;
4795
4795
  };
4796
4796
  function e(u, c) {
4797
4797
  c === void 0 && (c = {}), Object.defineProperty(this, "subjectName", {
@@ -4803,7 +4803,7 @@ var $r = /* @__PURE__ */ function() {
4803
4803
  indexedRules: /* @__PURE__ */ Object.create(null),
4804
4804
  mergedRules: /* @__PURE__ */ Object.create(null),
4805
4805
  events: {},
4806
- aliases: Ur(Ut)
4806
+ aliases: Ur(Zt)
4807
4807
  }, this.update(u);
4808
4808
  }
4809
4809
  var A = e.prototype;
@@ -4894,10 +4894,10 @@ var $r = /* @__PURE__ */ function() {
4894
4894
  }]), e;
4895
4895
  }();
4896
4896
  function ea(e) {
4897
- return Ms[e] ?? e;
4897
+ return Bs[e] ?? e;
4898
4898
  }
4899
4899
  function $a(e) {
4900
- const A = Object.entries(Ms).find(([, u]) => u === e);
4900
+ const A = Object.entries(Bs).find(([, u]) => u === e);
4901
4901
  return A ? A[0] : e;
4902
4902
  }
4903
4903
  function ta(e) {
@@ -4932,7 +4932,7 @@ const ra = () => {
4932
4932
  };
4933
4933
  function aa(e, A, u) {
4934
4934
  let c;
4935
- tn(u) ? c = {
4935
+ $s(u) ? c = {
4936
4936
  evaluating: u
4937
4937
  } : c = {};
4938
4938
  const {
@@ -4940,9 +4940,9 @@ function aa(e, A, u) {
4940
4940
  evaluating: m = void 0,
4941
4941
  shallow: y = !0,
4942
4942
  onError: h = ra
4943
- } = c, E = ve(!n), Y = y ? sn(A) : ve(A);
4943
+ } = c, E = ve(!n), Y = y ? en(A) : ve(A);
4944
4944
  let w = 0;
4945
- return St(async (P) => {
4945
+ return Wt(async (P) => {
4946
4946
  if (!E.value)
4947
4947
  return;
4948
4948
  w++;
@@ -5051,7 +5051,7 @@ const ca = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
5051
5051
  }, ya = { class: "w-full h-full flex justify-center items-center" }, va = { class: "flex flex-row xs:flex-col items-center gap-24 p-16" }, ha = { class: "w-[300px] h-[300px]" }, Ba = ["src"], wa = { class: "text-2xl" }, Ma = { class: "text-xl" }, Ca = /* @__PURE__ */ xe({
5052
5052
  __name: "NoPermission",
5053
5053
  setup(e) {
5054
- const { t: A } = Jt({
5054
+ const { t: A } = Kt({
5055
5055
  messages: {
5056
5056
  "en-US": ua,
5057
5057
  "zh-CN": ga,
@@ -5059,7 +5059,7 @@ const ca = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
5059
5059
  "th-TH": fa
5060
5060
  }
5061
5061
  });
5062
- return (u, c) => (Ve(), Kt("div", ya, [
5062
+ return (u, c) => (Ve(), St("div", ya, [
5063
5063
  we("div", va, [
5064
5064
  we("div", ha, [
5065
5065
  we("img", {
@@ -5078,7 +5078,7 @@ const ca = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
5078
5078
  __name: "PermissionWrapper",
5079
5079
  setup(e) {
5080
5080
  const A = la();
5081
- return (u, c) => Me(A) === Me(Ct).Denied ? (Ve(), ke(Ca, { key: 0 })) : Me(A) === Me(Ct).Allowed ? kt(u.$slots, "default", { key: 1 }) : nn("", !0);
5081
+ return (u, c) => Me(A) === Me(Ct).Denied ? (Ve(), ke(Ca, { key: 0 })) : Me(A) === Me(Ct).Allowed ? Tt(u.$slots, "default", { key: 1 }) : tn("", !0);
5082
5082
  }
5083
5083
  });
5084
5084
  function Ke(e) {
@@ -5102,11 +5102,9 @@ function ja(e, A) {
5102
5102
  };
5103
5103
  }
5104
5104
  }
5105
- return Rt(A, async () => {
5106
- await Nt(), c();
5107
- }), Rt(e, async (n) => {
5108
- n && (await Nt(), c());
5109
- }), Lt(() => {
5105
+ return sn(e, async (n) => {
5106
+ n && (await nn(), c());
5107
+ }), kt(() => {
5110
5108
  window.addEventListener("resize", c);
5111
5109
  }), rn(() => {
5112
5110
  window.removeEventListener("resize", c);
@@ -5122,12 +5120,12 @@ const Ga = /* @__PURE__ */ xe({
5122
5120
  height: `calc(100dvh - ${((h = c.value) == null ? void 0 : h.top) + 24 + y}px)`
5123
5121
  };
5124
5122
  });
5125
- return (m, y) => (Ve(), Kt("div", {
5123
+ return (m, y) => (Ve(), St("div", {
5126
5124
  ref_key: "wrapper",
5127
5125
  ref: u,
5128
5126
  style: an(n.value)
5129
5127
  }, [
5130
- kt(m.$slots, "default")
5128
+ Tt(m.$slots, "default")
5131
5129
  ], 4));
5132
5130
  }
5133
5131
  }), Ya = { class: "flex justify-center items-center h-full w-full" }, Ea = /* @__PURE__ */ xe({
@@ -5159,10 +5157,10 @@ const ht = (e) => ({
5159
5157
  }
5160
5158
  ]
5161
5159
  }
5162
- }), xa = Ke(be(() => import("./Main-BGc6kNaR.js"))), Va = Ke(be(() => import("./Main-D7bV8EuC.js"))), Pa = Ke(
5163
- be(() => import("./AuditLogList-Bsj-qg8n.js"))
5164
- ), Fa = Ke(be(() => import("./Main-CSMAtoMj.js"))), Oa = be(() => import("./EmployeeList-Cy2ayCko.js")), qa = be(() => import("./RoleList-e0WUqt4Y.js")), Ha = be(() => import("./TimesheetList-tFjvFHqH.js")), Xa = be(() => import("./TeamMemberList-CpPa1KyV.js")), Qa = be(
5165
- () => import("./PermissionSetList-CuHhDqWl.js")
5160
+ }), xa = Ke(be(() => import("./Main-BZjZxFHp.js"))), Va = Ke(be(() => import("./Main-C9lMH4EN.js"))), Pa = Ke(
5161
+ be(() => import("./AuditLogList-7E8iWQWx.js"))
5162
+ ), Fa = Ke(be(() => import("./Main-BLJyOcEv.js"))), Oa = be(() => import("./EmployeeList-DyNW3cUo.js")), qa = be(() => import("./RoleList-L8L1xmJ2.js")), Ha = be(() => import("./TimesheetList-D88u0GFn.js")), Xa = be(() => import("./TeamMemberList-DEN9rHqb.js")), Qa = be(
5163
+ () => import("./PermissionSetList-BuCp14Os.js")
5166
5164
  ), eo = [
5167
5165
  {
5168
5166
  path: "/",
@@ -5228,7 +5226,7 @@ const ht = (e) => ({
5228
5226
  __name: "Navigator",
5229
5227
  emits: ["close-navigation"],
5230
5228
  setup(e, { emit: A }) {
5231
- const u = A, { t: c } = Jt(), n = mn(), { sessionUser: m } = Yt(), y = jt(() => {
5229
+ const u = A, { t: c } = Kt(), n = mn(), { sessionUser: m } = Yt(), y = jt(() => {
5232
5230
  var Y;
5233
5231
  const E = [];
5234
5232
  return E.push({
@@ -5268,7 +5266,7 @@ const ht = (e) => ({
5268
5266
  }
5269
5267
  }), E;
5270
5268
  }), h = ve();
5271
- return St(() => {
5269
+ return Wt(() => {
5272
5270
  var Y;
5273
5271
  let E = (Y = n.currentRoute.value) == null ? void 0 : Y.name;
5274
5272
  switch (E) {
@@ -5683,9 +5681,9 @@ var Dt = { exports: {} };
5683
5681
  if (!me) return [3, 7];
5684
5682
  ge = null, fe = null, ye.label = 1;
5685
5683
  case 1:
5686
- 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(_s) {
5684
+ 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(Ls) {
5687
5685
  var yt;
5688
- (yt = Xt.onError) === null || yt === void 0 || yt.call(Xt, _s);
5686
+ (yt = Xt.onError) === null || yt === void 0 || yt.call(Xt, Ls);
5689
5687
  }), [3, 4]) : [3, 2];
5690
5688
  case 2:
5691
5689
  return ne ? [3, 4] : [4, this.getFlags()];
@@ -5955,7 +5953,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
5955
5953
  })(Dt, Dt.exports);
5956
5954
  var Ra = Dt.exports, Na = {
5957
5955
  NOT_INITIALIZED: "FeatureFlag not initialized. Call init() first."
5958
- }, Tt = "business", de, Za = (de = class {
5956
+ }, Ut = "business", de, Za = (de = class {
5959
5957
  constructor() {
5960
5958
  Ze(this, "flagsmithClient", null);
5961
5959
  Ze(this, "userContext", null);
@@ -6076,7 +6074,7 @@ function Ua(e = za) {
6076
6074
  } catch (P) {
6077
6075
  console.error("Failed to set user:", P), Ye.value = P;
6078
6076
  }
6079
- }, n = async (w) => c(`${Tt}-${w}`), m = (w, P, I = null) => {
6077
+ }, n = async (w) => c(`${Ut}-${w}`), m = (w, P, I = null) => {
6080
6078
  if (!A()) return I;
6081
6079
  try {
6082
6080
  return e.getFlagValue(w, P) ?? I;
@@ -6097,7 +6095,7 @@ function Ua(e = za) {
6097
6095
  } catch (z) {
6098
6096
  return console.error(`Error getting user flag value for ${P}:`, z), I;
6099
6097
  }
6100
- }, E = async (w, P, I = null, H) => h(`${Tt}-${w}`, P, I, H), Y = () => {
6098
+ }, E = async (w, P, I = null, H) => h(`${Ut}-${w}`, P, I, H), Y = () => {
6101
6099
  try {
6102
6100
  e.reset();
6103
6101
  } catch (w) {
@@ -6125,7 +6123,7 @@ const to = /* @__PURE__ */ xe({
6125
6123
  __name: "App",
6126
6124
  setup(e) {
6127
6125
  const A = Yt(), { init: u } = Wa();
6128
- return Lt(async () => {
6126
+ return kt(async () => {
6129
6127
  A.registerSidebarComponent(Ia), await u({
6130
6128
  apiKey: A.namespace.value === "prod" ? "6GhcttsJ9Rj9cTevcdrpin" : "MaGoXrEWuEJNpWgKTqseee"
6131
6129
  });