@feedmepos/mf-hrm-portal 2.2.1-dev → 2.2.1-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 (43) hide show
  1. package/dist/{ApprovalCodeList-BgPrC2H1.js → ApprovalCodeList-rL8dh-6s.js} +5 -5
  2. package/dist/{AuditLogList-B9k56ux1.js → AuditLogList-NvISIfUq.js} +4 -4
  3. package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BJgpH-kw.js +438 -0
  4. package/dist/{EmployeeList-f05XEwMS.js → EmployeeList-C3VvVY6A.js} +6 -6
  5. package/dist/{GrantUserList-Db4_e87R.js → GrantUserList-DjZ4O0VB.js} +6 -6
  6. package/dist/{Main-DPmBwatV.js → Main-ByWrRV70.js} +8 -8
  7. package/dist/{Main-C83-6ZYQ.js → Main-DVTx58X9.js} +11 -11
  8. package/dist/{Main-CZoUt9IM.js → Main-LaAbAOfs.js} +5 -5
  9. package/dist/{PermissionSetList-CqcbzdXp.js → PermissionSetList-DD45SSY3.js} +19 -19
  10. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-yDPvNHiW.js +4169 -0
  11. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DVVSBIx2.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-XHuHin8t.js} +1 -1
  12. package/dist/RoleList-BDxgwmAV.js +725 -0
  13. package/dist/{TeamMemberList-DuP1QWAS.js → TeamMemberList-DrLbMN34.js} +9 -9
  14. package/dist/{TimesheetList-D_Xq4ESR.js → TimesheetList-CdaxlO97.js} +7 -7
  15. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-O2_M0Ktw.js → TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-ogjfztLs.js} +3 -3
  16. package/dist/{app-3bHRu-TD.js → app-B8eo04d6.js} +169 -158
  17. package/dist/app.js +1 -1
  18. package/dist/{approval-code-Q4666xp5.js → approval-code-jIjkeVEb.js} +1 -1
  19. package/dist/{dayjs.min-BjrK6J3b.js → dayjs.min-DZEHW2QB.js} +1 -1
  20. package/dist/{employee-Ck_DJyl9.js → employee-DX0CZF-B.js} +4 -4
  21. package/dist/{grant-user-CQZaTzVt.js → grant-user-SNiDV22U.js} +1 -1
  22. package/dist/{iteration-Bl07BT2c.js → iteration-yBS4dpFh.js} +1 -1
  23. package/dist/{lodash-CwAowwGK.js → lodash-344d5Ope.js} +1 -1
  24. package/dist/{restaurant-YOVMuuFY.js → restaurant-BTpBmfBV.js} +12 -14
  25. package/dist/role-BXBuBxs5.js +92 -0
  26. package/dist/rule-DWlFon04.js +1094 -0
  27. package/dist/src/composables/useReportPermissions.d.ts +1 -0
  28. package/dist/src/helpers/rule.d.ts +10 -1
  29. package/dist/src/stores/role.d.ts +6 -6
  30. package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +44 -0
  31. package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +39 -0
  32. package/dist/src/views/team/locales/index.d.ts +4 -0
  33. package/dist/tsconfig.app.tsbuildinfo +1 -1
  34. package/dist/{useAppStore-DNTlIeMv.js → useAppStore-DCwd8GWN.js} +1 -1
  35. package/dist/{useLoading-BH02lYns.js → useLoading-CXzTpIVv.js} +1 -1
  36. package/dist/useReportPermissions-C0exkIxU.js +71 -0
  37. package/package.json +2 -2
  38. package/dist/ConditionFormHost.vue_vue_type_script_setup_true_lang-BKxQPhjZ.js +0 -387
  39. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DMS04nsd.js +0 -4122
  40. package/dist/RoleList-DsINcxpz.js +0 -685
  41. package/dist/role-Z1BT4HFT.js +0 -82
  42. package/dist/rule-DYmHm3nE.js +0 -1066
  43. package/dist/useReportPermissions-DCF1U1Us.js +0 -70
@@ -1,15 +1,15 @@
1
- import { defineComponent as Z, ref as f, computed as h, watch as ue, resolveComponent as _, createBlock as de, openBlock as ee, unref as r, withCtx as C, createVNode as m, createElementVNode as y, toDisplayString as G, nextTick as pe, onMounted as fe, createElementBlock as ve, Fragment as Se, h as S } from "vue";
1
+ import { defineComponent as Z, ref as f, computed as h, watch as ue, resolveComponent as b, createBlock as de, openBlock as ee, unref as r, withCtx as C, createVNode as m, createElementVNode as y, toDisplayString as G, nextTick as pe, onMounted as fe, createElementBlock as ve, Fragment as Se, h as S } from "vue";
2
2
  import { useI18n as se, useCoreStore as he } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as oe, useDialog as te, useBreakpoints as ne, components as H } from "@feedmepos/ui-library";
