@feedmepos/mf-hrm-portal 2.3.2-dev.4 → 2.3.2-dev.5

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 (44) hide show
  1. package/dist/{ApprovalCodeList-BPTnWcra.js → ApprovalCodeList-NYJNwdDZ.js} +7 -7
  2. package/dist/{AuditLogList-CvEF4bit.js → AuditLogList-Ghn4aBnn.js} +5 -5
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CPX0sv64.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BxZ9t3MZ.js} +2 -2
  4. package/dist/{EmployeeList-CANPsrQY.js → EmployeeList-jc8LTznV.js} +8 -8
  5. package/dist/{FormSection.vue_vue_type_script_setup_true_lang-mdfK9rtZ.js → FormSection.vue_vue_type_script_setup_true_lang-DLgm6oCz.js} +1 -1
  6. package/dist/{GrantUserList-DPj_6Wsg.js → GrantUserList-BtPTpypR.js} +8 -8
  7. package/dist/{Main-DXcSgkhR.js → Main-BF8hlYeV.js} +10 -10
  8. package/dist/{Main-BWRMirTY.js → Main-BizCV-_x.js} +11 -11
  9. package/dist/{Main-Cob4hcf-.js → Main-McMZU_cR.js} +5 -5
  10. package/dist/{MyPosProfile-Bp7-pATz.js → MyPosProfile-BjeCnBvL.js} +100 -111
  11. package/dist/{PermissionSetList-DvAW1q0c.js → PermissionSetList-NWLoqFHC.js} +6 -6
  12. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DmbI5vgH.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-UPcpeVD5.js} +840 -840
  13. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-C8hcooKP.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-nwpdr7T7.js} +19 -19
  14. package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-Bq8-aBSv.js → RoleForm.vue_vue_type_script_setup_true_lang-eT-dPsOX.js} +9 -9
  15. package/dist/{RoleList-DsrHgU4s.js → RoleList-CIfN10zu.js} +7 -7
  16. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRR18xmB.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CMTXC_UR.js} +1 -1
  17. package/dist/{ScheduleGeneralPage-C_Kj9wmp.js → ScheduleGeneralPage-8vS1DUrk.js} +2 -2
  18. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-3oQ6lE86.js → ScheduleModal.vue_vue_type_script_setup_true_lang-Br4AcF1g.js} +4 -4
  19. package/dist/{SchedulePage-9dFXxWwZ.js → SchedulePage-DqbE1PoV.js} +9 -9
  20. package/dist/{SchedulePositionPage-Dea5X8Sa.js → SchedulePositionPage-DUnkT0Tp.js} +3 -3
  21. package/dist/{SelectFilter-Dr9lB6Ta.js → SelectFilter-voMj4_j1.js} +1 -1
  22. package/dist/{TeamMemberList-Bu9QNP9W.js → TeamMemberList-DoEOWNDC.js} +12 -12
  23. package/dist/{TimesheetList-B98l028z.js → TimesheetList-BBv2SV96.js} +8 -8
  24. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DIQ7kjG8.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-h-bWBmpI.js} +3 -3
  25. package/dist/{app-BHQJX4L4.js → app-CDCO87ji.js} +452 -457
  26. package/dist/app.js +1 -1
  27. package/dist/{approval-code-w0rZJeYU.js → approval-code-CLE9s5dL.js} +1 -1
  28. package/dist/{dayjs.min-C4H4diN8.js → dayjs.min-BW6-XAUB.js} +16 -16
  29. package/dist/{employee-BEwUmdt6.js → employee-BaCU-FLC.js} +5 -5
  30. package/dist/{grant-user-DdxPMH5_.js → grant-user-DMtilLJx.js} +1 -1
  31. package/dist/{iteration-DBHifssn.js → iteration-CPLGGFBb.js} +1 -1
  32. package/dist/{lodash-DqZsWm-0.js → lodash-snXoiw60.js} +1 -1
  33. package/dist/{member-grant-DOigVnBR.js → member-grant-CJyOr-q0.js} +2 -2
  34. package/dist/{restaurant-2xCb2x26.js → restaurant-BMlLIUqe.js} +1 -1
  35. package/dist/{role-C8STcmLJ.js → role-DqcBOWHL.js} +3 -3
  36. package/dist/{rule-BkL34-Ma.js → rule-B5YNhGJ4.js} +3 -3
  37. package/dist/src/api/my-pos-profile/index.d.ts +1 -3
  38. package/dist/src/types/my-pos-profile.d.ts +2 -3
  39. package/dist/src/views/my-pos-profile/locales/index.d.ts +0 -4
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/{useAppStore-BUmFt2dT.js → useAppStore-pKAGQL6q.js} +1 -1
  42. package/dist/{useLoading-oHRj4RgU.js → useLoading-D67DIqfk.js} +1 -1
  43. package/dist/{useReportPermissions-CpcyfEuV.js → useReportPermissions-CfgnE0NY.js} +3 -3
  44. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H as e, F as o, I as p } from "./app-BHQJX4L4.js";
