@feedmepos/mf-hrm-portal 2.2.5-dev → 2.2.5-dev.10
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-DgcWZ3SZ.js → ApprovalCodeList-BsDMMSIz.js} +4 -4
- package/dist/{AuditLogList-vWKMMGvd.js → AuditLogList-CGNZdtmn.js} +18 -17
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DuhXogXK.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C6MoToqi.js} +2 -2
- package/dist/EmployeeList-B_OuDWWQ.js +787 -0
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js → FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js} +1 -1
- package/dist/{GrantUserList-BAW0C1bA.js → GrantUserList-Bd0lXmFo.js} +5 -5
- package/dist/{Main-NzpdRNB3.js → Main-B66lSeOv.js} +5 -5
- package/dist/{Main-Wr6cTqfM.js → Main-CzHSNHsH.js} +2 -2
- package/dist/{Main-B7Nn8CLQ.js → Main-njRQ1tFk.js} +9 -9
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +243 -0
- package/dist/{PermissionSetList-D6AFOleD.js → PermissionSetList-GTI6Cwj5.js} +18 -18
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bzq2_BMn.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C-QEQ-js.js} +1052 -1052
- package/dist/{RoleList-BuqpmXn_.js → RoleList-CmHgtM0m.js} +7 -7
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-SFqxftRx.js +426 -0
- package/dist/ScheduleButton.vue_vue_type_script_setup_true_lang-CrWfo-zF.js +690 -0
- package/dist/ScheduleGeneralPage-DxFxJN5j.js +320 -0
- package/dist/SchedulePage-cJDI3-E7.js +14647 -0
- package/dist/SchedulePositionPage-n1wUShIM.js +293 -0
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-B8W4sTsA.js +242 -0
- package/dist/SelectFilter-CG13h83-.js +264 -0
- package/dist/TeamMemberList-ByZt3VqN.js +1154 -0
- package/dist/{TimesheetList-B5FyVyCz.js → TimesheetList-Dv0-W--W.js} +54 -53
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-C99Jr6Ax.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DIo6h5-a.js} +2 -2
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/{app-8samJY5z.js → app-SCXGJ95F.js} +3146 -2553
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-Ba4X_9nY.js → dayjs.min-DqMLPYv-.js} +1 -1
- package/dist/{employee-BcFgm8Rt.js → employee-DT_xYQkz.js} +3 -3
- package/dist/{iteration-Dhdew1jW.js → iteration-B5dB9ecy.js} +1 -1
- package/dist/{lodash-CJ3mHku0.js → lodash-CRHFapxI.js} +1 -1
- package/dist/{role-BViYS7RK.js → role-CJm8pXaw.js} +1 -1
- package/dist/{rule-Dxt1ZSQS.js → rule-AJm-eVzJ.js} +276 -272
- package/dist/src/api/schedule/index.d.ts +41 -0
- package/dist/src/components/form/OutletRoleAssignment.vue.d.ts +16 -0
- package/dist/src/components/layout/AppSidebar.vue.d.ts +2 -0
- package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
- package/dist/src/components/layout/withShell.d.ts +14 -0
- package/dist/src/helpers/outlet-role-assignment.d.ts +40 -0
- package/dist/src/helpers/rule.d.ts +15 -0
- package/dist/src/router/shared.d.ts +4 -1
- package/dist/src/types/schedule.d.ts +232 -0
- package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +22 -0
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +34 -0
- package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +24 -0
- package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleEmployeeMenu.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleGridSkeleton.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleLegendBar.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +9 -0
- package/dist/src/views/scheduling/components/ScheduleOpenShiftCardMenu.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/SchedulePdfPreview.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +54 -0
- package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftCardMenu.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +35 -0
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +60 -0
- package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +20 -0
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +72 -0
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +38 -0
- package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +29 -0
- package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
- package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +16 -0
- package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +14 -0
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +10 -0
- package/dist/src/views/scheduling/composables/scheduleAutoSolver.d.ts +21 -0
- package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +98 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +73 -0
- package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +77 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +122 -0
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +143 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +426 -0
- package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +19 -0
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +43 -0
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +48 -0
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +77 -0
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +76 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +45 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +145 -0
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +41 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +35 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +26 -0
- package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +82 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +70 -0
- package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +15 -0
- package/dist/src/views/scheduling/composables/useScheduleLegendBar.d.ts +35 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1316 -0
- package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +23 -0
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +20 -0
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +32 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +93 -0
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +189 -0
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +54 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +163 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +181 -0
- package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +23 -0
- package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +49 -0
- package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +10 -0
- package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +9 -0
- package/dist/src/views/scheduling/data.d.ts +110 -0
- package/dist/src/views/scheduling/locales/index.d.ts +496 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +151 -0
- package/dist/src/views/scheduling/types.d.ts +324 -0
- package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
- package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
- package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +12 -3
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-BiyAfGvZ.js → useReportPermissions-Cg3lV70m.js} +3 -3
- package/package.json +1 -1
- package/dist/EmployeeList-Cu4RxVQX.js +0 -889
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-BUI0Xsgc.js +0 -85
- package/dist/SelectFilter-ATOm0hdn.js +0 -269
- package/dist/TeamMemberList-M6HA9BWu.js +0 -1248
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { ref as h, reactive as D, computed as C, defineComponent as E, onMounted as U, createElementBlock as c, openBlock as y, createElementVNode as s, createVNode as f, withCtx as k, unref as o, createTextVNode as p, toDisplayString as b, Fragment as B, renderList as x, normalizeClass as N, withDirectives as v, vModelText as m, createCommentVNode as F } from "vue";
|
|
2
|
+
import { useRouter as I } from "vue-router";
|
|
3
|
+
import { R as A } from "./app-SCXGJ95F.js";
|
|
4
|
+
import { b as i, H, O as V, I as P, y as J, _ as R } from "./ScheduleButton.vue_vue_type_script_setup_true_lang-CrWfo-zF.js";
|
|
5
|
+
import { _ as M } from "./ScheduleSelect.vue_vue_type_script_setup_true_lang-B8W4sTsA.js";
|
|
6
|
+
const Y = [
|
|
7
|
+
{ key: "overtime", label: "Overtime" }
|
|
8
|
+
];
|
|
9
|
+
function g() {
|
|
10
|
+
return JSON.parse(
|
|
11
|
+
JSON.stringify({
|
|
12
|
+
salesForecast: i.salesForecast,
|
|
13
|
+
labourTarget: i.labourTarget,
|
|
14
|
+
budgetFromSales: i.budgetFromSales,
|
|
15
|
+
budget: i.budget,
|
|
16
|
+
payRate: i.payRate,
|
|
17
|
+
otCapHours: i.otCapHours,
|
|
18
|
+
otBudget: i.otBudget,
|
|
19
|
+
notify: i.notify
|
|
20
|
+
})
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
function $() {
|
|
24
|
+
const d = h(!1), u = h("overtime"), l = D(g());
|
|
25
|
+
function w(S) {
|
|
26
|
+
Object.assign(l, g()), u.value = S ?? "overtime", d.value = !0;
|
|
27
|
+
}
|
|
28
|
+
const t = C(() => JSON.stringify(l) !== JSON.stringify(g()));
|
|
29
|
+
function n() {
|
|
30
|
+
return t.value ? !1 : (d.value = !1, !0);
|
|
31
|
+
}
|
|
32
|
+
function r() {
|
|
33
|
+
Object.assign(l, g()), d.value = !1;
|
|
34
|
+
}
|
|
35
|
+
function O() {
|
|
36
|
+
i.salesForecast = l.salesForecast, i.labourTarget = l.labourTarget, i.budgetFromSales = l.budgetFromSales, i.budget = l.budget, i.payRate = JSON.parse(JSON.stringify(l.payRate)), i.otCapHours = l.otCapHours, i.otBudget = l.otBudget, i.notify = JSON.parse(JSON.stringify(l.notify)), d.value = !1;
|
|
37
|
+
}
|
|
38
|
+
return { isOpen: d, activeSection: u, draft: l, dirty: t, open: w, close: n, discard: r, save: O };
|
|
39
|
+
}
|
|
40
|
+
const z = { class: "main" }, j = {
|
|
41
|
+
id: "viewSettings",
|
|
42
|
+
class: "view"
|
|
43
|
+
}, G = { class: "sp-head" }, W = { class: "outlet-bar" }, q = { class: "outlet-note" }, K = { class: "sp-body" }, Q = { class: "sp-tabs" }, X = ["onClick"], Z = { class: "sp-content" }, ss = { class: "sp-panel" }, es = {
|
|
44
|
+
id: "sp-overtime",
|
|
45
|
+
class: "sp-sec"
|
|
46
|
+
}, ts = { class: "sp-card" }, as = { class: "sp-row" }, os = { class: "sp-field" }, is = { class: "sp-row" }, ls = { class: "sp-field" }, rs = { class: "sp-row" }, ns = { class: "sp-field" }, ds = { class: "sp-card" }, us = { class: "sp-row" }, ps = { class: "sp-field" }, vs = { class: "sp-row" }, ms = { class: "sp-field" }, cs = { class: "sp-save-txt" }, ys = { key: 0 }, Ss = /* @__PURE__ */ E({
|
|
47
|
+
__name: "ScheduleGeneralPage",
|
|
48
|
+
setup(d) {
|
|
49
|
+
const u = h(null);
|
|
50
|
+
H(u);
|
|
51
|
+
const l = C(() => V.name || "No outlet selected"), w = I(), t = $(), n = P(), r = h(!1), O = C(
|
|
52
|
+
() => n.options.value.length ? n.options.value : [{ value: "", label: "No outlet selected", disabled: !0 }]
|
|
53
|
+
);
|
|
54
|
+
function S(_) {
|
|
55
|
+
n.switchTo(_, /* @__PURE__ */ new Date());
|
|
56
|
+
}
|
|
57
|
+
U(async () => {
|
|
58
|
+
await n.resolve() && await J(/* @__PURE__ */ new Date()), t.open();
|
|
59
|
+
});
|
|
60
|
+
function T() {
|
|
61
|
+
t.close() && w.push({ name: A.SCHEDULE });
|
|
62
|
+
}
|
|
63
|
+
function L() {
|
|
64
|
+
if (!r.value) {
|
|
65
|
+
r.value = !0;
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
r.value = !1, t.discard();
|
|
69
|
+
}
|
|
70
|
+
return (_, e) => (y(), c("div", {
|
|
71
|
+
ref_key: "rootEl",
|
|
72
|
+
ref: u,
|
|
73
|
+
class: "sch"
|
|
74
|
+
}, [
|
|
75
|
+
s("div", z, [
|
|
76
|
+
s("div", j, [
|
|
77
|
+
s("div", G, [
|
|
78
|
+
f(R, {
|
|
79
|
+
hierarchy: "ghost",
|
|
80
|
+
size: "sm",
|
|
81
|
+
class: "sp-back",
|
|
82
|
+
type: "button",
|
|
83
|
+
onClick: T
|
|
84
|
+
}, {
|
|
85
|
+
default: k(() => [...e[7] || (e[7] = [
|
|
86
|
+
s("svg", {
|
|
87
|
+
width: "12",
|
|
88
|
+
height: "12",
|
|
89
|
+
viewBox: "0 0 16 16",
|
|
90
|
+
fill: "none",
|
|
91
|
+
"aria-hidden": "true"
|
|
92
|
+
}, [
|
|
93
|
+
s("path", {
|
|
94
|
+
d: "M10 3.5L5.5 8l4.5 4.5",
|
|
95
|
+
stroke: "currentColor",
|
|
96
|
+
"stroke-width": "1.7",
|
|
97
|
+
"stroke-linecap": "round",
|
|
98
|
+
"stroke-linejoin": "round"
|
|
99
|
+
})
|
|
100
|
+
], -1),
|
|
101
|
+
s("span", null, "Back to schedule", -1)
|
|
102
|
+
])]),
|
|
103
|
+
_: 1
|
|
104
|
+
}),
|
|
105
|
+
e[11] || (e[11] = s("div", { class: "sp-title" }, "General", -1)),
|
|
106
|
+
e[12] || (e[12] = s("div", { class: "sp-sub" }, "Pay multipliers for this outlet.", -1)),
|
|
107
|
+
s("div", W, [
|
|
108
|
+
e[10] || (e[10] = s("span", { class: "outlet-bar-lbl" }, "Outlet", -1)),
|
|
109
|
+
f(M, {
|
|
110
|
+
class: "outlet-sel",
|
|
111
|
+
"aria-label": "Outlet these rules apply to",
|
|
112
|
+
"model-value": o(n).outletId.value,
|
|
113
|
+
options: O.value,
|
|
114
|
+
"onUpdate:modelValue": S
|
|
115
|
+
}, null, 8, ["model-value", "options"]),
|
|
116
|
+
s("span", q, [
|
|
117
|
+
e[8] || (e[8] = p("This setup applies to ", -1)),
|
|
118
|
+
s("b", null, b(l.value), 1),
|
|
119
|
+
e[9] || (e[9] = p(".", -1))
|
|
120
|
+
])
|
|
121
|
+
])
|
|
122
|
+
]),
|
|
123
|
+
s("div", K, [
|
|
124
|
+
s("nav", Q, [
|
|
125
|
+
(y(!0), c(B, null, x(o(Y), (a) => (y(), c("button", {
|
|
126
|
+
key: a.key,
|
|
127
|
+
type: "button",
|
|
128
|
+
class: N(["sch-tab sp-tab", { active: o(t).activeSection.value === a.key }]),
|
|
129
|
+
"data-active": "false",
|
|
130
|
+
onClick: (fs) => o(t).activeSection.value = a.key
|
|
131
|
+
}, b(a.label), 11, X))), 128))
|
|
132
|
+
]),
|
|
133
|
+
s("div", Z, [
|
|
134
|
+
s("div", ss, [
|
|
135
|
+
s("section", es, [
|
|
136
|
+
e[25] || (e[25] = s("div", { class: "sp-sec-head" }, [
|
|
137
|
+
s("div", { class: "sp-panel-title" }, "Pay rates")
|
|
138
|
+
], -1)),
|
|
139
|
+
e[26] || (e[26] = s("div", { class: "sp-panel-desc" }, "Pay multipliers by kind of day.", -1)),
|
|
140
|
+
s("div", ts, [
|
|
141
|
+
e[19] || (e[19] = s("div", { class: "sp-card-head" }, [
|
|
142
|
+
s("div", { class: "sp-card-title" }, "Overtime rate"),
|
|
143
|
+
s("div", { class: "sp-card-note" }, "Multiplier on every OT hour")
|
|
144
|
+
], -1)),
|
|
145
|
+
s("div", as, [
|
|
146
|
+
e[14] || (e[14] = s("div", { class: "sp-row-main" }, [
|
|
147
|
+
s("div", { class: "sp-row-label" }, "Normal operations day"),
|
|
148
|
+
s("div", { class: "sp-row-hint" }, " Multiplier on their rate for hours past the weekly contract. ")
|
|
149
|
+
], -1)),
|
|
150
|
+
s("div", os, [
|
|
151
|
+
v(s("input", {
|
|
152
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => o(t).draft.payRate.NORMAL.overtime = a),
|
|
153
|
+
class: "sch-input sp-num",
|
|
154
|
+
type: "number",
|
|
155
|
+
min: "1",
|
|
156
|
+
max: "4",
|
|
157
|
+
step: "0.1",
|
|
158
|
+
"aria-label": "Overtime rate on a normal day"
|
|
159
|
+
}, null, 512), [
|
|
160
|
+
[
|
|
161
|
+
m,
|
|
162
|
+
o(t).draft.payRate.NORMAL.overtime,
|
|
163
|
+
void 0,
|
|
164
|
+
{ number: !0 }
|
|
165
|
+
]
|
|
166
|
+
]),
|
|
167
|
+
e[13] || (e[13] = s("span", { class: "sp-unit" }, "×", -1))
|
|
168
|
+
])
|
|
169
|
+
]),
|
|
170
|
+
s("div", is, [
|
|
171
|
+
e[16] || (e[16] = s("div", { class: "sp-row-main" }, [
|
|
172
|
+
s("div", { class: "sp-row-label" }, "Rest day"),
|
|
173
|
+
s("div", { class: "sp-row-hint" }, " For a shift on the person's rest day, weekly or booked. Check the rate with HR. ")
|
|
174
|
+
], -1)),
|
|
175
|
+
s("div", ls, [
|
|
176
|
+
v(s("input", {
|
|
177
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => o(t).draft.payRate.REST_DAY.overtime = a),
|
|
178
|
+
class: "sch-input sp-num",
|
|
179
|
+
type: "number",
|
|
180
|
+
min: "1",
|
|
181
|
+
max: "4",
|
|
182
|
+
step: "0.1",
|
|
183
|
+
"aria-label": "Overtime rate on a rest day"
|
|
184
|
+
}, null, 512), [
|
|
185
|
+
[
|
|
186
|
+
m,
|
|
187
|
+
o(t).draft.payRate.REST_DAY.overtime,
|
|
188
|
+
void 0,
|
|
189
|
+
{ number: !0 }
|
|
190
|
+
]
|
|
191
|
+
]),
|
|
192
|
+
e[15] || (e[15] = s("span", { class: "sp-unit" }, "×", -1))
|
|
193
|
+
])
|
|
194
|
+
]),
|
|
195
|
+
s("div", rs, [
|
|
196
|
+
e[18] || (e[18] = s("div", { class: "sp-row-main" }, [
|
|
197
|
+
s("div", { class: "sp-row-label" }, "Public holiday"),
|
|
198
|
+
s("div", { class: "sp-row-hint" }, " For dates on the holiday calendar. Wins over a rest day on the same date. ")
|
|
199
|
+
], -1)),
|
|
200
|
+
s("div", ns, [
|
|
201
|
+
v(s("input", {
|
|
202
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => o(t).draft.payRate.PUBLIC_HOLIDAY.overtime = a),
|
|
203
|
+
class: "sch-input sp-num",
|
|
204
|
+
type: "number",
|
|
205
|
+
min: "1",
|
|
206
|
+
max: "4",
|
|
207
|
+
step: "0.1",
|
|
208
|
+
"aria-label": "Overtime rate on a public holiday"
|
|
209
|
+
}, null, 512), [
|
|
210
|
+
[
|
|
211
|
+
m,
|
|
212
|
+
o(t).draft.payRate.PUBLIC_HOLIDAY.overtime,
|
|
213
|
+
void 0,
|
|
214
|
+
{ number: !0 }
|
|
215
|
+
]
|
|
216
|
+
]),
|
|
217
|
+
e[17] || (e[17] = s("span", { class: "sp-unit" }, "×", -1))
|
|
218
|
+
])
|
|
219
|
+
])
|
|
220
|
+
]),
|
|
221
|
+
s("div", ds, [
|
|
222
|
+
e[24] || (e[24] = s("div", { class: "sp-card-head" }, [
|
|
223
|
+
s("div", { class: "sp-card-title" }, "Regular rate"),
|
|
224
|
+
s("div", { class: "sp-card-note" }, "Multiplier on ordinary hours")
|
|
225
|
+
], -1)),
|
|
226
|
+
s("div", us, [
|
|
227
|
+
e[21] || (e[21] = s("div", { class: "sp-row-main" }, [
|
|
228
|
+
s("div", { class: "sp-row-label" }, "Rest day"),
|
|
229
|
+
s("div", { class: "sp-row-hint" }, "Ordinary hours worked on the person's rest day.")
|
|
230
|
+
], -1)),
|
|
231
|
+
s("div", ps, [
|
|
232
|
+
v(s("input", {
|
|
233
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => o(t).draft.payRate.REST_DAY.regular = a),
|
|
234
|
+
class: "sch-input sp-num",
|
|
235
|
+
type: "number",
|
|
236
|
+
min: "1",
|
|
237
|
+
max: "4",
|
|
238
|
+
step: "0.1",
|
|
239
|
+
"aria-label": "Regular rate on a rest day"
|
|
240
|
+
}, null, 512), [
|
|
241
|
+
[
|
|
242
|
+
m,
|
|
243
|
+
o(t).draft.payRate.REST_DAY.regular,
|
|
244
|
+
void 0,
|
|
245
|
+
{ number: !0 }
|
|
246
|
+
]
|
|
247
|
+
]),
|
|
248
|
+
e[20] || (e[20] = s("span", { class: "sp-unit" }, "×", -1))
|
|
249
|
+
])
|
|
250
|
+
]),
|
|
251
|
+
s("div", vs, [
|
|
252
|
+
e[23] || (e[23] = s("div", { class: "sp-row-main" }, [
|
|
253
|
+
s("div", { class: "sp-row-label" }, "Public holiday"),
|
|
254
|
+
s("div", { class: "sp-row-hint" }, "Ordinary hours worked on a date on the holiday calendar.")
|
|
255
|
+
], -1)),
|
|
256
|
+
s("div", ms, [
|
|
257
|
+
v(s("input", {
|
|
258
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => o(t).draft.payRate.PUBLIC_HOLIDAY.regular = a),
|
|
259
|
+
class: "sch-input sp-num",
|
|
260
|
+
type: "number",
|
|
261
|
+
min: "1",
|
|
262
|
+
max: "4",
|
|
263
|
+
step: "0.1",
|
|
264
|
+
"aria-label": "Regular rate on a public holiday"
|
|
265
|
+
}, null, 512), [
|
|
266
|
+
[
|
|
267
|
+
m,
|
|
268
|
+
o(t).draft.payRate.PUBLIC_HOLIDAY.regular,
|
|
269
|
+
void 0,
|
|
270
|
+
{ number: !0 }
|
|
271
|
+
]
|
|
272
|
+
]),
|
|
273
|
+
e[22] || (e[22] = s("span", { class: "sp-unit" }, "×", -1))
|
|
274
|
+
])
|
|
275
|
+
])
|
|
276
|
+
])
|
|
277
|
+
])
|
|
278
|
+
])
|
|
279
|
+
]),
|
|
280
|
+
s("div", {
|
|
281
|
+
class: N(["sp-save", { dirty: o(t).dirty.value, arming: r.value }])
|
|
282
|
+
}, [
|
|
283
|
+
s("div", cs, [
|
|
284
|
+
p(b(r.value ? "Discard unsaved changes?" : "Unsaved changes") + " ", 1),
|
|
285
|
+
r.value ? F("", !0) : (y(), c("span", ys, "— save or discard before leaving."))
|
|
286
|
+
]),
|
|
287
|
+
f(R, {
|
|
288
|
+
hierarchy: "secondary",
|
|
289
|
+
size: "sm",
|
|
290
|
+
class: "am-btn am-btn-sec",
|
|
291
|
+
type: "button",
|
|
292
|
+
onClick: e[5] || (e[5] = (a) => L())
|
|
293
|
+
}, {
|
|
294
|
+
default: k(() => [
|
|
295
|
+
p(b(r.value ? "Confirm discard" : "Discard"), 1)
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
}),
|
|
299
|
+
f(R, {
|
|
300
|
+
hierarchy: "primary",
|
|
301
|
+
size: "sm",
|
|
302
|
+
class: "am-btn am-btn-primary",
|
|
303
|
+
type: "button",
|
|
304
|
+
onClick: e[6] || (e[6] = (a) => o(t).save())
|
|
305
|
+
}, {
|
|
306
|
+
default: k(() => [...e[27] || (e[27] = [
|
|
307
|
+
p(" Save changes ", -1)
|
|
308
|
+
])]),
|
|
309
|
+
_: 1
|
|
310
|
+
})
|
|
311
|
+
], 2)
|
|
312
|
+
])
|
|
313
|
+
])
|
|
314
|
+
])
|
|
315
|
+
], 512));
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
export {
|
|
319
|
+
Ss as default
|
|
320
|
+
};
|