@feedmepos/mf-hrm-portal 2.3.0-dev → 2.3.0-dev.2
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-cG0zmQVJ.js → ApprovalCodeList-CJaNPHZC.js} +2 -2
- package/dist/{AuditLogList-BTifJhO1.js → AuditLogList-CHA98ZqW.js} +3 -3
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-qr5TwLTK.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C7rvthEI.js} +2 -2
- package/dist/{EmployeeList-DzcMtxJ3.js → EmployeeList-CVmMKt71.js} +4 -4
- package/dist/{GrantUserList-D5b7tJ8Y.js → GrantUserList-MYjgt5-F.js} +3 -3
- package/dist/{Main-DkLBemi7.js → Main-BgB9lD4K.js} +9 -9
- package/dist/{Main-DFwdAWqn.js → Main-C0cnqQ3B.js} +5 -5
- package/dist/{Main-B2r59IOW.js → Main-hlcHtrsc.js} +2 -2
- package/dist/{PermissionSetList-B80hrfMW.js → PermissionSetList-5f1WIaVa.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DjNcJQM9.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CFoTAGIX.js} +823 -823
- package/dist/{RoleList-DHO4JRKF.js → RoleList-DNR4miXr.js} +7 -7
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B4VUyKW3.js +470 -0
- package/dist/{ScheduleGeneralPage-WlBM8bxV.js → ScheduleGeneralPage-Cd5AlY4z.js} +273 -236
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-Cf0l2MRg.js +2188 -0
- package/dist/SchedulePage-C8m0-m3l.js +18257 -0
- package/dist/{SchedulePositionPage-C0hrO11d.js → SchedulePositionPage-DyRckyUx.js} +67 -66
- package/dist/{TeamMemberList-CgFWLRBM.js → TeamMemberList-mw5OveZG.js} +6 -6
- package/dist/{TimesheetList-Dp40G-0I.js → TimesheetList-BzXarZbM.js} +5 -5
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BFjrMhUG.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Dq5i4poN.js} +2 -2
- package/dist/{app-CmBSTvaI.js → app-DSsdRLHg.js} +657 -577
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CfL2DQ3d.js → dayjs.min-B6xBXQtU.js} +1 -1
- package/dist/{employee-DQcHjoij.js → employee-hMhzuqk1.js} +28 -27
- package/dist/{iteration-BlavheWG.js → iteration-B34AvpNC.js} +1 -1
- package/dist/{lodash-QerqayrJ.js → lodash-1Vyuy7Mu.js} +1 -1
- package/dist/{role-RM2YLO7n.js → role-DKOrgO6f.js} +1 -1
- package/dist/{rule-DjlvYIuP.js → rule-CBzQ3GeV.js} +2 -2
- package/dist/src/api/schedule/index.d.ts +5 -1
- package/dist/src/components/layout/withScheduleShell.d.ts +10 -0
- package/dist/src/types/employee.d.ts +1 -0
- package/dist/src/types/schedule.d.ts +1 -1
- package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +28 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +19 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +38 -0
- package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +24 -0
- package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +38 -0
- package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +39 -0
- package/dist/src/views/scheduling/components/ScheduleBoardUtilityOverlays.vue.d.ts +22 -0
- package/dist/src/views/scheduling/components/{ScheduleOnboardingComplete.vue.d.ts → ScheduleCompletionDialog.vue.d.ts} +8 -3
- package/dist/src/views/scheduling/components/{ScheduleOpenShiftCardMenu.vue.d.ts → ScheduleContextMenu.vue.d.ts} +10 -3
- package/dist/src/views/scheduling/components/{SchedulePdfPreview.vue.d.ts → ScheduleExportPreview.vue.d.ts} +1 -0
- package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +26 -0
- package/dist/src/views/scheduling/components/{ScheduleTourAllSet.vue.d.ts → ScheduleOnboardingClosedDayConfirm.vue.d.ts} +2 -2
- package/dist/src/views/scheduling/components/{ScheduleEmployeeMenu.vue.d.ts → ScheduleOnboardingDemandDays.vue.d.ts} +2 -2
- package/dist/src/views/scheduling/components/{ScheduleExportDoneDialog.vue.d.ts → ScheduleOnboardingDemandFooter.vue.d.ts} +2 -2
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandHeader.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingHoursProfileNotice.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingPositions.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingReview.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizardFooter.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizardHeader.vue.d.ts +11 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +7 -1
- package/dist/src/views/scheduling/components/ScheduleSetupBanner.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +2 -2
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +4 -4
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +2 -2
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +3 -3
- package/dist/src/views/scheduling/composables/onboarding-types.d.ts +1 -1
- package/dist/src/views/scheduling/composables/remyPrompt.d.ts +13 -0
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +1 -1
- package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +7 -1
- package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +7 -0
- package/dist/src/views/scheduling/composables/schedule-cost.d.ts +19 -0
- package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +11 -0
- package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +14 -0
- package/dist/src/views/scheduling/composables/schedule-time.d.ts +8 -0
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +1 -4
- package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +10 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +14 -13
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +3 -1
- package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +18 -2
- package/dist/src/views/scheduling/composables/useScheduleCloneOutletModal.d.ts +3 -1
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +6 -1
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +4 -19
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +13 -2
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +26 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +7 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeForm.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +6 -3
- package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +19 -11
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +3 -6
- package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +58 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +45 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +187 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingHours.d.ts +15 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingNavigation.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +64 -487
- package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useSchedulePageCellActions.d.ts +21 -0
- package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +10 -3
- package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +19 -0
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +3 -1
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +3 -1
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +7 -1
- package/dist/src/views/scheduling/composables/useSchedulePublishPersistence.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +6 -0
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +2 -24
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +6 -1
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +62 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +10 -5
- package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +4 -1
- package/dist/src/views/scheduling/composables/useScheduleTour.d.ts +6 -4
- package/dist/src/views/scheduling/country-rules/index.d.ts +24 -0
- package/dist/src/views/scheduling/data.d.ts +11 -6
- package/dist/src/views/scheduling/locales/index.d.ts +80 -0
- package/dist/src/views/scheduling/schedule-constants.d.ts +7 -0
- package/dist/src/views/scheduling/schedule-state.d.ts +32 -8
- package/dist/src/views/scheduling/schedule-store.d.ts +4 -1
- package/dist/src/views/scheduling/types.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-Bl6Br79r.js → useReportPermissions-B2ev0j4w.js} +3 -3
- package/package.json +2 -1
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B-XtB64L.js +0 -452
- package/dist/SchedulePage-Nm0krGVU.js +0 -17056
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-DTDXir_7.js +0 -1150
- package/dist/src/components/layout/AppSidebar.vue.d.ts +0 -2
- package/dist/src/components/layout/withShell.d.ts +0 -14
- package/dist/src/views/scheduling/components/ScheduleShiftCardMenu.vue.d.ts +0 -12
- package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +0 -17
- package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +0 -10
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-B6xBXQtU.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-B34AvpNC.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
|
|
7
|
+
import { u as P } from "./role-DKOrgO6f.js";
|
|
8
8
|
const o = {
|
|
9
9
|
async readEmployees() {
|
|
10
10
|
return f(await l().get("/pos-users"));
|
|
@@ -18,7 +18,8 @@ const o = {
|
|
|
18
18
|
offset: e.offset,
|
|
19
19
|
search: e.search,
|
|
20
20
|
restaurantIds: (s = e.restaurantIds) != null && s.length ? e.restaurantIds : void 0,
|
|
21
|
-
roleIds: (p = e.roleIds) != null && p.length ? e.roleIds : void 0
|
|
21
|
+
roleIds: (p = e.roleIds) != null && p.length ? e.roleIds : void 0,
|
|
22
|
+
includeEmptyPasscode: e.includeEmptyPasscode || void 0
|
|
22
23
|
}
|
|
23
24
|
})
|
|
24
25
|
);
|
|
@@ -71,17 +72,17 @@ const o = {
|
|
|
71
72
|
}
|
|
72
73
|
};
|
|
73
74
|
async function T(e) {
|
|
74
|
-
const s =
|
|
75
|
+
const s = P().roles.value, { restaurants: p } = I(), d = new Map(
|
|
75
76
|
p.value.map((a) => [a._id, a.profile.name])
|
|
76
|
-
),
|
|
77
|
+
), c = new Map(s.map((a) => [a._id, a.name])), r = /* @__PURE__ */ new Map();
|
|
77
78
|
for (const a of e) {
|
|
78
79
|
const n = {
|
|
79
80
|
restaurantId: a.restaurantId,
|
|
80
|
-
restaurantName:
|
|
81
|
+
restaurantName: d.get(a.restaurantId) || "",
|
|
81
82
|
roleId: a.role,
|
|
82
|
-
roleName:
|
|
83
|
-
},
|
|
84
|
-
if (!
|
|
83
|
+
roleName: c.get(a.role) || ""
|
|
84
|
+
}, u = r.get(a._id);
|
|
85
|
+
if (!u) {
|
|
85
86
|
r.set(a._id, {
|
|
86
87
|
...a,
|
|
87
88
|
isRestricted: !1,
|
|
@@ -90,16 +91,16 @@ async function T(e) {
|
|
|
90
91
|
});
|
|
91
92
|
continue;
|
|
92
93
|
}
|
|
93
|
-
|
|
94
|
+
u.restaurants.some((y) => y.restaurantId === a.restaurantId) || (u.restaurants = E([...u.restaurants, n], {
|
|
94
95
|
selector: "restaurantName"
|
|
95
96
|
}));
|
|
96
97
|
}
|
|
97
98
|
return E([...r.values()], { selector: "name" });
|
|
98
99
|
}
|
|
99
100
|
function M(e) {
|
|
100
|
-
const { restaurants: s } = I(), p =
|
|
101
|
+
const { restaurants: s } = I(), p = P().roles.value, d = new Map(
|
|
101
102
|
s.value.map((a) => [a._id, a])
|
|
102
|
-
),
|
|
103
|
+
), c = new Map(p.map((a) => [a._id, a.name])), r = e.restaurantRole[0];
|
|
103
104
|
return {
|
|
104
105
|
_id: e._id,
|
|
105
106
|
name: e.name,
|
|
@@ -112,13 +113,13 @@ function M(e) {
|
|
|
112
113
|
since: g(v(e._id)).format("DD/MM/YYYY"),
|
|
113
114
|
restaurants: E(
|
|
114
115
|
e.restaurantRole.map((a) => {
|
|
115
|
-
const n =
|
|
116
|
+
const n = d.get(a.restaurantId);
|
|
116
117
|
return {
|
|
117
118
|
restaurantId: a.restaurantId,
|
|
118
119
|
restaurantName: (n == null ? void 0 : n.profile.name) || "",
|
|
119
120
|
restaurantCode: (n == null ? void 0 : n.profile.code) ?? void 0,
|
|
120
121
|
roleId: a.roleId,
|
|
121
|
-
roleName:
|
|
122
|
+
roleName: c.get(a.roleId) || ""
|
|
122
123
|
};
|
|
123
124
|
}),
|
|
124
125
|
{ selector: "restaurantName" }
|
|
@@ -126,23 +127,23 @@ function M(e) {
|
|
|
126
127
|
};
|
|
127
128
|
}
|
|
128
129
|
const h = $("employee", () => {
|
|
129
|
-
const e = I(), s = m([]), p = m([]),
|
|
130
|
+
const e = I(), s = m([]), p = m([]), d = m(0), c = m(!1);
|
|
130
131
|
async function r() {
|
|
131
132
|
try {
|
|
132
|
-
|
|
133
|
+
c.value = !0, await e.readRestaurants();
|
|
133
134
|
const t = await o.readEmployees();
|
|
134
135
|
s.value = await T(t);
|
|
135
136
|
} finally {
|
|
136
|
-
|
|
137
|
+
c.value = !1;
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
async function a(t) {
|
|
140
141
|
try {
|
|
141
|
-
|
|
142
|
+
c.value = !0, await e.readRestaurants();
|
|
142
143
|
const i = await o.readEmployeesPage(t);
|
|
143
|
-
p.value = i.items.map(M),
|
|
144
|
+
p.value = i.items.map(M), d.value = i.total;
|
|
144
145
|
} finally {
|
|
145
|
-
|
|
146
|
+
c.value = !1;
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
149
|
async function n(t, i) {
|
|
@@ -150,13 +151,13 @@ const h = $("employee", () => {
|
|
|
150
151
|
const w = i ?? (await o.readEmployeesPage({ ...t, limit: 1, offset: 0 })).total;
|
|
151
152
|
return w === 0 ? [] : (await o.readEmployeesPage({ ...t, limit: w, offset: 0 })).items.map(M);
|
|
152
153
|
}
|
|
153
|
-
async function
|
|
154
|
+
async function u(t) {
|
|
154
155
|
await o.createEmployee(t);
|
|
155
156
|
}
|
|
156
157
|
async function y(t, i) {
|
|
157
158
|
await o.updateEmployee(t, i);
|
|
158
159
|
}
|
|
159
|
-
async function
|
|
160
|
+
async function _(t) {
|
|
160
161
|
await o.deleteEmployee(t);
|
|
161
162
|
}
|
|
162
163
|
async function U(t) {
|
|
@@ -177,14 +178,14 @@ const h = $("employee", () => {
|
|
|
177
178
|
return {
|
|
178
179
|
employees: s,
|
|
179
180
|
listEmployees: p,
|
|
180
|
-
totalEmployees:
|
|
181
|
-
isLoading:
|
|
181
|
+
totalEmployees: d,
|
|
182
|
+
isLoading: c,
|
|
182
183
|
readEmployees: r,
|
|
183
184
|
readEmployeesPage: a,
|
|
184
185
|
readAllEmployeesPage: n,
|
|
185
|
-
createEmployee:
|
|
186
|
+
createEmployee: u,
|
|
186
187
|
updateEmployee: y,
|
|
187
|
-
deleteEmployee:
|
|
188
|
+
deleteEmployee: _,
|
|
188
189
|
createMasterEmployee: Y,
|
|
189
190
|
updateMasterEmployee: N,
|
|
190
191
|
deleteMasterEmployee: U,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as B } from "./app-
|
|
1
|
+
import { f as B } from "./app-DSsdRLHg.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-B34AvpNC.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-B34AvpNC.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-DSsdRLHg.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, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
|
|
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';
|
|
2
2
|
declare const ScheduleAPI: {
|
|
3
3
|
listEmployeeProfiles(employeeIds?: string[]): Promise<FdtoScheduleEmployee[]>;
|
|
4
4
|
listEmployeeConfigs(restaurantId: string): Promise<FdtoScheduleEmployeeConfig[]>;
|
|
@@ -32,11 +32,15 @@ declare const ScheduleAPI: {
|
|
|
32
32
|
ok: true;
|
|
33
33
|
deletedCount: number;
|
|
34
34
|
}>;
|
|
35
|
+
/** Atomically replaces one date/weekday's flattened demand rows. */
|
|
36
|
+
replaceDemands(restaurantId: string, req: FdtoScheduleReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
|
|
35
37
|
/** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
|
|
36
38
|
saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
|
|
37
39
|
/** A one-off shift assignment. */
|
|
38
40
|
createAssignment(restaurantId: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment>;
|
|
39
41
|
updateAssignment(restaurantId: string, id: string, req: FdtoScheduleSaveAssignmentReq): Promise<FdtoScheduleAssignment | null>;
|
|
42
|
+
/** Atomically applies assignment updates, creates, and deletes used by moves and swaps. */
|
|
43
|
+
bulkSaveAssignments(restaurantId: string, req: FdtoScheduleBulkSaveAssignmentsReq): Promise<FdtoScheduleBulkSaveAssignmentsResult>;
|
|
40
44
|
/** Deletes a batch of assignments in one request — e.g. a shift split into several segments
|
|
41
45
|
* getting replaced wholesale. Deleting one assignment is just this with a single-id
|
|
42
46
|
* array. */
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/** Wrap a scheduling route in the layout needed by the scheduling board's full-bleed CSS. */
|
|
3
|
+
export declare function withScheduleShell(Comp: Component): {
|
|
4
|
+
inheritAttrs: boolean;
|
|
5
|
+
setup(_: unknown, { attrs }: {
|
|
6
|
+
attrs: Record<string, unknown>;
|
|
7
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
};
|
|
@@ -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, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, 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, 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,28 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleAreaBoardApi } from '../composables/useScheduleAreaBoard';
|
|
3
|
+
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
4
|
+
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
5
|
+
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
6
|
+
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
board: ScheduleBoardApi;
|
|
9
|
+
areaBoard: ScheduleAreaBoardApi;
|
|
10
|
+
openShiftCard: ScheduleOpenShiftCardApi;
|
|
11
|
+
dragDrop: ScheduleAreaDragDropApi;
|
|
12
|
+
shiftDragDrop: ScheduleDragDropApi;
|
|
13
|
+
demandRow: ScheduleDemandRowApi;
|
|
14
|
+
onEditShift: (...args: any[]) => void;
|
|
15
|
+
onOpenAssign: (...args: any[]) => void;
|
|
16
|
+
onOpenNewShift: (...args: any[]) => void;
|
|
17
|
+
onOpenOpenShiftMenu: (...args: any[]) => void;
|
|
18
|
+
onOpenDemandSheet: (...args: any[]) => void;
|
|
19
|
+
onSegEnter: (...args: any[]) => void;
|
|
20
|
+
onSegLeave: (...args: any[]) => void;
|
|
21
|
+
onSegClick: (...args: any[]) => void;
|
|
22
|
+
onSegFocus: (...args: any[]) => void;
|
|
23
|
+
onAddPosition: (...args: any[]) => void;
|
|
24
|
+
onScheduleByPerson: (...args: any[]) => void;
|
|
25
|
+
onOpenSwap: (...args: any[]) => void;
|
|
26
|
+
};
|
|
27
|
+
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>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
3
|
+
import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
4
|
+
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
5
|
+
import type { ScheduleAssignApi } from '../composables/useScheduleAssign';
|
|
6
|
+
import type { ScheduleLeaveApi } from '../composables/useScheduleLeave';
|
|
7
|
+
import type { ScheduleClashDetectionApi } from '../composables/useScheduleClashDetection';
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
board: ScheduleBoardApi;
|
|
10
|
+
popover: ScheduleShiftPopoverApi;
|
|
11
|
+
timePicker: ScheduleTimePickerApi;
|
|
12
|
+
shiftActions: ScheduleShiftActionsApi;
|
|
13
|
+
assign: ScheduleAssignApi;
|
|
14
|
+
leave: ScheduleLeaveApi;
|
|
15
|
+
clash: ScheduleClashDetectionApi;
|
|
16
|
+
onNewPosition: (assign: (name: string) => void) => void;
|
|
17
|
+
};
|
|
18
|
+
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>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleDragDropApi } from '../composables/useScheduleDragDrop';
|
|
3
|
+
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
4
|
+
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
5
|
+
import type { ScheduleAllShiftsRowApi } from '../composables/useScheduleAllShiftsRow';
|
|
6
|
+
import type { ScheduleDemandRowApi } from '../composables/useScheduleDemandRow';
|
|
7
|
+
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
board: ScheduleBoardApi;
|
|
10
|
+
dragDrop: ScheduleDragDropApi;
|
|
11
|
+
roster: ScheduleRosterApi;
|
|
12
|
+
openShiftCard: ScheduleOpenShiftCardApi;
|
|
13
|
+
allShiftsRow: ScheduleAllShiftsRowApi;
|
|
14
|
+
demandRow: ScheduleDemandRowApi;
|
|
15
|
+
autoSchedule: ScheduleAutoScheduleApi;
|
|
16
|
+
onAddShift: (...args: any[]) => void;
|
|
17
|
+
onEditShift: (...args: any[]) => void;
|
|
18
|
+
onEditLeave: (...args: any[]) => void;
|
|
19
|
+
onOpenEmployee: (...args: any[]) => void;
|
|
20
|
+
onOpenEmployeeMenu: (...args: any[]) => void;
|
|
21
|
+
onDragShiftStart: (...args: any[]) => void;
|
|
22
|
+
onDragEnd: () => void;
|
|
23
|
+
onDropCell: (...args: any[]) => void;
|
|
24
|
+
onProposalDragStart: (...args: any[]) => void;
|
|
25
|
+
onProposalDragEnd: () => void;
|
|
26
|
+
onOpenAssign: (...args: any[]) => void;
|
|
27
|
+
onOpenOpenShiftMenu: (...args: any[]) => void;
|
|
28
|
+
onToggleProposal: (...args: any[]) => void;
|
|
29
|
+
onAddEmployee: () => void;
|
|
30
|
+
onAddOpenShift: (...args: any[]) => void;
|
|
31
|
+
onOpenDemandSheet: (...args: any[]) => void;
|
|
32
|
+
onSegEnter: (...args: any[]) => void;
|
|
33
|
+
onSegLeave: () => void;
|
|
34
|
+
onSegClick: (...args: any[]) => void;
|
|
35
|
+
onSegFocus: (...args: any[]) => void;
|
|
36
|
+
};
|
|
37
|
+
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>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { useScheduleLegend } from '../composables/useScheduleLegend';
|
|
3
|
+
import type { ScheduleCostRailApi } from '../composables/useScheduleCostRail';
|
|
4
|
+
import type { useScheduleStatsRow } from '../composables/useScheduleStatsRow';
|
|
5
|
+
import type { ScheduleDayTimelineApi } from '../composables/useScheduleDayTimeline';
|
|
6
|
+
import type { ScheduleRosterApi } from '../composables/useScheduleRoster';
|
|
7
|
+
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
8
|
+
type ScheduleLegendApi = ReturnType<typeof useScheduleLegend>;
|
|
9
|
+
type ScheduleStatsRowApi = ReturnType<typeof useScheduleStatsRow>;
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
board: ScheduleBoardApi;
|
|
12
|
+
legend: ScheduleLegendApi;
|
|
13
|
+
costRail: ScheduleCostRailApi;
|
|
14
|
+
stats: ScheduleStatsRowApi;
|
|
15
|
+
dayTimeline: ScheduleDayTimelineApi;
|
|
16
|
+
roster: ScheduleRosterApi;
|
|
17
|
+
areaDragDrop: ScheduleAreaDragDropApi;
|
|
18
|
+
mode: 'employee' | 'area';
|
|
19
|
+
onScroll: (delta: number) => void;
|
|
20
|
+
onComingSoon: () => void;
|
|
21
|
+
onOpenDayNote: (dayIdx: number, anchor: HTMLElement) => void;
|
|
22
|
+
};
|
|
23
|
+
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>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { useScheduleEmployeeProfile } from '../composables/useScheduleEmployeeProfile';
|
|
3
|
+
import type { ScheduleEmployeeMenuApi } from '../composables/useScheduleEmployeeMenu';
|
|
4
|
+
import type { ScheduleAddEmployeeApi } from '../composables/useScheduleAddEmployee';
|
|
5
|
+
import type { SchedulePositionModalApi } from '../composables/useSchedulePositionModal';
|
|
6
|
+
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
7
|
+
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
8
|
+
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
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
|
+
type ScheduleEmployeeProfileApi = ReturnType<typeof useScheduleEmployeeProfile>;
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
board: ScheduleBoardApi;
|
|
16
|
+
employeeProfile: ScheduleEmployeeProfileApi;
|
|
17
|
+
employeeMenu: ScheduleEmployeeMenuApi;
|
|
18
|
+
addEmployee: ScheduleAddEmployeeApi;
|
|
19
|
+
positionModal: SchedulePositionModalApi;
|
|
20
|
+
shiftActions: ScheduleShiftActionsApi;
|
|
21
|
+
popover: ScheduleShiftPopoverApi;
|
|
22
|
+
autoSchedule: ScheduleAutoScheduleApi;
|
|
23
|
+
demandSheet: ScheduleDemandSheetApi;
|
|
24
|
+
allShiftsRow: ScheduleAllShiftsRowApi;
|
|
25
|
+
assign: ScheduleAssignApi;
|
|
26
|
+
openShiftCard: ScheduleOpenShiftCardApi;
|
|
27
|
+
removeEmployeeOpen: boolean;
|
|
28
|
+
removeEmployeeName: string;
|
|
29
|
+
onEditEmployee: () => void;
|
|
30
|
+
onRemoveEmployee: () => void;
|
|
31
|
+
onConfirmRemoveEmployee: () => void;
|
|
32
|
+
onCloseRemoveEmployee: () => void;
|
|
33
|
+
onNewPosition: (target: 'primary' | 'secondary') => void;
|
|
34
|
+
onRemoveFromScheduling: (id: number | null) => void;
|
|
35
|
+
onEditShift: (empId: number, dayIdx: number, slotIndex?: number) => void;
|
|
36
|
+
};
|
|
37
|
+
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>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { useScheduleSetupBanner } from '../composables/useScheduleSetupBanner';
|
|
2
|
+
import type { useScheduleOnboardingFlow } from '../composables/useScheduleOnboardingFlow';
|
|
3
|
+
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
4
|
+
import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
5
|
+
import type { ScheduleTourApi } from '../composables/useScheduleTour';
|
|
6
|
+
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
7
|
+
type ScheduleSetupBannerApi = ReturnType<typeof useScheduleSetupBanner>;
|
|
8
|
+
type ScheduleOnboardingFlowApi = ReturnType<typeof useScheduleOnboardingFlow>;
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
setupBanner: ScheduleSetupBannerApi;
|
|
11
|
+
outletName: string;
|
|
12
|
+
onboardingFlow: ScheduleOnboardingFlowApi;
|
|
13
|
+
onboardingWizard: ScheduleOnboardingWizardApi;
|
|
14
|
+
timePicker: ScheduleTimePickerApi;
|
|
15
|
+
tour: ScheduleTourApi;
|
|
16
|
+
autoSchedule: ScheduleAutoScheduleApi;
|
|
17
|
+
clearOpen: boolean;
|
|
18
|
+
clearTitle: string;
|
|
19
|
+
clearMessage: string;
|
|
20
|
+
clearConfirmLabel: string;
|
|
21
|
+
onConfirmClear: () => void;
|
|
22
|
+
onCloseClear: () => void;
|
|
23
|
+
};
|
|
24
|
+
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>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleFilterBarApi } from '../composables/useScheduleFilterBar';
|
|
3
|
+
import type { ScheduleCostRailApi } from '../composables/useScheduleCostRail';
|
|
4
|
+
import type { ScheduleAreaDragDropApi } from '../composables/useScheduleAreaDragDrop';
|
|
5
|
+
import type { ScheduleEmployeeMenuApi } from '../composables/useScheduleEmployeeMenu';
|
|
6
|
+
import type { ScheduleAddEmployeeApi } from '../composables/useScheduleAddEmployee';
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
board: ScheduleBoardApi;
|
|
9
|
+
filterBar: ScheduleFilterBarApi;
|
|
10
|
+
costRail: ScheduleCostRailApi;
|
|
11
|
+
areaDragDrop: ScheduleAreaDragDropApi;
|
|
12
|
+
employeeMenu: ScheduleEmployeeMenuApi;
|
|
13
|
+
addEmployee: ScheduleAddEmployeeApi;
|
|
14
|
+
onOpenEmployee: (empId: number) => void;
|
|
15
|
+
};
|
|
16
|
+
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>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { useSchedulePageOverlays } from '../composables/useSchedulePageOverlays';
|
|
2
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
3
|
+
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
4
|
+
import type { ScheduleCopyWeekApi } from '../composables/useScheduleCopyWeek';
|
|
5
|
+
import type { ScheduleExportApi } from '../composables/useScheduleExport';
|
|
6
|
+
import type { ScheduleFilterBarApi } from '../composables/useScheduleFilterBar';
|
|
7
|
+
import type { useScheduleRangeCalendar } from '../composables/useScheduleRangeCalendar';
|
|
8
|
+
import type { useScheduleOutlet } from '../composables/useScheduleOutlet';
|
|
9
|
+
import type { useScheduleRoster } from '../composables/useScheduleRoster';
|
|
10
|
+
import type { ClearKind } from '../composables/useSchedulePageClearActions';
|
|
11
|
+
type SchedulePageOverlaysApi = ReturnType<typeof useSchedulePageOverlays>;
|
|
12
|
+
type ScheduleRangeCalendarApi = ReturnType<typeof useScheduleRangeCalendar>;
|
|
13
|
+
type ScheduleOutletApi = ReturnType<typeof useScheduleOutlet>;
|
|
14
|
+
type ScheduleRosterApi = ReturnType<typeof useScheduleRoster>;
|
|
15
|
+
type __VLS_Props = {
|
|
16
|
+
board: ScheduleBoardApi;
|
|
17
|
+
topbar: SchedulePageOverlaysApi['topbar'];
|
|
18
|
+
autoSchedule: ScheduleAutoScheduleApi;
|
|
19
|
+
copyWeek: ScheduleCopyWeekApi;
|
|
20
|
+
exportApi: ScheduleExportApi;
|
|
21
|
+
calendar: ScheduleRangeCalendarApi;
|
|
22
|
+
filterBar: ScheduleFilterBarApi;
|
|
23
|
+
outlet: ScheduleOutletApi;
|
|
24
|
+
roster: ScheduleRosterApi;
|
|
25
|
+
loading: boolean;
|
|
26
|
+
error: string | null;
|
|
27
|
+
onSchedStatusClick: () => void;
|
|
28
|
+
onComingSoon: () => void;
|
|
29
|
+
onRetry: () => void;
|
|
30
|
+
onClear: (kind: ClearKind) => void;
|
|
31
|
+
};
|
|
32
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
applied: (count: number) => any;
|
|
34
|
+
"applied-and-publish": (count: number) => any;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
+
onApplied?: ((count: number) => any) | undefined;
|
|
37
|
+
"onApplied-and-publish"?: ((count: number) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleAddPickApi } from '../composables/useScheduleAddPick';
|
|
3
|
+
import type { SchedulePublishApi } from '../composables/useSchedulePublish';
|
|
4
|
+
import type { ScheduleExportApi } from '../composables/useScheduleExport';
|
|
5
|
+
import type { ScheduleDayNoteApi } from '../composables/useScheduleDayNote';
|
|
6
|
+
import type { ScheduleDemandSheetApi } from '../composables/useScheduleDemandSheet';
|
|
7
|
+
import type { SchedulePositionModalApi } from '../composables/useSchedulePositionModal';
|
|
8
|
+
import type { ScheduleTimePickerApi } from '../composables/useScheduleTimePicker';
|
|
9
|
+
import type { ScheduleGapPopoverApi } from '../composables/useScheduleGapPopover';
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
addPick: ScheduleAddPickApi;
|
|
12
|
+
publish: SchedulePublishApi;
|
|
13
|
+
exportApi: ScheduleExportApi;
|
|
14
|
+
dayNote: ScheduleDayNoteApi;
|
|
15
|
+
demandSheet: ScheduleDemandSheetApi;
|
|
16
|
+
positionModal: SchedulePositionModalApi;
|
|
17
|
+
timePicker: ScheduleTimePickerApi;
|
|
18
|
+
gap: ScheduleGapPopoverApi;
|
|
19
|
+
board: ScheduleBoardApi;
|
|
20
|
+
};
|
|
21
|
+
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>;
|
|
22
|
+
export default _default;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { ScheduleOnboardingWizardApi } from '../composables/useScheduleOnboardingWizard';
|
|
2
2
|
import type { ScheduleTourApi } from '../composables/useScheduleTour';
|
|
3
3
|
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
4
|
+
import type { ScheduleExportApi } from '../composables/useScheduleExport';
|
|
5
|
+
import type { SchedulePublishApi } from '../composables/useSchedulePublish';
|
|
4
6
|
type __VLS_Props = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
kind: 'onboarding' | 'tour' | 'export' | 'publish-share';
|
|
8
|
+
wizard?: ScheduleOnboardingWizardApi;
|
|
9
|
+
tour?: ScheduleTourApi;
|
|
10
|
+
autoSchedule?: ScheduleAutoScheduleApi;
|
|
11
|
+
exportApi?: ScheduleExportApi;
|
|
12
|
+
publish?: SchedulePublishApi;
|
|
8
13
|
};
|
|
9
14
|
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>;
|
|
10
15
|
export default _default;
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import type { ScheduleBoardApi } from '../composables/useScheduleBoard';
|
|
2
|
+
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
2
3
|
import type { ScheduleOpenShiftCardApi } from '../composables/useScheduleOpenShiftCard';
|
|
3
4
|
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
5
|
+
import type { ScheduleEmployeeMenuApi } from '../composables/useScheduleEmployeeMenu';
|
|
4
6
|
type __VLS_Props = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
kind: 'shift' | 'open-shift' | 'employee';
|
|
8
|
+
board?: ScheduleBoardApi;
|
|
9
|
+
actions?: ScheduleShiftActionsApi;
|
|
10
|
+
openShiftMenu?: ScheduleOpenShiftCardApi;
|
|
11
|
+
popover?: ScheduleShiftPopoverApi;
|
|
12
|
+
employeeMenu?: ScheduleEmployeeMenuApi;
|
|
8
13
|
};
|
|
9
14
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
editShift: (empId: number, dayIdx: number, slotIndex: number) => any;
|
|
10
16
|
assign: (openId: number) => any;
|
|
11
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onEditShift?: ((empId: number, dayIdx: number, slotIndex: number) => any) | undefined;
|
|
12
19
|
onAssign?: ((openId: number) => any) | undefined;
|
|
13
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
21
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ScheduleExportApi } from '../composables/useScheduleExport';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
exportApi: ScheduleExportApi;
|
|
4
|
+
format: 'pdf' | 'jpg';
|
|
4
5
|
};
|
|
5
6
|
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
7
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
loading: boolean;
|
|
3
|
+
error: string | null;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
retry: () => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onRetry?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
open: boolean;
|
|
3
|
+
id?: string;
|
|
4
|
+
panelClass?: string;
|
|
5
|
+
panelStyle?: string;
|
|
6
|
+
labelledBy?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_1) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
close: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
panelClass: string;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -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;
|