1
+ import { F as e, E as o, H as p } from "./app-CDCO87ji.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  o as i18nMessages,
@@ -1,6 +1,6 @@
1
1
  import { defineStore as C } from "pinia";
2
2
  import { ref as l } from "vue";
3
- import { g as p, b as s } from "./app-BHQJX4L4.js";
3
+ import { g as p, b as s } from "./app-CDCO87ji.js";
4
4
  const n = {
5
5
  async getApprovalCodes() {
6
6
  return p(await s("approval-codes").get(""));
@@ -1,10 +1,10 @@
1
- import { y as Q, x as K } from "./app-BHQJX4L4.js";
1
+ import { x as Q, w as K } from "./app-CDCO87ji.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, x) {
5
5
  V.exports = x();
6
6
  })(K, function() {
7
- var W = 1e3, x = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", y = "year", _ = "date", J = "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) {
7
+ var W = 1e3, x = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", v = "year", _ = "date", J = "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, 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: v, 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
  } }, k = "en", D = {};
@@ -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 v = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
94
- return i ? v : v.endOf(M);
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);
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 y:
99
+ case v:
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[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) {
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) {
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 === y) return this.set(y, this.$y + t);
139
+ if (u === v) return this.set(v, 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] = x, 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 || J;
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);
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);
151
151
  }, Y = function($) {
152
152
  return a.s(o % 12 || 12, $, "0");
153
- }, p = b || function($, v, H) {
153
+ }, p = b || function($, y, H) {
154
154
  var L = $ < 12 ? "AM" : "PM";
155
155
  return H ? L.toLowerCase() : L;
156
156
  };
