@feedmepos/mf-hrm-portal 2.1.1-dev.4 → 2.1.1-dev.6

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 (40) hide show
  1. package/dist/ApprovalCodeList-B1XHbhum.js +757 -0
  2. package/dist/AuditLogList-DrrL4vf4.js +1149 -0
  3. package/dist/{ConditionFormHost.vue_vue_type_script_setup_true_lang-zJwkM_Xb.js → ConditionFormHost.vue_vue_type_script_setup_true_lang-CBjO1MZo.js} +2 -2
  4. package/dist/{EmployeeList-DN2pnXcS.js → EmployeeList-BMol4ah4.js} +7 -8
  5. package/dist/{GrantUserList-DoyxknJZ.js → GrantUserList-CLBl7FZ-.js} +3 -3
  6. package/dist/{Main-DQj4xtkB.js → Main-DNOHZd3j.js} +5 -5
  7. package/dist/{Main-B5BKGpLg.js → Main-D_LwrBdZ.js} +9 -9
  8. package/dist/{Main-BGONIxo8.js → Main-auigiuVZ.js} +2 -2
  9. package/dist/{PermissionSetList-4uIU9FvN.js → PermissionSetList-DLYrXFbz.js} +5 -5
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-D0luaKDb.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Drcx0tL_.js} +763 -763
  11. package/dist/{RoleList-Bj5Y5jd_.js → RoleList-g8PjH_k2.js} +7 -7
  12. package/dist/{TeamMemberList-Byjlca2Y.js → TeamMemberList-B9aCagSc.js} +21 -22
  13. package/dist/{TimesheetList-DwIcsOM-.js → TimesheetList-C1IJhOYE.js} +5 -5
  14. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-B9qlQ6KG.js → TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-CqtiVm1j.js} +2 -2
  15. package/dist/{app-BZwE2coe.js → app-DnOYVjuj.js} +500 -804
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-BXBPls4m.js → dayjs.min-Dxul0qTK.js} +1 -1
  18. package/dist/{employee-CJTbs1f7.js → employee-sr65CZR7.js} +3 -3
  19. package/dist/{iteration-BCbIbdHR.js → iteration-DIqDMvFa.js} +1 -1
  20. package/dist/{lodash-CUIS1iIz.js → lodash-CXlqXFmD.js} +1 -1
  21. package/dist/{role-CzXchcSS.js → role-CE3NY-63.js} +1 -1
  22. package/dist/{rule-BO6xj2Xa.js → rule-CEjrit6c.js} +2 -2
  23. package/dist/src/api/audit-log/index.d.ts +0 -6
  24. package/dist/src/stores/approval-code.d.ts +6 -6
  25. package/dist/src/types/approval-code.d.ts +51 -26
  26. package/dist/src/types/audit-log.d.ts +1 -1
  27. package/dist/src/views/approval-code/ApprovalCodeList.vue.d.ts +1 -1
  28. package/dist/src/views/approval-code/locales/index.d.ts +4 -12
  29. package/dist/src/views/audit-log/locales/index.d.ts +0 -296
  30. package/dist/style.css +1 -1
  31. package/dist/tsconfig.app.tsbuildinfo +1 -1
  32. package/dist/useDebounce-CWb5QR9G.js +28 -0
  33. package/dist/{useReportPermissions-Q-xLwz5N.js → useReportPermissions-FVW_HwcL.js} +3 -3
  34. package/package.json +1 -1
  35. package/dist/ApprovalCodeList-B0PLZwav.js +0 -758
  36. package/dist/AuditLogList-CRXwPImZ.js +0 -1611
  37. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-B4PxNMwq.js +0 -16
  38. package/dist/src/views/audit-log/event-line.d.ts +0 -13
  39. package/dist/src/views/audit-log/snapshot-diff.d.ts +0 -11
  40. package/dist/useDebounce-B8ZPVS5C.js +0 -15
@@ -1,16 +1,16 @@
1
1
  import { computed as R, defineComponent as we, ref as D, watch as oe, onMounted as ke, resolveComponent as F, createBlock as j, openBlock as c, unref as o, withCtx as b, createElementVNode as n, createVNode as u, createElementBlock as C, Fragment as E, createCommentVNode as re, renderList as Q, toDisplayString as U, normalizeClass as ze, h as B, createTextVNode as pe, resolveDynamicComponent as xe, withModifiers as Ke, nextTick as Ce } from "vue";
