@feedmepos/mf-hrm-portal 2.2.2-dev → 2.2.2-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 (32) hide show
  1. package/dist/{ApprovalCodeList-B9O8QzzI.js → ApprovalCodeList-BjRRA_sc.js} +2 -2
  2. package/dist/{AuditLogList-CtFEXKWZ.js → AuditLogList-B8kE39lt.js} +3 -3
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C9MYbxum.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Ba8w1BwT.js} +2 -2
  4. package/dist/{EmployeeList-BFxMwFJq.js → EmployeeList-7e069yPp.js} +66 -65
  5. package/dist/{GrantUserList-CZtmMRoS.js → GrantUserList-CTYamty5.js} +3 -3
  6. package/dist/{Main-on0TXkQt.js → Main-B-3s0bf_.js} +5 -5
  7. package/dist/{Main-DD6IthCS.js → Main-DcPLufZ5.js} +2 -2
  8. package/dist/{Main-B622Z4q4.js → Main-DfeNUiyv.js} +9 -9
  9. package/dist/{PermissionSetList-FCX3TBoi.js → PermissionSetList-CNujxzHF.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-Cq9xp1TW.js} +585 -580
  11. package/dist/RoleList-YaY7Np_9.js +739 -0
  12. package/dist/{TeamMemberList-BAU7Y3jh.js → TeamMemberList-B-I3KjnH.js} +305 -305
  13. package/dist/{TimesheetList-DtFBWhma.js → TimesheetList-BTsvEiD6.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-CJYgeUxK.js} +2 -2
  15. package/dist/{app-Bbf6hEPt.js → app-C3u5orep.js} +16 -12
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-BAnGg8q2.js → dayjs.min-B-sLuqme.js} +1 -1
  18. package/dist/{employee-DVSD3L51.js → employee-DaduVi88.js} +3 -3
  19. package/dist/{iteration-BTZViJtd.js → iteration-Cii8ZeX3.js} +1 -1
  20. package/dist/{lodash-Cgdk4_YL.js → lodash-BifZ3B1q.js} +1 -1
  21. package/dist/{role-CXVpO6fB.js → role-tzqciGzt.js} +1 -1
  22. package/dist/{rule-TR3MVo-b.js → rule-GhzA0R9H.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/hr/locales/index.d.ts +12 -8
  28. package/dist/tsconfig.app.tsbuildinfo +1 -1
  29. package/dist/useReportPermissions-BRLy3D7v.js +82 -0
  30. package/package.json +2 -2
  31. package/dist/RoleList-p_9KHzqF.js +0 -725
  32. 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-B-sLuqme.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-C3u5orep.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-Cii8ZeX3.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-DaduVi88.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-CJYgeUxK.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-B-sLuqme.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-Cii8ZeX3.js";
6
6
  import { i as f, f as g } from "./utils-BZkjJbju.js";
7
7
  const u = {
8
8
  async readTimesheets(t, e) {
@@ -3569,10 +3569,11 @@ const Br = {
3569
3569
  maxValueIs: "Max value is {max}",
3570
3570
  minValueIs: "Min value is {min}",
3571
3571
  restaurant: "Restaurant",
3572
+ v8OnlyReportTag: "(POS v8 and above)",
3572
3573
  permissionLabels: {
3573
3574
  "order:discount": "Discount",
3574
3575
  "order:changePrice": "Change Price",
3575
- "order:void": "Void",
3576
+ "order:void_": "Void",
3576
3577
  "order:waiveServiceCharge": "Waive Service Charge",
3577
3578
  "order:payment": "Payment",
3578
3579
  "order:claimDeposit": "Claim Deposit",
@@ -3609,7 +3610,7 @@ const Br = {
3609
3610
  "report:drawer": "Drawer",
3610
3611
  "report:discount": "Discount",
3611
3612
  "report:refund": "Refund",
3612
- "report:void": "Void",
3613
+ "report:void_": "Void",
3613
3614
  "report:timesheet": "Timesheet",
3614
3615
  "report:counterPayment": "Counter Payment"
3615
3616
  }
@@ -3777,10 +3778,11 @@ const Br = {
3777
3778
  maxValueIs: "ค่าสูงสุดคือ {max}",
3778
3779
  minValueIs: "ค่าต่ำสุดคือ {min}",
3779
3780
  restaurant: "ร้านอาหาร",
3781
+ v8OnlyReportTag: "(POS v8 ขึ้นไป)",
3780
3782
  permissionLabels: {
3781
3783
  "order:discount": "ใช้ส่วนลด",
3782
3784
  "order:changePrice": "เปลี่ยนราคา",
3783
- "order:void": "ยกเลิกออเดอร์",
3785
+ "order:void_": "ยกเลิกออเดอร์",
3784
3786
  "order:waiveServiceCharge": "ยกเว้นค่าบริการ",
3785
3787
  "order:payment": "ชำระเงิน",
3786
3788
  "order:claimDeposit": "ขอคืนมัดจำ",
@@ -3817,7 +3819,7 @@ const Br = {
3817
3819
  "report:drawer": "ลิ้นชักเก็บเงิน",
3818
3820
  "report:discount": "ส่วนลด",
3819
3821
  "report:refund": "การคืนเงิน",
3820
- "report:void": "ยกเลิก",
3822
+ "report:void_": "ยกเลิก",
3821
3823
  "report:timesheet": "ใบบันทึกลงเวลาทำงาน",
3822
3824
  "report:counterPayment": "การชำระเงินที่เคาน์เตอร์"
3823
3825
  }
@@ -3984,10 +3986,11 @@ const Br = {
3984
3986
  maxValueIs: "最大值是 {max}",
3985
3987
  minValueIs: "最小值是 {min}",
3986
3988
  restaurant: "餐厅",
3989
+ v8OnlyReportTag: "(POS v8 及以上)",
3987
3990
  permissionLabels: {
3988
3991
  "order:discount": "折扣",
3989
3992
  "order:changePrice": "修改价格",
3990
- "order:void": "作废",
3993
+ "order:void_": "作废",
3991
3994
  "order:waiveServiceCharge": "免除服务费",
3992
3995
  "order:payment": "付款",
3993
3996
  "order:claimDeposit": "领取押金",
@@ -4024,7 +4027,7 @@ const Br = {
4024
4027
  "report:drawer": "收银抽屉报告",
4025
4028
  "report:discount": "折扣报告",
4026
4029
  "report:refund": "退款报告",
4027
- "report:void": "作废报告",
4030
+ "report:void_": "作废报告",
4028
4031
  "report:timesheet": "工时报告",
4029
4032
  "report:counterPayment": "收银台付款报告"
4030
4033
  }
@@ -4192,10 +4195,11 @@ const Br = {
4192
4195
  maxValueIs: "最大值是 {max}",
4193
4196
  minValueIs: "最小值是 {min}",
4194
4197
  restaurant: "餐廳",
4198
+ v8OnlyReportTag: "(POS v8 及以上)",
4195
4199
  permissionLabels: {
4196
4200
  "order:discount": "折扣",
4197
4201
  "order:changePrice": "修改價格",
4198
- "order:void": "作廢",
4202
+ "order:void_": "作廢",
4199
4203
  "order:waiveServiceCharge": "免除服務費",
4200
4204
  "order:payment": "付款",
4201
4205
  "order:claimDeposit": "領取押金",
@@ -4232,7 +4236,7 @@ const Br = {
4232
4236
  "report:drawer": "收銀抽屜報告",
4233
4237
  "report:discount": "折扣報告",
4234
4238
  "report:refund": "退款報告",
4235
- "report:void": "作廢報告",
4239
+ "report:void_": "作廢報告",
4236
4240
  "report:timesheet": "工時報告",
4237
4241
  "report:counterPayment": "收銀台付款報告"
4238
4242
  }
@@ -8674,10 +8678,10 @@ const Et = (e) => ({
8674
8678
  }
8675
8679
  ]
8676
8680
  }
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")
8681
+ }), al = Kt(Be(() => import("./Main-DfeNUiyv.js"))), ol = Kt(Be(() => import("./Main-B-3s0bf_.js"))), il = Kt(
8682
+ Be(() => import("./AuditLogList-B8kE39lt.js"))
8683
+ ), cl = Kt(Be(() => import("./Main-DcPLufZ5.js"))), ll = Be(() => import("./ApprovalCodeList-BjRRA_sc.js")), ul = Be(() => import("./GrantUserList-CTYamty5.js")), Al = Be(() => import("./EmployeeList-7e069yPp.js")), dl = Be(() => import("./RoleList-YaY7Np_9.js")), ml = Be(() => import("./TimesheetList-BTsvEiD6.js")), gl = Be(() => import("./TeamMemberList-B-I3KjnH.js")), pl = Be(
8684
+ () => import("./PermissionSetList-CNujxzHF.js")
8681
8685
  ), Fl = [
8682
8686
  {
8683
8687
  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-C3u5orep.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-C3u5orep.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-B-sLuqme.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-Cii8ZeX3.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-tzqciGzt.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-C3u5orep.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-C3u5orep.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-Cii8ZeX3.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() {