@feedmepos/mf-hrm-portal 2.2.5-dev.4 → 2.2.5-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/dist/{ApprovalCodeList-D0B_X3Sf.js → ApprovalCodeList-DqR6ouRS.js} +4 -4
  2. package/dist/{AuditLogList-D9anf4YQ.js → AuditLogList-CG2BiQX6.js} +17 -18
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-4oENMRO3.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C7nMXx8R.js} +2 -2
  4. package/dist/{EmployeeList-DREDu3Ou.js → EmployeeList-CGZzol7v.js} +27 -29
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js → FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js} +1 -1
  6. package/dist/{GrantUserList-CLDshEN9.js → GrantUserList-D1fBv1KQ.js} +5 -5
  7. package/dist/{Main-lqlb8tPw.js → Main-BOt-Y1wv.js} +9 -9
  8. package/dist/{Main-QhQxU593.js → Main-CFoZot3K.js} +5 -5
  9. package/dist/{Main-DtMaG42L.js → Main-zg7fbEtx.js} +2 -2
  10. package/dist/{PermissionSetList-BK8yBpJJ.js → PermissionSetList-bJpwD62u.js} +10 -11
  11. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-uSdvH81B.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C4C8Cvf4.js} +911 -912
  12. package/dist/{RoleList-D6AX6BqB.js → RoleList-DUVZ7dkO.js} +7 -7
  13. package/dist/SelectFilter-ATOm0hdn.js +269 -0
  14. package/dist/{TeamMemberList-BM5JoR6J.js → TeamMemberList-DAnM-DSd.js} +34 -36
  15. package/dist/{TimesheetList-Ch_f_PD5.js → TimesheetList-5sdcWjEf.js} +53 -54
  16. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CxqxqwyD.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-GhPw_mCW.js} +2 -2
  17. package/dist/{app-tDHL6k4G.js → app-D-cQzgkr.js} +2299 -2884
  18. package/dist/app.js +1 -1
  19. package/dist/{dayjs.min-B_XWc0Hu.js → dayjs.min-DqFS0ebn.js} +1 -1
  20. package/dist/employee-DvvnCQMK.js +204 -0
  21. package/dist/{index-jxRluZiW.js → iteration-BjW8Cs9e.js} +726 -698
  22. package/dist/{lodash-D5vM3paU.js → lodash-wjhSWqez.js} +1 -1
  23. package/dist/{role-7ccipEEe.js → role-CEUcSmA6.js} +3 -4
  24. package/dist/{rule-7faruCdz.js → rule-Df8LOhxm.js} +70 -71
  25. package/dist/src/router/shared.d.ts +1 -4
  26. package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
  27. package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
  28. package/dist/style.css +1 -1
  29. package/dist/tsconfig.app.tsbuildinfo +1 -1
  30. package/dist/{useReportPermissions-FieO4EAD.js → useReportPermissions-4wm7pJcK.js} +3 -3
  31. package/package.json +1 -1
  32. package/dist/ScheduleGeneralPage-DAECTCDu.js +0 -242
  33. package/dist/SchedulePage-CdFR7JuO.js +0 -10751
  34. package/dist/SchedulePositionPage-DTtKg0sx.js +0 -220
  35. package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-BiuUrr50.js +0 -199
  36. package/dist/SelectFilter-CG13h83-.js +0 -264
  37. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  38. package/dist/employee-Bs_2vqBY.js +0 -139
  39. package/dist/index-Cz2b95YF.js +0 -70
  40. package/dist/iteration-CcXrOMQe.js +0 -30
  41. package/dist/src/api/schedule/index.d.ts +0 -44
  42. package/dist/src/components/layout/AppSidebar.vue.d.ts +0 -2
  43. package/dist/src/components/layout/PortalShell.vue.d.ts +0 -12
  44. package/dist/src/components/layout/withShell.d.ts +0 -14
  45. package/dist/src/types/schedule.d.ts +0 -232
  46. package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +0 -4
  47. package/dist/src/views/scheduling/SchedulePage.vue.d.ts +0 -4
  48. package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +0 -4
  49. package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +0 -6
  50. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +0 -6
  51. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +0 -6
  52. package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +0 -6
  53. package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +0 -6
  54. package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +0 -6
  55. package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +0 -6
  56. package/dist/src/views/scheduling/components/ScheduleAllShiftsRow.vue.d.ts +0 -22
  57. package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +0 -34
  58. package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +0 -6
  59. package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +0 -6
  60. package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +0 -8
  61. package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +0 -24
  62. package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +0 -8
  63. package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +0 -6
  64. package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +0 -6
  65. package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +0 -12
  66. package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +0 -23
  67. package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +0 -10
  68. package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +0 -2
  69. package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +0 -12
  70. package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +0 -17
  71. package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +0 -18
  72. package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +0 -6
  73. package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +0 -18
  74. package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +0 -6
  75. package/dist/src/views/scheduling/components/ScheduleLegendBar.vue.d.ts +0 -6
  76. package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +0 -12
  77. package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +0 -6
  78. package/dist/src/views/scheduling/components/ScheduleOpenShiftCardMenu.vue.d.ts +0 -14
  79. package/dist/src/views/scheduling/components/SchedulePdfPreview.vue.d.ts +0 -6
  80. package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +0 -8
  81. package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +0 -12
  82. package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +0 -24
  83. package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +0 -6
  84. package/dist/src/views/scheduling/components/ScheduleShiftCardMenu.vue.d.ts +0 -12
  85. package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +0 -31
  86. package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +0 -6
  87. package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +0 -6
  88. package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +0 -6
  89. package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +0 -14
  90. package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +0 -8
  91. package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +0 -8
  92. package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +0 -25
  93. package/dist/src/views/scheduling/components/ScheduleStackPopover.vue.d.ts +0 -14
  94. package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +0 -16
  95. package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +0 -54
  96. package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +0 -12
  97. package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +0 -8
  98. package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +0 -6
  99. package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +0 -22
  100. package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +0 -67
  101. package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +0 -38
  102. package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +0 -29
  103. package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +0 -7
  104. package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +0 -14
  105. package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +0 -10
  106. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +0 -86
  107. package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +0 -66
  108. package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +0 -77
  109. package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +0 -50
  110. package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +0 -18
  111. package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +0 -113
  112. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +0 -136
  113. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +0 -415
  114. package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +0 -27
  115. package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +0 -18
  116. package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +0 -17
  117. package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +0 -43
  118. package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +0 -48
  119. package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +0 -82
  120. package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +0 -68
  121. package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +0 -45
  122. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -139
  123. package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +0 -22
  124. package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +0 -32
  125. package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +0 -16
  126. package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +0 -26
  127. package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +0 -14
  128. package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +0 -80
  129. package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +0 -20
  130. package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +0 -15
  131. package/dist/src/views/scheduling/composables/useScheduleLegendBar.d.ts +0 -35
  132. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +0 -179
  133. package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +0 -23
  134. package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +0 -19
  135. package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +0 -32
  136. package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +0 -91
  137. package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +0 -18
  138. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +0 -183
  139. package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +0 -54
  140. package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +0 -18
  141. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +0 -225
  142. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +0 -174
  143. package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +0 -20
  144. package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +0 -25
  145. package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +0 -44
  146. package/dist/src/views/scheduling/composables/useScheduleTopbar.d.ts +0 -10
  147. package/dist/src/views/scheduling/data.d.ts +0 -105
  148. package/dist/src/views/scheduling/locales/index.d.ts +0 -496
  149. package/dist/src/views/scheduling/schedule-store.d.ts +0 -116
  150. package/dist/src/views/scheduling/types.d.ts +0 -311
  151. package/dist/useScheduleOutlet-CmIG5dwQ.js +0 -557
  152. package/dist/useSchedulePositions-DPVAgdB2.js +0 -103