4
- import { v as Q, _ as _e } from "./app-3bHRu-TD.js";
5
- import { _ as be } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
4
+ import { b as Q, _ as be } from "./app-B8eo04d6.js";
5
+ import { _ as _e } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
6
6
  import { u as ge, _ as Pe } from "./useDiscardConfirm-DPhEV6v0.js";
7
- import { u as ie, c as M, i as ae, p as Y, j as ye, d as we, m as L, o as xe, q as Fe, s as ke, n as Ce, w as Ie } from "./rule-DYmHm3nE.js";
8
- import { l as j } from "./lodash-CwAowwGK.js";
9
- import { c as Re } from "./iteration-Bl07BT2c.js";
10
- import { u as Ve } from "./useLoading-BH02lYns.js";
11
- import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DMS04nsd.js";
12
- import { A as je } from "./restaurant-YOVMuuFY.js";
7
+ import { u as ie, c as M, i as ae, p as Y, j as ye, d as we, m as L, q as xe, v as Fe, n as ke, o as Ce, x as Ie } from "./rule-DWlFon04.js";
8
+ import { l as j } from "./lodash-344d5Ope.js";
9
+ import { c as Re } from "./iteration-yBS4dpFh.js";
10
+ import { u as Ve } from "./useLoading-CXzTpIVv.js";
11
+ import { _ as Ee } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-yDPvNHiW.js";
12
+ import { A as je } from "./restaurant-BTpBmfBV.js";
13
13
  const Te = { class: "flex w-full items-center justify-between" }, $e = { class: "fm-typo-en-title-md-600" }, Be = { class: "fm-typo-en-title-sm-600 mt-24" }, Le = { class: "flex items-center justify-start gap-8" }, Ae = /* @__PURE__ */ Z({
14
14
  __name: "PermissionSetForm",
15
15
  props: {
@@ -36,10 +36,10 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
36
36
  fetchCustomReportPermissions: n,
37
37
  customReportPermissions: t,
38
38
  isLoaded: c
39
- } = ae(), b = new Set(
39
+ } = ae(), _ = new Set(
40
40
  Y.filter((e) => e.subject.startsWith(ye)).map((e) => e.subject)
41
41
  ), g = h(() => {
42
- const e = new Set(b);
42
+ const e = new Set(_);
43
43
  for (const s of t.value) e.add(s.subject);
44
44
  return e;
45
45
  }), O = h(() => {
@@ -73,7 +73,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
73
73
  }
74
74
  );
75
75
  function re() {
76
- const e = L(E.value), s = c.value ? g.value : b, u = xe(p.value, s), x = Fe(u, O.value), F = ke(x);
76
+ const e = L(E.value), s = c.value ? g.value : _, u = xe(p.value, s), x = Fe(u, O.value), F = ke(x);
77
77
  return Ce(e, F);
78
78
  }
79
79
  function J(e) {
@@ -140,7 +140,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
140
140
  return A({
141
141
  trigger: z
142
142
  }), (e, s) => {
143
- const u = _("FmIcon"), x = _("FmTextField"), F = _("FmSelect"), B = _("FmForm"), k = _("FmButton"), ce = _("FmSideSheet");
143
+ const u = b("FmIcon"), x = b("FmTextField"), F = b("FmSelect"), B = b("FmForm"), k = b("FmButton"), ce = b("FmSideSheet");
144
144
  return ee(), de(ce, {
145
145
  "model-value": v.value,
146
146
  "max-width": 960,
@@ -246,8 +246,8 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
246
246
  const t = n.row.original, c = M(
247
247
  [t.id],
248
248
  l.permissionSets.value
249
- ), b = L(c), g = b.length, O = Ie(
250
- b,
249
+ ), _ = L(c), g = _.length, O = Ie(
250
+ _,
251
251
  i.value
252
252
  );
253
253
  return S("div", { class: "flex items-center gap-8" }, [
@@ -338,7 +338,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
338
338
  }), A({
339
339
  create: N
340
340
  }), (n, t) => {
341
- const c = _("FmSearch"), b = _("FmTable");
341
+ const c = b("FmSearch"), _ = b("FmTable");
342
342
  return ee(), ve(Se, null, [
343
343
  m(Ae, {
344
344
  ref_key: "permissionSetFormRef",
@@ -355,10 +355,10 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
355
355
  placeholder: r(o)("permissionSet.search.placeholder")
356
356
  }, null, 8, ["modelValue", "placeholder"])
357
357
  ]),
358
- m(_e, null, {
358
+ m(be, null, {
359
359
  default: C(() => [
360
360
  y("div", Ne, [
361
- m(be, {
361
+ m(_e, {
362
362
  "is-loading": r(l).isLoading.value,
363
363
  "is-empty": R.value.length === 0,
364
364
  "collapse-at": !1,
@@ -366,7 +366,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
366
366
  subtitle: r(o)("permissionSet.noData.subtitle")
367
367
  }, {
368
368
  default: C(() => [
369
- m(b, {
369
+ m(_, {
370
370
  "column-defs": q,
371
371
  "row-data": R.value,
372
372
  "page-size": R.value.length,