@feedmepos/mf-hrm-portal 2.0.17-dev.2 → 2.0.17-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 (30) hide show
  1. package/dist/{AuditLogList-DQOiwup5.js → AuditLogList-C6qAeY5g.js} +5 -5
  2. package/dist/{EmployeeList-oERrzrAd.js → EmployeeList-COtXtTqG.js} +16 -17
  3. package/dist/{Main-C8ja5xs6.js → Main--tejoyEP.js} +4 -4
  4. package/dist/{Main-2uJvk5L7.js → Main-BNXKItvX.js} +8 -7
  5. package/dist/{Main-5nIpv-Sp.js → Main-Dkr5lzbv.js} +9 -9
  6. package/dist/PermissionSetList-B_Sdvbu7.js +340 -0
  7. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B-hvBqE0.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BBsaxaXu.js} +575 -575
  8. package/dist/{RoleList-CDBP2W5v.js → RoleList-SZCgvYvC.js} +17 -18
  9. package/dist/TeamMemberList-Dk5HeFfQ.js +1008 -0
  10. package/dist/{TimesheetList-D1ByiuwP.js → TimesheetList-D-3k0Uad.js} +6 -6
  11. package/dist/{app-hS6MBhCw.js → app-BjXuSCis.js} +4 -4
  12. package/dist/app.js +1 -1
  13. package/dist/{dayjs.min-DFcH-XYr.js → dayjs.min-z-vrgFCL.js} +1 -1
  14. package/dist/{employee-fBtBUEwZ.js → employee-DAqAMupR.js} +3 -3
  15. package/dist/{iteration-D23fqAQH.js → iteration-Cp1eSTJA.js} +1 -1
  16. package/dist/{lodash-Cqc7y4P5.js → lodash-CXLZQQp8.js} +1 -1
  17. package/dist/{rule-BBJzenE1.js → rule-vBxopbM_.js} +2 -2
  18. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +2 -0
  19. package/dist/{team-Dq3VcGNH.js → team-CnQ_rIx2.js} +1 -1
  20. package/dist/{timesheet-OfLQjuvO.js → timesheet-BlPhOifI.js} +2 -2
  21. package/dist/tsconfig.app.tsbuildinfo +1 -1
  22. package/dist/{useAppStore-Du6PRBq0.js → useAppStore-BVnrWyPF.js} +1 -1
  23. package/dist/useDiscardConfirm-DPhEV6v0.js +157 -0
  24. package/dist/{useLoading-DkTCR5A7.js → useLoading-7ia-Bps7.js} +1 -1
  25. package/dist/{useReportPermissions-DhhjBwPs.js → useReportPermissions-C8HMek35.js} +3 -3
  26. package/package.json +1 -1
  27. package/dist/PermissionSetList-CtpaWlVM.js +0 -323
  28. package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +0 -132
  29. package/dist/TeamMemberList-DSzNjP4y.js +0 -996
  30. package/dist/useDiscardConfirm-BHni0LNu.js +0 -28
@@ -1,18 +1,17 @@
1
1
  import { computed as _, defineComponent as ge, ref as P, watch as ne, onMounted as be, resolveComponent as C, createBlock as L, openBlock as d, unref as o, withCtx as b, createElementVNode as f, createVNode as c, createElementBlock as V, Fragment as N, createCommentVNode as de, renderList as ae, toDisplayString as D, h as S, createTextVNode as pe, resolveDynamicComponent as ve, withModifiers as Le, nextTick as fe } from "vue";
2
- import { e as k } from "./iteration-D23fqAQH.js";
2
+ import { e as k } from "./iteration-Cp1eSTJA.js";
3
3
  import { useCoreStore as me, useI18n as ye } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as xe, components as ue, useDialog as Ue, useBreakpoints as Ee, FmButtonColorThemeVariant as Ie } from "@feedmepos/ui-library";
