@feedmepos/mf-hrm-portal 2.3.0-dev.7 → 2.3.0-dev.9
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-J-NC4Z5M.js → ApprovalCodeList-BDpxEJpC.js} +5 -5
- package/dist/{AuditLogList-B1Sb8HDk.js → AuditLogList-Dgwj1gz8.js} +4 -4
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BlXgJvsO.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BBK2gl7r.js} +2 -2
- package/dist/{EmployeeList-DprCwGC9.js → EmployeeList-C8cbVcmY.js} +6 -6
- package/dist/{GrantUserList-BWeZAzUC.js → GrantUserList-zul0_Dlm.js} +6 -6
- package/dist/{Main-Dna6CkrV.js → Main-5TsFTFpc.js} +8 -8
- package/dist/{Main-BZCIlbf3.js → Main-Cjo4FMZZ.js} +5 -5
- package/dist/{Main-CGlnX97k.js → Main-DSr9KbjT.js} +11 -11
- package/dist/{PermissionSetList-DuJjihft.js → PermissionSetList-CDhiiu37.js} +7 -7
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-RI8tMDoe.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DoK944l0.js} +971 -971
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fe-Rdwn4.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-BVz6q3HE.js} +1 -1
- package/dist/{RoleList-Jn8EeYqo.js → RoleList-DEbOPQD_.js} +9 -9
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cx9jFgBS.js +492 -0
- package/dist/ScheduleGeneralPage-B8PWNsc2.js +776 -0
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-DLpFG65j.js → ScheduleModal.vue_vue_type_script_setup_true_lang-V1sZ_xhO.js} +858 -793
- package/dist/SchedulePage-ndLByVBl.js +17785 -0
- package/dist/{SchedulePositionPage-B7S3G8gO.js → SchedulePositionPage-Cuv4ydOK.js} +18 -18
- package/dist/{TeamMemberList-Bx_I5hO6.js → TeamMemberList-DpCGqHCk.js} +10 -10
- package/dist/{TimesheetList-DjDoOqih.js → TimesheetList-B7HAC5zS.js} +7 -7
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-pRgaW5ro.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BGD6m5M-.js} +3 -3
- package/dist/{app-uVAVK4Qd.js → app-Lh0cqgHy.js} +20 -20
- package/dist/app.js +1 -1
- package/dist/{approval-code-C9DmR4Md.js → approval-code-DHsUgc4K.js} +1 -1
- package/dist/{dayjs.min-CdEA8bsz.js → dayjs.min-joq4stsa.js} +1 -1
- package/dist/{employee-mq8mZRLE.js → employee-BPmp9c6i.js} +4 -4
- package/dist/{grant-user-Bv-pJ9Wt.js → grant-user-qzKHFTro.js} +1 -1
- package/dist/{iteration-B5TN8t9O.js → iteration-jvdTHQUx.js} +1 -1
- package/dist/{lodash-DxYGKySa.js → lodash-CIAEpr9s.js} +1 -1
- package/dist/{restaurant-D7PEQjPY.js → restaurant-BbYRA_IT.js} +4 -3
- package/dist/{role-DiyMdYM9.js → role-Dd1TUMhn.js} +2 -2
- package/dist/{rule-BGlU-EJ_.js → rule-DmxI7qEY.js} +3 -3
- package/dist/src/api/schedule/index.d.ts +4 -1
- package/dist/src/types/schedule.d.ts +3 -4
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +0 -5
- package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +0 -2
- package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +0 -7
- package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleContextMenu.vue.d.ts +1 -5
- package/dist/src/views/scheduling/components/{ScheduleAssignEmployeePopover.vue.d.ts → ScheduleOnboardingAssignPositionModal.vue.d.ts} +2 -2
- package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +0 -10
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +12 -8
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +21 -9
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +0 -13
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +2 -8
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +3 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +29 -4
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +0 -3
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +3 -5
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +6 -3
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +7 -2
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +4 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +21 -3
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +223 -21
- package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +0 -4
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +24 -4
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +7 -2
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +12 -2
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +15 -3
- package/dist/src/views/scheduling/country-rules/index.d.ts +4 -4
- package/dist/src/views/scheduling/data.d.ts +5 -1
- package/dist/src/views/scheduling/schedule-state.d.ts +76 -12
- package/dist/src/views/scheduling/schedule-store.d.ts +13 -5
- package/dist/src/views/scheduling/types.d.ts +22 -5
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-d_nHyK5u.js → useAppStore-BoLkvkE2.js} +1 -1
- package/dist/{useLoading-JFoghhRz.js → useLoading-Ch1AUYT1.js} +1 -1
- package/dist/{useReportPermissions-CV0b4SBk.js → useReportPermissions-DM3GOFCC.js} +3 -3
- package/package.json +1 -1
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CV0DRK1L.js +0 -470
- package/dist/ScheduleGeneralPage-DMMqTMQs.js +0 -666
- package/dist/SchedulePage-3MWnazgL.js +0 -18251
- package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +0 -22
- package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +0 -14
- package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +0 -77
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +0 -124
- package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +0 -23
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as M, ref as A, onMounted as x, computed as z, createElementBlock as
|
|
1
|
+
import { defineComponent as M, ref as A, onMounted as x, computed as z, createElementBlock as l, openBlock as a, 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 b, 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-Lh0cqgHy.js";
|
|
5
|
+
import { as as L, at as O, aa as R, ao as u, ap as K } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-V1sZ_xhO.js";
|
|
6
|
+
import { u as T, a as U, _ as W } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cx9jFgBS.js";
|
|
7
7
|
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const q = { class: "main" }, H = {
|
|
9
9
|
id: "viewPositions",
|
|
@@ -17,7 +17,7 @@ const q = { class: "main" }, H = {
|
|
|
17
17
|
}, ne = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "cfg-row"
|
|
20
|
-
}, ie = { class: "cfg-main" },
|
|
20
|
+
}, ie = { class: "cfg-main" }, le = ["onClick"], ae = { class: "cfg-main" }, de = { class: "cfg-name" }, re = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "cfg-confirm"
|
|
23
23
|
}, ue = { class: "q" }, ce = /* @__PURE__ */ M({
|
|
@@ -38,7 +38,7 @@ const q = { class: "main" }, H = {
|
|
|
38
38
|
function N() {
|
|
39
39
|
_.push({ name: I.SCHEDULE });
|
|
40
40
|
}
|
|
41
|
-
return (f, e) => (
|
|
41
|
+
return (f, e) => (a(), l("div", {
|
|
42
42
|
ref_key: "rootEl",
|
|
43
43
|
ref: y,
|
|
44
44
|
class: "sch"
|
|
@@ -112,12 +112,12 @@ const q = { class: "main" }, H = {
|
|
|
112
112
|
class: h(["ce-err", { show: s(t).error.value }])
|
|
113
113
|
}, c(s(t).error.value), 3),
|
|
114
114
|
o("div", se, [
|
|
115
|
-
!s(t).positions.value.length && !s(t).isAdding.value ? (
|
|
115
|
+
!s(t).positions.value.length && !s(t).isAdding.value ? (a(), l("div", te, [...e[14] || (e[14] = [
|
|
116
116
|
r(" No positions yet.", -1),
|
|
117
117
|
o("br", null, null, -1),
|
|
118
118
|
r(" Add one and it becomes assignable on every employee. ", -1)
|
|
119
|
-
])])) : (
|
|
120
|
-
s(t).isAdding.value ? (
|
|
119
|
+
])])) : (a(), l("div", oe, [
|
|
120
|
+
s(t).isAdding.value ? (a(), l("div", ne, [
|
|
121
121
|
o("div", ie, [
|
|
122
122
|
S(o("input", {
|
|
123
123
|
"onUpdate:modelValue": e[1] || (e[1] = (n) => s(t).newName.value = n),
|
|
@@ -160,16 +160,16 @@ const q = { class: "main" }, H = {
|
|
|
160
160
|
_: 1
|
|
161
161
|
}, 8, ["disabled"])
|
|
162
162
|
])) : E("", !0),
|
|
163
|
-
(
|
|
163
|
+
(a(!0), l(C, null, V(s(t).positions.value, (n) => (a(), l("div", {
|
|
164
164
|
key: n.id,
|
|
165
165
|
class: h(["cfg-row", { "is-clickable": s(t).pendingDeleteId.value !== n.id }]),
|
|
166
166
|
onClick: (p) => s(t).pendingDeleteId.value !== n.id && s(m).openEdit(n.id, n.name)
|
|
167
167
|
}, [
|
|
168
|
-
o("div",
|
|
168
|
+
o("div", ae, [
|
|
169
169
|
o("div", de, c(n.name), 1)
|
|
170
170
|
]),
|
|
171
|
-
s(t).pendingDeleteId.value === n.id ? (
|
|
172
|
-
o("span", ue, c(s(t).usageCountFor(n.
|
|
171
|
+
s(t).pendingDeleteId.value === n.id ? (a(), l("div", re, [
|
|
172
|
+
o("span", ue, c(s(t).usageCountFor(n.id) ? `Remove from ${s(t).usageCountFor(n.id)} staff?` : "Delete?"), 1),
|
|
173
173
|
i(u, {
|
|
174
174
|
hierarchy: "danger",
|
|
175
175
|
size: "sm",
|
|
@@ -196,10 +196,10 @@ const q = { class: "main" }, H = {
|
|
|
196
196
|
])]),
|
|
197
197
|
_: 1
|
|
198
198
|
}, 8, ["disabled"])
|
|
199
|
-
])) : (
|
|
199
|
+
])) : (a(), l(C, { key: 1 }, [
|
|
200
200
|
o("span", {
|
|
201
|
-
class: h(["cfg-used", { none: !s(t).usageCountFor(n.
|
|
202
|
-
}, c(s(t).usageCountFor(n.
|
|
201
|
+
class: h(["cfg-used", { none: !s(t).usageCountFor(n.id) }])
|
|
202
|
+
}, c(s(t).usageCountFor(n.id) ? `${s(t).usageCountFor(n.id)} staff` : "unused"), 3),
|
|
203
203
|
i(u, {
|
|
204
204
|
hierarchy: "secondary",
|
|
205
205
|
size: "sm",
|
|
@@ -247,7 +247,7 @@ const q = { class: "main" }, H = {
|
|
|
247
247
|
_: 1
|
|
248
248
|
}, 8, ["aria-label", "onClick"])
|
|
249
249
|
], 64))
|
|
250
|
-
], 10,
|
|
250
|
+
], 10, le))), 128))
|
|
251
251
|
]))
|
|
252
252
|
])
|
|
253
253
|
])
|
|
@@ -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
|
-
}), be = /* @__PURE__ */ j(ce, [["__scopeId", "data-v-
|
|
261
|
+
}), be = /* @__PURE__ */ j(ce, [["__scopeId", "data-v-6c156586"]]);
|
|
262
262
|
export {
|
|
263
263
|
be 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-Lh0cqgHy.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
|
-
import { u as He } from "./useLoading-
|
|
10
|
+
import { u as He } from "./useLoading-Ch1AUYT1.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-
|
|
16
|
-
import { u as ls, i as $s } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-
|
|
17
|
-
import "./useAppStore-
|
|
18
|
-
import { g as ze, b as We, u as os } from "./restaurant-
|
|
19
|
-
import { _ as Ms } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { l as Pe } from "./lodash-CIAEpr9s.js";
|
|
13
|
+
import { c as he } from "./iteration-jvdTHQUx.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-DmxI7qEY.js";
|
|
15
|
+
import { u as as } from "./role-Dd1TUMhn.js";
|
|
16
|
+
import { u as ls, i as $s } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-BVz6q3HE.js";
|
|
17
|
+
import "./useAppStore-BoLkvkE2.js";
|
|
18
|
+
import { g as ze, b as We, u as os } from "./restaurant-BbYRA_IT.js";
|
|
19
|
+
import { _ as Ms } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DoK944l0.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-joq4stsa.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-Lh0cqgHy.js";
|
|
7
7
|
import { _ as Ve } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
8
|
-
import { u as ke } from "./useLoading-
|
|
9
|
-
import { g as Ce, s as Fe } from "./iteration-
|
|
8
|
+
import { u as ke } from "./useLoading-Ch1AUYT1.js";
|
|
9
|
+
import { g as Ce, s as Fe } from "./iteration-jvdTHQUx.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-
|
|
13
|
-
import { u as Te } from "./restaurant-
|
|
14
|
-
import { u as Ie } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-
|
|
12
|
+
import { u as Me } from "./employee-BPmp9c6i.js";
|
|
13
|
+
import { u as Te } from "./restaurant-BbYRA_IT.js";
|
|
14
|
+
import { u as Ie } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BGD6m5M-.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-joq4stsa.js";
|
|
2
2
|
import { defineStore as p, storeToRefs as T } from "pinia";
|
|
3
3
|
import { ref as l } from "vue";
|
|
4
|
-
import { b as c, g as y } from "./restaurant-
|
|
5
|
-
import { s as S } from "./iteration-
|
|
4
|
+
import { b as c, g as y } from "./restaurant-BbYRA_IT.js";
|
|
5
|
+
import { s as S } from "./iteration-jvdTHQUx.js";
|
|
6
6
|
import { i as f, f as g } from "./utils-BZkjJbju.js";
|
|
7
7
|
const u = {
|
|
8
8
|
async readTimesheets(t, e) {
|
|
@@ -6100,9 +6100,9 @@ const On = {
|
|
|
6100
6100
|
demandAndShifts: "Demand + employee shifts",
|
|
6101
6101
|
demandOnly: "Demand only",
|
|
6102
6102
|
clear: "Clear",
|
|
6103
|
-
clearShiftsAndDemand: "
|
|
6104
|
-
clearShifts: "
|
|
6105
|
-
clearDemand: "
|
|
6103
|
+
clearShiftsAndDemand: "Shifts & demand",
|
|
6104
|
+
clearShifts: "Shifts",
|
|
6105
|
+
clearDemand: "Demand",
|
|
6106
6106
|
pdfDescription: "A4 landscape. Preview, then save",
|
|
6107
6107
|
imageDescription: "One picture of the schedule. Send it to the team",
|
|
6108
6108
|
exportSchedule: "Export schedule",
|
|
@@ -6274,9 +6274,9 @@ const On = {
|
|
|
6274
6274
|
demandAndShifts: "Demand + employee shifts",
|
|
6275
6275
|
demandOnly: "Demand only",
|
|
6276
6276
|
clear: "Clear",
|
|
6277
|
-
clearShiftsAndDemand: "
|
|
6278
|
-
clearShifts: "
|
|
6279
|
-
clearDemand: "
|
|
6277
|
+
clearShiftsAndDemand: "Shifts & demand",
|
|
6278
|
+
clearShifts: "Shifts",
|
|
6279
|
+
clearDemand: "Demand",
|
|
6280
6280
|
pdfDescription: "A4 landscape. Preview, then save",
|
|
6281
6281
|
imageDescription: "One picture of the schedule. Send it to the team",
|
|
6282
6282
|
exportSchedule: "Export schedule",
|
|
@@ -6448,9 +6448,9 @@ const On = {
|
|
|
6448
6448
|
demandAndShifts: "Demand + employee shifts",
|
|
6449
6449
|
demandOnly: "Demand only",
|
|
6450
6450
|
clear: "Clear",
|
|
6451
|
-
clearShiftsAndDemand: "
|
|
6452
|
-
clearShifts: "
|
|
6453
|
-
clearDemand: "
|
|
6451
|
+
clearShiftsAndDemand: "Shifts & demand",
|
|
6452
|
+
clearShifts: "Shifts",
|
|
6453
|
+
clearDemand: "Demand",
|
|
6454
6454
|
pdfDescription: "A4 landscape. Preview, then save",
|
|
6455
6455
|
imageDescription: "One picture of the schedule. Send it to the team",
|
|
6456
6456
|
exportSchedule: "Export schedule",
|
|
@@ -6622,9 +6622,9 @@ const On = {
|
|
|
6622
6622
|
demandAndShifts: "Demand + employee shifts",
|
|
6623
6623
|
demandOnly: "Demand only",
|
|
6624
6624
|
clear: "Clear",
|
|
6625
|
-
clearShiftsAndDemand: "
|
|
6626
|
-
clearShifts: "
|
|
6627
|
-
clearDemand: "
|
|
6625
|
+
clearShiftsAndDemand: "Shifts & demand",
|
|
6626
|
+
clearShifts: "Shifts",
|
|
6627
|
+
clearDemand: "Demand",
|
|
6628
6628
|
pdfDescription: "A4 landscape. Preview, then save",
|
|
6629
6629
|
imageDescription: "One picture of the schedule. Send it to the team",
|
|
6630
6630
|
exportSchedule: "Export schedule",
|
|
@@ -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-DSr9KbjT.js"))), Ec = ot(pe(() => import("./Main-5TsFTFpc.js"))), Pc = ot(
|
|
9837
|
+
pe(() => import("./AuditLogList-Dgwj1gz8.js"))
|
|
9838
|
+
), Oc = ot(pe(() => import("./Main-Cjo4FMZZ.js"))), Gc = pe(() => import("./ApprovalCodeList-BDpxEJpC.js")), Yc = pe(() => import("./GrantUserList-zul0_Dlm.js")), Vc = pe(() => import("./EmployeeList-C8cbVcmY.js")), Fc = pe(() => import("./RoleList-DEbOPQD_.js")), Sc = pe(() => import("./TimesheetList-B7HAC5zS.js")), kc = pe(() => import("./TeamMemberList-DpCGqHCk.js")), Rc = pe(
|
|
9839
|
+
() => import("./PermissionSetList-CDhiiu37.js")
|
|
9840
9840
|
), Hc = Ws(
|
|
9841
|
-
ot(pe(() => import("./SchedulePage-
|
|
9841
|
+
ot(pe(() => import("./SchedulePage-ndLByVBl.js")))
|
|
9842
9842
|
), Ic = Ws(
|
|
9843
|
-
ot(pe(() => import("./SchedulePositionPage-
|
|
9843
|
+
ot(pe(() => import("./SchedulePositionPage-Cuv4ydOK.js")))
|
|
9844
9844
|
), Tc = Ws(
|
|
9845
|
-
ot(pe(() => import("./ScheduleGeneralPage-
|
|
9845
|
+
ot(pe(() => import("./ScheduleGeneralPage-B8PWNsc2.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.9", 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,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 "./restaurant-
|
|
3
|
+
import { g as p, b as s } from "./restaurant-BbYRA_IT.js";
|
|
4
4
|
const n = {
|
|
5
5
|
async getApprovalCodes() {
|
|
6
6
|
return p(await s("approval-codes").get(""));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as g } from "./dayjs.min-
|
|
1
|
+
import { d as g } from "./dayjs.min-joq4stsa.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-
|
|
5
|
-
import { b as l, g as f, u as I } from "./restaurant-
|
|
4
|
+
import { s as E } from "./iteration-jvdTHQUx.js";
|
|
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-
|
|
7
|
+
import { u as P } from "./role-Dd1TUMhn.js";
|
|
8
8
|
const o = {
|
|
9
9
|
async readEmployees() {
|
|
10
10
|
return f(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, a as v, b as o } from "./restaurant-
|
|
3
|
+
import { g as s, a as v, b as o } from "./restaurant-BbYRA_IT.js";
|
|
4
4
|
const c = {
|
|
5
5
|
async getGrantUsers() {
|
|
6
6
|
return s(await o("grant").get(""));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as B } from "./app-
|
|
1
|
+
import { f as B } from "./app-Lh0cqgHy.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;
|
|
@@ -1830,9 +1830,10 @@ const nr = {
|
|
|
1830
1830
|
return tr(await Ve().get("/hr-restaurants"));
|
|
1831
1831
|
},
|
|
1832
1832
|
async saveOperationalHours(e, t) {
|
|
1833
|
-
await Ve(
|
|
1834
|
-
|
|
1835
|
-
|
|
1833
|
+
await Ve(`restaurants/${e}/schedules`).patch(
|
|
1834
|
+
"operational-hours",
|
|
1835
|
+
{ operatingHours: t }
|
|
1836
|
+
);
|
|
1836
1837
|
}
|
|
1837
1838
|
}, rr = gt("restaurant", () => {
|
|
1838
1839
|
const { currentBusiness: e } = re(), t = fe([]), n = fe(!1), r = fe(null);
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { g as f, b as p, u as I } from "./restaurant-
|
|
4
|
+
import { s as v } from "./iteration-jvdTHQUx.js";
|
|
5
|
+
import { g as f, b as p, u as I } from "./restaurant-BbYRA_IT.js";
|
|
6
6
|
const R = {
|
|
7
7
|
async readRoles() {
|
|
8
8
|
return f(await p().get("/pos-roles"));
|
|
@@ -1,7 +1,7 @@
|
|
|
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-jvdTHQUx.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-Lh0cqgHy.js";
|
|
3
3
|
import { s as se } from "./utils-BZkjJbju.js";
|
|
4
|
-
import { g, b as v, q as x, u as te } from "./restaurant-
|
|
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";
|
|
6
6
|
import { ref as S, computed as T } from "vue";
|
|
7
7
|
import { useCoreStore as X } from "@feedmepos/mf-common";
|
|
@@ -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, FdtoScheduleValidatePosAccessReq, 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[]>;
|
|
@@ -17,6 +17,7 @@ declare const ScheduleAPI: {
|
|
|
17
17
|
createEmployeeProfile(_restaurantId: string, req: FdtoScheduleCreateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
|
|
18
18
|
/** Edits the employee's shared business-level scheduling profile. */
|
|
19
19
|
updateEmployeeProfile(_restaurantId: string, employeeId: string, req: FdtoScheduleUpdateEmployeeProfileReq): Promise<FdtoScheduleEmployee>;
|
|
20
|
+
validatePosAccess(req: FdtoScheduleValidatePosAccessReq): Promise<void>;
|
|
20
21
|
/** Positions are shared across the business. */
|
|
21
22
|
createPosition(req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
|
|
22
23
|
updatePosition(id: string, req: FdtoScheduleSavePositionReq): Promise<FdtoSchedulePosition>;
|
|
@@ -34,6 +35,8 @@ declare const ScheduleAPI: {
|
|
|
34
35
|
}>;
|
|
35
36
|
/** Atomically replaces one date/weekday's flattened demand rows. */
|
|
36
37
|
replaceDemands(restaurantId: string, req: FdtoScheduleReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
|
|
38
|
+
/** Atomically replaces several date/weekday demand generations. */
|
|
39
|
+
bulkReplaceDemands(restaurantId: string, req: FdtoScheduleBulkReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
|
|
37
40
|
/** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
|
|
38
41
|
saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
|
|
39
42
|
/** A one-off shift assignment. */
|
|
@@ -5,12 +5,11 @@
|
|
|
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';
|
|
9
|
-
/** UI-level replacement command. The store expands these periods into flat
|
|
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, FdtoScheduleValidatePosAccessReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
|
|
9
|
+
/** UI-level date replacement command. The store expands these periods into flat
|
|
10
10
|
* ShiftDemand rows before calling the shared HTTP contract. */
|
|
11
11
|
export interface ScheduleReplaceDemandReq {
|
|
12
|
-
date
|
|
13
|
-
dayOfWeek?: number;
|
|
12
|
+
date: string;
|
|
14
13
|
periods: Array<{
|
|
15
14
|
startTime: string;
|
|
16
15
|
endTime: string;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
2
|
import type { ScheduleAreaBoardApi } from '../composables/useScheduleAreaBoard';
|
|
3
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
4
3
|
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
5
4
|
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
6
5
|
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
7
6
|
type __VLS_Props = {
|
|
8
7
|
board: ScheduleBoardApi;
|
|
9
8
|
areaBoard: ScheduleAreaBoardApi;
|
|
10
|
-
openShiftCard: ScheduleOpenShiftCardApi;
|
|
11
9
|
dragDrop: ScheduleAreaDragDropApi;
|
|
12
10
|
/** A card's own drag — dropping it on another card offers a swap, dropping it on empty cell
|
|
13
11
|
* space moves it to that day, the same two gestures the employee view's grid has. Distinct
|
|
@@ -17,27 +15,21 @@ type __VLS_Props = {
|
|
|
17
15
|
};
|
|
18
16
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
17
|
editShift: (empId: number, dayIdx: number) => any;
|
|
20
|
-
openAssign: (openId: number) => any;
|
|
21
|
-
openOpenShiftMenu: (openId: number, anchor: HTMLElement) => any;
|
|
22
18
|
segEnter: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
23
19
|
segLeave: () => any;
|
|
24
20
|
segClick: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
25
21
|
segFocus: (dayIdx: number, from: number, to: number, anchor: HTMLElement) => any;
|
|
26
22
|
openDemandSheet: (dayIdx: number) => any;
|
|
27
|
-
openNewShift: (dayIdx: number, position: string) => any;
|
|
28
23
|
addPosition: () => any;
|
|
29
24
|
scheduleByPerson: () => any;
|
|
30
25
|
openSwap: (fromEmpId: number, fromDayIdx: number, toEmpId: number, toDayIdx: number, slotIndex: number) => any;
|
|
31
26
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
27
|
onEditShift?: ((empId: number, dayIdx: number) => any) | undefined;
|
|
33
|
-
onOpenAssign?: ((openId: number) => any) | undefined;
|
|
34
|
-
onOpenOpenShiftMenu?: ((openId: number, anchor: HTMLElement) => any) | undefined;
|
|
35
28
|
onSegEnter?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
36
29
|
onSegLeave?: (() => any) | undefined;
|
|
37
30
|
onSegClick?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
38
31
|
onSegFocus?: ((dayIdx: number, from: number, to: number, anchor: HTMLElement) => any) | undefined;
|
|
39
32
|
onOpenDemandSheet?: ((dayIdx: number) => any) | undefined;
|
|
40
|
-
onOpenNewShift?: ((dayIdx: number, position: string) => any) | undefined;
|
|
41
33
|
onAddPosition?: (() => any) | undefined;
|
|
42
34
|
onScheduleByPerson?: (() => any) | undefined;
|
|
43
35
|
onOpenSwap?: ((fromEmpId: number, fromDayIdx: number, toEmpId: number, toDayIdx: number, slotIndex: number) => any) | undefined;
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
2
|
import type { ScheduleAreaBoardApi } from '../composables/useScheduleAreaBoard';
|
|
3
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
4
3
|
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
5
4
|
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
6
5
|
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
7
6
|
type __VLS_Props = {
|
|
8
7
|
board: ScheduleBoardApi;
|
|
9
8
|
areaBoard: ScheduleAreaBoardApi;
|
|
10
|
-
openShiftCard: ScheduleOpenShiftCardApi;
|
|
11
9
|
dragDrop: ScheduleAreaDragDropApi;
|
|
12
10
|
shiftDragDrop: ScheduleDragDropApi;
|
|
13
11
|
demandRow: ScheduleDemandRowApi;
|
|
14
12
|
onEditShift: (...args: any[]) => void;
|
|
15
|
-
onOpenAssign: (...args: any[]) => void;
|
|
16
|
-
onOpenNewShift: (...args: any[]) => void;
|
|
17
|
-
onOpenOpenShiftMenu: (...args: any[]) => void;
|
|
18
13
|
onOpenDemandSheet: (...args: any[]) => void;
|
|
19
14
|
onSegEnter: (...args: any[]) => void;
|
|
20
15
|
onSegLeave: (...args: any[]) => void;
|
|
@@ -2,7 +2,6 @@ import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
|
2
2
|
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
3
3
|
import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
4
4
|
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
5
|
-
import type { ScheduleAssignApi } from '../composables/useScheduleAssign';
|
|
6
5
|
import type { ScheduleLeaveApi } from '../composables/useScheduleLeave';
|
|
7
6
|
import type { ScheduleClashDetectionApi } from '../composables/useScheduleClashDetection';
|
|
8
7
|
type __VLS_Props = {
|
|
@@ -10,7 +9,6 @@ type __VLS_Props = {
|
|
|
10
9
|
popover: ScheduleShiftPopoverApi;
|
|
11
10
|
timePicker: ScheduleTimePickerApi;
|
|
12
11
|
shiftActions: ScheduleShiftActionsApi;
|
|
13
|
-
assign: ScheduleAssignApi;
|
|
14
12
|
leave: ScheduleLeaveApi;
|
|
15
13
|
clash: ScheduleClashDetectionApi;
|
|
16
14
|
onNewPosition: (assign: (name: string) => void) => void;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
2
|
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
3
3
|
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
4
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
5
|
-
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
6
4
|
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
7
5
|
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
8
6
|
type __VLS_Props = {
|
|
9
7
|
board: ScheduleBoardApi;
|
|
10
8
|
dragDrop: ScheduleDragDropApi;
|
|
11
9
|
roster: ScheduleRosterApi;
|
|
12
|
-
openShiftCard: ScheduleOpenShiftCardApi;
|
|
13
|
-
allShiftsRow: ScheduleAllShiftsRowApi;
|
|
14
10
|
demandRow: ScheduleDemandRowApi;
|
|
15
11
|
autoSchedule: ScheduleAutoScheduleApi;
|
|
16
12
|
onAddShift: (...args: any[]) => void;
|
|
@@ -23,11 +19,8 @@ type __VLS_Props = {
|
|
|
23
19
|
onDropCell: (...args: any[]) => void;
|
|
24
20
|
onProposalDragStart: (...args: any[]) => void;
|
|
25
21
|
onProposalDragEnd: () => void;
|
|
26
|
-
onOpenAssign: (...args: any[]) => void;
|
|
27
|
-
onOpenOpenShiftMenu: (...args: any[]) => void;
|
|
28
22
|
onToggleProposal: (...args: any[]) => void;
|
|
29
23
|
onAddEmployee: () => void;
|
|
30
|
-
onAddOpenShift: (...args: any[]) => void;
|
|
31
24
|
onOpenDemandSheet: (...args: any[]) => void;
|
|
32
25
|
onSegEnter: (...args: any[]) => void;
|
|
33
26
|
onSegLeave: () => void;
|
|
@@ -7,9 +7,6 @@ import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftAct
|
|
|
7
7
|
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
8
8
|
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
9
9
|
import type { ScheduleDemandSheetApi } from '../composables/useScheduleDemandSheet';
|
|
10
|
-
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
11
|
-
import type { ScheduleAssignApi } from '../composables/useScheduleAssign';
|
|
12
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
13
10
|
type ScheduleEmployeeProfileApi = ReturnType<typeof useScheduleEmployeeProfile>;
|
|
14
11
|
type __VLS_Props = {
|
|
15
12
|
board: ScheduleBoardApi;
|
|
@@ -21,9 +18,6 @@ type __VLS_Props = {
|
|
|
21
18
|
popover: ScheduleShiftPopoverApi;
|
|
22
19
|
autoSchedule: ScheduleAutoScheduleApi;
|
|
23
20
|
demandSheet: ScheduleDemandSheetApi;
|
|
24
|
-
allShiftsRow: ScheduleAllShiftsRowApi;
|
|
25
|
-
assign: ScheduleAssignApi;
|
|
26
|
-
openShiftCard: ScheduleOpenShiftCardApi;
|
|
27
21
|
removeEmployeeOpen: boolean;
|
|
28
22
|
removeEmployeeName: string;
|
|
29
23
|
onEditEmployee: () => void;
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
2
|
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
3
|
-
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
4
3
|
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
5
4
|
import type { ScheduleEmployeeMenuApi } from '../composables/useScheduleEmployeeMenu';
|
|
6
5
|
type __VLS_Props = {
|
|
7
|
-
kind: 'shift' | '
|
|
6
|
+
kind: 'shift' | 'employee';
|
|
8
7
|
board?: ScheduleBoardApi;
|
|
9
8
|
actions?: ScheduleShiftActionsApi;
|
|
10
|
-
openShiftMenu?: ScheduleOpenShiftCardApi;
|
|
11
9
|
popover?: ScheduleShiftPopoverApi;
|
|
12
10
|
employeeMenu?: ScheduleEmployeeMenuApi;
|
|
13
11
|
};
|
|
14
12
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
13
|
editShift: (empId: number, dayIdx: number, slotIndex: number) => any;
|
|
16
|
-
assign: (openId: number) => any;
|
|
17
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
15
|
onEditShift?: ((empId: number, dayIdx: number, slotIndex: number) => any) | undefined;
|
|
19
|
-
onAssign?: ((openId: number) => any) | undefined;
|
|
20
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
17
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
3
|
+
wizard: ScheduleOnboardingWizardApi;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -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;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
export interface ScheduleSelectOption {
|
|
6
6
|
value: string;
|
|
7
7
|
label: string;
|
|
8
|
+
/** Stable identity used when two options can share the same display value. */
|
|
9
|
+
id?: string;
|
|
8
10
|
disabled?: boolean;
|
|
9
11
|
group?: string;
|
|
10
12
|
/** Second line under the label. Any option carrying one switches the menu to the rich
|
|
@@ -22,8 +24,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
24
|
* close the menu and emit `update:modelValue`. */
|
|
23
25
|
multiple?: boolean;
|
|
24
26
|
selected?: string[];
|
|
27
|
+
/** Stable selected identity for single-select menus whose labels may be duplicated. */
|
|
28
|
+
selectedId?: string;
|
|
25
29
|
/** Closed-control text while a multi-select has nothing picked. */
|
|
26
30
|
placeholder?: string;
|
|
31
|
+
/** Optional closed-control text for a selected value that is not available in the menu. */
|
|
32
|
+
selectedLabel?: string;
|
|
27
33
|
disabled?: boolean;
|
|
28
34
|
/** Heading over the menu. Also switches to the rich layout. */
|
|
29
35
|
menuTitle?: string;
|
|
@@ -42,8 +48,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
48
|
* close the menu and emit `update:modelValue`. */
|
|
43
49
|
multiple?: boolean;
|
|
44
50
|
selected?: string[];
|
|
51
|
+
/** Stable selected identity for single-select menus whose labels may be duplicated. */
|
|
52
|
+
selectedId?: string;
|
|
45
53
|
/** Closed-control text while a multi-select has nothing picked. */
|
|
46
54
|
placeholder?: string;
|
|
55
|
+
/** Optional closed-control text for a selected value that is not available in the menu. */
|
|
56
|
+
selectedLabel?: string;
|
|
47
57
|
disabled?: boolean;
|
|
48
58
|
/** Heading over the menu. Also switches to the rich layout. */
|
|
49
59
|
menuTitle?: string;
|