@feedmepos/mf-hrm-portal 2.0.20-dev.3 → 2.0.20-dev.4
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-7E8iWQWx.js → AuditLogList-BYYLqx_Y.js} +4 -4
- package/dist/{EmployeeList-DyNW3cUo.js → EmployeeList-faGmAgin.js} +6 -6
- package/dist/{Main-BZjZxFHp.js → Main-BAKU5xhk.js} +9 -9
- package/dist/{Main-BLJyOcEv.js → Main-BqGguhdK.js} +4 -4
- package/dist/{Main-C9lMH4EN.js → Main-DYtpusvH.js} +5 -5
- package/dist/{PermissionSetList-BuCp14Os.js → PermissionSetList-BkNXF5wd.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BQSDnH-Z.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BSLC4-XO.js} +427 -427
- package/dist/{RoleList-L8L1xmJ2.js → RoleList-CU6fMUKg.js} +7 -7
- package/dist/{TeamMemberList-DEN9rHqb.js → TeamMemberList-DWXfFltX.js} +40 -40
- package/dist/{TimesheetList-D88u0GFn.js → TimesheetList-oVhzBmO4.js} +6 -6
- package/dist/{app-g_SrJtfC.js → app-C6YPb0ie.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-BGHzwXCt.js → dayjs.min-DjBQkDnl.js} +1 -1
- package/dist/{employee-Dep-q_aU.js → employee-CgQNP7Yg.js} +3 -3
- package/dist/{iteration-Dc-Bz5bA.js → iteration-DK5wFKKW.js} +1 -1
- package/dist/{lodash-Cxw1GZ6L.js → lodash-D2og8lPS.js} +1 -1
- package/dist/{rule-ClRtpdqO.js → rule-CkKkOqTh.js} +2 -2
- package/dist/{timesheet-CZoSvFYT.js → timesheet-AUYF-qUh.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CTBRpqmO.js → useAppStore-BvpZCRgH.js} +1 -1
- package/dist/{useLoading-XvrLj1VM.js → useLoading-RPOCpcNO.js} +1 -1
- package/dist/{useReportPermissions-nivbQm9V.js → useReportPermissions-wHthaWRW.js} +3 -3
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { computed as _, defineComponent as ge, ref as $, watch as se, onMounted as be, resolveComponent as y, createBlock as P, openBlock as p, unref as o, withCtx as b, createElementVNode as d, createVNode as n, createElementBlock as k, Fragment as N, createCommentVNode as de, renderList as le, toDisplayString as A, h as S, createTextVNode as pe, resolveDynamicComponent as ve, withModifiers as Ie, nextTick as fe } from "vue";
|
|
2
|
-
import { u as me, e as L } from "./iteration-
|
|
2
|
+
import { u as me, e as L } from "./iteration-DK5wFKKW.js";
|
|
3
3
|
import { useI18n as ye } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as xe, components as ue, useDialog as Ee, useBreakpoints as Ue, FmButtonColorThemeVariant as Se } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as Pe } from "./app-
|
|
5
|
+
import { _ as Pe } from "./app-C6YPb0ie.js";
|
|
6
6
|
import { u as $e, _ as he } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
7
7
|
import { _ as Te } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
8
|
-
import { e as Me, r as K, h as Ce, f as Be, g as _e, a as ae } from "./rule-
|
|
9
|
-
import { u as Re } from "./useAppStore-
|
|
10
|
-
import { u as Fe } from "./useReportPermissions-
|
|
11
|
-
import { l as te } from "./lodash-
|
|
8
|
+
import { e as Me, r as K, h as Ce, f as Be, g as _e, a as ae } from "./rule-CkKkOqTh.js";
|
|
9
|
+
import { u as Re } from "./useAppStore-BvpZCRgH.js";
|
|
10
|
+
import { u as Fe } from "./useReportPermissions-wHthaWRW.js";
|
|
11
|
+
import { l as te } from "./lodash-D2og8lPS.js";
|
|
12
12
|
import { _ as De } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
|
|
13
13
|
import { _ as ie } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
|
|
14
|
-
import { u as Ne } from "./useLoading-
|
|
14
|
+
import { u as Ne } from "./useLoading-RPOCpcNO.js";
|
|
15
15
|
function Ae() {
|
|
16
16
|
const W = me();
|
|
17
17
|
return _(() => {
|
|
@@ -2,18 +2,18 @@ import { defineComponent as Se, resolveComponent as S, createElementBlock as A,
|
|
|
2
2
|
import { useI18n as Ve, useCoreStore as $e, baseClientInstance as je } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Je, useDialog as is, useBreakpoints as us, components as Ne } from "@feedmepos/ui-library";
|
|
4
4
|
import { u as ms, _ as ds } from "./useDebounce-CWb5QR9G.js";
|
|
5
|
-
import { _ as cs, S as
|
|
6
|
-
import { b as Ee, m as ps, C as vs, _ as fs, a as bs } from "./app-
|
|
5
|
+
import { _ as cs, S as be } from "./SelectFilter-DUj7GBtT.js";
|
|
6
|
+
import { b as Ee, m as ps, C as vs, _ as fs, a as bs } from "./app-C6YPb0ie.js";
|
|
7
7
|
import { u as _s, _ as ys } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
8
8
|
import { _ as hs } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
9
|
-
import { u as gs } from "./useLoading-
|
|
10
|
-
import { l as De } 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 Ie, d as Qe, p as Ke, i as xs, j as ze, k as Ge, l as Us, n as Fs, s as Ss, o as Vs, q as ws, t as Ue } from "./rule-
|
|
13
|
-
import { u as Ye } from "./useAppStore-
|
|
9
|
+
import { u as gs } from "./useLoading-RPOCpcNO.js";
|
|
10
|
+
import { l as De } from "./lodash-D2og8lPS.js";
|
|
11
|
+
import { g as Le, d as pe, u as Xe } from "./iteration-DK5wFKKW.js";
|
|
12
|
+
import { u as Ze, c as Te, b as qe, m as Ie, d as Qe, p as Ke, i as xs, j as ze, k as Ge, l as Us, n as Fs, s as Ss, o as Vs, q as ws, t as Ue } from "./rule-CkKkOqTh.js";
|
|
13
|
+
import { u as Ye } from "./useAppStore-BvpZCRgH.js";
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { _ as Ps } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
var
|
|
15
|
+
import { _ as Ps } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BSLC4-XO.js";
|
|
16
|
+
var ye = /* @__PURE__ */ ((m) => (m.Update = "Update", m.Remove = "Remove", m))(ye || {});
|
|
17
17
|
const Is = { class: "w-full flex flex-col gap-16" }, ks = { class: "flex items-center gap-16" }, $s = { class: "space-y-4 min-w-0 flex-1" }, Rs = { class: "text-fm-color-typo-secondary fm-typo-en-body-lg-400" }, Cs = { class: "fm-typo-en-body-lg-600 truncate" }, Ms = { class: "w-full flex gap-16 items-center" }, Ns = { class: "flex-1 flex flex-col gap-4 min-w-0" }, Ds = { class: "text-fm-color-typo-secondary fm-typo-en-body-lg-400" }, As = { class: "fm-typo-en-body-lg-600 truncate" }, Os = { class: "flex-1 flex flex-col gap-4 min-w-0" }, Bs = { class: "text-fm-color-typo-secondary fm-typo-en-body-lg-400" }, js = { class: "fm-typo-en-body-lg-600 truncate" }, Es = /* @__PURE__ */ Se({
|
|
18
18
|
__name: "MemberInfo",
|
|
19
19
|
props: {
|
|
@@ -442,13 +442,13 @@ const Is = { class: "w-full flex flex-col gap-16" }, ks = { class: "flex items-c
|
|
|
442
442
|
}
|
|
443
443
|
},
|
|
444
444
|
setup(m, { expose: O }) {
|
|
445
|
-
var
|
|
445
|
+
var fe, he, ge;
|
|
446
446
|
const n = m, { t: a } = Ve(), d = v(), R = Ze(), C = w(
|
|
447
447
|
() => R.permissionSets.value.map((t) => ({
|
|
448
448
|
label: t.name,
|
|
449
449
|
value: t.id
|
|
450
450
|
}))
|
|
451
|
-
), x = v(((
|
|
451
|
+
), x = v(((fe = n.initialValue) == null ? void 0 : fe.permissionSetIds) || []), B = w(
|
|
452
452
|
() => Te(x.value, R.permissionSets.value)
|
|
453
453
|
), p = v((he = n.initialValue) == null ? void 0 : he.posUser), b = v(
|
|
454
454
|
qe(
|
|
@@ -544,14 +544,14 @@ const Is = { class: "w-full flex flex-col gap-16" }, ks = { class: "flex items-c
|
|
|
544
544
|
(Z) => (I === null || I.includes(Z.roleId)) && (k === null || k.includes(Z.restaurantId))
|
|
545
545
|
), $;
|
|
546
546
|
}
|
|
547
|
-
const G = v(!!p.value),
|
|
547
|
+
const G = v(!!p.value), ve = v(!1);
|
|
548
548
|
function Re(t) {
|
|
549
|
-
p.value = t,
|
|
549
|
+
p.value = t, ve.value = !0;
|
|
550
550
|
}
|
|
551
551
|
me(
|
|
552
552
|
() => !!p.value,
|
|
553
553
|
async (t) => {
|
|
554
|
-
t && !G.value && (await ls(), z.value && z.value.$el.scrollIntoView({ behavior: "smooth", block: "start" })), G.value = t;
|
|
554
|
+
t && !G.value && ve.value && (await ls(), z.value && z.value.$el.scrollIntoView({ behavior: "smooth", block: "start" })), G.value = t;
|
|
555
555
|
}
|
|
556
556
|
);
|
|
557
557
|
const ne = v();
|
|
@@ -562,10 +562,10 @@ const Is = { class: "w-full flex flex-col gap-16" }, ks = { class: "flex items-c
|
|
|
562
562
|
() => n.initialValue,
|
|
563
563
|
(t, f) => {
|
|
564
564
|
if (!f || !t) {
|
|
565
|
-
|
|
565
|
+
ve.value = !1, g(t);
|
|
566
566
|
return;
|
|
567
567
|
}
|
|
568
|
-
t.posUser !== void 0 && !
|
|
568
|
+
t.posUser !== void 0 && !ve.value && (p.value = t.posUser ? y(pe(t.posUser), b.value) : void 0, l.value = {
|
|
569
569
|
...l.value,
|
|
570
570
|
posUser: p.value ? pe(p.value) : void 0
|
|
571
571
|
});
|
|
@@ -671,7 +671,7 @@ const Is = { class: "w-full flex flex-col gap-16" }, ks = { class: "flex items-c
|
|
|
671
671
|
class: "fm-typo-en-title-md-600"
|
|
672
672
|
}, Ct = {
|
|
673
673
|
class: "flex items-center justify-start gap-8"
|
|
674
|
-
},
|
|
674
|
+
}, _e = 100;
|
|
675
675
|
var te = /* @__PURE__ */ function(m) {
|
|
676
676
|
return m[m.ADD = 0] = "ADD", m[m.UPDATE = 1] = "UPDATE", m[m.CLOSED = 2] = "CLOSED", m;
|
|
677
677
|
}(te || {});
|
|
@@ -703,10 +703,10 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
703
703
|
}) => {
|
|
704
704
|
const U = {
|
|
705
705
|
label: a("team.actions.updateMember"),
|
|
706
|
-
onClick: () => z(
|
|
706
|
+
onClick: () => z(ye.Update, e)
|
|
707
707
|
}, F = {
|
|
708
708
|
label: a("team.actions.removeMember"),
|
|
709
|
-
onClick: () => z(
|
|
709
|
+
onClick: () => z(ye.Remove, e),
|
|
710
710
|
itemClass: "text-fm-color-typo-error"
|
|
711
711
|
}, W = e.doc.isOwner ? [U] : [U, F];
|
|
712
712
|
return u(ys, {
|
|
@@ -831,7 +831,7 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
831
831
|
const K = v(!1);
|
|
832
832
|
let L = 0;
|
|
833
833
|
const z = async (e, s) => {
|
|
834
|
-
if (e ==
|
|
834
|
+
if (e == ye.Update) {
|
|
835
835
|
const U = ++L;
|
|
836
836
|
ne.value = j(s), y.value = te.UPDATE, K.value = s.doc.hasPosUser === !0;
|
|
837
837
|
try {
|
|
@@ -848,17 +848,17 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
848
848
|
U === L && (K.value = !1);
|
|
849
849
|
}
|
|
850
850
|
}
|
|
851
|
-
e ==
|
|
852
|
-
}, c = is(), y = v(te.CLOSED), G = w(() => y.value !== te.CLOSED),
|
|
851
|
+
e == ye.Remove && t(s);
|
|
852
|
+
}, c = is(), y = v(te.CLOSED), G = w(() => y.value !== te.CLOSED), ve = w(() => y.value === te.ADD ? a("common.add") : a("common.update")), Re = w(() => y.value === te.ADD ? a("team.actions.addMember") : a("team.actions.updateMember")), ne = v();
|
|
853
853
|
function we() {
|
|
854
854
|
L++, K.value = !1, y.value = te.CLOSED;
|
|
855
855
|
}
|
|
856
|
-
const
|
|
856
|
+
const fe = _s(() => {
|
|
857
857
|
var e;
|
|
858
858
|
return ((e = ce.value) == null ? void 0 : e.isModified()) ?? !1;
|
|
859
859
|
}, we);
|
|
860
860
|
function he() {
|
|
861
|
-
|
|
861
|
+
fe();
|
|
862
862
|
}
|
|
863
863
|
const {
|
|
864
864
|
breakpoints: ge
|
|
@@ -915,8 +915,8 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
915
915
|
ee.value = !0;
|
|
916
916
|
try {
|
|
917
917
|
const W = await Ue.readTeamMembersPage({
|
|
918
|
-
limit:
|
|
919
|
-
offset: (e - 1) *
|
|
918
|
+
limit: _e,
|
|
919
|
+
offset: (e - 1) * _e,
|
|
920
920
|
search: q.value.trim() || void 0,
|
|
921
921
|
restaurantIds: (s = I.value) != null && s.length ? I.value : void 0,
|
|
922
922
|
permissionSubjects: (U = k.value) != null && U.length ? k.value : void 0,
|
|
@@ -931,7 +931,7 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
931
931
|
var s;
|
|
932
932
|
if (!((s = d.currentBusiness.value) != null && s._id)) return;
|
|
933
933
|
await se(_.value);
|
|
934
|
-
const e = Math.max(1, Math.ceil(V.value /
|
|
934
|
+
const e = Math.max(1, Math.ceil(V.value / _e));
|
|
935
935
|
_.value > e && (_.value = e, await se(_.value));
|
|
936
936
|
}
|
|
937
937
|
const ce = v(), Y = v(!1), Ce = v(!1);
|
|
@@ -1002,7 +1002,7 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
1002
1002
|
"onUpdate:modelValue": s[4] || (s[4] = (N) => D.value = N),
|
|
1003
1003
|
class: "w-[320px] xs:w-full xs:mt-8",
|
|
1004
1004
|
placeholder: o(a)("team.search.placeholder")
|
|
1005
|
-
}, null, 8, ["modelValue", "placeholder"]), r("div", It, [u(
|
|
1005
|
+
}, null, 8, ["modelValue", "placeholder"]), r("div", It, [u(be, {
|
|
1006
1006
|
modelValue: I.value,
|
|
1007
1007
|
"onUpdate:modelValue": s[5] || (s[5] = (N) => I.value = N),
|
|
1008
1008
|
multiple: "",
|
|
@@ -1011,7 +1011,7 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
1011
1011
|
"selected-prefix": o(a)("team.table.columns.restaurant"),
|
|
1012
1012
|
placeholder: o(a)("team.table.columns.restaurant"),
|
|
1013
1013
|
class: "!w-auto"
|
|
1014
|
-
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), u(
|
|
1014
|
+
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), u(be, {
|
|
1015
1015
|
modelValue: k.value,
|
|
1016
1016
|
"onUpdate:modelValue": s[6] || (s[6] = (N) => k.value = N),
|
|
1017
1017
|
multiple: "",
|
|
@@ -1019,7 +1019,7 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
1019
1019
|
items: re.value,
|
|
1020
1020
|
"selected-prefix": o(a)("team.filter.selected_permission_prefix"),
|
|
1021
1021
|
placeholder: o(a)("team.filter.permission_placeholder")
|
|
1022
|
-
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), u(
|
|
1022
|
+
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), u(be, {
|
|
1023
1023
|
modelValue: $.value,
|
|
1024
1024
|
"onUpdate:modelValue": s[7] || (s[7] = (N) => $.value = N),
|
|
1025
1025
|
multiple: "",
|
|
@@ -1027,7 +1027,7 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
1027
1027
|
items: ie.value,
|
|
1028
1028
|
"selected-prefix": o(a)("team.filter.selected_assigned_role_prefix"),
|
|
1029
1029
|
placeholder: o(a)("team.filter.assigned_role_placeholder")
|
|
1030
|
-
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"])])])) : (h(), A("div", Vt, [r("div", wt, [u(
|
|
1030
|
+
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"])])])) : (h(), A("div", Vt, [r("div", wt, [u(be, {
|
|
1031
1031
|
modelValue: I.value,
|
|
1032
1032
|
"onUpdate:modelValue": s[0] || (s[0] = (N) => I.value = N),
|
|
1033
1033
|
multiple: "",
|
|
@@ -1036,7 +1036,7 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
1036
1036
|
"selected-prefix": o(a)("team.table.columns.restaurant"),
|
|
1037
1037
|
placeholder: o(a)("team.table.columns.restaurant"),
|
|
1038
1038
|
class: "!w-auto"
|
|
1039
|
-
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), u(
|
|
1039
|
+
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), u(be, {
|
|
1040
1040
|
modelValue: k.value,
|
|
1041
1041
|
"onUpdate:modelValue": s[1] || (s[1] = (N) => k.value = N),
|
|
1042
1042
|
multiple: "",
|
|
@@ -1044,7 +1044,7 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
1044
1044
|
items: re.value,
|
|
1045
1045
|
"selected-prefix": o(a)("team.filter.selected_permission_prefix"),
|
|
1046
1046
|
placeholder: o(a)("team.filter.permission_placeholder")
|
|
1047
|
-
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), u(
|
|
1047
|
+
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), u(be, {
|
|
1048
1048
|
modelValue: $.value,
|
|
1049
1049
|
"onUpdate:modelValue": s[2] || (s[2] = (N) => $.value = N),
|
|
1050
1050
|
multiple: "",
|
|
@@ -1071,30 +1071,30 @@ const Jt = /* @__PURE__ */ Se({
|
|
|
1071
1071
|
key: Z.value,
|
|
1072
1072
|
"column-defs": g,
|
|
1073
1073
|
"row-data": T.value,
|
|
1074
|
-
"page-size":
|
|
1075
|
-
"page-count": Math.ceil(V.value /
|
|
1074
|
+
"page-size": _e,
|
|
1075
|
+
"page-count": Math.ceil(V.value / _e),
|
|
1076
1076
|
"row-count": V.value,
|
|
1077
1077
|
"fetch-fn": ss,
|
|
1078
|
-
"hide-footer": V.value <=
|
|
1078
|
+
"hide-footer": V.value <= _e,
|
|
1079
1079
|
loading: ee.value,
|
|
1080
1080
|
"pin-header-row": "",
|
|
1081
|
-
onRowClick: s[8] || (s[8] = (N) => z(o(
|
|
1081
|
+
onRowClick: s[8] || (s[8] = (N) => z(o(ye).Update, N.original))
|
|
1082
1082
|
}, null, 8, ["row-data", "page-count", "row-count", "hide-footer", "loading"])) : J("", !0)])]),
|
|
1083
1083
|
_: 1
|
|
1084
1084
|
})) : J("", !0)])]), u(Pe, {
|
|
1085
1085
|
"model-value": G.value,
|
|
1086
1086
|
"max-width": 960,
|
|
1087
1087
|
"close-button": !1,
|
|
1088
|
-
"onOn:clickedAway": o(
|
|
1088
|
+
"onOn:clickedAway": o(fe)
|
|
1089
1089
|
}, {
|
|
1090
1090
|
"side-sheet-header": ue(() => [r("div", $t, [r("p", Rt, P(Re.value), 1), u(W, {
|
|
1091
1091
|
name: "close",
|
|
1092
1092
|
size: "md",
|
|
1093
1093
|
class: "cursor-pointer",
|
|
1094
|
-
onClick: o(
|
|
1094
|
+
onClick: o(fe)
|
|
1095
1095
|
}, null, 8, ["onClick"])])]),
|
|
1096
1096
|
"side-sheet-footer": ue(() => [r("div", Ct, [u(le, {
|
|
1097
|
-
label:
|
|
1097
|
+
label: ve.value,
|
|
1098
1098
|
size: "md",
|
|
1099
1099
|
variant: "primary",
|
|
1100
1100
|
"is-loading": Y.value,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ref as d, computed as g, defineComponent as me, onMounted as pe, watch as Z, resolveComponent as u, createElementBlock as P, openBlock as _, Fragment as ee, createVNode as l, createElementVNode as i, unref as n, withCtx as Y, createCommentVNode as ve, toDisplayString as O, createTextVNode as fe, createBlock as N, isRef as he, renderList as ge, nextTick as ye } from "vue";
|
|
2
|
-
import { d as v } from "./dayjs.min-
|
|
2
|
+
import { d as v } from "./dayjs.min-DjBQkDnl.js";
|
|
3
3
|
import { useI18n as we } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as be, components as _e } from "@feedmepos/ui-library";
|
|
5
5
|
import { S as xe } from "./SelectFilter-DUj7GBtT.js";
|
|
6
|
-
import { _ as De } from "./app-
|
|
6
|
+
import { _ as De } from "./app-C6YPb0ie.js";
|
|
7
7
|
import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
|
|
8
|
-
import { u as ke } from "./useLoading-
|
|
9
|
-
import { u as Ve, c as Ce, s as Fe } from "./iteration-
|
|
8
|
+
import { u as ke } from "./useLoading-RPOCpcNO.js";
|
|
9
|
+
import { u as Ve, c as Ce, s as Fe } from "./iteration-DK5wFKKW.js";
|
|
10
10
|
import { f as Ye } from "./utils-BZkjJbju.js";
|
|
11
|
-
import { u as Le } from "./employee-
|
|
12
|
-
import { u as Me } from "./timesheet-
|
|
11
|
+
import { u as Le } from "./employee-CgQNP7Yg.js";
|
|
12
|
+
import { u as Me } from "./timesheet-AUYF-qUh.js";
|
|
13
13
|
function Te(x, a) {
|
|
14
14
|
return ["years", "months"].find((S) => {
|
|
15
15
|
const k = x.startOf(S), f = x.endOf(S);
|
|
@@ -5157,10 +5157,10 @@ const ht = (e) => ({
|
|
|
5157
5157
|
}
|
|
5158
5158
|
]
|
|
5159
5159
|
}
|
|
5160
|
-
}), xa = Ke(be(() => import("./Main-
|
|
5161
|
-
be(() => import("./AuditLogList-
|
|
5162
|
-
), Fa = Ke(be(() => import("./Main-
|
|
5163
|
-
() => import("./PermissionSetList-
|
|
5160
|
+
}), xa = Ke(be(() => import("./Main-BAKU5xhk.js"))), Va = Ke(be(() => import("./Main-DYtpusvH.js"))), Pa = Ke(
|
|
5161
|
+
be(() => import("./AuditLogList-BYYLqx_Y.js"))
|
|
5162
|
+
), Fa = Ke(be(() => import("./Main-BqGguhdK.js"))), Oa = be(() => import("./EmployeeList-faGmAgin.js")), qa = be(() => import("./RoleList-CU6fMUKg.js")), Ha = be(() => import("./TimesheetList-oVhzBmO4.js")), Xa = be(() => import("./TeamMemberList-DWXfFltX.js")), Qa = be(
|
|
5163
|
+
() => import("./PermissionSetList-BkNXF5wd.js")
|
|
5164
5164
|
), eo = [
|
|
5165
5165
|
{
|
|
5166
5166
|
path: "/",
|
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-DjBQkDnl.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-DK5wFKKW.js";
|
|
5
5
|
import { i as v } from "./utils-BZkjJbju.js";
|
|
6
|
-
import { u as _ } from "./useAppStore-
|
|
6
|
+
import { u as _ } from "./useAppStore-BvpZCRgH.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 Ys, storeToRefs as Gs } from "pinia";
|
|
2
2
|
import { ref as eo } from "vue";
|
|
3
3
|
import { useCoreStore as ui, baseClientInstance as Dr, FeedMeAuth as Hs } from "@feedmepos/mf-common";
|
|
4
|
-
import { c as U } from "./app-
|
|
4
|
+
import { c as U } from "./app-C6YPb0ie.js";
|
|
5
5
|
function Ur(e, n) {
|
|
6
6
|
return function() {
|
|
7
7
|
return e.apply(n, arguments);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as b, b as v, q as L, u as H, s as x, d as Y, e as h } from "./iteration-
|
|
2
|
-
import { e as R, h as k, b as F, l as j, C as Z, d as J } from "./app-
|
|
1
|
+
import { g as b, b as v, q as L, u as H, s as x, d as Y, e as h } from "./iteration-DK5wFKKW.js";
|
|
2
|
+
import { e as R, h as k, b as F, l as j, C as Z, d as J } from "./app-C6YPb0ie.js";
|
|
3
3
|
import { s as q } from "./utils-BZkjJbju.js";
|
|
4
4
|
import { defineStore as W, storeToRefs as V } from "pinia";
|
|
5
5
|
import { ref as S, computed as T } from "vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as i } from "./dayjs.min-
|
|
1
|
+
import { d as i } from "./dayjs.min-DjBQkDnl.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-DK5wFKKW.js";
|
|
5
5
|
import { i as f, f as g } from "./utils-BZkjJbju.js";
|
|
6
6
|
const u = {
|
|
7
7
|
async readTimesheets(t, e) {
|