@feedmepos/mf-hrm-portal 2.3.0-dev.4 → 2.3.0-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.
- package/dist/{ApprovalCodeList-Pbk3MAP_.js → ApprovalCodeList-DIqLkR-n.js} +2 -2
- package/dist/{AuditLogList-B4gAQD41.js → AuditLogList-DOrq5WAM.js} +3 -3
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DPbHx_I8.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DtIAcKaZ.js} +2 -2
- package/dist/{EmployeeList-0KpegAhT.js → EmployeeList-BcommHHe.js} +4 -4
- package/dist/{GrantUserList-BUkzqot_.js → GrantUserList-zYXWPBy8.js} +3 -3
- package/dist/{Main-DgmmoN5E.js → Main-BbLYXl-C.js} +5 -5
- package/dist/{Main-Dx_th1rt.js → Main-D1Rc3l1L.js} +9 -9
- package/dist/{Main-CNk6IUSX.js → Main-D8Uz1Mlf.js} +2 -2
- package/dist/{PermissionSetList-CzZGiCsv.js → PermissionSetList-DB27fd5Q.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-t_OkpC_R.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DtVJW54V.js} +472 -472
- package/dist/{RoleList-BE4zTMIf.js → RoleList-DqH-J2Di.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BPBc1yaM.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Dk5KTJmM.js} +1 -1
- package/dist/{ScheduleGeneralPage-OvoLCcup.js → ScheduleGeneralPage-C6fHvARq.js} +4 -4
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-BOkU6VUe.js → ScheduleModal.vue_vue_type_script_setup_true_lang-B-rR81nv.js} +622 -605
- package/dist/{SchedulePage-CujQTlC7.js → SchedulePage-CqpoSfUn.js} +6136 -6020
- package/dist/{SchedulePositionPage-DJ7HABNZ.js → SchedulePositionPage-NMdwzGfm.js} +9 -9
- package/dist/{TeamMemberList-DcMBkqKA.js → TeamMemberList-CX0qHVRT.js} +6 -6
- package/dist/{TimesheetList-EFkDNiyH.js → TimesheetList-DUK2sUEN.js} +5 -5
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DK7LWwL3.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-m8Ml-b47.js} +2 -2
- package/dist/{app-Bljy7Tiw.js → app-CLTLqZhG.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-6PYBuPpr.js → dayjs.min-BFtQINpX.js} +1 -1
- package/dist/{employee-BabFWzgV.js → employee-CWjZhmcu.js} +3 -3
- package/dist/{iteration-DFJixFmV.js → iteration-NQ4DY9De.js} +1 -1
- package/dist/{lodash-CfHZzOs8.js → lodash-OAOy_WpD.js} +1 -1
- package/dist/{role-DzPtXGaE.js → role-DSSFv8cl.js} +1 -1
- package/dist/{rule-DM5JuuR6.js → rule-DY7yg9_a.js} +2 -2
- package/dist/src/api/schedule/index.d.ts +3 -1
- package/dist/src/types/schedule.d.ts +1 -1
- package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -5
- package/dist/src/views/scheduling/schedule-store.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-vTUP3ZOL.js → useReportPermissions-BRs-yhSQ.js} +3 -3
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as M, ref as A, onMounted as x, computed as z, createElementBlock as a, openBlock as l, createElementVNode as o, createVNode as i, withCtx as d, unref as s, toDisplayString as c, createTextVNode as r, normalizeClass as h, createCommentVNode as E, withDirectives as S, withKeys as
|
|
1
|
+
import { defineComponent as M, ref as A, onMounted as x, computed as z, createElementBlock as a, openBlock as l, createElementVNode as o, createVNode as i, withCtx as d, unref as s, toDisplayString as c, createTextVNode as r, normalizeClass as h, createCommentVNode as E, withDirectives as S, withKeys as k, vModelText as P, Fragment as C, renderList as V, withModifiers as g } from "vue";
|
|
2
2
|
import { useRouter as F } from "vue-router";
|
|
3
3
|
import { useSnackbar as B } from "@feedmepos/ui-library";
|
|
4
|
-
import { R as I } from "./app-
|
|
5
|
-
import {
|
|
6
|
-
import { u as T, a as U, _ as W } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { R as I } from "./app-CLTLqZhG.js";
|
|
5
|
+
import { ao as L, ap as O, a7 as R, al as u, am as K } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-B-rR81nv.js";
|
|
6
|
+
import { u as T, a as U, _ as W } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Dk5KTJmM.js";
|
|
7
7
|
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const q = { class: "main" }, H = {
|
|
9
9
|
id: "viewPositions",
|
|
@@ -25,7 +25,7 @@ const q = { class: "main" }, H = {
|
|
|
25
25
|
setup(ve) {
|
|
26
26
|
const y = A(null);
|
|
27
27
|
L(y);
|
|
28
|
-
const _ = F(), w = B(),
|
|
28
|
+
const _ = F(), w = B(), b = (f, e = "info") => w.open({ message: f, type: e }), t = T({ notify: b }), v = O(), m = U(void 0, { notify: b });
|
|
29
29
|
x(async () => {
|
|
30
30
|
await v.resolve() && await R(/* @__PURE__ */ new Date());
|
|
31
31
|
});
|
|
@@ -126,8 +126,8 @@ const q = { class: "main" }, H = {
|
|
|
126
126
|
placeholder: "New position name",
|
|
127
127
|
autofocus: "",
|
|
128
128
|
onKeyup: [
|
|
129
|
-
e[2] || (e[2] =
|
|
130
|
-
e[3] || (e[3] =
|
|
129
|
+
e[2] || (e[2] = k((n) => s(t).confirmAdd(), ["enter"])),
|
|
130
|
+
e[3] || (e[3] = k((n) => s(t).cancelAdd(), ["esc"]))
|
|
131
131
|
]
|
|
132
132
|
}, null, 544), [
|
|
133
133
|
[P, s(t).newName.value]
|
|
@@ -258,7 +258,7 @@ const q = { class: "main" }, H = {
|
|
|
258
258
|
i(W, { modal: s(m) }, null, 8, ["modal"])
|
|
259
259
|
], 512));
|
|
260
260
|
}
|
|
261
|
-
}),
|
|
261
|
+
}), ke = /* @__PURE__ */ j(ce, [["__scopeId", "data-v-40bada6a"]]);
|
|
262
262
|
export {
|
|
263
|
-
|
|
263
|
+
ke as default
|
|
264
264
|
};
|
|
@@ -3,20 +3,20 @@ import { useI18n as Ve, useCoreStore as Ze } from "@feedmepos/mf-common";
|
|
|
3
3
|
import { useSnackbar as Le, useDialog as Qe, useBreakpoints as Ye, components as Oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { u as ps } from "./useDebounce-B8ZPVS5C.js";
|
|
5
5
|
import { S as ye } from "./SelectFilter-CG13h83-.js";
|
|
6
|
-
import { v as Te, m as vs, O as fs, _ as bs, a as hs } from "./app-
|
|
6
|
+
import { v as Te, m as vs, O as fs, _ as bs, a as hs } from "./app-CLTLqZhG.js";
|
|
7
7
|
import { u as ys, _ as gs } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
8
8
|
import { _ as _s } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
9
9
|
import { s as Us, _ as Ss, a as xs, b as Fs, c as Ps } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
|
|
10
10
|
import { u as He } from "./useLoading-JFoghhRz.js";
|
|
11
11
|
import { n as es } from "./string-VNuQNweN.js";
|
|
12
|
-
import { l as Pe } from "./lodash-
|
|
13
|
-
import { c as he } from "./iteration-
|
|
14
|
-
import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as Is, j as Ke, k as ws, l as Vs, n as ks, o as Rs, q as Cs } from "./rule-
|
|
15
|
-
import { u as as } from "./role-
|
|
12
|
+
import { l as Pe } from "./lodash-OAOy_WpD.js";
|
|
13
|
+
import { c as he } from "./iteration-NQ4DY9De.js";
|
|
14
|
+
import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as Is, j as Ke, k as ws, l as Vs, n as ks, o as Rs, q as Cs } from "./rule-DY7yg9_a.js";
|
|
15
|
+
import { u as as } from "./role-DSSFv8cl.js";
|
|
16
16
|
import { u as ls, i as $s } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fe-Rdwn4.js";
|
|
17
17
|
import "./useAppStore-d_nHyK5u.js";
|
|
18
18
|
import { g as ze, b as We, u as os } from "./restaurant-D7PEQjPY.js";
|
|
19
|
-
import { _ as Ms } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-
|
|
19
|
+
import { _ as Ms } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DtVJW54V.js";
|
|
20
20
|
import { _ as Ns } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
21
21
|
var Ue = /* @__PURE__ */ ((o) => (o.Update = "Update", o.Remove = "Remove", o))(Ue || {});
|
|
22
22
|
const Ie = "__unassigned__";
|
|
@@ -1,17 +1,17 @@
|
|
|
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-
|
|
2
|
+
import { d as v } from "./dayjs.min-BFtQINpX.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 } from "./SelectFilter-CG13h83-.js";
|
|
6
|
-
import { _ as Se } from "./app-
|
|
6
|
+
import { _ as Se } from "./app-CLTLqZhG.js";
|
|
7
7
|
import { _ as Ve } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
8
8
|
import { u as ke } from "./useLoading-JFoghhRz.js";
|
|
9
|
-
import { g as Ce, s as Fe } from "./iteration-
|
|
9
|
+
import { g as Ce, s as Fe } from "./iteration-NQ4DY9De.js";
|
|
10
10
|
import { f as Ye } from "./utils-BZkjJbju.js";
|
|
11
11
|
import { n as Le } from "./string-VNuQNweN.js";
|
|
12
|
-
import { u as Me } from "./employee-
|
|
12
|
+
import { u as Me } from "./employee-CWjZhmcu.js";
|
|
13
13
|
import { u as Te } from "./restaurant-D7PEQjPY.js";
|
|
14
|
-
import { u as Ie } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-
|
|
14
|
+
import { u as Ie } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-m8Ml-b47.js";
|
|
15
15
|
import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
function $e(x, a) {
|
|
17
17
|
return ["years", "months"].find((S) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as i } from "./dayjs.min-
|
|
1
|
+
import { d as i } from "./dayjs.min-BFtQINpX.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-D7PEQjPY.js";
|
|
5
|
-
import { s as S } from "./iteration-
|
|
5
|
+
import { s as S } from "./iteration-NQ4DY9De.js";
|
|
6
6
|
import { i as f, f as g } from "./utils-BZkjJbju.js";
|
|
7
7
|
const u = {
|
|
8
8
|
async readTimesheets(t, e) {
|
|
@@ -9833,16 +9833,16 @@ const _e = (e) => ({
|
|
|
9833
9833
|
}
|
|
9834
9834
|
]
|
|
9835
9835
|
}
|
|
9836
|
-
}), jc = ot(pe(() => import("./Main-
|
|
9837
|
-
pe(() => import("./AuditLogList-
|
|
9838
|
-
), Oc = ot(pe(() => import("./Main-
|
|
9839
|
-
() => import("./PermissionSetList-
|
|
9836
|
+
}), jc = ot(pe(() => import("./Main-D1Rc3l1L.js"))), Ec = ot(pe(() => import("./Main-BbLYXl-C.js"))), Pc = ot(
|
|
9837
|
+
pe(() => import("./AuditLogList-DOrq5WAM.js"))
|
|
9838
|
+
), Oc = ot(pe(() => import("./Main-D8Uz1Mlf.js"))), Gc = pe(() => import("./ApprovalCodeList-DIqLkR-n.js")), Yc = pe(() => import("./GrantUserList-zYXWPBy8.js")), Vc = pe(() => import("./EmployeeList-BcommHHe.js")), Fc = pe(() => import("./RoleList-DqH-J2Di.js")), Sc = pe(() => import("./TimesheetList-DUK2sUEN.js")), kc = pe(() => import("./TeamMemberList-CX0qHVRT.js")), Rc = pe(
|
|
9839
|
+
() => import("./PermissionSetList-DB27fd5Q.js")
|
|
9840
9840
|
), Hc = Ws(
|
|
9841
|
-
ot(pe(() => import("./SchedulePage-
|
|
9841
|
+
ot(pe(() => import("./SchedulePage-CqpoSfUn.js")))
|
|
9842
9842
|
), Ic = Ws(
|
|
9843
|
-
ot(pe(() => import("./SchedulePositionPage-
|
|
9843
|
+
ot(pe(() => import("./SchedulePositionPage-NMdwzGfm.js")))
|
|
9844
9844
|
), Tc = Ws(
|
|
9845
|
-
ot(pe(() => import("./ScheduleGeneralPage-
|
|
9845
|
+
ot(pe(() => import("./ScheduleGeneralPage-C6fHvARq.js")))
|
|
9846
9846
|
), ou = [
|
|
9847
9847
|
{
|
|
9848
9848
|
path: "/",
|
|
@@ -10888,7 +10888,7 @@ const iu = /* @__PURE__ */ at({
|
|
|
10888
10888
|
};
|
|
10889
10889
|
}
|
|
10890
10890
|
});
|
|
10891
|
-
var xs = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.
|
|
10891
|
+
var xs = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.5", mode: "fmmf" };
|
|
10892
10892
|
console.log(
|
|
10893
10893
|
`%c${xs.name}%c v${xs.version} %c${xs.mode}`,
|
|
10894
10894
|
"background:#1f1f1f;color:#fff;padding:2px 6px;border-radius:3px 0 0 3px",
|
package/dist/app.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as g } from "./dayjs.min-
|
|
1
|
+
import { d as g } from "./dayjs.min-BFtQINpX.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-
|
|
4
|
+
import { s as E } from "./iteration-NQ4DY9De.js";
|
|
5
5
|
import { b as l, g as f, u as I } from "./restaurant-D7PEQjPY.js";
|
|
6
6
|
import { i as v } from "./utils-BZkjJbju.js";
|
|
7
|
-
import { u as P } from "./role-
|
|
7
|
+
import { u as P } from "./role-DSSFv8cl.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-
|
|
1
|
+
import { f as B } from "./app-CLTLqZhG.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,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-
|
|
4
|
+
import { s as v } from "./iteration-NQ4DY9De.js";
|
|
5
5
|
import { g as f, b as p, u as I } from "./restaurant-D7PEQjPY.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-
|
|
2
|
-
import { e as O, b as V, c as _, v as F, n as h, O as ee, D as M } from "./app-
|
|
1
|
+
import { s as W, c as q, e as y } from "./iteration-NQ4DY9De.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-CLTLqZhG.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-D7PEQjPY.js";
|
|
5
5
|
import { defineStore as z, storeToRefs as K } from "pinia";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
|
|
1
|
+
import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
|
|
2
2
|
declare const ScheduleAPI: {
|
|
3
3
|
listEmployeeProfiles(employeeIds?: string[]): Promise<FdtoScheduleEmployee[]>;
|
|
4
4
|
listEmployeeConfigs(restaurantId: string): Promise<FdtoScheduleEmployeeConfig[]>;
|
|
@@ -34,6 +34,8 @@ declare const ScheduleAPI: {
|
|
|
34
34
|
}>;
|
|
35
35
|
/** Atomically replaces one date/weekday's flattened demand rows. */
|
|
36
36
|
replaceDemands(restaurantId: string, req: FdtoScheduleReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
|
|
37
|
+
/** Atomically replaces several date/weekday demand generations. */
|
|
38
|
+
bulkReplaceDemands(restaurantId: string, req: FdtoScheduleBulkReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
|
|
37
39
|
/** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
|
|
38
40
|
saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
|
|
39
41
|
/** A one-off shift assignment. */
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* only view-model commands that intentionally do not cross HTTP (for example
|
|
6
6
|
* replacing a period made up of several persisted demand rows).
|
|
7
7
|
*/
|
|
8
|
-
export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
|
|
8
|
+
export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
|
|
9
9
|
/** UI-level replacement command. The store expands these periods into flat
|
|
10
10
|
* ShiftDemand rows before calling the shared HTTP contract. */
|
|
11
11
|
export interface ScheduleReplaceDemandReq {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -52,11 +52,6 @@ export declare function useScheduleDemandSheet(board: ScheduleBoardApi, demand:
|
|
|
52
52
|
key: "weekdays";
|
|
53
53
|
label: string;
|
|
54
54
|
sub: string;
|
|
55
|
-
} | {
|
|
56
|
-
on: boolean;
|
|
57
|
-
key: "custom";
|
|
58
|
-
label: string;
|
|
59
|
-
sub: string;
|
|
60
55
|
})[]>;
|
|
61
56
|
weekdayButtons: import("vue").ComputedRef<{
|
|
62
57
|
i: number;
|
|
@@ -81,6 +81,7 @@ export declare function saveScheduleDay(date: string, req: FdtoScheduleSaveSched
|
|
|
81
81
|
* Position-specific headcount becomes its own row; any remaining headcount becomes an
|
|
82
82
|
* unpositioned row for the same time range. */
|
|
83
83
|
export declare function saveDemand(req: ScheduleReplaceDemandReq): Promise<void>;
|
|
84
|
+
export declare function saveDemandsBulk(requests: ScheduleReplaceDemandReq[]): Promise<void>;
|
|
84
85
|
/** Copies one date's own demand rows onto another date, as that date's own rows. A date that
|
|
85
86
|
* already has demand of its own is left alone (nothing is overwritten), and a source date with
|
|
86
87
|
* none has nothing to copy: the standing weekday rule already covers the same weekday in every
|