@feedmepos/mf-hrm-portal 2.3.2-dev.13 → 2.3.2-dev.14

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 (42) hide show
  1. package/dist/{ApprovalCodeList-CkEhtUbS.js → ApprovalCodeList-BDMu2nlf.js} +7 -7
  2. package/dist/{AuditLogList-Bz5zAZyW.js → AuditLogList-BFBj-jk9.js} +5 -5
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-ChuqsZ3x.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-D7UE_NiK.js} +2 -2
  4. package/dist/{EmployeeList-CynhLV-L.js → EmployeeList-yMAEN8HX.js} +8 -8
  5. package/dist/{FormSection.vue_vue_type_script_setup_true_lang-CiFif3c3.js → FormSection.vue_vue_type_script_setup_true_lang-BgRk-jRk.js} +1 -1
  6. package/dist/{GrantUserList-DeWVTGuy.js → GrantUserList-aYzD_hm0.js} +8 -8
  7. package/dist/{Main-B3Leg_L0.js → Main-0iTpXb98.js} +10 -10
  8. package/dist/{Main-DnryPI7f.js → Main-BiXZ2uwk.js} +12 -12
  9. package/dist/{Main-DZGRjkR3.js → Main-C8MhhDdW.js} +5 -5
  10. package/dist/{MyPosProfile-Dm93oppE.js → MyPosProfile-Calhn0WC.js} +1 -1
  11. package/dist/{PermissionSetList-ecBXd3ag.js → PermissionSetList-C-O_seZy.js} +17 -17
  12. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BLMb_4xS.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-3FF5AMJb.js} +808 -808
  13. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-2XEgCaw_.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-C07A8JOx.js} +29 -29
  14. package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-BWwZEK1N.js → RoleForm.vue_vue_type_script_setup_true_lang-DdVuso5Y.js} +31 -31
  15. package/dist/{RoleList-V02s5IFg.js → RoleList-DExzw7JT.js} +7 -7
  16. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-D4EmiXpK.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-RRpzDisY.js} +1 -1
  17. package/dist/{ScheduleGeneralPage-B19huvz7.js → ScheduleGeneralPage-DlHMmhGJ.js} +2 -2
  18. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-DpHkFE_N.js → ScheduleModal.vue_vue_type_script_setup_true_lang-Dkkv_UZL.js} +4 -4
  19. package/dist/{SchedulePage-DatMj0FX.js → SchedulePage-dhZaaOB9.js} +9 -9
  20. package/dist/{SchedulePositionPage-weHCiVXF.js → SchedulePositionPage-MzZ5rMOP.js} +3 -3
  21. package/dist/{SelectFilter-VzroQ6nY.js → SelectFilter-D6i7dIWo.js} +1 -1
  22. package/dist/{TeamMemberList-Ckh78JzV.js → TeamMemberList-DcA_qRCm.js} +87 -87
  23. package/dist/{TimesheetList-tA58dMKW.js → TimesheetList-DbZ5S4W7.js} +8 -8
  24. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-B0kMSBDL.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-5AgJfpEl.js} +3 -3
  25. package/dist/{app-v2fOFcO4.js → app-DTHCLxcv.js} +1792 -1760
  26. package/dist/app.js +1 -1
  27. package/dist/{approval-code-DXtjIgqA.js → approval-code-Bs9_Zvb4.js} +1 -1
  28. package/dist/{dayjs.min-DxlOWUZ1.js → dayjs.min-B1mxceq0.js} +17 -17
  29. package/dist/{employee-RT04bxj-.js → employee-7hJffW-T.js} +5 -5
  30. package/dist/{grant-user-6LflFpNK.js → grant-user-CDuaDJvW.js} +1 -1
  31. package/dist/{iteration-Ce8Ag6An.js → iteration-Blu9ugj8.js} +1 -1
  32. package/dist/{lodash-CKvwb5V-.js → lodash-DeuHD52q.js} +1 -1
  33. package/dist/{member-grant-CmrGFbhy.js → member-grant-DxA40oCw.js} +5 -5
  34. package/dist/{restaurant-B8fppQ6A.js → restaurant-hEQn38rG.js} +1 -1
  35. package/dist/{role-BtVKxf2F.js → role-CcTqE2HQ.js} +3 -3
  36. package/dist/{rule-Cd1olm_T.js → rule-CfTomm23.js} +11 -11
  37. package/dist/tsconfig.app.tsbuildinfo +1 -1
  38. package/dist/{useAppStore-CgesqYqb.js → useAppStore-D5U6wJfE.js} +1 -1
  39. package/dist/{useLoading-nOeAHeTr.js → useLoading-Ct27XghS.js} +1 -1
  40. package/dist/{useReportPermissions-CB_JGPpt.js → useReportPermissions-BD1IvbaS.js} +20 -20
  41. package/dist/{useSsoProviders-9r2i0iR9.js → useSsoProviders-uz6kcTrk.js} +1 -1
  42. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { K as e, J as o, L as p } from "./app-v2fOFcO4.js";
