@feedmepos/mf-hrm-portal 2.2.2-dev → 2.2.2-dev.2

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 (37) hide show
  1. package/dist/{ApprovalCodeList-B9O8QzzI.js → ApprovalCodeList-BvZs3tn-.js} +2 -2
  2. package/dist/AuditLogList-Bv4fkVpI.js +1611 -0
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C9MYbxum.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C-03FIfv.js} +2 -2
  4. package/dist/{EmployeeList-BFxMwFJq.js → EmployeeList-BDTcK6GD.js} +66 -65
  5. package/dist/{GrantUserList-CZtmMRoS.js → GrantUserList-BOxUsFcl.js} +3 -3
  6. package/dist/{Main-on0TXkQt.js → Main-Csma2yIU.js} +5 -5
  7. package/dist/{Main-DD6IthCS.js → Main-Da_g7CTz.js} +2 -2
  8. package/dist/{Main-B622Z4q4.js → Main-laHdN12w.js} +9 -9
  9. package/dist/{PermissionSetList-FCX3TBoi.js → PermissionSetList-CpK7M-eA.js} +77 -76
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Cl_YNh0k.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-D91dsivb.js} +627 -622
  11. package/dist/RoleList-CnuSsHaU.js +739 -0
  12. package/dist/{TeamMemberList-BAU7Y3jh.js → TeamMemberList-mID3B9gL.js} +305 -305
  13. package/dist/{TimesheetList-DtFBWhma.js → TimesheetList-B1Vq7RMs.js} +5 -5
  14. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-Tatn3jUv.js → TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-BXVYGX0n.js} +2 -2
  15. package/dist/{app-Bbf6hEPt.js → app-CDhU3geD.js} +16 -16
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-BAnGg8q2.js → dayjs.min-CuJv-tp-.js} +1 -1
  18. package/dist/{employee-DVSD3L51.js → employee-RyVvi0m5.js} +3 -3
  19. package/dist/{iteration-BTZViJtd.js → iteration-3WrCeF_5.js} +1 -1
  20. package/dist/{lodash-Cgdk4_YL.js → lodash-Cm-71byT.js} +1 -1
  21. package/dist/{role-CXVpO6fB.js → role-CHQOtd0E.js} +1 -1
  22. package/dist/{rule-TR3MVo-b.js → rule--e-16FwK.js} +287 -260
  23. package/dist/src/api/user/index.d.ts +2 -2
  24. package/dist/src/composables/useReportPermissions.d.ts +1 -0
  25. package/dist/src/helpers/rule.d.ts +2 -0
  26. package/dist/src/types/role.d.ts +1 -0
  27. package/dist/src/views/audit-log/locales/index.d.ts +0 -4
  28. package/dist/src/views/hr/locales/index.d.ts +12 -8
  29. package/dist/style.css +1 -1
  30. package/dist/tsconfig.app.tsbuildinfo +1 -1
  31. package/dist/useReportPermissions-Br78ni1L.js +82 -0
  32. package/package.json +2 -2
  33. package/dist/AuditLogList-CtFEXKWZ.js +0 -1722
  34. package/dist/RoleList-p_9KHzqF.js +0 -725
  35. package/dist/src/views/audit-log/change-nodes.d.ts +0 -14
  36. package/dist/src/views/audit-log/operation-status.d.ts +0 -2
  37. package/dist/useReportPermissions-BpAFyO17.js +0 -71
@@ -1,16 +1,16 @@
1
1
  import { ref as d, computed as g, defineComponent as pe, onMounted as fe, watch as Z, resolveComponent as u, createElementBlock as P, openBlock as E, Fragment as ee, createVNode as l, createElementVNode as i, unref as r, withCtx as b, createCommentVNode as ve, toDisplayString as O, createTextVNode as he, isRef as ge, renderList as we, createBlock as te, nextTick as ye } from "vue";
2
- import { d as v } from "./dayjs.min-BAnGg8q2.js";
2
+ import { d as v } from "./dayjs.min-CuJv-tp-.js";
3
3
  import { useI18n as _e } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as be, components as xe } from "@feedmepos/ui-library";
5
5
  import { S as De, _ as Se } from "./SelectFilter-ATOm0hdn.js";
