@feedmepos/mf-hrm-portal 2.2.5-dev.4 → 2.2.5-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.
- package/dist/{ApprovalCodeList-D0B_X3Sf.js → ApprovalCodeList-CtCpcbAC.js} +2 -2
- package/dist/{AuditLogList-D9anf4YQ.js → AuditLogList-BYOvk3l4.js} +3 -3
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4oENMRO3.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DS4_vkTG.js} +2 -2
- package/dist/{EmployeeList-DREDu3Ou.js → EmployeeList-B_sTjkdO.js} +5 -5
- package/dist/{GrantUserList-CLDshEN9.js → GrantUserList-_nRUyHYM.js} +3 -3
- package/dist/{Main-QhQxU593.js → Main-CloHiemF.js} +5 -5
- package/dist/{Main-DtMaG42L.js → Main-DoLU6s-8.js} +2 -2
- package/dist/{Main-lqlb8tPw.js → Main-DqY2oGAM.js} +9 -9
- package/dist/{PermissionSetList-BK8yBpJJ.js → PermissionSetList-uL-0fN9H.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-uSdvH81B.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-dCgJ2s08.js} +750 -750
- package/dist/{RoleList-D6AX6BqB.js → RoleList-CwrDYFXz.js} +7 -7
- package/dist/{ScheduleGeneralPage-DAECTCDu.js → ScheduleGeneralPage-CgQOHHb8.js} +3 -3
- package/dist/{SchedulePage-CdFR7JuO.js → SchedulePage-C7q1IL70.js} +22 -12
- package/dist/{SchedulePositionPage-DTtKg0sx.js → SchedulePositionPage-Dys7X035.js} +3 -3
- package/dist/{ScheduleSelect.vue_vue_type_script_setup_true_lang-BiuUrr50.js → ScheduleSelect.vue_vue_type_script_setup_true_lang-Cm2VWp8s.js} +73 -71
- package/dist/{TeamMemberList-BM5JoR6J.js → TeamMemberList-qyKCeSsW.js} +6 -6
- package/dist/{TimesheetList-Ch_f_PD5.js → TimesheetList-D1EJG90Z.js} +4 -4
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CxqxqwyD.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Car-HXjq.js} +1 -1
- package/dist/{app-tDHL6k4G.js → app-By1O6mq8.js} +737 -737
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-B_XWc0Hu.js → dayjs.min-_ZoZF_Ra.js} +1 -1
- package/dist/{employee-Bs_2vqBY.js → employee-BC7QM1dX.js} +3 -3
- package/dist/{index-Cz2b95YF.js → index-CHf8MAN1.js} +1 -1
- package/dist/{index-jxRluZiW.js → index-u10uXqFM.js} +1 -1
- package/dist/{lodash-D5vM3paU.js → lodash-BsAtPIfh.js} +1 -1
- package/dist/{role-7ccipEEe.js → role-PShfEEXE.js} +1 -1
- package/dist/{rule-7faruCdz.js → rule-RU8uWecT.js} +2 -2
- package/dist/src/views/scheduling/locales/index.d.ts +4 -4
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-FieO4EAD.js → useReportPermissions-Bu-l3ebR.js} +3 -3
- package/dist/{useScheduleOutlet-CmIG5dwQ.js → useScheduleOutlet-BOmEn1hr.js} +7 -18
- package/dist/{useSchedulePositions-DPVAgdB2.js → useSchedulePositions-upgaNffa.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed as r, ref as n } from "vue";
|
|
2
|
-
import { e as d } from "./index-
|
|
2
|
+
import { e as d } from "./index-u10uXqFM.js";
|
|
3
3
|
import { useCoreStore as h } from "@feedmepos/mf-common";
|
|
4
|
-
import { R as K } from "./rule-
|
|
5
|
-
import { D as g } from "./app-
|
|
4
|
+
import { R as K } from "./rule-RU8uWecT.js";
|
|
5
|
+
import { D as g } from "./app-By1O6mq8.js";
|
|
6
6
|
const a = n([]), i = n(!1), l = n(!1), f = n(null), p = n(null), u = n(!1);
|
|
7
7
|
function B() {
|
|
8
8
|
const v = h();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as I, shallowRef as q, reactive as g, watch as ee, computed as U } from "vue";
|
|
2
2
|
import { useCoreStore as te } from "@feedmepos/mf-common";
|
|
3
3
|
import { g as p, b as f, u as ne } from "./restaurant-BTpBmfBV.js";
|
|
4
|
-
import { E as ae } from "./index-
|
|
4
|
+
import { E as ae } from "./index-CHf8MAN1.js";
|
|
5
5
|
const m = {
|
|
6
6
|
async generateAutoSchedule(e, t) {
|
|
7
7
|
return p(
|
|
@@ -31,17 +31,10 @@ const m = {
|
|
|
31
31
|
},
|
|
32
32
|
/** Positions are shared across the business. */
|
|
33
33
|
async createPosition(e) {
|
|
34
|
-
return p(
|
|
35
|
-
await f("schedules").post("positions", e)
|
|
36
|
-
);
|
|
34
|
+
return p(await f("schedules").post("positions", e));
|
|
37
35
|
},
|
|
38
36
|
async updatePosition(e, t) {
|
|
39
|
-
return p(
|
|
40
|
-
await f("schedules").post(
|
|
41
|
-
`positions/${e}`,
|
|
42
|
-
t
|
|
43
|
-
)
|
|
44
|
-
);
|
|
37
|
+
return p(await f("schedules").post(`positions/${e}`, t));
|
|
45
38
|
},
|
|
46
39
|
/** Deleting one position is `deletePositions` with a single-id array — the backend's
|
|
47
40
|
* `DELETE positions/:id` route is gone; this is now `DELETE positions?ids=`. */
|
|
@@ -78,10 +71,7 @@ const m = {
|
|
|
78
71
|
/** A one-off shift assignment. */
|
|
79
72
|
async createAssignment(e, t) {
|
|
80
73
|
return p(
|
|
81
|
-
await f(`restaurants/${e}/schedules`).post(
|
|
82
|
-
"assignments",
|
|
83
|
-
t
|
|
84
|
-
)
|
|
74
|
+
await f(`restaurants/${e}/schedules`).post("assignments", t)
|
|
85
75
|
);
|
|
86
76
|
},
|
|
87
77
|
async updateAssignment(e, t, a) {
|
|
@@ -97,10 +87,9 @@ const m = {
|
|
|
97
87
|
* array. */
|
|
98
88
|
async deleteAssignments(e, t) {
|
|
99
89
|
return p(
|
|
100
|
-
await f(`restaurants/${e}/schedules`).delete(
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
)
|
|
90
|
+
await f(`restaurants/${e}/schedules`).delete("assignments", {
|
|
91
|
+
params: { ids: t.join(",") }
|
|
92
|
+
})
|
|
104
93
|
);
|
|
105
94
|
},
|
|
106
95
|
/** Flips a batch of assignments to one status in a single request — e.g. Publish sending
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as t, watch as O, computed as d } from "vue";
|
|
2
|
-
import { H as g, a as k, I as L, J as R, K as T } from "./useScheduleOutlet-
|
|
2
|
+
import { H as g, a as k, I as L, J as R, K as T } from "./useScheduleOutlet-BOmEn1hr.js";
|
|
3
3
|
function m() {
|
|
4
4
|
return g.map((l) => ({ id: l.id, name: l.name }));
|
|
5
5
|
}
|