@feedmepos/mf-hrm-portal 2.0.23 → 2.0.24-dev.3
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/AuditLogList-Czy2T2Rx.js +1056 -0
- package/dist/{EmployeeList-DV6b-sUl.js → EmployeeList-DXTIVdNQ.js} +8 -8
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js → FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js} +1 -1
- package/dist/{Main-ikZ4GbMs.js → Main-BBGd8ZTL.js} +6 -6
- package/dist/{Main-brGoD5LT.js → Main-DndCDnpH.js} +6 -6
- package/dist/{Main--_6xW_6T.js → Main-lGjnpbfI.js} +9 -9
- package/dist/{PermissionSetList-Ba_OoTIV.js → PermissionSetList-ENyBOnPF.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DE6kAP4K.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BWBZROlT.js} +464 -464
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Dgiy6--r.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-CDtl09zY.js} +1 -1
- package/dist/{RoleList-hbFtGRXp.js → RoleList-BX_2VJZ6.js} +7 -7
- package/dist/SelectFilter-C61IZSID.js +269 -0
- package/dist/{TeamMemberList-CLQB9CrO.js → TeamMemberList-D5dwxHbo.js} +57 -57
- package/dist/{TimesheetList-DGLg16vD.js → TimesheetList-B92TB91G.js} +7 -7
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-DAq_QztI.js → TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-fZeEZTuq.js} +2 -2
- package/dist/{app-BvSnSbKt.js → app-KE1Um386.js} +27 -46
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-0cwnJZKr.js → dayjs.min-1lGJFcPX.js} +1 -1
- package/dist/{employee-BI_kMMXy.js → employee-BqMV_HCx.js} +3 -3
- package/dist/{iteration-BWe1Eiu-.js → iteration-DlBvbGKr.js} +3 -3
- package/dist/{lodash-D89ipwrs.js → lodash-aPPIHJY6.js} +1 -1
- package/dist/{rule-CwMu9Wr3.js → rule-BxTkC7Lz.js} +25 -25
- package/dist/src/components/form/SelectFilter.vue.d.ts +3 -0
- package/dist/src/views/audit-log/locales/index.d.ts +8 -12
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BFSRwyzx.js → useAppStore-DT7SMn0u.js} +1 -1
- package/dist/{useLoading-8AI-5_oV.js → useLoading-DogwStiv.js} +1 -1
- package/dist/{useReportPermissions-CwaUFfn0.js → useReportPermissions-CsXjuESs.js} +3 -3
- package/package.json +2 -2
- package/dist/AuditLogList-D5ptt1oj.js +0 -1037
- package/dist/SelectFilter-DUj7GBtT.js +0 -251
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as Se, resolveComponent as V, createElementBlock as D, openBlock as y, createElementVNode as r, createVNode as u, toDisplayString as
|
|
1
|
+
import { defineComponent as Se, resolveComponent as V, createElementBlock as D, openBlock as y, createElementVNode as r, createVNode as u, toDisplayString as I, unref as o, ref as f, computed as P, createCommentVNode as T, withCtx as ue, createBlock as q, watch as me, Fragment as ke, renderList as ls, withKeys as Be, withModifiers as Fe, nextTick as os, onUnmounted as ns, h as rs, createTextVNode as is } from "vue";
|
|
2
2
|
import { useI18n as Ve, useCoreStore as Ae, baseClientInstance as je } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Je, useDialog as us, useBreakpoints as ms, components as Me } from "@feedmepos/ui-library";
|
|
4
4
|
import { u as ds, _ as cs } from "./useDebounce-CWb5QR9G.js";
|
|
5
|
-
import { _ as ps, S as be } from "./SelectFilter-
|
|
6
|
-
import { b as Ee, m as vs,
|
|
5
|
+
import { _ as ps, S as be } from "./SelectFilter-C61IZSID.js";
|
|
6
|
+
import { b as Ee, m as vs, C as fs, _ as bs, a as ys } from "./app-KE1Um386.js";
|
|
7
7
|
import { u as _s, _ as hs } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
8
8
|
import { _ as gs } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
9
|
-
import { u as xs } from "./useLoading-
|
|
10
|
-
import { l as Ne } from "./lodash-
|
|
11
|
-
import { g as Le, d as pe, u as Xe } from "./iteration-
|
|
12
|
-
import { u as Ze, c as Te, b as qe, m as
|
|
13
|
-
import { u as Ye } from "./useAppStore-
|
|
14
|
-
import { u as He } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-
|
|
15
|
-
import { _ as
|
|
9
|
+
import { u as xs } from "./useLoading-DogwStiv.js";
|
|
10
|
+
import { l as Ne } from "./lodash-aPPIHJY6.js";
|
|
11
|
+
import { g as Le, d as pe, u as Xe } from "./iteration-DlBvbGKr.js";
|
|
12
|
+
import { u as Ze, c as Te, b as qe, m as Ie, d as Qe, p as Ke, i as Us, j as ze, k as Ge, l as Fs, n as Ss, s as Vs, o as ws, q as Ps, t as Ue } from "./rule-BxTkC7Lz.js";
|
|
13
|
+
import { u as Ye } from "./useAppStore-DT7SMn0u.js";
|
|
14
|
+
import { u as He } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-CDtl09zY.js";
|
|
15
|
+
import { _ as Is } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BWBZROlT.js";
|
|
16
16
|
var _e = /* @__PURE__ */ ((m) => (m.Update = "Update", m.Remove = "Remove", m))(_e || {});
|
|
17
|
-
const
|
|
17
|
+
const ks = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-center gap-16" }, Rs = { class: "space-y-4 min-w-0 flex-1" }, Cs = { class: "text-fm-color-typo-secondary fm-typo-en-body-lg-400" }, Ms = { class: "fm-typo-en-body-lg-600 truncate" }, Ns = { class: "w-full flex gap-16 items-center" }, Ds = { class: "flex-1 flex flex-col gap-4 min-w-0" }, As = { class: "text-fm-color-typo-secondary fm-typo-en-body-lg-400" }, Os = { class: "fm-typo-en-body-lg-600 truncate" }, Bs = { class: "flex-1 flex flex-col gap-4 min-w-0" }, js = { class: "text-fm-color-typo-secondary fm-typo-en-body-lg-400" }, Es = { class: "fm-typo-en-body-lg-600 truncate" }, Ls = /* @__PURE__ */ Se({
|
|
18
18
|
__name: "MemberInfo",
|
|
19
19
|
props: {
|
|
20
20
|
data: {}
|
|
@@ -23,25 +23,25 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
23
23
|
const { t: A } = Ve();
|
|
24
24
|
return (n, a) => {
|
|
25
25
|
const d = V("FmAvatar");
|
|
26
|
-
return y(), D("div",
|
|
26
|
+
return y(), D("div", ks, [
|
|
27
27
|
r("div", $s, [
|
|
28
28
|
u(d, {
|
|
29
29
|
size: "xl",
|
|
30
30
|
initials: m.data.name
|
|
31
31
|
}, null, 8, ["initials"]),
|
|
32
32
|
r("div", Rs, [
|
|
33
|
-
r("p", Cs,
|
|
34
|
-
r("p", Ms,
|
|
33
|
+
r("p", Cs, I(o(A)("team.memberForm.memberInfo.memberName")), 1),
|
|
34
|
+
r("p", Ms, I(m.data.name || "--"), 1)
|
|
35
35
|
])
|
|
36
36
|
]),
|
|
37
37
|
r("div", Ns, [
|
|
38
38
|
r("div", Ds, [
|
|
39
|
-
r("p", As,
|
|
40
|
-
r("p", Os,
|
|
39
|
+
r("p", As, I(o(A)("team.memberForm.memberInfo.mobileNumber")), 1),
|
|
40
|
+
r("p", Os, I(m.data.phoneNumber || "--"), 1)
|
|
41
41
|
]),
|
|
42
42
|
r("div", Bs, [
|
|
43
|
-
r("p", js,
|
|
44
|
-
r("p", Es,
|
|
43
|
+
r("p", js, I(o(A)("team.memberForm.memberInfo.emailAddress")), 1),
|
|
44
|
+
r("p", Es, I(m.data.email || "--"), 1)
|
|
45
45
|
])
|
|
46
46
|
])
|
|
47
47
|
]);
|
|
@@ -146,11 +146,11 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
146
146
|
class: "profile-menu--profile cursor-pointer hover:bg-fm-color-opacity-sm",
|
|
147
147
|
onClick: S[3] || (S[3] = (w) => K(p.value))
|
|
148
148
|
}, [
|
|
149
|
-
r("div", Ks,
|
|
149
|
+
r("div", Ks, I(X.value), 1),
|
|
150
150
|
r("div", zs, [
|
|
151
|
-
r("p", Gs,
|
|
152
|
-
r("p", Ws,
|
|
153
|
-
r("p", Js,
|
|
151
|
+
r("p", Gs, I((Q = p.value) == null ? void 0 : Q.displayName), 1),
|
|
152
|
+
r("p", Ws, I((Y = p.value) == null ? void 0 : Y.email), 1),
|
|
153
|
+
r("p", Js, I((B = p.value) == null ? void 0 : B.phoneNumber), 1)
|
|
154
154
|
])
|
|
155
155
|
])) : T("", !0),
|
|
156
156
|
Z.value ? (y(), D("div", Xs, [
|
|
@@ -296,8 +296,8 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
296
296
|
return y(), D("div", Ys, [
|
|
297
297
|
r("div", Hs, [
|
|
298
298
|
r("div", et, [
|
|
299
|
-
r("div", st,
|
|
300
|
-
r("div", tt,
|
|
299
|
+
r("div", st, I(o(d)("team.memberForm.masterUser.title")), 1),
|
|
300
|
+
r("div", tt, I(o(d)("team.memberForm.masterUser.sublabel")), 1)
|
|
301
301
|
]),
|
|
302
302
|
r("div", null, [
|
|
303
303
|
u(x, {
|
|
@@ -307,7 +307,7 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
307
307
|
}, null, 8, ["model-value"])
|
|
308
308
|
])
|
|
309
309
|
]),
|
|
310
|
-
m.modelValue ? (y(), D(
|
|
310
|
+
m.modelValue ? (y(), D(ke, { key: 0 }, [
|
|
311
311
|
r("div", at, [
|
|
312
312
|
u(M, {
|
|
313
313
|
"model-value": m.modelValue.code,
|
|
@@ -323,7 +323,7 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
323
323
|
}, null, 8, ["model-value", "label", "rules"])
|
|
324
324
|
]),
|
|
325
325
|
r("div", lt, [
|
|
326
|
-
r("div", ot,
|
|
326
|
+
r("div", ot, I(o(d)("team.memberForm.masterUser.passcode")), 1),
|
|
327
327
|
u(Y, {
|
|
328
328
|
modelValue: j.value,
|
|
329
329
|
"onUpdate:modelValue": l[4] || (l[4] = (c) => j.value = c),
|
|
@@ -355,14 +355,14 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
355
355
|
}, {
|
|
356
356
|
default: ue(() => [
|
|
357
357
|
r("div", nt, [
|
|
358
|
-
r("div", rt,
|
|
358
|
+
r("div", rt, I(o(d)("team.memberForm.masterUser.assignmentSection")), 1),
|
|
359
359
|
r("div", it, [
|
|
360
360
|
r("div", ut, [
|
|
361
|
-
r("div", mt,
|
|
362
|
-
r("div", dt,
|
|
361
|
+
r("div", mt, I(o(d)("team.table.columns.restaurant")), 1),
|
|
362
|
+
r("div", dt, I(o(d)("team.memberForm.masterUser.role")), 1),
|
|
363
363
|
l[6] || (l[6] = r("div", null, null, -1))
|
|
364
364
|
]),
|
|
365
|
-
(y(!0), D(
|
|
365
|
+
(y(!0), D(ke, null, ls(m.modelValue.roles, (c, h) => (y(), D("div", {
|
|
366
366
|
key: `${c.restaurantId || "new"}-${h}`,
|
|
367
367
|
class: "grid grid-cols-[minmax(0,1fr)_minmax(0,1fr)_auto] items-center gap-16"
|
|
368
368
|
}, [
|
|
@@ -455,7 +455,7 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
455
455
|
() => Te(_.value, C.permissionSets.value)
|
|
456
456
|
), v = f((he = n.initialValue) == null ? void 0 : he.posUser), p = f(
|
|
457
457
|
qe(
|
|
458
|
-
|
|
458
|
+
Ie(O.value),
|
|
459
459
|
((ge = n.initialValue) == null ? void 0 : ge.permissions) || []
|
|
460
460
|
)
|
|
461
461
|
), { customReportPermissions: te, isLoaded: X } = Qe(), Z = new Set(
|
|
@@ -486,7 +486,7 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
486
486
|
}), l = f({ permissionSetIds: [], userPermissions: [], posUser: void 0 });
|
|
487
487
|
function x(t) {
|
|
488
488
|
d.value = void 0, _.value = [...(t == null ? void 0 : t.permissionSetIds) ?? []], p.value = qe(
|
|
489
|
-
|
|
489
|
+
Ie(
|
|
490
490
|
Te(
|
|
491
491
|
_.value,
|
|
492
492
|
C.permissionSets.value
|
|
@@ -509,14 +509,14 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
509
509
|
v.value = h(v.value, t);
|
|
510
510
|
}
|
|
511
511
|
function B() {
|
|
512
|
-
const t =
|
|
512
|
+
const t = Ie(O.value), b = X.value ? K.value : Z, k = Fs(p.value, b), $ = Ss(k, z.value), R = Vs($);
|
|
513
513
|
return ws(t, R);
|
|
514
514
|
}
|
|
515
515
|
function w() {
|
|
516
|
-
var
|
|
516
|
+
var k, $, R, H, re, ie, de, ae, ee, ce;
|
|
517
517
|
const t = B(), b = p.value.filter((se) => !se.inverted);
|
|
518
518
|
return {
|
|
519
|
-
email: ((
|
|
519
|
+
email: ((k = d.value) == null ? void 0 : k.email) ?? void 0,
|
|
520
520
|
phoneNumber: (($ = d.value) == null ? void 0 : $.phoneNumber) ?? void 0,
|
|
521
521
|
customPermissions: t,
|
|
522
522
|
permissions: b.map((se) => ({
|
|
@@ -536,15 +536,15 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
536
536
|
}
|
|
537
537
|
const W = f();
|
|
538
538
|
function c() {
|
|
539
|
-
p.value =
|
|
539
|
+
p.value = Ie(O.value);
|
|
540
540
|
}
|
|
541
541
|
function h(t, b) {
|
|
542
542
|
if (!t) return t;
|
|
543
|
-
const
|
|
544
|
-
if (
|
|
543
|
+
const k = ze(b), $ = Ge(b);
|
|
544
|
+
if (k === null && $ === null) return t;
|
|
545
545
|
const R = pe(t);
|
|
546
546
|
return R.roles = R.roles.filter(
|
|
547
|
-
(H) => (
|
|
547
|
+
(H) => (k === null || k.includes(H.roleId)) && ($ === null || $.includes(H.restaurantId))
|
|
548
548
|
), R;
|
|
549
549
|
}
|
|
550
550
|
const L = f(!!v.value), ve = f(!1);
|
|
@@ -585,7 +585,7 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
585
585
|
validate: we,
|
|
586
586
|
isModified: M
|
|
587
587
|
}), (t, b) => {
|
|
588
|
-
const
|
|
588
|
+
const k = V("FmSelect"), $ = V("FmCircularProgress"), R = V("FmForm");
|
|
589
589
|
return y(), q(R, {
|
|
590
590
|
ref_key: "formRef",
|
|
591
591
|
ref: ne,
|
|
@@ -604,11 +604,11 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
604
604
|
onInvite: b[0] || (b[0] = (ee) => Q(ee))
|
|
605
605
|
}))
|
|
606
606
|
]),
|
|
607
|
-
d.value || m.initialValue ? (y(), D(
|
|
607
|
+
d.value || m.initialValue ? (y(), D(ke, { key: 0 }, [
|
|
608
608
|
(H = m.initialValue) != null && H.isOwner ? T("", !0) : (y(), D("div", yt, [
|
|
609
609
|
r("div", _t, [
|
|
610
|
-
r("div", ht,
|
|
611
|
-
u(
|
|
610
|
+
r("div", ht, I(o(a)("team.memberForm.permissionSet.title")), 1),
|
|
611
|
+
u(k, {
|
|
612
612
|
modelValue: _.value,
|
|
613
613
|
"onUpdate:modelValue": [
|
|
614
614
|
b[1] || (b[1] = (ee) => _.value = ee),
|
|
@@ -622,8 +622,8 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
622
622
|
}, null, 8, ["modelValue", "items", "placeholder"])
|
|
623
623
|
]),
|
|
624
624
|
r("div", gt, [
|
|
625
|
-
r("div", xt,
|
|
626
|
-
u(
|
|
625
|
+
r("div", xt, I(o(a)("team.memberForm.permissions.title")), 1),
|
|
626
|
+
u(Is, {
|
|
627
627
|
modelValue: p.value,
|
|
628
628
|
"onUpdate:modelValue": b[2] || (b[2] = (ee) => p.value = ee),
|
|
629
629
|
"inherit-permissions": O.value,
|
|
@@ -661,10 +661,10 @@ const Is = { class: "w-full flex flex-col gap-16" }, $s = { class: "flex items-c
|
|
|
661
661
|
class: "flex w-full items-start justify-between px-16"
|
|
662
662
|
}, Pt = {
|
|
663
663
|
class: "flex items-start gap-8"
|
|
664
|
-
},
|
|
664
|
+
}, It = {
|
|
665
665
|
key: 1,
|
|
666
666
|
class: "space-y-4 px-16"
|
|
667
|
-
},
|
|
667
|
+
}, kt = {
|
|
668
668
|
class: "flex items-start gap-8"
|
|
669
669
|
}, $t = {
|
|
670
670
|
class: "flex h-full flex-col"
|
|
@@ -896,12 +896,12 @@ const Xt = /* @__PURE__ */ Se({
|
|
|
896
896
|
});
|
|
897
897
|
}, b = () => {
|
|
898
898
|
ne.value = null, h.value = le.ADD;
|
|
899
|
-
},
|
|
899
|
+
}, k = f(), $ = f(), R = f(), H = P(() => {
|
|
900
900
|
var e;
|
|
901
901
|
return JSON.stringify({
|
|
902
902
|
businessId: ((e = d.currentBusiness.value) == null ? void 0 : e._id) ?? "",
|
|
903
903
|
search: E.value.trim(),
|
|
904
|
-
restaurantIds: [...
|
|
904
|
+
restaurantIds: [...k.value ?? []].sort(),
|
|
905
905
|
permissionSubjects: [...$.value ?? []].sort(),
|
|
906
906
|
permissionSetIds: [...R.value ?? []].sort()
|
|
907
907
|
});
|
|
@@ -923,7 +923,7 @@ const Xt = /* @__PURE__ */ Se({
|
|
|
923
923
|
limit: ye,
|
|
924
924
|
offset: (e - 1) * ye,
|
|
925
925
|
search: E.value.trim() || void 0,
|
|
926
|
-
restaurantIds: (s =
|
|
926
|
+
restaurantIds: (s = k.value) != null && s.length ? k.value : void 0,
|
|
927
927
|
permissionSubjects: (U = $.value) != null && U.length ? $.value : void 0,
|
|
928
928
|
permissionSetIds: (F = R.value) != null && F.length ? R.value : void 0
|
|
929
929
|
});
|
|
@@ -1002,14 +1002,14 @@ const Xt = /* @__PURE__ */ Se({
|
|
|
1002
1002
|
}), (e, s) => {
|
|
1003
1003
|
var xe;
|
|
1004
1004
|
const U = V("FmSearch"), F = V("FmTable"), J = V("FmIcon"), oe = V("FmButton"), Pe = V("FmSideSheet");
|
|
1005
|
-
return y(), D(
|
|
1005
|
+
return y(), D(ke, null, [r("div", St, [r("div", Vt, [o(ge).xs ? (y(), D("div", It, [u(U, {
|
|
1006
1006
|
modelValue: S.value,
|
|
1007
1007
|
"onUpdate:modelValue": s[4] || (s[4] = (N) => S.value = N),
|
|
1008
1008
|
class: "w-[320px] xs:w-full xs:mt-8",
|
|
1009
1009
|
placeholder: o(a)("team.search.placeholder")
|
|
1010
|
-
}, null, 8, ["modelValue", "placeholder"]), r("div",
|
|
1011
|
-
modelValue:
|
|
1012
|
-
"onUpdate:modelValue": s[5] || (s[5] = (N) =>
|
|
1010
|
+
}, null, 8, ["modelValue", "placeholder"]), r("div", kt, [u(be, {
|
|
1011
|
+
modelValue: k.value,
|
|
1012
|
+
"onUpdate:modelValue": s[5] || (s[5] = (N) => k.value = N),
|
|
1013
1013
|
multiple: "",
|
|
1014
1014
|
items: G.value,
|
|
1015
1015
|
variant: "dark",
|
|
@@ -1033,8 +1033,8 @@ const Xt = /* @__PURE__ */ Se({
|
|
|
1033
1033
|
"selected-prefix": o(a)("team.filter.selected_assigned_role_prefix"),
|
|
1034
1034
|
placeholder: o(a)("team.filter.assigned_role_placeholder")
|
|
1035
1035
|
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"])])])) : (y(), D("div", wt, [r("div", Pt, [u(be, {
|
|
1036
|
-
modelValue:
|
|
1037
|
-
"onUpdate:modelValue": s[0] || (s[0] = (N) =>
|
|
1036
|
+
modelValue: k.value,
|
|
1037
|
+
"onUpdate:modelValue": s[0] || (s[0] = (N) => k.value = N),
|
|
1038
1038
|
multiple: "",
|
|
1039
1039
|
items: G.value,
|
|
1040
1040
|
variant: "dark",
|
|
@@ -1092,7 +1092,7 @@ const Xt = /* @__PURE__ */ Se({
|
|
|
1092
1092
|
"close-button": !1,
|
|
1093
1093
|
"onOn:clickedAway": o(fe)
|
|
1094
1094
|
}, {
|
|
1095
|
-
"side-sheet-header": ue(() => [r("div", Rt, [r("p", Ct,
|
|
1095
|
+
"side-sheet-header": ue(() => [r("div", Rt, [r("p", Ct, I($e.value), 1), u(J, {
|
|
1096
1096
|
name: "close",
|
|
1097
1097
|
size: "md",
|
|
1098
1098
|
class: "cursor-pointer",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ref as d, computed as g, defineComponent as pe, onMounted as ve, watch as ee, resolveComponent as u, createElementBlock as P, openBlock as _, Fragment as te, createVNode as l, createElementVNode as i, unref as r, withCtx as Y, createCommentVNode as fe, toDisplayString as O, createTextVNode as he, createBlock as z, isRef as ge, renderList as we, nextTick as ye } from "vue";
|
|
2
|
-
import { d as v } from "./dayjs.min-
|
|
2
|
+
import { d as v } from "./dayjs.min-1lGJFcPX.js";
|
|
3
3
|
import { useI18n as be } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as _e, components as xe } from "@feedmepos/ui-library";
|
|
5
|
-
import { S as De, _ as Se } from "./SelectFilter-
|
|
6
|
-
import { _ as ke } from "./app-
|
|
5
|
+
import { S as De, _ as Se } from "./SelectFilter-C61IZSID.js";
|
|
6
|
+
import { _ as ke } from "./app-KE1Um386.js";
|
|
7
7
|
import { _ as Ve } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
8
|
-
import { u as Ce } from "./useLoading-
|
|
9
|
-
import { u as Fe, c as Ye, s as Le } from "./iteration-
|
|
8
|
+
import { u as Ce } from "./useLoading-DogwStiv.js";
|
|
9
|
+
import { u as Fe, c as Ye, s as Le } from "./iteration-DlBvbGKr.js";
|
|
10
10
|
import { f as Me } from "./utils-BZkjJbju.js";
|
|
11
|
-
import { u as Te } from "./employee-
|
|
12
|
-
import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-
|
|
11
|
+
import { u as Te } from "./employee-BqMV_HCx.js";
|
|
12
|
+
import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-fZeEZTuq.js";
|
|
13
13
|
function Ie(x, a) {
|
|
14
14
|
return ["years", "months"].find((S) => {
|
|
15
15
|
const k = x.startOf(S), f = x.endOf(S);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as i } from "./dayjs.min-
|
|
1
|
+
import { d as i } from "./dayjs.min-1lGJFcPX.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, s as S } from "./iteration-
|
|
4
|
+
import { b as c, g as y, s as S } from "./iteration-DlBvbGKr.js";
|
|
5
5
|
import { i as f, f as g } from "./utils-BZkjJbju.js";
|
|
6
6
|
const u = {
|
|
7
7
|
async readTimesheets(t, e) {
|
|
@@ -26,8 +26,8 @@ const Lt = {
|
|
|
26
26
|
selected_user_prefix: "User: ",
|
|
27
27
|
subject_placeholder: "Subject",
|
|
28
28
|
selected_subject_prefix: "Subject: ",
|
|
29
|
-
action_placeholder: "Action",
|
|
30
|
-
selected_action_prefix: "Action: ",
|
|
29
|
+
action_placeholder: "Action Type",
|
|
30
|
+
selected_action_prefix: "Action Type: ",
|
|
31
31
|
status_placeholder: "Status",
|
|
32
32
|
selected_status_prefix: "Status: ",
|
|
33
33
|
outcome_placeholder: "Status",
|
|
@@ -48,14 +48,14 @@ const Lt = {
|
|
|
48
48
|
payment: "Payment",
|
|
49
49
|
menu: "Menu",
|
|
50
50
|
crm: "CRM",
|
|
51
|
+
other: "Other",
|
|
51
52
|
more: "More"
|
|
52
53
|
},
|
|
53
54
|
columns: {
|
|
54
55
|
timestamp: "Date",
|
|
55
56
|
user: "User",
|
|
56
|
-
role: "Role",
|
|
57
57
|
subject: "Subject",
|
|
58
|
-
action: "Action",
|
|
58
|
+
action: "Action Description",
|
|
59
59
|
operation: "Operation",
|
|
60
60
|
outcome: "Status"
|
|
61
61
|
},
|
|
@@ -106,14 +106,13 @@ const Lt = {
|
|
|
106
106
|
email: "E-mail",
|
|
107
107
|
action: "Action",
|
|
108
108
|
operation: "Operation",
|
|
109
|
-
role: "Role",
|
|
110
109
|
subject: "Subject",
|
|
111
110
|
field: "Field",
|
|
112
111
|
outcome: "Outcome",
|
|
113
112
|
business: "Business",
|
|
114
113
|
restaurant: "Restaurant",
|
|
115
114
|
changeDetails: "Change Details",
|
|
116
|
-
|
|
115
|
+
actionDescription: "Action Description",
|
|
117
116
|
metadata: "Metadata",
|
|
118
117
|
reason: "Reason",
|
|
119
118
|
resolvedFrom: "Resolved From",
|
|
@@ -163,8 +162,8 @@ const Lt = {
|
|
|
163
162
|
selected_user_prefix: "ผู้ใช้: ",
|
|
164
163
|
subject_placeholder: "หัวข้อ",
|
|
165
164
|
selected_subject_prefix: "หัวข้อ: ",
|
|
166
|
-
action_placeholder: "
|
|
167
|
-
selected_action_prefix: "
|
|
165
|
+
action_placeholder: "ประเภทการกระทำ",
|
|
166
|
+
selected_action_prefix: "ประเภทการกระทำ: ",
|
|
168
167
|
status_placeholder: "สถานะ",
|
|
169
168
|
selected_status_prefix: "สถานะ: ",
|
|
170
169
|
outcome_placeholder: "สถานะ",
|
|
@@ -185,14 +184,14 @@ const Lt = {
|
|
|
185
184
|
payment: "การชำระเงิน",
|
|
186
185
|
menu: "เมนู",
|
|
187
186
|
crm: "CRM",
|
|
187
|
+
other: "อื่นๆ",
|
|
188
188
|
more: "เพิ่มเติม"
|
|
189
189
|
},
|
|
190
190
|
columns: {
|
|
191
191
|
timestamp: "วันที่",
|
|
192
192
|
user: "ผู้ใช้",
|
|
193
|
-
role: "บทบาท",
|
|
194
193
|
subject: "หัวข้อ",
|
|
195
|
-
action: "
|
|
194
|
+
action: "คำอธิบายการกระทำ",
|
|
196
195
|
operation: "รายละเอียดการดำเนินการ",
|
|
197
196
|
outcome: "สถานะ"
|
|
198
197
|
},
|
|
@@ -243,14 +242,13 @@ const Lt = {
|
|
|
243
242
|
email: "อีเมล",
|
|
244
243
|
action: "การกระทำ",
|
|
245
244
|
operation: "รายละเอียดการดำเนินการ",
|
|
246
|
-
role: "บทบาท",
|
|
247
245
|
subject: "หัวข้อ",
|
|
248
246
|
field: "ฟิลด์",
|
|
249
247
|
outcome: "ผลลัพธ์",
|
|
250
248
|
business: "ธุรกิจ",
|
|
251
249
|
restaurant: "ร้านอาหาร",
|
|
252
250
|
changeDetails: "รายละเอียดการเปลี่ยนแปลง",
|
|
253
|
-
|
|
251
|
+
actionDescription: "คำอธิบายการกระทำ",
|
|
254
252
|
metadata: "ข้อมูลเมตา",
|
|
255
253
|
reason: "เหตุผล",
|
|
256
254
|
resolvedFrom: "แก้ไขจาก",
|
|
@@ -301,8 +299,8 @@ const Lt = {
|
|
|
301
299
|
selected_user_prefix: "用户: ",
|
|
302
300
|
subject_placeholder: "主题",
|
|
303
301
|
selected_subject_prefix: "主题: ",
|
|
304
|
-
action_placeholder: "
|
|
305
|
-
selected_action_prefix: "
|
|
302
|
+
action_placeholder: "操作类型",
|
|
303
|
+
selected_action_prefix: "操作类型: ",
|
|
306
304
|
status_placeholder: "状态",
|
|
307
305
|
selected_status_prefix: "状态: ",
|
|
308
306
|
outcome_placeholder: "状态",
|
|
@@ -323,14 +321,14 @@ const Lt = {
|
|
|
323
321
|
payment: "支付",
|
|
324
322
|
menu: "菜单",
|
|
325
323
|
crm: "CRM",
|
|
324
|
+
other: "其他",
|
|
326
325
|
more: "更多"
|
|
327
326
|
},
|
|
328
327
|
columns: {
|
|
329
328
|
timestamp: "日期",
|
|
330
329
|
user: "用户",
|
|
331
|
-
role: "角色",
|
|
332
330
|
subject: "主题",
|
|
333
|
-
action: "
|
|
331
|
+
action: "操作说明",
|
|
334
332
|
operation: "操作说明",
|
|
335
333
|
outcome: "状态"
|
|
336
334
|
},
|
|
@@ -381,14 +379,13 @@ const Lt = {
|
|
|
381
379
|
email: "邮箱",
|
|
382
380
|
action: "操作",
|
|
383
381
|
operation: "操作说明",
|
|
384
|
-
role: "角色",
|
|
385
382
|
subject: "主题",
|
|
386
383
|
field: "字段",
|
|
387
384
|
outcome: "结果",
|
|
388
385
|
business: "商家",
|
|
389
386
|
restaurant: "餐厅",
|
|
390
387
|
changeDetails: "变更详情",
|
|
391
|
-
|
|
388
|
+
actionDescription: "操作说明",
|
|
392
389
|
metadata: "元数据",
|
|
393
390
|
reason: "原因",
|
|
394
391
|
resolvedFrom: "解析来源",
|
|
@@ -439,8 +436,8 @@ const Lt = {
|
|
|
439
436
|
selected_user_prefix: "用戶: ",
|
|
440
437
|
subject_placeholder: "主題",
|
|
441
438
|
selected_subject_prefix: "主題: ",
|
|
442
|
-
action_placeholder: "
|
|
443
|
-
selected_action_prefix: "
|
|
439
|
+
action_placeholder: "操作類型",
|
|
440
|
+
selected_action_prefix: "操作類型: ",
|
|
444
441
|
status_placeholder: "狀態",
|
|
445
442
|
selected_status_prefix: "狀態: ",
|
|
446
443
|
outcome_placeholder: "狀態",
|
|
@@ -461,14 +458,14 @@ const Lt = {
|
|
|
461
458
|
payment: "支付",
|
|
462
459
|
menu: "菜單",
|
|
463
460
|
crm: "CRM",
|
|
461
|
+
other: "其他",
|
|
464
462
|
more: "更多"
|
|
465
463
|
},
|
|
466
464
|
columns: {
|
|
467
465
|
timestamp: "日期",
|
|
468
466
|
user: "用戶",
|
|
469
|
-
role: "角色",
|
|
470
467
|
subject: "主題",
|
|
471
|
-
action: "
|
|
468
|
+
action: "操作說明",
|
|
472
469
|
operation: "操作說明",
|
|
473
470
|
outcome: "狀態"
|
|
474
471
|
},
|
|
@@ -519,14 +516,13 @@ const Lt = {
|
|
|
519
516
|
email: "電子郵件",
|
|
520
517
|
action: "操作",
|
|
521
518
|
operation: "操作說明",
|
|
522
|
-
role: "角色",
|
|
523
519
|
subject: "主題",
|
|
524
520
|
field: "字段",
|
|
525
521
|
outcome: "結果",
|
|
526
522
|
business: "商家",
|
|
527
523
|
restaurant: "餐廳",
|
|
528
524
|
changeDetails: "變更詳情",
|
|
529
|
-
|
|
525
|
+
actionDescription: "操作說明",
|
|
530
526
|
metadata: "元數據",
|
|
531
527
|
reason: "原因",
|
|
532
528
|
resolvedFrom: "解析來源",
|
|
@@ -2578,7 +2574,7 @@ const Lt = {
|
|
|
2578
2574
|
"th-TH": zn,
|
|
2579
2575
|
"zh-Hant": Sn
|
|
2580
2576
|
};
|
|
2581
|
-
var t = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(t || {}), o = /* @__PURE__ */ ((e) => (e.miniProgram_profile = "business::miniProgram::profile", e.miniProgram_brandkit = "business::miniProgram::brandkit", e.miniProgram_template = "business::miniProgram::template", e.miniProgram_publish = "business::miniProgram::publish", e.miniProgram_assets = "business::miniProgram::assets", e.miniProgram_nativeCredentials = "business::miniProgram::nativeCredentials", e.crm = "business::crm", e.crm_promotion = "business::crm::promotion", e.crm_voucher = "business::crm::voucher", e.crm_membership = "business::crm::membership", e.crm_analytic = "business::crm::analytic", e.crm_tier = "business::crm::tier", e.crm_title = "business::crm::title", e.crm_broadcast = "business::crm::broadcast", e.crm_point = "business::crm::point", e.crm_credit = "business::crm::credit", e.crm_experience = "business::crm::experience", e.crm_game = "business::crm::game", e.crm_mission = "business::crm::mission", e.crm_loyaltyMember = "business::crm::loyaltyMember", e.crm_loyaltySegment = "business::crm::loyaltySegment", e.crm_loyaltyCard = "business::crm::loyaltyCard", e.crm_referral = "business::crm::referral", e.crm_store = "business::crm::store", e.crm_transaction = "business::crm::transaction", e.crm_setting = "business::crm::setting", e.crm_bin = "business::crm::bin", e.payment = "business::payment", e.payment_payoutAccount = "business::payment::payoutAccount", e.payment_paymentOnboarding = "business::payment::paymentOnboarding", e.payment_transactions = "business::payment::transactions", e.payment_settlements = "business::payment::settlements", e.inventory_stock = "business::inventory::stock", e.inventory_stockBalance = "business::inventory::stockBalance", e.inventory_stockAdjustment = "business::inventory::stockAdjustment", e.inventory_unitCostHistory = "business::inventory::unitCostHistory", e.inventory_wastageTemplate = "business::inventory::wastageTemplate", e.inventory_closingHistory = "business::inventory::closingHistory", e.inventory_closingTemplate = "business::inventory::closingTemplate", e.inventory_closingDraft = "business::inventory::closingDraft", e.inventory_ingredient = "business::inventory::ingredient", e.inventory_ingredientGroup = "business::inventory::ingredientGroup", e.inventory_recipe = "business::inventory::recipe", e.inventory_unit = "business::inventory::unit", e.inventory_purchaseTransfer = "business::inventory::purchaseTransfer", e.inventory_orderDraftApproval = "business::inventory::orderDraftApproval", e.inventory_transferOut = "business::inventory::transferOut", e.inventory_surcharge = "business::inventory::surcharge", e.inventory_orderTemplate = "business::inventory::orderTemplate", e.inventory_supplier = "business::inventory::supplier", e.inventory_warehouse = "business::inventory::warehouse", e.inventory_publish = "business::inventory::publish", e.inventory_import = "business::inventory::import", e.inventory_integration = "business::inventory::integration", e.hrm = "business::hrm", e.hrm_employee = "business::hrm::employee", e.hrm_teamMember = "business::hrm::teamMember", e.hrm_auditLog = "business::hrm::auditLog", e.menu = "business::menu", e.menu_item = "business::menu::item", e.menu_catalog = "business::menu::catalog", e.menu_category = "business::menu::category", e.menu_subCategory = "business::menu::subCategory", e.menu_group = "business::menu::group", e.menu_takeaway = "business::menu::takeaway", e.menu_scheduler = "business::menu::scheduler", e.menu_variant = "business::menu::variant", e.menu_cookingGuide = "business::menu::cookingGuide", e.menu_printRoute = "business::menu::printRoute", e.menu_servingSequence = "business::menu::servingSequence", e.menu_settings = "business::menu::settings", e.menu_publish = "business::menu::publish", e.menu_menuManagement = "business::menu::menuManagement", e.menu_importExport = "business::menu::importExport", e.menu_unit = "business::menu::unit", e.menu_ingredient = "business::menu::ingredient", e.menu_recipe = "business::menu::recipe", e.restaurant = "business::restaurant", e.role = "business::role", e.mdm_deviceManagement = "business::mdm::deviceManagement", e.mdm_createDevice = "business::mdm::createDevice", e.mdm_deviceBinding = "business::mdm::deviceBinding", e.mdm_customerDisplay = "business::mdm::customerDisplay", e.
|
|
2577
|
+
var t = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(t || {}), o = /* @__PURE__ */ ((e) => (e.miniProgram_profile = "business::miniProgram::profile", e.miniProgram_brandkit = "business::miniProgram::brandkit", e.miniProgram_template = "business::miniProgram::template", e.miniProgram_publish = "business::miniProgram::publish", e.miniProgram_assets = "business::miniProgram::assets", e.miniProgram_nativeCredentials = "business::miniProgram::nativeCredentials", e.crm = "business::crm", e.crm_promotion = "business::crm::promotion", e.crm_voucher = "business::crm::voucher", e.crm_membership = "business::crm::membership", e.crm_analytic = "business::crm::analytic", e.crm_tier = "business::crm::tier", e.crm_title = "business::crm::title", e.crm_broadcast = "business::crm::broadcast", e.crm_point = "business::crm::point", e.crm_credit = "business::crm::credit", e.crm_experience = "business::crm::experience", e.crm_game = "business::crm::game", e.crm_mission = "business::crm::mission", e.crm_loyaltyMember = "business::crm::loyaltyMember", e.crm_loyaltySegment = "business::crm::loyaltySegment", e.crm_loyaltyCard = "business::crm::loyaltyCard", e.crm_referral = "business::crm::referral", e.crm_store = "business::crm::store", e.crm_transaction = "business::crm::transaction", e.crm_setting = "business::crm::setting", e.crm_bin = "business::crm::bin", e.payment = "business::payment", e.payment_payoutAccount = "business::payment::payoutAccount", e.payment_paymentOnboarding = "business::payment::paymentOnboarding", e.payment_transactions = "business::payment::transactions", e.payment_settlements = "business::payment::settlements", e.inventory_stock = "business::inventory::stock", e.inventory_stockBalance = "business::inventory::stockBalance", e.inventory_stockAdjustment = "business::inventory::stockAdjustment", e.inventory_unitCostHistory = "business::inventory::unitCostHistory", e.inventory_wastageTemplate = "business::inventory::wastageTemplate", e.inventory_closingHistory = "business::inventory::closingHistory", e.inventory_closingTemplate = "business::inventory::closingTemplate", e.inventory_closingDraft = "business::inventory::closingDraft", e.inventory_ingredient = "business::inventory::ingredient", e.inventory_ingredientGroup = "business::inventory::ingredientGroup", e.inventory_recipe = "business::inventory::recipe", e.inventory_unit = "business::inventory::unit", e.inventory_purchaseTransfer = "business::inventory::purchaseTransfer", e.inventory_orderDraftApproval = "business::inventory::orderDraftApproval", e.inventory_transferOut = "business::inventory::transferOut", e.inventory_surcharge = "business::inventory::surcharge", e.inventory_orderTemplate = "business::inventory::orderTemplate", e.inventory_supplier = "business::inventory::supplier", e.inventory_warehouse = "business::inventory::warehouse", e.inventory_publish = "business::inventory::publish", e.inventory_import = "business::inventory::import", e.inventory_integration = "business::inventory::integration", e.hrm = "business::hrm", e.hrm_employee = "business::hrm::employee", e.hrm_teamMember = "business::hrm::teamMember", e.hrm_auditLog = "business::hrm::auditLog", e.menu = "business::menu", e.menu_item = "business::menu::item", e.menu_catalog = "business::menu::catalog", e.menu_category = "business::menu::category", e.menu_subCategory = "business::menu::subCategory", e.menu_group = "business::menu::group", e.menu_takeaway = "business::menu::takeaway", e.menu_scheduler = "business::menu::scheduler", e.menu_variant = "business::menu::variant", e.menu_cookingGuide = "business::menu::cookingGuide", e.menu_printRoute = "business::menu::printRoute", e.menu_servingSequence = "business::menu::servingSequence", e.menu_settings = "business::menu::settings", e.menu_publish = "business::menu::publish", e.menu_menuManagement = "business::menu::menuManagement", e.menu_importExport = "business::menu::importExport", e.menu_unit = "business::menu::unit", e.menu_ingredient = "business::menu::ingredient", e.menu_recipe = "business::menu::recipe", e.restaurant = "business::restaurant", e.role = "business::role", e.mdm_deviceManagement = "business::mdm::deviceManagement", e.mdm_createDevice = "business::mdm::createDevice", e.mdm_deviceBinding = "business::mdm::deviceBinding", e.mdm_customerDisplay = "business::mdm::customerDisplay", e.eInvoice_management = "business::eInvoice::management", e.eInvoice_integration = "business::eInvoice::integration", e.profile = "business::profile", e.report_createReport = "business::report::createReport", e.report_accessInsight = "business::report::accessInsight", e.report_accessSetting = "business::report::accessSetting", e.report_accessIntegration = "business::report::accessIntegration", e.report_accessOverview = "business::report::accessOverview", e.report_reports_allDefaultReports = "business::report::allDefaultReports", e.report_reports_allCustomReports = "business::report::allCustomReports", e.operation_receipt = "business::operation::receipt", e.operation_tableManagement = "business::operation::tableManagement", e.operation_offlinePayment = "business::operation::offlinePayment", e.operation_reasonTemplate = "business::operation::reasonTemplate", e.operation_discountRule = "business::operation::discountRule", e.operation_serviceCharge = "business::operation::serviceCharge", e.operation_kitchenPrintTemplate = "business::operation::kitchenPrintTemplate", e))(o || {}), U = /* @__PURE__ */ ((e) => (e.profile = "business::profile", e.restaurant = "business::restaurant", e.menu = "business::menu", e.promotion = "business::promotion", e.voucher = "business::voucher", e.membership = "business::membership", e.stock = "business::stock", e.permission = "business::permission", e.role = "business::role", e.wastageTemplate = "business::wastageTemplate", e.closingTemplate = "business::closingTemplate", e.orderTemplate = "business::orderTemplate", e.ingredient = "business::ingredient", e.recipe = "business::recipe", e.unit = "business::unit", e.supplier = "business::supplier", e.warehouse = "business::warehouse", e.publish = "business::publish", e.integration = "business::integration", e.orderDraft = "business::orderDraft", e.unitCostHistory = "business::unitCostHistory", e))(U || {}), hs = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(hs || {});
|
|
2582
2578
|
const b = {
|
|
2583
2579
|
general: "General",
|
|
2584
2580
|
inventory: "Inventory",
|
|
@@ -3112,21 +3108,6 @@ const b = {
|
|
|
3112
3108
|
category: b.settings,
|
|
3113
3109
|
showByFeatureFlag: "hrm_enable_mdm_permission"
|
|
3114
3110
|
},
|
|
3115
|
-
// Kiosk
|
|
3116
|
-
kioskDeviceManagement: {
|
|
3117
|
-
label: "Kiosk Device Management",
|
|
3118
|
-
subject: o.kiosk_deviceManagement,
|
|
3119
|
-
actions: [t.manage],
|
|
3120
|
-
category: b.settings,
|
|
3121
|
-
showByFeatureFlag: "hrm_enable_kiosk_permission"
|
|
3122
|
-
},
|
|
3123
|
-
kioskDeviceBinding: {
|
|
3124
|
-
label: "Kiosk Device Binding",
|
|
3125
|
-
subject: o.kiosk_deviceBinding,
|
|
3126
|
-
actions: [t.manage],
|
|
3127
|
-
category: b.settings,
|
|
3128
|
-
showByFeatureFlag: "hrm_enable_kiosk_permission"
|
|
3129
|
-
},
|
|
3130
3111
|
// E-invoice
|
|
3131
3112
|
eInvoiceManagement: {
|
|
3132
3113
|
label: "E-invoice Management",
|
|
@@ -5173,10 +5154,10 @@ const ht = (e) => ({
|
|
|
5173
5154
|
}
|
|
5174
5155
|
]
|
|
5175
5156
|
}
|
|
5176
|
-
}), xa = Ke(be(() => import("./Main
|
|
5177
|
-
be(() => import("./AuditLogList-
|
|
5178
|
-
), Fa = Ke(be(() => import("./Main-
|
|
5179
|
-
() => import("./PermissionSetList-
|
|
5157
|
+
}), xa = Ke(be(() => import("./Main-lGjnpbfI.js"))), Va = Ke(be(() => import("./Main-BBGd8ZTL.js"))), Pa = Ke(
|
|
5158
|
+
be(() => import("./AuditLogList-Czy2T2Rx.js"))
|
|
5159
|
+
), Fa = Ke(be(() => import("./Main-DndCDnpH.js"))), Oa = be(() => import("./EmployeeList-DXTIVdNQ.js")), qa = be(() => import("./RoleList-BX_2VJZ6.js")), Ha = be(() => import("./TimesheetList-B92TB91G.js")), Xa = be(() => import("./TeamMemberList-D5dwxHbo.js")), Qa = be(
|
|
5160
|
+
() => import("./PermissionSetList-ENyBOnPF.js")
|
|
5180
5161
|
), eo = [
|
|
5181
5162
|
{
|
|
5182
5163
|
path: "/",
|
|
@@ -6162,8 +6143,8 @@ const to = /* @__PURE__ */ xe({
|
|
|
6162
6143
|
);
|
|
6163
6144
|
};
|
|
6164
6145
|
export {
|
|
6146
|
+
Ja as C,
|
|
6165
6147
|
_a as G,
|
|
6166
|
-
Fr as P,
|
|
6167
6148
|
T as R,
|
|
6168
6149
|
Ga as _,
|
|
6169
6150
|
Ea as a,
|
|
@@ -6173,8 +6154,8 @@ export {
|
|
|
6173
6154
|
ea as e,
|
|
6174
6155
|
to as f,
|
|
6175
6156
|
Or as g,
|
|
6157
|
+
Fr as h,
|
|
6176
6158
|
so as i,
|
|
6177
|
-
Ja as k,
|
|
6178
6159
|
t as l,
|
|
6179
6160
|
$a as m,
|
|
6180
6161
|
eo as r,
|
package/dist/app.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as g } from "./dayjs.min-
|
|
1
|
+
import { d as g } from "./dayjs.min-1lGJFcPX.js";
|
|
2
2
|
import { defineStore as $, storeToRefs as T } from "pinia";
|
|
3
3
|
import { ref as m } from "vue";
|
|
4
|
-
import { b as l, g as f, u as w, s as E } from "./iteration-
|
|
4
|
+
import { b as l, g as f, u as w, s as E } from "./iteration-DlBvbGKr.js";
|
|
5
5
|
import { i as v } from "./utils-BZkjJbju.js";
|
|
6
|
-
import { u as _ } from "./useAppStore-
|
|
6
|
+
import { u as _ } from "./useAppStore-DT7SMn0u.js";
|
|
7
7
|
const o = {
|
|
8
8
|
async readEmployees() {
|
|
9
9
|
return f(await l().get("/pos-users"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as Gs, storeToRefs as Hs } from "pinia";
|
|
2
2
|
import { ref as eo } from "vue";
|
|
3
3
|
import { useCoreStore as ui, baseClientInstance as Dr, FeedMeAuth as qs } from "@feedmepos/mf-common";
|
|
4
|
-
import { c as U } from "./app-
|
|
4
|
+
import { c as U } from "./app-KE1Um386.js";
|
|
5
5
|
function Ur(e, n) {
|
|
6
6
|
return function() {
|
|
7
7
|
return e.apply(n, arguments);
|
|
@@ -1820,9 +1820,9 @@ const sa = (e) => (n) => {
|
|
|
1820
1820
|
throw new Error("Invalid business");
|
|
1821
1821
|
}, Vc = () => {
|
|
1822
1822
|
var a;
|
|
1823
|
-
const n = (a = ui().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "
|
|
1823
|
+
const n = (a = ui().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "feedmeapidev.com", o = !n || n === "my" ? `https://query-engine.${i}` : `https://query-engine.${n}.${i}`;
|
|
1824
1824
|
return sa(o)("");
|
|
1825
|
-
}, Zc = () => sa("https://account.
|
|
1825
|
+
}, Zc = () => sa("https://account.feedmedev.cc/api")(""), Yc = () => Dr("user/bypass/validate/");
|
|
1826
1826
|
function vl(e) {
|
|
1827
1827
|
return e.data;
|
|
1828
1828
|
}
|