6
- import { _ as Ve } from "./app-Bbf6hEPt.js";
6
+ import { _ as Ve } from "./app-CDhU3geD.js";
7
7
  import { _ as ke } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
8
8
  import { u as Ce } from "./useLoading-CXzTpIVv.js";
9
- import { g as Fe, s as Ye } from "./iteration-BTZViJtd.js";
9
+ import { g as Fe, s as Ye } from "./iteration-3WrCeF_5.js";
10
10
  import { f as Le } from "./utils-BZkjJbju.js";
11
- import { u as Me } from "./employee-DVSD3L51.js";
11
+ import { u as Me } from "./employee-RyVvi0m5.js";
12
12
  import { u as Te } from "./restaurant-BTpBmfBV.js";
13
- import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-Tatn3jUv.js";
13
+ import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-BXVYGX0n.js";
14
14
  function Ie(x, a) {
15
15
  return ["years", "months"].find((S) => {
16
16
  const V = x.startOf(S), m = x.endOf(S);
@@ -1,8 +1,8 @@
1
- import { d as i } from "./dayjs.min-BAnGg8q2.js";
1
+ import { d as i } from "./dayjs.min-CuJv-tp-.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
4
  import { b as c, g as y } from "./restaurant-BTpBmfBV.js";
5
- import { s as S } from "./iteration-BTZViJtd.js";
5
+ import { s as S } from "./iteration-3WrCeF_5.js";
6
6
  import { i as f, f as g } from "./utils-BZkjJbju.js";
7
7
  const u = {
8
8
  async readTimesheets(t, e) {
@@ -2733,7 +2733,6 @@ const Br = {
2733
2733
  rowHint: "Operation",
2734
2734
  unlabeled: "Operation",
2735
2735
  badge: "{count} ops",
2736
- partialFailure: "Permission check passed, but one or more operations failed.",
2737
2736
  sheetHeader: "Operation Detail",
2738
2737
  entity: "Entity",
2739
2738
  duration: "Duration",
@@ -2948,7 +2947,6 @@ const Br = {
2948
2947
  rowHint: "การดำเนินการ",
2949
2948
  unlabeled: "การดำเนินการ",
2950
2949
  badge: "{count} รายการ",
2951
- partialFailure: "การตรวจสอบสิทธิ์ผ่านแล้ว แต่มีการดำเนินการอย่างน้อยหนึ่งรายการล้มเหลว",
2952
2950
  sheetHeader: "รายละเอียดการดำเนินการ",
2953
2951
  entity: "ข้อมูลที่เกี่ยวข้อง",
2954
2952
  duration: "ระยะเวลา",
@@ -3163,7 +3161,6 @@ const Br = {
3163
3161
  rowHint: "操作",
3164
3162
  unlabeled: "操作",
3165
3163
  badge: "{count} 项操作",
3166
- partialFailure: "权限检查已通过,但一个或多个操作失败。",
3167
3164
  sheetHeader: "操作详情",
3168
3165
  entity: "对象",
3169
3166
  duration: "耗时",
@@ -3378,7 +3375,6 @@ const Br = {
3378
3375
  rowHint: "操作",
3379
3376
  unlabeled: "操作",
3380
3377
  badge: "{count} 項操作",
3381
- partialFailure: "權限檢查已通過,但一個或多個操作失敗。",
3382
3378
  sheetHeader: "操作詳情",
3383
3379
  entity: "對象",
3384
3380
  duration: "耗時",
@@ -3569,10 +3565,11 @@ const Br = {
3569
3565
  maxValueIs: "Max value is {max}",
3570
3566
  minValueIs: "Min value is {min}",
3571
3567
  restaurant: "Restaurant",
3568
+ v8OnlyReportTag: "(POS v8 and above)",
3572
3569
  permissionLabels: {
3573
3570
  "order:discount": "Discount",
3574
3571
  "order:changePrice": "Change Price",
3575
- "order:void": "Void",
3572
+ "order:void_": "Void",
3576
3573
  "order:waiveServiceCharge": "Waive Service Charge",
3577
3574
  "order:payment": "Payment",
3578
3575
  "order:claimDeposit": "Claim Deposit",
@@ -3609,7 +3606,7 @@ const Br = {
3609
3606
  "report:drawer": "Drawer",
3610
3607
  "report:discount": "Discount",
3611
3608
  "report:refund": "Refund",
3612
- "report:void": "Void",
3609
+ "report:void_": "Void",
3613
3610
  "report:timesheet": "Timesheet",
3614
3611
  "report:counterPayment": "Counter Payment"
3615
3612
  }
@@ -3777,10 +3774,11 @@ const Br = {
3777
3774
  maxValueIs: "ค่าสูงสุดคือ {max}",
3778
3775
  minValueIs: "ค่าต่ำสุดคือ {min}",
3779
3776
  restaurant: "ร้านอาหาร",
3777
+ v8OnlyReportTag: "(POS v8 ขึ้นไป)",
3780
3778
  permissionLabels: {
3781
3779
  "order:discount": "ใช้ส่วนลด",
3782
3780
  "order:changePrice": "เปลี่ยนราคา",
3783
- "order:void": "ยกเลิกออเดอร์",
3781
+ "order:void_": "ยกเลิกออเดอร์",
3784
3782
  "order:waiveServiceCharge": "ยกเว้นค่าบริการ",
3785
3783
  "order:payment": "ชำระเงิน",
3786
3784
  "order:claimDeposit": "ขอคืนมัดจำ",
@@ -3817,7 +3815,7 @@ const Br = {
3817
3815
  "report:drawer": "ลิ้นชักเก็บเงิน",
3818
3816
  "report:discount": "ส่วนลด",
3819
3817
  "report:refund": "การคืนเงิน",
3820
- "report:void": "ยกเลิก",
3818
+ "report:void_": "ยกเลิก",
3821
3819
  "report:timesheet": "ใบบันทึกลงเวลาทำงาน",
3822
3820
  "report:counterPayment": "การชำระเงินที่เคาน์เตอร์"
3823
3821
  }
@@ -3984,10 +3982,11 @@ const Br = {
3984
3982
  maxValueIs: "最大值是 {max}",
3985
3983
  minValueIs: "最小值是 {min}",
3986
3984
  restaurant: "餐厅",
3985
+ v8OnlyReportTag: "(POS v8 及以上)",
3987
3986
  permissionLabels: {
3988
3987
  "order:discount": "折扣",
3989
3988
  "order:changePrice": "修改价格",
3990
- "order:void": "作废",
3989
+ "order:void_": "作废",
3991
3990
  "order:waiveServiceCharge": "免除服务费",
3992
3991
  "order:payment": "付款",
3993
3992
  "order:claimDeposit": "领取押金",
@@ -4024,7 +4023,7 @@ const Br = {
4024
4023
  "report:drawer": "收银抽屉报告",
4025
4024
  "report:discount": "折扣报告",
4026
4025
  "report:refund": "退款报告",
4027
- "report:void": "作废报告",
4026
+ "report:void_": "作废报告",
4028
4027
  "report:timesheet": "工时报告",
4029
4028
  "report:counterPayment": "收银台付款报告"
4030
4029
  }
@@ -4192,10 +4191,11 @@ const Br = {
4192
4191
  maxValueIs: "最大值是 {max}",
4193
4192
  minValueIs: "最小值是 {min}",
4194
4193
  restaurant: "餐廳",
4194
+ v8OnlyReportTag: "(POS v8 及以上)",
4195
4195
  permissionLabels: {
4196
4196
  "order:discount": "折扣",
4197
4197
  "order:changePrice": "修改價格",
4198
- "order:void": "作廢",
4198
+ "order:void_": "作廢",
4199
4199
  "order:waiveServiceCharge": "免除服務費",
4200
4200
  "order:payment": "付款",
4201
4201
  "order:claimDeposit": "領取押金",
@@ -4232,7 +4232,7 @@ const Br = {
4232
4232
  "report:drawer": "收銀抽屜報告",
4233
4233
  "report:discount": "折扣報告",
4234
4234
  "report:refund": "退款報告",
4235
- "report:void": "作廢報告",
4235
+ "report:void_": "作廢報告",
4236
4236
  "report:timesheet": "工時報告",
4237
4237
  "report:counterPayment": "收銀台付款報告"
4238
4238
  }
@@ -8674,10 +8674,10 @@ const Et = (e) => ({
8674
8674
  }
8675
8675
  ]
8676
8676
  }
8677
- }), al = Kt(Be(() => import("./Main-B622Z4q4.js"))), ol = Kt(Be(() => import("./Main-on0TXkQt.js"))), il = Kt(
8678
- Be(() => import("./AuditLogList-CtFEXKWZ.js"))
8679
- ), cl = Kt(Be(() => import("./Main-DD6IthCS.js"))), ll = Be(() => import("./ApprovalCodeList-B9O8QzzI.js")), ul = Be(() => import("./GrantUserList-CZtmMRoS.js")), Al = Be(() => import("./EmployeeList-BFxMwFJq.js")), dl = Be(() => import("./RoleList-p_9KHzqF.js")), ml = Be(() => import("./TimesheetList-DtFBWhma.js")), gl = Be(() => import("./TeamMemberList-BAU7Y3jh.js")), pl = Be(
8680
- () => import("./PermissionSetList-FCX3TBoi.js")
8677
+ }), al = Kt(Be(() => import("./Main-laHdN12w.js"))), ol = Kt(Be(() => import("./Main-Csma2yIU.js"))), il = Kt(
8678
+ Be(() => import("./AuditLogList-Bv4fkVpI.js"))
8679
+ ), cl = Kt(Be(() => import("./Main-Da_g7CTz.js"))), ll = Be(() => import("./ApprovalCodeList-BvZs3tn-.js")), ul = Be(() => import("./GrantUserList-BOxUsFcl.js")), Al = Be(() => import("./EmployeeList-BDTcK6GD.js")), dl = Be(() => import("./RoleList-CnuSsHaU.js")), ml = Be(() => import("./TimesheetList-B1Vq7RMs.js")), gl = Be(() => import("./TeamMemberList-mID3B9gL.js")), pl = Be(
8680
+ () => import("./PermissionSetList-CpK7M-eA.js")
8681
8681
  ), Fl = [
8682
8682
  {
8683
8683
  path: "/",
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e, i as r, r as o } from "./app-Bbf6hEPt.js";
1
+ import { j as e, i as r, r as o } from "./app-CDhU3geD.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, c as K } from "./app-Bbf6hEPt.js";
1
+ import { g as Q, c as K } from "./app-CDhU3geD.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,10 +1,10 @@
1
- import { d as g } from "./dayjs.min-BAnGg8q2.js";
1
+ import { d as g } from "./dayjs.min-CuJv-tp-.js";
2
2
  import { defineStore as $, storeToRefs as T } from "pinia";
3
3
  import { ref as m } from "vue";
4
- import { s as E } from "./iteration-BTZViJtd.js";
4
+ import { s as E } from "./iteration-3WrCeF_5.js";
5
5
  import { b as i, g as f, u as w } from "./restaurant-BTpBmfBV.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as _ } from "./role-CXVpO6fB.js";
7
+ import { u as _ } from "./role-CHQOtd0E.js";
8
8
  const o = {
9
9
  async readEmployees() {
10
10
  return f(await i().get("/pos-users"));
@@ -1,4 +1,4 @@
1
- import { c as B } from "./app-Bbf6hEPt.js";
1
+ import { c as B } from "./app-CDhU3geD.js";
2
2
  var ma = {}, Zt = {}, l = {}, ji = {}, Ei = {}, Ii = {}, Dn = {};
3
3
  (function(e) {
4
4
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
@@ -1,4 +1,4 @@
1
- import { c as jt } from "./app-Bbf6hEPt.js";
1
+ import { c as jt } from "./app-CDhU3geD.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,7 +1,7 @@
1
1
  import { defineStore as x, storeToRefs as b } from "pinia";
2
2
  import { ref as w } from "vue";
3
3
  import { useCoreStore as B } from "@feedmepos/mf-common";
4
- import { s as v } from "./iteration-BTZViJtd.js";
4
+ import { s as v } from "./iteration-3WrCeF_5.js";
5
5
  import { g as f, b as p, u as I } from "./restaurant-BTpBmfBV.js";
6
6
  const R = {
7
7
  async readRoles() {