1
+ import { K as e, J as o, L as p } from "./app-DTHCLxcv.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  o as i18nMessages,
@@ -1,6 +1,6 @@
1
1
  import { defineStore as A } from "pinia";
2
2
  import { ref as l } from "vue";
3
- import { g as p, b as s } from "./app-v2fOFcO4.js";
3
+ import { g as p, b as s } from "./app-DTHCLxcv.js";
4
4
  const n = {
5
5
  async getApprovalCodes() {
6
6
  return p(await s("approval-codes").get(""));
@@ -1,10 +1,10 @@
1
- import { B as Q, z as K } from "./app-v2fOFcO4.js";
1
+ import { z as Q, y as K } from "./app-DTHCLxcv.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
5
5
  V.exports = k();
6
6
  })(K, function() {
7
- var W = 1e3, k = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", v = "year", _ = "date", z = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, q = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, G = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
7
+ var W = 1e3, k = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", y = "year", _ = "date", z = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, G = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
8
8
  var n = ["th", "st", "nd", "rd"], t = s % 100;
9
9
  return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
10
10
  } }, I = function(s, n, t) {
@@ -20,7 +20,7 @@ var E = { exports: {} };
20
20
  }, a: function(s) {
21
21
  return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
22
22
  }, p: function(s) {
23
- return { M: m, y: v, w: T, d: M, D: _, h: O, m: w, s: S, ms: A, Q: U }[s] || String(s || "").toLowerCase().replace(/s$/, "");
23
+ return { M: m, y, w: T, d: M, D: _, h: O, m: w, s: S, ms: A, Q: U }[s] || String(s || "").toLowerCase().replace(/s$/, "");
24
24
  }, u: function(s) {
25
25
  return s === void 0;
26
26
  } }, x = "en", D = {};
@@ -60,7 +60,7 @@ var E = { exports: {} };
60
60
  if (a.u(e)) return /* @__PURE__ */ new Date();
61
61
  if (e instanceof Date) return new Date(e);
