@feedmepos/mf-hrm-portal 2.3.0-dev.10 → 2.3.0-dev.11

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 (49) hide show
  1. package/dist/{ApprovalCodeList-BLA2rhLB.js → ApprovalCodeList-Ce9BWzt9.js} +2 -2
  2. package/dist/{AuditLogList-DBYdZhZl.js → AuditLogList-Cw7WN8K4.js} +3 -3
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CtCEzPbE.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BuofBFPC.js} +2 -2
  4. package/dist/{EmployeeList-CA7DWLmy.js → EmployeeList-B8qWPNvj.js} +23 -22
  5. package/dist/{GrantUserList-BYnegeEr.js → GrantUserList-CgigJIPF.js} +3 -3
  6. package/dist/{Main-BeXx0hAc.js → Main-BfoVdxlY.js} +5 -5
  7. package/dist/{Main-Dh-gZSaa.js → Main-Cg2vC_cj.js} +2 -2
  8. package/dist/{Main-NDK7LUmm.js → Main-D26pgKy1.js} +9 -9
  9. package/dist/{PermissionSetList-DDIacDpQ.js → PermissionSetList-CbtDiF4k.js} +17 -16
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ONMn3v_f.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DW1oBTbb.js} +680 -680
  11. package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +132 -0
  12. package/dist/{RoleList-B30FHIzu.js → RoleList-D0I8mbyI.js} +19 -18
  13. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRRguWTG.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Ctwukt6o.js} +1 -1
  14. package/dist/{ScheduleGeneralPage-8gEeZbFR.js → ScheduleGeneralPage-Kv4pnxCL.js} +130 -128
  15. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-TfxTAjO8.js → ScheduleModal.vue_vue_type_script_setup_true_lang-CSA0aaqJ.js} +545 -512
  16. package/dist/SchedulePage-BMWd0bod.js +17942 -0
  17. package/dist/{SchedulePositionPage-oGIDGneA.js → SchedulePositionPage-5Xvx6Dk5.js} +3 -3
  18. package/dist/{TeamMemberList-Drj6R4Y3.js → TeamMemberList-Bh7i5l16.js} +20 -19
  19. package/dist/{TimesheetList-CDQfN5LE.js → TimesheetList-BJKU-hnk.js} +5 -5
  20. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Bx-6hjs7.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-MMWnb9bj.js} +2 -2
  21. package/dist/{app-DWe_4-ct.js → app-BDJ5qxhF.js} +8 -8
  22. package/dist/app.js +1 -1
  23. package/dist/{dayjs.min-QSwC9dtX.js → dayjs.min-BWM0vY4w.js} +1 -1
  24. package/dist/{employee-Bb2b3dP6.js → employee-bBSuAJUr.js} +3 -3
  25. package/dist/{iteration-TDU7bFxZ.js → iteration-Dg7VAkAn.js} +1 -1
  26. package/dist/{lodash-D3Ns5VMN.js → lodash-BknY3p4o.js} +1 -1
  27. package/dist/{role-D57Le_-U.js → role-BJnJnNd_.js} +1 -1
  28. package/dist/{rule-DzesUEX7.js → rule-BEuOY7Wf.js} +2 -2
  29. package/dist/src/composables/useDiscardConfirm.d.ts +3 -1
  30. package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +2 -1
  31. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +1 -0
  32. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +0 -3
  33. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +2 -0
  34. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +7 -0
  35. package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +2 -2
  36. package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +1 -0
  37. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +7 -0
  38. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +2 -0
  39. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +1 -0
  40. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +6 -1
  41. package/dist/src/views/scheduling/schedule-store.d.ts +13 -0
  42. package/dist/src/views/scheduling/types.d.ts +2 -0
  43. package/dist/style.css +1 -1
  44. package/dist/tsconfig.app.tsbuildinfo +1 -1
  45. package/dist/useDiscardConfirm-CzZSPyvh.js +28 -0
  46. package/dist/{useReportPermissions-Cmuead1K.js → useReportPermissions-D8hJ5W0t.js} +3 -3
  47. package/package.json +1 -1
  48. package/dist/SchedulePage-DQ0VXWWi.js +0 -17832
  49. package/dist/useDiscardConfirm-DPhEV6v0.js +0 -157
