@feedmepos/mf-hrm-portal 2.3.0 → 2.3.1-dev.1
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-DwubNElp.js → ApprovalCodeList-CDU3yUHy.js} +7 -7
- package/dist/AuditLogList-BU11Q5sF.js +1950 -0
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CmLLNcB4.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BjHwyaXu.js} +2 -2
- package/dist/{EmployeeList-DEAJPx9F.js → EmployeeList-BqzXg3uA.js} +8 -8
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-OAvd6eHM.js → FormItem.vue_vue_type_script_setup_true_lang-Clh43Y-8.js} +1 -1
- package/dist/{GrantUserList-Dx4jF2qJ.js → GrantUserList-Cw8RkFqf.js} +8 -8
- package/dist/{Main-BirWXk7o.js → Main-BxcRbcce.js} +5 -5
- package/dist/{Main-CL5JYCPg.js → Main-CL-ysWRu.js} +8 -8
- package/dist/{Main-C2PBSCte.js → Main-Dlar77Zq.js} +11 -11
- package/dist/{PermissionSetList-BtYcqPiO.js → PermissionSetList-_8aBzGy7.js} +7 -7
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BXw4aX39.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CNgtAtYH.js} +1292 -1292
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DaAx79pC.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js} +1 -1
- package/dist/{RoleList-YS_LBfoJ.js → RoleList-C3n_zOB3.js} +9 -9
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CnrbCggg.js +544 -0
- package/dist/ScheduleGeneralPage-DGHKW_ww.js +811 -0
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-CnKzVz3I.js → ScheduleModal.vue_vue_type_script_setup_true_lang-AfTAGsh1.js} +933 -834
- package/dist/SchedulePage-UzDPRldO.js +19458 -0
- package/dist/SchedulePositionPage-RHETW36P.js +282 -0
- package/dist/{SelectFilter-Dh3eY1hV.js → SelectFilter-CeBV_Kug.js} +1 -1
- package/dist/{TeamMemberList-Bv6_2bzs.js → TeamMemberList-B-qR7VS3.js} +11 -11
- package/dist/{TimesheetList-B3BmpH0I.js → TimesheetList-BqRIZBt1.js} +8 -8
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-C4rbnZh1.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-oIBUAjtv.js} +3 -3
- package/dist/{app-CyS8c8dx.js → app-DFL6Nv_p.js} +10360 -3848
- package/dist/app.js +1 -1
- package/dist/{approval-code-BIpLingm.js → approval-code-BXUiojPH.js} +1 -1
- package/dist/{dayjs.min-BRlEc3-d.js → dayjs.min-CH-gVmsz.js} +1 -1
- package/dist/{employee-CcdjLOLQ.js → employee-3xpIjR6i.js} +4 -4
- package/dist/{grant-user-uZmvD_bw.js → grant-user-CBJ3gEgW.js} +1 -1
- package/dist/{iteration-CL1RDmws.js → iteration-D6wutq5U.js} +1 -1
- package/dist/{lodash-C00ieagp.js → lodash-D5kU1nPN.js} +1 -1
- package/dist/{restaurant-CHpkjUPy.js → restaurant-D2mfKHaH.js} +2 -2
- package/dist/{role-DtatkKp9.js → role-B7nu6hH1.js} +2 -2
- package/dist/{rule-DJJMpkoG.js → rule-CMd6SL3n.js} +3 -3
- package/dist/src/api/audit-log/index.d.ts +4 -0
- package/dist/src/views/audit-log/constants.d.ts +9 -30
- package/dist/src/views/audit-log/locales/index.d.ts +236 -0
- package/dist/src/views/audit-log/pos-row.d.ts +27 -0
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +0 -2
- package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +5 -3
- package/dist/src/views/scheduling/composables/onboarding-constants.d.ts +2 -0
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +1 -1
- package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +10 -0
- package/dist/src/views/scheduling/composables/schedule-cost.d.ts +5 -0
- package/dist/src/views/scheduling/composables/schedule-currency.d.ts +22 -0
- package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +1 -1
- package/dist/src/views/scheduling/composables/schedule-leave-split.d.ts +4 -0
- package/dist/src/views/scheduling/composables/schedule-quick-pick.d.ts +2 -1
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +5 -5
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +5 -5
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +2 -2
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +9 -12
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +7 -6
- package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +12 -0
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +1 -1
- package/dist/src/views/scheduling/country-rules/index.d.ts +5 -1
- package/dist/src/views/scheduling/locales/index.d.ts +6272 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-Bp0PwbAN.js → useAppStore-DZCdxlCd.js} +1 -1
- package/dist/{useLoading-sgL8DRUz.js → useLoading-Nygx2zn8.js} +1 -1
- package/dist/{useReportPermissions-DI-xg3OX.js → useReportPermissions-BcxIKxlF.js} +3 -3
- package/package.json +1 -1
- package/dist/AuditLogList-CTeMbyHL.js +0 -1778
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BorKuXxL.js +0 -530
- package/dist/ScheduleGeneralPage-C1p2mivt.js +0 -780
- package/dist/SchedulePage-BP7x7JAl.js +0 -19485
- package/dist/SchedulePositionPage-BogOQZVW.js +0 -262
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { defineComponent as S, ref as x, onMounted as N, computed as z, createElementBlock as d, openBlock as c, createElementVNode as t, createVNode as a, withCtx as u, toDisplayString as l, unref as e, createTextVNode as r, normalizeClass as _, createCommentVNode as A, withDirectives as P, withKeys as k, vModelText as E, Fragment as C, renderList as V, withModifiers as f } from "vue";
|
|
2
|
+
import { useRouter as B } from "vue-router";
|
|
3
|
+
import { useSnackbar as I } from "@feedmepos/ui-library";
|
|
4
|
+
import { useI18n as O } from "@feedmepos/mf-common";
|
|
5
|
+
import { R as L, a as T } from "./app-DFL6Nv_p.js";
|
|
6
|
+
import { aA as U, aB as H, ai as R, av as h, ax as j } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-AfTAGsh1.js";
|
|
7
|
+
import { u as K, a as q, _ as Q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CnrbCggg.js";
|
|
8
|
+
const W = { class: "main" }, G = {
|
|
9
|
+
id: "viewPositions",
|
|
10
|
+
class: "view"
|
|
11
|
+
}, J = { class: "sp-head" }, X = { class: "sp-title-row" }, Y = { class: "sp-title" }, Z = { class: "page-tags" }, ee = {
|
|
12
|
+
class: "sch-badge page-tag-premium",
|
|
13
|
+
"data-color": "brand"
|
|
14
|
+
}, se = {
|
|
15
|
+
class: "sch-badge",
|
|
16
|
+
"data-color": "info"
|
|
17
|
+
}, te = { class: "sp-sub" }, oe = { class: "outlet-bar" }, ie = { class: "outlet-bar-lbl" }, ne = { class: "sp-body" }, le = { class: "sp-content" }, ae = { class: "sp-panel" }, de = { class: "cfg-head" }, ce = { class: "cfg-title" }, ue = { class: "cfg-count" }, re = { id: "skList" }, he = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "cfg-empty"
|
|
20
|
+
}, ge = {
|
|
21
|
+
key: 1,
|
|
22
|
+
class: "cfg-list"
|
|
23
|
+
}, pe = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "cfg-row"
|
|
26
|
+
}, me = { class: "cfg-main" }, ve = ["placeholder"], fe = ["onClick"], _e = { class: "cfg-main" }, ye = { class: "cfg-name" }, be = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "cfg-confirm"
|
|
29
|
+
}, ke = { class: "q" }, Ce = /* @__PURE__ */ S({
|
|
30
|
+
__name: "SchedulePositionPage",
|
|
31
|
+
setup(we) {
|
|
32
|
+
const y = x(null);
|
|
33
|
+
U(y);
|
|
34
|
+
const w = B(), { t: o } = O(), M = I(), b = (m, n = "info") => M.open({ message: m, type: n }), s = K({ notify: b }), g = H(), p = q(void 0, { notify: b });
|
|
35
|
+
N(async () => {
|
|
36
|
+
await g.resolve() && await R(/* @__PURE__ */ new Date());
|
|
37
|
+
});
|
|
38
|
+
const $ = z(
|
|
39
|
+
() => g.options.value.length ? g.options.value : [{ value: "", label: o("scheduling.settings.noOutletSelected"), disabled: !0 }]
|
|
40
|
+
);
|
|
41
|
+
function D(m) {
|
|
42
|
+
g.switchTo(m, /* @__PURE__ */ new Date());
|
|
43
|
+
}
|
|
44
|
+
function F() {
|
|
45
|
+
w.push({ name: L.SCHEDULE });
|
|
46
|
+
}
|
|
47
|
+
return (m, n) => (c(), d("div", {
|
|
48
|
+
ref_key: "rootEl",
|
|
49
|
+
ref: y,
|
|
50
|
+
class: "sch"
|
|
51
|
+
}, [
|
|
52
|
+
t("div", W, [
|
|
53
|
+
t("div", G, [
|
|
54
|
+
t("div", J, [
|
|
55
|
+
a(h, {
|
|
56
|
+
hierarchy: "ghost",
|
|
57
|
+
size: "sm",
|
|
58
|
+
class: "sp-back",
|
|
59
|
+
type: "button",
|
|
60
|
+
onClick: F
|
|
61
|
+
}, {
|
|
62
|
+
default: u(() => [
|
|
63
|
+
n[7] || (n[7] = t("svg", {
|
|
64
|
+
width: "12",
|
|
65
|
+
height: "12",
|
|
66
|
+
viewBox: "0 0 16 16",
|
|
67
|
+
fill: "none",
|
|
68
|
+
"aria-hidden": "true"
|
|
69
|
+
}, [
|
|
70
|
+
t("path", {
|
|
71
|
+
d: "M10 3.5L5.5 8l4.5 4.5",
|
|
72
|
+
stroke: "currentColor",
|
|
73
|
+
"stroke-width": "1.7",
|
|
74
|
+
"stroke-linecap": "round",
|
|
75
|
+
"stroke-linejoin": "round"
|
|
76
|
+
})
|
|
77
|
+
], -1)),
|
|
78
|
+
t("span", null, l(e(o)("scheduling.settings.backToSchedule")), 1)
|
|
79
|
+
]),
|
|
80
|
+
_: 1
|
|
81
|
+
}),
|
|
82
|
+
t("div", X, [
|
|
83
|
+
t("div", Y, l(e(o)("scheduling.positions.title")), 1),
|
|
84
|
+
t("span", Z, [
|
|
85
|
+
t("span", ee, l(e(o)("scheduling.common.premium")), 1),
|
|
86
|
+
t("span", se, l(e(o)("scheduling.common.freeUntil")), 1)
|
|
87
|
+
])
|
|
88
|
+
]),
|
|
89
|
+
t("div", te, l(e(o)("scheduling.positions.subtitle")), 1),
|
|
90
|
+
t("div", oe, [
|
|
91
|
+
t("span", ie, l(e(o)("scheduling.settings.outlet")), 1),
|
|
92
|
+
a(j, {
|
|
93
|
+
class: "outlet-sel",
|
|
94
|
+
"aria-label": e(o)("scheduling.settings.outletAria"),
|
|
95
|
+
searchable: "",
|
|
96
|
+
title: e(o)("scheduling.positions.outletHint"),
|
|
97
|
+
"model-value": e(g).outletId.value,
|
|
98
|
+
options: $.value,
|
|
99
|
+
"onUpdate:modelValue": D
|
|
100
|
+
}, null, 8, ["aria-label", "title", "model-value", "options"])
|
|
101
|
+
])
|
|
102
|
+
]),
|
|
103
|
+
t("div", ne, [
|
|
104
|
+
t("div", le, [
|
|
105
|
+
t("div", ae, [
|
|
106
|
+
t("div", de, [
|
|
107
|
+
t("div", ce, l(e(o)("scheduling.positions.configured")), 1),
|
|
108
|
+
t("span", ue, l(e(s).count.value), 1),
|
|
109
|
+
n[8] || (n[8] = t("span", { class: "cfg-spacer" }, null, -1)),
|
|
110
|
+
a(h, {
|
|
111
|
+
hierarchy: "primary",
|
|
112
|
+
size: "sm",
|
|
113
|
+
class: "am-btn am-btn-primary",
|
|
114
|
+
type: "button",
|
|
115
|
+
onClick: n[0] || (n[0] = (i) => e(p).openNew())
|
|
116
|
+
}, {
|
|
117
|
+
default: u(() => [
|
|
118
|
+
r(l(e(o)("scheduling.positions.addPosition")), 1)
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
})
|
|
122
|
+
]),
|
|
123
|
+
t("div", {
|
|
124
|
+
class: _(["ce-err", { show: e(s).error.value }])
|
|
125
|
+
}, l(e(s).error.value), 3),
|
|
126
|
+
t("div", re, [
|
|
127
|
+
!e(s).positions.value.length && !e(s).isAdding.value ? (c(), d("div", he, [
|
|
128
|
+
r(l(e(o)("scheduling.positions.emptyTitle")), 1),
|
|
129
|
+
n[9] || (n[9] = t("br", null, null, -1)),
|
|
130
|
+
r(" " + l(e(o)("scheduling.positions.emptyHint")), 1)
|
|
131
|
+
])) : (c(), d("div", ge, [
|
|
132
|
+
e(s).isAdding.value ? (c(), d("div", pe, [
|
|
133
|
+
t("div", me, [
|
|
134
|
+
P(t("input", {
|
|
135
|
+
"onUpdate:modelValue": n[1] || (n[1] = (i) => e(s).newName.value = i),
|
|
136
|
+
type: "text",
|
|
137
|
+
class: "cfg-name-input",
|
|
138
|
+
placeholder: e(o)("scheduling.positions.newNamePlaceholder"),
|
|
139
|
+
autofocus: "",
|
|
140
|
+
onKeyup: [
|
|
141
|
+
n[2] || (n[2] = k((i) => e(s).confirmAdd(), ["enter"])),
|
|
142
|
+
n[3] || (n[3] = k((i) => e(s).cancelAdd(), ["esc"]))
|
|
143
|
+
]
|
|
144
|
+
}, null, 40, ve), [
|
|
145
|
+
[E, e(s).newName.value]
|
|
146
|
+
])
|
|
147
|
+
]),
|
|
148
|
+
a(h, {
|
|
149
|
+
hierarchy: "secondary",
|
|
150
|
+
size: "sm",
|
|
151
|
+
class: "cfg-btn",
|
|
152
|
+
type: "button",
|
|
153
|
+
disabled: !e(s).newName.value.trim() || e(s).saving.value,
|
|
154
|
+
onClick: n[4] || (n[4] = (i) => e(s).confirmAdd())
|
|
155
|
+
}, {
|
|
156
|
+
default: u(() => [
|
|
157
|
+
r(l(e(s).saving.value ? e(o)("scheduling.positions.adding") : e(o)("scheduling.positions.add")), 1)
|
|
158
|
+
]),
|
|
159
|
+
_: 1
|
|
160
|
+
}, 8, ["disabled"]),
|
|
161
|
+
a(h, {
|
|
162
|
+
hierarchy: "secondary",
|
|
163
|
+
size: "sm",
|
|
164
|
+
class: "cfg-btn",
|
|
165
|
+
type: "button",
|
|
166
|
+
disabled: e(s).saving.value,
|
|
167
|
+
onClick: n[5] || (n[5] = (i) => e(s).cancelAdd())
|
|
168
|
+
}, {
|
|
169
|
+
default: u(() => [
|
|
170
|
+
r(l(e(o)("scheduling.common.cancel")), 1)
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 8, ["disabled"])
|
|
174
|
+
])) : A("", !0),
|
|
175
|
+
(c(!0), d(C, null, V(e(s).positions.value, (i) => (c(), d("div", {
|
|
176
|
+
key: i.id,
|
|
177
|
+
class: _(["cfg-row", { "is-clickable": e(s).pendingDeleteId.value !== i.id }]),
|
|
178
|
+
onClick: (v) => e(s).pendingDeleteId.value !== i.id && e(p).openEdit(i.id, i.name)
|
|
179
|
+
}, [
|
|
180
|
+
t("div", _e, [
|
|
181
|
+
t("div", ye, l(i.name), 1)
|
|
182
|
+
]),
|
|
183
|
+
e(s).pendingDeleteId.value === i.id ? (c(), d("div", be, [
|
|
184
|
+
t("span", ke, l(e(s).usageCountFor(i.id) ? e(o)(
|
|
185
|
+
e(s).usageCountFor(i.id) === 1 ? "scheduling.positions.removeFromOne" : "scheduling.positions.removeFromMany",
|
|
186
|
+
{ count: e(s).usageCountFor(i.id) }
|
|
187
|
+
) : e(o)("scheduling.positions.deleteQuestion")), 1),
|
|
188
|
+
a(h, {
|
|
189
|
+
hierarchy: "danger",
|
|
190
|
+
size: "sm",
|
|
191
|
+
class: "cfg-yes",
|
|
192
|
+
type: "button",
|
|
193
|
+
disabled: e(s).saving.value,
|
|
194
|
+
onClick: f((v) => e(s).confirmDelete(i.id), ["stop"])
|
|
195
|
+
}, {
|
|
196
|
+
default: u(() => [
|
|
197
|
+
r(l(e(s).saving.value ? e(o)("scheduling.positions.deleting") : e(o)("scheduling.positions.delete")), 1)
|
|
198
|
+
]),
|
|
199
|
+
_: 1
|
|
200
|
+
}, 8, ["disabled", "onClick"]),
|
|
201
|
+
a(h, {
|
|
202
|
+
hierarchy: "secondary",
|
|
203
|
+
size: "sm",
|
|
204
|
+
class: "cfg-no",
|
|
205
|
+
type: "button",
|
|
206
|
+
disabled: e(s).saving.value,
|
|
207
|
+
onClick: n[6] || (n[6] = f((v) => e(s).cancelDelete(), ["stop"]))
|
|
208
|
+
}, {
|
|
209
|
+
default: u(() => [
|
|
210
|
+
r(l(e(o)("scheduling.positions.keep")), 1)
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
}, 8, ["disabled"])
|
|
214
|
+
])) : (c(), d(C, { key: 1 }, [
|
|
215
|
+
t("span", {
|
|
216
|
+
class: _(["cfg-used", { none: !e(s).usageCountFor(i.id) }])
|
|
217
|
+
}, l(e(s).usageCountFor(i.id) ? e(o)(
|
|
218
|
+
e(s).usageCountFor(i.id) === 1 ? "scheduling.positions.employeeCountOne" : "scheduling.positions.employeeCountMany",
|
|
219
|
+
{ count: e(s).usageCountFor(i.id) }
|
|
220
|
+
) : e(o)("scheduling.positions.unused")), 3),
|
|
221
|
+
a(h, {
|
|
222
|
+
hierarchy: "secondary",
|
|
223
|
+
size: "sm",
|
|
224
|
+
class: "cfg-btn",
|
|
225
|
+
type: "button",
|
|
226
|
+
onClick: f((v) => e(p).openEdit(i.id, i.name), ["stop"])
|
|
227
|
+
}, {
|
|
228
|
+
default: u(() => [
|
|
229
|
+
r(l(e(o)("scheduling.positions.edit")), 1)
|
|
230
|
+
]),
|
|
231
|
+
_: 1
|
|
232
|
+
}, 8, ["onClick"]),
|
|
233
|
+
a(h, {
|
|
234
|
+
hierarchy: "ghost",
|
|
235
|
+
size: "sm",
|
|
236
|
+
"icon-only": "",
|
|
237
|
+
class: "cfg-del",
|
|
238
|
+
type: "button",
|
|
239
|
+
"aria-label": e(o)("scheduling.positions.deleteAria", { name: i.name }),
|
|
240
|
+
onClick: f((v) => e(s).askDelete(i.id), ["stop"])
|
|
241
|
+
}, {
|
|
242
|
+
default: u(() => [...n[10] || (n[10] = [
|
|
243
|
+
t("svg", {
|
|
244
|
+
width: "14",
|
|
245
|
+
height: "14",
|
|
246
|
+
viewBox: "0 0 16 16",
|
|
247
|
+
fill: "none",
|
|
248
|
+
"aria-hidden": "true"
|
|
249
|
+
}, [
|
|
250
|
+
t("path", {
|
|
251
|
+
d: "M2.5 4.5h11M6 4.5V3a.8.8 0 0 1 .8-.8h2.4a.8.8 0 0 1 .8.8v1.5M4 4.5l.6 8.2a1 1 0 0 0 1 .93h4.8a1 1 0 0 0 1-.93l.6-8.2",
|
|
252
|
+
stroke: "currentColor",
|
|
253
|
+
"stroke-width": "1.4",
|
|
254
|
+
"stroke-linecap": "round",
|
|
255
|
+
"stroke-linejoin": "round"
|
|
256
|
+
}),
|
|
257
|
+
t("path", {
|
|
258
|
+
d: "M6.6 7v4M9.4 7v4",
|
|
259
|
+
stroke: "currentColor",
|
|
260
|
+
"stroke-width": "1.3",
|
|
261
|
+
"stroke-linecap": "round"
|
|
262
|
+
})
|
|
263
|
+
], -1)
|
|
264
|
+
])]),
|
|
265
|
+
_: 1
|
|
266
|
+
}, 8, ["aria-label", "onClick"])
|
|
267
|
+
], 64))
|
|
268
|
+
], 10, fe))), 128))
|
|
269
|
+
]))
|
|
270
|
+
])
|
|
271
|
+
])
|
|
272
|
+
])
|
|
273
|
+
])
|
|
274
|
+
])
|
|
275
|
+
]),
|
|
276
|
+
a(Q, { modal: e(p) }, null, 8, ["modal"])
|
|
277
|
+
], 512));
|
|
278
|
+
}
|
|
279
|
+
}), ze = /* @__PURE__ */ T(Ce, [["__scopeId", "data-v-28c5e4e2"]]);
|
|
280
|
+
export {
|
|
281
|
+
ze as default
|
|
282
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as $, computed as v, defineComponent as X, watch as Y, nextTick as Z, resolveComponent as F, createElementBlock as d, openBlock as c, createElementVNode as A, createVNode as b, renderSlot as z, withCtx as O, createCommentVNode as x, normalizeStyle as ee, Fragment as S, createBlock as T, unref as k, renderList as R, toDisplayString as N, normalizeClass as le, withModifiers as te } from "vue";
|
|
2
2
|
import "@feedmepos/ui-library";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { a as ae } from "./app-
|
|
4
|
+
import { a as ae } from "./app-DFL6Nv_p.js";
|
|
5
5
|
function ue(r, u, _ = r) {
|
|
6
6
|
const t = $(!0), C = v(() => {
|
|
7
7
|
if (!t.value && !u.value)
|
|
@@ -2,22 +2,22 @@ import { defineComponent as we, resolveComponent as F, createElementBlock as L,
|
|
|
2
2
|
import { useI18n as Ve, useCoreStore as Ze } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Le, useDialog as Qe, useBreakpoints as Ye, components as Oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { u as ps } from "./useDebounce-B8ZPVS5C.js";
|
|
5
|
-
import { S as ye } from "./SelectFilter-
|
|
6
|
-
import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-
|
|
5
|
+
import { S as ye } from "./SelectFilter-CeBV_Kug.js";
|
|
6
|
+
import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-DFL6Nv_p.js";
|
|
7
7
|
import { _ as gs } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
|
|
8
8
|
import { _ as _s } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
9
9
|
import { s as Us, _ as Ss, a as xs, b as Fs, c as Ps } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
|
|
10
|
-
import { u as He } from "./useLoading-
|
|
10
|
+
import { u as He } from "./useLoading-Nygx2zn8.js";
|
|
11
11
|
import { u as Is } from "./useDiscardConfirm-CzZSPyvh.js";
|
|
12
12
|
import { n as es } from "./string-VNuQNweN.js";
|
|
13
|
-
import { l as Pe } from "./lodash-
|
|
14
|
-
import { c as he } from "./iteration-
|
|
15
|
-
import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as ws, j as Ke, k as Vs, l as ks, n as Rs, o as Cs, q as $s } from "./rule-
|
|
16
|
-
import { u as as } from "./role-
|
|
17
|
-
import { u as ls, i as Ms } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-
|
|
18
|
-
import "./useAppStore-
|
|
19
|
-
import { g as ze, b as We, u as os } from "./restaurant-
|
|
20
|
-
import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { l as Pe } from "./lodash-D5kU1nPN.js";
|
|
14
|
+
import { c as he } from "./iteration-D6wutq5U.js";
|
|
15
|
+
import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as ws, j as Ke, k as Vs, l as ks, n as Rs, o as Cs, q as $s } from "./rule-CMd6SL3n.js";
|
|
16
|
+
import { u as as } from "./role-B7nu6hH1.js";
|
|
17
|
+
import { u as ls, i as Ms } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js";
|
|
18
|
+
import "./useAppStore-DZCdxlCd.js";
|
|
19
|
+
import { g as ze, b as We, u as os } from "./restaurant-D2mfKHaH.js";
|
|
20
|
+
import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CNgtAtYH.js";
|
|
21
21
|
var Ue = /* @__PURE__ */ ((o) => (o.Update = "Update", o.Remove = "Remove", o))(Ue || {});
|
|
22
22
|
const Ie = "__unassigned__";
|
|
23
23
|
function Je(o) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ref as d, computed as g, defineComponent as pe, onMounted as fe, watch as Z, resolveComponent as u, createElementBlock as P, openBlock as E, Fragment as ee, createVNode as l, createElementVNode as i, unref as n, withCtx as b, createCommentVNode as ve, toDisplayString as O, createTextVNode as he, isRef as ge, renderList as we, createBlock as te, nextTick as ye } from "vue";
|
|
2
|
-
import { d as v } from "./dayjs.min-
|
|
2
|
+
import { d as v } from "./dayjs.min-CH-gVmsz.js";
|
|
3
3
|
import { useI18n as _e } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as be, components as xe } from "@feedmepos/ui-library";
|
|
5
|
-
import { S as De } from "./SelectFilter-
|
|
6
|
-
import { _ as Se, a as Ve } from "./app-
|
|
5
|
+
import { S as De } from "./SelectFilter-CeBV_Kug.js";
|
|
6
|
+
import { _ as Se, a as Ve } from "./app-DFL6Nv_p.js";
|
|
7
7
|
import { _ as ke } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
8
|
-
import { u as Ce } from "./useLoading-
|
|
9
|
-
import { g as Fe, s as Ye } from "./iteration-
|
|
8
|
+
import { u as Ce } from "./useLoading-Nygx2zn8.js";
|
|
9
|
+
import { g as Fe, s as Ye } from "./iteration-D6wutq5U.js";
|
|
10
10
|
import { f as Le } from "./utils-BZkjJbju.js";
|
|
11
11
|
import { n as Me } from "./string-VNuQNweN.js";
|
|
12
|
-
import { u as Te } from "./employee-
|
|
13
|
-
import { u as Ie } from "./restaurant-
|
|
14
|
-
import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-
|
|
12
|
+
import { u as Te } from "./employee-3xpIjR6i.js";
|
|
13
|
+
import { u as Ie } from "./restaurant-D2mfKHaH.js";
|
|
14
|
+
import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-oIBUAjtv.js";
|
|
15
15
|
function $e(x, a) {
|
|
16
16
|
return ["years", "months"].find((S) => {
|
|
17
17
|
const V = x.startOf(S), p = x.endOf(S);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as i } from "./dayjs.min-
|
|
1
|
+
import { d as i } from "./dayjs.min-CH-gVmsz.js";
|
|
2
2
|
import { defineStore as p, storeToRefs as T } from "pinia";
|
|
3
3
|
import { ref as l } from "vue";
|
|
4
|
-
import { b as c, g as y } from "./restaurant-
|
|
5
|
-
import { s as S } from "./iteration-
|
|
4
|
+
import { b as c, g as y } from "./restaurant-D2mfKHaH.js";
|
|
5
|
+
import { s as S } from "./iteration-D6wutq5U.js";
|
|
6
6
|
import { i as f, f as g } from "./utils-BZkjJbju.js";
|
|
7
7
|
const u = {
|
|
8
8
|
async readTimesheets(t, e) {
|