@feedmepos/mf-hrm-portal 2.3.0-dev.11 → 2.3.0-dev.13

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 (32) hide show
  1. package/dist/{ApprovalCodeList-Ce9BWzt9.js → ApprovalCodeList-D3egZFML.js} +2 -2
  2. package/dist/{AuditLogList-Cw7WN8K4.js → AuditLogList-BzbaEsSj.js} +3 -3
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BuofBFPC.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Do52KbKm.js} +2 -2
  4. package/dist/{EmployeeList-B8qWPNvj.js → EmployeeList-BiM8dRwZ.js} +4 -4
  5. package/dist/{GrantUserList-CgigJIPF.js → GrantUserList-Dj2ms20E.js} +3 -3
  6. package/dist/{Main-BfoVdxlY.js → Main-C2z7Jf9A.js} +5 -5
  7. package/dist/{Main-Cg2vC_cj.js → Main-DklZWoKj.js} +2 -2
  8. package/dist/{Main-D26pgKy1.js → Main-DmpwTPaI.js} +9 -9
  9. package/dist/{PermissionSetList-CbtDiF4k.js → PermissionSetList-C-qgCcRO.js} +5 -5
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DW1oBTbb.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ggZB5zWW.js} +936 -936
  11. package/dist/{RoleList-D0I8mbyI.js → RoleList-ohfin77B.js} +7 -7
  12. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Ctwukt6o.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-diuWysro.js} +1 -1
  13. package/dist/{ScheduleGeneralPage-Kv4pnxCL.js → ScheduleGeneralPage-aCljFf21.js} +4 -4
  14. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-CSA0aaqJ.js → ScheduleModal.vue_vue_type_script_setup_true_lang-x_-BYkcc.js} +178 -175
  15. package/dist/{SchedulePage-BMWd0bod.js → SchedulePage-DdMHF6kX.js} +2969 -2918
  16. package/dist/{SchedulePositionPage-5Xvx6Dk5.js → SchedulePositionPage-CID91orD.js} +3 -3
  17. package/dist/{TeamMemberList-Bh7i5l16.js → TeamMemberList-DJIKL4dE.js} +6 -6
  18. package/dist/{TimesheetList-BJKU-hnk.js → TimesheetList-BPXWPNfT.js} +5 -5
  19. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-MMWnb9bj.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DVcV0knM.js} +2 -2
  20. package/dist/{app-BDJ5qxhF.js → app-Bz8568j8.js} +127 -97
  21. package/dist/app.js +1 -1
  22. package/dist/{dayjs.min-BWM0vY4w.js → dayjs.min-DhSRKSu4.js} +1 -1
  23. package/dist/{employee-bBSuAJUr.js → employee-BM44u8b-.js} +3 -3
  24. package/dist/{iteration-Dg7VAkAn.js → iteration-BHDxs89d.js} +1 -1
  25. package/dist/{lodash-BknY3p4o.js → lodash-DgSYLwYD.js} +1 -1
  26. package/dist/{role-BJnJnNd_.js → role-BMJ7LEHN.js} +1 -1
  27. package/dist/{rule-BEuOY7Wf.js → rule-CCo7_ckA.js} +2 -2
  28. package/dist/src/views/scheduling/composables/remyPrompt.d.ts +4 -2
  29. package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +10 -8
  30. package/dist/tsconfig.app.tsbuildinfo +1 -1
  31. package/dist/{useReportPermissions-D8hJ5W0t.js → useReportPermissions-C_Cd__n1.js} +3 -3
  32. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as e, i as r, r as o } from "./app-BDJ5qxhF.js";
1
+ import { h as e, i as r, r as o } from "./app-Bz8568j8.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, f as K } from "./app-BDJ5qxhF.js";
1
+ import { g as Q, f as K } from "./app-Bz8568j8.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,10 +1,10 @@
1
- import { d as g } from "./dayjs.min-BWM0vY4w.js";
1
+ import { d as g } from "./dayjs.min-DhSRKSu4.js";
2
2
  import { defineStore as $, storeToRefs as x } from "pinia";
3
3
  import { ref as m } from "vue";
4
- import { s as E } from "./iteration-Dg7VAkAn.js";
4
+ import { s as E } from "./iteration-BHDxs89d.js";
5
5
  import { b as l, g as f, u as I } from "./restaurant-BbYRA_IT.js";
6
6
  import { i as v } from "./utils-BZkjJbju.js";