2
- import { e as L } from "./iteration-BCbIbdHR.js";
2
+ import { e as L } from "./iteration-DIqDMvFa.js";
3
3
  import { useI18n as Ve } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as Se, components as ve, useDialog as Ne, useBreakpoints as Oe, FmButtonColorThemeVariant as Je } from "@feedmepos/ui-library";
5
- import { k as qe, A as We, S as Ge, _ as He } from "./app-BZwE2coe.js";
5
+ import { k as qe, A as We, S as Ge, _ as He } from "./app-DnOYVjuj.js";
6
6
  import { u as Qe, _ as Fe } from "./useDiscardConfirm-DPhEV6v0.js";
7
7
  import { _ as Xe } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
8
- import { e as Ye, r as W, h as Ue, f as Ze, g as Re, a as es, b as ne } from "./rule-BO6xj2Xa.js";
8
+ import { e as Ye, r as W, h as Ue, f as Ze, g as Re, a as es, b as ne } from "./rule-CEjrit6c.js";
9
9
  import { u as _e } from "./restaurant-YOVMuuFY.js";
10
- import { u as $e } from "./role-CzXchcSS.js";
11
- import { u as Ee } from "./useReportPermissions-Q-xLwz5N.js";
12
- import { l as ie } from "./lodash-CUIS1iIz.js";
13
- import { u as ss, _ as ts, a as as } from "./ConditionFormHost.vue_vue_type_script_setup_true_lang-zJwkM_Xb.js";
10
+ import { u as $e } from "./role-CE3NY-63.js";
11
+ import { u as Ee } from "./useReportPermissions-FVW_HwcL.js";
12
+ import { l as ie } from "./lodash-CXlqXFmD.js";
13
+ import { u as ss, _ as ts, a as as } from "./ConditionFormHost.vue_vue_type_script_setup_true_lang-CBjO1MZo.js";
14
14
  import { _ as fe } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
15
15
  import { u as ls } from "./useLoading-BH02lYns.js";
16
16
  function os() {
@@ -1,20 +1,19 @@
1
1
  import { defineComponent as Ie, resolveComponent as F, createElementBlock as N, openBlock as y, createElementVNode as u, createVNode as d, toDisplayString as k, unref as r, computed as I, ref as b, createCommentVNode as K, withCtx as ue, createBlock as z, watch as fe, Fragment as Ne, renderList as us, withKeys as qe, withModifiers as Ve, nextTick as ms, onUnmounted as ds, h as cs, createTextVNode as ps } from "vue";
2
2
  import { useI18n as Pe, useCoreStore as Ae, baseClientInstance as Ke } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as He, useDialog as es, useBreakpoints as ss, components as je } from "@feedmepos/ui-library";
4
- import { u as fs } from "./useDebounce-B8ZPVS5C.js";
5
- import { _ as vs, S as ye } from "./SelectFilter-ATOm0hdn.js";
6
- import { v as ze, m as bs, b as hs, _ as ys, a as _s } from "./app-BZwE2coe.js";
7
- import { u as gs, _ as xs } from "./useDiscardConfirm-DPhEV6v0.js";
8
- import { _ as Us } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
9
- import { _ as Ss } from "./Skeleton.vue_vue_type_script_setup_true_lang-B4PxNMwq.js";
4
+ import { u as fs, _ as vs } from "./useDebounce-CWb5QR9G.js";
5
+ import { _ as bs, S as ye } from "./SelectFilter-ATOm0hdn.js";
6
+ import { v as ze, m as hs, b as ys, _ as _s, a as gs } from "./app-DnOYVjuj.js";
7
+ import { u as xs, _ as Us } from "./useDiscardConfirm-DPhEV6v0.js";
8
+ import { _ as Ss } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
10
9
  import { u as Fs } from "./useLoading-BH02lYns.js";
11
- import { l as Se } from "./lodash-CUIS1iIz.js";
12
- import { c as he } from "./iteration-BCbIbdHR.js";
13
- import { u as ts, c as Le, d as Ge, m as Me, i as as, p as We, j as Vs, k as Je, l as Xe, s as ws, n as Is, o as Ps, q as ks, v as Rs, t as Fe } from "./rule-BO6xj2Xa.js";
14
- import { u as ls } from "./role-CzXchcSS.js";
10
+ import { l as Se } from "./lodash-CXlqXFmD.js";
11
+ import { c as he } from "./iteration-DIqDMvFa.js";
12
+ import { u as ts, c as Le, d as Ge, m as Me, i as as, p as We, j as Vs, k as Je, l as Xe, s as ws, n as Is, o as Ps, q as ks, v as Rs, t as Fe } from "./rule-CEjrit6c.js";
13
+ import { u as ls } from "./role-CE3NY-63.js";
15
14
  import { u as os, i as $s } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DVVSBIx2.js";