157
- return i.replace(B, function($, v) {
158
- return v || function(H) {
157
+ return i.replace(B, function($, y) {
158
+ return y || 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 y:
219
+ case v:
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", y], ["$D", _]].forEach(function(s) {
267
+ return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", v], ["$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-C4H4diN8.js";
1
+ import { d as g } from "./dayjs.min-BW6-XAUB.js";
2
2
  import { defineStore as $, storeToRefs as x } from "pinia";
3
3
  import { ref as y } from "vue";
4
- import { s as E } from "./iteration-DBHifssn.js";
5
- import { b as l, g as m } from "./app-BHQJX4L4.js";
4
+ import { s as E } from "./iteration-CPLGGFBb.js";
5
+ import { b as l, g as m } from "./app-CDCO87ji.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as P } from "./role-C8STcmLJ.js";
8
- import { u as I } from "./restaurant-2xCb2x26.js";
7
+ import { u as P } from "./role-DqcBOWHL.js";
8
+ import { u as I } from "./restaurant-BMlLIUqe.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, h as v, b as o } from "./app-BHQJX4L4.js";
3
+ import { g as s, e as v, b as o } from "./app-CDCO87ji.js";
4
4
  const c = {
5
5
  async getGrantUsers() {
6
6
  return s(await o("grant").get(""));
@@ -1,4 +1,4 @@
1
- import { x as B } from "./app-BHQJX4L4.js";
1
+ import { w as B } from "./app-CDCO87ji.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 { x as jt } from "./app-BHQJX4L4.js";
1
+ import { w as jt } from "./app-CDCO87ji.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,5 +1,5 @@
1
- import { m as i, s as u } from "./app-BHQJX4L4.js";
2
- import { n as a, l as m, q as l, o as d, m as p } from "./rule-BkL34-Ma.js";
1
+ import { m as i, q as u } from "./app-CDCO87ji.js";
2
+ import { n as a, l as m, q as l, o as d, m as p } from "./rule-B5YNhGJ4.js";
3
3
  const f = [
4
4
  i.Subject.Business.restaurant,
5
5
  i.Subject.Business.role,
@@ -1,7 +1,7 @@
1
1
  import { defineStore as p, storeToRefs as m } from "pinia";
2
2
  import { ref as o } from "vue";
3
3
  import { useCoreStore as R } from "@feedmepos/mf-common";
4
- import { b as d, g } from "./app-BHQJX4L4.js";
4
+ import { b as d, g } from "./app-CDCO87ji.js";
5
5
  const y = {
6
6
  async readRestaurants() {
7
7
  return g(await d().get("/hr-restaurants"));
@@ -1,9 +1,9 @@
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-DBHifssn.js";
5
- import { g as f, b as p } from "./app-BHQJX4L4.js";
6
- import { u as I } from "./restaurant-2xCb2x26.js";
4
+ import { s as v } from "./iteration-CPLGGFBb.js";
5
+ import { g as f, b as p } from "./app-CDCO87ji.js";
6
+ import { u as I } from "./restaurant-BMlLIUqe.js";
7
7
  const R = {
8
8
  async readRoles() {
9
9
  return f(await p().get("/pos-roles"));
@@ -1,10 +1,10 @@
1
- import { s as W, c as q, e as y } from "./iteration-DBHifssn.js";
2
- import { g, b as v, z as O, q as z, m as _, C as F, v as x, E as S, O as ee, D as B } from "./app-BHQJX4L4.js";
1
+ import { s as W, c as q, e as y } from "./iteration-CPLGGFBb.js";
2
+ import { g, b as v, y as O, n as z, m as _, z as F, v as x, C as S, O as ee, D as B } from "./app-CDCO87ji.js";
3
3
  import { s as se } from "./utils-BZkjJbju.js";
4
4
  import { defineStore as V, storeToRefs as K } from "pinia";
5
5
  import { ref as h, computed as J } from "vue";
6
6
  import { useCoreStore as X } from "@feedmepos/mf-common";
7
- import { u as te } from "./restaurant-2xCb2x26.js";
7
+ import { u as te } from "./restaurant-BMlLIUqe.js";
8
8
  const E = "/permission-sets", N = {
9
9
  async read() {
10
10
  return g(await v().get(E));
@@ -1,5 +1,3 @@
1
- import type { FdtoMyPosPasscode, FdtoMyPosProfile, FdtoRegenerateMyPosPasscodeRes } from '@/types/my-pos-profile';
1
+ import type { FdtoMyPosProfile, FdtoRegenerateMyPosPasscodeRes } from '@/types/my-pos-profile';
2
2
  export declare const readMyPosProfile: () => Promise<FdtoMyPosProfile>;
3
- /** D50: the signed-in user's own current passcode. */
4
- export declare const readMyPosPasscode: () => Promise<FdtoMyPosPasscode>;
5
3
  export declare const regenerateMyPosPasscode: () => Promise<FdtoRegenerateMyPosPasscodeRes>;
@@ -3,6 +3,8 @@ export interface FdtoMyPosProfile {
3
3
  hasPosUser: boolean;
4
4
  profile: null | {
5
5
  name: string;
6
+ /** The caller's own current passcode, shown on reveal (D50). */
7
+ passcode: string;
6
8
  phoneNumber: string | null;
7
9
  email: string | null;
8
10
  assignments: {
@@ -16,9 +18,6 @@ export interface FdtoMyPosProfile {
16
18
  };
17
19
  }
18
20
  export type FdtoMyPosProfileAssignment = NonNullable<FdtoMyPosProfile['profile']>['assignments'][number];
19
- export interface FdtoMyPosPasscode {
20
- passcode: string;
21
- }
22
21
  export interface FdtoRegenerateMyPosPasscodeRes {
23
22
  passcode: string;
24
23
  passcodeUpdatedAt: string;
@@ -20,7 +20,6 @@ export declare const i18nMessages: {
20
20
  show: string;
21
21
  hide: string;
22
22
  change: string;
23
- revealFailed: string;
24
23
  };
25
24
  change: {
26
25
  title: string;
@@ -69,7 +68,6 @@ export declare const i18nMessages: {
69
68
  show: string;
70
69
  hide: string;
71
70
  change: string;
72
- revealFailed: string;
73
71
  };
74
72
  change: {
75
73
  title: string;
@@ -118,7 +116,6 @@ export declare const i18nMessages: {
118
116
  show: string;
119
117
  hide: string;
120
118
  change: string;
121
- revealFailed: string;
122
119
  };
123
120
  change: {
124
121
  title: string;
@@ -167,7 +164,6 @@ export declare const i18nMessages: {
167
164
  show: string;
168
165
  hide: string;
169
166
  change: string;
170
- revealFailed: string;
171
167
  };
172
168
  change: {
173
169
  title: string;