@@ -1,157 +0,0 @@
1
- import { defineComponent as x, ref as M, resolveComponent as l, createBlock as a, openBlock as t, withCtx as i, createElementVNode as g, renderSlot as b, createCommentVNode as k, withModifiers as $, nextTick as I, createElementBlock as f, normalizeClass as h, createTextVNode as V, toDisplayString as C, computed as w, Fragment as B, renderList as F, createVNode as S } from "vue";
2
- import { useBreakpoints as z, useDialog as D } from "@feedmepos/ui-library";
3
- import { useI18n as N } from "@feedmepos/mf-common";
4
- const A = /* @__PURE__ */ x({
5
- __name: "BottomSheetMenu",
6
- setup(o) {
7
- const e = M(!1);
8
- async function r() {
9
- await I(), e.value = !e.value;
10
- }
11
- return (n, s) => {
12
- const y = l("FmButton"), _ = l("FmBottomSheet");
13
- return t(), a(_, {
14
- modelValue: e.value,
15
- "onUpdate:modelValue": s[1] || (s[1] = (d) => e.value = d),
16
- "dismiss-away": "",
17
- "no-header": "",
18
- "z-index": 110
19
- }, {
20
- "bottom-sheet-button": i(() => [
21
- n.$slots.button ? k("", !0) : (t(), a(y, {
22
- key: 0,
23
- icon: "more_vert",
24
- variant: "tertiary",
25
- onClick: $(r, ["stop"])
26
- })),
27
- b(n.$slots, "button")
28
- ]),
29
- default: i(() => [
30
- g("div", {
31
- onClick: s[0] || (s[0] = (d) => e.value = !1)
32
- }, [
33
- b(n.$slots, "default")
34
- ])
35
- ]),
36
- _: 3
37
- }, 8, ["modelValue"]);
38
- };
39
- }
40
- }), E = { class: "py-8 px-12 hover:bg-fm-color-neutral-gray-100" }, T = /* @__PURE__ */ x({
41
- __name: "BottomSheetMenuItem",
42
- props: {
43
- label: {},
44
- icon: {},
45
- disabled: { type: Boolean },
46
- itemClass: {}
47
- },
48
- setup(o) {
49
- const e = o;
50
- return (r, n) => {
51
- const s = l("FmIcon");
52
- return t(), f("div", E, [
53
- r.$slots.content ? k("", !0) : (t(), f("div", {
54
- key: 0,
55
- class: h(["flex items-center", {
56
- "text-fm-color-typo-disabled": e.disabled,
57
- "cursor-pointer": !e.disabled,
58
- "cursor-not-allowed": e.disabled,
59
- [e.itemClass || ""]: e.itemClass && !e.disabled
60
- }])
61
- }, [
62
- o.icon ? (t(), a(s, {
63
- key: 0,
64
- name: o.icon
65
- }, null, 8, ["name"])) : k("", !0),
66
- V(" " + C(o.label), 1)
67
- ], 2)),
68
- b(r.$slots, "content")
69
- ]);
70
- };
71
- }
72
- }), U = /* @__PURE__ */ x({
73
- __name: "ResponsiveContextMenu",
74
- props: {
75
- items: {}
76
- },
77
- setup(o) {
78
- const e = z(), r = w(() => e.breakpoints.value.xs);
79
- return (n, s) => {
80
- const y = l("FmButton"), _ = l("FmMenuItem"), d = l("FmMenu");
81
- return r.value ? (t(), a(A, { key: 0 }, {
82
- default: i(() => [
83
- (t(!0), f(B, null, F(o.items, ({ icon: c, label: m, disabled: p, itemClass: u, onClick: v }) => (t(), a(T, {
84
- key: m,
85
- icon: c,
86
- label: m,
87
- disabled: p,
88
- itemClass: u,
89
- onClick: () => {
90
- !p && (v == null || v());
91
- }
92
- }, null, 8, ["icon", "label", "disabled", "itemClass", "onClick"]))), 128))
93
- ]),
94
- _: 1
95
- })) : (t(), a(d, {
96
- key: 1,
97
- "stop-click-propagation": "",
98
- shift: !0
99
- }, {
100
- "menu-button": i(() => [
101
- S(y, {
102
- type: "button",
103
- variant: "tertiary",
104
- icon: "more_vert",
105
- "text-color": "neutral-gray-400",
106
- size: "md"
107
- })
108
- ]),
109
- default: i(() => [
110
- (t(!0), f(B, null, F(o.items, ({ label: c, disabled: m, itemClass: p, onClick: u }) => (t(), a(_, {
111
- key: c,
112
- disabled: m,
113
- label: c,
114
- onClick: () => {
115
- !m && (u == null || u());
116
- }
117
- }, {
118
- label: i(() => [
119
- g("span", {
120
- class: h(m ? "text-fm-color-typo-disabled" : p)
121
- }, C(c), 3)
122
- ]),
123
- _: 2
124
- }, 1032, ["disabled", "label", "onClick"]))), 128))
125
- ]),
126
- _: 1
127
- }));
128
- };
129
- }
130
- });
131
- function j(o, e) {
132
- const r = D(), { t: n } = N();
133
- function s() {
134
- o() ? r.open({
135
- title: n("portalCommon.dismiss.title"),
136
- message: n("portalCommon.dismiss.message"),
137
- zIndex: 200,
138
- primaryActions: {
139
- text: n("portalCommon.dismiss.primaryActions"),
140
- variant: "primary",
141
- close: !0
142
- },
143
- secondaryActions: {
144
- text: n("common.cancel"),
145
- variant: "tertiary",
146
- close: !0
147
- }
148
- }).onPrimary(() => {
149
- e();
150
- }) : e();
151
- }
152
- return s;
153
- }
154
- export {
155
- U as _,
156
- j as u
157
- };