16
15
  import { g as Ze, u as rs } from "./restaurant-YOVMuuFY.js";
17
- import { _ as Cs } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-D0luaKDb.js";
16
+ import { _ as Cs } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Drcx0tL_.js";
18
17
  var ge = /* @__PURE__ */ ((i) => (i.Update = "Update", i.Remove = "Remove", i))(ge || {});
19
18
  const we = "__unassigned__";
20
19
  function Qe(i) {
@@ -201,7 +200,7 @@ const Ms = { class: "w-full flex flex-col gap-16" }, Ns = { class: "flex items-c
201
200
  ]);
202
201
  };
203
202
  }
204
- }), st = /* @__PURE__ */ vs(et, [["__scopeId", "data-v-827dfd60"]]), tt = { class: "flex flex-col gap-40" }, at = { class: "flex items-center" }, lt = { class: "flex-1 flex flex-col" }, ot = { class: "fm-typo-en-title-sm-600" }, rt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, nt = { class: "flex flex-row gap-16" }, it = { class: "flex flex-col gap-8" }, ut = { class: "fm-typo-en-body-lg-400" }, mt = { class: "space-y-16 rounded-lg border border-fm-color-neutral-gray-200 p-16" }, dt = { class: "fm-typo-en-title-sm-600" }, ct = { class: "space-y-16" }, pt = { class: "grid grid-cols-[minmax(0,1fr)_minmax(0,1fr)_auto] gap-16" }, ft = { class: "text-sm font-semibold text-fm-color-typo-primary" }, vt = { class: "text-sm font-semibold text-fm-color-typo-primary" }, bt = { class: "flex justify-self-end" }, ht = ["aria-label", "onClick", "onKeydown"], Te = 4, yt = /* @__PURE__ */ Ie({
203
+ }), st = /* @__PURE__ */ bs(et, [["__scopeId", "data-v-827dfd60"]]), tt = { class: "flex flex-col gap-40" }, at = { class: "flex items-center" }, lt = { class: "flex-1 flex flex-col" }, ot = { class: "fm-typo-en-title-sm-600" }, rt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, nt = { class: "flex flex-row gap-16" }, it = { class: "flex flex-col gap-8" }, ut = { class: "fm-typo-en-body-lg-400" }, mt = { class: "space-y-16 rounded-lg border border-fm-color-neutral-gray-200 p-16" }, dt = { class: "fm-typo-en-title-sm-600" }, ct = { class: "space-y-16" }, pt = { class: "grid grid-cols-[minmax(0,1fr)_minmax(0,1fr)_auto] gap-16" }, ft = { class: "text-sm font-semibold text-fm-color-typo-primary" }, vt = { class: "text-sm font-semibold text-fm-color-typo-primary" }, bt = { class: "flex justify-self-end" }, ht = ["aria-label", "onClick", "onKeydown"], Te = 4, yt = /* @__PURE__ */ Ie({
205
204
  __name: "TeamMemberMasterUser",
206
205
  props: {
207
206
  modelValue: {
@@ -598,7 +597,7 @@ const Ms = { class: "w-full flex flex-col gap-16" }, Ns = { class: "flex items-c
598
597
  customPermissions: s,
599
598
  permissions: c.map((re) => ({
600
599
  ...re,
601
- subject: bs(re.subject)
600
+ subject: hs(re.subject)
602
601
  })),
603
602
  permissionSetIds: g.value,
604
603
  name: ((Q = V.value) == null ? void 0 : Q.displayName) || ((q = n.initialValue) == null ? void 0 : q.name) || "",
@@ -749,7 +748,7 @@ const Ms = { class: "w-full flex flex-col gap-16" }, Ns = { class: "flex items-c
749
748
  var ee = /* @__PURE__ */ function(i) {
750
749
  return i[i.ADD = 0] = "ADD", i[i.UPDATE = 1] = "UPDATE", i[i.CLOSED = 2] = "CLOSED", i;
751
750
  }(ee || {});
752
- const sa = /* @__PURE__ */ Ie({
751
+ const ea = /* @__PURE__ */ Ie({
753
752
  __name: "TeamMemberList",
754
753
  setup(i, {
755
754
  expose: R
@@ -788,7 +787,7 @@ const sa = /* @__PURE__ */ Ie({
788
787
  onClick: () => B(ge.Remove, e),
789
788
  itemClass: "text-fm-color-typo-error"
790
789
  }, ne = e.doc.isOwner ? [U] : [U, P];
791
- return d(xs, {
790
+ return d(Us, {
792
791
  class: t,
793
792
  items: ne
794
793
  }, null);
@@ -818,7 +817,7 @@ const sa = /* @__PURE__ */ Ie({
818
817
  enableSorting: !1,
819
818
  cell(e) {
820
819
  if (me.value)
821
- return cs(Ss);
820
+ return cs(vs);
822
821
  const t = e.row.original;
823
822
  return l(t);
824
823
  }
@@ -932,7 +931,7 @@ const sa = /* @__PURE__ */ Ie({
932
931
  function ve() {
933
932
  D++, O.value = !1, _.value = ee.CLOSED;
934
933
  }
935
- const be = gs(() => {
934
+ const be = xs(() => {
936
935
  var e;
937
936
  return ((e = Y.value) == null ? void 0 : e.isModified()) ?? !1;
938
937
  }, ve);
@@ -982,7 +981,7 @@ const sa = /* @__PURE__ */ Ie({
982
981
  permissionSubjects: [...Z.value ?? []].sort(),
983
982
  permissionSetIds: [...s.value ?? []].sort()
984
983
  });
985
- }), T = I(() => Object.values(hs).map((e) => ({
984
+ }), T = I(() => Object.values(ys).map((e) => ({
986
985
  label: e.label,
987
986
  value: e.subject
988
987
  }))), G = I(() => [{
@@ -1143,12 +1142,12 @@ const sa = /* @__PURE__ */ Ie({
1143
1142
  class: "w-[320px] xs:w-full xs:mt-8",
1144
1143
  autofocus: "",
1145
1144
  placeholder: r(a)("team.search.placeholder")
1146
- }, null, 8, ["modelValue", "placeholder"])])), (Ue = r(f).currentBusiness.value) != null && Ue._id ? (y(), z(ys, {
1145
+ }, null, 8, ["modelValue", "placeholder"])])), (Ue = r(f).currentBusiness.value) != null && Ue._id ? (y(), z(_s, {
1147
1146
  key: 2
1148
1147
  }, {
1149
- default: ue(() => [u("div", Nt, [h.value ? K("", !0) : (y(), z(_s, {
1148
+ default: ue(() => [u("div", Nt, [h.value ? K("", !0) : (y(), z(gs, {
1150
1149
  key: 0
1151
- })), h.value ? (y(), z(Us, {
1150
+ })), h.value ? (y(), z(Ss, {
1152
1151
  key: 1,
1153
1152
  "is-loading": p.value,
1154
1153
  "is-empty": L.value === 0,
@@ -1212,5 +1211,5 @@ const sa = /* @__PURE__ */ Ie({
1212
1211
  }
1213
1212
  });
1214
1213
  export {
1215
- sa as default
1214
+ ea as default
1216
1215
  };
@@ -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-BXBPls4m.js";
2
+ import { d as v } from "./dayjs.min-Dxul0qTK.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-BZwE2coe.js";
6
+ import { _ as Ve } from "./app-DnOYVjuj.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-BH02lYns.js";
9
- import { g as Fe, s as Ye } from "./iteration-BCbIbdHR.js";
9
+ import { g as Fe, s as Ye } from "./iteration-DIqDMvFa.js";
10
10
  import { f as Le } from "./utils-BZkjJbju.js";
11
- import { u as Me } from "./employee-CJTbs1f7.js";
11
+ import { u as Me } from "./employee-sr65CZR7.js";
12
12
  import { u as Te } from "./restaurant-YOVMuuFY.js";
13
- import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-B9qlQ6KG.js";
13
+ import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-CqtiVm1j.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-BXBPls4m.js";
1
+ import { d as i } from "./dayjs.min-Dxul0qTK.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-YOVMuuFY.js";
5
- import { s as S } from "./iteration-BCbIbdHR.js";
5
+ import { s as S } from "./iteration-DIqDMvFa.js";
6
6
  import { i as f, f as g } from "./utils-BZkjJbju.js";
7
7
  const u = {
8
8
  async readTimesheets(t, e) {