62
62
  if (typeof e == "string" && !/Z$/i.test(e)) {
63
- var u = e.match(B);
63
+ var u = e.match(q);
64
64
  if (u) {
65
65
  var o = u[2] - 1 || 0, c = (u[7] || "0").substring(0, 3);
66
66
  return i ? new Date(Date.UTC(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c)) : new Date(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c);
@@ -90,13 +90,13 @@ var E = { exports: {} };
90
90
  return this.$d.getTime();
91
91
  }, n.startOf = function(t, r) {
92
92
  var e = this, i = !!a.u(r) || r, u = a.p(t), o = function(p, $) {
93
- var y = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
94
- return i ? y : y.endOf(M);
93
+ var v = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
94
+ return i ? v : v.endOf(M);
95
95
  }, c = function(p, $) {
96
96
  return a.w(e.toDate()[p].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), e);
97
97
  }, h = this.$W, d = this.$M, l = this.$D, b = "set" + (this.$u ? "UTC" : "");
98
98
  switch (u) {
99
- case v:
99
+ case y:
100
100
  return i ? o(1, 0) : o(31, 11);
101
101
  case m:
102
102
  return i ? o(1, d) : o(0, d + 1);
@@ -118,8 +118,8 @@ var E = { exports: {} };
118
118
  }, n.endOf = function(t) {
119
119
  return this.startOf(t, !1);
120
120
  }, n.$set = function(t, r) {
121
- var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[_] = u + "Date", e[m] = u + "Month", e[v] = u + "FullYear", e[O] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
122
- if (i === m || i === v) {
121
+ var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[_] = u + "Date", e[m] = u + "Month", e[y] = u + "FullYear", e[O] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
122
+ if (i === m || i === y) {
123
123
  var h = this.clone().set(_, 1);
124
124
  h.$d[o](c), h.init(), this.$d = h.set(_, Math.min(this.$D, h.daysInMonth())).$d;
125
125
  } else o && this.$d[o](c);
@@ -136,7 +136,7 @@ var E = { exports: {} };
136
136
  return a.w(l.date(l.date() + Math.round(d * t)), i);
137
137
  };
138
138
  if (u === m) return this.set(m, this.$M + t);
139
- if (u === v) return this.set(v, this.$y + t);
139
+ if (u === y) return this.set(y, this.$y + t);
140
140
  if (u === M) return o(1);
141
141
  if (u === T) return o(7);
142
142
  var c = (e = {}, e[w] = k, e[O] = N, e[S] = W, e)[u] || 1, h = this.$d.getTime() + t * c;
@@ -146,16 +146,16 @@ var E = { exports: {} };
146
146
  }, n.format = function(t) {
147
147
  var r = this, e = this.$locale();
148
148
  if (!this.isValid()) return e.invalidDate || z;
149
- var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, y, H, L) {
150
- return $ && ($[y] || $(r, i)) || H[y].slice(0, L);
149
+ var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, v, H, L) {
150
+ return $ && ($[v] || $(r, i)) || H[v].slice(0, L);
151
151
  }, Y = function($) {
152
152
  return a.s(o % 12 || 12, $, "0");
153
- }, p = b || function($, y, H) {
153
+ }, p = b || function($, v, H) {
154
154
  var L = $ < 12 ? "AM" : "PM";
155
155
  return H ? L.toLowerCase() : L;
156
156
  };
157
- return i.replace(q, function($, y) {
158
- return y || function(H) {
157
+ return i.replace(B, function($, v) {
158
+ return v || function(H) {
159
159
  switch (H) {
160
160
  case "YY":
161
161
  return String(r.$y).slice(-2);
@@ -216,7 +216,7 @@ var E = { exports: {} };
216
216
  return a.m(u, c);
217
217
  };
218
218
  switch (o) {
219
- case v:
219
+ case y:
220
220
  i = l() / 12;
221
221
  break;
222
222
  case m:
@@ -264,7 +264,7 @@ var E = { exports: {} };
264
264
  return this.$d.toUTCString();
265
265
  }, s;
266
266
  }(), Z = C.prototype;
267
- return f.prototype = Z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", v], ["$D", _]].forEach(function(s) {
267
+ return f.prototype = Z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", y], ["$D", _]].forEach(function(s) {
268
268
  Z[s[1]] = function(n) {
269
269
  return this.$g(n, s[0], s[1]);
270
270
  };
@@ -1,11 +1,11 @@
1
- import { d as g } from "./dayjs.min-DxlOWUZ1.js";
1
+ import { d as g } from "./dayjs.min-B1mxceq0.js";
2
2
  import { defineStore as $, storeToRefs as h } from "pinia";
3
3
  import { ref as y } from "vue";
4
- import { s as E } from "./iteration-Ce8Ag6An.js";
5
- import { b as l, g as m } from "./app-v2fOFcO4.js";
4
+ import { s as E } from "./iteration-Blu9ugj8.js";
5
+ import { b as l, g as m } from "./app-DTHCLxcv.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as P } from "./role-BtVKxf2F.js";
8
- import { u as I } from "./restaurant-B8fppQ6A.js";
7
+ import { u as P } from "./role-CcTqE2HQ.js";
8
+ import { u as I } from "./restaurant-hEQn38rG.js";
9
9
  const o = {
10
10
  async readEmployees() {
11
11
  return m(await l().get("/pos-users"));
@@ -1,6 +1,6 @@
1
1
  import { defineStore as f } from "pinia";
2
2
  import { ref as u } from "vue";
3
- import { g as s, e as v, b as o } from "./app-v2fOFcO4.js";
3
+ import { g as s, e as v, b as o } from "./app-DTHCLxcv.js";
4
4
  const c = {
5
5
  async getGrantUsers() {
6
6
  return s(await o("grant").get(""));
@@ -1,4 +1,4 @@
1
- import { z as B } from "./app-v2fOFcO4.js";
1
+ import { y as B } from "./app-DTHCLxcv.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 { z as jt } from "./app-v2fOFcO4.js";
1
+ import { y as jt } from "./app-DTHCLxcv.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,11 +1,11 @@
1
- import { m as n } from "./app-v2fOFcO4.js";
2
- import { z as u } from "./rule-Cd1olm_T.js";
3
- const m = [
1
+ import { k as n } from "./app-DTHCLxcv.js";
2
+ import { z as u } from "./rule-CfTomm23.js";
3
+ const a = [
4
4
  n.Subject.Business.restaurant,
5
5
  n.Subject.Business.role,
6
6
  n.Subject.Restaurant.restaurant,
7
7
  n.Subject.Business.inventory_stock
8
- ], c = (s) => m.includes(s.subject);
8
+ ], c = (s) => a.includes(s.subject);
9
9
  function l(s, t) {
10
10
  return t.length > 0 || s.some((o) => !o.inverted && !c(o));
11
11
  }
@@ -46,7 +46,7 @@ function f(s, t) {
46
46
  }
47
47
  export {
48
48
  b as E,
49
- m as W,
49
+ a as W,
50
50
  S as b,
51
51
  l as h,
52
52
  f as t,
@@ -1,6 +1,6 @@
1
1
  import { defineStore as d, storeToRefs as v } from "pinia";
2
2
  import { ref as i } from "vue";
3
- import { b as c, g as p, u as m } from "./app-v2fOFcO4.js";
3
+ import { b as c, g as p, u as m } from "./app-DTHCLxcv.js";
4
4
  const R = {
5
5
  async readRestaurants() {
6
6
  return p(await c().get("/hr-restaurants"));
@@ -1,8 +1,8 @@
1
1
  import { defineStore as _, storeToRefs as x } from "pinia";
2
2
  import { ref as w } from "vue";
3
- import { g as f, b as p, u as b } from "./app-v2fOFcO4.js";
4
- import { s as y } from "./iteration-Ce8Ag6An.js";
5
- import { u as v } from "./restaurant-B8fppQ6A.js";
3
+ import { g as f, b as p, u as b } from "./app-DTHCLxcv.js";
4
+ import { s as y } from "./iteration-Blu9ugj8.js";
5
+ import { u as v } from "./restaurant-hEQn38rG.js";
6
6
  const R = {
7
7
  async readRoles() {
8
8
  return f(await p().get("/pos-roles"));
@@ -1,9 +1,9 @@
1
- import { s as W, c as ne, e as j } from "./iteration-Ce8Ag6An.js";
2
- import { C as _, m as h, k as z, D as re, x as K, g, b, u as V, E as L, H as ie, h as x, I as y, l as F } from "./app-v2fOFcO4.js";
1
+ import { s as W, c as ne, e as j } from "./iteration-Blu9ugj8.js";
2
+ import { D as _, k as h, j as z, E as re, C as K, g, b, u as V, F as L, H as ie, h as x, I as y, n as F } from "./app-DTHCLxcv.js";
3
3
  import { s as oe } from "./utils-BZkjJbju.js";
4
4
  import { defineStore as H, storeToRefs as Q } from "pinia";
5
- import { ref as v, computed as E } from "vue";
6
- import { u as ae } from "./restaurant-B8fppQ6A.js";
5
+ import { ref as v, computed as C } from "vue";
6
+ import { u as ae } from "./restaurant-hEQn38rG.js";
7
7
  function k(e) {
8
8
  if (e) {
9
9
  if (typeof e == "string") {
@@ -51,14 +51,14 @@ function Y(e) {
51
51
  r(s.inverted ? i : t, s, n);
52
52
  return [...Array.from(t.values()), ...Array.from(i.values())];
53
53
  }
54
- function C(e, t) {
54
+ function E(e, t) {
55
55
  return `${e}::${[...t].sort().join(",")}`;
56
56
  }
57
57
  function G(e, t) {
58
58
  const i = [...e], r = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
59
59
  for (const o of e) {
60
60
  const c = _(o.subject);
61
- r.add(C(c, o.actions)), o.inverted && o.actions.includes("manage") && n.add(`set_${c}`), !o.inverted && o.actions.includes("manage") && s.add(c);
61
+ r.add(E(c, o.actions)), o.inverted && o.actions.includes("manage") && n.add(`set_${c}`), !o.inverted && o.actions.includes("manage") && s.add(c);
62
62
  }
63
63
  const a = [...e];
64
64
  for (; a.length > 0; ) {
@@ -69,7 +69,7 @@ function G(e, t) {
69
69
  o.source && !o.source.trace && (o.source = { ...o.source, trace: l });
70
70
  const m = [...l, `${u.name} (system)`];
71
71
  for (const d of u.permissions ?? []) {
72
- const f = _(d.subject), p = C(f, d.actions);
72
+ const f = _(d.subject), p = E(f, d.actions);
73
73
  r.has(p) || s.has(f) || (r.add(p), i.push({
74
74
  ...d,
75
75
  // FdoPermissionRule.fields is string[] | null; RawRule expects string[] | undefined
@@ -83,7 +83,7 @@ function G(e, t) {
83
83
  }));
84
84
  }
85
85
  for (const d of u.permissionSets ?? []) {
86
- const f = _(d), p = C(f, ["manage"]), S = {
86
+ const f = _(d), p = E(f, ["manage"]), S = {
87
87
  subject: f,
88
88
  actions: ["manage"],
89
89
  source: {
@@ -541,7 +541,7 @@ function Re() {
541
541
  }
542
542
  }
543
543
  }
544
- const i = E(() => (e.isFoodCourt.value ? O.value.filter((n) => !n.isDefault || ie.has(n.permissionKey)) : O.value).map(
544
+ const i = C(() => (e.isFoodCourt.value ? O.value.filter((n) => !n.isDefault || ie.has(n.permissionKey)) : O.value).map(
545
545
  (n) => n.isDefault ? {
546
546
  label: n.name,
547
547
  subject: `business::report::reports::${n.permissionKey}`,
@@ -563,8 +563,8 @@ function Re() {
563
563
  return {
564
564
  fetchCustomReportPermissions: t,
565
565
  customReportPermissions: i,
566
- isLoading: E(() => R.value),
567
- isLoaded: E(() => B.value)
566
+ isLoading: C(() => R.value),
567
+ isLoaded: C(() => B.value)
568
568
  };
569
569
  }
570
570
  function N(e) {