7
- import { u as P } from "./role-BJnJnNd_.js";
7
+ import { u as P } from "./role-BMJ7LEHN.js";
8
8
  const o = {
9
9
  async readEmployees() {
10
10
  return f(await l().get("/pos-users"));
@@ -1,4 +1,4 @@
1
- import { f as B } from "./app-BDJ5qxhF.js";
1
+ import { f as B } from "./app-Bz8568j8.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 { f as jt } from "./app-BDJ5qxhF.js";
1
+ import { f as jt } from "./app-Bz8568j8.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,7 +1,7 @@
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-Dg7VAkAn.js";
4
+ import { s as v } from "./iteration-BHDxs89d.js";
5
5
  import { g as f, b as p, u as I } from "./restaurant-BbYRA_IT.js";
6
6
  const R = {
7
7
  async readRoles() {
@@ -1,5 +1,5 @@
1
- import { s as W, c as q, e as y } from "./iteration-Dg7VAkAn.js";
2
- import { e as O, b as V, c as _, v as F, n as h, O as ee, D as M } from "./app-BDJ5qxhF.js";
1
+ import { s as W, c as q, e as y } from "./iteration-BHDxs89d.js";
2
+ import { e as O, b as V, c as _, v as F, n as h, O as ee, D as M } from "./app-Bz8568j8.js";
3
3
  import { s as se } from "./utils-BZkjJbju.js";
4
4
  import { g, b as v, q as x, u as te } from "./restaurant-BbYRA_IT.js";
5
5
  import { defineStore as z, storeToRefs as K } from "pinia";
@@ -8,6 +8,8 @@ export type RemyDemandScope = {
8
8
  } | {
9
9
  mode: 'weekdays';
10
10
  };
11
- /** The sentence prefilled into the host Remy panel. Names the outlet the way a manager knows it;
12
- * Remy resolves it to an id itself (hrm_find_outlet), so no identifier appears in the text. */
11
+ /** The text prefilled into the host Remy panel. It points at the two inputs Remy's HRM skill
12
+ * handles (an attached roster image, or demand described in words); the bullets are example
13
+ * guidance the user replaces. Names the outlet the way a manager knows it; Remy resolves it to
14
+ * an id itself (hrm_find_outlet), so no outlet id appears in the text. */
13
15
  export declare function remyDemandPrompt(outletName: string, scope: RemyDemandScope): string;
@@ -1,16 +1,18 @@
1
1
  import type { ScheduleSelectOption } from '../components/ScheduleSelect.vue';
2
2
  /** Which outlet the board is scheduling, and the picker that changes it.
3
3
  *
4
- * On entry the host shell's own selection wins — mf-common keeps `currentRestaurant` in sync
5
- * with the `?restaurantId=` in the URL, so arriving from anywhere else in the portal lands on
6
- * the outlet that was already being looked at. Only when the shell has no opinion does this
7
- * fall back to the first outlet in the business, which is better than an empty board.
4
+ * On entry the outlet last picked in the schedule wins, remembered per business in localStorage.
5
+ * The host shell (mf-common) resets its own `currentRestaurant` to the first manageable outlet
6
+ * and rewrites `?restaurantId=` on every reload, so neither the URL nor the shell's selection
7
+ * can carry the user's pick across a refresh. Only when nothing was ever picked here does the
8
+ * shell's selection decide, so arriving from elsewhere in the portal lands on the outlet that
9
+ * was already being looked at. Failing that it falls back to the first outlet in the business,
10
+ * which is better than an empty board. The picker offers only restaurants the user can manage.
8
11
  *
9
- * Switching from the picker writes the new id back into `?restaurantId=` too — via
10
- * `router.replace`, not a navigation, so it does not reload the page or add a history entry.
12
+ * Switching from the picker saves the pick and writes the new id back into `?restaurantId=` too,
13
+ * via `router.replace`, not a navigation, so it does not reload the page or add a history entry.
11
14
  * The picker already re-fetches everything the new outlet needs (see switchTo below); this just
12
- * keeps the address bar honest about which one is on screen, so a refresh or a copied link lands
13
- * back on it instead of silently snapping to whatever the shell had before. */
15
+ * keeps the address bar honest about which one is on screen. */
14
16
  export declare function useScheduleOutlet(): {
15
17
  options: import("vue").ComputedRef<ScheduleSelectOption[]>;
16
18
  ready: import("vue").Ref<boolean, boolean>;