5
- import { _ as Se } from "./app-hS6MBhCw.js";
6
- import { _ as he } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
7
- import { _ as Pe } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
8
- import { e as $e, r as W, h as Ce, f as Te, g as _e, a as ee } from "./rule-BBJzenE1.js";
9
- import { u as Re } from "./useAppStore-Du6PRBq0.js";
10
- import { u as Fe } from "./useReportPermissions-DhhjBwPs.js";
11
- import { l as se } from "./lodash-Cqc7y4P5.js";
12
- import { _ as Me } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
5
+ import { _ as Se } from "./app-BjXuSCis.js";
6
+ import { u as Pe, _ as he } from "./useDiscardConfirm-DPhEV6v0.js";
7
+ import { _ as $e } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
8
+ import { e as Te, r as W, h as Ce, f as Me, g as _e, a as ee } from "./rule-vBxopbM_.js";
9
+ import { u as Re } from "./useAppStore-BVnrWyPF.js";
10
+ import { u as Fe } from "./useReportPermissions-C8HMek35.js";
11
+ import { l as se } from "./lodash-CXLZQQp8.js";
12
+ import { _ as Be } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
13
13
  import { _ as ie } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
14
- import { u as Be } from "./useDiscardConfirm-BHni0LNu.js";
15
- import { u as De } from "./useLoading-DkTCR5A7.js";
14
+ import { u as De } from "./useLoading-7ia-Bps7.js";
16
15
  function Ae() {
17
16
  const j = me();
18
17
  return _(() => {
@@ -50,7 +49,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
50
49
  const T = Re(), H = xe(), Q = De(H), { fetchReportPermissions: te, allReportPermissions: le, availableReportKeys: M } = Fe(), R = j, y = P(!1), oe = () => {
51
50
  y.value = !y.value, y.value && Y();
52
51
  }, J = _(() => R.id ? a("hr.role.form.update") : a("hr.role.form.add")), X = _(() => R.id ? a("common.update") : a("common.add")), q = _(() => {
53
- const e = $e.filter(
52
+ const e = Te.filter(
54
53
  (u) => u.subject !== k.F_RULE_SUBJECT.enum.report
55
54
  ).map((u) => W(u)), s = le.value.map((u) => W(u));
56
55
  return [...e, ...s];
@@ -97,7 +96,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
97
96
  restaurantIds: t.value.restaurantIds,
98
97
  role: {
99
98
  name: t.value.name,
100
- permissions: Te(t.value.permissions, t.value.maxDiscountPercentage)
99
+ permissions: Me(t.value.permissions, t.value.maxDiscountPercentage)
101
100
  }
102
101
  })), r = async () => {
103
102
  const e = l.value;
@@ -126,7 +125,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
126
125
  e.length > 0 && (re.value = "");
127
126
  }
128
127
  );
129
- const B = Be(
128
+ const B = Pe(
130
129
  () => {
131
130
  var e, s, u, A;
132
131
  return !se.isEqual(t.value.name, ((e = p.value) == null ? void 0 : e.name) || E().name) || !se.isEqual(
@@ -252,7 +251,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
252
251
  class: "p-16"
253
252
  }, {
254
253
  default: b(() => [
255
- c(Me, null, {
254
+ c(Be, null, {
256
255
  title: b(() => [
257
256
  f("p", ze, D(n.title), 1)
258
257
  ]),
@@ -323,7 +322,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
323
322
  class: "flex"
324
323
  }, ts = {
325
324
  class: "flex"
326
- }, bs = /* @__PURE__ */ ge({
325
+ }, gs = /* @__PURE__ */ ge({
327
326
  __name: "RoleList",
328
327
  setup(j, {
329
328
  expose: G
@@ -531,7 +530,7 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
531
530
  _: 1
532
531
  })])]),
533
532
  _: 1
534
- })) : (d(), L(o(Pe), {
533
+ })) : (d(), L(o($e), {
535
534
  key: 1,
536
535
  title: o(a)("hr.role.noData.title"),
537
536
  subtitle: o(a)("hr.role.noData.subtitle")
@@ -540,5 +539,5 @@ const Ne = { class: "fm-typo-en-title-md-600" }, Oe = { class: "space-y-40" }, J
540
539
  }
541
540
  });
542
541
  export {
543
- bs as default
542
+ gs as default
544
543
  };