@@ -1,8 +1,8 @@
1
1
  import { computed as r, ref as n } from "vue";
2
- import { e as d } from "./index-jxRluZiW.js";
2
+ import { e as d } from "./iteration-BjW8Cs9e.js";
3
3
  import { useCoreStore as h } from "@feedmepos/mf-common";
4
- import { R as K } from "./rule-7faruCdz.js";
5
- import { D as g } from "./app-tDHL6k4G.js";
4
+ import { R as K } from "./rule-Df8LOhxm.js";
5
+ import { D as g } from "./app-D-cQzgkr.js";
6
6
  const a = n([]), i = n(!1), l = n(!1), f = n(null), p = n(null), u = n(!1);
7
7
  function B() {
8
8
  const v = h();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-hrm-portal",
3
- "version": "2.2.5-dev.4",
3
+ "version": "2.2.5-dev.5",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -1,242 +0,0 @@
1
- import { defineComponent as g, computed as y, ref as S, onMounted as O, createElementBlock as r, openBlock as u, createElementVNode as s, createVNode as C, unref as l, createTextVNode as v, toDisplayString as p, Fragment as D, renderList as L, normalizeClass as c, withDirectives as n, vModelText as d, createCommentVNode as T } from "vue";
2
- import { useRouter as _ } from "vue-router";
3
- import { R as U } from "./app-tDHL6k4G.js";
4
- import { O as x, x as N, y as A } from "./useScheduleOutlet-CmIG5dwQ.js";
5
- import { u as E, _ as I, S as V } from "./ScheduleSelect.vue_vue_type_script_setup_true_lang-BiuUrr50.js";
6
- const B = { class: "sch9" }, M = { class: "main" }, Y = {
7
- id: "viewSettings",
8
- class: "view"
9
- }, P = { class: "sp-head" }, H = { class: "outlet-bar" }, $ = { class: "outlet-note" }, G = { class: "sp-body" }, j = { class: "sp-tabs" }, z = ["onClick"], F = { class: "sp-content" }, W = { class: "sp-panel" }, q = { class: "sp-card" }, J = { class: "sp-row" }, K = { class: "sp-field" }, Q = { class: "sp-row" }, X = { class: "sp-field" }, Z = { class: "sp-row" }, ss = { class: "sp-field" }, ts = { class: "sp-row" }, es = { class: "sp-field" }, os = { class: "sp-row" }, ls = { class: "sp-field" }, as = { class: "sp-save-txt" }, is = { key: 0 }, ys = /* @__PURE__ */ g({
10
- __name: "ScheduleGeneralPage",
11
- setup(ns) {
12
- const b = y(() => x.name || "No outlet selected"), f = _(), e = E(), i = N(), a = S(!1), w = y(
13
- () => i.options.value.length ? i.options.value : [{ value: "", label: "No outlet selected", disabled: !0 }]
14
- );
15
- function h(m) {
16
- i.switchTo(m, /* @__PURE__ */ new Date());
17
- }
18
- O(async () => {
19
- await i.resolve() && await A(/* @__PURE__ */ new Date()), e.open();
20
- });
21
- function k() {
22
- e.close() && f.push({ name: U.SCHEDULE });
23
- }
24
- function R() {
25
- if (!a.value) {
26
- a.value = !0;
27
- return;
28
- }
29
- a.value = !1, e.discard();
30
- }
31
- return (m, t) => (u(), r("div", B, [
32
- s("div", M, [
33
- s("div", Y, [
34
- s("div", P, [
35
- s("button", {
36
- type: "button",
37
- class: "sp-back",
38
- onClick: k
39
- }, [...t[7] || (t[7] = [
40
- s("svg", {
41
- width: "12",
42
- height: "12",
43
- viewBox: "0 0 16 16",
44
- fill: "none",
45
- "aria-hidden": "true"
46
- }, [
47
- s("path", {
48
- d: "M10 3.5L5.5 8l4.5 4.5",
49
- stroke: "currentColor",
50
- "stroke-width": "1.7",
51
- "stroke-linecap": "round",
52
- "stroke-linejoin": "round"
53
- })
54
- ], -1),
55
- s("span", null, "Back to schedule", -1)
56
- ])]),
57
- t[11] || (t[11] = s("div", { class: "sp-title" }, "General", -1)),
58
- t[12] || (t[12] = s("div", { class: "sp-sub" }, "Overtime rates for this outlet.", -1)),
59
- s("div", H, [
60
- t[10] || (t[10] = s("span", { class: "outlet-bar-lbl" }, "Outlet", -1)),
61
- C(I, {
62
- class: "outlet-sel",
63
- "aria-label": "Outlet these rules apply to",
64
- "model-value": l(i).outletId.value,
65
- options: w.value,
66
- "onUpdate:modelValue": h
67
- }, null, 8, ["model-value", "options"]),
68
- s("span", $, [
69
- t[8] || (t[8] = v("This setup applies to ", -1)),
70
- s("b", null, p(b.value), 1),
71
- t[9] || (t[9] = v(".", -1))
72
- ])
73
- ])
74
- ]),
75
- s("div", G, [
76
- s("nav", j, [
77
- (u(!0), r(D, null, L(l(V), (o) => (u(), r("button", {
78
- key: o.key,
79
- type: "button",
80
- class: c(["sp-tab", { active: l(e).activeSection.value === o.key }]),
81
- onClick: (ds) => l(e).activeSection.value = o.key
82
- }, p(o.label), 11, z))), 128))
83
- ]),
84
- s("div", F, [
85
- s("div", W, [
86
- t[24] || (t[24] = s("div", { class: "sp-panel-title" }, "Overtime", -1)),
87
- t[25] || (t[25] = s("div", { class: "sp-panel-desc" }, "Overtime rates, by the kind of day it falls on.", -1)),
88
- s("div", q, [
89
- t[23] || (t[23] = s("div", { class: "sp-card-head" }, [
90
- s("div", { class: "sp-card-title" }, "Rate"),
91
- s("div", { class: "sp-card-note" }, "Multiplier every OT hour")
92
- ], -1)),
93
- s("div", J, [
94
- t[14] || (t[14] = s("div", { class: "sp-row-main" }, [
95
- s("div", { class: "sp-row-label" }, "Normal day · overtime"),
96
- s("div", { class: "sp-row-hint" }, " Multiplier applied past the daily OT threshold on a regular day. ")
97
- ], -1)),
98
- s("div", K, [
99
- n(s("input", {
100
- "onUpdate:modelValue": t[0] || (t[0] = (o) => l(e).draft.payRate.NORMAL.overtime = o),
101
- class: "sp-num",
102
- type: "number",
103
- min: "1",
104
- max: "4",
105
- step: "0.1"
106
- }, null, 512), [
107
- [
108
- d,
109
- l(e).draft.payRate.NORMAL.overtime,
110
- void 0,
111
- { number: !0 }
112
- ]
113
- ]),
114
- t[13] || (t[13] = s("span", { class: "sp-unit" }, "×", -1))
115
- ])
116
- ]),
117
- s("div", Q, [
118
- t[16] || (t[16] = s("div", { class: "sp-row-main" }, [
119
- s("div", { class: "sp-row-label" }, "Rest day · ordinary hours"),
120
- s("div", { class: "sp-row-hint" }, " Stored and kept with the outlet, but not yet applied on this board — it has no weekly rest-day pattern to decide which dates are rest days. ")
121
- ], -1)),
122
- s("div", X, [
123
- n(s("input", {
124
- "onUpdate:modelValue": t[1] || (t[1] = (o) => l(e).draft.payRate.REST_DAY.regular = o),
125
- class: "sp-num",
126
- type: "number",
127
- min: "1",
128
- max: "4",
129
- step: "0.1"
130
- }, null, 512), [
131
- [
132
- d,
133
- l(e).draft.payRate.REST_DAY.regular,
134
- void 0,
135
- { number: !0 }
136
- ]
137
- ]),
138
- t[15] || (t[15] = s("span", { class: "sp-unit" }, "×", -1))
139
- ])
140
- ]),
141
- s("div", Z, [
142
- t[18] || (t[18] = s("div", { class: "sp-row-main" }, [
143
- s("div", { class: "sp-row-label" }, "Rest day · overtime"),
144
- s("div", { class: "sp-row-hint" }, "Stored with the outlet; not yet applied here.")
145
- ], -1)),
146
- s("div", ss, [
147
- n(s("input", {
148
- "onUpdate:modelValue": t[2] || (t[2] = (o) => l(e).draft.payRate.REST_DAY.overtime = o),
149
- class: "sp-num",
150
- type: "number",
151
- min: "1",
152
- max: "4",
153
- step: "0.1"
154
- }, null, 512), [
155
- [
156
- d,
157
- l(e).draft.payRate.REST_DAY.overtime,
158
- void 0,
159
- { number: !0 }
160
- ]
161
- ]),
162
- t[17] || (t[17] = s("span", { class: "sp-unit" }, "×", -1))
163
- ])
164
- ]),
165
- s("div", ts, [
166
- t[20] || (t[20] = s("div", { class: "sp-row-main" }, [
167
- s("div", { class: "sp-row-label" }, "Public holiday · ordinary hours"),
168
- s("div", { class: "sp-row-hint" }, " Multiplier on every hour worked on a public holiday, not just the overtime. ")
169
- ], -1)),
170
- s("div", es, [
171
- n(s("input", {
172
- "onUpdate:modelValue": t[3] || (t[3] = (o) => l(e).draft.payRate.PUBLIC_HOLIDAY.regular = o),
173
- class: "sp-num",
174
- type: "number",
175
- min: "1",
176
- max: "4",
177
- step: "0.1"
178
- }, null, 512), [
179
- [
180
- d,
181
- l(e).draft.payRate.PUBLIC_HOLIDAY.regular,
182
- void 0,
183
- { number: !0 }
184
- ]
185
- ]),
186
- t[19] || (t[19] = s("span", { class: "sp-unit" }, "×", -1))
187
- ])
188
- ]),
189
- s("div", os, [
190
- t[22] || (t[22] = s("div", { class: "sp-row-main" }, [
191
- s("div", { class: "sp-row-label" }, "Public holiday · overtime"),
192
- s("div", { class: "sp-row-hint" }, " Multiplier past the daily OT threshold on a public holiday. ")
193
- ], -1)),
194
- s("div", ls, [
195
- n(s("input", {
196
- "onUpdate:modelValue": t[4] || (t[4] = (o) => l(e).draft.payRate.PUBLIC_HOLIDAY.overtime = o),
197
- class: "sp-num",
198
- type: "number",
199
- min: "1",
200
- max: "4",
201
- step: "0.1"
202
- }, null, 512), [
203
- [
204
- d,
205
- l(e).draft.payRate.PUBLIC_HOLIDAY.overtime,
206
- void 0,
207
- { number: !0 }
208
- ]
209
- ]),
210
- t[21] || (t[21] = s("span", { class: "sp-unit" }, "×", -1))
211
- ])
212
- ])
213
- ])
214
- ])
215
- ]),
216
- s("div", {
217
- class: c(["sp-save", { dirty: l(e).dirty.value, arming: a.value }])
218
- }, [
219
- s("div", as, [
220
- v(p(a.value ? "Discard unsaved changes?" : "Unsaved changes") + " ", 1),
221
- a.value ? T("", !0) : (u(), r("span", is, "— save or discard before leaving."))
222
- ]),
223
- s("button", {
224
- type: "button",
225
- class: "am-btn am-btn-sec",
226
- onClick: t[5] || (t[5] = (o) => R())
227
- }, p(a.value ? "Confirm discard" : "Discard"), 1),
228
- s("button", {
229
- type: "button",
230
- class: "am-btn am-btn-primary",
231
- onClick: t[6] || (t[6] = (o) => l(e).save())
232
- }, " Save changes ")
233
- ], 2)
234
- ])
235
- ])
236
- ])
237
- ]));
238
- }
239
- });
240
- export {
241
- ys as default
242
- };